skysight-inc/HackerNews huggingface dataset:
Writing Zig has been bringing me a lot of joy. It feels like I’m working with a machine again. The memory safety guardrails are just high enough to help out without feeling like a tourist trap.

There is space to enjoy writing code with someone’s PhD dissertation, untyped dynamic free for alls, and all that in between. Zig feels like a hacker's language.
More than likely this is it. Well done Bruce! Any insider info on it?
Presumptive Bird Flu Case Identified in San Francisco Resident
DailyKos Blames Tesla for Battery Fire That Has Nothing to Do with Tesla
Hy from Brazil... You know, a poor country.

We make single-level houses with a reinforced concrete structure, because it's cheap.

You know what isn't cheap? Wood. Wood is incredibly expensive to put into a shape, even if you are willing to cut forests down to get it.
Fire at battery power plant in Moss Landing
CHDK is what came to mind for me too. I used to make great time lapses with it. 10/10 software.

It looks like they have firmware for the G5 X, but not the G5 X 2. :/
For cursor you can chat and ask @codebase and it will do rag (or equivalent) to answer your question
It’s a silly world where people who never worked send people who only worked as mobsters to take money from people who work for a living. Then the first two groups share that money in 999999:1 proportion. They call it “taxation”.

It has upsides like having an army for defense, roads and other common things. But don’t forget the primary nature and motivation behind it. They just want your money, and your offspring to please them in various ways.
30 seconds of googling easily disproves your claim that only one billionaire backed Trump.

https://www.businessinsider.com/which-billionaires-support-d...
That is absurd and annoying - you might prefer to just get a USB remote shutter release for future work.
When you ship millions of units of the kit, you only need a small savings per unit for the sum total to become a big enough saving to be noticeable to the financial dept. bean counters.
Lots of other countries other than the US banned this dye years ago. So what changed in the US? Logically speaking we didn't just come to our collective senses. Did government lobbying budgets dry up? Or did the cost just increase where it wasn't worth paying anymore?
I assume when they said that only most games are compatible, the exceptions would be the ones that require the OG Switch's physical hardware. From what I heard Ringfit and Labo were only compatible with the OG Switch (not even the existing Switch OLED) because they're designed to fit specifically with its design.
I know you’re joking, but Arabic doesn’t write short vowels only. A as in “ah” is still written, so it would be “Abjd”
R&D for starship has a several-billion-dollar NASA grant. Something like 30-50% of the money being blown up on this program is taxpayer money.
If you cooled the mixture at low enough temperature, you'd stop it from burning (like when you pour water on top of a camp fire), but it's not clear how you're supposed to do that in a spaceship where you can't carry a few tons of water for your sprinklers.
what's wrong with luajit ? (I never used it)

edit: sorry I should have searched, Luajit only supports up to Lua 5.1
It's a pun. As in, "parks a car."
Consider the big changes between PCIe 5.0 to 6.0 and how similar 6.0 and 7.0 it is I wonder if we could see 7.0 adopted much quicker than 6.0.

Cant wait to see ConnectX-9 with 1600Gbps bandwidth.
Realtime compression in a portable device with limited processing power is going to reduce quality. It is better to transport uncompressed video and let the receiver decide how to manage it. USB-3 has adequate bandwidth for doing this. USB-C lets you switch to DisplayPort if the receiver can handle it.
Steps to junk science that can achieve worldly success
Patchworks of rules and exceptions can be beneficial. It allows for experimentation and/or competition as well as the fact that regulations can often enough not keep up with change and they can be more entrenched if done at a higher level. Where, when, and what is better harmonized across a whole market VS allowing variation is a matter of debate.
> ...operational achievement, not an engineering one.

How would I distinquish between the two, esp wrt rocketry?
Casey Muratori has a clip [0] discussing the performance differences between Visual Studio in 2004 vs. today.

