skysight-inc/HackerNews huggingface dataset:
I think you're thinking of immigrants as the people coming to the UK from poor countries. Most of those people don't go to London, they move to regional towns and cities.

The people who move into central London from overseas are rich emigrants (Russian oligarchs, Saudi princes, etc).

There is significant social housing in London, where the local council provides housing for people of limited means. This is a historical leftover from more enlightened times (and one that Thatcher tried to eliminate). But the amount of churn in this housing, as you can imagine, is very low - once you have a council house, you never leave it because all the other options are waaaay out of your price range. So there are whole families who have been living in poverty for generations in the centre of London.
This will more and more entice individuals and businesses to store this cheap electricity in batteries connected to the grid ( mainly through https://en.wikipedia.org/wiki/Vehicle-to-grid ) or to transport it far away with tolerable losses ( https://en.wikipedia.org/wiki/High-voltage_direct_current ), compensating a growing part of the effects of renewables' "intermittent" production.
Ask HN: Create an app that sends an email with some text
Hi, I want to create an app that runs on a batch job. Say at 4am every morning, this app should start. It should take a snippet from a database/data store and email it to a set of people in a list/DB.

I am a technical non-programming PM. So I understand technology but its been many years since I actually coded something.

I dont want to integrate with Twilio or something for an enterprise grade feature. This is just to create a quick POC to evaluate product/market fit.

Like I said above, its been a while, and I would like to do this myself. Any guidance on where I could start? Is the O-1 model good enough now where it can create this entire app for me, and deploy it? :)

Looking for tips that are not, simply said, too hard.
Just a nit - no one serving the estimated 150 gbits/s of 600PB/year would use AWS to serve it; a more realistic amount would be about 1 million per year.
How does the whole in the cap prevent ink from drying?
Cool idea. But as a red/green color blind person, I have no way to figure out what is positive/negative in the graphs.
Maybe not this one but look at your other submissions :)
> Do not underestimate the utility of just outfitting houses that you/spouse spend a fair amount of time at with at least functional computers and such.

Can confirm the utility - I buy a lot of stuff that lives at my parents house precisely for this kind of reason.
The idea behind "BreakTheLoser" was inspired by the YouTuber FitxFearless, who suggested an approach to breaking addictions by creating financial accountability. The concept is similar to paying a friend or hiring someone to charge you money every time you engage with adult content.

I simply took this concept online. I don't even pay for ads or promotion—this was just another project to add to my portfolio. Again, thank you for pointing out the mistake, and I appreciate the feedback.
What did they move to? WebEx?
Is lid the preferred term for a pen cap in the UK? To me, a lid is always something flat(ish). This is not a criticism, of course! Just a curious observation…
Me also. The actual thing is probably pretty cool, but now that my hopes were up I'm finding it insufficiently whimsical.
Bulletproofing America's Classrooms
This one is two days old, pseudolus did the duping
This is fantastic. So straightforward, gets the job done.
There's always gullible marks. You could just tell them to open the web developer tools for their browser instead of pushing predatory products, though.

Charging $100 for that (on sale!) is a sick joke.
Those scooter riders suck! Both for riding irresponsibly AND especially for riding away.
But these incidents can be reduced (if not eliminated) with a bike lane where they could be separated from both pedestrians and cars.
"dang" is liked by HN! :D
May I humbly submit “parsing expression grammars”[1] for your consideration?

Fairly simple and somewhat fun.. Python has PEG parsing built in, but also the pyparsing or parsimonious modules too.

I have built EDI X12 parsers and toy languages with this.

[1] https://en.wikipedia.org/wiki/Parsing_expression_grammar
Shapeup https://basecamp.com/shapeup
Are you sure you can't remap the keyboard shortcuts?
I believe you can change them in System Settings -> Keyboard -> Keyboard Shortcuts
Sure, but that's not relevant to hacking. Hackers often hack for the sake of it, not because doing so will solve an important problem.
The continuing tragedy of emoji on the web
Looks like you still have to start by installing Android Studio, which seems excessive. Is there a way to just download an Android SDK?

