Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
uyt
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
17 ms
·
121.
▲
by
uyt
6y ago
The hacker leaked their source code onto github and said that only 2 out of 3 of the CVEs he was using was patched: https://github.com/holo-gfx/mangadex/issues Other people who are now looking at their code said t
122.
▲
by
uyt
6y ago
I'm really addicted to these rebuild-civilization-from-scratch youtube channels. The one who got me into it was of course "Primitive Technology": https://www.youtube.com/channel/UCAL3JXZSzSm8AlZyD3nQdBA&#
123.
▲
by
uyt
6y ago
This sounds similar to https://en.wikipedia.org/wiki/Adaptive_replacement_cache which has patent issues?
124.
▲
by
uyt
6y ago
> Chromium’s threat model, for instance, now asserts that "active web content … will be able to read any and all data in the address space of the process that hosts it" This was a huge WTF to me. I have been doing web dev for 1
125.
▲
by
uyt
6y ago
The memory dump demo seemed to work for my computer. Does that mean I am missing some spectre mitigation stuff? I thought this was already fixed a few years ago? How do I stop this demo from working? (linux, intel i7, chrome 89)
126.
▲
by
uyt
6y ago
I don't know anything about supplements, but why do people recommend specific things instead of a multivitamin that covers everything? (Eg all multivitamins have some vitamin d and magnesium as suggested elsewhere in this thread) Is it
127.
▲
by
uyt
6y ago
I think no one wants to go through the work of creating a full featured client. What most people want is just adhoc customizability. For this reason, the web is great if you know how to code. Most sites are pretty easy to reverse-engineer s
128.
▲
by
uyt
6y ago
This is just the unfortunate consequence of devs not bothering to optimize something if it runs fast enough on their own machine. Stuff that is just on the edge of human perception (100ms or so?) might become a few times slower on an older
129.
▲
by
uyt
6y ago
For those who want to learn more, I really like the book "Algorithms for Optimization": https://algorithmsbook.com/optimization/#outline It's a great intro because it covers a large breadth and gives you
130.
▲
by
uyt
6y ago
I tried this approach for scraping a REST API returning json (on a few tens of thousands of ids). Since it was a long running job with many failures (throttling and connectivity issues), I had to constantly kill and restart the script. I ne
131.
▲
by
uyt
6y ago
The author wants leftovers to be evenly distributed. For example for n=15 and g=4 he wants [5,5,5]. I think his very first 3 liner is the most readable version. If we're microoptimizing, his comprehension version also has a lot of extr
132.
▲
by
uyt
6y ago
> A not so obvious result that follows from making successive negative expected value bets, is that in the long run you are guaranteed to lose all your money (or ruin). Intuitively this makes sense as with each bet, you are losing money
133.
▲
by
uyt
6y ago
Maybe MacroPy? https://github.com/lihaoyi/macropy
134.
▲
by
uyt
6y ago
The algebra was tedious because for example, the very second thing you prove in the tutorial is that addition is associative. If you were teaching this to humans you would then immediately tell them that you now can omit parentheses because
135.
▲
by
uyt
6y ago
I played it recently. I spent almost a full day to finish all the worlds and then lost interest afterwards. I think I had expectations that it would be a lot less ... tedious? Like I was hoping it would be mostly automated except needing hi
136.
▲
by
uyt
6y ago
They even decided to keep the game logic at 25 frames per second but allow rendering at unlimited frames. This is important to keep all the old game mechanics the same (e.g., for builds aimed at hitting a specific number of frames per attac
137.
▲
by
uyt
6y ago
Whenever I do leetcode, I use python. This is because most of the constraints that are useful to check in an algorithm can't be encoded as types. Instead I sprinkle a lot of asserts (possibly using slower bruteforce version of the code
138.
▲
by
uyt
6y ago
I just wanted to say thanks for https://webglfundamentals.org/ . I referred to it a lot when I first starting out with webgl. Even simple questions like how to resize the canvas with correct pixel ratio is so disgustingly
139.
▲
by
uyt
6y ago
Does anyone have good experience using a wacom tablet to replace paper/whiteboard? I tried using an ipad but it's not quite the same. It's too small and there's no way to directly integrate with desktop (I'm on linu
140.
▲
by
uyt
6y ago
For the people suggesting reading the pdf or disabling JS, you're missing the point of this submission. 90% of the value is in playing with their interactive demos. (though all of them seem to be from https://www.complexity-
141.
▲
by
uyt
6y ago
Projects like these is exactly what university use for teaching too! You're way ahead of the curve. For example CMU also makes you write your own shell. The main focus is implementing job control like: jobs, fg, bg, and various signal
142.
▲
by
uyt
6y ago
Expected value (a straightforward sum of total money in the system) is the wrong way to look at it. His point is that the expected utility of these gambles is still positive for people who have nothing.
143.
▲
by
uyt
6y ago
That's disturbingly intriguing indeed. In theory, what is stopping any stock from being a cryptocurrency (minus the crypto part)? Can anything tradeable with a fixed supply become a currency? What other magic requirement is missing?
144.
▲
by
uyt
6y ago
Do you have some examples of those state of the art? I feel like other than some of the recent ml breakthroughs, cs theory and systems haven't changed much in forever.
145.
▲
by
uyt
6y ago
How do you bring up the topic of brain fog to your doctor? Can I really just say some days I feel dumber than usual and he'll be able to diagnose and fix me?
146.
▲
by
uyt
6y ago
You can communicate with each of "them" individually and they have independent thought processes. Isn't that good enough? I see them as siamese twins ( https://en.wikipedia.org/wiki/Conjoined_twins ) where
147.
▲
by
uyt
6y ago
This seems way too interesting to not have more scientific studies on it. It reminds me of https://en.wikipedia.org/wiki/Split-brain where after cutting the connection between the two hemispheres of the brain: > It
148.
▲
by
uyt
6y ago
Centralization is not always bad. Google is a single company and can be regulated so you can opt-out. I guess I just don't care who makes money off fingerprinting as long as I can choose that no one makes money off me personally.
149.
▲
by
uyt
6y ago
It's funny that a lot of their acquisitions were in spaces that had the potential to exceed the market cap of their core product (which is currently stuck at 9B) had they been more successful: - HelloSign for esignatures, compared to D
150.
▲
by
uyt
6y ago
I don't understand the busy beaver stuff, but is this argument similar: On a 32-bit computer, there are 2^32 bytes of memory or 256^(2^32)=2^34359738368 possible states. A program is something that takes you from one memory state to an
More ›