skysight-inc/HackerNews huggingface dataset:
There actually was a large truck coming down my block in Brooklyn at the same time it started and it took me a second to realize that no, it actually was an earthquake.

And I definitely agree, the 2011 one was more of a sway, this felt like a rumble.
> 4.7 is literally nothing

4.7 quake at 1 km depth will shake more at the surface than a 6.0 at 30 km depth
Show HN: Run untrusted JavaScript using REST API
Why?

Last year I tried to build jupyter notebooks but for regular documents. Documents that can execute user's code to fetch anything from internet and format it. It turned out that running the untrusted code was harder than I expected.

I spent last two weeks trying to build API for executing untrusted JS code using Go/Docker/Deno. At first, I experimented with WASM and wasmtime runtime but there are still limited capabilities when it comes to internet access. I used deno and docker to build a minimal version of it.

You can try it using curl.
Not with that attitude. We have survived for millenia with most humans never seeing a city.
I didn't stay at a holiday in last night, but I can read maps and it does seem like this one landed on the Ramapo fault line.
And how often do you go back to read them?
Gimp is fine for my purposes, whipping up a favicon or making a bit of random developer art as filler until an actual artist can do the job.
Show HN: Have fun collecting AI Art using virtual (not real) dollars
I think this will be difficult to know, because IIRC, to commit to OpenBSD you must use an @openbsd.org account.

So it's not like you can just look at the commit log and search for private company @names

http://cdn.openbsd.org/pub/OpenBSD/Changelogs/
I can’t recall the last US restaurant that didn’t have free drink refills. Why would they want to push people to consume something they refill for free faster? Is it possible people just like straws?
Which is, no doubt, is the reason why brutalism was invented in post-WW2 Great Britain. The Soviets kept building in "socialist classicism" style around that time; those apartment blocks from the article were Khrushev's invention, after the guy condemned the "architectural excesses" and disbanded the Soviet Academy of Architecture.
Now let's ask: do these jobs pay, and what is the cost of housing, energy and healthcare doing? Remember: anyone who drives an hour a month for Lyft does not count as unemployed!
In NYC. This was much stronger than in terms of local shaking than the others of the last 25 years. Living on the 4th floor of a 90+ year old building. My fridge was trying to walk across the floor.
Mass layoffs are not illegal, so I'm not sure what you're getting at with the bit about companies taking risks.
I don't think you can really argue that there is "public good" in building essential infrastructure wastefully and inefficiently. Ghosts towns and abandoned towns have always been a thing, since the dawn of civilization. They're abandoned usually precisely because it doesn't make sense to invest in infrastructure there - a railroad, a post office, a port, an electric plant. This isn't new. It's okay if cities die. The people that lived there aren't dying too. They're moving elsewhere, where they have better access to infrastructure and services. There's nothing wrong with that. And we shouldn't be wasting money to prevent it.
What is with the site - `very good software not virus . ru`
Consumer facing, maybe. I've worked with manufacturers in Europe and the amount of packaging they go through just receiving components from China (batteries, PCB) and other European countries is staggering. So much plastic just unwrapped and tossed. And later more packaging added.

