Readit News logoReadit News
seangrogg commented on Traps to Developers   qouteall.fun/qouteall-blo... · Posted by u/qouteall
Someone · 9 days 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. Java has been such a language since release 9 (https://openjdk.org/jeps/254)

[1] The ‘enough’ is because some languages have fully opaque types, but specify efficiency of some operations and through it, effectively proscribe implementation details. Having a foreign function interface also often means implementation details cannot be changed because doing that would break backwards compatibility.

> JS use floating point for all numbers. The max accurate integer is 2⁵³−1

That is incorrect. Much larger integers can be represented exactly, for example 2¹⁰⁰.

What is true is that 2⁵³−1 is the largest integer n such that n-1, n, and n+1 can be represented exactly in an IEEE double. That, in turn, means n == n-1 and n == n+1 both will evaluate to false, as expected in ‘normal’ arithmetic.

seangrogg · 9 days ago
Yeah, I think they didn't mean max "accurate" integer and rather meant max "safe" integer.
seangrogg commented on California unemployment rises to 5.5%, worst in the U.S. as tech falters   sfchronicle.com/californi... · Posted by u/littlexsparkee
ivewonyoung · 10 days ago
Then how did Republicans repeal it just recently with zero Dem votes?

Repealing it had Republican support during the Biden term too, they even introduced a bill in2023 to repeal it which the Democrats killed.

https://www.congress.gov/bill/118th-congress/senate-bill/282...

Democrats really wanted the changes to take place since their platform is all about higher taxes on companies and high earners.

seangrogg · 10 days ago
They actually did NOT repeal the portion relevant to software development being considered research - it was actually made permanent and is pretty trivial to find by searching for "software development" against the text of the bill. What did change was an additional section to how research is capitalized, with domestic research being able to deduct immediately while other (i.e. foreign) research is subject to the amortization rules.
seangrogg commented on California unemployment rises to 5.5%, worst in the U.S. as tech falters   sfchronicle.com/californi... · Posted by u/littlexsparkee
kristopolous · 10 days ago
right, upon further research, there's no corresponding increase in LLC or EIN filings so the startup hypothesis is likely unsupported
seangrogg · 10 days ago
In all fairness, plenty of people leaving the trappings of Big Tech are pretty capable of uprooting and doing business elsewhere; California offers relatively little other than what it has from existing inertia.
seangrogg commented on California unemployment rises to 5.5%, worst in the U.S. as tech falters   sfchronicle.com/californi... · Posted by u/littlexsparkee
throwmeaway222 · 10 days ago
anecdata: after lay off 10 months ago, I suddenly got 3 offers in July and I am employed now.

I think it's the BBB that fixed the tax code issue - just a guess.

seangrogg · 10 days ago
Partially! The text of the OBBBA actually made permanent the section of the tax code that treats software development as research and amortizes accordingly. However, because nothing can just be straightforward, it also allows domestic research expenses to be deducted immediately instead of amortized.

Definitely a much better tax situation but also not one we would've been in if not for the TCJA, and we still have an exposed oblique (the removal of the domestic research exclusion) that could put us back in the same spot unless the software development as research section is removed.

seangrogg commented on Tell HN: I underestimated how lonely building solo can be    · Posted by u/paulwilsonn
betterhealth12 · 20 days ago
How do you reconcile the fact that LLMs can be pretty fair-weather? Meaning, while they can serve as a sounding board and often raise perspectives you might not have thought of, they don't have much conviction and will change their tune if you push them in the other direction enough.
seangrogg · 20 days ago
My approach is to compliment the LLM on something I've not thought of and ask it to sell me on the approach, expound on its position, and ask probing questions. If I get a feeling something's off I just go do independent research like normal.
seangrogg commented on Tell HN: I underestimated how lonely building solo can be    · Posted by u/paulwilsonn
seangrogg · 20 days ago
Not going to lie, this is one of the few reasons I use LLMs at all. Even if I feel like I have a decent idea if I don't have anyone around to listen I'll just lob thoughts at an AI just to ask for alternatives, dissenting opinions, critiques, etc. Typically much of the output are things I already considered, but even that can be validating itself as a sort of reminder that I did think things through. And on some occasions it does raise things I wouldn't have considered which can be great to stop and chew on before proceeding.
seangrogg commented on What Does One Billion Dollars Look Like?   whatdoesonebilliondollars... · Posted by u/alexrustic
bnycum · 21 days ago
"The average American household spent $87,432 in 2021." That number seems awfully high to me? That's more than I am seeing the average household makes in 2023.
seangrogg · 21 days ago
Klarna sends its regards.
seangrogg commented on Mastercard deflects blame for NSFW games being taken down   pcgamer.com/games/masterc... · Posted by u/croes
seangrogg · 21 days ago
You assume people are buying something because "both sides" are doing it. But what about those who aren't ideologically aligned with either end and instead exist in the space between?
seangrogg commented on Mastercard deflects blame for NSFW games being taken down   pcgamer.com/games/masterc... · Posted by u/croes
charlieyu1 · 21 days ago
I won't trust the Congress. Far left and far right are both pushing for more censorship
seangrogg · 21 days ago
Center shit, not censorship.
seangrogg commented on Ask HN: What are you working on? (July 2025)    · Posted by u/david927
Vermeulen · a month ago
A multiplayer survival game based around voxel physics.

Can be described as Astroneer-like setting, Teardown voxel physics, in a Valheim-like online multiplayer survival game.

Game isn't really announced yet but I've shown some videos of the tech: https://x.com/Alientrap/status/1909316208563732866 (On Youtube: https://www.youtube.com/watch?v=ZWISaUmvit4 ) https://x.com/Alientrap/status/1918024969939808654

seangrogg · a month ago
Video demo was awesome, really good stuff! Love seeing how you managed to make gravity actually a thing without simply destroying everything above a certain point, as well as connecting different objects together - I feel like that's something most voxel-based games I've seen have done a terrible job at.

Given the online/multiplayer aspect how difficult has the network portion been?

u/seangrogg

KarmaCake day795March 16, 2016
About
Just some technologist.
View Original