1,689 karma · joined Mar 3, 2021 (5y ago) · 450 submissions
comment 4y ago · link · parent
Values go out of the window real quick whenever they negatively impact revenue, whatever they are.
I like the idea of anti values, certainly much better, but even there you might as well not have them imo.
comment 4y ago · link · parent
Some things I have been excited about lately (not per se from last year, but definitely relevant):
- Stitches: CSS in JS solution that is great for design systems
- Radix UI: "Unstyled, accessible components for building high‑quality design systems and web apps in React."
- ESbuild; also SWC, generally newer really fast bundlers. I've been playing around with esbuild and I really like how easy and fast it is.
- pnpm: a npm/yarn alternative.
- Framer motion, Framer motion 3d, react three fiber, motion one: Lots of cool stuff happening in the animation & 3d space.
- Supabase: Similar to firebase, and aws amplify.
- React query, and swr; declarative data fetching
- Playwright: E2e testing/browser automation tool, I guess sort of cypress-ish, but really easy to set up and use.
- Typescript: not new of course, but it has pretty much become standard, means everything has bindings, lots of info out there, easy to use.
- ReScript: A more functional compile-to-js language, a bit niche and small, but really cool imo.
- Cool new CSS stuff (aspect ratio for example), also some new cool JS API's happening (I'm watching CSS houdini, although support is not there yet).
I could go on, there is lots of awesome stuff out there. Like I said I don't think as big of leaps as some years back, I think it's more better/faster/easier ways to get stuff done. It's a good time to FE dev!
comment 4y ago · link · parent
It means you can build quickly and even if you start static, you can later add more functionality, go SSR, or even build out a full on web app without actually migrating or rewriting.
People have opinions about React, I will not go into that too much, but personally I find it a very effective and enjoyable tool to build things with.
Imo something like Next.js is easier to develop with than "just HTML" as you get templating, hot reloading in development, routing, image optimization, i18n options, and all the other goodies that come with it, or are already solved by someone. It's imo not to be underestimated how much work all the little things are when you have to do them manually.
That said, I have to agree that it's strange not to enable SSR and not to make a static export, I think it's pretty much the default. I find the export functionality one of the best things about Next.js as it makes sites blazing fast and really easy to host.
comment 4y ago · link · parent
It just gets out of the way. Verbosity is easy to prevent with "open" statements. The nice thing about those is that you can put them in a local scope where you use them (which is generally recommended).
It's just a lot more flexible and a lot less hassle.
comment 4y ago · link · parent
Let me give some examples of animation used in data visualization that really contributes to the story:
https://drones.pitchinteractive.com/
https://www.theguardian.com/us-news/ng-interactive/2017/dec/...
https://www.nytimes.com/interactive/2017/08/29/opinion/clima...
I think it's hard to argue these are "entertainment", they all tell important stories using data and animation. In these examples animation adds to the story, making it more engaging, and drawing more attention to the issue than it otherwise would have gotten. It can evoke surprise, shock, emotion that could not be achieved otherwise.
It's a bit like: people often use text in very bad ways. To mislead, too much or too little information, large quantities that say nothing at all, unreadable styles, lack of structure etc etc. Does that mean text is bad and you stop writing text? Of course not.
comment 4y ago · link · parent
Take the animated bar charts that where sort of a trend for a while on Twitter and Reddit, they got popular for a reason; they are interesting to look at. These types of charts, if done well, make you curious what will happen and how it will end.
With data visualization, and actually all design, you always have to consider your goals and audience.
comment 4y ago · link · parent
Telling your manager "hey, this is not possible, what can we do?" is a power move imo, if you have ideas on how to solve the problems even better.
It could provoke change, get you some more control, or at a minimum gives you the "I warned you" defense if it reflects badly on you at some point (although it's quite messed up if you need that last one..).
What helps me in general is to care a little less; not everything has to be perfect, "good enough" is often plenty, and also realizing you can't always do it all. Basically the "I do what I can" attitude.
Good luck, sounds like a rough situation, I hope you can improve things for yourself.
comment 4y ago · link · parent
For example, if you are telling a story about how one of the slices is much bigger than the other ones, pie (and donut) charts, are a very effective and visually interesting way to tell that story. The other case where I like pie charts (and I do prefer donuts btw) is when the data isn't very accurate and "hiding" some of the detail is actually a better representation of reality.
So yeah, pick the chart that works best for the situation (and if possible, give multiple options), but I do not agree with writing off the whole chart type. Radar charts are more questionable imo haha.
Data visualization is in essence trading accuracy for readability, how much you want and need depends on the goal, audience and data.
comment 4y ago · link · parent
> The study says closing nonessential businesses appears to have had some positive effect and cut mortality rates 10.6%, probably because bars were closed
> They looked at mortality rates but didn’t consider how lockdowns might have affected the number of infections or virus-related hospitalizations. They also didn’t use studies that forecast deaths.
> The findings conflict with previous studies that found lockdowns worked.
comment 4y ago · link · parent
I also don't see why switching to Preact does not require updating, they even mention they will have to do this anyway, including some of their routing dependencies. Preact seems to be keen on keeping compatibility with React, referring to the current and previous versions, so it is very likely updates need to happen regardless.
Also, upgrading React is usually not too much effort as for most changes codemods are provided that do most of the work. Not saying it doesn't require effort at scale, but I don't see or read how Preact would make that any easier. Considering you'll use React libraries in Preact I would be worried about upgrading and compatibility later on.
I'm honestly interested as the lower bundle size is significant, but I'd like to know the other pros/cons and risks that surely are there.
comment 4y ago · link · parent
Reading the original ACM statement I would not be surprised if they find this action to not be compliant.
Anyway, I’m looking forward to the next round, it looks like this will be an interesting fight.
comment 4y ago · link · parent
comment 4y ago · link · parent
"Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia. Dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than it's worth."
It's from: https://www.chicagotribune.com/columns/chi-schmich-sunscreen... but I know it from the song "Sunscreen" by Baz Luhrmann, highly recommend.
comment 4y ago · link · parent
The margins are too narrow which makes it unclear what belongs to what and where the boundaries are. That can feel messy as it all sort of blends together visually. To compensate they used lots of borders, but those tend add more density without enough white space.
I don't think the actual layout is that messy, it's a nice column layout, seems decently structured, nice sections. It's just really hard to see atm.
I think if they use this exact layout, but just give everything some "breathing room" it would be much better.
The other thing is the images. They use screenshots of UI without making it into a graphic; meaning it doesn't look like a graphic, easy to fix, would improve things a lot.
The second thing that stands out to me is the text in the images. Beyond bad practice it's messy as now there are two titles that are competing for my attention. I think just the text on the graphic (as actual text) or just a graphic + text as it is now, would be much better!
Anyway, I agree, it's a bit messy. That said, I think it could be quite nice without too much effort.
I would love to play around with this, I think it has a lot of potential.
comment 4y ago · link · parent
Also what I missed in Obsidian when I tried it. I will also simply not use all of its fancy features, not to say they aren't useful, just that I'm not that organized haha.
I also really like how Nota looks; neutral, under styled, minimal. This is oddly important to me haha.
Nothing against Obsidian though, it seems to really excel in its purpose of knowledge base building.
comment 4y ago · link · parent
I think most clean code stuff is snake oil and fortune telling.
So much time gets wasted in pointless discussions and tweaks that will make no difference whatsoever.
The funny thing to me is that the bigger picture; actual logic and bugs, often gets missed while all the attention is focussed on stupid "clean" little pet peeve topics.
It does seem there is shift, more and more articles and opinions like this and I'm here for it!
comment 4y ago · link · parent
If you for example compare a few very minimal mostly static site vs let's say data dashboards your comparison stops to make sense.
Also consider the people who use the frameworks; some of the frameworks are quite new, you can expect a higher percentage of "early adopters" which are likely to be more experienced and write more performant code in general.
It reminds me a bit of Wordpress. Can be very quick, but most sites were/are just 100 plugins bundled together into a slow mess. Its popularity and ease of use messing with its "score".
Anyway, it's definitely interesting to see such numbers, but I won't be using them to make decisions or draw conclusions.
comment 4y ago · link · parent
Can also recommend an iPad btw. Besides being an excellent note taking device it does all sorts of other cool stuff.
(If for note taking/drawing; I suggest get one that supports Apple Pencil 2, it's a big improvement.)
comment 4y ago · link · parent
The main reason I went for the iPad mini was the size (and apps maybe). Before I had an iPad Air 10.5 inch, and it was just too big for my use, it made it inconvenient.
I'm still debating getting one anyway. It has that "coolness factor", and I want it haha.
If they ever produce a smaller version I am pretty sure I can not resist.
comment 4y ago · link · parent
Even if I don't share it with anyone it helps me figure stuff out. I don't read back 90% of what I write, the writing itself is what provides most value to me. Although it can be handy to dig into the archives to understand my thinking of months back.
Tooling wise; I like handwriting, as I can draw arrows and quick sketches. I used to always carry an A5 notebook around, now I use an iPad with Apple Pencil (recently upgraded to the new mini which is perfect A5'ish size).
Apps I use on the iPad are; GoodNotes for actual notes and Concepts for more visual sketching and such.
If I need to take notes that I need to share I generally use https://nota.md which is imo by far the best markdown note taking experience available. Think of it as a markdown editor with code editor features (e.g. multi cursor). It also works with normal markdown files so no lock in.
When on my phone I use the Notes app on.
Yes, lots of tools, but I find different tools are best for different things. It does means everything is spread around, but it works for me, it's sort of an organized chaos, I can find stuff when I need to.
I think the joy comes from the idea of maintaining all information, of "getting your shit together" in a way. I think most humans truly enjoy collecting and organizing things. Notes, similarly to todos, bookmarks, lists etc are just tools to scratch that itch, the more the better!
comment 4y ago · link · parent
Especially "best [product] in [year]" articles and lists, they somehow always are about the current year, even in early January, and even if they are only about outdated things..
The crap dirty tricks SEO content does seem to work quite well atm. It's probably pretty hard to determine whether something is relevant or not.