Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
slooonz
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
slooonz
2y ago
You want diff to know the syntax and semantics of every programming language out there ?
32.
▲
by
slooonz
2y ago
Trailing commas actually have an important role. Let’s say you have some code : const foo = { x: 1, y: 2, }; and you want to add a field : const foo = { x: 1, y: 2, z: 3, }; Without trailing commas, the
33.
▲
by
slooonz
2y ago
"Let’s just cache this slow call"
34.
▲
by
slooonz
2y ago
Yes, exactly the explanation I looked for, thank you !
35.
▲
by
slooonz
2y ago
That’s just the standard partial derivative in multivariable calculus. This one I have no trouble to understand. My question is about "at constant something" as used in thermodynamics, where "at constant something" is cl
36.
▲
by
slooonz
2y ago
I still don’t understand what "at constant something" means. I mean formally, mathematically, in a way where I don’t have to kinda guess what the result may be and rely on my poor intuitions and shoot myself continually in the foo
37.
▲
by
slooonz
2y ago
So… EU regulations are about "protecting users privacy"… but requires you to know how many of your users are EU-based, and publicly report it ? I don’t know about you, but "country of residence" is the kind of private in
38.
▲
by
slooonz
2y ago
How does that works for, say, Chromium or Firefox on Linux ?
39.
▲
by
slooonz
2y ago
> Meanwhile everything from ubuntu's apt-get to my connection to HN is secured with 2048-bit RSA - an algorithm invented in 1977 and in widespread use since at least 1995. That’s a bit misleading, considering RSA is only used for ce
40.
▲
by
slooonz
2y ago
As French, our dual-branch judicial system for a long time seemed very weird to me — I didn’t really see the point of it. I must thank the US to provide a clear example why it is in fact so useful. In France, the law would be typically writ
41.
▲
by
slooonz
2y ago
Aren’t they the same thing ?
42.
▲
by
slooonz
2y ago
Presumably you have backups for both the primary database and the message queue (or maybe no backup for the later). If a disaster happens, requiring you to restore backups, how confident are you that your system as a whole is behaving as ex
43.
▲
by
slooonz
2y ago
"Your issue is coming from a misconfigured SSO. We disabled SSO on your account, you can login with the standard password reset flow. You can reenable SSO once you have fixed the issue."
44.
▲
by
slooonz
2y ago
What the data consistency story around crashes ? Backup/recovery ?
45.
▲
by
slooonz
2y ago
Also, you should consider migrations to be the first-class citizen and entities to be derived on it. On our system, we have migration "create-users-table" { create-table "users" { column "id" "number
46.
▲
by
slooonz
2y ago
I have made a similar solution in-house. I kinda agree with the YAML nay-sayers. I settled on KDL instead as the description language ( https://kdl.dev/ ) ; maybe give it a try ?
47.
▲
The Ballmer Peak: An Empirical Search
(arxiv.org)
88 points
by
slooonz
2y ago
|
24 comments
48.
▲
by
slooonz
2y ago
> Each app should have a clean environment and ideally you'd pick and choose what files/folders you want to give the app access to while it is running, and not let the app builder decide for you. Also, the user should pick and
49.
▲
by
slooonz
2y ago
Shameless self-plug : https://sloonz.github.io/posts/sandboxing-1/ Which you can see it as the longer form documentation of bubblebox (explaining in excruciating details how to sandbox desktop applications with fl
50.
▲
by
slooonz
3y ago
What do you mean ?
51.
▲
by
slooonz
3y ago
> Imagine a car manufacturer (say Tesla, who has an edge over others much like Apple) could decide where you can go and who your passengers could be? That’s called public transit.
52.
▲
by
slooonz
3y ago
Have you given a try to cozycloud ? It’s the first on my radar for when I’ll find time to tinker with a personal cloud.
53.
▲
by
slooonz
3y ago
It’s a way of saying "I decline any responsibility if anyone uses this tool for malicious purposes".
54.
▲
by
slooonz
3y ago
> they are still light years away from providing a good user experience I really don’t get this. All modern desktop environment (OSX, Windows, KDE, Gnome) looks like very similar in terms of user experience quality to me. All are differe
55.
▲
by
slooonz
3y ago
> you train your brain to ignore the parens and look at the indentation instead pretty quickly But I don’t want to train my brain to ignore useless syntactic noise, I want my brain to be guided by helpful syntactic guides.
56.
▲
by
slooonz
3y ago
IMO, there’s a wide unexplored design space between the minimalism of Lisp and richness of other languages. A programming language inspired by something like KDL ( https://github.com/kdl-org/kdl ) has the potential to be
57.
▲
Sandboxing Applications with Bubblewrap
(sloonz.github.io)
2 points
by
slooonz
3y ago
|
0 comments
58.
▲
by
slooonz
3y ago
Nothing is looking for exit. The REPL is calling repr(result) to show the result of the expression to the user. repr(exit) is the string "Use exit() or Ctrl-D (i.e. EOF) to exit". You _really_ don’t want repr(builtin) to have a si
59.
▲
by
slooonz
3y ago
> Yes, you have 10,000 samples and properly classified 5,124 of them so your mathematical precision is 0.5124 That’s the point. That’s the correct usage of significant figures. Your inputs have significant figures ; it determines exact
60.
▲
by
slooonz
3y ago
The biggest problem with the relational model is that it’s buried under the dirt that is SQL.
More ›