People have no idea how little their personal choices and what they see in consumer facing products actually matter in the grand scheme of environmental impacts. Most of the efforts we see (plastic straws banned, caps that don't detach, "recycling") are just cosmetic. It's design to distract us from the real issue of industrial consumerism and preventing actual meaningful change.
> Indeed, like it or not, the idea that the game of Mario Kart (for example) is exclusively the part where you drive around the track is both simplistic and naive. It comes across as a values statement of the following form: "good games are only concerned with moment-to-moment mechanical execution and tests of reflexes, and not any of that other Skinner-box frippery". But (again, whether we like it or not), for a lot of people the frippery is crucial to the enjoyment of the game. (And these are hardly the only two reasons people play games, e.g. there's socialization, mastery, etc.)

I don't think my comment was implying any of this.

I was mostly trying to say something along the lines of "solving NP-hard problems isn't good gameplay" rather than discuss micro-transactions, progression systems, or variance/competitive purity.
I figured it wasn’t “small nation state bug discovered in supply chain” but rather “yea, he used his real name”.
"You’ll mainly see people complain about having to litter their apps with if err != nil, how they feel it makes the code verbose, and how they miss just writing ten very consequential lines one after the other in more dynamic languages like Python or Javascript."

One of the practices you'll see better Python devs use is to wrap stuff in try-catch-except blocks, especially around consequential code.
I've been in the exact same scenario twice and what I've learned is that internal tools (especially in big companies) only get "deprecated" but it's hard to abandon them completely.

I've found the decision to "deprecate" tools, especially long established ones, comes along with political shenanigans and especially so when the tool is used by multiple teams with competing interests. One team usually can yell louder than all the other teams and force the new tool to be very specific to their workflow, but because other teams have different workflows the new tool won't work for them. So you're in this limbo of supporting both forever until everyone can agree to switch to the new tool or someone important enough decides to completely turn off the deprecated tool.
Sharknadoes
This can simultaneously be true and for spatial memory safety to be a necessary condition of any coherent definition of “safe.”
Start over in a sort of great explosion of astrophysics, sending them at great speed outwards in all directions?
My father is a very light sleeper. During my childhood in NYC, more than once an earthquake woke him up.
It does make sense to run fiber, even to places like that.

Aerial fiber cable costs ~ $8 per foot. Those towns already have electricity, so they have telephone polls. 100 miles * 5280 * 16 (doubling the material cost to account for termination, connectors, etc), is $8.5M. Assuming the fiber lasts 30 years, that’s $281K per year. Small towns in the US have 2500-4999 people. At the minimum size to qualify as a town, that’s $112 per person per year, or under $10/month for the trunk line. At $100/month per house that should be profitable.

Also, the trunk will serve people outside of town.

The ACP money should be used to fund build-outs like this and dictate that the resulting lines have common carrier status (any ISP can rent bandwidth on them at the same price and priority).
He very probably did have a public defender, who seems to have done a very good job by the metric of what most public defenders understand their job to be: negociating with the DA.

Woods managed to not serve any additonal time after sentencing and didn't even have to admit guilt for that.
Why would you prefer a world where where you can’t get a 1-5% discount on everything you buy vs the alternative (spending on a debit card or using cash)? Obviously some people try to over optimize, but 30min of research every few years is definitely with the thousands of dollars of benefits in my mind
For sure, but throw me a rope here, it doesn't help the more immediate concern of this bog I'm stuck in.
There's definitely a difference between the utility of the final project/product and the utility to you personally based on what you learned/had fun with/got paid for along the way.
Apple Lays Off More Than 600 Workers in California After Scrapping Car Project
Thanks for the exciting first person account.
We're almost exactly 10 miles north of the epicenter near Oldwick, NJ. We experienced several sharp jolts that sent some items tumbling off shelves and shook my ember full of coffee off its charging coaster (or I spilled it in reacting to the jolt, idk really), followed by a gentle shaking that lasted 30 seconds or more. This is the first one I can recall feeling since we moved here in 1995.
That is exactly the approach the Soviets took when they built these in the first place. They might get a bad rep these days, but commieblocks lifted out millions and millions of people from much worse circumstances.
I received the earthquake alert about 45 minutes after it occurred.
Might be "The Frustration Loop" by Herman, the creator of bearblog? https://herman.bearblog.dev/the-frustration-loop/
Wouldn't this bubble system only work if you are on a platform that has it? And you can also easily test to see if you are being "bubbled".

Enough frustrated people will use AI to quickly generate the code for an alternative platform to avoid this bubble system.

It will be individual platforms all the way down...oh wait.
Benn Stancil's newsletter became the cure for data biz "thought leadership"
Hadn't heard of Trinity but this screenshot is giving vibes - https://www.trinitydesktop.org/media/screenshots/large/tde6.... - XMMS!
This makes it sound like the earthquake is ongoing and moving.

For all our sakes, I hope that’s not the case.
> Is there a reason you want to learn Objective-C instead of Swift?

My goal is to write native software for macOS, which I understand to be more amenable to Objective-C.

I am also interested in Swift but want to focus on Objective-C for my first projects.
Summary: thing people complain about is actually great except when it isn't.
That's basically what AI as a concept is. Smoke as screens to hide responsibility and costs.
Their point was that it's impossible for OSS to have visionary management, the projects I listed prove that's a false claim.

Right gimp mightn't be as good as photoshop, but it's always satisfied my needs, granted my needs are pretty limited when it comes to photo editing/art.

I'm not claiming OSS projects are inherently better or even equal to their commercial closed source alternatives. I just think the claim that an OSS project haven't have vision is rubbish.
Bicycles and public transport bring similar benefits and much less of the harm.

Less pollution, fewer deaths caused by toxic emissions, and taxpayers don’t have to subsidize the fallout.
Because it's in their best interests to demonize whatever came out of a non-capitalist system, which people could naturally gravitate towards in a time when homelessness is at an all-time high and a home ownership rate at an all-time low.
They are somewhat related... the codec's title styling included a winking smiley face emoji -- "DivX ;-)" -- as a tongue-in-cheek nod to the failed video disk technology.
> If you complain about the policy they tell you that it's because the recycling plant can't deal with the bags, it clogs up their machines[...]

Machines?! Most press photos that show the inside of plastic recycling sorting plants show a surprising number of Mk I human beings standing at a conveyor belt helping sort out the, err, rubbish.
Great article and big fan of this approach.

I'm one of the maintainers of Evidence (open source tool based on markdown + SQL) and working on a similar approach to creating presentation tables configurable in code.

Some examples here for any SQL + table enthusiasts:
https://docs.evidence.dev/components/data-table
Can truly never get over "expertsexchange.com"

What were they thinking...
> The spokesperson sounds like AI,

That's been generally true for a long time, though. Actually I might say LLMs have a tone similar to a PR rep.
Just annoying when the attributes aren't in a logical order because they have been added to incrementally.

I've got a table that contains the columns length, width, height and cube which is length x width x height) but cube is like 5 columns down next to the 'short description' field (which would ideally be next to the description field!)

The order can also impact postgres query performance, but for me it's mostly a look & feel thing.
Speaking of cats and earthquakes, I just watched:

https://www.youtube.com/watch?v=VJ-p9qOhBv4

...again. This is a Cat Cafe in Japan, and you can clearly see the cats get alerted to something ~10 seconds before the shaking starts. Do we have an idea of what they are reacting to?
Show HN: I built a free app to accelerate API planning and front end integration
Hey everyone,

As a backend engineer, I’m frustrated by how slow it is to design APIs and synchronize with the frontend. I have to draw out the system, figure out API endpoints, and decide what the requests and responses will look like. I also have to coordinate with the frontend about how we're going to use these endpoints.

So, I created Roya, a tool that accelerates this entire process

- Upload visuals, like mockups or screenshots of your app, to help identify the required endpoints.
- Use AI to kickstart the brainstorming process by generating sample API endpoints tailored to your project's description.
- Use AI to generate sample request and response bodies for your API endpoints
- Annotate your app visuals, linking them to your endpoints to clarify their use and facilitate integration with the frontend.

I’d love to hear your thoughts on it, it’s completely free!
string_view (like span) is meant for spatial memory safety, C++ doesn't help much with temporal memory safety.

That said, span (unlike string_view) fails at its intended purpose, because C++ just loves to be a total clown show.
Go's error handling is explicit which enforces the need to handle whereas other languages leave it to the developer. More like here's the mess take care of it vs everything looks clean but its really swept all under the rug and can bite you later.
With growing dependencies and complexity increasing everyday, I'd rather think of it sooner than later.
Stanford CS25: Transformers United (now open to public)
OK then, I see you are correct.
Sure, I wasn't disagreeing with your first point. I was disagreeing with your second point.
Well, my viewer doesn't support embedded scripting. :D
That’s not going to work if you’re going on a vacation for a week. You want to fill the feeder with a week’s worth of food at a time and have it feed every day according to the schedule. Control the power to the feeder with a smart plug and set the feeder’s internal timer to 4 hours.
> It is harder to get 1000 people to participate in an unethical military campaign than it is to get 10 people.

No. It's easier to get 1000000 to participate than 1000. But that's not the point. We are talking about accountability. I'd say it's easier to hold 10 people accountable than a 1000.
Sure, but at some point, you have to be told what "duck, cover, hold" actually means. Your comment as the first comment someone hears is like a news article using acronyms throughout the article without ever expanding the acronym.
Alternative take: Universal broadband is a governmental program supported by Democrats to give Internet access to human people, some of which identity as Republicans, with the goal of improving things for all if us.

Jesus fuck, why does it always have to be us vs. them?
When I took a look at using DO last time I decided against using them because you had to pay for the duration your clients are connected to them when using WebSockets. As far as I understood it’s not execution duration but flat out how long your clients are connected. You’ll burn through seconds quickly that way. I decided to go with a polling mechanism instead.
I don’t think I’ve ever seen code of this shape in general, ever. Lists are homogeneous in their semantics, aka items stand for the same semantic thing. This is in contrast to tuples. Both lists and tuples exist in both Rust and Python as well was a bunch of other languages.

After you’re done with the above iteration, what are you going to do with the items list? It’ll contain a mix of semantically different things (all original entries as well as filtered and modified entries).

For example, say items originally is a list of file names. We want to only process image files (the predicate), and want to normalize paths beforehand (modify). Makes sense. But it requires a separate results list. Processed results cannot go at the end of the original list.

(The idiomatic way would be to process outright and not needlessly allocate and populate new lists, but let’s put that aside)
Lots of “was that an earthquake”? discussion in r/somerville (MA)
Publisher: OpenAI's GPT Store bots are illegally scraping our textbooks
C doesn’t particularly strong safety guarantees of its own around type punning, which is logic bugs that aren’t themselves memory corruption so frequently result in exploitable vulnerabilities in C (and C++) codebases. How do you plan to handle things like that?

(Other proposals that I’m aware of seek to forbid those parts of the language outright, or add some kind of runtime instrumentation like isoheaps. Neither of these is particularly palatable for pre-existing codebases with deep, undocumented language feature and ABI assumptions!)
Funny thing is that this style came from Eastern Europe. Early soviet architecture was heavily slanted towards classic themes, as per Stalin personal tastes. Only after Stalin died that brutalism and modernist themes became prevalent in the soviet system.
You may or may not be joking.

But... As a (self-proclaimed) world-renowned pirate of all the media. A not insignificant part of my downloads come from OneDrive or Google Drive links. With MEGA in a close 3rd. Everything is else is torrents.
I think a rental property would be more like an LBO. The bank takes into consideration the income potential of what you're buying when underwriting the loan. Obviously your credit-worthiness still matters too.
> Such a massive new source of text will surely influence how language is spoken

Before chatGPT I'd see the words "it's worth noting.." maybe five times in my entire life (39 years old).

I now see that stupid phrase dozens of times per day, every single day, everywhere I go.

Including HN, which tosses it around even more than Reddit.
I don't see how unveil/pledge is in any way related to xattrs
Who knew? Ramadan: a great time for online shopping deals
we agree that guns are equalizers - it allows a small woman to fend off a large man. That is the point. They make it physically easier to kill. Like, that is their entire point outside of sport.

for being more mentally available, I was just reading about some asshole that shot at a car that pulled into his driveway. Yes, he is mentally unhinged. I don't feel it is a stretch to say that owning a gun enabled him to feel safe and shoot the people from a distance and had he needed to get into a physical altercation, it very likely would not have ended with dead kids in the driveway.

I'm a gun rights supporter. I own guns. I take my kids shooting. People need to be held responsible. People can kill without guns, of course. But there is no way to argue that guns don't make killing more accessible.
I was pleasantly surprised to read the walkthrough as a quick start instead of install it.

One step that you explain that I rarely see explained for beginners is how to instantiate a python venv. Hard to unsee.

I’m installing this now do you have any other feature plans for this?
Really? So in your world, a writer's mistake is abuse, in the same way legal professionals using the copyright system to profit off of a small publishing businesses is?

It's like arguing that punitive fines for minor infractions, like jaywalking or speeding, would be justified because "you broke the law".

The outrageous maximum penalties ($100k/infringement), the nuance of fair use and copyright law, and the resulting cost of defending yourself means that the only solution if you don't have excellent in-house counsel is you have to settle for what they ask. It's legal extortion.
I assume they've worked out that the fuel and other environmental impact of sending back all those packages via the mail service outweighs the impact of simply disposing of or recycling them locally?
These are pure hypotheticals and as such are not interesting at all.

People back then knew very well what they'd do with beyond 64K. Unlike you who is simply hand-waving this away by saying "who knows what will we use it for".

You're also forgetting financials which is quite a glaring omission. Modern computer prices haven't dropped much in a while now, like 5 years or so, because the bleeding edge remains expensive. Most people are unwilling to pay bigger and bigger prices for what they perceive as the same processing power -- and their perception is largely correct because software remains the dominating bottleneck in computing power.

So nope, it's not the same 64K argument again. We have companies that desperately want us to believe that we want 512 GB/s RAM modules and we should pay thousands for the privilege of having hardware that is only 0.1% likely to be utilized properly.

People do get hyped up when they see these impressive numbers, yes. But when they see the prices, they suddenly get smarter.
Some of the recent research in the psychology of zoom fatigue supports the superiority of voice calls. The upshot: "limited access to video may promote better communication and social interaction during collaborative problem solving" - https://journals.plos.org/plosone/article?id=10.1371/journal...
It is already happening, just recently Instagram pushed out an update to 'quietly' limit political content (ie. pro Palestinian voices) to all users by default without informing them.

[1]:https://time.com/6960587/meta-instagram-political-content-li...
well, potential regions do not include east coast US at all.
Apple's Presto system is even more sophisticated than it first appeared
It’s the first thing we teach new arrivals to California along with “stop, drop, and toll” and what real Mexican food tastes like.
This is indeed something my opinion shifted in the last 2 years. Some of my superiors hate it, but they are kinda getting it after some patience.

The thing is: Slowly deprecating a service doesn't work. At least on my patience level, which is measured in years. I don't have decade level patience available.

If you announce that a service is being decommissioned, the good teams leave across some time. This time can be a month, a year but they leave. It will take longer than expected, but the good teams move and scurry and make it work. Those are the good teams, they cooperate constructively and the migrations work.

But the other teams just don't.

And there is nothing else to say about it. They don't. And you can't take it away because there's C-Level support behind those bad teams. So you can't take it away, or else high management comes around asking questions and being pushy.

To me it seems like you either invest the necessary amount of energy to maintain a service, or you invest energy to actively kill that service. There is no tolerating, there is no "low-effort maintenance". Tell the next CVE > 8 in that service it's "low effort maintenance" and kindly ask the attackers to not attack that service because it's "maintenance".

Either this is a service we offer, or we actively work on migrating things off of it.