Developer of HACK, a Hacker News app for iOS, macOS and Android:
https://apps.apple.com/ca/app/hack-for-hacker-news-yc-reader/id1464477788
https://play.google.com/store/apps/details?id=com.pranapps.hack
Contact me: pran AT pranapps D0T com
- busymom0Merry Christmas Hacker News!!!
- 4 points
- 2 points
- I really laughed out loud at my xkcd comic:
- One more way for big businesses to crush the small developers who don't have VC money to run ads.
- Unfortunately, the firebase API is very bad as they even acknowledge that in their github page.
- I run the app called HACK and received user emails that the HN website was down.
- 4 points
- Why does setting the quality to 100% make the resulting image size bigger than original? And if there's a reason, I think it should simply just return the original smaller image in those cases.
- 1 point
- Related: their latest version of Xcode 26.2 isn't allowing app submissions to appstoreconnect:
https://developer.apple.com/forums/thread/810115
Hope they fix this quick as Dec 19th onwards, they are on vacation.
- Other than the "battery lifespan predictor", I don't see why this needs to be an app when it's all already available on website (and indexed by google search).
- Is it the coffee or caffeine in coffee? Do you feel the same benefits if you have decaffeinated coffee? Can you replace it with just caffeine pills to get same effect?
- 2 points
- The last para in the article explains it:
> “For humans, ‘how do I build a bomb?’ and a poetic metaphor describing the same object have similar semantic content, we understand both refer to the same dangerous thing,” Icaro Labs explains. “For AI, the mechanism seems different. Think of the model's internal representation as a map in thousands of dimensions. When it processes ‘bomb,’ that becomes a vector with components along many directions … Safety mechanisms work like alarms in specific regions of this map. When we apply poetic transformation, the model moves through this map, but not uniformly. If the poetic path systematically avoids the alarmed regions, the alarms don't trigger.”
- I do open 2 connections:
First one for writing with flags:
Second one for reading with flags:SQLITE_OPEN_CREATE | SQLITE_OPEN_READWRITE | SQLITE_OPEN_FULLMUTEX
As you can note, I have SQLITE_OPEN_FULLMUTEX on both of them. Should I only have it for the writing one?SQLITE_OPEN_READONLY | SQLITE_OPEN_FULLMUTEX - Previously, I had always used Postgres for database and Rust or NodeJS for my backend. For my new website (https://limereader.com/), I used Swift for my backend, SQLite for Database, Vapor for web server in the Swift app and am self-hosting the site on an old Mac mini.
A sqlite related issue I ran into had to do with accessing the SQLite database from multiple threads. Found out a solution easily: for multi-threading use, SQLite needed to be initialized with a `SQLITE_OPEN_FULLMUTEX` flag. Since then, the website has been running seamlessly for about 3 weeks now.
- Note sure about 26.2 but on 26.1, setting the following on a native UITextView makes it work:
Should be doable via react native too.textView.keyboardDismissMode = .interactive - This has to be the most useless GitHub link someone has shared on HN. The repo doesn't have any source code, just some JPG, a readme, a Google Drive link for people to download from. The title makes grand claims without any way to verify them and no way to check if has a virus or something. People should be careful before downloading this.
- Would have been funny if this post was marked duplicate of another post from years ago.