skysight-inc/HackerNews huggingface dataset:
Ask HN: Way to convert native UI code into WebViews for PMs to edit?
For context, I'm working on a mobile app with a few friends. So far it's going well, and one of them is a non-technical "growth" type of person and wants to make a lot of changes on a few specific parts of the app (like the paywall screens, and some of the onboarding messages) to help us make money.

Right now I'm using SwiftUI for all of these, but I'm wondering

- Is there a way for me to convert some of these views into WebViews so that the PM can edit/experiment on stuff as they see fit? This seems like it'd give me more visual control but it would be annoying to migrate code into webviews and then test it on diff device types/resolutions/etc.

- Alternatively, should I just hook stuff up via Firebase or some CMS so they can config from there? This seems like it'd play nicer with a/b testing but maybe is more limiting in terms of how much stuff you can stick into a config blob.

I'm not really an expert on growth so not sure what the best approach is here. Any suggestions or tools to help with this problem are well appreciated.
This sounds like the good old "having high test coverage is bad because I can get to 100% just by calling functions and doing nothing, asserting nothing with them".

100% test coverage doesn't mean your tests are good, but having 50% (or pick your number) means they are bad / not sufficient.
I'm sure this tiny inconvenience can be taken care of with the help ofhttps://github.com/ostafen/viperdb or, if we want to stick to the juvenile innuendo, https://pythonhosted.org/pickleDB/
Their icon looks like fig.io but inverted
The Pinocchioverse
That's a fair point - it can vary a lot between groups and it can certainly relate to life stage / situation. Students and roommates are a large portion of the market for bill splitting apps. In my experience those groups tend to care more about splitting things accurately / fairly, perhaps as they have a more limited income
They're better for the environment.

They're better for the environment.

THEY'RE BETTER FOR THE ENVIRONMENT!

also.. they're less comfortable and less rider friendly than the old trains.. so if your goal is to get more people onto them you're probably going to fail.
Great composers were never "statistically represented in the workforce". Just like rock stars today are not. Yet they still exist, and have a positive impact on the life of many people.
What percent of the time do you have to drive your car?
Genetic analysis of Lyme bacteria could improve diagnosis and treatment
> A brand's worth is based on how many people know about it.

If that was true, people would be constantly trying to impersonate famous recent criminals you find on the news.
Show HN: Bullshit-detector – quickly detect amount of bullshit in any text
Hi, I have been reading marketing and business books recently and found plenty of them are filled with meaningless corporate jargon. These books could often be 1/3 of the original length and much more straightforward. I wrote a tiny library to calculate the amount of meaningless jargon in any text for myself, and open-sourced it later because someone may need this.
it absolutely doesn’t, the common reddit recommendation is to just get edifier r1280dbs and a sub, and you’ll outperform most soundbar systems that cost even 2x as much.
what? the article was literally about how they are more comfortable and they are more convenient because they accelerate and break better allowing more stops without taking longer.
Klor: Choreographies in Clojure
I just think these are the thoughts of old people.

The creative mediums of the day are tiktok videos and video games.

It is the same line of thought from back in the day that the electric guitar is just noise, people should play a "real" instrument like the clarinet!

Rap is just noise, they aren't even singing! People should play a "real" instrument like the electric guitar.

Tiktok is not art! I am talking "real" art like Marcel Duchamp or Andy Warhol's movie Sleep. No one is making REAL art like that anymore I tell ya.
Twitter-X Shareholders: Diddy, Jack Dorsey, Saudi Prince
files on archive.org: https://archive.org/details/linkers.-ian.-lance.-taylor
Which is why the term "atmosphere" is a misnomer.

There exist molecules is motion above the lunar surface. These molecules are too sparse to be solid or liquid. But also, too sparse to be gas.
> Convert is an important word there.

Yes, that's why it's misleading when the author is framing the important part as "electric train exists now" and not "electric train used to be non-electric". If one must nitpick, the biggest conversion west of the Mississippi River was probably the Milwaukee Road whose converted electrified main line dwarfed Caltrain's 51 miles: <https://en.wikipedia.org/wiki/Railroad_electrification_in_th...>

