Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
inbx0
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
inbx0
2y ago
To each their own. I can't imagine doing UI development without HMR anymore. Makes it so much faster to iterate.
32.
▲
by
inbx0
3y ago
The people who already know JS/TS and would like to occasionally do something interesting with a piece of data. With Python, most of my time goes into googling how that list filtering / mapping syntax went again or some other basi
33.
▲
by
inbx0
3y ago
Then again, why bother with the tokens if you have XSS access as an attacker? I'd simply show the user a login prompt and take their password when they type it in.
34.
▲
by
inbx0
3y ago
I don't know if it's what's happening here, but it's a common phenomenon in HN that a post starts a trend of posts with a similar theme. People discuss a subject, they post some links to related projects in comments, oth
35.
▲
by
inbx0
3y ago
Out of curiosity, what features are you using that aren't already supported by all major browsers?
36.
▲
by
inbx0
4y ago
> It's a maximum of 4 videos at once Hmm, what? Do you mean like max 4 participants in Teams calls? No I don't think there's a restriction like that, it should work exactly the same as the Electron version. Our team also h
37.
▲
by
inbx0
4y ago
Have you tried the PWA? I use it in Linux and it's much more performant than the Electron version. You can use extensions too with it, like uBlock Origin, which makes it even faster. I mean it's still Teams so faster here means st
38.
▲
by
inbx0
4y ago
It is also the norm to strictly pin dependency versions in the npm-ecosystem, at the project-level, via lockfiles. So simply doing an `npm install` in an existing project won't install the new trojan. Yes, versions aren't usually
39.
▲
by
inbx0
4y ago
The author is pretty clear that their intention is to use this as a simple first step to creating an app without the hassles of bundlers, they don't seem to be advocating that one would create "medium-large" projects like thi
40.
▲
by
inbx0
4y ago
Offtopic, but Signals and Threads is my absolute favourite programming podcast, maybe even favourite podcast overall. They go into interesting topics deeply, instead of the way too common "interviewer read the summary of the wikipedia
41.
▲
by
inbx0
4y ago
In line 3, where it's called })(); With this way of invoking, `this` will be `undefined` in "strict mode" (i.e. if the file or parent function has 'use strict' or if we are in an ES module), and Window in
42.
▲
by
inbx0
4y ago
In the first example, when you look at the first line foo = function() { console.log(this.n); }; You cannot possibly know what "this" refers to when the function is eventually called. Is it some object? Is it the surroundin
43.
▲
by
inbx0
4y ago
The pipeline operator [1] is a bit further along, although I'm not exactly holding my breath for it either. At least it currently has a champion. With pipelines import { map, takeWhile, forEach } from "iterlib"; ge
44.
▲
by
inbx0
4y ago
The main benefit of arrow function generators would be the inherited parent-scope this-binding they'd get
45.
▲
by
inbx0
4y ago
At the end of the day, it comes down to whether browser vendors are willing to ship the feature even though it breaks said websites, and they do have visitor data to back those decisions. If the rule was "never break any website ever&q
46.
▲
by
inbx0
4y ago
I use Tutanota and it's... fine for my needs. The web app is ok but it'd be nice if there was something like Proton Mail Bridge [1] for Tutanota so I could use my own email client. I guess having data center inside EU could be a p
47.
▲
by
inbx0
4y ago
Different, I think. It's a Canon but I don't it wasn't bought by me and I don't have it right now so can't check the exact model, sorry. Quick googling suggests that it can be done with Rebel too: https://
48.
▲
by
inbx0
4y ago
It's not ideal but I've circumvented this by disabling automatic focus and other things that add visible elements to the preview, and the just using the preview's 720p output. It's a hassle and you'll have to manual
49.
▲
by
inbx0
4y ago
Are you using some bespoke Babel plugin that actually adds Java-like classical inheritance to JavaScript, or are you implying that the standard EcmaScript 6 classes which Babel handles by default are somehow "Java-like" instead of
50.
▲
by
inbx0
5y ago
It's a real shame that they threw away Firefox Send. It would've been a great addition to that bundle.
51.
▲
by
inbx0
5y ago
Aren't they? Do people use excel online for anything but viewing spreadsheets they have received via email or Teams etc? What they probably aren't beating is Excel the desktop app.
52.
▲
by
inbx0
5y ago
Offtopic but I have to ask now that this came up, why do people even use enums instead of string literal type unions? The latter just seems so much simpler and more readable to me. You get the same type safety, pretty much the same or bette
53.
▲
by
inbx0
5y ago
Yeah I agree, that's not what I'd consider good variance rules either. I guess my point was more about the reasons behind these weird rules. AFAIK interop with existing JavaScript was not the primary reason for doing them this way
54.
▲
by
inbx0
5y ago
By sub-type variance are you referring to issues like this https://stackoverflow.com/questions/47850513/unsafe-implicit... ? FWIW the lack of explicit variance annotations (and probably many other TS unsound desig
55.
▲
by
inbx0
5y ago
There's an issue for that to be added as part of import assertions https://github.com/tc39/proposal-import-assertions/issues/11...
56.
▲
by
inbx0
5y ago
The live reloading side panel for web development in Brackets was ahead of its time.
57.
▲
by
inbx0
5y ago
And to clarify, you should run this once by hand to collect the list, don't add the grepping to the actuall installation script or you are back to square one :D Here's what I use with yarn, install.sh: #!/usr/bin&#
58.
▲
by
inbx0
5y ago
Reminder that people should seriously consider disabling the install-scripts. Personal system-wide config: npm/yarn config set ignore-scripts true -g and add & commit a .npmrc/.yarnrc file with ignore-scripts
59.
▲
by
inbx0
5y ago
-name "*coa*" is a bit too eager. It will flag other packages too, like the fairly popular babel-plugin-nullish-coalescing
60.
▲
by
inbx0
5y ago
The extension has picked up some attention from the core team, ever since FB retired their Nuclide tool for Atom. Not saying that the extension is perfect, but AFAIK most features come through LSP and are added to the Flow server and should
More ›