HNHacker News
TopNewBestAskShowJobs

KMnO4

3,982 karma · joined October 17, 2019

submissionscomments
KMnO4··on Google releases smart watch for kids
The $10/mo subscription is the data plan.
KMnO4··on Taming floating-point sums
A lot of hardware has built in RNGs, but even using a software algorithm (eg Xorshift) is extremely inexpensive.

Also, sometimes you’re not limited by processing speed, but by the destination data structure (eg quantized to integers).

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

KMnO4··on Index of /files/audio/Boot Sounds/ (2019)
My favourite (not included in this list) was the old Ubuntu startup sound.

https://youtube.com/watch?v=CQaEXZ-df6Y

KMnO4··on How to fix bugs in 24 hours or less
Why optimize for this? Some of the worst jobs I’ve had were the ones where a PM would say “drop whatever sprint items you’re working on and immediately context switch to this bug”. Sounds like this is their regular day? And what happens if a bug comes in Friday @ 4pm?
KMnO4··on California says restaurants must bake all of their add-on fees into menu prices
You’re not wrong. We don’t even having a “serving wage” in Ontario; all waitstaff make at least minimum wage ($16.55).

But we follow America to a tee with this sorta thing, and you’re some sort of heathen if you don’t pay at least 20% extra for the privilege of eating out.

KMnO4··on Popover API
That’s like asking if you can turn off <form>s. Not sure why you’d want to. It’s a perfectly reasonable component that doesn’t need to be abused for ads.
KMnO4··on Using AirPods as a Morse Transmitter
> more general purpose

Just how general purpose is it these days? I learned it for amateur radio (a couple years ago), which is probably the only “common” place to use Morse. And even there it’s all but dead

KMnO4··on Show HN: Open Source TailwindCSS UI Components
Yikes, that’s some bad code. What’s the point of using tailwind if half the elements have their own custom CSS classes attached?
KMnO4··on New iOS 17.5 Beta Lets EU iPhone Users Download Apps Directly from Websites
I think you’ll be able to soon, even without sideloading. As per a recent Macrumours article:

> Notably, Apple confirmed to us that emulators on the App Store are permitted to load ROMs downloaded from the web, so long as the app is emulating retro console games only. Apple also said it had approved iGBA’s functionality, before learning that it was a knockoff app, suggesting that Game Boy emulation is permitted on the App Store, but the company has yet to share any other examples of retro game consoles.

https://www.macrumors.com/2024/04/15/apple-removes-igba-from...

KMnO4··on JetMoE: Reaching LLaMA2 performance with 0.1M dollars
Why is this the case? Even AWS internal pays the same AWS prices as everyone else
KMnO4··on Washington's Lottery forced to pull site after creating AI porn of lotto user
I also noticed that. I almost laughed at the absurdity.

“How do you feel that softcore porn of you was created and hosted on this website?”

“The part that annoys me is that the the government had the audacity to do this with MY money”

KMnO4··on Ask HN: Has Anyone Trained a personal LLM using their personal notes?
Maybe not exactly what you’re asking, but I started doing talk therapy last year. It’s done virtually and I record the session with OBS. As soon as the recording finishes, the following happens:

- The audio is preprocessed (chunked) and sent to Whisper to generate a transcript

- The transcript is sent to GPT-4 to generate a summary, action items, concepts introduced with additional information

- The next meeting’s date/time is added to my calendar

- A chatbot is created that allows me to chat with each session, including playing the role as the therapist and continuing the conversation (with the entire context of what I actually talked about)

It’s been exceedingly helpful to be able to review all my therapy sessions this way.

KMnO4··on GCC 14 Boasts Nice ASCII Art for Visualizing Buffer Overflows
ASCII Art refers to the style of the art.

Similar to “8-bit” art (which may be in a 24-bit colour space)

KMnO4··on The Bulma CSS framework reaches 1.0
Of that list, the only ones I’ve ever seen in practice are i18n, a11y, l10n, and k8s.

Three of those are (ironically) related to making content legible to everyone.

KMnO4··on First beta of Nintendo Switch emulator Suyu goes live
Reminds me of the Mac OS 7 sound “Sosumi” (so sue me!)

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

KMnO4··on First beta of Nintendo Switch emulator Suyu goes live
You can usually circumvent that by right clicking (or control clicking) and pressing open. There will now be a button that says “open anyway”.
KMnO4··on Regex character "$" doesn't mean "end-of-string"
I take the descriptivist approach to email validation, rather than the prescriptivist.

I know an email has to have a domain name after the @ so I know where to send it.

I also know it has to have something before the @ so the domain’s email server knows how to handle it.

But do I care if the email server is supports sub addresses, characters outside of the commonly supported range (eg quotation marks and spaces), or even characters which aren’t part of the RFC? I do not.