“The first division to be electrified was the Rocky Mountain Division from Harlowton, Montana to Avery, Idaho. This covered a distance of 438 miles (705 km) and began electric operation in 1917. The electrification remained in operation until 1974, when diesel locomotives took over.”

“The second division to be electrified was the Coast Division between Othello, Washington to Tacoma, and to Black River just south of Seattle. This covered a distance of 207 miles (333 km) and began electric operation in 1919. The electrification remained in operation until 1972, when diesel locomotives took over.”
Neat. Thank you!
As mentioned in another comment, support shouldn't be entirely disconnected.

If a customer seems to have discovered a legit bug in the software, there needs to be a path from support to engineering for the bug to get reported.

At the very least, support staff should be willing and able to attempt to recreate a bug that a user is reporting, rather than asking them to completely wipe their device and install everything from scratch for something that is easily reproduced.

Let's take a very simple example. Imagine you've got this Chess app, and whenever someone creates a checkmate involving two bishops, the game crashes, 100% of the time, but only in cases involving two bishops. Sure, maybe the first ticket you get, you go through the workflow of reinstalling, etc. But by the time you've got 100 tickets all saying their game crashed on a checkmate involving two bishops, that should have been escalated to engineering. At the very least, support should be saying it's a known issue. Honesty is going to be a lot less frustrating than to be told to take steps that both sides knows won't fix the issue.
As easy as it is to pick on Teenage Engineering you could say the same about tons of other instruments, pedals, etc. It’s just gear, if only talented musicians bought them then the market for such things would be tiny in comparison.
Yes, and that's common knowledge among most musicians nowadays. Sure, it's hard to be a musician -- amateur or professional -- and not also be an enthusiast. And I don't think very many violinists would turn down a chance to try a Strad, or at least hold it and look at it.

There's still an open question about whether the new fiddles are better, or that the old ones are deteriorating, or both.

Disclosure: Working double bassist. And don't get me started about bows. ;-)
U.S. Home Insurance Is a Big Problem
I don't think that's what the article is talking about: differences between perfect minor 7ths and equal-temperament ones. Rather, the tuner in question basically has already nailed the equal-temperament minor sevenths already (as far as you or I might think) and is just listening for beats among their harmonics now, so that when a run of parallel minor sevenths is played, the frequency of the beats among the harmonics rises in proportion to the frequency of the chord, like speeding up a recording.
So it seems there is a fate worse than death?
Probably a lot, but that's about what you'd expect with any popular musical instrument or device.
To me, that makes it all the more extraordinary when genuine protocol level changes - like EV cars - are made reality.

Not how I see them at all. They're just as incremental and actually overall a worse experience. The only "benefit" they have is their acceleration.

Everything is touchscreen in the cabin which is demonstrably worse. There's a persistent Internet connection sending all my data to a black hole where it will get used in ways I don't approve of.

If I want to fuck off for a weekend somewhere, I need to plan the getaway around places that have recharge ports. And when I do get there, I need to figure out what a "charging network" is, download the correct app for the charging network, fight with the fucking app/charging port to get my payment information where it needs to be and that the charging port recognizes my payment, and finally wait for several hours vs. a 5 minute (max) refueling stop with an ICE.

And these are just some of the problems I have with them. The core tech of EVs may be a big game-changer but everything else about the EV experience can fuck off in its current iteration.
> what we really need for SCOTUS is time limits and automatic replacements at intervals to take politics out of the process a little bit

Wouldn't the need for periodically choose replacements add politics instead?
https://github.com/rafo/aerc-vim

- Added image preview of attachments
Over 5,000. To this date, there's no good service for managing and marketing large portfolios. If somebody is interested, we can team up - I have some great ideas, extensive experience, and good branding.
https://news.ycombinator.com/item?id=41324757
I lived near an electric train in Orenco Station in Hillsboro Oregon. The noise, while quieter than diesel is still fatiguing and I think all housing within 1,000 feet should be required to use building materials that keep the interior noise below 60dba, like triple pane windows and acoustic seals on doors.

