News for hackers. Stuff that matters.

divingdragon

Re:EMudhra Intermediate CA Compromise on Tuesday October 20, 2026 @01:05PM (#50169427)
It's very inconsistent for me even on just Firefox. On multiple systems running different instances of Firefox, checking with https://emudhra.we-have-a-problem.com/:

One blocks everything; one blocks 6 out of 12; one blocks the other 6 out of 12; one blocks nothing.

Really, as an East Asian language user the rest of the comments here make me want to scream.
Re:Museum of Plugs and Sockets on Friday February 27, 2026 @05:59AM (#47179081)
UK ring circuits are typically protected by 30A or 32A circuit breakers.
Re:uBlock filter list to hide all YouTube Shorts on Sunday February 15, 2026 @03:10AM (#47021942)
I use the rule

    ||youtube.com/shorts/*$uritransform=/shorts\/(.*)/watch\/\$1/`
in uBlock Origin.

(Except that it doesn't work if you click on a short from YouTube's interface - it loads with JavaScript which bypasses the redirection.)

Re:Nintendo Switch 2 Dock USB-C Compatibility on Monday September 01, 2025 @05:31AM (#45091067)
> They did this to micro sd cards on the first switch.

What do you mean? From what I know it was bog-standard microSD(HC/XC) with the maximum supported speed being UHS-I with nothing proprietary.

Re:SimSig: Railway Signalling Simulations on Wednesday July 10, 2024 @02:37PM (#40929960)
> Crashes would be avoided by having every train know about the train ahead and behind, and unable to make any move which would cause a collision (ie. it is not allowed to slam the brakes on if there is a train right behind you).

You are assuming that a train will never have to suddenly stop. This will never fly in the real world. Even if you consider a completely closed railway system with no possibility of external obstructions, there are many kinds of failure that would cause modern trains to apply emergency breaks due to fail-safe designs.

If you remove the bit about not allowing to slam on the breaks, then you just described SelTrac. Even the first version used on the Vancouver SkyTrain (opened in the 80s) is capable of running trains closer than braking distance from what I remember reading. I don't believe it is actually enabled on many SelTrac systems though, because you still need to have safety margins. There is always the possibility that the train in front may decelerate at a rate higher than its emergency braking rate, like if it derailed or collided with external obstructions.

Re:TOTP Authenticator for PalmOS on Tuesday May 07, 2024 @04:35AM (#40283516)
There is an official way to completely disable and remove Computrace (which I did on my T480), but I don't remember anything that allowed removing ME.
Re:Are We Modules Yet? on Wednesday May 01, 2024 @01:11PM (#40226169)
Qt 5.15 at this point has been out for 4 years, already out of "normal" commercial LTS and will reach the end of extended commercial LTS next year. They don't have any incentive to do this kind of change.
Re:Regex character "$" doesn't mean "end-of-string" on Wednesday March 20, 2024 @06:33AM (#39764722)
> Even CMD.EXE batch files support LF.

I don't know if it is the case on Windows 11, but I have surely been bitten by CMD batch files using LF line endings. I don't remember the exact issue but it may have been the one bug affecting labels. [1]

[1]: https://www.dostips.com/forum/viewtopic.php?t=8988#p58888

I do this all the time.

Every once in a while, navigating with the keyboard in Explorer will cause the window thread to hang up in a busy loop and I have to kill it. I have no idea if this is an Explorer bug or caused by other stuff.

Re:The Threat on Your Desk: Building an Evil USB-C Dock on Sunday March 12, 2023 @11:13AM (#35120970)
On Linux you can use `lsusb` to get a cleaner list of all connected USB devices.
Re:Connecting a 1980s Pinball Machine to the Internet on Wednesday February 22, 2023 @01:13PM (#34900063)
You can try KiCad.
Re:MGL – OpenGL 4.6 on Metal on Saturday October 29, 2022 @08:32AM (#33383491)
How does this compare to ANGLE or the MetalANGLE fork, assuming I have some renderer code that already works on both OpenGL 3.2 core profile and OpenGL ES 3.0? (We are already using ANGLE on Windows with the D3D11 backend and might consider using something similar to stop relying on the "deprecated" native OpenGL implementation on macOS.)
Re:The Poor ROI of Autonomy (2020) on Thursday July 28, 2022 @04:49AM (#32261861)
Railway is a different problem space than road vehicles. Trains run on fixed tracks, has long braking distance, are much heavier, and accidents can be much more devastating. While self-driving cars may use cameras, lidar and radar for detection and brake on sight, trains need to know exactly how far they are allowed to go and what speed restrictions are ahead in order to brake in time.

Traditional lineside signals and signs do give enough information to drive a train by a computer, but the rail industry has already chosen decades ago to integrate signalling and automation with the infrastructure, which is a completely different approach than today's self-driving cars. As a result, heavy rail and metro trains will not be "self-driving" in the same way as self-driving cars.

Now, if you say trams that run on streets, then possibly. Trams are often driven by sight and has stronger braking so it is possible to apply the same principles from self-driving cars. In fact, Siemens has been developing and testing one such tram. [1] Though I think the problem space is very similar to self-driving cars. There is no steering, but it still has to handle pedestrians and other road traffic.

[1]: https://www.mobility.siemens.com/global/en/portfolio/rail/ro...

Re:The Brilliance of “nil” in Objective-C on Friday April 29, 2022 @05:26AM (#31203145)
I would rather have my program hard crash on unexpected null than to have it silently ignore potential logic errors. I have never used a language with nil punning, but to me Option<T> still feels to be the best approach.
I am failing to see (1). It seems when you drop a file into the help viewer window, it is handled by the help viewer itself. You can try it with a random file. It either displays the file inside the help viewer as an HTML file, or a Internet Explorer-like download dialog shows up.
The PoC video showed that the current user isn't in the "Administrator" group (though there is another user "zeroday" in there), which makes it look like not a simple UAC bypass. Or perhaps I misunderstood something.
It seems that 7-zip opens the .chm help file using the HtmlHelp [1] WinAPI call. This API call does not even seem to run `hh.exe`. How does this privilege escalation actually work?

[1]: https://docs.microsoft.com/en-us/windows/win32/api/htmlhelp/...

Re:The end of the nice GTK button on Friday March 25, 2022 @02:00PM (#30805297)
> The fix might be a new API that reveals true coordinates…

We already have this with `ResizeObserver` using the `device-pixel-content-box` option. [1]

[1]: https://developer.mozilla.org/en-US/docs/Web/API/ResizeObser...

Re:What's the most efficient language? on Sunday January 23, 2022 @03:56PM (#30050360)
> This was a surprising one to me. Simplified Chinese was expectedly more efficient than Traditional Chinese, but both were beaten out by Cantonese (which also uses traditional characters).

My first reaction to this is: "What? Cantonese?" I just knew something is wrong.

So I checked the data and immediately see the issue. `yue_Hant_HK` ("Cantonese"), `zh_Hant_HK` (Chinese, Hong Kong) and `zh_Hant_MO` (Chinese, Macau) all uses the same text, while `zh_Hant` (Traditional Chinese) and `zh_Hant_TW` (Chinese, Taiwan) uses a different text.

As it turns out, there is no Cantonese, just plain written Chinese (書面語, written language as we would call it). Both Hong Kong and Taiwan use the Traditional Chinese script, but the two don't exactly use the same vocabularies due to regional differences. For example, the term "privacy" is "私隱" in Hong Kong, but "隱私" in Taiwan. This is why there exists two versions of Traditional Chinese translations of the same text. Since they are likely done by different people (assuming they are not machine translations) they have different translation styles, which contributes to the difference in length of the two paragraphs.

(Also, Cantonese can be written in Simplified Chinese, but that's all I will say regarding this topic.)

Re:Unicode Normalization Forms: When ö ≠ ö on Saturday January 01, 2022 @05:44AM (#29757268)
> Incidently, I saw Japanese text recently that was quoting both English AND Arabic in the same sentence. And this was in a block of vertical text. That is literally a worst-case scenario I think.

Look up Mongolian script and you might change your mind :)

Re:Krita 5.0 on Friday December 24, 2021 @12:26AM (#29670580)
May I tempt you to file a bug report on bugs.kde.org? I'm not sure if the devs even know about this bug, let alone fixing it.

Edit: Ah nevermind, I think I found the relevant report.

Re:But What's Up with That ¥? on Friday November 12, 2021 @09:19AM (#29199461)
Yes in theory, but in practice some Japanese fonts use the yen sign glyph for U+005C, the most common ones being those that come with Windows.
IIRC you still need to use a special flag to enable it, right?
My childhood LEGO sets might have stated 6+, but nothing stopped me from building them as a preschooler :)
Re:C++ Constructors, Memory, and Lifetimes on Sunday May 02, 2021 @04:15PM (#27018625)
Isn't variable sized array non-standard in C++? Variable sized array is kind of a special thing anyway so I wouldn't be surprised if some compilers do something special with it.

Yes, the term "automatic storage" is more accurate here.

Re:Print Debugging Should Go Away on Tuesday April 27, 2021 @09:53AM (#26955823)
For embedded microcontrollers, I don't think there is anything to really replace print debugging. Especially when the program interacts with external electronics components.
Last time I used the built-in FTP client in Windows Explorer it was an awful experience (think it was Windows XP). It also does not support SFTP or SCP.
Re:Fire declared in OVH SBG2 datacentre building on Wednesday March 10, 2021 @09:27AM (#26411535)
I've heard that one. I thought it mostly affects refrigerants, but I didn't notice that FM200 is also an HFC. There are other fire suppression gasses with a low global warming potential, which probably can still be used in the future.

Older »