Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
TuxSH
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
151.
▲
by
TuxSH
1y ago
> People were more motivated to do real, non-piracy homebrew. Gimmicks and ease-of-hacking also matter IMO. With the Switch, I believe we are seeing the "threat model" (from Nintendo's PoV) shift from on-device hacking to
152.
▲
by
TuxSH
1y ago
Seconding this. AI vibe coding (of anything with complex requirements) is blown out of proportion but is quite frankly one of the worst uses of LLMs. LLMs are ridiculously useful for tasks where false positives (and false negatives) are acc
153.
▲
by
TuxSH
1y ago
Yes, libogc is a dumpster fire and the dkP org would be better served by rewriting a libogc replacement (w/ a different API) from scratch, quite honestly. What I find odd is the timing, I highly suspect he learned about it many months
154.
▲
by
TuxSH
1y ago
> How much "reverse engineering" these days really is clean room and how much of it is just ripping off proprietary software? In Nintendo console hacking scenes? None at all, there is no point to it, going through the hassle of
155.
▲
by
TuxSH
1y ago
To me this looks like a bad attempt at exposing dirty laundry in bad faith, which is not too surprising coming from him. 1. Commit 3ba50ec which Marcan is complaining about was pushed in 2008 and didn't just delete attrib specifically,
156.
▲
by
TuxSH
1y ago
> and finding that I could only get it to generate with a specific compiler chain on windows (ninja I think?) Yes, you're right about that. Basically, it boils down to "use CMake with Ninja/Makefile" (even if you don&
157.
▲
by
TuxSH
1y ago
A little off-topic but a few companies (e.g. Aerospike) use AGPL in the free versions of their paid products to avoid getting leeched off.
158.
▲
by
TuxSH
1y ago
Hmm, looking at cppreference: The consteval specifier declares a function or function template to be an immediate function, that is, every potentially-evaluated call to the function must (directly or indirectly) produce a compile time const
159.
▲
by
TuxSH
1y ago
> this would be unacceptable for os kernels Depends on the boundary. I can give a non-Linux, microkernel example (but that was/is shipped on dozens of millions of devices): - prior to 11.0, Nintendo 3DS kernel SVC (syscall) implemen
160.
▲
by
TuxSH
1y ago
No, you can't do that either: https://godbolt.org/z/vzdTMazx7 : error: '__builtin_bit_cast' is not a constant expression because 'char ' is a pointer type Here the `constexpr` keyword means the
161.
▲
by
TuxSH
1y ago
You can't static_cast in this case; https://godbolt.org/z/a1bMbPcaj
162.
▲
by
TuxSH
1y ago
Maybe they meant reinterpret_cast from/to char to u8, which in this case isn't possible in constexpr.
163.
▲
by
TuxSH
1y ago
It used to be good, or at least quite decent in GH Copilot, but it all turned into poop (the completions, the models, everything) ever since they announced the pricing changes. Considering that M$ obviously trains over GitHub data, I'm
164.
▲
by
TuxSH
1y ago
> If I'm using Claude through Copilot where it's "free" Too bad Microsoft is widely limiting this -- have you seen their pricing changes? I also feel like they nerfed their models, or reduced context window again.
165.
▲
by
TuxSH
1y ago
They just did that, at least for chat
166.
▲
by
TuxSH
1y ago
They're supposed to be released today for everyone, and o3-pro for Pro users in a few weeks: "ChatGPT Plus, Pro, and Team users will see o3, o4-mini, and o4-mini-high in the model selector starting today, replacing o1, o3‑mini, an
167.
▲
by
TuxSH
2y ago
Don't disable SIP, clear the downloaded/quarantine extended attribute instead. This clears all extended attributes: xattr -cr <file> and bypasses the obnoxious GK.
168.
▲
by
TuxSH
2y ago
xattr -cr <file> should clear the "download" extended attribute and make it as if the software was compiled on the machine itself, bypassing the ever-so-annoying Gatekeeper. For binary patching: codesign --force --deep -s -
169.
▲
by
TuxSH
2y ago
No, the bench results for Apple laptops are accurate (since there is close to no variance in hw config). It is the x64 processors that appear worse than they actually perform. Might be an issue with the test methodology for x64 processors,
170.
▲
by
TuxSH
2y ago
From The Verge's benchmarks, looks like the 256GB is slower, like on previous units (except M1?)
171.
▲
by
TuxSH
2y ago
> I mean, the c++ committee introduced "start_lifetime_as", effectively declaring all existing low-level c++ programs invalid Did it? Wasn't that already the case before P2590R2? And yes, a lot of the C++ lifetime model is
172.
▲
by
TuxSH
2y ago
> error path cleanups, forgetting to check error values, and use-after-free mistakes C++ (ideally, C++17 or 20 to have all the boilerplate-reducing tools) allows for all of that to be made, even in a freestanding environment. It's
173.
▲
by
TuxSH
2y ago
It's all nice and fast until the GC eats up all the CPU time under memory pressure (e.g. container memory limit). GC deserves its bad rep, even if GC implementations have gotten a lot better over time. GC also disqualifies a language f
174.
▲
by
TuxSH
2y ago
3DS HOS was known to be using armcc and Switch HOS is known to be using clang. Both OSes are huge C++ codebases. Features being disabled or forbidden is a non-userland thing (basically only because resources are constrained. 20KB of excepti
175.
▲
by
TuxSH
2y ago
> "in C++26 vector::operator[] will be checked" Every major project in that cares about perf and binary size would disable the option that compiler vendors would obviously provide, like -fno-exceptions. Rust memory and type sys
176.
▲
by
TuxSH
2y ago
> C++ is not for kernels That's a broad generalization to make. Nintendo's custom OS (Horizon OS, used on Switch and a previous version on 3DS) is almost fully written in C++, including the entire kernel and all drivers. I agre
177.
▲
by
TuxSH
2y ago
GitHub's real moat is their good and responsive support (even for free users), infra (GH Actions, GHCR, etc.), and value as social network. Indeed, people use GitHub because all their peers do (network effect). Gitea focuses on self-ho
178.
▲
by
TuxSH
2y ago
Bad (though I haven't tested autocompletion). It's underperforming other models on livebench.ai. With Copilot Pro and DeepSeek's website, I ran "find logic bugs" on a 1200 LOC file I actually needed code review for:
179.
▲
by
TuxSH
2y ago
AFAIK it's hosted on Chutes for free too (though limited to between 2k and 10k output tokens). Azure as well, though it might be ratelimited there (or at least it is through openrouter)
180.
▲
by
TuxSH
2y ago
> You can access DeepSeek R1? Yes, well, I live in the EU and thus can avoid US work hours and Chinese peak hours. I think availability has been a bit better since they disabled websearch (also I noticed DSR1 half a week before it made t
More ›