Anecdotally, I’ve been playing AoE2: DE a lot recently, and have noticed it briefly stuttering / freezing during battles. My PC isn’t state of the art by any means (Ryzen 7 3700X, 32GB PC4-24000, RX580 8GB), but this is an isometric RTS we’re talking about. In 2004, I was playing AoE2 (the original) on an AMD XP2000+ with maybe 1GB of RAM at most. I do not ever remember it stuttering, freezing, or in any way struggling. Prior to that, I was playing it on a Pentium III 550 MHz, and a Celeron 333 MHz. Same thing.

A great anti-example of this pattern is Factorio. It’s also an isometric top-down game, with RTS elements, but the devs are serious about performance. It’s tracking god knows how many tens or hundreds of thousands of objects (they’re simulating fluid flow in pipes FFS), with a goal of 60 FPS/UPS.

Yes, computers today are doing more than computers from the 80s or 90s, but the hardware is so many orders of magnitude faster that it shouldn’t matter. Software is by and large slower, and it’s a deliberate choice, because it doesn’t have to be that way.

[0]: https://www.youtube.com/watch?v=MR4i3Ho9zZY
> If we can't afford the current system,

What we can and cannot afford is a choice, not some immutable fact of nature.

A cynical, if realist, version of this would be: if we choose to not spend any more ...

But that's still better since it acknowledges that we, as a nation, have agency in this.
"Untangling your ego" - Thank you for verbalizing that. I've not been working for almost 2 months now, and there has definitely been a process of disconnecting from who I was when working to who I am when I am mostly free to do whatever I want for a few months/years.

I've been trying to express to other people who have lost jobs that this is the positive side of it: Letting go of it all, thinking about who you really are and where you really want your life to go before making decisions on your next move. I'm trying to encourage people to take time to go through this process before just jumping straight into new efforts.

Like the article said, good ideas can sound bad, and bad ideas can sound good, so those of us who have the luxury of living in limbo for a while should take this as a golden opportunity to let all that shake out before committing to a new direction.
How to go from idea to #2 in App Store in 72hrs
Man, this is a misanthropic take on things. Do you have any data for this?
Too bad the first program in the article leaks its file descriptor.

Memory is but one resource you need to manage. File descriptors are the first oft overlooked resource in a long list of neglected finite resources.
I sort of did the same. Quit a job and joined a start-up consultancy as a partner. The politics of that were a little tiresome after 6 years (and that was probably due to the post dot com crash year or two).

I then moved to Canada, consulted for a couple years with legacy American companies and then got enticed to take an executive gig at a Canadian "start-up" (that basically turned in to a consultancy). 8.5 years of that and I was pretty unfulfilled and very stressed.

So I went back to consulting. I will say that Canadian health care made that decision easier, but in 2022 I started my move back to the US.

Still consulting, but for sure, that health insurance bill makes me take projects that remind me of why I left the executive gig.

That said, I've never wanted to fully "retire". I like the work, I just don't like the unreasonable parameters most engagements have, and I'm hoping that in a couple years (when mortgage and some other expenses are over) that I can go back to maintaining healthy boundaries with clients and work.

Because, I do like the work. I just don't like the grinding.

-s
Some outlets originally blamed Tesla, but it apparently has nothing to do with Tesla.

https://x.com/SawyerMerritt/status/1880154231232962777
Yeah, other fast food chains use M4B kiosks which work much smoother. Although upsells are still there ;)
That is a softball question for an AI: this block of code is throwing these errors, can you tell me why?
Zig is strictly better than C. It has a better interop story than Rust. The biggest downside right now is that it isn't stable.
Guide to Transforming AI Business
I was also wondering which parks GM owned, and thought "claims" was a verb.
Does this belong in Show HN?
Dunno if anyone stil sees this but.. the gadget came from Ali.

Phone doesn't charge through it. However, my work laptop does. If this thing is plugged in between its USB-C dock and the laptop, it is powered, but the dock is not otherwise seen. So the USB-C socket is a full power delivery passthrough but that's all it is.

The USB-A port does work; a mouse plugged into it is seen by the laptop. Didn't test the HDMI output.

For the phone: Useless. Obviously this phone does not do USB-PD. It just expects the power adapter to deliver 5V. So a limitation with this phone; I'll never be able to simultaneously power it and also get an OTG USB connection.
That is an all time favorite that I've come back to many times over the years. It's hard to choose just one quote, but this one always hits for me:

