Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
morio
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
1.
▲
by
morio
1y ago
Sorry to be blunt, that C/C++ code is crustyyy. Just to start with run this through an decently complete clang-tidy profile and fix all errors and warnings. That should become part of your build. The longer you hold out on that the har
2.
▲
by
morio
1y ago
I haven't looked at this recently but from what I remember rendering from SDF textures instead from simple alpha textures was 3-4 times slower, including optimizations where fully outside and inside areas bypass the per pixel square ro
3.
▲
by
morio
1y ago
Yeah, there is an entire science on how to do font rendering properly. Perceptually you should even take into account if you have white text on black background or the other way as this changes the perceived thickness of the text. Slightly
4.
▲
by
morio
1y ago
Not really, it's the same color primaries just without the non-linear transfer function.
5.
▲
by
morio
1y ago
You got a long way to go. Writing a rasterizer from scratch is a huge undertaking. What's the internal color space, I assume it is linear sRGB? It looks like you are going straight to RGBA FP32 which is good. Think how you will deal wi
6.
▲
by
morio
2y ago
The majority of US homes use a split phase setup. So 240V is readily available and in fact the only way you can run central AC. Nominal voltage of a single phase is 120V. Technology Connections has an entire video about it.
7.
▲
by
morio
2y ago
One example from the software side: A common thing to do in data processing is to obtain bit offsets (compression, video decoding etc.). If a byte would be 10 bits you would need mod%10 operations everywhere which is slow and/or comple
8.
▲
by
morio
2y ago
I find hand soldering QFN is faster, easier and more reliable than (T)QFP once you got enough practice. If you need to rework the QFN part the key is to FLOOD the footprint with good solder flux from a syringe. Do not use one of those flux
9.
▲
by
morio
2y ago
In the US, the neutral and ground are generally bonded in your breaker panel.
10.
▲
by
morio
3y ago
To be clear: I already had my old car insured with them for several years, so I just removed the old car and added the new car. I am also 50+ with no negative record and a garage in a single family home.
11.
▲
by
morio
3y ago
I concur, bought insurance for a new car early January and got it instantly using esurance.com (Allstate) by just entering my VIN. Yes, I am in SF/Bay Area.
12.
▲
by
morio
3y ago
Ok, I'll bite. Uploaded my gerbers using https://instantdfm.bayareacircuits.com/ Site does not respond for 10 minutes+ which is is not a good start. It's instant on the Chinese sites. Quote for 100 boards (ENIG) o
13.
▲
by
morio
3y ago
The short answer is yes. The long answer is that most of the VideoToaster software and hardware were specifically designed for the Amiga hardware architecture and therefore did not easily port to other systems. The extension card was Zorro
14.
▲
by
morio
3y ago
You can buy Prusa MK3 kits from Aliexpress for half the price of the original. I bought a kit from Prusa and one knockoff from Aliexpress. Parts wise they are 100% the same and perform the exact same way. Do I feel bad about it? Kind of. Th
15.
▲
by
morio
4y ago
Huh? CCS1, CCS2 and NACS are DC. You are probably thinking Type 2 (Europe) which is indeed 3 phase and j1772 (US) which is single phase.
16.
▲
by
morio
4y ago
> Rust is massively more expressive. The question is not if Rust is more expressive but if C is expressive enough for the Linux kernel. So far there is no evidence that Rust adds any value here. And if C is missing certain features, they
17.
▲
by
morio
5y ago
Sadly anything can be politicized these days.
18.
▲
by
morio
5y ago
These extreme fire events extend across the entire Northern hemisphere right now (Oregon, Washington, Montana, Greece, Turkey, Siberia etc.). Blaming California specific forest management practices is disingenuous at best.
19.
▲
by
morio
5y ago
What kind of false positives are you seeing with gcc? Personally I have never seen gcc spitting out a false positive. IMO it's always a good idea to explicitly downcast even if you know that it's 'safe'. That way someone
20.
▲
by
morio
6y ago
Huh? You just pointed out what capitalism is about.
21.
▲
by
morio
6y ago
There are many failure points but one are the high voltage carrying power lines themselves. As they reach their capacity they start to droop quite a bit, which in itself can cause issues like touching something they usually would not. Becau
22.
▲
by
morio
6y ago
Thanks for the link. Though as a Google employee you should probably refrain from any further public comments.
23.
▲
by
morio
6y ago
I agree 100% with this. I have a fairly large tinker shop with 20-30 different machines and initially bet on the Pi platform to do CNC/Octoprint/robotics/etc controls, thinking I should standardize. Most of the Pis failed wit
24.
▲
by
morio
6y ago
The site does not have a valid SSL certificate. Some browsers will block it.
25.
▲
by
morio
6y ago
Never said it should be a requirement. But downloading a .zip file from a site which does not have a valid SSL certificate nor supports SSL in the first place does not instill confidence. Software security is a thing.
26.
▲
by
morio
6y ago
Why does the author not just put it on github/gitlab/... instead of only offering a .zip? It's 2020 last time I checked.
27.
▲
by
morio
6y ago
I develop hardware. At any given time I have 3 programmers, various charger cables, usb to serial cables, logic analyzers, a mouse, a spacemouse (for CAD), flash drives, 2 x label printer (strip and shipping) and various other stuff plugged
28.
▲
by
morio
6y ago
Browsing over the code I'd say it's solid and seems to have been used in production. Just about the right amount of abstraction for practical use. Some parts could be replaced by standard C++ library functionality by now. My bigge
29.
▲
by
morio
7y ago
Agreed, I see a lot of "if Estonia can do online voting, why can't we?" When I talk to some of these people, who work in the SV as software engineers, I realize not everyone has a wide ranging context on security and privacy.
30.
▲
by
morio
7y ago
I wish that this is how it worked. The sidewalk was in 'significant disrepair' and any repairs/replacements have to be ADA compliant: https://www.sfpublicworks.org/services/permits/sidewalk-repa...
More ›