Better HN
topnewbestaskshowjobs
Log inSign up

codeptualize

1,689 karma · joined Mar 3, 2021 (5y ago) · 450 submissions

Twitter: @codeptualize Email: codeptualize[at]pm.me
Submissions

comment 4y ago · link · parent

The only values that are real are the ones that contribute to making money.

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

Hoverboard (real one, no wheels)

comment 4y ago · link · parent

Generally I feel not that much "radical" stuff is happening, mostly iterations on existing concepts which imo is still very exciting.

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

I definitely think Next.js is a great option for such websites. The main reason is that it can do static site generation with React, as well as SSR. It's really simple to set up, and very flexible.

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

Not familiar with Rust, but I really like the ReScript (OCaml) module system.

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

The point I'm making is that absolute statements about these things are incorrect. When used appropriately these tools can add to your visualization and story.

Let me give some examples of animation used in data visualization that really contributes to the story:

https://drones.pitchinteractive.com/

https://guns.periscopic.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

This sounds like the OCaml module system.

comment 4y ago · link · parent

Awesome! That was really annoying, happy it's getting fixed.

I hope this also removes the confirmation on Apple Watch. So much potential but having to click "Yes" twice defeats the point. I stopped using them.

comment 4y ago · link · parent

Wall Street always wins.

comment 4y ago · link · parent

I have to disagree, animation is again a storytelling tool. Instead of a flat presentation of data now you actually have a story with a beginning middle and end, it's much more engaging than a flat line chart.

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

It sounds like you are in a shitty situation with lots of responsibility and not enough control. Have you talked about this with your manager?

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

Imo besides the point. I think for most it's not about the tech but the overhyped bubble ponzi sauce that's poured on top of that interesting tech.

I would love to see more useful applications, but so far it has been sparse.

comment 4y ago · link · parent

I would say there is a place for pie charts. The article seems to have accuracy as ultimate goal, if you need that accuracy; fully agree, pie chart isn't the best visualization. But, data visualization is often about story telling, and the small percentage differences don't always matter.

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

Just a few quotes to add some context to the clickbait:

> 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'm not sure I read that in the article.

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

This is basically saying “game on”, I doubt the ACM will leave it at this.

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

I wonder what the other differences and considerations are. The article is focused on issues that might arise from switching, but does not really cover the “why” of switching beyond bundle size. A valid reason, but I assume there is something to say for React or is it really that similar that switching is a no brainer?

comment 4y ago · link · parent

When it comes to advice I always need to think about this quote:

"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

I agree, my guess is it's caused by the lack of white space.

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

For me, and this is very subjective of course, I prefer the most simple but solid editor, and Nota's editor is great. The little things; excellent preview editor, cmd + d to multi cursor select the next occurrence, option + up/down to move lines around, just like in VSCode. It just gets out of the way and let me do my thing.

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

Wow! Great article, and I love to see so many people agreeing with it.

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

Very good article. I very much agree with all said.

Consistency is a tool not a goal, don't let it become one. Usability/user experience is (or should be) the goal.

comment 4y ago · link · parent

I find the framework part difficult. There are so many factors that impact bundle size and performance. To start what type of apps? How much content do they pull in? How much interactivity is there?

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

Indeed. I would not use this, it is not GDPR compliant.

I wonder if it's just outdated, or based on wrong information.

comment 4y ago · link · parent

Oh wow! That looks really nice. For reading and such an e-ink display seems nicer. Very tempting haha, I might order one.

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

I was debating between that one and the iPad mini! Sounds like an awesome device, must be great for reading as well.

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

I love note taking. The act of writing something down gives me so much insight and clarity. It's similar to trying to explain something to other people, it requires a much deeper understanding.

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

You are not wrong... Getting attention matters, it's lucrative

comment 4y ago · link · parent

Yes, and even worse; I have a strong suspicion some websites (automatically) update the date in titles and other places.

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.

comment 4y ago · link · parent

That's the point; they can't. It's not a viable business without supporting iOS as it's too dominant. The point the ACM is making is that Apple is abusing it's dominant position in the market.
1
1112131415