skysight-inc/HackerNews huggingface dataset:
> Web is a 2nd class citizen because it’s designed for documents, not for interactive applications.

You’re talking about UI part, which hasn’t been a problem on mobile for a good 10 years.
Well, yeah, of course it got voted down, there's a lot of American Exceptionalism on here.

No-one outside the US uses US dollars. People from the US come to the UK, for example, and kick up a fuss because they can't pay for anything "but everyone accepts the dollar!" No, they don't.
This causes the whole materialized view to update. If the underlying query is complex (which it usually is - otherwise you would not need the view), you often don't want to rerun it for every update.

With the separate tools the idea is to stream the incoming updates and keep the materialized views up to date all the time.
I don't know how big the Standard Notes team is. If your team is super small, using React Native as a glorified build system that produces a native app without needing to learn both the Android and iOS toolchains could make some sense. But given that they wrote separate iOS and Android apps before switching to React Native, I think it's more likely to be avoidance of duplicate code in some way by using React Native abstractions over native features via libraries.

An issue we had trying to do that was that we still ended up writing a bunch of platform-specific native code, but instead of doing so in a straight-forward way, we had to fork or vendor abandoned/broken libraries and write React Native flavored native code, then integrate that library into the RN app. If it had an issue, you have a lot more to mentally untangle to debug problems.
Yeah , and don't mistake work for learning. If you learn while you work you will spend 10x more time.
AIs are never going to get the tone and emotional context right. TTS from Google and Samsung running locally on a phone is already listenable so I don't think minorly better AI is going to eat the audiobook market if it hasn't already.
Yeah, that's pretty common. If you get a large amount of traffic, they take the domain from you and try to sell it back to you as as "premium" domain at a hugely inflated price.

You don't have any rights to free domains. Freenom are the 'official' owner of the domain and can do whatever they want with it.
It means 46% of GDP is government spending. Actually.

Defense spending. Government workers. Infrastructure projects various governments partially or fully pay for. Subsidies. And so on.
"TV" in this case is short for "televised". That is, it came via a radio signal, rather than being physical film brought back from Mars.

