HNHacker News
TopNewBestAskShowJobs

leeter

1,282 karma · joined August 12, 2016

submissionscomments
leeter··on Users report Nvidia RTX 4090 GPUs with melted 16-pin power connectors
The bigger callout is the safety margins that were assigned to each plug. The new connector runs pretty much right at rated margin minus 84W (6pins * 12V * 9.5A = 684W) for losses at full spec. The old connector was rated for 324W (3pins * 12V * 9A) but only specced for 150W or approx 4.2A per pin. So there was a massive safety margin there. Also the larger pin spacing means that the connections were better able to dissipate any heat that did show up for the most part anyway. The much tighter pin spacing on the new connection pretty much ensures that any dongle like this will be extremely hard to cool because of the fact the wires must come together in the actual connector.

Long story short: IMO the new connector makes me extremely nervous, running anything that can cause fire within ~14% of rated is not a wise idea unless you're doing Aerospace and have no other options. Even then they generally have extremely high QA and assembly verification, something I'm not expecting from computer OEMs.

leeter··on Retrowin32, a Win32 emulator
In my case the app in question is about ~6MB and an occasionally used utility, I could make a setup version that dynamically loads things... but why? Most users would prefer to just use it, delete it, and if they need it again grab it again.
leeter··on Retrowin32, a Win32 emulator
The issue for a lot of devs is if you want to use any of the new stuff you can't ship a single file portable executable. You have to do a packaged installer. So MFC warts and all can still be faster and lighter than other options unfortunately. I was hoping WinUI3 would have a way to do single file delivery but it doesn't as far as I can tell.
leeter··on Mojibake
So back at one of my first jobs I worked a lot with XML, as a dev you often forget to test some of the odder corner cases but this had come up somewhere and I decided to test it... and lo and behold we failed horribly. Ever since then any time I'm using any sort of serialization format I add mojibake to my tests. My usual sequence these days is either Japanese/Chinese or <string of emoji that hacker news removes> or both. The amount of software claiming to respect encodings that doesn't is quite amazing. Many times they'll include things like the XML declaration and then completely ignore it. Ditto HTML and encoding headers and tags, also byte order marks.
leeter··on A call to reconsider memory address-space isolation in Linux
Not a Windows Kernel Dev. But my understanding is it's more a tripwire than anything else unless virtualization based security is turned on. If that is activated then the Kernel has complete isolation from non-MS drivers and can prevent them from accessing critical data structures. MS has a list of known drivers that don't work with this and prevents users from activating it if it will break things.
leeter··on The Strid: The ‘deadliest stretch of water’
So parallels can be made to other places to show the danger. It's a slot canyon; only one that's generally constantly full versus empty most the year until the monsoon hits like those here in the US where I am. But the danger remains the same, the sandstone geology allows for it to create very deep and fast flowing situation due to Bernoulli's principle. Even more so for constrictions in the rock which form natural venturi.

<s>I looked but was not able to find CFM/CMM for the input and output</s>; but that would give a reasonable idea of what the volume of the canyon must be because what goes in must come out. So the volume of the flow at the outlet and inlet gives a very good idea of just how crazy it can be.

Edit: Input flows: https://nrfa.ceh.ac.uk/data/station/meanflow/27096 Output flows: https://nrfa.ceh.ac.uk/data/station/meanflow/27043

https://en.wikipedia.org/wiki/Slot_canyon https://en.wikipedia.org/wiki/Bernoulli%27s_principle

