skysight-inc/HackerNews huggingface dataset:
> ''"`memory safety''"` is not the point of C and never has been.

You're right, of course; sadly, people still use C to write software other than bootloaders and kernel memory managers, which C's "you figure it out" approach is an excellent approach to. Instead, you see command line utilities parsing configuration files and user input, all written in a language that lacks the modern standards for bug detection and program safety.

With the readability of C programs, criticism of Rust's admitted ugliness is a bit weird. C is a horrible language already, no need for Rust influences to make it any worse.

However, this isn't about "let's then C into Rust". This is "let's take one of the obviously good idea Rust brought to the mainstream and see if we can add them to C". In this example, by using attributes, which are already part of C.

If you like your memory safety bugs and buffer overrun vulnerabilities, nobody is mandating that you use these attributes. These suggestions are for other people to make their code better, not to take away your DOS system memory model.
if i allow one sign up/in request per ip per second, i have no fear of bots. i could implement additional "rate limit" per ip per request if i needed and ban ips if they exceed it manually. it's very easy to do. humans don't send more than one request per handler per second anyway.
> Well not Steve Wynn personally but I mean how do you think the Somali pirates got paid?

Parachute:

> >TME: Can you tell us about how you would arrange for ransom deliveries?

> We developed a special mechanism that allowed us to drop the ransom out of an aircraft by parachute. The pirates would collect the money after it fell into the water, take it to the ship, count it and then leave. At that point another team that we had already pre-positioned would board the ship, cross load supplies, help the crew get it underway again and escort it to the nearest safe port.

* https://maritime-executive.com/editorials/q-a-with-rob-phayr...

Once that's done you'd probably go to the 'standard' techniques that (e.g.) drug lords would use with cash. Assuming it wasn't spent on hookers and blow:

* https://www.cnn.com/2013/11/02/world/africa/horn-of-africa-p...
That's a lot of assuming that everyone who uses CAPTCHA is too incompetent to fix their problems any other way.
8 Rules for "civilian hackers" during war, 4 obligations states to restrain them
> I get that "Big Oil" might have delayed some reforms, but

This sentence fragment greatly understates the impact they have had. It is clear that you consider it to be a narrative and are deliberately deflecting attention elsewhere. Both are valid statements, it is not a binary situation. It is not one over the other, and deliberately polarising situations does not help anyone. It only serves to further hinder the situation.
> Carmack and Sutton are deeply focused on developing a genuine AI prototype by 2030, including establishing, advancing and documenting AGI signs of life.

Seems a bit inappropriate to use the phrase "signs of life" here. In this context, it sounds like they're bringing sentience into the conversation, which I don't think Carmack is interested in contemplating or discussing.
> Uber moved from Node.js to Go for better performance.

Technically true but very misleading. The linked article states that Uber switched to Go for 1 microservice that was doing a heavy amount of a specific mathematical processing that Go was better suited for.
Yea, it takes a long time. I regularly upload 60 GB files on a 20 Mbps up residential connection. It usually takes 3-4 hours (maybe more, I usually start the upload when I'm done working for the day).

It's not that big of a deal as long as you don't sit there and stare at the progress bar the entire time.
Later Amigas supported VGA timings. The Amiga 3000 through de-interlacing "scandoubling" "flicker-fixer" hardware, which had been an add-on for Amiga 2000. ECS and AGA chipsets had "Productivity Mode" but only desktop programs used them, and ECS only with up to four colours on screen at once.

I used an Amiga 1200 with a VGA monitor for a few years. Because video modes were programmable, I traded a little refresh rate for higher screen resolution: 704×520 @ 50 Hz or thereabouts.
Thank you, I stand corrected then things finally started moving in the correct direction.

https://en.wikipedia.org/wiki/C23_(C_standard_revision)

> Variably-modified types (but not VLAs which are automatic variables allocated on the stack) become a mandatory feature

https://www.open-std.org/jtc1/sc22/wg14/www/docs/n2778.pdf
I have a Mikrotik at my home too.
Beside securing the device, I suggest to filter and logs all the DNS queries and to export netflows and firewall logs somewhere (ELK or clickhouse).
Benchmarks like this are misleading. Unless you're already webscale you wont need to manage this level of concurrency at high throughput.

Instead focus on tech decisions that enable you to ship what your paying customers want faster be it PHP, JavaScript, Node, Bun, Go…
I don’t find it weird. If we acknowledge that people are imperfect, then everyone should understand they will fall short of their own moral standards.
If you want to be able to implement nullary functions, then you need a nullary function to begin with. You are not really implementing anything besides maybe negating the constant you got. You would also have to extend { AND, NOT } with a constant. The best you could do would change from one binary function to one binary function and a constant.
They do, but I think the OP didn’t use Bun's native serve methods and instead used the same code for both Node and Bun, hence the subpar performance.
AI doesn't have all that much application to gamedev - people think "videogames have lots of AI", and don't realize that "game AI" and "stable diffusion/GPT AI" are about as related as Java and Javascript.

Game "AI" is meant to be fun to play (and win) against, they're not meant to be smart; that's why zombie games are so successful. Most "game AI" are finite state machines, throwing a neural network at the issue would be absurd overkill.

I'm sure there will be some AI applications in games (like procedural world generation or such, perhaps) but it's not the obvious connection that most people think.
Sure! None of this means fossil fuel propaganda is somehow defensible. It doesn’t mean marketing fossil fuels to children is defensible either.
How Big Pharma Company Stalled Potentially Lifesaving Vaccine Pursuit Profits
I'll agree that Kotlin is not hardcore FP (although you can get there some of the way with Arrow etc.), but FP in Java is clunky.

- Having to remember the difference between "Function", "Consumer", "Predicate" and "Supplier" is weird. In Kotlin (and basically every other typed FP language that I know), I just write the type signature the natural way.

- Having to use streams in order to use map, etc., is noisy. Why weren't these APIs retrofitted to collections?

- Checked exceptions are a pain with functional code, e.g. map.

- Mutability is still the default behaviour of almost everything in Java, save records (and strings).

etc.
Just recently the Greens got Germany to shutter their nuclear power plants increasing their use of coal.
> having a car, consuming cheap electricity, getting plastic toys from China delivered across the globe the next day and spending your holiday at the other end of the world is what destroyed the planet.

And any attempts to move away from that paradigm are heavily lobbied against by entities like Shell. It's hard to change habits, even harder to get an entire culture to change, and harder still when the change is being actively countered.
If we're lucky, the AGI will be the player and we'll be Commander Keen. If we're unlucky, we'll be the marine from Doom.

God mode with 7 billion lives!
Welcome to the information war.
By that logic, we should always be looking for another job, even when already working. It stops being a game of "having a second offer" and it becomes a "look for who wants to pay me more than what I am making at the moment".
What parts of Bun were you using? All the features I've used (that work*) are faster, the hard part is the compatibility is still lacking so turning on the Bun runtime over just using Node is tricky.
Yep, I have

listen [::]:443 ssl;
listen 443 ssl;

in the server block.
how's that better than a spreadsheet?
On the other hand, remote work is very popular today, but if employees want to work remotely, it's their problem to have a good internet. I tested the Blazor server on a poor cellular network where packets could be lost or there were random long delays in packet delivery, and the application was unstable. It was better to set long-polling and enable compression, which is disabled by default. This is also a problem with websockets - messages are not compressed. Long polling again was less resposnsive on good internet connection. I'm curious how this would work in various configurations of quic/http3.
Binance is indeed crushing it in the crypto market, by shrewdly positioning fraud not as a mere consequence of crypto, but as a direct goal of the business model!
Energy and energy availability certainly have saved many lives and made many others much better than they would've been, but that's not really due to energy companies.

Give the ownership of oil rights to other people / companies and they'd have done the same stuff, specially after the first waves of development. Attributing all the positives of cheap energy on humanity to oil companies and their employees seems like attributing the joy of music to the record labels.
Using MicroVMs for Gaming on Fedora Asahi Linux
I have written some moderately sized Rust programs without a single use of unsafe. As for macros... have you tried using C macros? Now that is ugly.
Ahh so they’ve decided to charge $20 for premium as an iCloud subscription just because somehow the near-trillion-dollar company can’t absorb a cost of doing business in terms of payment processing.

Even at $15 it’s still by far the most expensive service I’d be paying for, and I only watch an hour or two a month, so it represents pretty awful value for me. It may be different for you.
> because their agenda is not about nature reserves and factory waste treatment, but, first, anti-nuclear-plant and then anti-travel, antu-car-ownership, etc.

All of these things are indeed stupid imo, typical EU green party style navel gazing. The one I kind of agree with is anti-car-ownership, but it’s an extremely poor treatment of the symptom, where the decease is poor (and in many cases irreversible) city planning and public services. Excessive car ownership in urban areas is a solved problem in many parts of the world (where a car is less convenient than alternatives for personal travel for small families/households). It’s not rocket science.
> But it was self destructive, and I’ve seen many people who end up as reclusive as I was.

I won't give up; but I no longer freak out about it.

I am reclusive, apparently; at least, some friends have said so. I'm certainly not a misanthrope; I like people, and in general I trust them. But I don't trust "social media", in the Faceache/Twitter/X sense, and I've never had an account with those services. I have a couple of online accounts, and HN is one of them.

I've had one or two online-dating accounts, which I regret. If I try dating again, I'll do it organically, by joining some local interest group.

Being a "recluse" doesn't mean being some kind of hillbilly, who lives in the back of beyond, and answers the door with a loaded shotgun; it just means that you aren't desperate for friends.
Given that around 2-3rds of the S&P500 companies’ revenues comes from outside the US, I think it is a significant change in at least the world view of investing, besides it being about the reduction of “hegemony” and concentration of wealth/income in the US.
This was a well written article on AI. Good job new yorker journalist.
Well, the reason for the hate could be that OR things like oil companies sponsoring climate change deniers and exxon hiding results of their own study which shown that continued burning of fossil fuels will have catastrophic consequences.
Yeah, this is propaganda as I said.

Now you guys are listing security vulnerabilities when the topic was spyware. Everything has vulnerabilities. They are fixed. So what?
I mean, an ant has signs of life yet you wouldn't call it sentient.
The screen doesn't literally dim, but my experience is that the screen suddenly dims because this one part gets so much brighter than the pure SDR white it's surrounded by.

I'm not talking about this in the context of watching long videos or something, but when just browsing through stuff on sites like Reddit. I'll be clicking on the "expand image" button on a series of posts (using the old reddit design) and then suddenly one of them is a HDR video which makes the rest of the screen appear to dim until I close it. So we're not talking about "especially bright scenes". And I'm sure that if I fullscreened the video and the whole screen was covered by that single piece of HDR media, it would look alright.

My guess is that those videos are filmed on an iPhone in HDR mode.
If the executives at Zhima mess up they will be punished harshly?
Maybe the second line should be "listen 443 ssl;" (without the colon, like in the non-HTTPS version)? That's how it is in my config.

EDIT: orlp updated their comment above, this one is not relevant anymore.
Energy always increase the amount of transformation, good or bad, so it’s inherently an unknown gamble
But why not get rid of the phone when I feel like I'll get to the same result (breaking my addiction) way faster than keeping it?

I've tried not spending my time on my phone for years. Guess what I'm doing right now.
Blame Nvidia. They are the ones the got the industry hooked on a proprietry API.
My county has all real estate record available though the web.

When then Ashley Madison scandal hit, people used that to find out if anyone of their neighbors was having an affair.

Still we didn’t close off public access since it’s useful for more than shaming others.
I'd never heard of the Haber process, it was interesting to read about

according to wikipedia it cut the required farmland to feed a population in four. obviously it's hard to argue with more food for more people, but it clearly made urbanisation and overpopulation that much easier. quite a brilliant invention of engineering, but is it actually a good thing for a population to grow at that rate?
Home Depot self checkout is the worst, I was actually coming to these comments to call it out specifically.

There _no way_ to enter part codes. So if you grab a few washers, a bolt, and something else without a barcode on it you _have_ to have the assistant come over, login, then enter the codes/quantity.

I even took pictures of the barcodes in the aisle one time and it wouldn’t work, the assistant said those barcodes don’t scan, entered the 3 character code on the washer/bolt/etc is the only way.

At least at Kroger I can enter the produce code or search by name.
>This brings up the question - why market it as so much faster then?

Speed is somewhat the main selling point. It loses in most other metrics to node or deno. I think speed is a dumb thing to have as a main selling point too; nodejs/v8 are already quite fast, if I needed more speed I'd try to optimise it, before then rewriting it to rust. I want stability, soundness, features, a good toolchain etc.
Tried so many options, but this is most likely one of the top 3 tax software for crypto.
I am hoping for SYCL and SPIR-V to gain traction...
This is only slightly hyperbolic, after having checked it. Each GDoc tab (in Safari) took ~600 MiB. What caused the swap was the other browser window with two Gmail tabs, each of which took over 1 GiB, which when combined with some other apps I had open, broke it.

I stand corrected. 8 GiB might be enough IFF you're not doing heavy multi-tasking during development, and you're not coding in JS or its offshoots.

I will say the comments about "the SSD is so fast you won't notice" is true from an end-user perspective, in that I experienced no visible lag on any app. This may not be true with the smaller-capacity M2 models, since they have slower SSDs than the base M1s.
You can, but then JavaScript frameworks or "old" SSR/MVC are just better.
I have no problems with turnstyle on my PCs.

However, on my phone I cannot get past it. It's just an endless loop. The phone is an older model for the Indian market and the Firefox lags behind. So what, it's perfectly usable on 90% of the sites I want to visit. (Which excludes everything full of ads) I hate today's wasteful computing à la Android.

Edit: The article says there would be a report problem form. I have never seen that.
It's different because they are using a gas as an acousto-optic medium. This allowed them to work with laser intensities that are more than three orders of magnitude above the damage threshold of conventional solid-state acousto-optic modulators.

Achieving good diffraction efficiency (they report ~50%) with a gaseous medium is a serious engineering challenge since the refractive index variations due to sound waves are many orders of magnitude weaker than in solids.

I would suggest reading the original publication [1] for more details. It's open access.

[1] https://www.nature.com/articles/s41566-023-01304-y
I won’t comment on radiation levels and the impact on the body.

But the USA uses a standard head size for testing exposure which is based on something like a US soldier from the 70s and does not account for smaller heads IIRC.
How would an EU law apply to a U.S. company if it has no assets or operations in an EU jurisdiction?
It has been so since the time of religion.

The only difference now is that people are more aware of it.
why? job seekers are the ones making money from this. but you obviously must not charge until they have actually made money.. that keeps the incentives right.
> and instead used the same code for both Node and Bun

Wait, wasn't that the point of bun in the first place?!
Does anyone really think this will work? This isn’t cigarette advertising, which raises the profile of a directly harmful activity. Like what’s the best case for Shell here?

If you’re going to get upset about anything in games, get upset about loot boxes. Promoting gambling to children should be illegal. That’s psychologically damaging.
The bottleneck is not a tool, but what it does by doing “configuration management”, most of the time it repeats the same, well idempotent operations, which take time. This should be addressed not by tool but by a proper design.
Prepaid visa that I bought with cash at the supermarket. It’s a lot of work but it… worked.
basic web server, for example https://github.com/lionkor/http.

anything eith a real workload is kinda irrelevant here, as this benchmark only focuses on hello world.
This has been the case for a hundred years already.

It is why Santa is dressed in red. Why people buy diamond engagement rings. Why cigarettes were readily available for literally decades after they were already known to be harmful. And why American gun control laws have never matured despite all the evidence that proves the status quo isn’t viable.
Show HN: Transcriber – transcribe audio/video into TXT/SRT/VTT subtitles with AI
I couldn't view the blog post.

The "Just a moment" security check does not complete - sits there, with the busy icon, "Verifying".

Using Tor Browser, which will be why.

This is normal behaviour for Cloudflare sites.

Making a new circuit sooner or later gets past the check, usually after between two and five retries.

Curiously, I can never view Shopify sites. They always and fully block Tor.
> What we need is less bloat, more engineering and no lazy development by "packagemanager install lib-that-could-do-my-work"

Millions of voices suddenly cried out in terror, and were suddenly silenced.
Oil and gas is like the whale oil of the 19th century except that it has rooted deeply into civilization and will strike at anyone who tries to remove its influence. It has provided many great benefits to humanity and still has a function in society. However it needs a diminished role and it needs to stop blocking progress.

Its literally causing expensive electricity now and blocking cheap electricity.
what games are you thinking of buying this month? here's a list of the ones that most caught my eye
Note the gas station brand of vanilla Fortnite is “Spillx”. Cars and trucks have faster electric counterparts.

I guess having companies build out maps and use their assets was going to be a side effect of having user created content.

Company sponsored games aren’t new (80d had 7up-spot and cool-aid man). One of this years biggest movies is a doll brand. However I don’t think they’re fooling anyone.
As I understand the Node code here is specific to Node, so running it on Bun is slow. If they'd used the "native" http server it would be better I think
“Well, if AGI is gonna take over the world, better I develop it than someone else…”
> partnership to bring greater focus and urgency to the creation of artificial general intelligence (AGI)

Why is this urgent?
HN users have been fully brainwashed by the oil companies already.
Using Home Assistant to automate a play
I used Home Assistant to create a play about Judy Resnik, an amazing engineer that died on board of Space Shuttle Challenger.
I think you're misunderstanding.

1. Erlang makes sharing data easy, it does so through mailboxes. Data moves across actors constantly.

2. Erlang is not "Thread per Core". I think you're misunderstanding TPC as "there is one OS thread per CPU Core" and that is not the case.

Erlang is basically the exact opposite of the TPC design.
This kind of benchmarks will always be unfair, from implementation to libraries to compilation and in other to know why certain perform such way one have to know the core of the language
First question - is Fortnite even relevant anymore? The kids i know don't play it anymore been like 2 years. This shows how far behind O&G campaigns are. Unless they are trying out a marketing approach in a quiet space to hopefully build it out elswewhere.
> Cloudflare verifications are destroying the web.

Seconded.

At least for me, on Tor.

A lot of sites are behind Cloudflare.

The other killer problem of course are cookie-consent banners, and the considerable proportion of sites which have taken to emitting full-page modal dialogs the instant you view the site, or after you scroll down, or when you move the pointer upwards to pick another tab.

The amount of stuff you have to wade through to get to or use a site has reached the point where casual browsing isn't viable, not with Tor, not for me.
there really are a lot of "yes big oil may be bad, but here's why they aren't as bad as you think:"-type comments in this thread. maybe it's just a prevailing wind on HN though

perhaps this is just my bubble, but I don't think I've ever met a person in real life who tries to defend oil companies
Hell, plants show plenty of signs of life. What isn't clear is what this means when applied to a chatbot.
Why Genghis Khan was good for the planet (2011)
Which country? In Spain most of the broadband nowadays is fiber to the home and symmetric, I have one gigabit up/down. Pretty cheap too.
Anyone know if they are focusing on LLMs or something else entirely?
That sucks, but it's also just a business decision. If 97%(I made that up, but I wouldn't be surprised if it was that high) of purchases through Tor are fraudulent, then it makes a lot of sense to just not allow it. Take your money elsewhere.
Typesetting Jyutping Parallel Texts
And even then, should you not be more mad at the politician that took the money? As I wrote, I am with everyone who considers that bad or maybe even evil behavior, but without a lot of other people from consumers, to voters and politicians this would all have played out differently. Putting all the blame on Shell and friends might be convinient, but it is also lazy and dishonest.