HNHacker News
TopNewBestAskShowJobs

TinkersW

680 karma · joined May 19, 2020

submissionscomments
TinkersW··on FCC abandons efforts to make U.S. broadband fast and affordable
Cell phones general do not work in rural areas unless you are very lucky or go climb the highest peak that happens to be in direct line of sight of a tower.
TinkersW··on FCC abandons efforts to make U.S. broadband fast and affordable
Rural areas don't have anywhere near that many options.

DSL, fiber? Those do not exist if you are actually rural.

TinkersW··on Live coding interviews measure stress, not coding skills
You could filter then out much more effectively by letting them sit in a room by themself to write the code, that way you aren't missing out on good candidates who can't function when under abnormal stress(that has nothing in common with the actual job).
TinkersW··on NSF has suspended Terry Tao's grant
The poll doesn't ask about support for Israel, it asks about approval for the war in Gaza, a very different question. Easy to disprove of a war that has gone on for this long, while still favoring Israel.
TinkersW··on Carbon Language: An experimental successor to C++
I have that and still prefer class, easier to type(not just shorter, but easier keys) and less to read. Only use typename in the rare case where it is required
TinkersW··on Writing memory efficient C structs
Could improve it by using enum MonsterName :u8, moving it down near the other byte sized item, and specifying the exact type of the bitfield(u8). Then it would be 16 bytes.
TinkersW··on ‘I witnessed war crimes’ in Gaza – former worker at GHF aid site [video]
You live in a bubble then, most people I know don't care very much about this issue. We have bigger issues to worry about, like our buffoon President & spiraling climate change.

The pro Palestine side has also given themself a pretty bad image, so it will take some very compelling evidence(which this video is not as it doesn't show anything clearly), to make this issue higher priority.

TinkersW··on More women than expected are genetically men (2016)
The quote is about sex--you know the thing is that is actually real, and is absolutely defined by chromosomes.
TinkersW··on Personal aviation is about to get interesting (2023)
Have they removed leaded fuel yet? I'd rather not have more of these things spewing that over me.
TinkersW··on EPA says it will eliminate its scientific research arm
Currently there isn't much they can do, but they handed the election to a corrupt buffoon. Inaction the border & immigration, letting the woke crowd run rampant with their nonsense(not talking about it doesn't make it go away), and selecting a VP that if ever tasked with running for President--wasn't likely to win.
TinkersW··on How bad are childhood literacy rates?
For me, books like Huck Fin were how I learned English, I don't think we even had grammar lessons(some weird teaching style that was popular in CA at the time).

I personally did not find the slang & creative language used in such books confusing.

TinkersW··on Matt Godbolt sold me on Rust by showing me C++
Dunno about this, the example C++ code is so obviously bad that I had no desire to watch the video.

Creating strong types for currency seems like common sense, and isn't hard to do. Even the Rust code shouldn't be using basic types.

TinkersW··on Office is too slow, so Microsoft is making it load at Windows startup
I tried using LibreOffice on Windows, and it was super slow and kept crashing. It is also so ugly & annoying to use that it must be intentional.

I really don't understand how this market is dominated by an abusive platform(MS Office) & a broken POS(LibreOffice).

TinkersW··on Fundamental flaws of SIMD ISAs (2021)
I write a lot of SIMD and I don't really agree with this..

Flaw1:fixed width

I prefer fixed width as it makes the code simpler to write, size is known as compile time so we know the size of our structures. Swizzle algorithms are also customized based on the size.

Flaw2:pipelining

no CPU I care about is in order so mostly irrelevant, and even scalar instructions are pipelined

Flaw3: tail handling

I code with SIMD as the target, and have special containers that pad memory to SIMD width, no need to mask or run a scalar loop. I copy the last valid value into the remaining slots so it doesn't cause any branch divergence.

TinkersW··on Things Zig comptime won't do
std::enable_if is not the correct comparison, I think you mean "if constexpr"

enable_if is mostly deprecated, and was used for overloading not branching, you can use concepts now instead