But of course, the bandwidth is far too low to be an NTSC signal and it was digital rather than analog, so actual existing TV equipment couldn't have helped. For the moon landings, it was an actual NTSC television signal generated on the surface of the moon, amplified by ground receivers, passed through real-time scan conversion to bring the FPS to 30, and sent to broadcasters.
This does not seem like a uniquely Python problem. As a library, the authors probably listed `libFoo >= X.Y" and left it at that. If libraries pin exact versions with hashes, that creates problem elsewhere as everything now needs to be updated in lockstep.
Happy New Year from NorCal.

+1 for better results.
File IO isn’t epoll-able. The operations are always blocking.

Those could however be offloaded onto a threadpool, to avoid the blocking to affect any other requests that are processed by the same Nginx worker. Nginx however only partially does that - whole file read and write operations are offloaded a whole bunch of other IO (stat, open, close) are executed on the main thread. I guess due to implementation challenges - one can’t just make one operation async but also needs to make each operation that utilizes those methods async.
I'm not going to lie, it's quite funny to see th eHN crowd discovering the concept of class struggle
Neat. I coded a similar idea for fun, back when Java Applets still roamed the earth. The backend would harvest Project Gutenberg files and the frontend would present those to the user.
Okay? Some WW2 veterans couldn't watch the Normandy invasion scene in Saving Private Ryan because it was too realistic. My dad said Apocalypse Now had its moments of accuracy regarding Vietnam.

I don't know why you keep repeating this incorrect notion that fiction cannot depict things in a historically accurate manner.

Some fiction is trash. Some documentaries are also very misleading and have their own narrative. One should reference multiple sources when possible.
The only bit that supports your argument is

> The App Store came later and apparently as a reaction to jailbreakers and developer backlash.

Which doesn’t have any source.

> because web apps sucked so much

Where did you get this?
Reminds me of House of Leaves by Mark Z. Danielewski. Not for everyone - very polarizing book. Wonder if he was influenced by this short story.
Overtime is usually paid on a curve with about 20~25% per hour more for regular overtime, and 50% for sundays and special days (from memory).

That’s just not worth it for many people. I too wouldn’t give away a weekend for that money, considering I’ll be in a zombie state for the next two weeks and would probably straight get sick and waste many more days in paid leave depending on the timing. Even the money I’d spend to compensate for the stress could burn through the surplus.

It would of course be a different proposition if I was someone who could work for weeks without any impact, I know some people fit the bill, just not me.

PS: Forgot one of the most important aspect when you have family: is your overtime pay worth the time you’re not spending with them, especially on weekends ?
Things you’ve listed would be there regardless of platform they use.
Such solutions exist already, see e.g. bubblewrap [1]. The Flatpak ecosystem is slowly trying to add protection by sandboxing applications using bubblewrap. However a contingent of the Linux community meets this with:

- Flatpak is terrible because it doesn't follow a file system hierarchy that was invented in the 70ies.

- Flatpak is terrible because my early 90ies package manager is the pinnacle of packaging.

- Flatpak is terrible because I only trust my distribution's packages.

- Flatpak is a security nightmare because it doesn't isolate every application now. (Which is not really possible, because applications/toolkits need to be adapted).

- Flatpak is terrible because now my applications cannot open arbitrary files anymore (including ~/.ssh).

Conservatism is what holds the Linux ecosystem back. We have seen this story before with systemd. This is sad, because Red Hat and others are doing fantastic work modernizing Linux (see Flatpak, Fedora Silverblue, etc.).

[1] https://github.com/containers/bubblewrap
Absolutely. But nothing a simple "in an enthusiastic style" in the prompt won't fix, that's how AI works right? :P
hashes would also need to be specified for all dependencies (transitives) in case they were needed,

and all dependencies need to be pinned to specific versions as well.
hence this would only work when users are making use of venvs, instead of user install / site install setup.
> I would say, “I’ve got bills to pay, and I know a bit about websites. But you can hire me as an assistant to the system administrator too if you want.” Unfortunately, when you give such an honest answer, you’re asked to get the hell out of the interviewer’s face. So you have to cheat. Don’t make people cheat you.

This is important, IMHO. So many companies set a tone of dishonesty and playing-to-the-metrics, starting from the interviews themselves. Which is absolutely not what you want from an engineering organization.

One of the most refreshing things about being a principal engineer at a multinational tech company was interviewing engineering candidates in China. They came across as exceedingly honest about what they're looking for, how they see the company, etc. (I also often find candor from experienced US candidates, especially once they read me as valuing and respecting that, but it didn't often seem the immediate default. I think they're often braced for Leetcode hazing, class shibboleths, corporate theatre, etc.)
there's nothing to elaborate. his story is one of millions of examples where regular people are treated harsher by the law than rich and powerful.
React native uses native widgets and has bridge to communicate with platform. It can’t be as fast as native apps by definition.
Motivation is a made up word. You can't hold it, put it in a jar, sell it or give to someone. It's an abstract that usually only creeps up if you "lack" it. But there is no such thing as lacking something that doesn't exist in the real world. I found it's best to completely abandon it.

Instead one should thrive to find and do the work they truly enjoy. Then anything just gets in the way of doing the real work, if it's necessary you push through it, if it's unnecessary, drop it.
So? Even America has drug recalls. Here's a list https://en.m.wikipedia.org/wiki/List_of_withdrawn_drugs

Would you stop buying drugs from America?
Thank you :)

I don't allow SSH into my home network — I only SSH into the Raspberry Pi to work on, or modify, the alarm system when I'm at home.

For remote access to the alarm system itself I use Home Assistant, which communicates the the Raspberry Pi on MQTT.

I'm, looking at cutting the power to the dish washer, and closing the main water valve in case of a water alarm. And there is a short siren burst every 10 seconds. But this is still very much a work in progress :)

Nice project :)
as well as heart of darkness. he did it more than once. the quote/paraphrase attributed to Hunter on this that I love is, "I wanted to know what it felt like to write something good."

edit: I was oddly talking about this today to my partner. I've honestly never heard of anyone doing it outside of Hunter.. but that might just be because Hunter mentioned it in such a cool way.
Do you ever take a day off?
Probably. All told the government basically covered 18 months of airline payroll expenses but the airlines had to pay about 25% of that back. PPP "loans" were intended as payroll support for a shorter period with 100% forgiveness in most cases.
Stack-based CPUs didn't lose out to accumulator-based CPUs; the x87 for example was stack-based (and was originally intended to support the hardware stack transparently overflowing to RAM -- but they didn't write the software to support that before the chip shipped).

But both of them lost out to many-general-purpose-registers based CPUs, because that's what you need in order to write code which has many instructions in flight at once (for superscalar, pipelined, or both). If you look at the FPU on the Pentium you see the nightmare you run into otherwise -- optimized Pentium x87 code is half FXCH (swap the top of stack with something else) instructions because the FPU was pipelined and so you had to keep shuffling your stack in order to avoid pipeline stalls. The Pentium FPU has a hefty register-renaming unit in order to make this work; if it had been designed with general purpose registers rather than as a stack, that would have been avoided.
This is an excellent article, detailed and thoughtful. Thanks.

Got me thinking about some business things, and apologies if this goes
off topic....

50 years ago there were a wealth of books for electronic hobbyists to
build things like this - home automation, home security, plant
irrigation systems and suchlike.

Later an industry sprang up to make products for this market which was
initially niche and geeky. Small companies became big companies. Big
companies became shitty, extractive, exploitative monopoly companies
as the author describes.

Today we lament an apparent choice between "convenience" and "too much
work to do yourself". The cynics and naysayers are always keen to
point out just how few people can accomplish anything like this - and
that is indeed true.

But between the lonely hobbyist with soldering iron in hand, and the
big technology company was an era that seems almost dead today (for
many reasons like customer support and reliable sourcing). It was the
kit movement. Many of the early microcomputers were in fact kits.
Clive Sinclair first offered the ZX80 as a "solder it yourself" job.
Heathkit hifi and music synthesisers were a big thing for a while.

Many people who couldn't build a home system like this might be
interested in a DIY solution if they had a big helping hand up. I
wonder what happened to the kit economy and why it doesn't work as a
business model any more.
If you can simply patch it, that's mutable, not immutable, by definition. Immutable means unchangeable without exception.
Looking further into it, there's more nuance to it. Of the several people who popularized the phrase in the early 1900s, one of them was Harry Gordon Selfridge. While he is lumped in with the others, the phrase he used was actually "The customer is always right, in matters of taste." With the idea being that a salesperson shouldn't judge the wants of the customer. If they want an ugly sweater, sell them an ugly sweater, don't try to convince them to get a good looking sweater.

Others said slightly different things. Like Cesar Ritz who said "The customer is never wrong", where the idea is that the moment the customer complains, you take action to solve the problem the customer has stated, even if they are incorrect.
Companies that humanize their employees won't reduce them down to a single review that only cares about the previous year and not the sum of their work. And yet we've normalized the former for some reason.
> Why does Tesla announce 6x /48s instead of having a /32 of their own and handling their routing internally?

Probably the same reason they annouce /24s and not aggregated prefixes on v4 when they're contiguous. We can't tell from the he bgp tools, and I'm not going to look at other tools, but I'm guessing those /48s are distinct sites and are advertised differently (or maybe one is used as anycast, the others being distinct sites). Theoretically disconnected sites could each have their own AS, but it's very common for an organization to use a single AS globally, and only advertise locally served addresses at each site/BGP session.
Your fairy tales ignores all the people that tried correctly to build the their luck and yet ended in a worse situation by pursuing success based on incorrect world view.

This is irresponsible.
The sun will have burnt out before the Mill CPU actually ships, sadly. But at least that takes care of some radiation concerns...
> Look. In ENTIRE world except the US, that is not happening. There are far more regulations everywhere else. They also regulate prices. They work. Looking at the situation, only one of the below possibilities can be true at any given time:

This is a false, unresearched claim. I can prove the fallacy with examples from Asia: China, India, Indonesia, all have low regulation and high availability.
A few issues with DIY Alarm system to think about:

- no ESD (high voltage impulse) protection
- reliable power source
- compatibility with external centralized security systems protocols

I guess in every country any kind of monopoly leads to inflated prices and stagnation. We also have so many outdated and cost ineffective security systems here.
By "ease of use" they probably mean that the ecosystem is so advanced, one can easily write a HTTP handler in the language/framework of their choice.

In reality through, now days it's a nightmare to implement a HTTP server/client (at least for individual developer like myself). HTTP/1 is already a struggle by itself, HTTP/2 is much worse with all the new concepts & HPACK etc it added, and then you have HTTP/3 which introduces an entire UDP transport for you to implement. There is no easy part in HTTP if you choose this route.
But where does the preparation end and the work start?
> pretend that web apps can replace native apps.

We don’t need to pretend. Web apps must and already did replace a whole class of apps that never should’ve been native to start with.

For example: why would you even need native app for HN?
The USA top 1% occurs at about 400k income for an individual.

Can any software men/women here comment on how many votes they can buy?
The feature with the worst UX is the one that’s missing. There’s a trade-off between perfecting features and adding more of them. Fully native app development plants the flag on the side favoring less features with a higher polish. That is not the right choice for the user in every case, even when viewed through the lens of user experience.
Saying IPv4 is used up is like saying America was used up after the homesteading period of free land ended. I predict Ford will end up like how Yahoo used to be an Alibaba holding company.
> Haha, thanks for the laugh

So, it does seem funny, and I'm being a little OTT. But I do think it could genuinely be the fastest growing framework this year, it's absolutely not going to overtake React in total market share any time soon. But momentum wise it's going to be like a rocket.
Besides companies, there are also solo web developers working on cross-platform apps. It opens up mobile/desktop app development to them. Learning new languages and platforms to create native apps might simply not be an option. And users benefit from more apps on the app store, more options for them.
You could say the same about loads of successful companies. Nobody really knows and hindsight is always perfectly clear what the owners should have done. People said the same about Dropbox and Google at various points and arguably if Google had executed well you’d be saying the same about Dropbox and if Yahoo! had a clue how to leverage their search dominance Google could have also looked stupid for not selling.
Biggest weakness: I'm slow.

Where do I see myself in 5 years: Not here.

How many peas in pod: Don't use Quicksort (stole that answer form Obama)

Why should I-- : I've traversed your red/black tree and found the jade monkey, I have proven that I'm worth more than the position pays therefore you will need to increase said position's compensation, and I'm very hungover. I did all of this while wicked hungover. Do you have a beer for me or can I leave now? I have a lot of dogs to count for my next interview.
This: <<it showed that people don’t really understand what they’re signing.>> It demonstrates that regulation was too weak. They shouldn't have allowed people to borrow huge sums of money (to buy a house) in foreign currency. It was a recipe for disaster.
No, on the contrary: you can recover from destructor failure by returning error values, as in Haskell or Rust.

With affine types, destructors must be infallible, otherwise you get the double throw problem, as in C++ or Rust.

With error handling, the signatures would just be:

function closeFile(file: File): Either[File, Unit];

Where returning a `File` means closing it failed. Then you can try again, or abort. And returning `Unit` means closing succeeded. You can bikeshed the exact return type endlessly.
> Possible further benefit, reaching India and China who certainly aren't issuing IPv4.

This is important for servers, but not so much for consumers, IMHO. Sites in India and China are highly likely to be dual stacked, so v4 only users aren't likely to be missing any content at least currently. Although certainly missing access to v6 preferred peers. There's very few really v6only use cases out there yet, almost every consumer access network has some way to get to v4, there's too much v4 only content not to; even if the v4 access is much worse than v6, as it sometimes is.
>Are you honestly telling me that a package that was reviewed and signed off by three reputable developers is practically susceptible to "Scientific fraud"?

Yes? Especially if it's pulling in dependencies written by a bunch of other people because then it doesn't require malicious action by those three reputable devs, but merely negligence on their part in how those dependencies (and any updates etc. to them) are managed.
In the Office Space movie, a bug in the the software they uploaded caused it to steal much faster than it was supposed to. Which led to everyone involved panicking about getting caught.

The stuff he ordered was part of a different thing than the 'Office Space' scam they also found. It was either an actual screw-up on his part, that he tried to cover up by reversing the charges, or a scam closer to the one a Microsoft employee tried to pull off a while back.

https://www.ign.com/articles/microsoft-employee-steals-xbox-...
I think they just misworded that being more specific about the exact platform would be helpful:

- the title mentions PlayStation, but all the oldies will assume that's a PS1, or possibly whichever PS gen they grew up with

- the actual PS gen isn't even relevant really, this is more about doing it in Dreams than on a given device
I use rocket myself. There’s nothing huge missing, and nothing stops you from merging those PRs into your own repository (public or private) if you want them. How then is there no conceivable way to pitch in?
Because two things, UI is different between platforms, to make a quality native-feeling app, you will have to use the design guidelines and native elements of every platform. What you can share is the business logic, abstract ui logic, but not the views themselves. You absolutely don't need to merge codebases in order to share something between them, you just need to have it portable. Having one mega-app seems more of a complication to me.
Then why are stack based VMs so much more common than register based ones?

A bit of an appeal to authority here I know, but Eric Lippert felt stack machines were easier to generate code for:

A stack machine is a very simple way to describe a complex computation; by being able to write code for such a simple machine, it lowers the cost of making a compiler. And not only is it easier to write compilers and jitters that target simple stack machines, it is easier to write other code analysis tools as well.

https://learn.microsoft.com/en-us/archive/blogs/ericlippert/...
“Whether you think you can, or you think you can't--you're right.” -
Henry Ford

https://www.goodreads.com/quotes/978-whether-you-think-you-c...
These look interesting. It's worth mentioning that incremental view maintenance is coming to PostgreSQL. For now that feature (from same contributor) is available as extension
https://github.com/sraoss/pg_ivm
Where did I get this? I was there - I remember it.
I did start my own business! Man I’m worth much more than in companies, plus I’m having fun creating software, and I now understand all the incentives around my work instead of having to play politics, which, as a computer guy, is much more comfortable.

HOWEVER, many who have tried to launch products have not met success. But I was happy to try and fail too.
That's a fine question. The "what's with this gap in your resume" makes me want to slap someone. I didn't feel like working and I am compensated well for my skillset that you seek hereto, so how about why haven't you taken a break recently, son? Huh? Too busy catching up on the Joneses to keep yourself relevant? Thought so.
Voicemaker has a great api
Very different things. Native script is a bridge between the iOS/Android apis and JS/TS. So in a single code base JS or TS app you can call out to native apis such a the camera or taptic engine.
Yeah, I’ve set mine up to do the three necessary things: deter ‘casual’ burglars (so there’s an obvious commercial grade sounder clearly visible from the street), text the family if the alarm goes off (so we know somethings happened and can get back home), and record internal CCTV during an activation (so the Police have something to go on).

We chose a ‘dumb’ old school wired alarm because they run reliably for years with just battery changes and dust blow-outs, and linked it to a network dome camera to handle the ‘smarts’.
> The only way to survive with a single code base is to go the way of gamedev, to own substrate you are running on completely. From rendering of fonts to user input.

That’s literally what Flutter is.