leeter··on Why do all these 20-somethings have closed captions turned on?
Theory: Because distribution companies for movies made having DTS/Dolby Atmos/Whatever mandatory in the theater, sound engineers primarily focus on that because that takes 99% of the time. Because theaters with just optical stereo (yes I'm aware most theaters use digital distribution and projectors now, that just hammers home the point) aren't really a thing any more they don't really bother optimizing it because "nobody will hear that anyway". Then when the film goes to home distribution the distribution company takes the automatic downmix that is the existing stereo track for the optical stereo on a print and use that because they don't want to second guess the sound engineers or the director.

Long theory short: it's the same reason the Beatles mono album versions sound a ton better than the stereo versions, because that was the optimized version because that's what people listened too at the time. Sound engineers aren't being paid to optimize the stereo or even 5.1 versions of the audio, only the theater version in whatever multi-channel standard is popular at the moment, so they don't bother they let the standard downmix stand.

leeter··on CPSC warns consumers to stop using male-to-male extension cords sold on Amazon
They are?

https://www.amazon.com/Leviton-Available-515CR-Outlet-Ground...

leeter··on Exploring FPGA Graphics
Because VGA is fundamentally an analogue standard built around how a CRT works. Each bit of the signal serves a very defined purpose based on how a CRT and thus a vacuum tube works. This is also why VGA is so crazy to do digital capture for, because there are a lot of things that are "VGA" that are well outside the IBM standard. Monitors don't often care because as long as they can adjust their pixel clock, something they can do based on detecting the blanking intervals, they can display the signal because CRTs don't fundamentally have a "resolution" they have "Dot pitch" which is different. But for a digital monitor like an LCD it has to detect and verify the stability of the signal, then try to decode it into something that makes sense. That can take multiple attempts to get right. Most hardware also makes assumptions based on the common resolutions because there is no resolution information... just blanking. So without EDID it can be a real challenge to deal with VGA capture. IIRC you can have multiple resolutions at approximately the same pixel clock because of how VGA works that's fine, a CRT doesn't care... but digital capture needs to know how many times per second to sample so it can make pixels.

https://en.wikipedia.org/wiki/Cathode-ray_tube#Construction_...

https://en.wikipedia.org/wiki/Video_Graphics_Array

https://en.wikipedia.org/wiki/Extended_Display_Identificatio...

leeter··on Home Heating Cost Comparison
Check your prices, that's more likely to be a bigger determiner than other things. For me it wouldn't make sense just because natural gas is so much cheaper right now. That is however subject to change. That said if I was installing AC I'd probably still do it just because Natural gas prices have been a touch volatile lately.
leeter··on Home Heating Cost Comparison
Current models work down to -10F without going linear. They'll still technically work beneath that but are basically the same as resistive electric at that point.
leeter··on Home Heating Cost Comparison
They appear to be localized to Maine. I'm pretty sure mine is cheaper for natural gas.
leeter··on Home Heating Cost Comparison
The cost is mostly in the installer based on the anecdotes of a well known technology youtuber in illinois. They are scared of installing heat pumps and carrying them allegedly. You may be able to buy compatible hardware on your own and get an installer. But aside from that one week you can get ASHPs that go down to 5F without losing efficiency. You can even get multi-head units that can move heat from where you might not need it (near a fireplace or stove) to where you do (bedrooms) ditto in reverse for cooling. But I'd suggest doing some research.
leeter··on Apple M2 vs. AMD Ryzen 7 Pro 6850U Performance in Nearly 200 Benchmarks
Without examining the behavior of the specific wins my guess is memory. The M1 and M2 have amazing memory bandwidth. That's something their design needs as clock for clock they would be massively pipeline starved if they didn't because of how wide the apple design is.
leeter··on Win32 Is the Only Stable ABI on Linux?
> Surely Microsoft has internal tools for Windows that do the same thing: run a battery of tests across popular apps and make sure changes in the OS don't break any user apps.

And hardware, they actually deploy to hardware they buy locally from retailers to verify things still work too last I checked. Because there is always that "one popular laptop" that has stupid quirks. I know they try to focus on a spectrum of commonly used models based on the telemetry too.

leeter··on Breaking all macOS security layers with a single vulnerability
I'd compare it to non-encrypted and signed pagestate in ASP.net or JSP, it works but it's completely untrustworthy. IMO this shouldn't be hard for apple to solve either, they can just create a key in keychain and use that to sign the file using the existing and standardized XML signing algorithm. That way any change to the file, even the XML will cause it to get discarded.
leeter··on U.S. Treasury sanctions virtual currency mixer Tornado Cash
If you're taking 10k or more in cash out of the country and fail to file a fincen-105 you can have all of the cash sized with no recourse. CBP regularly uses cash sniffing dogs for this purpose.

https://www.fincen.gov/sites/default/files/shared/fin105_cmi...

leeter··on U.S. Treasury sanctions virtual currency mixer Tornado Cash
It's never been sanctioned but it is tracked. Every single time cash (the physical printed bills) flows through a federal reserve branch or even some mainline banks the serial is noted and reported to a database. They do this in case money known to be tainted (stolen, counterfeit etc.) shows up. So if a bill with a flagged serial number comes up that info is forwarded to the FBI/Secret service. That doesn't mean they'll come knocking on your door if you deposit a single tainted note, it just tells them that the note somehow made it to your locality. But if you deposited a ton of them all at once? Yes you'd probably get a visit and some very pointed questions on where you got them and how. This has happened a few times when people found cash from robberies (the D.B cooper case being one). https://en.wikipedia.org/wiki/D._B._Cooper#Recovered_ransom_...

Most people have probably deposited a counterfeit bill and never known it too. Again singular bills are not a problem. They just tell the secret service to keep an eye on that locality and potentially contact businesses that saw the counterfeits come in assuming those businesses didn't flag it themselves.

leeter··on Patent Act requires an inventor to be a natural person, not an AI [pdf]
Eh... this just means that the AI has to get a useful idiot to hold them instead. Don't worry System Shock is just a game... right?
leeter··on Microsoft Windows is prohibited at Gitlab
This is why I find this policy ironic and silly. MacOS is the largest target of choice for bad actors as late because the ratio of high value/low chance of rejection users have migrated to Mac over the past few years because of the whole "Macs are safer" myth. To the point that an exploit for MacOS goes for a lot more money not because they are all that rare but because the value of the targets is greater.

MacOS CVE details as late: https://www.cvedetails.com/vulnerability-list/vendor_id-49/p...

Windows: https://www.cvedetails.com/vulnerability-list/vendor_id-26/p...

Note how the windows ones are more up to date and patched faster? That's because Mac only does major updates on a cycle and doesn't patch out of band ever if they can avoid it. So yeah I think this is all theater and people's own biases being silly. But if it works for them then that's fine.

leeter··on SATAn: Air-Gap Exfiltration Attack via Radio Signals from SATA Cables
Pretty sure a ferrite beads can shut this down anyway. But this seems like a more practical question of "If they can get that close do they really need this?" They've already had USB or software access in some form already.
leeter··on Does a compiler use all x86 instructions? (2016)
I looked this up once, LEAVE is fast but ENTER is slower than just doing it by hand. So compilers will use LEAVE under some circumstances but ENTER is a dead instruction AFAIK, just like LOOP and a few others.
leeter··on Upcoming RISC-V laptop promises free silicon upgrades
The fact this isn't coming from SciFive or Pinebook makes me suspicious as well, as does the massive lack of details. I can't find anything really on this OEM which is not promising. In this case they'd probably have been better off going kickstarter IMO just to get their names out there and have at least a pretend ounce of accountability.
leeter··on Making an Accurate Sleep() Function
Windows can also use beginTimePeriod() to set the timer resolution (sadly system wide) so if one needs a 1ms time period that is plausible with defaults. But you do have to set it. Otherwise you have to depend on the variable tick timer to give you want you want. Which don't get me wrong can be good, but if you need more guaranteed timer ticks... it may not be the way.

https://docs.microsoft.com/en-us/windows/win32/api/timeapi/n...

leeter··on Internet Explorer 11 has retired and is officially out of support
Yes and no, Chrome does what's good for google with no regard for most of the rest. To make it worse google goes out of their way to break compatibility with other browsers when it comes to their stuff. It's really no different and in many ways just as bad. The only major difference is google's incentives do align with innovation for web; insofar as it furthers advertising revenue for google.

https://www.developer-tech.com/news/2019/apr/17/mozilla-goog...

leeter··on Please, don't build another Large Hadron Collider
It's reasons like this that I don't necessarily see LHC or whatever rev of it as a problem per se. If the technologies developed to get there pay back the cost of the collider then it could end up being a very expensive toy and I wouldn't care. To me it's about the journey and getting there, because for big science in many case the real science is not the tool produced at the end but the science and engineering that has to go into making that tool.

Thus the question I have to the scientists pushing for a new LHC is: "What would we get from the journey?" If they truly believe in the project they'll have a dozen technologies that need to be developed to make their project happen, all of which have practical applications beyond their experiment. If they don't they'll just be pushing for "same but larger" which is IMO a waste of resources. Because why shouldn't we be investing in the technology to do "Same but smaller" in that case so we can do more with less?

leeter··on The Metaphysics of Morrowind (2010)
100% one of the first things I'd do was make some shoes that had a permanent flight enchant... then use them extensively. Also learn the mark, recall, and the various intervention spells. Too much to carry? Mark, intervention, sell, recall, carry on.
leeter··on The true cost of linked lists
Operating systems where you need to be able to atomically insert or remove from a list. Because the links are just pointers and the memory can be managed after the swap you can use atomics to compare and swap pointers. This allows for the RCW mechanisms the linux and NT kernels depend on to work.

This also technically applies to lockless data structures for some high performance code too. But those tend to be much much more tightly tuned for performance and the specific CPU they are intended to run on.

leeter··on I employed a California resident, so now I’m subject to its regulations
It's not, it's generally the line for a specific state to care. We've had consultants at my current employer who have to figure out exactly how many days they've spent in Arkansas because Arkansas wants income taxes for the days they worked in state. Technically even one day working in Arkansas triggers this... to the point we've had people refuse to work on that client because it seriously complicated their taxes.
leeter··on 86Box: Why Not Pentium III?
That might even be ideal insofar as the chipset is driver compatible with equivalent from the time. Via wasn't anything special but they were super common and thus decently supported IIRC.
← PreviousPage 5 of 13Next →