> You are an expert in all these technologies, and that’s a good thing, because that expertise let you spend only six hours figuring out what went wrong, as opposed to losing your job.
I've been trying to understand what Zig place is in the world so I can learn more about it. I like the idea of simplicity in programming languages but, other than that and since there's Go already, what is the proposition here?

In particular:

- LLVM is not enough, let's write our own compiler.

- Interfaces are an overhead, use comptime instead or roll your own vtables.

- In a world where "memory unsafe" languages are under attack... yeah, we don't care about that.

I'm not trolling, this are serious questions from afar that I would love to figure out before investing time with Zig.
> Another XZ-like backdoor attempt will come to light.

it may not. if I discovered an operation like this, I'd probably find a way to prove it and then set up a monero wallet and say it's going to cost the creepy agency whoever they are $100k USD a month to not publish. there are others who say this has already happened.
The C/C++ dropin compiler replacement in Zig now seems like a missed opportunity in Rust. Would that even be possible?
The pizza thing seemed incredibly silly to me. Surely the restaurant has already paid the tax when they bought the raw ingredients? Must any product served in a restaurant be taxed according to the rate of the most highly taxed ingredient in it, regardless of proportion?

So I looked it up. And yes, that is exactly the case, and it's an absurd situation that is causing massive headaches.

https://www.bbc.co.uk/news/world-asia-india-63281037
I stand corrected--didn't notice at first. I do prefer the crossfade, admittedly.
Uhh... lawyers are doing quite well for themselves, aren't they?
"Kind of the same" here. I'm being laid off for economic reasons and I'm lucky that my country helps me. My salary is maintained at ~70% tax free for a year while I'm searching for a new job or following trainings.

This means that I have a "sabbatical" year ahead of me if I want to. I'm planning on 2 months before working again and in the meantime I'm learning Rust (coming from Typescript), although I don't think I'll land a job for it.

What's the most frightening are:

- the personal finances (I've got a house to pay!)

- I'll need to calm down on my hobbies

- the comparisons with other developers

- will I find a job? I may be lurking /r/recruitinghell to much...

I've been working for 10 years in the industry already but there's always doubt. Should I continue programming? TBH I don't see myself doing something else and I'd miss WFH too much.

Ahhhh...
How are you making this claim? Every time a hurricane hits Florida, there are photos of entire neighborhoods devastated by wind and storm surge. How many people were permanently displaced by Katrine? Etc. Maybe many of the homes weren't technically "destroyed", but each storm brings millions or billions in damage.
I wonder if there's a business opportunity hiding in there for somebody to mod away the tracking from new cars.

On my end, I've never bought a car with that crap in it, and I've never purchased from a dealer who also sells new cars. I shouldn't have any trouble keeping my car nice for another 30yrs, probably replacing the engine and transmission once ($3-4k/ea in today's dollars if I shop around). Hopefully other free-market alternatives exist by then.
SpaceX’s track record is too fetishized by the Musk fanboys. Falcon 9 has some weird Demi god status even though the launch vehicle is no different than the competitor like Soyuz.
>Isn't that a bit misleading?

In practice yes, but technically no. If a "non-profit" brings in 100 million dollars, and pays all 100 employees a million dollar salary, then that "non-profit" has made no profit. But when someone hears that a "non-profit" made "100 million" dollars, they think it is some kind of scam or something.
AI-designed proteins tackle century-old problem – making snake antivenoms
Are you sure that your SQL query is correct?
Most emitted CO2 also remains in the carbon cycle.

What matters is accumulation at a particular point in the cycle because CO₂ is added to the atmosphere faster than it is removed. If it is removed faster then it ceases to be a problem.
This reminds me of maybe the worst tax in human history which is also unconstitutional. The Pauschalabgabe[0] in Germany, which also got adopted in other countries, implements a freely decidable flatrate tax on all mediums which can be used to create a pirated copy.

How much tax for a laser printer? Well it depends how fast it prints:

