Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
geocar
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
35 ms
·
451.
▲
by
geocar
4y ago
> Apple is now the worst offender in forcing you to use your computing the device only the way they want you to. This is wrong. Google is the worst offender; Apple is an under-appreciated hero. I have to use some web pages- for taxes a
452.
▲
by
geocar
4y ago
Why not? How many cities do you think there are? Including a dump of just lat/lon/rad->city from openstreetmap probably kilobytes. Including towns and features might be low megabytes.
453.
▲
by
geocar
4y ago
Yes indeed.
454.
▲
by
geocar
4y ago
Have you tried turning off THP and just using -XX:+UseLargePages? It always seems to do same-or-better for me and I don't have to worry about some other process accidentally stealing my (precious) huge pages.
455.
▲
by
geocar
4y ago
There's a lot of benefits to going to 1g-pages, but treating them as 256 4k-pages seems almost always to be a mistake; All I ever hear is horror stories. Does anyone have a story of "good luck" with transparent hugepages?
456.
▲
by
geocar
4y ago
> ChatGPT/LLMs can essentially crawl _anything_ they want, regardless of legality, license, consent, etc. These models are trained on anything that can be ingested. Once trained, you can release the model with plausible deniability
457.
▲
by
geocar
4y ago
Sigh. No, it’s quite a bit more than C offers, which has a paltry twenty-eight “operators”, none of which “work” on arrays. Most of the libraries in C and C-like languages have huge libraries because getting those twenty-eight operators to
458.
▲
by
geocar
4y ago
If a string (or a file or whatever) is "just" an array (of bytes; characters, again: whatever), then yes.
459.
▲
by
geocar
4y ago
Am I misreading that? They're comparing accidents of tesla owners against people belonging to different demographics and circumstances!? An equivalent improvement in driving safety might also be had by eliminating drivers under 30 and
460.
▲
by
geocar
4y ago
One could either spam DNS responses at the LE clients or push bogus BGP routes towards LE, and quite probably other things. And you don’t even need LE’s help to do any of this.
461.
▲
by
geocar
4y ago
> What's the alternative, have twice as many critical vulnerabilities? Oh don't be silly: The software with the best security track record is written in C (e.g. qmail) so there are obviously many alternatives. You could sit a
462.
▲
by
geocar
4y ago
> > Thinking is the best anyone can do > No, it's not. By testing, proving programs, running fuzzers, running sanitizers, and various other tooling you reduce the chance of problems to an acceptable level Yes it is. If the out
463.
▲
by
geocar
4y ago
> There is a light-year-wide trench between thinking and proving you can do something. It's easy to prove something isn't secure, one need only an example e.g. https://www.opencve.io/cve?vendor=rust-lang htt
464.
▲
by
geocar
4y ago
Germany is not going to make illegal the selling of software that contains components written in C.
465.
▲
by
geocar
4y ago
> But you have to prove that your value proposition, doesn't lead to horrible failure down the line. No I do not. My software is done, it has run for decades on the Internet, making me money; For whatever you could mean by "hor
466.
▲
by
geocar
4y ago
> That's a fair question imo. Are you willing to be convinced that you're wrong? Like completely, totally wrong about the value and goodness of "memory safety". Premise. Conclusion. Everything. If you're not, the
467.
▲
by
geocar
4y ago
Javascript events contain both a key "code" (which generally corresponds to the position on the keyboard and/or the function of the key) and a character string which represents the text that should be added to e.g. an input b
468.
▲
by
geocar
4y ago
> Biden team asking Twitter to "handle" tweets they don't like. This rubs me the wrong way, nobody in government should be telling Twitter to remove speech. Nonsense. First of all, "government" is not an "in
469.
▲
by
geocar
4y ago
> No, you can clearly see the O(sqrt(N)) trend at every level of the memory hierarchy. Lines goes up, then goes down. Very much unlike sqrt.
470.
▲
by
geocar
4y ago
> How could it not be, given that any physical medium has finite information density, and information cannot propagate faster than the speed of light? You could have a tape of infinite length, and if you only ever request "the next
471.
▲
by
geocar
4y ago
> be honest, how often are you sorting things by a number and only a number? All the time. IP addresses permutation arrays (⍋⍋) Sometimes I pretend characters are numbers; short fixed-length strings (like currencies or country codes or e
472.
▲
by
geocar
4y ago
> Radix sort is theoretically O(N), Nothing theoretical about it: Sorting a list of all IP addresses can absolutely and trivially be done in O(N) > in reality you can't do better than O(log N) You can't traverse the list
473.
▲
by
geocar
4y ago
> If anything, I suspect that Coinbase intentionally violated the rules with this update Trading volume has been falling 30-44% every quarter: https://s27.q4cdn.com/397450999/files/doc_financials/2022/
474.
▲
by
geocar
4y ago
> You seem to be arguing that only apple has the ability to protect your device. Erm. They make the hardware, so any bugs they put in there are what they are. I don't see any reason to let more people put bugs in there.
475.
▲
by
geocar
4y ago
> I want the option to control my devices. ... I want complete control over it. Learn! I can install my own software on my iPhone, and I can install software people have shared with me that I can inspect. I can affect the repairs I have
476.
▲
by
geocar
4y ago
Well, yes you could have a cookie with C=C+1 and carefully set the expiration to the end of the day (like the article), or you could use randomly generated last-modified times and deduplicate server-side (similar to how cookies are usually
477.
▲
by
geocar
4y ago
> This reads like a system design interview, and a good one. > The author clearly understands the pattern and the technologies they’re working with. We must have read a different article. The one I read put a big lock around the outsi
478.
▲
by
geocar
4y ago
> Does it matter given that browsers can remember the username/password anyhow? No. The only thing that matters is having two public APIs: one that creates an account (failing if the account already exists), and another that checks
479.
▲
by
geocar
4y ago
how fun. maybe the author does not know this, but shift+/ doesn't work on a portuguese keyboard at least in safari; shift-7 is / and shift-' is ? all of the other keys work.
480.
▲
by
geocar
4y ago
> I don't want to be the asshole to ask people to speak in English, or make my manager be that guy either. Well what do you want? Mandarin lessons for yourself? English lessons offered to your colleague? To be moved to another tea
More ›