Once we left, it took weeks for our bodies to relax into the silence. It's not normal to have chronic noise like that and increased our stress. It shouldn't be legal to build buildings without noise protection in place.
I used BeOS as my main driver for about a year and a half, back in the day.

One thing that we take for granted now was it supported low-latency concurrency, so its user interface felt really, REALLY snappy. You could launch 4-5 different videos, in different windows all playing at once, and there was absolutely no jitter and lag. Unless you grew up with the user interfaces of the mid-90's (Windows 3.1/95, MacOS 7.6), you won't appreciate just how mind-boggling this was.

The other big feature that unfortunately hasn't been broadly adopted by other operating systems was the file system. I know this one pretty well because I actually wrote my own driver for it (as a high school's hobby project mind you, so probably extremely cringe if I saw the source code again). BeOS didn't have a hierarchical file system so much as a relational database with built-in support for showing nested relationships as folders, and support for multi-megabyte blob types for the actual file data. Emails, for example, were stored with each header value as a separate column in the email table. If you opened your folder of emails, you could sort by sender, time received, subject, etc. just from the finder window. Within the BeOS API, you could write complex joins on the filesystem, e.g. between your emails and your contact list (which was also stored as metadata IIRC).
In that case, maybe we need a new word to describe businesses that are entirely VC-subsidized , then IPO with their books deep in the red and then start enacting anti-consumer policies because they're "for-profit".
Far better is the book by the creator of the filesystem: http://www.nobius.org/dbg/practical-file-system-design.pdf
There are three passing points on the line, where trains can pass each other without interrupting opposite-direction traffic. From North to South, they are…

• Between 22nd Street & South San Francisco, with Bayshore accessible via the 'local' tracks only.

• Between Redwood City & Menlo Park.

• Between Sunnyvale & Santa Clara, with Lawrence accessible via the 'local' tracks only.

Today, the northernmost and southernmost passing points are used by the Limited or Baby Bullet services to overtake the Local services. The service being passed has the middle station (Bayshore or Lawrence) as a scheduled stop, and remains in the station until they observe either a clear signal, or until they observe the faster service passing.

The passing point between Redwood City & Menlo Park is mostly used when a service (any service) is running slow, to allow on-time services to overtake. This is especially important when the slow-running service is a Local.

