Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
wakeywakeywakey
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
wakeywakeywakey
8y ago
There is a lengthy debate surrounding private field syntax [1][2]. As a TypeScript user, I prefer regular-JS drop this proposal altogether, rather than use the current syntax. Refactoring and index-access notation become awkward with it. An
32.
▲
by
wakeywakeywakey
8y ago
TypeScript is one of the fastest-growing technologies in the JS ecosystem right now. It's unlikely the team is using the back button behavior as a way to get membership. Incidentally, to which porn sites are you referring? Which of you
33.
▲
by
wakeywakeywakey
8y ago
It seems like they've chosen Rust for the backend. This is a great fit in terms of preventing data races and having a no-GC performance profile.
34.
▲
by
wakeywakeywakey
8y ago
I invested quite a bit, now I have egg on my face.
35.
▲
by
wakeywakeywakey
8y ago
You are conflating what you wish were true with reality. For-profit companies typically build toward what they believe is in-demand and will be well-received by consumers. They perform market analysis to reinforce their intuition. Sometimes
36.
▲
by
wakeywakeywakey
8y ago
> https://github.com/facebook/create-react-app/issues/2398 Equating 'create-react-app' package with React is silly. By that logic, I can wrap $library_of_your_choice in scaffolding and then blame
37.
▲
by
wakeywakeywakey
8y ago
> If you load a React frontend, it'll, by default, deploy a service worker. What? > That is how the web works. The web 'experience' has stopped being about fetching static documents in a request/response fashion lo
38.
▲
by
wakeywakeywakey
8y ago
No, thank you. SourceForge used to inject adware into projects. Now, they're trying to profit from the anxiety surrounding the GitHub acquisition talks. I'll take my chances with Microsoft.
39.
▲
by
wakeywakeywakey
8y ago
Sleep, exercise.
40.
▲
by
wakeywakeywakey
8y ago
Just wanted to comment to raise awareness for those of us without 20/20 eyesight. HN staff: please consider having a typographer/UI designer make a few improvements to the base stylesheet. I realize the codebase may be old, but it
41.
▲
by
wakeywakeywakey
8y ago
This is a scam. Do not click the link. Moderators please take this down.
42.
▲
by
wakeywakeywakey
8y ago
I've built large production apps in all 3 frameworks. After using React with TSX -- and getting symbols and refactoring across templates -- there's no going back. IDE support with VSCode is incredible. I routinely see Angular and
43.
▲
by
wakeywakeywakey
9y ago
"I do."
44.
▲
by
wakeywakeywakey
9y ago
By this logic, it would be fair to say: 'When I get my paycheck, I earn my salary MINUS whatever "profit" my employer made from my work.' This is disingenuous by ignoring risk and presupposing that (in this case) I have
45.
▲
by
wakeywakeywakey
9y ago
Typed that on my phone, should be: Object.entries({}).forEach(([k, v]) => { })
46.
▲
by
wakeywakeywakey
9y ago
Anecdotally, everyone I knew who tried it complained about lock-in (environment too prescriptive and has behavior you can't opt-out of) and no longer uses it. There is development activity in the repo, but I would say the 'hype&#x
47.
▲
by
wakeywakeywakey
9y ago
You can use array destructing, when supported: Object.entries(([k, v]) => { })
48.
▲
by
wakeywakeywakey
9y ago
An issue with these micro-packages is they introduce new semantics to your code, like throwing exceptions when vanilla JS would return NaN, etc. Once your code base grows, refactoring away from such packages is actually a lot more risky tha
49.
▲
by
wakeywakeywakey
9y ago
Could you explain how permissions could be better achieved? Also, could you provide examples of platforms with good permission/security model?
50.
▲
by
wakeywakeywakey
9y ago
It does not have to be 50/50. If you have been contributing for a while, it's perfectly reasonable to give them less. Figure out what role they'll play, and for how long, then put them on a vesting schedule.
51.
▲
by
wakeywakeywakey
9y ago
... if someone's paying for it.
52.
▲
by
wakeywakeywakey
9y ago
They don't need to 'focus' on that, since there are various strategies to achieve it without redesigning the blockchain as a whole. For example, there are light clients [1] you can run which only download part of the blockcha
53.
▲
by
wakeywakeywakey
9y ago
Try this to remap caps: https://docs.microsoft.com/en-us/sysinternals/downloads/ctrl...
54.
▲
by
wakeywakeywakey
9y ago
Unoriginal, unfunny article peddling the same tired old crypto tropes. At least put some effort into it like the "Pyramid Scheme" [1] post or similar. [1]: http://www.michaelburge.us/2017/11/28/write
55.
▲
by
wakeywakeywakey
9y ago
The only thing missing from this post is 'we take security very seriously'
56.
▲
by
wakeywakeywakey
9y ago
To all the positive patsy's of the HN forum: the exception doesn't make the rule. Instead of being lulled by the veil of consumerism draped over your eyes, realize companies only maximize profits and do 'good' as an acci
57.
▲
by
wakeywakeywakey
9y ago
It still allowed you to boot from USB? How do you recover if you lose that option (other than sending in your laptop to be reflashed)?
58.
▲
by
wakeywakeywakey
9y ago
What did you do to recover?
59.
▲
by
wakeywakeywakey
9y ago
In TypeScript, you can also use an empty const enum to simulate nominal typing for opaque types. It gets inlined/removed during compilation: const enum _A = {}; type A = number & _A; This comes in handy for IDs and other p
60.
▲
by
wakeywakeywakey
9y ago
There is a subtle issue here: all parts of the suggested promise implementation run synchronously. In spec-compliant promises, the executor runs synchronously [1][2], but the promise must wait until the next turn of the event loop [3] befor
More ›