HNHacker News
TopNewBestAskShowJobs

Mogzol

644 karma · joined April 20, 2016

submissionscomments
Mogzol··on Four-year wedding crasher mystery solved
This is a weird comment to make when the original comment didn't mention anxiety at all, and wasn't even worded like it was a bad experience or that they felt they were forced to stay there. Maybe they had nothing better to do, they were waiting out the rain after all.
Mogzol··on The HackberryPi CM5 handheld computer
Yes. I tried to find a good video showing it, this one from the same creator shows it being used as a mouse and you can see it works pretty well: https://www.youtube.com/watch?v=568L-P2tBwc
Mogzol··on A new experimental Go API for JSON
Isn't that what the new 'omitzero' option is for?

https://pkg.go.dev/github.com/go-json-experiment/json#exampl...

Mogzol··on NPM debug and chalk packages compromised
They wouldn't have manually typed the exact URL from the email, they would have just typed in npmjs.com which would ensure they ended up on the real NPM site. Or even if they did type out the exact URL from the email, it would have made them much more likely to notice that it was not the real NPM URL.
Mogzol··on Anna's Archive: An Update from the Team
There's "431 Request Header Fields Too Large" which you will see occasionally. But after that 451 is the only other 400-level error code above 429. It was chosen as a reference to the book Fahrenheit 451.
Mogzol··on Wikipedia loses challenge against Online Safety Act
451 is such a good reference though, other codes just wouldn't be the same :(
Mogzol··on Wikipedia loses challenge against Online Safety Act
You can return a 451 error with a descriptive page, same as how sites have custom 404 pages
Mogzol··on Performance and telemetry analysis of Trae IDE, ByteDance's VSCode fork
Yeah, I think it's pretty stupid, especially considering the F91-W is one of the most common and best selling watches in the world.
Mogzol··on Performance and telemetry analysis of Trae IDE, ByteDance's VSCode fork
The F-91W has long been associated with terrorism for it's use in improvised time-bombs: https://en.wikipedia.org/wiki/Casio_F-91W#Usage_in_terrorism
Mogzol··on Android Earthquake Alerts: A global system for early warning
I would assume the detections would need to come from a larger area than that to trigger it, like city sized.
Mogzol··on Xfinity using WiFi signals in your house to detect motion
Nobody is arguing against that. I fully agree that most people don't. The point was only that you can.
Mogzol··on Xfinity using WiFi signals in your house to detect motion
Yes, but you can replace that with your own unit they don't have control over.
Mogzol··on Xfinity using WiFi signals in your house to detect motion
Sure, but you still can use your own hardware if you choose to. And that's all that the original comment you replied to was saying. If you choose to use your own hardware, then Comcast won't have control over it and cannot do this wifi motion detection.

Of course, most people won't do this, but that's besides the point.

Mogzol··on Google is building its own DeX: First look at Android's Desktop Mode
They're talking about MTP, which is supported by every modern (and old) Android device AFAIK. It's not exactly a USB Mass Storage device, but as long as you're not on a Mac, it behaves basically the same as one.
Mogzol··on Find the Odd Disk
The first line on the page says

> Click the disk that's a different color. Use your eyes only!

Inspecting the color is cheating.

Mogzol··on You might not need WebSockets
And even if you are using a "regular" video format like mp4, browsers will still use range requests [1] to fetch chunks of the file in separate requests, assuming the server supports it (which most do).

[1] https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/Ran...

Mogzol··on Blue95: a desktop for your childhood home's computer room
I used winaero tweaker [1] to disable web search, the search is infinitely better now.

You can do the same tweak by editing the registry [2] if you don't want to download an app for it (though the app includes a lot of additional useful tweaks).

[1] https://winaerotweaker.com/

[2] https://www.tomshardware.com/how-to/disable-windows-web-sear...

Mogzol··on GIMP 3.0
No generation was raised like the previous one ever in history
Mogzol··on Idiomatic Go (2016)
So a public variable error should follow different naming conventions then a local variable? That doesn't seem right, the go wiki says you should use the 'err' prefix for both (capitalized for public variables though, obviously)