Looking briefly at the makefile, I think they might have avoided Gradle, though it calls other tools written in Java.

I'd love to see a way to build a Flutter app without Gradle.
Thanks for the link - will take some time for me to digest.

> people with complex problems, chaotic lives and a high and ongoing risk of reoffending.

Surely that applies to almost all prisoners?

I don't think that you have addressed my point though, which is that the people who have been given these sentences are not those supposedly targeted by the law.

I couldn't disagree with any of the points that you make, but I think we're talking past each other. There is a threshold at which these sentences might make sense, and we risk conflating discussion about those cases with the much larger number of problematic cases where the logic is - at least quantitatively - different.
Why would you think that? My take is that they’re spending the money the best they know - they just don’t have the expertise to do so effectively (i.e.: establishing and tracking metrics)
Oh dang, branch hints. I always thought they were so obvious, and never implemented, so they must be obviously bad. But, Intel is giving them a shot. Neat!
DB trigger plus a call to Gmail API? o1 can probably handle that.
And there are at least 3 different metabolic rates for caffeine, rapid, standard, and slow. As a holder of the slow gene, none of these calculators work for me since for me caffeine has a ~9 hour half life. Caffeine after about 11 am is a bad plan.
As many are pointing out that there is no reduction of actual daily traffic in London I recon that if ULEZ has an effect at all, it is soley caused by the gentrification London's government effectivly creates by increasing the cost of living.
Alan Turing’s 1950 manual for the Mark I electronic computer [pdf]
Permissive licenses give mega-corps (AWS,GCP,Azure) the ability to use software projects without contributing to it. This mechanic in the market is going to dramatically shorten the runway for open source projects turning into mature companies like redis and elasticsearch. Once they hit a certain marketshare, cloud companies can take away one of the primary revenue streams large enough to support teams of developers improving the project. I know big corps contribute developer time to projects, but it doesn't hurt to have more competition.

This will lead to more market consolidation and less innovation in the cloud space. Taking advantage of licensing to stifle companies has turned out great for the mobile phone landscape. I love having essentially two choices for a phone.

Open source is amazing, but this is one of the weaknesses that have been exploited in recent years that medium sized and newer companies are combating with server-side public license. Linux is not just kernel, but its backed by a foundation that can protect it's revenue streams with GPL licensing.
I do know why the fraud succeeds so much of the time, and I agree your comment does a good job of explaining many of the dynamics. I really meant my lead in more in the context of why relatively informed people discussing this on message boards and in news articles brush past having paid fraudulent bills in such fatalistic terms, rather than stating they were bullied/tricked or they consciously decided it wasn't worth their time to fight. It lends an air of legitimacy to the shakedowns.

I had a durable medical equipment supplier send me a fully "adjusted" and paid by "insurance" bill that I had already paid the correct copay on, but they were still demanding more. I double checked with the "insurance" company, then called the supplier and told them how their bill was wrong. They responded with some nonsense like "that is their price, this is our price. Don't you want to pay what you owe?". I asked them if they liked referrals to the attorney general and they just flat out hung up on me. Never heard another word. These people are shameless.
Superhuman has a similar sync engine which is detailed here:

https://blog.superhuman.com/architecting-a-web-app-to-just-w...
I will never understand how Apple doesn't have automated testing that catches all these basic bugs before shipping.
This assumes nefarious intent in government. It’s much more likely that the problem is simply ineptitude and lack of expertise.
Also lark in Python too
This is the thing that was weird to me about the article: it seemed to focus very heavily on the idea of sharing financial details. To me, that's not "building" in public. That's just... sharing your finances. Building in public is sharing all little details about your product development process that most outsiders would never know or hear about otherwise. It's about sharing the dead ends that never saw the light of day, about sharing the roadblocks that made it difficult to get a feature or even whole product done. It's about sharing how collaboration happens and decisions are made.

