Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
alserio
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
24 ms
·
271.
▲
by
alserio
6y ago
Not gp but avoiding the reflection pitfalls is not so straightforward at all, you have to chase what your dependencies are doing to satisfy the "closed world" hypothesis. I still like java more than javascript, but writing perform
272.
▲
by
alserio
6y ago
"But then say goodbye to the consistency of your second level cache" - Gavin King, probably
273.
▲
by
alserio
6y ago
If you have a managed instance of an entity, like something returned by a find or a query, calling a setter will modify its state and the state change _will_ be detected and persisted automatically on the next flush, without explicit persis
274.
▲
by
alserio
6y ago
Thank you. I find a GiB for 10 concurrent logins still a bit too much for some use cases but you have given me a better understanding of the trade-off involved.
275.
▲
by
alserio
6y ago
If I may ask a question: how would I use a memory hardened algorithm on a server if the server ram can't scale infinitely? It seems to me that a few concurrent user logins would effectively DOS the server for any reasonable configurati
276.
▲
by
alserio
6y ago
> Normally, the fact that practically nobody actually uses Firefox would mean it's not a huge problem. I assume you mean "practically nobody without an adblocker". I dread the day we could have to live without Firefox. Don
277.
▲
by
alserio
6y ago
That's really quite cool! Thank you again for your analysis and links
278.
▲
by
alserio
6y ago
Thank you for your answer. You can certainly write a memory safe program in a language that doesn't guarantee memory safety. However I still maintain that correctness implies memory safety, at least as a characteristic of the program i
279.
▲
by
alserio
6y ago
Isn't memory safety a subset (and I would argue a necessary requisite) of correctness?
280.
▲
by
alserio
6y ago
Same behavior in firefox 68 android, but not in the new firefox android (using 83 beta), where it works without problems
281.
▲
by
alserio
6y ago
I wasn't talking about security, but correctness, although statistically people underestimate the level of security required by their projects, more than not. Memory safety does not imply correctness, but if you want to reason about co
282.
▲
by
alserio
6y ago
This comment irks me in a strange way. I've found very little software where what you care about doesn't build upon the fact that you trust your program's memory safety. You can use C or any other language, but if your tools
283.
▲
by
alserio
6y ago
I used to be on windows. I uninstalled candy crush, bloatware but what can you do. Windows reinstalled it some time later with an update. I have no use for an operating system that doesn't serve my needs but the needs of someone else.
284.
▲
by
alserio
6y ago
In Svelte you can define a reactive statement (or block) with the $ label syntax. It's semantically the same of a MobX's computed value, expressed succinctly `$: v = expr` where expr will be rerun when and only if its dependencies
285.
▲
Compile Svelte in your head (pt 4)
(lihautan.com)
1 points
by
alserio
6y ago
|
0 comments
286.
▲
by
alserio
6y ago
I wouldn't be surprised to find that sentence in a book from an author well versed in exquisite British humor. And it made my day just a little bit better.
287.
▲
by
alserio
6y ago
"They're so intelligent. I was able to converse with them about quantum mechanics, which is something I've never even tried to talk to a regular horse about." I mean, that I would classify as just genius
288.
▲
Compile Svelte in your head (pt 3)
(lihautan.com)
1 points
by
alserio
6y ago
|
0 comments
289.
▲
by
alserio
7y ago
He have also written Ractive.js and Rollup.js. From what I've seen Harris doesn't only "know JavaScript" but have a better _vision_ about its future than most, a lot of cool ideas and the skills to try them.
290.
▲
by
alserio
7y ago
From the same author, you may find this useful: https://lihautan.com/compile-svelte-in-your-head-part-1/
291.
▲
by
alserio
7y ago
I was missing a resource like this. Also, I'm looking forward to the next "Compiling Svelte in your head" article.
292.
▲
Compile Svelte in your head (pt 2)
(lihautan.com)
2 points
by
alserio
7y ago
|
0 comments
293.
▲
Compile Svelte in your head (pt 1)
(lihautan.com)
4 points
by
alserio
7y ago
|
0 comments