Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
IAmLiterallyAB
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
91.
▲
by
IAmLiterallyAB
3y ago
Tangently related, does anyone have experience with AsciiDoc? I've used reStructuredText before, but AsciiDoc is tempting, it looks cleaner.
92.
▲
by
IAmLiterallyAB
3y ago
Which part, unSP? There is a PDF floating around the Internet called "unSP Programmer's Guide". Annoyingly didn't find that PDF until after I had already REed everything
93.
▲
by
IAmLiterallyAB
3y ago
Fun fact: the 2016 model Furby uses an obscure ISA you've never heard of (and if you have, let me know!) called µnSP. I managed to get Pong running on a Furby a few years ago and by far the hardest part was figuring out that completely
94.
▲
by
IAmLiterallyAB
3y ago
Android Studio is IntelliJ
95.
▲
by
IAmLiterallyAB
3y ago
But that probably isn't the function you want, because that will return -1 if the input is negative. What you want to return is a boolean. And in that case the code generated is much simpler https://godbolt.org/z/5
96.
▲
by
IAmLiterallyAB
3y ago
Wondering the same. Seems like you could provide your own implementation or use a third party implementation. Be curious to see a write up on the bloat, what exactly it looks like
97.
▲
by
IAmLiterallyAB
3y ago
I know there's been improvements to the defaults in Plasma 6 which is set to release in February. Stuff like double click instead of single click for opening folders. I plan to try it once it releases.
98.
▲
by
IAmLiterallyAB
3y ago
As someone who reads C++ disassembly/decompilation for a living... Yeah kinda. It depends. If the target code is full of virtual function calls, yeah it gets gross. But if you need dynamic dispatch, C isn't going to be any better,
99.
▲
by
IAmLiterallyAB
3y ago
> You've essentially described C I'd disagree pretty strongly with that. C is more focused on being relatively simple to implement and backwards compatibility with the past 50 years. (I read a blog post by a C committee member
100.
▲
by
IAmLiterallyAB
3y ago
? This is exactly how snprintf works, which is what we're discussing.
101.
▲
by
IAmLiterallyAB
3y ago
For the first idea: Yes, but both of those would have to interpret the format string and determine the character lengths of the arguments which is duplicated work. I'd imagine its a large portion of the work. I'm not convinced its
102.
▲
by
IAmLiterallyAB
3y ago
Looks neat. Have you looked into using the new WebTransport protocol? https://datatracker.ietf.org/doc/html/draft-ietf-webtrans-ov... https://datatracker.ietf.org/doc/html/draft-ietf-webt
103.
▲
by
IAmLiterallyAB
3y ago
If that was sarcasm, I don't think it landed. If not, well, let's not discourage people from admitting when they are wrong. It's a healthy thing to do.
104.
▲
by
IAmLiterallyAB
3y ago
They edited their original comment before you saw it, apparently the original tone was a bit harsh
105.
▲
by
IAmLiterallyAB
3y ago
Wow really? That's annoying. Why go to all the trouble to add the switch if they won't implement it correctly
106.
▲
by
IAmLiterallyAB
3y ago
I haven't played DOS (though now I might). My understanding is that BG3 is more story and character focused. And while they've done a surprisingly good job adapting D&D combat to video game format, it's definitely not per
107.
▲
by
IAmLiterallyAB
3y ago
> assuming 32 bit ints That's really not a valid assumption. There are 16 bit int platforms, I've worked on them. It's not even that uncommon. Casting in this scenario is simply incorrect. The correct thing to do is to use
108.
▲
by
IAmLiterallyAB
3y ago
It always surprises me how slow streams are. fscanf should be relatively slow because it has to parse the format string at runtime. So the new C++ format should be (and I believe is) much faster
109.
▲
by
IAmLiterallyAB
3y ago
Based on that map, South Africa would seem to be the best choice
110.
▲
by
IAmLiterallyAB
3y ago
Android apps can already run native code, so there's no performance benefit. Also, Java "virtual machines" and native virtual machines are two very different things, they shouldn't be equated.
111.
▲
by
IAmLiterallyAB
3y ago
Honestly just use Ghidra. It has it's quirks but it's pretty good. And open source. If it's good enough for the NSA it's probably good enough for recreational use.
112.
▲
by
IAmLiterallyAB
3y ago
Why would they care about that...
113.
▲
by
IAmLiterallyAB
3y ago
Do you have a link to that thread?
114.
▲
by
IAmLiterallyAB
3y ago
This is true, Linux developers could write their own fully featured FTL. However, it's difficult. To quote the MTD docs "Unfortunately it is a rather difficult task to create a good FTL layer and nobody still managed to implement
115.
▲
by
IAmLiterallyAB
3y ago
See also The Witness, an amazing puzzle game by Jonathan
116.
▲
by
IAmLiterallyAB
3y ago
Yes, and I'm excited about that! Though I do wish the syntax sucked less. Also would be interesting to see it be the primary integer type of the language. I'm also interested in a more advanced version for setting arbitrary bounds
117.
▲
by
IAmLiterallyAB
3y ago
I agree. And I find it interesting that everyone seems to think the alternative is having a handful of hard coded sizes (8, 16, 32, 64). I don't think that's the answer either. I imagine a language without any concrete integer typ
118.
▲
by
IAmLiterallyAB
3y ago
I really like the idea of VLIW CPUs, it's a shame none of them have worked out. Does anyone know of any other cool more modern CPU designs? Stuff like RISCV is fine but doesn't feel particularly innovative
119.
▲
by
IAmLiterallyAB
3y ago
Precisely. He mentions that in the full talk in the video
120.
▲
by
IAmLiterallyAB
3y ago
Yeah you really have to watch the talk video to understand the article. Which is a time sink but I felt it was worth it
More ›