This focus on finance is distasteful to me. Not in the "it's a taboo subject" sense, but it just feels like focusing on the wrong thing.

I really like your phrase, "work with the garage door open".
Well, I looked around the net, and it would appear they are fabless after all.

I mean, it might be in the best interest of national security to have more than one fab, or fabs not all tied to a single company.
You can't bypass "all iPhone security" - this is a restore path: the phone is already in a state where it cannot boot, and cannot access user data. Once an iPhone is in a restore state (restore mode or DFU which afaict are only marginally different) it cannot do anything except install a new OS. If an iPhone is in a restore mode it is not in an "update the device mode" it's in a "the OS is dead and the user data is gone by default".

There are _some_ restore paths it is possible to not lose all of the data on the device, but that requires the user (on the device) to provide their passcode during the restore, and I think even requires their iCloud password to get through activation lock, and it takes like an hour to complete.

There's fundamentally no reason that this should be less secure than the existing state where restore requires a wired connection to a laptop.
Electronic Warfare Spooks Airlines, Pilots and Air-Safety Officials
I've been working with other programmers for over 30 years, and the impact of this scarcity mindset has very real implications in behavior today.

In much the same way that someone who grew up with food insecurity views food now, even if the food is now plentiful.

For example, memory and disk space were expensive. So every database field, every variable, was scrutinized for size. Do you need 30 chars for a name? Would 25 do?

In C especially all strings are malloced at run time, predefined strings with max length are supported but not common.

Arguments (today) about the size of the primary key field and so on. Endless angst about "bloat".

I understand that there are cases where size matters. But we've gone from a world where it mattered to everything to a world where it matters in a few edge cases.

Given that all these optimizations come with their own problems it can be hard to break old habits.
The people described in the article tie the value/success of their product to how much buzz it creates. "Building in public" has shifted away from a way to get initial beta testers and feedback into an echo chamber of clout. This whole process is antithetical to the true success of any project.

There is way too much stuff about all the meta around making projects and just plain clout chasing rather than sharing intellectually interesting projects. I had twitter for an hour before I deleted it because I realized it was just a big popularity contest. The SNR was just too low.

I still think "building in public" is a good thing apart from the buzzword-y semantics it has taken on. The best way to do this is to talk only about the project and the technical challenges it has, and view "building in public" as a moral commitment rather than a marketing one. Perhaps "moral" is too strong a word. I really mean sharing things, not to boost your ego or flex status, but because you think it's actually cool/useful.
Give some examples then?
If it's a down slope or even a flat grade when the road's in good condition, maintaining the speed isn't that difficult for an experienced cyclist on a decent road bike.

My experience has been that many drives in the US at least get downright angry when they see cyclists, honking at you and even occasionally running you off the road. And that's when they notice you. Even on roads with dedicated bike lanes, I've been run off the road both by people who've noticed me and by those who didn't when they drift into the bike lane.
:w ~/my/path/thing.txt

Works every time.
Cells across the tree of life send 'text messages' using RNA
I had a chat with some older people who told me distainfully that the only consequence of ULEZ was that they were not going to drive as much.

I just hope it gains enough inertia so that a theoretical future populist Mayor cant just sweep it aside.
That's one of the things I still find impressive about Steve Jobs and his legacy. While Apple isn't the same company as it was when Jobs was alive, it's still a wildly-successful, innovative company. They still do "unheard-of" things, like designing and building their own SoCs and taking a stab into product categories like Vision Pro (regardless of whether or not it ends up being successful).

I think a lot of people (myself included, to some extent) thought Apple would lose its way (again) after Jobs died. It's a testament to the company he (re-)built and the culture and mindset he curated that it's still doing well.

Bankman-Fried, meanwhile, built a whole lot of nothing, and had no integrity.
Many games that work in Wine work just fine in GamePortingToolKit (which is just an Apple-written patch on top of CrossOver which is just more patches on top of Wine)
> For anyone who hasn't tried local models because they think it's too complicated or their computer can't handle it

