MurphyA/hacker-news huggingface dataset:
Show HN: a 1MB iOS App: Background HTTP/WebDAV Servers, CrossPlatform File Share
by ducbao414 | 2025-04-14 06:26:09+00:00
I wrote a minimal iOS app called PocketServer (~1MB in download size) that creates persistent local HTTP/WebDAV servers which can actually run in the background.

Functionalities:

- Serve a folder via WebDAV — browse/add/delete files from others devices on the same network.

- Host a static website or directory listing, accessible locally.

- Share files cross-platform on the same network, no app needed on the receiving side.

https://apps.apple.com/us/app/pocketserver-local-server/id67...
by ducbao414 | 2025-04-14 06:26:59+00:00
There are already iOS apps for cross-platform file sharing, local HTTP servers, the reason I wrote PocketServer:

- A lightweight app you can download even on slow connections (1MB is 2 minutes on 2G). Imagine not wanting to use the cloud, but still being asked to download a 50–100MB app just to share a file.

- Background HTTP/WebDAV servers that keep running even when you switch apps.

- Ramen for next month.
by anal_reactor | 2025-04-14 06:27:23+00:00
> I recommended learning how to separate your value from your employer.

This is a very recent development. Through the entirety of human history you'd keep working for the same employer for your entire life, which means it was very much worth it to cultivate that relationship, it's only now that we change jobs every two years. A friend of mine has a company in a very small town, and was complaining about an employee being lazy. I suggested "just fire him if he doesn't do his job", to which I heard "and then what? I'll have a jobless bum walking around my town. Thanks but no". This really shifted my perspective: the situation where employer and employee have no moral obligations towards one another and it's "business only" is not how the society at large should function.
by YZF | 2025-04-14 06:28:09+00:00
Human autoscaling. That's a good one. I mean it's not good.

We live in weird times. Companies are drowning in earnings. Their stock sky rockets. But they are unable, or not interested, to put people to work to grow their business. Because they are so big it distorts the entire economy. Because they are so big and so entrenched it's also hard to compete with them.

Less people makes the stock goes up?

And then AI too in the mix with many executives apparently believing it can just replace all the people. Who is going to buy the products then?

I have a feeling this is temporary. The wheel will turn and suddenly companies will hire like there's no tomorrow on some new shiny thing. It's gotta - right? Otherwise what?
by iainmerrick | 2025-04-14 06:28:34+00:00
it’s not wise or safe to let layed off individuals roam around the office.

I don’t really buy this. I take it you’re worried about vengeful ex-employees abusing their access privileges to break stuff on the way out?

It seems like a self-fulfilling prophecy. Probably some people would feel vengeful if you do shitty things to them like removing all their access and firing them with no notice whatsoever.

Bad employees can already break stuff while they’re employed. They might feel more inclined to do stuff like that if there are chilling effects that build distrust in the work environment, like jump-scare layoffs.

Conversely, if people are getting “fantastic severance” and you treat them with dignity on the way out, aren’t both they and the people who remain more likely to feel more positively inclined?
by throwaway2037 | 2025-04-14 06:29:47+00:00
First, this is pretty rough what happened to the person. My condolences.

Second, completely tangential to the content of the blog post: Was anyone else surprised by the number of comments/"mentions"/likes/reposts? I haven't seen so much activity on a single blog post in years. Normally, blog posts that accept comments have 10 or less comments. This one has hundreds.
by neilv | 2025-04-14 06:29:58+00:00
You're criticizing people for caring so much because you think the best that employment can be is transactional money in exchange for competent work?

Wouldn't you want to hire and nurture people who cared so much about what they were working on and who they worked with, as the author seemed to be?

(Not that you'd want them to be upset if it ever had to end, but you'd want the goodness part to happen? Better to have loved and lost, than never to have loved at all?)
by mystifyingpoi | 2025-04-14 06:31:26+00:00
> the opportunities to interact outside of work and the lunchtime

Good point. I wonder how much in-office work contributes to this. Because if you are trapped inside an office building for 8+ hours with essentially randoms, most people will start getting to know each other at some point, because there is no other choice, and after work and commute there is no time left for anything else.

