Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Someone
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
68 ms
·
961.
▲
by
Someone
1y ago
The ARM1 ran at 6MHz, three times as fast as the 6502 in the BBC B. It also had more (16 user registers vs, counting optimistically, 3) and larger (32 bit vs 8bit) registers, compared to the 8 bit registers of the 6502, and a 3-stage pipeli
962.
▲
by
Someone
1y ago
> That's overkill for most things since it relies on being able to patch running kernel code, which is also the definition of an RCE exploit. The idea of dtrace is that you can do that, yes, but to that, you need to be authorized, a
963.
▲
by
Someone
1y ago
That method adds an extra character to your alphabet, and uses that as a marker in the transformed string to h effectively) store the index of the first character inside the transformed text. If, as is often the case, your alphabet contains
964.
▲
by
Someone
1y ago
> Java, C# and JS use UTF-16-like encoding for in-memory string That’s incorrect for Java, possibly also for C# and JS. In any language where strings are opaque enough types [1], the in-memory representation is an implementation detail.
965.
▲
by
Someone
1y ago
I don’t see dotancohene say anything about how surprising it is that that bug exists. They only say something about the judgment of it being an edge case.
966.
▲
by
Someone
1y ago
>> That's like say a band getting an advance to record their album should be illegal. > It should. Mortgages and car loans can be seen as advances on future income. Insurance is a way to split a risk from a property. For examp
967.
▲
by
Someone
1y ago
> I think Apple did the right thing by keeping GUI shortcuts separate from terminal control codes They are separate because they ditched terminal shortcuts and later begrudgingly brought them back. The original Mac didn’t have a control
968.
▲
by
Someone
1y ago
> but I've managed to convince the staff that I'm old enough to cut the letters from a newspaper. So that you can write ransom notes? They should have locked you up.
969.
▲
by
Someone
1y ago
> And since a lot of devs are lazy (let’s be real), they’ll directly paste whatever they get from the platform. If so, there will be a zillion slightly different ways to do foo in the code base. I don’t see how that would decrease bloa
970.
▲
by
Someone
1y ago
> +R means "remote" or "retained", i.e. the variable doesn't live on the stack I think that’s a bad name. Both “remote” ( https://en.wikipedia.org/wiki/Remote_procedure_call ) and “retained” (
971.
▲
by
Someone
1y ago
f addAndSubtract(first:I, second:I) addAndSubtract => (first + second, first - second) sumResult:I; diffResult:I [sumResult, diffResult] := addAndSubtract(10, 3) Weird choice to create a tuple with (a,b) , but des
972.
▲
by
Someone
1y ago
> Does anyone know how exactly does Amazon get away with not providing data export for their eero product? I checked eero.com. It seems info about the product other than “it’s a secure WiFi router that doesn’t require users to manage it”
973.
▲
by
Someone
1y ago
https://en.wikipedia.org/wiki/Mass_psychogenic_illness lists cases from the 1400s (dancing mania). Yes, they were less widespread, but I think that’s because the world is much more connected nowadays.
974.
▲
by
Someone
1y ago
I think x86 would have been long dead if it weren’t chosen for the IBM PC or if it weren’t married to Intel. The former guaranteed it customers, the latter superior manufacturing technology.
975.
▲
by
Someone
1y ago
I agree this is a bug, but I also think it cannot be fully fixed because there is a cultural aspect to it: what a phrase means depends on the speaker. There are cultures where “I don’t think that is a good idea” is not something an AI serva
976.
▲
by
Someone
1y ago
Reply to self: one thing that RISC-V will give you that your own custom ISA won’t give you is compilers. That can be a big advantage, as it makes porting OSes and applications much easier.
977.
▲
by
Someone
1y ago
Levenshtein distance up to 1, according to that article. If you have a hierarchical structure (trie or a DAG; in some sense, a DAG is a trie, but stored more efficiently, with the disadvantage that adding or removing words is hard) with val
978.
▲
by
Someone
1y ago
I don’t think designing a fast CPU gets significantly easier with RISC-V. Yes, you don’t have to design an instruction set, but you still have to pick a good set of RISC-V of extensions, find the right mix of cache size, branch predictor me
979.
▲
by
Someone
1y ago
For the basic word list, possibly tries ( https://en.wikipedia.org/wiki/Trie ), DAGs ( https://en.wikipedia.org/wiki/Directed_acyclic_graph#Data_co... ), or Bloom filter ( https://en.wikiped
980.
▲
by
Someone
1y ago
Are you sure? The real picture is significantly worse than what you see in your inbox. About half of all email messages are spam nowadays ( https://www.statista.com/statistics/420400/spam-email-traffi... ), and that
981.
▲
by
Someone
1y ago
By that logic, I think most toString/fromString pairs are broken. Many “string to int” functions accept some strings that their counterpart “int to string” never produces, for example “-0”, “0000”, and “01”. (Chances are ‘fromString’ a
982.
▲
by
Someone
1y ago
Another way to phrase that is that they prefer to serve you by not requiring you to tinker with low-level stuff, so that you have more time to spend on things you want to do. Of course, questions are whether Apple’s solution can theoretical
983.
▲
by
Someone
1y ago
Apple claims Optimized Battery Charging “will delay charging past 80% in certain situations” ( https://support.apple.com/en-us/102338 ) That page also says “On Mac computers with Apple silicon or the T2 security chip,
984.
▲
by
Someone
1y ago
I think a piece of software that can correctly decide what oracle to consult to get answers to questions you give it can be called intelligent, even if it itself doesn’t know any facts.
985.
▲
by
Someone
1y ago
> They're standardized[0] From that article: “This memo […] does not specify an Internet standard of any kind” and “Interoperability considerations: Due to lack of a single specification, there are considerable differences among
986.
▲
by
Someone
1y ago
> Users often talk about how certain models "feel" smarter on their particular tasks, and we won't know if the same is true for GPT-5 until people use it for a while. The idea that models “feel” smarter may be 100% human p
987.
▲
Nearly a million more deaths than births in Japan last year
(bbc.com)
19 points
by
Someone
1y ago
|
14 comments
988.
▲
by
Someone
1y ago
> Right now we're like a village that lives by a river and has never reached the mouth talking about sailing across the ocean And that’s an enormous understatement. Let’s say the villagers have travelled a meager 10 km of the river.
989.
▲
by
Someone
1y ago
People hopefully won’t reuse the username/password they use on GOOD to log into BAD, so the login that BAD does in step 3 will fail.
990.
▲
by
Someone
1y ago
> unless you are explicitly verifying and testing the code, how would you know? Ask your AI to write tests and to review the code, of course /s > And, what kind of solution needs 10,000 lines of code added to it daily? In the fir
More ›