Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
spoiler
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
83 ms
·
841.
▲
by
spoiler
6y ago
The issues with documentation aren't really something I'd attribute to the Rust ecosystem, but just to people/humans in general. I've had this problem with every language I worked with: JS/TS, Haskell, C/C++, G
842.
▲
by
spoiler
6y ago
There was also a meme going around that one can spell "potato" like "Ghoughphtheightteeau" with the following explanation: - gh for P as in "hiccough" - ough for O as in "dough" - phth for T as in &qu
843.
▲
by
spoiler
7y ago
I've done a few world building workshop and magic-system designs[1] workshop in a "nerdy-community centre" a few years ago. The community and interest for this is generally pretty small. I was thinking about doing an interact
844.
▲
by
spoiler
7y ago
FlowType has better soundness than TypeScript. I like to think of TypeScript as a "feelgood" typesystem (especially how it handles predicate functions, type variance in function arguments, and type casts). The only downside is tha
845.
▲
by
spoiler
7y ago
I guess they just meant it as in "reading code," when in fact bat is better tool just for reading code.
846.
▲
by
spoiler
7y ago
That's partially true. The other benefit is that there's no vDOM, the way things change is reactive (kinda like in react), but there's no such thing as a no-op change. if you set something to what it was, it would trigger a p
847.
▲
by
spoiler
7y ago
For me, it didn't take long. I was initially confused by some "repurposed" syntax in svelte, and kinda felt negatively about it, but I grew to accept it, and even appreciate it (it's a hack, but on the elegant side). The
848.
▲
by
spoiler
7y ago
I feel like like saying svelte is an "easy intro to web development" is misleading. The svelte compiler "abuses" (I don't mean it in a bad way) existing technology so it doesn't have to create special tooling a
849.
▲
by
spoiler
7y ago
Don't get me wrong, I love hooks because I know how to use them, but there's so many easy pitfalls with them, and I constantly have to pester people about them in code reviews, if so many people in my company (and wider) misuse th
850.
▲
by
spoiler
7y ago
There's usually codemods you fan run to help with updating, and there are tools that add suppression warnings in places that error, which you can run after the upgrade. There's also a tool that removes unused suppressions.
851.
▲
by
spoiler
7y ago
The way the team communicates with the community is sometimes frustrating. Also, a lot of the decision-making (especially around React/JSX typing) happens behind closed doors, with little to no explanation as to why they were made.
852.
▲
by
spoiler
7y ago
A was a bug. Previously Flow when certain errors happened internally, Flow would "demote" a type into `any`, but that's been fixed for quite some time now.
853.
▲
by
spoiler
7y ago
Some of these are kinda poorly phrased, and the answer in a few of them could've been "depends" more than once. Would be slightly better if the questions were more specific, or at least accept multiple answers.
854.
▲
by
spoiler
7y ago
When you have some imperative code inside the reduce function and you have to go out of your way to achieve something (ie, immutability by using Object.assign, spread, or Array.prototype.concat, etc) and on top of that have some conditional
855.
▲
by
spoiler
7y ago
I think they mean something that turns a list (array) of unique elements into a keyed collection (like a map or an object). So something like: [ {id: 1, name: 'Jane'}, {id: 2, name: 'John'} ] b
856.
▲
by
spoiler
7y ago
I'm not opposed to using `reduce` where it solves a problem in a readable or performant way, but it seems there's a trend among JS developers recently (I noticed this in the react ecosystem) to use `map` / `reduce` for _every
857.
▲
by
spoiler
7y ago
Product/application growth doesn't necessarily mean the DOM grows, though.
858.
▲
by
spoiler
8y ago
I use Krita "full time" (as in, quite often, it's not my job) for painting. It really is amazing for digital painting (with a graphic tablet), I definitely prefer it to Photoshop (and others) for painting. However in other ar
859.
▲
by
spoiler
8y ago
Thanks for this! I didn't realise this feature existed.
860.
▲
by
spoiler
8y ago
I love this idea. I wonder if something similar could be ported/achieved for JavaScript!
861.
▲
by
spoiler
8y ago
I started body weight exercises with a friend who guided me—and is very experienced in the area, and also started being in a slight [1] calories deficit. I've been at it for about 5 months now and I've dropped 30 kg as of a few da
862.
▲
by
spoiler
9y ago
Not sure if you're being funny, but I disagree that we should hide our doubts or insecurities. I know it sounds contrary to what you want to do in that moment, though. However, don't exaggerate or emphasize them too much either, b
863.
▲
by
spoiler
9y ago
I agree with you that CSS support is a bit lacking. I think they did this on purpose though, because many people prefer CSS preprocessors like SCSS/Sass or Less. However, with Create React App, you get nice CSS support via webpack and
864.
▲
by
spoiler
9y ago
FF always had issues with rendering fonts. It generally over-sizes them. It's not a huge deal most of the time, though.
865.
▲
by
spoiler
9y ago
It's not generic, though. The flow and the "architecture" described seems fairly specific from a glance, but I didn't look too much into it. It's the whole system/flow that is patented, not just the idea. You c
866.
▲
by
spoiler
9y ago
There's nothing worng with liking girly stuff and being into STEM. I'm a pretty "masculine" (for a lack of better expression) guy who likes a fair amount of girly stuff. My best friend is a girly girl who's in STEM
867.
▲
by
spoiler
9y ago
JS service workers allow a JavaScript thread to run in the background while the browser chrome (the window) is closed. So, in theory, the browser doesn't need to be open. Also, notifications can be useful with an open browser too (or,
868.
▲
by
spoiler
9y ago
It's regex-encoded (for a lack of better term). \w means any letter (or number, or underscore), the + after the \w means one or more repetitions of it. I believe it's supposed to decode as "Church of Scientology"
869.
▲
by
spoiler
9y ago
In which you—and the original starter of this comment thread—completely missed the point. The linked page clearly uses complex applications as examples. Whatever anyone's opinion of them are, they are quite complex. This proposal is
870.
▲
by
spoiler
9y ago
It's because back then V8 didn't save the AST in `SharedFunctionInfo`, so AST was inaccessible, so to avoid re-parsing and generating the AST to use AST-specific heuristics for inlining big function bodies, it used just the source
More ›