I feel sad for the author.
by roncesvalles | 2025-04-14 06:31:56+00:00
Most relationships do not survive being ripped away from the spatial and temporal context in which they were cultivated. How many of your middle school, high school and even college buddies do you still have a relationship with?

I think there's some stigma with confronting the fact that relationships are just ephemeral. We are social creatures in the sense that we can cooperate with each other on a task laid in front of us, but once that task is done, we mostly tend to drift apart onto the next task with another group of people. And that's okay. We're only weakly social with everyone except our direct family and significant others. The quality of a relationship is in no way measured by how long it endured.
by thih9 | 2025-04-14 06:32:02+00:00
Maybe you watched a different cartoon, were not in that age group - or forgot?

There are many more accounts of that:

> The Groke has been widely considered one of the creepiest characters in fiction by many people and even by a study. In late 90's and early 2000's, when the 90's anime series - which is considered by many to have the scariest portrayal of the Groke in it - premiered in Poland, the Groke - known in Poland as Buka - caused a panic amongst Polish children. The Groke had different sounds - deep, eerie cold howls and moans preformed by voice actor Andrzej Bogusz. This, mixed with the darker colouring of the episodes (a trait shared with Finnish episodes and some other airings) and the fact that the Moomins were mostly played at night, in the Wieczorynka programming block caused the Groke to be widely considered one of the scariest childhood characters in Poland, both by 90's and early 2000's kids.