If the user gives me that email, I’ll trust them. Worst case they won’t receive the verification email and will need to double check it. But it’s a lot better than those websites who try to tell me my email is invalid because their regex is too picky.

KMnO4··on Spreadsheets are all you need
I'm impressed by your investment into this. That's already a couple hundreds dollars (per year) on just the domains.
KMnO4··on gh-116167: Allow disabling the GIL
I could be wrong, but I think it’s a clever alternative to the expression “best thing since sliced bread”.
KMnO4··on Meta outage
Heh, as soon as I saw Instagram failing to load, I immediately assumed it was Roger’s fault. They just suck when it comes to reliability and Instagram has a much better track record.
KMnO4··on Ask HN: Is Vim Dead?
Probably. NeoVim started off as a peaceful project: “Hey Bram, mind if we refactor the code a little bit to make it more maintainable, and add async to the slow things?”

And Bram fervently rejected that, so Vim was forked. At this point, why would anyone want to maintain Vim?

KMnO4··on Facial recognition error message on vending machine sparks concern at university
There’s an implied consent. I know that creating a Gmail account means that Google has access to all my emails. By using Gmail, I’m relatively aware that they’re building an ad profile on me, and I implicitly consent to that.

But if I found out they’re collecting the bloodwork pdfs my doctor sends and selling them to insurance companies, that would be objectively beyond any reasonable consent.

If you’re selling me M&Ms, I have a very very low tolerance for what I consider appropriate data collection.

KMnO4··on You-Dont-Need-JavaScript: CSS Only HTML Components
I was under the impression this entire thing is tongue-in-cheek. Why would anyone write 800 lines of CSS to avoid a couple lines of JS?
KMnO4··on Apple Vision Nope: Why I returned mine
I genuinely think Apple wanted this to be relatively unpalatable to the typical consumer. They want to build something to prove their tech is the future, but don’t actually want anyone to buy this iteration.

Why? Because they need developers to make worthwhile apps. Yes, the original iPhone shipped without an App Store, but it could also do regular phone stuff (calls, sms, etc). What’s the “regular” stuff you’d expect to do on a VR headset? Other than watch movies on a big screen, there’s currently very little reason to own one, and encouraging everyone’s mom to buy one is setting them up for failure.

Give it a couple years for there to be some really groundbreaking apps, and Apple will open the floodgates with a cheaper/more ergonomic version.

KMnO4··on Cloudflare defeats patent troll Sable at trial
Appeal to emotion. Taxes go towards all publicly funded projects, but it’s easier to convince people that a new tax is a good thing when it goes towards these things that benefit everyone.
KMnO4··on How SSH port became 22 (2017)
I remember publishing some apps to the iOS App Store and was asked to “declare cryptography to the US government”. I’m not even American.

The form made it clear that using HTTPS is considered cryptography, so I’m fairly sure almost every app on the store has checked “yes” to that question.

KMnO4··on Zeiss's "Holocam" turns glass windows into cameras
The article is poorly written, as it only discusses the camera component. Strangely, they chose stock images of holographic and optical displays, but didn’t mention that even once.

The Zeiss site is a much better read:

https://www.zeiss.com/corporate/en/about-zeiss/present/newsr...

In summary:

1) ZEISS unveils holographic Smart Glass at CES 2024, both for displays/projection/filtering, but also another component which is a holographic camera

2) The holocam works by utilizing coupling, decoupling, and light guiding elements to redirect incident light to a concealed sensor, eliminating the need for visible cutouts or installation spaces in visible areas.

3) ZEISS doesn’t plan to be manufacturer, so other companies can use the tech

KMnO4··on 9 years of Apple text editor solo dev
That experiment was done in 2015, when the Swift runtime had to be included. If you build an app now, it will link to the system runtime and be close to 100kb as well.

This seems to be premature optimization. The author forced himself to learn archaic Objective C for a completely unnecessary reason, and now is stuck with that design choice despite not having any benefits.

KMnO4··on ScummVM on the App Store
iSH has compiled the binaries for arm64 so they actually run natively. When they do a syscall to malloc they are actually doing a syscall to malloc.

iDOS is interpreting the bytecode and wrapping the unavailable things with its own implementation. When a DOS application runs malloc, the memory is assigned by iDOS instead.

I’m not saying Apple is consistent, but your example doesn’t show that well.

KMnO4··on Don't Say Velcro (2017)
You lose the right to defend your trademark if you don't make an effort to defend your trademark.

If 3M comes out with their own hook-and-loop fastener and calls it "3M Velcro", the court would say "you can't sue 3M over this since you clearly don't care when people say Velcro". This whole video is just to establish precedent.

← PreviousPage 4 of 30Next →