TinkersW··on Things Zig comptime won't do
Lisp is so powerful, but without static types you can't even do basic stuff like overloading, and have to invent a way to even check the type(for custom types) so you can branch on type.
TinkersW··on White House replaces covid.gov website with 'lab leak' theory
I mean they did engage in gaslighting about the lab leak being impossible, thou Trump was president during much of that, so I guess he is blaming himself?
TinkersW··on What do I think about Lua after shipping a project with 60k lines of code?
Yeah I had a pretty high opinion of Lua when I first used it, then I came back to code I'd written years earlier, and the lack of types just made it a nightmare.

It really could use a fully statically typed layer that compiles down to Lua, and also fixes some of the stupid stuff such as 1 based indexing and lack of increment ops etc.

TinkersW··on Four Years of Jai (2024)
I have my doubts with Jai, the fact that Blow & co seems to have major misunderstandings with regards to RAII doesn't lend much confidence.

Also a 19,000 line C++ program(this is tiny) does not take 45 minutes unless something is seriously broken, it should be a few seconds at most for full rebuild even with a decent amount of template usage. This makes me suspect this author doesn't have much C++ experience, as this should have been obvious to them.

I do like the build script being in the same language, CMake can just die.

The metaprogramming looks more confusing than C++, why is "sin"/"cos" a string?

Based on this article I'm not sure what Jai's strength is, I would have assumed metaprogramming and SIMD prior, but these are hardly discussed, and the bit on metaprogramming didn't make much sense to me.

TinkersW··on Shadertoys Ported to Rust GPU
Slang is nice improvement on HLSL, but wish it was more like C++ and not C#(easier to share code).
TinkersW··on Why Fennel?
I'd guess a major reason is that Java is statically typed, and Lua/Fennel are dynamic; making it easier to reuse any existing libraries.
TinkersW··on Bilinear interpolation on a quadrilateral using Barycentric coordinates
It in no way replaces triangles, and very few will use it for good reason.

Why?

In many cases modern renders use triangles only a few pixels in size, you won't see C1 discontinuity at that size.

All the outer edges of quad still have C1 discontinuity between other quads, all it fixes is the internal diagonal

It has performance & complexity overhead

TinkersW··on Dithering in Colour
I don't know where they got the idea you don't dither in srgb, the point of dithering is to map it to the nearest bit pattern with a random adjustment so that it could go either way(aside from artistic choice), you should dither in srgb if you are going to display it in srgb, which is probably why the "not linearized" version looks more accurate.

See: Dithering should happen in sRGB https://www.shadertoy.com/view/NssBRX

TinkersW··on I stopped everything and started writing C again
Eh Segfaults are like the easiest error to debug, they almost always tell you exactly where the problem is.
TinkersW··on Performance of the Python 3.14 tail-call interpreter
a+=1 will not produce any surprising results, signed integer overflow is well defined on all platforms that matter.

And we all know about the looping behavior, it isn't surprising.

The only surprising part would be if the compiler decides to use inc vs add, not that it really matters to the result.

TinkersW··on Stack Traces Are Underrated
Perhaps, but remote debugging is a thing, though triggering an auto break into debugger would be more complex.
TinkersW··on Stack Traces Are Underrated
They are useful sure, and I print a stacktrace on any type of error/exception, but often breaking into the debugger is even more useful and faster as you can see local variables, program state, and what other threads happen to be doing.
TinkersW··on Improving on std:count_if()'s auto-vectorization
The accumulator is a vector type, with 64 bit sum you can only fit 4 into a 256 bit register.

After the loop it will do a horizontal add across the vector register to produce the final scalar result.

TinkersW··on US support to maintain UK's nuclear arsenal is in doubt
Well now you are just spewing obviously false nonsense, so you are either a russian troll or a lost cause.
TinkersW··on US support to maintain UK's nuclear arsenal is in doubt
He has given Russia everything they could ever want in return for nothing, and attacks our allies at every opportunity, if he isn't Russian controlled, he might as well be, for makes no difference.

250% Tariffs on Canada now, does that sound reasonable? Can you think of a single sane reason to even have tarrifs on our close ally Canada? The reason is obvious, to drive a wedge between Canada and the US, and to make both countries poorer for it.

← PreviousPage 3 of 13Next →