And I'm only asking about when you are giving an error a distinct name, not just naming it 'err'.

Mogzol··on Idiomatic Go (2016)
The link in the "Error variable naming" section seems to directly contradict what the section says.

The link (https://go.dev/talks/2014/names.slide#14) says:

  Error values should be of the form ErrFoo:
  
  var ErrFormat = errors.New("image: unknown format")
But the page says:

  // But if you want to give it a longer name, use "somethingError".
  var specificError error
  result, specificError = doSpecificThing()
And also says:

  Don't do this:
  [...]
  var errSpecific error
  result, errSpecific = doSpecificThing()
So should error variables written like `errSpecific` or `specificError`? The go wiki says they should be written starting with `err`: https://go.dev/wiki/Errors#naming
Mogzol··on Windows NT for GameCube/Wii
It blows my mind that somebody would get an answer from ChatGPT and post it here as a fact without doing the bare minimum to verify that it is actually true. It's insane, thanks for correcting them.
Mogzol··on Taking a $15 Casio F91W 5km underwater
I think it would have been interesting to send two down, one oil-filled and one not and see at what depths they break (or don't). The watches are cheap enough that destroying one isn't much of a loss.
Mogzol··on Using eSIMs with devices that only have a physical SIM slot via a 9eSIM SIM car
I use an esim.me card in my phone and once you program the card with the esim.me app, it shows up as a normal physical sim card on the phone with whatever plan the esim was for. I believe you can even move it to another device and it will still show up with the same plan, though I haven't tried that.

The only issue I've had with it is that some esim provider apps refuse to work on a phone that doesn't have esim capabilities, and since the phone sees the card as a normal sim card, the apps don't work. I assume that will be an issue for any of these cards. Not a huge issue though, most esim apps/websites will still let you get the QR code or download the profile even if your phone doesn't natively support esim, and you just enter that into the esim.me app to program the card.

Mogzol··on React 19
It's just an example async call, it could be anything. It's not the important part of that code example, it's only purpose is to show that an async call is happening. It could be written as a try/catch, or it could be written how they wrote it. I guess they chose that way because it's short and to the point.
Mogzol··on Facebook's Little Red Book
I think it is meant to be a generic phone, the edges and front camera are wrong for an iphone, but then the home button is very distinctly an iphone. It is weird.
Mogzol··on “Bad Apple” in Minecraft
True, I think it's more accurate to say that the video can be shown in only black & white while still remaining mostly true to the original content, which isn't the case for most videos. So you can play bad apple on two-color display and still easily be able to recognize it as bad apple, which definitely contributes to its "hello world for video" status.
Mogzol··on Microsoft donates the Mono Project to the Wine team
I doubt it is due to legal concerns if Ubuntu, Fedora, and FreeBSD are all distributing their own builds.
Mogzol··on Shell.how: Explain Shell Commands
Pretty cool, though seems very similar to explainshell.com.

Also noticed that it breaks with single quotes, for example, this works:

    curl -H "Some-Header: value" http://example.com
But this causes it to error:

    curl -H 'Some-Header: value' http://example.com
Mogzol··on Windows recovery environment and bootable USB creator in 200kb
Speaking of large batch files, if anyone has ever softmodded a Wii, there is a good chance you used ModMii, which is by far the largest batch program I've seen. The main script [1] is a batch file that clocks in at over a megabyte. I used to be pretty into the Wii modding scene and remember talking with the author of that script about random batch things a few times. I can't imagine maintaining a file that big.

[1] https://github.com/modmii/modmii.github.io/blob/master/Suppo...

Mogzol··on Kawaii – A Keychain-Sized Nintendo Wii
The point of this project is more about squeezing the Wii into the smallest possible footprint rather than making it convenient to use. If you wanted something similar with ports integrated though, check out the GC Nano (which despite looking like a Gamecube has Wii internals), or Short Stack.

GC Nano: https://bitbuilt.net/forums/index.php?threads/gc-nano-the-wo...

Short Stack: https://bitbuilt.net/forums/index.php?threads/short-stack-th...

← PreviousPage 3 of 6Next →