Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
moretti
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
moretti
6mo ago
Thanks to the Vite team for building a faster, modern bundling solution on a fully open source stack that isn't tied to a specific framework...cough cough, Turbopack
2.
▲
by
moretti
5y ago
It looked okay until I scrolled down to the browser compatibility table and had to tilt my head to read the vertical text
3.
▲
by
moretti
5y ago
Can anyone confirm if the final build number is the same as 12.0.1 RC2 (21A559)? You can run `$ sw_vers` from the CLI to check it.
4.
▲
by
moretti
5y ago
I use Copilot mostly as replacement for intellisense and macros. It helps me automating repetitive tasks. I would never trust Copilot for an algorithm or a snippet, I mean I would treat the code just like anything taken from StackOverflow o
5.
▲
by
moretti
5y ago
yarn 2 solved real problems with zero install and advanced PnP. Maybe the only problem was that it was released too early, wasn't mature enough when it came out. Now it's just better than v1 and npm, works particularly well on lar
6.
▲
by
moretti
5y ago
it has a microSD card slot: https://www.steamdeck.com/en/tech
7.
▲
by
moretti
7y ago
They slow down the phone after an unexpected shutdown, when the battery is unable to deliver the necessary peak power.
8.
▲
by
moretti
8y ago
By declaratively I mean that in React you typically declare how an element should be render given the current (props, [state]). For example, in vanilla JS, you might have something like: const btn = document.createElement('button&#
9.
▲
by
moretti
8y ago
It’s interesting that you find this “simpler”. One of the great advantages of React is that is declarative, it’s easy to understand how a component will render given a set of (props, state). Your example is quite the opposite, the render me
10.
▲
by
moretti
9y ago
Redux is not an implementation of Flux. These two blog posts explain the main differences: https://code-cartoons.com/a-cartoon-guide-to-flux-6157355ab2... https://code-cartoons.com/a-cartoon-intro-to-redux-3
11.
▲
by
moretti
10y ago
This is also a really good resource: https://github.com/thejameskyle/the-super-tiny-compiler
12.
▲
by
moretti
10y ago
https://twitter.com/domenic/status/721796970197684224
13.
▲
by
moretti
10y ago
I'm not a number, I'm a free man!
14.
▲
A cartoon guide to Facebook's Relay (part 1)
(code-cartoons.com)
1 points
by
moretti
11y ago
|
0 comments
15.
▲
by
moretti
11y ago
Yeah https://twitter.com/sindresorhus/status/669958889941639168
16.
▲
by
moretti
11y ago
In npmcdn the author of the package has to manually include the UMD build of the library.
17.
▲
by
moretti
11y ago
You still have to simulate named arguments with an object: const foo = ({ a = 2, b = 2, c = 3 } = {}) => a * b * c; const dict = {b: 4, c: 6}; foo(); // 12 foo(dict); // 48
18.
▲
by
moretti
11y ago
Reminds me of this tweet: https://twitter.com/capotej/status/647213485294616576
19.
▲
The Redis community is moving to Reddit
(reddit.com)
3 points
by
moretti
11y ago
|
2 comments
20.
▲
A cartoon intro to Redux
(code-cartoons.com)
2 points
by
moretti
11y ago
|
0 comments
21.
▲
by
moretti
11y ago
You're probably not familiar with Atwood's Law[0]: > Any application that can be written in JavaScript, will eventually be written in JavaScript [0]: http://blog.codinghorror.com/the-principle-of-least-power
22.
▲
by
moretti
11y ago
Cool, that looks really interesting...
23.
▲
by
moretti
11y ago
Embed CSS on any website! ;-) How do you specify npm dependencies. Does it "automagically" inspect your `require` statements?
24.
▲
by
moretti
11y ago
So Safari is holding back webdev because it doesn't support an experimental technology? Fun thing: the author of the Selection API draft works for Apple :-) http://www.w3.org/TR/selection-api
25.
▲
by
moretti
11y ago
Here's another Python 3 compatible implementation: https://github.com/cdjc/goto
26.
▲
by
moretti
11y ago
Actually, if you leave off the "new" you get a TypeError: TypeError: Class constructors cannot be invoked without 'new'
27.
▲
New React Devtools Beta
(facebook.github.io)
1 points
by
moretti
11y ago
|
0 comments
28.
▲
by
moretti
11y ago
How a polymer component would be better than a react component?
29.
▲
by
moretti
11y ago
Exactly, and you can't simply set a left margin because the scrollbar width is different in every OS. This is what bootstrap does: https://github.com/twbs/bootstrap/blob/83bfff7f0765503b990b9...
30.
▲
by
moretti
11y ago
http://www.quirksmode.org/blog/archives/2009/09/the_html5_dr...
More ›