HN user

cuddlecake

577 karma
Posts0
Comments216
View on HN
No posts found.

As a frontend dev, what are good resources to learn about principles and heuristics that I can apply in my work?

I have some knowledge, albeit very primitive, that I picked up from an HCI introduction and some good designers, but nothing too technical / formal yet.

What do you do, when you straighten out your spine? I mean in terms of movement, or do you just change your posture?

Angular v16 3 years ago

In no time we'll see SO spammed with questions using `computed(async () => ...` or race conditions when using `effect`.

As opposed to the very few questions about rxjs, where people understand everything perfectly.

Parent time 4 years ago

As most people will - die without legacy and respect, because they are not a corporate overlord.

I guess.

You can also write the array first, without using enum:

const tokens = ['parenOpen', 'bang', 'plus', 'minus'] as const;

type Token = typeof tokens[number];

type TokenTable<T> = Record<Token, T> // alias for { [key in Token]: T }

const isToken = (t: string): t is Token => tokens.includes(t);

const patterns: TokenTable<RegExp> = { bang: /\+/, // rest }

React PDF Viewer 4 years ago

For one, it's a wrapper in React, so no need to implement the glue code yourself if you want to integrate PDFs in your web app.

Also, it appears to be feature-rich and yet easy to use for simple use cases.

If you connect raycast with your calendar, you can view your schedule from within raycast.

If there is an upcoming meeting with a zoom/teams/<call app> link attached, you can join by pressing enter.

Never had to look for a meeting link again.

I'm not sure if Alfred has this as well, but nevertheless, i just love this feature

Deadlines feel like they are mainly useful to induce stress and urgency. The stress and urgency being useful (or important) is another matter.

In a perfect world (for me, from my point of view), there are no deadlines, but rather short plans and enough understanding of the plan to decide whether doing something specific is useful or a hindrance (and to what degree) for executing that plan.

But alas, deadlines are easier to decide on.

I feel like "availability to copy" or "inspectable" is not a reason to abandon Copyright protection.

After all, it is currently the nature of web software that the source code must be available (for browsers to interpret)

table.fatitem,td.default{max-width:90ch}body,body>center>table,input,textarea{background-color:#262626!important}body>center>table>tbody>tr:first-child>td{background-color:#f60!important}.c00,.c00 a:link,a>u,a[href="http://www.ycombinator.com/apply/"],a[href="https://www.ycom... font,span.comment font a:link,span.yclinks a:link,table.fatitem tbody tr td,td.title a:link,td:nth-child(2):not(.subtext)>a:link,textarea,u a:link{color:#ccc!important;font-size:15px}table.fatitem tbody tr:nth-child(n+3):not(:last-child) td{color:#bbb!important}.admin td{color:#aaa!important}table.fatitem{margin:auto}table.comment-tree{margin:auto;border-left:2px solid #444}input,textarea{border:1px solid #828282!important}a.togg.clicky{margin-left:4px;margin-right:4px;font-size:16px}

if HN is still one of the best places to communicate and post serious matters

citation needed.

Other than that, I would love to see a bit better semantic markup, not because I'm some sort of HTML purist who demands everything to be pure, but because it would make it easier to style with CSS (which I did, to add dark mode, bigger font sizes and max widths). Currently, it's nested tables with occasional classes and ids, but not for everything.

In another tweet[0], Jen Simmons asks the question:

Do we really want to live in a 95% Chromium browser world? That would be a horrible future for the web. We need more voices, not fewer.

It's difficult to become a voice for Safari, if Safari is hiding behind a hefty price tag.

Debugging Safari issues on Linux or Windows machines make it easy to grow a disliking for the browser. There are ways to do it effectively, of course, but no simple or pleasant ones.

[0] https://twitter.com/jensimmons/status/1490747578526404608

Is there any need for the Blockchain for that? Like... Setup a server and host the content. I can't imagine it being simpler than that.

Why would I engage in the dance of crypto just to host some content no one will read anyway?

What's IPFS?

But over long enough time it _must_ be somewhere where somebody can provide Computational power and evergrowing storage capacity, right?

So.. not anywhere.

Or can the data be available in a highly fragmented fashion _and_ still be useful? I just can't imagine any content system that does not end up being centralized or highly inconvenient.

I think IntelliJ generally has the feature to autocomplete code in markdown code blocks based on the current project. So that in itself is not a Copilot feature.

It's really useful because it will even understand Angular2 codebases and autocomplete custom components in html snippets.