> Many children were horrified by her, were scared to go to sleep because of her, having dreams of her chasing them or turning into the Groke (some examples of such dreams could be found on the myslalemże.pl portal before it got shut down around early 2010's). The defunct portal Grono.net even had an Anti-Groke forum called ANTY-BUKA, where people would share their childhood stories about the Groke.

https://villains.fandom.com/wiki/The_Groke

And even first person:

> [google translate] How is it possible that a dark, buzzing figure can scare small children? Hey, I can't. As a child I was very afraid of it. Now I don't know why. When I talk to my peers (15 years old) they say they were afraid too. Why?

https://www.filmweb.pl/serial/Muminki-1990-119826/discussion...
by riffraff | 2025-04-14 06:32:38+00:00
I see where you're coming from, but relationship need some amount of contact to survive.

Work forces you to be in contact, if the majority of your time is spent elsewhere due to changing job, or city, or gym, or having kids.. it's a blow.

I try to keep in touch with ex co-workers I cared about, but we live in different countries, at different stages in life, with different priorities, and it's hard to say the relationship is well.

That doesn't mean the relationships weren't built as they should, IMHO, they are just different kinds of relationships.
by krige | 2025-04-14 06:33:58+00:00
> Don't despair. It could still happen! Somebody just has to make a Stanislaw Lem robot.

The Star Diaries thoroughly debunked the idea of Lem being a robot. The only "LEM" known to robotics is the "Lunar Excursion Module" which did have an electronic brain, but it was a mere 2 MHz 4-ish kbyte RAM device that couldn't string two words together. We should focus on finding that Tichy guy instead.
by michalstanko | 2025-04-14 06:34:30+00:00
It really depends on the people you work for, it's not like Europe is some kind of paradise in this matter. I was working as a contractor for a company in Germany, after a few years working together, they cut me off from one day to the next (the new manager decided to start saving money), even though my contract included a clause about a one-month notice period. They didn’t even bother to pay the invoice for the work I had already done that month (it was the 23rd of the month, so we’re talking about a few thousand euros). And since I wasn't living in Germany, extracting that money from them was almost impossible.

Yes, it may be different for full-time non-contract jobs, but once you're on a contract, nobody cares.
by drdeca | 2025-04-14 06:34:55+00:00
Hm, one thing I’m unclear on is…

Well, from what I understand, the mass eigenstates and the flavor eigenstates for neutrinos aren’t the same, so a mass eigenstate is a linear combination of the different flavor eigenstates, and a flavor eigenstate is a linear combination of the different mass eigenstates,

But, in these experiments with the electron neutrino, which is a flavor eigenstate, well, it isn’t in a mass eigenstate, so, what does that say about the momentum and such?

And like, when they use this to get a bound on the mass, is this like, a bound on the mass of the largest of the 3 mass eigenstates, or of the expected value of mass when in the electron neutrino flavor eigenstate, or what?
by Koffiepoeder | 2025-04-14 06:35:17+00:00
It always tickles my brain when I see "zero-dependency" or "no dependency" and then the first thing in a project is a bunch of include statements. Don't understand me wrongly, the includes by themselves don't strike me as a bad thing! I just sometimes wonder whether it's a me-thing or whether other people are wandering off to the question 'what is a dependency' as oft as I do :)
by rvz | 2025-04-14 06:36:07+00:00
> So far you have made four posts in this thread and provided no evidence. Four opportunities to provide data on what you _feel_. Four chances to share links or reports.

You realize that what you just posted was aiding for supporting corrupt insider trading activities in congress such as [0] and [1] in both parties?

Why do you think a bi-partisan total ban on stocks for all politicians never goes forward? [2] [3] Because at least for (some) congress-people they already know that insider trading and front-running on key information can and does indeed happen.

Which is something you would be against given the Pelosis' and others directly benefitting from this loophole, like the Nvidia [1] and Google trades [3] all timed in connection to key decisions from the government.

> As such, it is doubly clear, as described above, (baseless) that you are insider trading (citation needed). I hope that you are prosecuted to the fullest extent. (no case)

Except I didn't copy or trade on anything. You admitted to what you are (baselessly) accusing me of. Also...

It's extremely more likely that you (not any congress-person) as a retail trader would be investigated and prosecuted (and jailed) for insider trading than any other congress-person, if you knew someone with political insider information and traded on that.

But please continue to defend your politicians front-running you with their insider advantage.

[0] https://www.cbsnews.com/news/marjorie-taylor-greene-stocks-t...

[1] https://nypost.com/2022/07/27/pelosis-sold-5m-in-nvidia-stoc...

[2] https://readsludge.com/2024/12/30/ro-khannas-loophole-laden-...

[3] https://fitzpatrick.house.gov/_cache/files/b/1/b1ef11f4-5242...

[4] https://www.newsweek.com/odd-timing-nancy-pelosis-google-sto...
by iainmerrick | 2025-04-14 06:38:06+00:00
Hmm, I don’t think either of those warrants any concern about “TS features making their way into JS” or “overlapping syntax”.

The first one is removing a TS feature that failed to make its way into JS, and the second is about explicitly carving out a space in the syntax so that you can use TS (or Flow!) in JS codebases without being locked into any particular tooling.
Show HN: Rich text editor as a service – my free side project
by pyromaker | 2025-04-14 06:39:13+00:00
Hey all

I've used one too many rich text editors in my career to know that they are cumbersome to add and manage.

So I built a tool that I can use for myself and also let others use it.

TextEditors is a tool that lets you easily add a rich text editor to your site. You can configure it by clicking on the toolbar elements you want and we give you instructions on how to add to your site.

Pretty early days, but happy with the progress so far.

Look forward to your feedback.

https://www.texteditors.dev

PS - yes it's free :)
by Ozzie_osman | 2025-04-14 06:40:19+00:00
> I believe this entire document was written to anchor new employees with lowered expectations on equity. I think this entire document is a disingenuous scam to make new startup employees think that those percentages are okay.

Have to love the HN crowd. A guy goes out of his way to write a very detailed, high-quality guide demystifying a very complex and consequential topic, open sources it so it's free, and immediately people suspect the entire document is build just to make startup employees think lower percentages are OK?

Disclaimer: I know the author personally, so can definitely attest to the motivation behind this guide. I'll also say I've used this guide both as a founder and as a startup employee and it's been immensely helpful.
by jandrewrogers | 2025-04-14 06:41:13+00:00
> Because you're coming across with talk radio / TikTok vibes.

Really? That’s what you’ve got?

I’ve seen examples of this in Silicon Valley going back to the 1990s. A prenup is not reliable and loads of people don’t have one in any case. Unlike not getting married, there is significant social pressure against prenups. If you actually care the path of least resistance is to not get married. It is quite difficult to get a prenup against the possibility that someone will prove to be irresponsible or malicious in the future in a context they’ve never experienced thus far.

It also doesn’t address the case that if you start a company while married, your spouse effectively has full license to destroy it even if they were completely uninvolved up until the point where they decide to destroy it. I’ve seen it happen, lots of collateral damage for both employees and investors. People will do it out of spite. How do you write a prenup about a company that doesn’t exist yet and may never exist?

Anything that can happen legally generally happens in practice. Average people even in tech don’t hire a team of lawyers when they decide to get married.

If you’ve chosen to get your information from talk radio and TikTok as you seem to suggest, well, that’s a choice.
by imtringued | 2025-04-14 06:42:17+00:00
Except when I encounter people like you, they are mostly interested in saying that LLMs are the be all end all of intelligence only to walk their statements back every time a new LLM innovation comes out that proves them wrong.

Since humans are just stochastic parrots, we don't need to add features or change anything about LLMs. Innovation is for the weak and stupid. We can just scale LLMs by doing nothing except adding more data, parameters and training time.

The status quo bias is unreal. I don't even know what purpose it serves other than discouraging technological progress. The people claiming to champion LLMs by denying the differences between humans and LLMs are their biggest enemies.
by mook | 2025-04-14 06:42:28+00:00
Pretty sure Chamberlain/MyQ was because they made their API go through the cloud for no reason (that garage door opener isn't going to get out of WiFi range), so the only way to make the app reliably work was to hit their servers. Which they then had to pay for.

Had the whole setup been local first, they wouldn't ever had that issue. But again, that makes it hard to charge people for using it.
by chabska | 2025-04-14 06:42:30+00:00
The HTML structure is very problematic. You use a <table>, even though semantically the game grid is not a table of data. I would have used a <div> with display:grid , though this is not a big deal. The active cell is a <div> with onclick, which means the cursor doesn't show it as clickable and I can't even tab to it so keyboard play is impossible. There are ways to make a <div> look clickable, but it's easiest to just use <button> .
by intellectronica | 2025-04-14 06:43:13+00:00
> Through the entirety of human history you'd keep working for the same employer for your entire life

Hardly. This type of arrangement was short-lived and anomalous. It was roughly true in rich economies during a few decades of the post-war era. Never before, and not for most people around the world.

Relationships are worth cultivating any time, of course, but one shouldn't mistake a job for a life. The idea that a job is for life and your employer is your family was a mind hack that worked for a short while and is now unraveling.
by hkmaxpro | 2025-04-14 06:43:52+00:00
Reminds me of Yasha Berchenko-Kogan’s excellent answer to the question “What do grad students in math do all day?”

https://www.quora.com/Mathematics/What-do-grad-students-in-m...

> a bit like trying to explain a vacuum cleaner to someone who has never seen one, except you're only allowed to use words that are four letters long or shorter.

> What can you say?

> "It is a tool that does suck up dust to make what you walk on in a home tidy."
by RataNova | 2025-04-14 06:45:02+00:00
This is one of those things I knew on some subconscious level but never really thought about until now. Of course the red mesh makes them look more orange - it's basically grocery store color grading. Honestly kinda love how simple the trick is. No fancy tech, no marketing wizardry - just "put red stuff over orange stuff, profit." Makes me wonder what other dumb little visual hacks are happening around me that I'm not noticing at all.
by Kon5ole | 2025-04-14 06:46:05+00:00
It's a poor analogy. Dragons take the gold from the people and kept it from them so it can't be used.

The 200 billion that Bezos is assumed to be "worth" is currently in the hands of the people, being used by us. If we wanted to fix society instead of buying amazon shares we could do it today. Bezos hasn't "hoarded" it, we have it.

"To the dismay of Thorin, Smaug the horrible turned out to sit on a pile of paper that anyone could buy if they wanted to and all the gold was already in circulation in the town of Bree."
by iparaskev | 2025-04-14 06:46:50+00:00
We might have missed something here, but the `tauri://localhost` is the Webview memory in https://gethopp.app/blog/tauri-vs-electron#memory-usage, and the executable path is: `/System/Library/Frameworks/WebKit.framework/Versions/A/XPCServices/com.apple.WebKit.WebContent.xpc/Contents/MacOS/com.apple.WebKit.WebContent`. The measurements were taken on macOS.
by smokel | 2025-04-14 06:46:56+00:00
This is a false dichotomy.

You introduce two categories, state that LLMs are not part of one category, and then conclude that it must be in the other. In reality, the distinction between the two classes is not so clear.

The transformer architecture is quite something, and the number of layers and nodes involved in a typical LLM is staggering. This goes way beyond linear regression.
by Cthulhu_ | 2025-04-14 06:47:19+00:00
That's not universal though. My dad's company was bought up by a foreign investor, shrunk over multiple reorganizations from its peak of ~500 people in the 70's or 80's down to a skeleton crew of ~50. They weren't fired, they were told the company was going bankrupt and needed to be emptied out. People who worked there for 40+ years were basically given a few months' pay if that and a "good luck". There's a formula for severance pay; years worked * month's wage, this would give people a lot of leeway to find a new job or just sit out until their retirement, but of course that's very expensive so they weaseled their way out of it through various constructions. Dozens of people fired a few years before retirement, most never found another job again. And the boss kept the company, which is now a shell company / sales / license holder, which the parent company was always after of course because production is cheaper to do in e.g. Poland.
by BrenBarn | 2025-04-14 06:47:50+00:00
I think part of that is because those old Windows apps were distributed and forgotten about. There was no update procedure for many of them, and if there was it was just "buy a new disk" or at most "check the website and download a new EXE". Now that people have always-on internet connections, they expect to be able to get things instantly, and companies then expect to be able to push their updates instantly, and other companies expect that they can push their own update if someone else breaks their API, and so on and so forth until everyone expects everyone to have "the latest version" of everything.

It's the era of constant updates. I find it pretty annoying.
by Marsymars | 2025-04-14 06:50:21+00:00
Thanks, my mind was glossing over switching costs, what you’re saying there tracks to me.

> only opt-out of paying them assloads forever, which was buying a perpetual license and staying on that version.

This I struggle with though - financially there’s no real difference between a perpetual license and a subscription once you work out the time value of money, etc. For any arbitrary subscription price, you could make a perpetual license more expensive, or vice-versa. ergo, the complaints here aren’t really about the license type, at their root they’re simply pricing complaints.

“Monthly pricing for Photoshop 2024 is too high at $x” is fundamentally the same problem (with the same solutions) as “our perpetual license for Photoshop 5.5 is becoming unusable for both technical and HR reasons and the perpetual license (which hypothetically exists) for Photoshop 2024 is too high at $x*500”.
by atoav | 2025-04-14 06:50:21+00:00
After that wishy-washy flip-flopper with his tariff-trainwreck I wonder how many people will still go for the comforting fantasy that he is in fact "playing 4D chess"?

People that didn't care about his moral failings, the lying, how he treats women may care about him just being incompetent to the degree that the things he operates would fare better if he did nothing, especially if they have to pay the bill.

For Trump behaving erratic is a feature, as it favours people who have sworn loyalty and who Trump has deemed worthy as they at least might get a little head ups (enough for the stock market).

Sadly this turns the US not only into an absolute laughing stock, it also makes any business with it a risky one.
by delusional | 2025-04-14 06:50:49+00:00
Finally I get to ask this of a real person.

How important are these things for you? If the automatic trunk motor broke, how much would you be willing to pay to fix it? What is the value difference for you to be able to heat up the car from outside the car?

My questions point towards some variation of my central question: why does any of those things matter to you in a car? The primary purpose of a car is to get me places, everything else is optional. Is it because all the cars are equally sufficient for getting you places or so you actually value remotely controlling your car higher than the cars ability to drive you places?

For myself all of those gimmicks are just more complication that can break. I value a car that is fun to drive and with minimal abstraction. It sounds like you value maximal abstraction, and that's quite odd to me. I wish to understand your viewpoint.