Finally, there are crossovers placed frequently along the line, often every 2-3 stations. These are used most often when maintenance is being performed on one section of track, or if a train is disabled. They are not used during normal operations.
I think the most likely purpose of this is as a way to bribe or funnel money to Trump if he gets into the white house (or really, even if he doesn't). You'd expect the Saudis and Russian, etc, to invest.
If you force all links to be conceptually point to point, you probably make it harder to do some things. Already 1G and higher force full duplex, and 100base-TX full duplex is very common. I've still got a couple 10baseT half duplex devices though.

I have redundant internet/nat routers at home (overkill!), and they communicate amongst each other to decide which is active and which isn't, but either way, the active one ARPs for the router address with 00-00-5E-00-01-01 as the mac address. The rest of the network just sends off-network packets to 00-00-5E-00-01-01, and failover happens because switches figure out what port is currently using that address.

I share a different mac address for the upstream connection, which is PPPoE (sadly), but same deal --- when failover happens, the new computer starts using the address and everything figures it out, because stations are allowed to move to different ports by design.
Very right indeed, maybe then:

- GUI :: graphical UI, typically NOT easy to mold by the end users, mostly widget based UIs, as their main characteristic or the user of them is more a consumer than a producer of something;

- CLI :: a REPL, typically a terminal, but definitively not only that, their users enter commands, read responses as main characteristic;

- TUI :: a 2D UI (typically though it could probably be also a 3D and 4D one) easy to be mold by the end user, the user is both a producer and a consumer as their main characteristic. An WYSIWYG editor is a kind of TUI in that regard, an Emacs buffer is another since in both text can be entered somewhat freely and can became "active" like clickable links. The user read, or consume, but also write, or produce.

An ncurses UI should be TUI being text-based and 2D but still lack the user mold part so well... Still unsure how to classify the acronym...
The good news is that it's ALL misinformation so nothing has been lost or gained.
Nuclear? Nah. Bomb? Pretty much.

If it short circuits a cell, it will heat up. Once it reaches a critical temperature, it will start releasing it's stored energy in a self-sustaining reaction. (You need to dump water into it fast enough to carry away the heat faster than it can produce it.) You've now got a class D fire on your hands.

Hope you've planned ahead and stored that laptop in an ammo crate or other fire-safe container, because it's gonna be burning long and hot and releasing toxic smoke the whole time.

Low probability, high severity.
I wonder whether they've tried any of the optimising emitters in MicroPython:

https://docs.micropython.org/en/latest/reference/speed_pytho...
oh, thanks! i only knew the pc ones
It's worse than that. In many cases the consumer can't tell, but it still matters.

Take food, for example. If the tomato on your sandwich has fewer micronutrients than a different one, you may not be able to taste it, especially after the restaurant (or you) have slathered the sandwich with sauces full of salt and sugar and fat. So you want a chef you can trust who knows how to choose a tomato (and a farmer who knows how to grow one), whether you can taste the difference or not, or the result at scale is you end up deficient in various vitamins and minerals and can't figure out why you're tired all the time.
> 'Sides, I hear that Gmail is phasing out IMAP. :-?

Uh? Really?
When I asked ChatGPT about it, it also brought up interference as a potential culprit, but I'm not an expert on the topic to consider it or be confident enough to bring it up by myself. I'm not sure how well different materials are shielded from interference or how much effect can interference actually have on it.

What it specifically said is:

> High-quality USB cables often have better shielding, which helps to reduce electromagnetic interference (EMI). EMI can introduce noise or degrade audio quality, particularly in cars where multiple electronic devices are in close proximity.

But I don't know if this is the exact culprit.
Sorry, yes, typo.
How is their coverage not just a function of latitude in general?
https://drakon.su
Thank you. Appreciated!

Btw: In a job hunt situation I don't actually care about the company's HQ. All I care about is, do they have a facility/office in this country/city.
I wouldn't say there was nothing special about it, given the limitations at the time. Having threads spawn quickly, and quickly move between threads so fast as to have no visible user latency was one hell of a feat on BeOS hardware--a 66MHz PowerPC dual-CPU system, IIRC.

But yeah, it's something we take for granted today.
Your comment is so hilarious that I need some time to analyse its implications and think of a suitable reply.

Mañana.
Congrats! BTW, we found a few typos on the site that you might want to fix: https://triplechecker.com/s/yyNfc1/instantdb.com?v=wh8Jr
I was really hoping the end of Chevron deference might mean Caltrain might get to kill off horns and bells. Alas, I don't think so.

The optional noise (horns and bells, especially near the level crossings) is obscene and I don't know why we put up with it. Everywhere the trains go, people plug their ears to avoid hearing damage. It's a miserable failure of government.
Did you check the guidelines when you posted this snarky rebuttal?

> That’s just like your opinion, man.
> Just because you think that doesn’t mean it’s true.
Ask HN: What if I don't want constant OS upgrades?
I am getting old (I started coding as a small kid on a Radio Shack TRS-80 pocket computer).

I am getting to the point with my Mac computers (Studio Ultra and MacBook Pro) that I dread when OS updates are on the horizon. I know there are new features that maybe could be useful. Maybe. But there are a giant turd of other features that I do not want. The OS slows down, bugs appear, etc etc etc.

I guess the solution is to choose a Linux distro and stick with it. I mean I know what I need to use my computers for and what I don’t.

The VR thing, avatars, AI, I want no part of it. Call me old fashioned but something I’ve learned over my years is that tech can be very inhuman/inhumane. (it also can be great of course, sometimes)

Anyway curious what other people’s thoughts are. I was once one of those kids/adults who would look forward to the latest updates, download and install immediately, etc but I am not that person any more.

PS I work in a field in which I can more or less decide for myself what tools I use.
This could have been solved by wiring the power lines of the working external usb charger to a hacked up plug and the data lines back to the PC. They even sell premade cables for this usecase where you have a car with android auto, but the car's USB port is incapable of delivering net+ power to the phone.
I have been eyeing Electric SQL lately for developing a local-first app. How does InstantDB compare with Electric SQL?

Side note: Electric SQL is currently going through a rewrite, so things are a bit up in the air.
100% agreed. I feel that since Windows 8, Microsoft have been essentially hostile to the Windows user experience and I'd speculate that this is a significant motivating factor for the recent uplift in Linux desktop adoption.

That said, I'd argue that we shouldn't solely rely on the failure of Microsoft to drive Linux DE adoption, instead we should strive to capitalize on this opportunity by rapidly improving desktop Linux and advertising it as a "no compromise" refuge/alternative to Windows (I believe this is what is happening anyway).

While Linux is good enough for me, I am not the average user. In my view, Linux can't just be an equal alternative to Windows, it needs to be better.
For myself, to think things out? Paper and pencil. For explaining to others? A whiteboard. If people find value in it, I'll create it in digital format.

Don't over-think the tools. The first key to drawing diagrams is not the tools you'd use to make a diagram... it is being in the habit of drawing.
Ironically the removal brought more piracy.
Tidal forces at the event horizon of supermassive black holes are negligible.

https://spacemath.gsfc.nasa.gov/blackh/4Page33.pdf
India is around 94% electrified and seems to be highest amongst larger countries.
If Jobs didn't return to Apple, that's probably what we would have got. Their exit strategy ended up being to get bought by Apple and provide BeOS as the new Mac OS X.

Apple went with Jobs + NeXT instead.
But luxury is superfluous; perhaps even by definition.

Why lack of superfluous boxes is good when the product itself is superfluous?
Such stickers are expressly illegal in the US. They mean nothing here.
Something something "The power of freedom compels you!"

Anyway, any such "warranty void if removed" and other labels don't mean anything in the US. It should be illegal to even sell anything with those labels, but somehow they still pop up. Despite that, they 100% mean nothing.

https://www.ftc.gov/news-events/news/press-releases/2018/04/...
The battery swap idea is kept away at arm's length by car manufacturers themselves who feel responsible for customers mishandling batteries. Innovative adoptions are thwarted due to lawsuits, legal issues, ethics; like the conversation behind the too-soon viability of self-driving cars.

The best use case for battery swap is by vehicle fleet owners, like Amazon and their Rivians. Or by corporations with overlord like discipline over their equipment and workers.
It's a little strange seeing tornadoes talked about like this when they are common, occasionally tragic, but most often harmless outside a little property destruction, occurrences at home.
Anyone else find the article quite dense in technical verbiage?
> But I'd hardly say it doesn't help: it means that today, you've not made someone wonder if you're insulting them on purpose.

I disagree that words "become" slurs, in principle. Outside of a very few specific examples, where the term was constructed to insult, we know that words are insults because of the context in which they're used.

> It seems to me like they just want to be insulting.

It should be acceptable to insult people in certain contexts (not here, of course). But far more importantly, especially when it comes to terms like "idiot", "retard", "developmentally disabled" etc. etc.: when someone insults an idea, it's completely inappropriate to treat this as though some corresponding identity group had been insulted. Changing the words does nothing about it, anyway. When someone's purpose is to associate an idea with low intelligence, that will show through regardless of what word is used.

Aside from which, the treadmill isn't even remotely in sync universally. There are real discussion fora I've seen that take themselves completely seriously, where the word "stupid" is completely verboten and already has been for years - and not because of some general blanket policy against insults.