HNHacker News
TopNewBestAskShowJobs

aaviator42

289 karma · joined October 13, 2021

submissionscomments
aaviator42··on Keychron announces first open-source firmware for gaming mice
When doing image editing and text copy editing, I find it very handy to have mouse thumb buttons mapped to copy / paste / cut / undo / redo / delete / shift / ctrl. Allows me to do a lot more with my mouse when I'm using it anyway to do stuff, without having to switch back and forth repeatedly with my keyboard.
aaviator42··on Modern SQLite: Features You Didn't Know It Had
We use SQLite IMMEDIATE transactions, which lock files for writes for a few milliseconds while commiting data to the file. This is not a problem in practice until you reach more than dozens of concurrent writers. StorX configures a default busy timeout of 1.5s, but it can be configured as per your needs. You can also get a lot more out of it by being smart about how you spread your data over DB files (eg: one file per user instead of one for multiple/all users), and also by considering when you call openFile() and closeFile() (eg: keep write transactions short, don't leave a file handler open while running long calculations).
aaviator42··on Modern SQLite: Features You Didn't Know It Had
SQLite is insanely robust. I have developed websites serving hundreds of thousands of daily users where the storage layer is entirely handle by SQLite, via an abstraction layer I built that gives you a handy key-value interface so I don't have to craft queries when I just need data storage/retrieval: https://github.com/aaviator42/StorX
aaviator42··on Vercel's CEO offers to cover expenses of 'Jmail'
I'm not the first to point this out but the website in question, which is mostly static, could easily be hosted on a VPS for at most a couple hundred dollars a month.
aaviator42··on You can make up HTML tags
I used this to implement <yes-script>, the opposite of <noscript>, to be able to designate sections of a page to be hidden if JS was disabled. You can of course do the same thing with classes, but custom tags are fun.

https://github.com/aaviator42/yes-script

aaviator42··on Nicu's test website made with SVG (2007)
Anyone have knowledge on how accessible SVGs are for folks who use assistive technologies?
aaviator42··on EPA Seeks to Eliminate Critical PFAS Drinking Water Protections
Countless lives over the next decades are going to be lost due to decisions being made by this administration. Deaths and illnesses that otherwise would have prevented using existing frameworks and systems had they not been destroyed.
aaviator42··on Fraudulent Publishing in the Mathematical Sciences
The money doesn't go to the researchers.
aaviator42··on Using Claude Code SDK to reduce E2E test time

    think / think hard / think harder / ultrathink 
These are all valid claude commands/tokens to enhance its "thinking" abilities.
aaviator42··on Tell HN: My advice after I applied to 450 positions before getting hired
How do you go about finding a recruiter? (for technical roles like system engineers)
aaviator42··on The Size of Adobe Reader Installers Through the Years
The lack of awareness is that the vast majority of users are not aware of and don't use scoop (or probably any package manager) on Windows, especially to install GUI apps, and that doesn't automatically make them "not sane".
aaviator42··on My ZIP isn't your ZIP: Identifying and exploiting semantic gaps between parsers
It significantly increases the attack surfaces of bugs that do exist in the parser if the same implementation is used everywhere.
aaviator42··on My ZIP isn't your ZIP: Identifying and exploiting semantic gaps between parsers
A good point! Conformance tests seem like a great idea to me to go along with specs.
aaviator42··on My ZIP isn't your ZIP: Identifying and exploiting semantic gaps between parsers
An argument for a better defined file format specification perhaps, but I don't think it's necessarily a good thing for everyone to use or have to use the same implementation.
aaviator42··on Fastmail breaks UI in production
I thought apple didn't allow this?

Edit: apparently "hybrid apps" using webviews are allowed as long as they're not "thin wrappers" for websites and provide meaningful functionality. See also: the capacitor framework.

aaviator42··on Linux on Snapdragon X Elite: Linaro and Tuxedo Pave the Way for ARM64 Laptops
With a Linux distro on it?
aaviator42··on Why not to use iframes for embedded dashboards
I think iframes are pretty darn handy and it's really not that hard to leverage their strengths in a secure manner.
aaviator42··on Westbrook police say they mistakenly posted AI-generated drug seizure photo
We're very close to the point where no one is going to be able to make out what is an AI image and what is not and it's already fucking up a lot of stuff and it's going to get much worse.
aaviator42··on TikTok is being flooded with racist AI videos generated by Google's Veo 3
I really miss the time before generative images and video were a thing. We opened such a can of worms. Really seems like a "the scientists were so occupied with if they could they didn't stop to think if they should" situation. What is the actual utility of these tools again beyond putting artists out of work?
aaviator42··on Show HN: A color name API that maps hex to the closest human-readable name
Those who find this interesting may find my tool helpful, a color picker that only has named HTML colors: https://aavi.xyz/proj/colors
aaviator42··on I'm 16 and Trying to Save Coral Reefs with Open-Source Symbiotic Biotech
The medium article is also 404
aaviator42··on I'm 16 and Trying to Save Coral Reefs with Open-Source Symbiotic Biotech
Hey, it's cool that you care so much about coral reefs and climate change — that kind of awareness is really important.

A lot of us care about climate change and coral reefs and the planet. The problem is that the biggest damage is often caused by large systems — like industries and governments — that prioritize profit over the planet. Even when regular people try to make eco-friendly choices, it’s really hard to make a big difference alone when the rules and incentives still let pollution and destruction keep happening on a huge scale. That’s why we also need collective action, policy changes, and accountability at the top.

Your voice matters though, and speaking up like you are is part of how change starts. Keep going. But keep in mind that people problems cannot be solved by technology alone. Even if you are able to develop technology to help coral reefs survive, you need massive funding and buy-in from various people and orgs with power to implement it in practice. That's way harder than coming up with the tech.

Also, food for thought: should we really be trying to genetically modify other organisms to be compatible with pollution or should we be reducing pollution in the first place?

aaviator42··on If you are useful, it doesn't mean you are valued
I'm sorry to hear that, and hope you're able to figure out something sustainable soon.

To other readers: don't quit your job until you have a new source of income locked in!

aaviator42··on Ask HN: Anyone making a living from a paid API?
On the same topic: does anyone have an API concept that they wish existed and that they'd be willing to pay for?
aaviator42··on `This Printer company served you malware for months, called them false positives
> Opensource printer stack is a legacy mess.

I don't necessarily disagree, but isn't this because of extremely bad firm/soft/hardware design by the printer companies that then have to be supported by the open source stack?

aaviator42··on Accountability Sinks
The link you shared is to this thread
aaviator42··on GitDroid: A third party Android app manager for apps uploaded to GitHub releases
In what ways?
aaviator42··on Is AI the new research scientist? Not so, according to a human-led study
I was thinking last night. Shouldn't software we make help people instead of replacing them? Why must innovation be in the direction of and at the cost of replacing humans?
aaviator42··on Database management in a single PHP file
Yep! I'm glad you like it! :)
aaviator42··on Database management in a single PHP file
In the same vein, I have a single-file library which allows you to use flat files as key-value DBs. Uses SQLite under the hood. Sharing in case someone finds it useful: https://github.com/aaviator42/storx
Page 1 of 3Next →