I have now learned that my laptop is capable of a whopping 0.37 tokens per second.

11th Gen Intel® Core™ i7-1185G7 @ 3.00GHz × 8
Yes, and often when the OS has had a major revision a new version comes out as a paid upgrade (or more often lately, a purchase includes upgrades and maintenance for a certain time).

Though it is work the developer has to do regardless, if they want any new sales. And maintaining the software is orders of magnitudes cheaper than develop it from scratch so it is kind of weird to latch on to the maintenance aspect. If your sales paid for all the initial development then it will pay for maintenance. A bigger worry than the maintenance aspect is, will I recoup my initial investment?

The cost will always be arbitrary, software costs nothing to "manufacture" so any one-off payments or subscriptions will only match the costs associated costs for a certain scale.

I agree with what you say, sustainability is crucial. Doesn't follow that subscriptions are the only solution. Subscriptions-is-the-only-sustainable-model is the narrow-minded view I mostly see on HN. Undoubtedly because the audience are developers.
Before I started in infosec I was a software tester for a year in the mid-90s. We called this kind of testing “monkey testing” and usually spent some time on it because it turned up lots of bugs, both code bugs and design/usability bugs. One time I delayed our product’s launch by a day because I found a crashing bug in the “about” dialog (missing handler for keyboard shortcut).

I also usually spent a few minutes in each UI page doing a test I called “spaz clicking” which, just like it sounds, consisted of just randomly clicking as fast as I could and moving the mouse around. Surprising how many bugs you’d find that way.
One thing to add is that the intention is to change the type of car driven.
Why is the effort "slow"? As far as I can tell, LZMA is still better than ZSTD at compression. ZSTD is just faster. So LZMA seems to be a better solution to the bandwidth cost problem.
Yes, think about physics.

How hard can you grab your brakes and shed momentum when stopping an e-cargo bike traveling at 25-30 mph and with 750 pounds of cargo plus human? When do bike tires lose their grip on dry, wet, icy, and sandy roads?

I've driven trucks with 1000-3000lb loads. I understand how handling changes between vehicle types (different masses and 2 vs. 4 vs 6 wheels). My experience is why I advocate for specialized training and licensing for class 3 e-bikes and cargo bikes. I also suggest cargo bike training should include securing and balancing a load because I've seen too many improperly secured loads by idiots putting themselves and others at risk.
They should just turn it off for 24 hours (with plenty of warning so that people who pay attention can be prepared). It might remind that industry that they exist at all.
Try to add a directory named mything.service - no service for you!. You can even try creating it in a terminal and then looking at it in finder.

Ooof.
There are really only six options:

1. Keep using Lightning

2. Update Lightning

3. Switch to another proprietary connector

4. Switch to a standard but non-USB-C connector

5. Switch to full wireless

6. Switch to USB-C

(1) Makes no sense, they were going to switch to something eventually. If anyone doubts that and thinks Lightning was going to stick around forever, they don't live in the real world. It's so far from reasonable it's not worth considering. Lighting is worse than USB-C for data rates and power, it was outdated years before they made the switch.

(2) Could have made sense but they would have done it earlier if it was in their plans. They could have done that around '20-'21 and given a "Look, see, our new connector is 10x faster than USB-C and fast charges in half the time!" But it would have to match or beat USB-C to make any sense. Maintaining compatibility does means people still get to use old cables with slower charging and data rates for a while until those cables break or get lost, and it means the new cable can still be used with old devices (but will drop to whatever data and power rates they support). It also means Apple has to have, for the iPhone only, an extra team maintaining an extra connector type not used by anything else.

(3) Same issue as (2), but this one has to beat USB-C. And switching to a different proprietary connector means their customers now need at least 3 cables (4 for Apple Watch users, but those folks have to have at least 2 cables anyways since that one is wireless charging only). Users would need Lighting for accessors/peripherals, USB-C for iPad, MBP, and <new proprietary> for a new iPhone. That would go over well.