Up to 14 pages/Minute: 25,00 €
Up to 39 pages/Minute: 50,00 €
From 40 pages/Minute: 87,50 €

For every storage medium this tax has been paid, because of the possibility of making a pirated copy. Technically we all paid already to make pirates copies.

0. https://de.m.wikipedia.org/wiki/Pauschalabgabe
Where do you get that idea? It's in no way implied in GP's comment. These practices don't have to benefit the company at all. GP is just saying, as long as enough people keep buying despite the practices, then the practices will continue.
I find it amusing that you think privacy rights should only be for buyers and not renters.
Nikon's HDMI output works just fine on MacOS.
Even more amazing is that it has always been that good, since 20 years ago at least.
Simple answer: Anywhere you'd use C, and want a nicer language. So: embedded, operating systems, drivers, compilers, PC applications etc.

I would love to try it out with a serious project, but am waiting on libs like HALs for microcontrollers, GPU API bindings, GUIs etc to mature to a usable point.
I think the best solution is to own much less.

People keep wanting to live in huge space that they barely use, then buy a fuckton of appliances they use once or twice a month at the maximum and hoard stuff like there is no tomorrow. Then they cry when they lose everything or that nobody want to insure their pile of crap. Just insure the minimum to live comfortably. It is much lower than what you can think of.

Since I have been moving every 4 to 5 years I have been focusing on never hoarding too much stuff. My appartment can burn, I will be fine and as long as I can find a small roof[1] for me and my family (1 partner 2 teenagers) and we could buy back what we need to live comfortably with less than 10k€ and then rebuild gradually to live in a normally sized[2] appartment/house.

[1] by my standards, which I rate at 20 to 25sq/m per person living in the household.

[2] a bungalow, yurt, caravan or large camper would be enough for a disaster recovery.
One of the obvious "wtf?" things about this regulation is that regulators believe 29 minutes of video doesn't qualify as video?
Yep! But realistically I'm just one dude with a home network and a few VPSes doing BGP. How many /48s do I need? I was experimenting with traffic engineering so I did announce some /48's out of the /44 but that got old pretty quick.
>> I try to keep that in mind when I’m excavating today; scholars of the future are counting on us to leave the best documentation we can.

The answer is to stop digging. It is understood that imaging techniques will eventually be good enough that artifacts may soon be studdied without disturbing the surrounding soil, without destroying all that evidence that future generations might be able to use. Of course that means disrupting the dig-to-museum/auction/television pipeline that funds the field.
> That is actually how pretty much all new houses in the UK are constructed

This claim struck me as unlikely, so I did a quick fact check.

Accroding to the most recent report I could find[1]: "Figures from the National House Building (NHBC) suggest that timber frame market share has developed from 19% in 2015 to 22% in 2021 and that market conditions, as described above, present the opportunity for this to develop to circa 27% by the end of the forecast period (2025)"

This appears to be driven by Scotland where 92% of new builds were timber framed in 2019, while in England (where the majority of new houses are built) it was just 9%.

[1] https://members.structuraltimber.co.uk/assets/library/stamar...
So basically if I get out of the store not paying I'm going to jail, but big companies when doing crime, they promise they will behave for five years, and then go on, but more openly? And what about people who were victims?
Maybe, but these subsidies to insurance are the result of voters complaining! The folks they complained to just took the easy way out and instead of annoying powerful entities and forcing them to treat the climate better, they just messed up the insurance market and spread the risk around.

The same people who have the power to fix it always have and they've almost always taken the easy way out. The few times anyone's tried to do real changes on these issues, the other externalities of the changes has usually led to voters rejecting them.
There are thousands of billionaires that support both sides. But not with mega donations. For example, 450M that Zuck donated on the previous election. I think Musk donated ~150M this election but that's all anyone would talk about.

When I talk about support, I'm talking about big financial support, not just "hey, I voted".

