Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
TuxSH
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
31.
▲
by
TuxSH
6mo ago
> forbidding women to wear jeans This police ordinance from 1800 was abolished in 2013 > requiring permission of the husband to work Repealed in 1965
32.
▲
by
TuxSH
6mo ago
> optional<T&> This is a C++26 feature which will have pointer-like semantics, aren't you confusing it with optional<reference_wrapper<T>> ?
33.
▲
by
TuxSH
7mo ago
> every async "function call" heap allocates. > require the STL That it has to heap-allocate if non-inlined is a misconception. This is only the default behavior. One can define: void *operator new(size_t sz, Foo &foo)
34.
▲
by
TuxSH
7mo ago
> But reinterpret_cast isn't valid in a constexpr scope. std::bit_cast is
35.
▲
by
TuxSH
7mo ago
Doesn't need to be UB, you can write expressions like: "some_s8_var < some_u32_var" and people will be had. Note that is not the same as "some_s8_var < some_u8_var". -Wextra catches stuff like this, alas I kno
36.
▲
by
TuxSH
7mo ago
I don't have as many years of professional experience as you do, but IMO code pissing is one of the areas LLMs and "agentic tools" shine the least . In both personal projects and $dayjob tasks, the highest time-saving AI tas
37.
▲
by
TuxSH
7mo ago
You exaggerate, but in this situation, I think putting a link to a Jira ticket or Slack convo (or whatever) as comment is best
38.
▲
by
TuxSH
7mo ago
In your case SetResolution could be a static method calling a private instance-method SetResolutionImpln, for example, similar to what other people said. > what's the point of globally visible singletons except "everything is
39.
▲
by
TuxSH
7mo ago
Also Apple Music is much worse (harder to bring miniplayer, seek bar harder to use) and list of misfeatures goes on and on and on
40.
▲
by
TuxSH
7mo ago
Yes, I agree. It's just that I value the right to reveal my identity on my own terms a lot higher than $1200 (using my username and project name is fine). For the offer to become enticing they would need it to be 5~10y instead of 6mo,
41.
▲
by
TuxSH
7mo ago
Sure, but what I'm slightly worried about is people easily resolving my username to my real name. Maybe I worry too much, dunno
42.
▲
by
TuxSH
7mo ago
> By accepting a Program subscription, you grant Anthropic permission to identify you publicly as a Program recipient, including by referencing your name, GitHub username, and associated open source project(s). I was tempted about applyi
43.
▲
by
TuxSH
8mo ago
> If there is 4-5 commits with "WIP almost working" between each proper commit, then that's too much noise for me, personally. Yep, no excuse for this, feature branches exist for this very reason. wip commits -> git reb
44.
▲
by
TuxSH
8mo ago
> The current ChatGPT $20/month plan goes a very long way It sure does and Codex is great, but do you think they'll maintain the current prices after/if it eventually dominates Claude Code in terms of marketshare and mind
45.
▲
by
TuxSH
8mo ago
> This seems like a "we've banned you and will ban any account deemed to be ban-evading" Honestly, if faced with such a situation, instead of just blocking, I would report the acc to GH Support, so that they nuke the accou
46.
▲
by
TuxSH
8mo ago
If you force it to use chain-of-thought: "Two fathers and two sons sum to how many people? Enumerate all the sets of solutions" "Assuming the group consists only of “the two fathers and the two sons” (i.e., every person in th
47.
▲
by
TuxSH
8mo ago
If I'm not mistaken Codex is free until April 2nd with the previous generous rate limits (while paying customers get 2x).
48.
▲
by
TuxSH
8mo ago
In my case I've had it (Opus Thinking in CC) hit 80% of the 5-hour limit and 100% of the context window with one single tricky prompt, only to end up with worthless output. Codex at least 'knows' to give up in half the time a
49.
▲
by
TuxSH
8mo ago
> modded 2DS using the DSi emulator The DSi and GBA modes on 3DS aren't emulation, there's an actual Arm7 and GBA/NDS IP blocks in the 3DS. For the parts that do require software intervention (DSi RTC, input remapping, et
50.
▲
by
TuxSH
8mo ago
> although costs might become an issue. If you have a ChatGPT subscription, try Codex with GPT-5.2-High or 5.2-codex High? In my experience, while being much slower, it produces far better results than Opus and seems even more aggressive
51.
▲
by
TuxSH
9mo ago
Not the person you are replying to but, even if the technical skills of AI increase (and stuff like Codex and Claude Code is indeed insanely good), you still need someone to make risky decisions that could take down prod. Not sure managemen
52.
▲
by
TuxSH
9mo ago
For good companies; there are _quite_ a few companies that underpay and not as many interesting job opportunities. Let's just say "at least 2x~2.5" and move on. Also, even if you did not mention it, UK is a bit of a special c
53.
▲
by
TuxSH
9mo ago
SWE rarely earn $100k gross/yr TC in Western European nations. It's closer to $50k~$80k in many cases.
54.
▲
by
TuxSH
9mo ago
Not OP, but there are plenty of minor annoyances (I had the "pleasure" of upgrading my work laptop to Tahoe) : - Apple Music requires one more click to pop the multiplayer, UI is worse and the click hitbox for the progress seek ba
55.
▲
by
TuxSH
10mo ago
Go is a bad example since it's ubiquitous in the Kubernetes world, in particular with k8s "operators" (for a variety of reasons)
56.
▲
by
TuxSH
10mo ago
> The C++ inline keyword is treated similarly as well, with different metrics used of course. You are thinking of C's inline/static inline. C++'s "inline" semantics (which are implied for constexpr functions, in-
57.
▲
by
TuxSH
10mo ago
C++23 does have std::unreachable (as a function), and its counterpart [[assume(expr)]]
58.
▲
by
TuxSH
10mo ago
> global variables are considered bad design Global mutable variables, and they usually tend to be grouped into singletons (solving initialization issues, and fewer people bat an eye)
59.
▲
by
TuxSH
10mo ago
> I can't make sense of modern C++ A lot of it is about making metaprogramming a lot easier to write and to read. No more enable_if kludges since if constexpr (and concepts for specific stuff); and using concepts allows to better co
60.
▲
by
TuxSH
11mo ago
> Unnecessarily over-complicated. Most of the complexity comes from the fact that C++ trivially supports consuming most C code, but with its own lifetime model on top, and that it also offers great flexibility. Of course things become si
More ›