MurphyA/hacker-news huggingface dataset:
by pron | 2025-04-03 08:41:20+00:00
Because these are ranked by prevalence x severity, and most programs are written in memory-safe languages, the UB-related weaknesses are probably at the top of the list for programs written in C or C++, especially because "ordinary" servers are usually not written in those languages. But the point is that, indeed, even within these unsafe languages, not all kinds of unsafety are equal.

It is true to say that memory-safety issues are among the biggest problems in C and C++, but it is not true to say that unless you absolutely prevent them all you remain in the same spot. If you significantly reduce or prevent some of the memory safety issues, you're in a place that's not too different from that of programs in memory-safe languages.
by silisili | 2025-04-03 08:41:30+00:00
I think durability on old Thinkpads is way underrated as a reason people love them.

Me, as a 250ish lb giant, have stepped on one multiple times without so much as a creak. Granted, it was on accident each time and I'm sure perfect heel placement could have done the job if I tried.

Even so, can Framework do the same? Can anyone else making laptops today?
by stubish | 2025-04-03 08:41:40+00:00
Sorry, I thought the Financial Times one had been unflagged, but must have been looking at the wrong tab. I don't see how they are dupes though - both are about todays (yesterdays?) numbers released by Tesla. There have been a lot of articles speculating demand in various countries (also flagged to oblivion), but this is about actual deliveries this last quarter with actual numbers. They also both did hit the front page before being flagged. The ft one sitting at 135 votes at https://hn.algolia.com/?dateRange=last24h, just above Lois Borge meeting a founder of AI. This is what happens - articles get upvoted because people are interested, hit the front page, get noticed by the flaggers when they come online, and get flagged.
by trhway | 2025-04-03 08:42:31+00:00
mainly it isn't the price of solar panels. How do you put it on the car's curved metal panels (or you're going to redesign the car into something like Cybertruck?) without worsening aerodynamics, without much additional holes and additional weight and in the way that will hold the panels for the next 7-10 years, rain, snow or shine while these panels wouldn't get easily damaged by carwash, etc., and you also need to put all these wires in some sensible way to minimize risk of various failures and repairs and you'd have to price in additional warranty service for all that additional stuff ... so it is a large and expensive thing to put into mass production.

>Even if it costs a couple thousand extra, the panels will pay for themselves by giving you basically free commutes forever.

Say you get 1.5KW, 3x of best Aptera, 8 hours, 12KWh, i.e. about $3.60/day or it can be thought as a replacement of 1 gallon of gas (at 30% efficiency), still $4. Thus $1000/year. And i don't think the feature can be put into cars at $2K. More like $3-$5K optimistically.
by robertlagrant | 2025-04-03 08:42:31+00:00
> I always find it a little nervewracking for a JS application to have state in React state variables and any other kind of state. Some ImGUI frameworks have components that look superficially like React components but are fast enough to animate every frame, which makes me feel like I am in control and get the animation to look exactly what I want

I know what you mean there. I had the same feeling back when I was doing frontend things.
by mazzystar | 2025-04-03 08:43:29+00:00
Hi, I made a little gadget that allows you to virtually travel by watching YouTube videos, such as strolling down Fifth Avenue, exploring Italian cities or walking through the streets of Tokyo, using the Gemini Vision API.

I know it's a bit crude and I'm not sure how to monetise it. I just find the idea fascinating and it has been on my mind for a while. I want to build it quickly, release it and then forget about it.

At the moment I'm burning through my own tokens, so if you find the service unavailable, it's because the token has been used up :(
by mistercheph | 2025-04-03 08:43:35+00:00
I’m not sure what you lose by the expansion bay port being an actual standard port rather than something proprietary I’m assuming is what you would prefer? There is a grip system where the expansion ports lock in, and the ports aren’t just hanging by the USB-c male, I have not heard of instances where the inner port fails. In fact, it’s pretty convenient and has come in handy for me that in a pinch you can remove the expansion modules and have extra usb-c ports.
by 0xEF | 2025-04-03 08:43:49+00:00
Yeah, the price is the only thing that holds me back from trying a Framework 13.

I have a few Thinkpad X260s which can be got on eBay for $100US. Drop in a fresh SSD and stick of 16gb memory for another $100US and you have a very capable little machine for common, daily use that suits all my needs more than adequately. If one gets damaged, I am not out too much money. I've been using two for about 4 years now, one as my daily driver at home and one that goes on the road with me. I have not needed to further upgrade either one beyond what I did initially when buying* them. So, with that in mind, I think use-case has a lot to do with whether or not someone can get away with running the more disposable cheap-but-good Thinkpad like I do.

But >$800US for a Framework 13 that bends like a reed in the wind is not a smart choice for me. I really like their ethos of modularity, too, but there's just no way I'm hitting that cost anytime soon.

*Note on buying Thinkpad from eBay: yes, collectors have ruined the price of some models, but not all. Lots of the X Series models are still very cheap, but please do not support sellers who are offering cheap laptops without a battery and power cable. Be patient and dig, you'll find the ones who are selling you a complete, useable machine for cheap. Unfortunately, eBay is flooded with a lot of vulture tech resellers that part perfectly good batteries from devices so they can make more money selling you both separately.
by robertlagrant | 2025-04-03 08:43:50+00:00
> Democratically elected leader's duty is to present the policies he plans to implement so that voters can decide if they want them implemented.

That's 100% not true. A candidate leader might tell you what they're going to do, and then you elect the leader, and then they do them, but they don't propose plans once in power to see if the electorate like them.

As much as I'm not a Trump fan, I really don't like that people use a separate yardstick to measure him vs people they like.
by fsloth | 2025-04-03 08:43:54+00:00
Being doing toy-examples of non-trivial complexity. Architecting the code so context is obvious and there are clear breadcrumbs everywhere is the key. And the LLM can do most of this. Prototype-> refactor/cleanup -> more features -> refactor / cleanup add architectural notes.

If you know what a well architected piece of code is supposed to look like, and you proceed in steps, LLM gets quite far as long as you are handholding it. So this is usable for non-trivial _familiar_ code where typing it all would be slower than prompting the llm. Maintaining LLM context is the key here imo and stopping it when you see weird stuff. So it requires you act as thr senior partner PR:ing everyhting.
by cess11 | 2025-04-03 08:44:01+00:00
Wild how this person starts off with 'I don't like collective thought and action' and lands in 'so I joined a gambling addicted cult using discrete math from high school and advocates for it with pop culture tropes'.

The audacity to discard millennia of history and philosophy with 'no one's got time for that' and substituting it with a crude gambling scheme is just astounding. QAnon for the well-off, a cognitive technique to get out of having to deal with systemic injustice because 'sometimes rentiers also feel bad so there is actually suffering on both sides'.

In a way it's similar to some forms of antisemitism, antisemitism as "der Sozialismus der dummen Kerle", noticing some superficial conditions but instead of following through to develop a worldview copping out and getting an obsession with a simple, consistently applied reasoning. The jews did you nasty because you're not one of them. You did a bad bet because you were controlled by your tribe, unlike me, the enlightened high schooler who isn't loyal to anyone but myself.

Like antisemitism it's the position of a loser refusing to join forces with other people to try and cause systemic change based on their common material interests. Yes, I see that the banks are exploiting us, but no, I won't join your 'tribe', instead I'm going to make tables detailing the ancestry of the bankers. Yes, I see that were going down the drain but instead of joining your movement to put pressure on people in power I'm going to spend the evening making a flowchart and cherry pick some statistics and then give money to a cult that agrees with this approach.

If you meet someone like this, you should absolutely engage with them on contemporary, political issues. As soon as you get them to agree that something is bad, tell them to come to a meeting, be it a union, dinner, protest, whatever. Insist, don't take a no for an answer. Make it a challenge, whatever it takes. If it doesn't work the first time, try again next time you meet. These people need help and empathy, and to be among people at least sometimes when they're away from their screens.
by roflmaostc | 2025-04-03 08:44:17+00:00
I changed recently from X1 Yoga Gen 2 to X1 Yoga (2-in-1) Gen 9. The decline in quality is so clearly visible, the external pen is poorly designed and died after 6 months. The hinges are as loose as in a 600$ laptop. The whole thing makes cracking noises under slight stress. Also, Linux compatibility is poor, my Webcam still does not work. Battery lifetime is a joke too.

Lenovo made this Laptop worse than 7 years ago, and it's their top line model for > 2000$. It's such a shame and sad to see. There's no very good alternative with integrated touchscreen and stylus.
by dontlaugh | 2025-04-03 08:44:27+00:00
Not having to drive is usually much nicer, though. You can do something else while travelling, you don’t have to plan around where you leave your valuable vehicle, you can drink alcohol, etc.

Either way, for occasional driving to be pleasant it’s necessary for most travel to happen by public transport, so it has to be the most convenient option for most journeys.
by rcxdude | 2025-04-03 08:44:39+00:00
There's two different classes in the WSC - one is basically 'make a race car' with very little view to practicality, most of the rules are about limiting the competitive speed to be below the speed limit and having some semblance of safety. Entries to this one are almost always 3 wheeled because it's optimal from an efficiency point of view (aerodynamics and rolling resistance). (Two-wheeled designs are not allowed). The other class (which the car you linked entered under) is meant to be a bit closer to a practical vehicle, and one of the rules is that it needs to have four wheels. It also is allowed a larger battery, which can be charged at certain points during the race (the other class starts with a fully charged battery but it's nowhere near enough for the race, and only solar power is allowed from that point on).
by pembrook | 2025-04-03 08:44:39+00:00
This is down from $23B in 2019, and is basically just fertilizer and minerals used to make fertilizer.

Fertilizer is not sanctioned due to the fact it’s needed for food security in the EU (surprise suprise, the EU is not just insecure domestically in terms of military and energy and technology, but also in terms of fertilizers needed to grow food, fantastic governance they have over there…leaving potash mining or nat gas extraction to other countries does look good for those domestic net zero calculations though!).
by goatlover | 2025-04-03 08:44:42+00:00
Their framing needs to acknowledge that the fetus is part of the mother's body, not an independent life, and that child birth has risks. Thus the autonomy of the mother over her own body has to be part of the discussion. Their framing can't depend on a soul entering at conception, or God/their sacred scripture telling them abortion is murder. That's not a rational or legal basis for compelling other people who don't believe that way.

If they want to enter a scientific discussion on viability and neural development for when to start placing limits on abortion, and how making victims of rape or incest carry to term is ethical, then we can have a meaningful discussion.

Otherwise, they can feel free to go have their own theocratic community in the wilderness where they don't choose to have abortion. Also known as Alabama these days, unfortunately for those stuck wandering the wilderness with them.
by maxlin | 2025-04-03 08:44:53+00:00
No it isn't ok to patronize X users with a false precedent. X and Grok work very well together, one can ask questions and get relevant, and RECENT posts by X users answering that query, something other LLM's can't really do.

Content created by X users is for X users to find either through their feed, basic search, or Grok. There's no foul play here, and how Grok uses data on X is not hard to defend even from a basic "better search" angle. Your "emphatize" comment sounds like "will someone think of the african children" kind of detached waste of breath, something the Chinese call "Baizuo".
by myrmidon | 2025-04-03 08:45:05+00:00
This is a very interesting take, and I agree with your perspective.

I think the "anti-woke" messaging was a particularly effective example, because in reality this means completely different things to many voters (some of those contradictory).

Your nuclear position is interesting, and has become significantly more common over the last decade I feel. Personally, I disagree-- In my view, nuclear power is not on a trajectory where it is ever gonna be competitive (levelized cost) with renewable power. This will lead to renewables "ruining" electricity spot prices whenever they are available which is very bad for nuclear power economics. Nuclear power also shares basically the same drawback with renewables that it wants to be paired with peaker plants for dispatchability (instead of operating in load-following mode itself), but renewables basically just do it cheaper.

At this point, it would basically take a miracle for me to believe in nuclear power again (a very cheap, safe, simple, clean, quick-to-build reactor design) but I don't see this happening any time soon (and honestly the exact same argument applies to fusion power even more strongly-- I think that is an interesting research direction that will never find major a application in power generation).

I will concede however that nuclear power that was built 10-30 years ago (before renewables were really competitive) was and is helpful to reduce CO2 emissions.
by foota | 2025-04-03 08:45:19+00:00
> If the people aren't there, wages will rise until they show up. Most labor shortages aren't an actual shortage of labor, unless you genuinely can't produce that skillset domestically, or your labor market is so tight that no one is unemployed; rather, they're a shortage of wages

I don't know about this in the US. Sure, we're not at full employment, but I don't know how factory jobs are going to change that. My impression is that there is already a deficit in labor willing to work hard for good pay (construction, trucking, etc.,) and tightening immigration policies will make this even worse.
Show HN: I made a site with current and predicted Apple M processor benchmarks
by rubjo | 2025-04-03 08:45:40+00:00
Answers questions like: - Should I hold off one more processor generation before upgrading? - What kind of performance jump can be expected across one or multiple generations? - Will I get dizzy by looking at this star field/hyperdrive thingy for a long time?

Uses the current data from Geekbench (https://browser.geekbench.com/mac-benchmarks).

This is a simple chart site. I'm sure there are tons of ways it could be expanded, like: - Include other benchmarks and things like "real-world" tests, like typical suites of various operations in photo/video editors, AI image/video generation, media encoding etc. - Include comparison data for other processors (Intel/AMD/others) as well - Easier comparison between two specific processor models - Compare stats across processor tiers (base/Pro/Max/Ultra), not just processor generations - Adjustments for UI, responsive, light mode etc.

...but I kind of like it simple and just wanted to come up with something as a quick test.

Suggestions for improvements, especially in the form of pull requests, are welcome: https://github.com/rubjo/m-bench

Слава Україні! - Slava Ukraini!
by esskay | 2025-04-03 08:45:47+00:00
I've not looked at it in a few months but fairly sure its not pirated, its just online streams of FTA channels. All the UK ones for example are are just the UK's free to air broadcasters and someones figured out the urls to the feeds they use on their websites and apps.

Lots of the US and CA ones look to be the same sort of situation. You'll find most wont work without a VPN as they are geo blocked.
by bambax | 2025-04-03 08:46:20+00:00
> the midterms will hit

The plan may be that there are no more elections, or that the only people who are allowed to vote are identified MAGA supporters. Does this seem impossible? Everything Trump has done would have been considered impossible only a couple of months ago.

What Trump reveals is the utter apathy of Americans. They're sheep in lions' clothing, not the other way around.
by troupo | 2025-04-03 08:46:31+00:00
> What I described as separation is a a decomposition into modules which are linked together through a contract.

wat

> Without cascading, we would probably have components and inheritance.

indeed. That is why I wrote what I wrote about BEM and CSS Scoping

> They're not required, but they make it easier to build the UI as it almost always have a tree structure.

Those systems have support, but there's rarely, if ever, a true separation of styling and structure. There's a reason for that, illustrated here: https://x.com/simonswiss/status/1664736786671869952

The separation between CSS and HTML is a good idea in a very theoretical abstract academic sense. It never ever worked in practice.
by intended | 2025-04-03 08:46:55+00:00
There is no logic to these things. This is the emperors new clothes, over and over again.

The proximate cause for these tariffs is not some future event. This is post fact rationalization.

The proximate cause is still the ongoing “information” war which determines the perceived reality that is litigated in elections.

Earlier politicians played theater, acting as if the red meat being fed to voters was real on TV, but dealing with reality as need be when it came to decision making.

This was a betrayal of voters, who saw their election efforts result in legislators who didnt do what they said.

Trump does what he says. He believes WWE is real, and acts as if it is. His base believes it is real, and now reality is crashing with the fiction.

The fiction will prevail, because his party has also been working to build the power to enact their will.

Everyone sees logic here, the same way that everyone saw the emperors clothes. The alternative is illogical.

This is the reason potential reasons “we dont know” have to be postulated (war / China can make more ammunition)
by Parae | 2025-04-03 08:47:15+00:00
Really great project and nice collection ! There also are some non-open source but still hackable synth out there, such as the Korg NTS-1. It's not exactly DIY but a "mount it yourself kit" and Korg maintains a C and C++ SDK for oscillo and fx.

Funny part with the x0xb0x, the creator mentioned that the x0xb0x is free as "Free your mind and your ass will follow", the funkiest open source clause
by kortilla | 2025-04-03 08:47:32+00:00
> Since trade is conducted largely in USD, that means other governments must purchase USD to trade.

But then they sell it back. What you’re describing is not a trade deficit. To produce trade deficits they need to actually trade with the US. Buying forex does not do that.

> If trade stops occurring in US Dollar, which is a consequence of the stated goal of our current ruling regime, that would be the coup de grace on this country's hegemony. It is the definitive end to it, and the birth of Chinese hegemony.

Nobody will use Chinese currency because it doesn’t float and it’s subject to tight capital controls. Nobody in their right mind would switch to that from outside of China.

You can argue that China could become a hegemony anyway, but that is because everyone wants to trade with them, not because they want to use their currency in 3rd party transactions.
by reify | 2025-04-03 08:47:42+00:00
My friend does this when they go to the USA

A 256Gb microSD hiddden in luggage with a fully updated MX-Linux installed.

Create a snapshot of the updated system on a MX-Linux live CD including all the programs you would normally use, VPN etc, save it to a usb drive and write that to your microsd card.

sudo dd if=snapshot.iso of=/dev/mmcblk0 bs=1M status=progress

meanwhile, install a new HDD drive on an old laptop. wipe it and install any new linux distro. you wont be using this at all

at your destination, input your microsd card into laptop, change boot order and boot into your new microsd card,

The microsd card leaves no traces, it runs in memory.

A freshly installed Lineage on an older phone.

you wont have to unlock anything, you will have nothing on your laptop or phone

border force can access everything. there is nothing to see!

get a trusted friend to send you any important files via signal or any other encrypted messaging or email service

At your destination, login into your emails and messaging services etc
by vkou | 2025-04-03 08:47:58+00:00
> Maybe by 2027?

Why on earth would you spend millions and billions of dollars on investing into a ROI-10-year factory, when a cheeseburger overdose or, heaven forbid, the Dems winning another election will take that investment and turn it straight into the toilet?

Not to mention that you'll be locked out of the world's markets, thanks to reciprocal tariffs.
by IronyMan100 | 2025-04-03 08:48:08+00:00
The new iphone uses a metasurface for structured light illumination: https://www.yolegroup.com/technology-outlook/metasurfaces-br...

What people forget is that new hardware technologies can take decades before they are used in commercial products. Quantum Dots were first synthesized in 1981 and are only in commercial stuff since the 2010th. Teflon: Invented in 1938- first commercial use in 1961. Semiconductors: Found in 1898, first commercial uses in 1958.
by DeathArrow | 2025-04-03 08:48:24+00:00
I always try to stay informed, rationalize well and always try to find arguments for both sides of a theory. I act like a detective in search of the truth or a mathematician confronted with a new conjecture or theory. I try to dig until I can see whether the theory has solid chances to be true or not. I try to make the process as fast as possible, because I don't like to procrastinate or lose time. Most of the time is fine if I know something has 60% chances of being true and I don't need 99.99% because I can back off and review the theory if I am wrong.

That being said, I don't pick a party solely on what I believe is the truth. I also try to see whether my interests align well with that party.

As for discussing politics with friends, most of my experience is the same as the author's. I started having a dislike for very long lawyer-like discussions and arguments that lead nowhere. I kind of detect fast if my discussion partner is seeking the truth, he is proceeding with an archeology or detective like mindset and proceed accordingly.