Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
spion
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
55 ms
·
601.
▲
by
spion
6y ago
just because all the code is in one place doesn't mean its one system.
602.
▲
by
spion
6y ago
If you are using a database, a server and clients, you already have a distributed system. You'll also likely use multiple databases (caching in e. g. Redis) and a job queue for longer tasks. You'll also probably already have multi
603.
▲
by
spion
6y ago
> I still don’t know what the proper solution to this problem would be. Keep your state manipulations as simple as possible and try not to share any data between different models. Every time I went forward with some fancy listener-bindin
604.
▲
by
spion
6y ago
And will you get a call trace when you do that?
605.
▲
by
spion
6y ago
I think the solution is to have typed exception modelled as polymorphic variants. Something similar to Swift.
606.
▲
by
spion
6y ago
UBI or progressive negative tax should solve this problem, no? (The idea is that a job always gets you more money than the base)
607.
▲
by
spion
6y ago
Really cool concept, however language service and file search don't quite work (even for TypeScript projects) due to lazy loading of files and directories. Still, its almost there! Can't wait!
608.
▲
by
spion
6y ago
Exactly, the term typically used for the specific type of callback being discussed here is a "continuation callback", and the specific style is "continuation passing style" The term is actually used correctly; callback&#
609.
▲
by
spion
6y ago
Callback is technically correct. The specific type of callback that parent has in mind is a continuation callback. Maybe you should check your bias about the JS world (as well as your definitions).
610.
▲
by
spion
6y ago
Can we amend the protocol to allow the exchange of various settings, such as "desired DPI / scaling" edit: looks like it might already be provided via wl_output::scale [1] except you get the wrong effect that way. You want to
611.
▲
by
spion
6y ago
What would be the strict definition of "callback" ?
612.
▲
by
spion
6y ago
Positional optional arguments seems to be the bad idea here. If you have to have optional arguments, its probably best to make them named. This would this make an unintended clash a lot less likely. The name has to match - and if you have t
613.
▲
by
spion
6y ago
I think the author may have gotten their TypeScript example wrong. Yes, TS is fine with passing more arguments to a callback that takes fewer. The callback cannot possibly use the additional arguments, so it doesn't matter what gets pa
614.
▲
by
spion
6y ago
For JS and TypeScript, the best property testing library I've encountered so far is fast-check https://github.com/dubzzz/fast-check
615.
▲
by
spion
6y ago
Not if the protocol allows the exchange of desired DPI/scaling.
616.
▲
by
spion
6y ago
At least between-app DPI inconsistency was not a thing before this. Now its a thing, added to the stack of configuration problems.
617.
▲
by
spion
6y ago
No, its not a programming problem, its a herding problem. That person will have to have the ability to get all 3 implementations to agree to read and write compositing configuration the same way, so users don't have to suffer.
618.
▲
by
spion
6y ago
From the user's perspective, if they get blurry Electron apps, they get blurry Electron apps. Its not a win if you don't get to use the win.
619.
▲
by
spion
6y ago
Once there are 2 implementations already, a 3rd reusable one won't fix the problem (the problem being that the users need to configure everything in 3 places). What you want at that point is to agree where to read and write common conf
620.
▲
by
spion
6y ago
This is absolutely right, and wlroots is not a fix once you already have 2 implementations Once that ship has sailed, what you want instead is a shared method of providing configuration. The goal is to have all 3 implementations read conf
621.
▲
by
spion
6y ago
No, Wayland is not currently usable for the "vast majority" of people. Anyone that has a high DPI display and/or NVIDIA card and uses most of the popular Electron based apps or Chrome will have a bad experience. Not saying Xo
622.
▲
by
spion
6y ago
I'm intrigued by this. I've never been really satisfied with any software noise reduction system, but this sounds like a phenomenal improvement. Tried installing it on Ubuntu LTS via latest pulseeffects, but it seems like it switc
623.
▲
by
spion
6y ago
Data structures and object protocols are the analog to file formats and network protocols. They're not immutable but unless you want software changes to affect everything, you want something at least a bit more stable
624.
▲
by
spion
6y ago
GP is right, you don't necessarily need any of that for effective studying . Its very possible to set up the remote equivalents for students learning together (e.g. discord) if this is done well. Its much harder to establish the socia
625.
▲
by
spion
6y ago
Are Amazon writing the software that transforms and loads the data into ES, as well queries ES? If yes, they are an end-user. If not, they are a managed service provider. There is no ambiguity in this case, they are offering the exact same
626.
▲
by
spion
6y ago
They could also collaborate with Elastic as a customer. In fact, the model where a company develops a managed service and offers it on cloud providers infrastructure (i.e. "app store") would have everyone benefit: * Amazon, from t
627.
▲
by
spion
6y ago
so why didn't they switch to that.
628.
▲
by
spion
6y ago
There has to be a way for an OSS project / companies to offer licences to managed service providers in a way that gets them supported financially. That would be a massive win for everyone Something like: okay yes, this is OSS, except i
629.
▲
by
spion
6y ago
Not all studies are correlational. There is a small Spanish RCT that showed quite phenomenal results: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7456194/
630.
▲
by
spion
6y ago
Its simple: he is not really a legend at all.
More ›