Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
variadix
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
15 ms
·
181.
▲
by
variadix
3y ago
Even 50MB of code is insane.
182.
▲
by
variadix
3y ago
Thanks for mentioning this
183.
▲
by
variadix
3y ago
It’s good, Larian did a great job with DOS1/2 so I expected it would be a great game. I’m surprised this many people are playing it, but maybe Baldur’s Gate and DND are part of why. My only complaint is the combat is a little underwhel
184.
▲
by
variadix
3y ago
No enforced static typing and no proper debugger make Python painful for large code bases. It’s good for scripts, prototyping, and gluing libraries together to make utilities, but if something expands beyond a single file I stop wanting to
185.
▲
by
variadix
3y ago
Except you pay this cost (locks + codegen) even for PODs with known data at compile time.
186.
▲
by
variadix
3y ago
The homeless, I imagine
187.
▲
by
variadix
3y ago
Adding more registers makes context switching take longer and require more memory. It’s a trade off.
188.
▲
by
variadix
3y ago
It’s still a significant concern for C++, you just can’t get around it because of templates. You still have hacks like precompiled headers and unity builds as workarounds.
189.
▲
by
variadix
3y ago
This is a much stronger form of encapsulation than public/private. You basically have to do this if you have a generic API that wraps system specific APIs to avoid polluting your code with system specific includes/types/funct
190.
▲
by
variadix
3y ago
I disagree, it’s heavily abused but very useful for types where it’s obvious what the operation is (inherently mathematical types like vectors and matrices). I wrote a macro library for C that vector/matrix math in prefix notation with
191.
▲
by
variadix
3y ago
Some parts of STEM are very accessible outside of an institution (math, CS, theory) but for many fields of engineering and hard sciences you need expensive equipment and materials that may also be hazardous to work with if you’re untrained.
192.
▲
by
variadix
3y ago
What error message do you expect the linker to produce when there is a reference to a symbol that it doesn’t find in any of the object files provided?
193.
▲
by
variadix
3y ago
It’s a very simple and explicit language that is easy to write high performance code with and can be used as high level, portable assembly which integrates easily with actual assembly due to a simple and stable ABI. It compiles extremely qu
194.
▲
by
variadix
3y ago
There are various constraints on std::vector because of language in the standard which makes concessions for generic use that might not apply to your application. Small vector optimizations aren’t possible in std::vector, also some operatio
195.
▲
by
variadix
3y ago
People want to play identity politics, not solve tangible issues like income disparity and economic mobility.
196.
▲
by
variadix
4y ago
Indeed. Having to deal with slow code (and slow compile times to some extent) for the majority of the project’s lifespan ruins iteration rate.
197.
▲
by
variadix
4y ago
The Starbucks near me recently switched from taking your card at the drive thru to holding a card reader out the window which asks for a tip. It seems kind of absurd to ask someone to fill out the tip amount with one hand from their car.
198.
▲
by
variadix
4y ago
Ironically, Xilinx’s tool chain is probably the best of the large FPGA manufacturers. It does leave a lot to be desired compared to software tool chains.
199.
▲
by
variadix
4y ago
That’s a bit of a false dichotomy. 4chan’s boards are distinctly different from each other in terms of the quality of conversation and topics discussed. Moderating things for being spam or off topic is different from moderation with a clear
200.
▲
by
variadix
4y ago
I don’t know if this is frowned upon or not among assembly programmers, but I often just use naked functions in C with asm bodies, which gdb will provide the args for, rather than linking against a separate assembly file.
201.
▲
by
variadix
4y ago
Corne in an IMK Corne case with Boba U4s
202.
▲
by
variadix
4y ago
Not cleanly, but if you assume 2s complement and wrap all signed addition in a macro function you could cast to unsigned before the add and cast the result back to signed.
203.
▲
by
variadix
4y ago
It’s built from the bottom up in layers (at least traditionally, I’m not sure how the newer 3D structures for memory are constructed). The bottom layer of silicon substrate is covered in an oxide and etched selectively by photoresist and ma
204.
▲
by
variadix
4y ago
The irony
205.
▲
by
variadix
4y ago
I don’t think the government should be involved in student loans at all. If people could file for bankruptcy and banks had to do their job it seems like many of these issues would be solved. If a bank was going to provide a student loan tha
206.
▲
by
variadix
4y ago
I agree. I also think the ‘free to use’ model of most big social media websites undermines competition.
207.
▲
by
variadix
4y ago
I think you just need LTO if you want full optimization without regards for the ABI constraints
208.
▲
by
variadix
4y ago
I think GDP is flawed, but I don’t think limiting your metrics to a few important categories makes much sense either. It seems to me that wherever profit is generated, value is generated (in a limited sense), and that may serve as a more ge