Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
trealira
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
33 ms
·
511.
▲
by
trealira
3y ago
Why are you arguing? I don't have any control over what manufacturers do. I'm glad there are open platform equivalents, like the PinePhone and Steam Deck. I just hope businesses like that keep existing, or else there'll be no
512.
▲
by
trealira
3y ago
It's a mixed thing. Good for reducing piracy and increasing revenue, probably. It does mean that people who want to be able to install whatever they want on their devices, or write software for themselves to use on their own devices, w
513.
▲
by
trealira
3y ago
You can hack your Switch: https://switch.homebrew.guide/index.html That same website has a guide to setting up a development environment for homebrew Switch software, as well: https://switch.homebrew.guide/h
514.
▲
by
trealira
3y ago
I would be more worried about the opposite: future software and devices will use memory-safe programming languages like Rust, with C and assembly limited as much as possible, so things like the iPhone and the successors to the Nintendo Swit
515.
▲
by
trealira
3y ago
Chinese and Japanese characters also have cursive traditions. The normal handwritten form of a character often looks significantly different to its printed form. Lines that are separate in print form become one squiggly line in cursive form
516.
▲
by
trealira
3y ago
Yeah, as someone who taught themselves Palmer script [0] in high school, I learned that it can only really be written fast if you have a fountain pen (which made me buy a cheap fountain pen), and that it's hard to write block letters u
517.
▲
by
trealira
3y ago
It accomplishes the opposite of what they're trying to say. "You may as well let it happen" isn't what you should say to someone worried about getting raped.
518.
▲
by
trealira
3y ago
> The single exit style works great in a language with TCO, nested functions and no looping primitive at all. No such language is widely available. There's Scheme. There may be constructs like DO and WHILE (though I don't remem
519.
▲
by
trealira
3y ago
> tip: Government must spread its legs and accept the fate willingly otherwise it just gets harder for the government. In the context of government this is a good thing. This is an off-putting analogy. It sounds like the rape of a woman.
520.
▲
by
trealira
3y ago
It's not that unrealistic. At my university, to be a computer science major, first there are a couple gateway courses you have to take one after the other, which all other CS courses have as requirements, so your first year will be mos
521.
▲
by
trealira
3y ago
Also: - IEEE 754: floating-point arithmetic
522.
▲
by
trealira
3y ago
No offense, but could it be that you aren't as extreme or different from each other as you think? It's not like there weren't plenty of extremist young men willing to die and kill for socialist or fascist ideology during Worl
523.
▲
by
trealira
3y ago
This is arguable, but it also isn't related to the article, which is about how young women are/have been increasingly progressive, while young men are not shifting with them, leading to a political polarization between men and wom
524.
▲
by
trealira
3y ago
If the EU does a bad job, or is particularly bad for one country, those citizens can vote to leave the EU. Several parties in EU member countries advocate for this [0], but those parties aren't popular, and so far, only the UK has with
525.
▲
by
trealira
3y ago
I know GCC has section attributes, but I don't think there's any standard C23 attribute equivalent.
526.
▲
by
trealira
3y ago
You're making meaningless distinctions. Fundamentally, I don't see a difference between Apple writing some words and suddenly, you have to pay a fee for distribution of iPhone apps on non-Apple app stores, and say, a government wr
527.
▲
by
trealira
3y ago
Apple is using its market power to prevent third parties from doing business with you by selling you software to install on hardware you bought. At first it was explicit, now that they can't due to EU regulation, they're attempti
528.
▲
by
trealira
3y ago
This situation is like if the majority of the EU's transportation infrastructure (e.g. roads, train tracks, etc.) were owned by a handful of private American companies. Whatever value they provide (maybe it's really good infrastru
529.
▲
by
trealira
3y ago
>>One can take the address of an array and then get the same type checking. > I don't think this is true, C will not include the length in the type. No, you can take the address of an array of length N, as long as you're
530.
▲
by
trealira
3y ago
You could hope for hardware support for security using a CHERI ISA [1]. You could also try proving your programs correct using something like Frama-C, or do it by hand like Dijkstra did. [1]: https://www.cl.cam.ac.uk/researc
531.
▲
by
trealira
3y ago
No, it's implementation-defined, not undefined behavior. That means the compiler must document a consistent behaviour. From 6.3.2.3 [ISO/IEC 9899:2011]: An integer may be converted to any pointer type. Except as previously specif
532.
▲
by
trealira
3y ago
Oh, yeah, that makes sense. I agree that having an understanding of those things is necessary to write fast software.
533.
▲
by
trealira
3y ago
> And today I think we at least need to go to the level of that sub-assembly stuff if one wants to write anything that does not perform badly You can write fast software today in assembly, C, C++, Rust, and languages like that. You don&#
534.
▲
by
trealira
3y ago
You probably know this, but on C compilers targeting the 16-bit x86 CPUs, which have segmented memory, you have near and far pointers to accurately reflect its memory model. Near pointers are 16-bit offsets into the current segment, whereas
535.
▲
by
trealira
3y ago
Thanks for the link! It seems interesting.
536.
▲
by
trealira
3y ago
What we need is like a "Logo" for systems engineers / devops which is a simple toy language that can be described entirely in a book the size of the original K&R C book. It probably needs to be dynamically typed, have co
537.
▲
by
trealira
3y ago
Also, C23 has #embed included as a preprocessor directive. It serves similar purpose to include_bytes!(), although I don't think there's a way to specify the section it goes in within the executable. https://thephd.dev&
538.
▲
by
trealira
3y ago
Yeah, it's amazing what people have done with games whose source code they don't have. I may look into reverse engineering certain aspects. I can already spot certain algorithmic inefficiencies just from the disassembly (e.g. unne
539.
▲
by
trealira
3y ago
It can also just be for preservation purposes. A lot of old game consoles are dying, and so are CRT televisions (which just aren't manufactured anymore). Enthusiasts would want both of these to be repairable so that old games can be pl
540.
▲
by
trealira
3y ago
The article mentions the the French indice de réparabilité , but it's not perfect (and you need to speak French). > For some products, the French indice de réparabilité can help you take this into account, in order to choose a wa
More ›