Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
wa1987
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
1.
▲
by
wa1987
5y ago
State charts / FSM's work wonders in these situations.
2.
▲
by
wa1987
5y ago
For these situations I often use IFFEs with if-statements and early returns inside.
3.
▲
by
wa1987
5y ago
What's the pros/cons vs Promise.all([...])?
4.
▲
by
wa1987
5y ago
There's Clojure too.
5.
▲
by
wa1987
5y ago
> Please stop spreading this misnomer. That's a fairly… direct way of putting it :-) Anyway: 1. What are the key differences in terms of usage and use cases? 2. Why isn't Deno a 'wholesale' replacement for Node? 3. In
6.
▲
by
wa1987
6y ago
"Money earned"
7.
▲
by
wa1987
6y ago
One of your best bets might be the vintage keyboard community: - https://www.modelfkeyboards.com/ - https://deskthority.net/ - https://geekhack.org/
8.
▲
by
wa1987
6y ago
There’s no need to in my situation. 99% of the files are dependencies installed through Composer (PHP) while building the Dockerfile. The few directories I need to work on directly are bind mounts and don’t have much impact on overall runti
9.
▲
by
wa1987
6y ago
> On a Mac, there is a major performance hit whenever you do disk IO in a bind mount (i.e. voluming a directory of the host system into the container). Working without bind mounts is extremely limiting. [..] If you’re using Docker on a M
10.
▲
by
wa1987
6y ago
> - for in loop - for of loop It's 2020 and you still use loops? ;-) source: https://github.com/buildo/eslint-plugin-no-loops
11.
▲
by
wa1987
6y ago
Agreed. I find myself using a pretty small subset of the language which definitely doesn't include the class keyword. Doubt I'll ever find it useful.
12.
▲
by
wa1987
6y ago
Often times operations are order-independent. Specifying those as sequential `await`-s does not make a lot of sense in those situations. I guess less fine grained control is desirable under such circumstances :-) There's also other use
13.
▲
by
wa1987
6y ago
Well, it's complicated :-) https://stackoverflow.com/questions/36419713/are-es6-classes...
14.
▲
by
wa1987
6y ago
> Well, how interesting that Apple's software is going to be bypassing Little Snitch, making it harder to discover and fix this sort of issue. Source?
15.
▲
by
wa1987
6y ago
https://every-layout.dev/ is downright amazing for learning how to write robust layouts
16.
▲
by
wa1987
6y ago
Recursion never really clicked and felt intimidating until I read "How to Design Programs": https://htdp.org/2020-8-1/Book/part_two.html By far the greatest educational piece I've come across on t
17.
▲
by
wa1987
6y ago
Related video on this subject: https://www.youtube.com/watch?v=IcgmSRJHu_8
18.
▲
by
wa1987
6y ago
> I usually modify HTML forms so that they won’t work and fix them with javascript. This gives me almost zero spam. Interesting. One would assume that most spammers use automated browsers with JavaScript enabled.
19.
▲
by
wa1987
6y ago
> If a static site generator put my images in the wrong place and required a gigantic JSON file to be loaded by the client for no reason I would not think twice to get rid of it. Incorrect DOM-output is likely caused by common mistakes (
20.
▲
by
wa1987
6y ago
Maybe he's referring to closures.
21.
▲
by
wa1987
6y ago
For sure! Whipped up a quick pen: https://codepen.io/willem-aart/pen/oNxwRXY?editors=1100 This is impossible to achieve with CSS Grid. One might alternatively approach this 'cluster layout' using inline-
22.
▲
by
wa1987
6y ago
Grid is not a superset of Flexbox. The former always controls the layout in two dimensions (rows & columns). The latter controls one axis and calculates the layout of elements per flex line . Some layouts are impossible with Grid but a
23.
▲
by
wa1987
6y ago
Very impressive! Nice job. Love XState.
24.
▲
by
wa1987
6y ago
How does this differ from WPGraphQL? ( https://www.wpgraphql.com/ )
25.
▲
by
wa1987
7y ago
White.
26.
▲
by
wa1987
7y ago
There's even a fancy umbrella term: https://en.m.wikipedia.org/wiki/Metasyntactic_variable
27.
▲
by
wa1987
7y ago
Could be. "Long" is a subjective concept.
28.
▲
by
wa1987
7y ago
The question was about expressing I/O as a mathematical concept (on paper), not about talking to compilers.
29.
▲
by
wa1987
7y ago
Agreed. I'd much prefer something along these lines as opposed to using an overly long name: ` /* product of luminance and dot product of surface normal and light direction divided by scattering constant */ const prod = ... `
30.
▲
by
wa1987
7y ago
On a similar note, this looks interesting as well (not affiliated): https://observablehq.com/
More ›