That doesn't count slanted media coverage, censorship on facebook, Twitter, that you really can't even put a price on.
If you want the mountain of data showing correlation of divorce with shutdown of plants, unemployment etc I will find it. But it's common knowledge. You only have a couple years to easily lock in imputed income at their high earnings.
It will probably continue to send location information, vehicle speeds, and telemetry data back to Mazda even after you let the subscription lapse. We know GM and other car makers do this, so it's safest to assume they all do.
Absolutely but when you set up one as a webcam you usually leave it in place as a webcam setup unless you want natural bokeths only from time to time. It also depends on the line of work, if you're in some media related field and it is required to have pristine streaming, well, that is a whole different story.
I don’t know but do they have ~7.9 earthquakes like California? I’ll bet they were not multi story homes with vaulted ceilings, giant glass windows with tons of natural light, and efficient insulation?

Wood is extremely cheap, and extremely earthquake resistant… it is an appropriate material for the area despite a slightly higher fire risk.
> It's also very annoying when disabled, because it keeps asking to enable it, which is often a good sign that you actually don't want it.

... or maybe it means you do really do need it?
I guess what I was thinking was: even if you can't quantify it, you can squint at the comparative advantages and trade-offs and make a qualitative, yet objective judgement call.
It can be done manually:

https://dba.stackexchange.com/questions/306661/how-to-instal...
America isn't the only place having an uptick in extreme weather events, though.
It’s not just the exterior material. You also need to screen or eliminate openings that embers can penetrate.
>LLVM is not enough, let's write our own compiler.

That is for speed during debug builds. For production builds zig will still rely on LLVM
A lot of people have been shitting on SLS for being too expensive over the last 5 years, but it's worth noting that the Artemis program has been completely fucked due to SpaceX massively missing its milestones on Starship. So many people believe that Elon Musk is going to bring humanity back to the Moon, but he is largely the reason that humanity is not back on the moon already.

The GAO put out a report on this a few months ago, pointing out the failures of SpaceX here (including massive cost overruns) much more than the supposed cost overruns of SLS. Incidentally, after this GAO report came out, Elon Musk became very interested in being in charge of managing "government waste."
Right, that is the purpose of insurance, to take risk and spread it across a population.

Now the simplest way of doing that is you decide whether someone is "insurable" or "uninsurable" and then for everyone insurable, you define payout criteria and a fair pay in rate (premiums) which is based on your ability to calculate their risk and taking some extra on top for providing the service.

Your skill at:

1. assessing risk correctly as to whether you take them on as clients

2. calculating their risk correctly and mapping it to a price to charge them (premiums)

3. defining payouts in a way that allows you to pay out when things happen to your clients so others trust you to pay out, but not so often that you have no working capital

broadly determine how well you'll do.

You can do all kinds of other complicated things on top of that, but from what I can tell, the fundamental idea seems to be that given those considerations, the insurer pays out, so the fact that someone has a high risk home should be priced into their premiums or they should not have been taken on in the first place.

Now you appear to dislike that people who have different risk profiles are grouped together, what I'm trying to understand is how that works.

For example, in the case of the house burning down:

1. The insurer pays the homeowner out and increases their premiums

2. The insurer pays the homeowner out and places them into a different risk category of people who own similar homes, but have had their house burn down, works out their new premiums, which are now likely much higher as they're in a riskier category and it's likely that population is smaller.

I assume you're arguing for something like 2 to happen?

Or is it something else?
The engines are able to throttle but they run all of them at 100% throttle for most of the second stage's first burn, I expect. For efficiency. The telemetry showed all of them firing at the same time. The vacuum engines will be used by themselves for on orbit maneuvers and the sea level engines will be used by themselves for landing, but for the first burn to reach orbit they need all the thrust they can get.
It can be done manually:

https://dba.stackexchange.com/questions/306661/how-to-instal...

reply
Congratulations for neatly excluding Apollo 1, Columbia and Challenger's crews, may their memories rest heavy on your conscience.

Your supposed excellent programs killed people.
your employer doesn't need you ... or did the company go broke after you left? your employer uses you. big difference. your parents, your friends, your siblings, your pets need you. think about it.
please add a robots.txt, its quite a d### move to people who build responsible crawlers for fun.