(4) Same problems as (2) and (3) but at least it's standard. It also has to beat USB-C and what connector would they use that's standard, popular, and not USB-C?

(5) Not viable for the phones. Too many consumers expect their phones to connect, physically, to cars and headsets. Without a 3.5 mm jack that leaves the Lightning, and now USB-C, connector. With cars, unless you have wireless CarPlay (newer cars only) you're SOL for CarPlay, and it's a downgrade to lose that and end up with just audio over Bluetooth. This hurts them substantially in the market and is non-viable. In 5 years, may be a different story.

(6) They already switched to USB-C on pretty much everything else. It opens up every USB-C peripheral (most of Apple's own are already wireless, with Lightning or USB-C to charge, increasingly USB-C). It's the standard connector. It offers fast charging and higher data rates. They already have licenses and contracts in place to use it. They don't have to dedicate an engineering team to support a one-off variant.

(6) is the most sensible option followed by (2). (2) should have happened years ago if it was in their plans. The regulations may have moved up the timeline, but it didn't change what was going to happen.

So what's your argument, which of the non-USB-C options do you think was on Apple's agenda before the regulators came calling? Given that they'd already switched almost every other device in their lineup to USB-C, what was Apple going to do with the iPhone?
In 1995 I made an MS Access database that had emails in a table and used MAPI with Eudora Pro to send emails. I called the database SPAM, Software Programmable Automatic Spammer. I refuse to make any more SPAM programs.
1) get a cheap-o webhost that offers cron job support

2) learn some PHP + MySQL

3) Use PHP's built-in 'mail()' function to send an e-mail

4) Set up a cron job that runs the PHP file at 4AM
It should be called DeckHead
A shout to Damnation Alley (1997) with George Peppard. The missile launch sequence is first rate IMO and creeped me out something fierce, for its oddly realistic banter and simple but vivid displays. From first (Soviet) launch indication to the sequence of nuclear detonations, ~10 minutes of horror that was more intense for its lack of background music and the chatter of tense men doing their job.

Bizarre at times and cheesy scorpion aside, the dialogue was well written and Jerry Goldsmith's electronically augmented score gave it a vibe that recalled the wonder of watching Logan's Run for the first time. Its simple quest led to a series of episodes in a long journey that were each good cinema. The cockroaches! My favorite film of 1977 besting Star Wars.
California Lawmakers Think They Can Outsmart AI
It would be strictly better without middlemen.

There is always going to be some percentage of interest overlap between users that gets destroyed by federated moderation. It's too coarse grained and ruins the decentralized possibilities of the internet.

That isn't to say that users shouldn't be able to filter out whatever they dislike. Rather, it would be best if that was a user's choice [1].

I participate in LGBT spaces, but I'm not going to block people for playing Harry Potter. I don't appreciate people stepping in my way to censor things they think I shouldn't see or hear.

To make an analogy with Reddit, if I make a comment in r/conservative (without necessarily even subscribing to their ideology), I get banned from dozens of other subreddits via automated moderation tools. That's a lot like how Mastodon thinks the world should work. But that's not how people are or should be.

Mastodon (and subreddit mods) think everyone should wear a membership pin or be emblazoned with a Scarlet Letter. That's incredibly harmful to people and is leading to increasing polarization in society.

[1] I'm sure that could even be done at scale by subscribing to community block lists. It shouldn't be a hassle, it just shouldn't be centrally planned and executed with no recourse from the end users.
This article is fantastic because it makes the subject so accessible
The air in London is noticeably cleaner than it used to be. Londoners should be proud of what has been achieved
I would implore you to look closer at motherboards. Most if not all have discrete components for the audio, NIC, USB, et al. on them.

The integration of those functions into the motherboard merely did away with the bulky physical connectors that take up space and complicate designs.
Global Flight Tracking (2023)