MurphyA/hacker-news huggingface dataset:
by PaulGaspardo | 2025-08-11 00:53:13+00:00
Incidentally if you do what they're proposing for PHP in Java (where you define a non-generic subclass of a generic type), the actual generic type parameters actually are in the bytecode, and depending on the static type you use to reference it, may or may not be enforced...

public class StringList extends java.util.ArrayList<String> { public static void main(String[] args) throws Exception { StringList asStringList = new StringList(); java.util.ArrayList<Integer> asArrayList = (java.util.ArrayList<Integer>)(Object)asStringList; System.out.println("It knows it's an ArrayList<String>: " + java.util.Arrays.toString(((java.lang.reflect.ParameterizedType)asArrayList.getClass().getGenericSuperclass()).getActualTypeArguments())); System.out.println("But you can save and store Integers in it:"); asArrayList.add(42); System.out.println(asArrayList.get(0)); System.out.println(asArrayList.get(0).getClass()); System.out.println("Unless it's static type is StringArrayList:"); System.out.println(asStringList.get(0)); } }

That prints out:

It knows it's an ArrayList<String>: [class java.lang.String] But you can save and store Integers in it: 42 class java.lang.Integer Unless it's static type is StringArrayList: Exception in thread "main" java.lang.ClassCastException: class java.lang.Integer cannot be cast to class java.lang.String (java.lang.Integer and java.lang.String are in module java.base of loader 'bootstrap') at StringList.main(StringList.java:11)
by toastercat | 2025-08-11 00:55:57+00:00
This is nice to hear and congrats, but I'd be willing to wager that your project didn't get you your offers; your interview performance got you your offers. Yes, your project gave you something interesting to talk about, and of course, invaluable experience building an operating system. But that isn't enough, and it never has been when it comes to obtaining employment.

The ROI is simply bad compared to grinding LeetCode/NeetCode/Cracking The Coding Interview and learning how to game the interview process. This should be every new grad's priority if they are interested in employment. It's even worse than just having gone to a highly reputable university, ideally with a pipeline to FAANG companies.
by Exoristos | 2025-08-11 00:59:49+00:00
Doesn't make a lot of sense, since the same families that would have had a servant or parent answer the door would answer the telephone the same way. It's not like young misses were carrying phones in their skirt pockets. A more widely-accepted explanation for dating is economic: young women forced into apartment living and jobs in the city as their families lost the farm and couldn't keep their adult children anymore.

- Bailey, Beth L. (1988). From Front Porch to Back Seat. Johns Hopkins University Press. - Henry, O. (1906). "The Unfinished Story". The Four Million. McClure, Phillips & Co.
by Eisenstein | 2025-08-11 00:59:51+00:00
> Apple has managed to provide some fairly wide options in the M series though, so what are they doing that the others are not (aside from that they are effectively using more but smaller channels)?

They aren't using sockets. They are soldering it directly to the board. I figure that consumers aren't going to a buy a motherboard with a CPU and RAM soldered onto it. I could be wrong about that, but I wouldn't buy it.

They are also much more expensive. It's not that it can't be done since it is done with servers already -- it is that it can't be done for the price consumers want.
by freeopinion | 2025-08-11 01:00:30+00:00
There is a company that is advertising like crazy for programmers, data scientists, etc. They are looking for college kids, etc. They are paying better than McDonalds.

What are they building? A training corpus.

Are people who responds to their ads getting the money for free?

Handing your codebase to an AI company is not nothing.
by lossolo | 2025-08-11 01:00:48+00:00
> Given enough effort, you can banish all UB and their related CVEs from a codebase.

Sure. With infinite energy, anything’s possible - we can prevent all bugs. The problem is, we don’t have infinite energy.

> So it becomes a contest of which library had more scrutiny. I.e. you can compare a battle-tested library like cURL to stuff like baby's first XML parser.

I agree that software varies in quality, and that different people and teams can produce very different levels of quality. The issue is that we’re talking about languages used by many different people with varying capabilities and levels of scrutiny.

What really annoys me is that my phone can get hit with an RCE just from someone sending me a message. That’s exactly the kind of vulnerability that happens because languages like C or C++ are so easy to misuse, due to their complexity and lack of safety. You just can’t compare that to Go or Rust, they’re in a completely different galaxy.

> How many UBs do you leave open? How many errors other errors can your program prevent (e.g. do you allow `null`/`nil`)? And was this an error extremely obvious at time of writing (billion dollar mistake)?

Everything is a trade off. I find Go to be a middle ground where I can offload much of the memory management complexity to the garbage collector, yet still have control over the aspects I care about, with acceptable performance for multi-threaded networking code.

I make extensive use of atomics and mutexes and I don’t need "fearless concurrency," because I can only recall one serious concurrency bug I’ve ever had (a data race) which took some debugging time to track down, but it wasn’t in Go. YMMV.

As for the “billion dollar mistake”, I understand the argument in the context of C or C++, but not in the context of Go. Once every few months, I get a nil pointer dereference notification from the monitoring stack. The middle network layer will report the error to the user, I fix it, and move on, a $0 mistake.

I used Rust in many other projects, where I would never use C++ or C. Rust has a higher cognitive load, more language complexity, and refactoring is painful but it’s a trade off.

Under Go’s memory model, there’s really only one form of undefined behavior: a program with a data race has no defined semantics. That’s pretty much it. Compare that to C or C++, it’s like I said, a different galaxy. I find the whole discussion around Go’s safety exaggerated, and more theoretical than what actually comes up in practice.
by 12345hn6789 | 2025-08-11 01:02:06+00:00
Do you have any technical diagrams or specs that describe this flow? I've been reading the Lang chain[0] and mcp docs[0] and cannot find this behavior you're proposing anywhere.

[0]- https://langchain-ai.github.io/langgraph/agents/mcp/

[1]- https://docs.anthropic.com/en/docs/mcp
by adt | 2025-08-11 01:04:24+00:00
While we're wandering down memory lane, here's a good one by Joel Spolsky (remember him?): 'Advice for Computer Science College Students' (2/Jan/2005)

https://www.joelonsoftware.com/2005/01/02/advice-for-compute...

The moral of the story is that computer science is not the same as software development. If you’re really really lucky, your school might have a decent software development curriculum, although, they might not, because elite schools think that teaching practical skills is better left to the technical-vocational institutes and the prison rehabilitation programs. You can learn mere programming anywhere. We are Yale University, and we Mold Future World Leaders. You think your $160,000 tuition entititles you to learn about while loops? What do you think this is, some fly-by-night Java seminar at the Airport Marriott? Pshaw.

The trouble is, we don’t really have professional schools in software development, so if you want to be a programmer, you probably majored in Computer Science. Which is a fine subject to major in, but it’s a different subject than software development.
by setr | 2025-08-11 01:04:57+00:00
If ptr is some kind of global, then it makes sense for it not to be deallocated by the destructor? It’s apparently not really managed by this class, so why would its lifetime be tied to it?

I mean it’s psychotic to half-manage it like this but I don’t think the lack of a destructor is suspicious here; in fact I think it’s correct once the global pointer was introduced
Show HN: Job Shield – a job trust verification platform
by NazSingapore | 2025-08-11 01:05:08+00:00
We built JobShield after running into multiple scam job listings while job hunting. Many of these scams were sophisticated enough to collect personal data or even impersonate legitimate employers before anyone noticed.

The problem: Job scams are increasingly common and costly. In Singapore alone, job scams caused losses of over SGD 156 million last year. Current protections are reactive, they kick in only after victims have reported a listing, by which point data is already harvested.

What I built: JobShield is a prototype that scans job listings in real time using rule-based checks and pattern matching to flag high-risk or suspicious posts before they go live. It can run as a standalone tool or integrate with job boards and government portals.

Technical details: Built as a standalone SaaS with future middleware capabilities, Flags risky patterns like requests for personal documents without proper credentials, Designed for scalable monitoring across millions of listings and multiple regions, and Current prototype scans scraped listings and flags results for vendor or agency review.

Current status: We are in Phase 1 of a 3-phase plan. The prototype works and has been piloted with agencies, with focus now on refining detection accuracy and onboarding early adopters.

Founder note: None of my co-founders are technical. I am a hybrid founder non-traditional but hands on, who designed and built the prototype myself using no-code and AI-assisted development. My role is to define, design, and direct the product while leading future technical hires.

I’d love feedback on: 1- How scam detection should be presented to jobseekers without causing false panic. 2- Whether you would try a public version that lets anyone paste a job URL for verification. 3- Other use cases you see for real-time job listing verification. 4- Whether having no purely technical founder still plays a big part in early-stage success if the prototype is already built and functioning
by calvinmorrison | 2025-08-11 01:05:37+00:00
write PHP a lot. every day.

I wish we had typed arrays. Totally not gonna happen, theres been RFCs but I have enough boilerplate classes that are like

Class Option Class Options implements Iterator, countable, etc.

Options[0], Options[1], Options[2]

or Options->getOption('some.option.something');

A lot of wrapper stuff like that is semi tedious, the implementation can vary wildly.

Also because a lot of times in php you start with a generic array and decide you need structure around it so you implement a class, then you need an array of class,

Not to mention a bunch of WSDLs that autogenerate ArrayOfString classes...
by toomuchtodo | 2025-08-11 01:05:48+00:00
https://en.wikipedia.org/wiki/Ray_Brooks_(actor)

https://en.wikipedia.org/wiki/Mr_Benn

https://archive.org/details/mr-benn-classic-childrens-bbc-se...

https://www.theguardian.com/culture/2017/mar/07/how-we-made-...
by JustExAWS | 2025-08-11 01:06:45+00:00
There are in fact abstractions

https://aws.amazon.com/blogs/aws/customize-models-in-amazon-...

https://cloud.google.com/vertex-ai/generative-ai/docs/models...

https://learn.microsoft.com/en-us/azure/ai-foundry/concepts/...

So now where do you think things will be in 2029 by the time her son graduates?

And you still haven’t answered the question - why would this be something that everyone isn’t pursuing, there are already people who are doing it and upskilling in it and what are the chances that he is going to be competitive coming from a tier 2 school as a new grad?
by JSR_FDED | 2025-08-11 01:08:05+00:00
Why is this so weirdly prescriptive about inline event handlers?

> Even in a single file, inline event handlers are not a good idea. One button is OK, but what if you had 100 buttons? You'd have to add 100 attributes to the file; it would quickly turn into a maintenance nightmare.

> You should never use the HTML event handler attributes — those are outdated, and using them is bad practice.

It’s a really good explanatory text, and then get surprisingly opinionated.

Similarly, why is an online event handler considered a security risk? I just don’t see the difference between that and using a named function?
by toomuchtodo | 2025-08-11 01:09:41+00:00
States can increase their income taxes, which can be deducted against federal income taxes. This keeps the tax revenue internal to the state and avoids sending it to a federal government who would spend the tax revenue suboptimally. These funds can be spent on climate mitigation programs within a state. If your state has no income tax and relies on the federal government, that’s unfortunate (I suppose increasing property and sales tax is an option, if not regressive).

SALT limits have been bumped to $40k from $10k: https://www.nerdwallet.com/article/taxes/salt-tax-deduction

Lots of ways to make this work with policy.
by aswanson | 2025-08-11 01:10:40+00:00
That's cap. 'Ir' is usually used in the english language to denote the negative of the following property that follows it, e.g. irrespective meaning not respective. Regardless alone signals the negative assertion of the following property, so a prepending of 'ir' before it connotes a not-not, a double negative, and against the context of what is trying to be communicated. Having a problem with this abuse of language/meaning/communication is to be expected.
by godelski | 2025-08-11 01:11:29+00:00
Jack has a lot of really bad takes and frequently makes lots of mistakes. Honestly, I don't know why people take him seriously.

I mean you can go read his blog post that's pinned where he argues that there's no new ideas and it is all data. He makes the argument that architecture doesn't matter, which is just so demonstrably false that it is laughable. He's a scale maximalist.

I also expect an AI researcher from a top university to not make such wild mistakes

> 3. RLHF: first proposed (to my knowledge) in the InstructGPT paper from OpenAI in 2022

I mean if you go read the instruct paper on page 2 you'll see

| Specifically, we use reinforcement learning from human feedback (RLHF; Christiano et al., 2017; Stiennon et al., 2020) to fine-tune GPT-3 to follow a broad class of written instructions (see Figure 2).

Where in Christiano you'll find

|| Our algorithm follows the same basic approach as Akrour et al. (2012) and Akrour et al. (2014)

I mean this is just obviously wrong. It is so obviously wrong it should make the person saying it second guess themselves (which is categorically the same error you're pointing out).

I'm sure we can trace the idea back to the 80's if not earlier. This is the kind of take I'd expect a non-researcher to have, but not someone with two dozen NLP papers. The Instruct-GPT paper was just the first time someone integrated RLHF into a LLM (but not a LM).

Maybe a better article is the one he wrote on Super Intelligence From First Principles. As usual, when someone says "First Principles" you bet they're not gonna start from First Principles... I guess this makes sense in CS since we index from 0

[0] https://arxiv.org/abs/2203.02155

[Christiano et al] https://arxiv.org/abs/1706.03741

[Stiennon eta al] https://arxiv.org/abs/2009.01325

[Akrour et al (2012)] https://arxiv.org/abs/1208.0984
by ben_w | 2025-08-11 01:12:33+00:00
Energetically, it would take 1.244e29 J to disassemble the moon: https://www.wolframalpha.com/input?i=binding+energy+moon

This can only be done if the VN machines are able to form a useful cloud away from the moon immediately after they've disassembled the surface layer. If they aren't allowed to do that, it would take 415 millennia: https://www.wolframalpha.com/input?i=1.244e29+J+%2F+%281kW%2...

But you can make it twice as fast by getting the first layer to lift the second layer to cislunar orbit, then combine the power of both layers; then four times as fast etc. etc.

I don't know the upper limit before the main constraint is cooling.
by androng | 2025-08-11 01:13:31+00:00
Via Certified Mail and Email RE: CEASE AND DESIST - Unauthorized Use of Tesla Intellectual Property - Cybertruck References in Musical Content

Dear Mr. Huey, We represent Tesla, Inc. ("Tesla") and are writing to formally address the unauthorized use of Tesla's intellectual property in musical content distributed under your name. Specifically, this concerns your use of the Tesla Cybertruck name and imagery in one or more songs, including but not limited to the track titled:

"Cybertruck"

Our records show that a Tesla Cybertruck associated with VIN 7G2CEHED8RA017384 was previously registered under your name or in your possession. Please be advised that this vehicle has been remotely deactivated due to violations of Tesla's Terms of Use, Including misuse of Tesla's trademarks and brand identifiers in media content that falsely implies endorsement, sponsorship, or affiliation with Tesla.

Tesla retains exclusive rights to its registered trademarks and trade dress, including but not limited to "Tesla," "Cybertruck," and all associated names, logos, imagery, and designs. Your continued use of these protected marks in music, lyrics, titles, cover art, and promotional materials constitutes unauthorized use and may mislead consumers into believing that Tesla endorses or is affiliated with your work.

Accordingly, we hereby demand that you immediately:

1. Remove or revise all publicly distributed music, videos, and media content that reference "Tesla," "Cybertruck," or any derivative thereof;

2. Cease and desist from all future use of Tesla's trademarks, trade dress, and related terms in any creative commercial, or promotional materials;

3. Provide written confirmation of compliance with the above requests within seven (7) days of the date o letter. Fallure to comply monora de co compete per ravit evocation or accen to rasia venice systems can da micer injunctive

This letter is sent without prejudice to any of Tesla's rights, all of which are expressly reserved.

Very truly yours, Junish Dinna Eskin, Esq. Sr. Director and Deputy Ge Tesla, Inc.
by redundantly | 2025-08-11 01:13:52+00:00
> We represent Tesla, Inc. ("Tesla") and are writing to formally address the unauthorized use of Tesia's intellectual property in musical content distributed under your name. Specifically, this concerns your use of the Tesia Cybertruck name and imagery in one or more songs, including but not limited to the track titled...

It's right in the letter in the video.
by dghlsakjg | 2025-08-11 01:14:06+00:00
If you look at the video it isn't even clear that it has been deactivated by human intervention. It is the same message you get when the thing just has a software failure AFAICT.

Edit: I didn't realize that if you keep watching the video, he posts the legal correspondence. My bad. I just fast forwarded and found myself in a rap video and figured that was the whole story
Ask HN: What are some comfy/stress-free jobs a SWE can do? (LCOL country)
by ejlanor | 2025-08-11 01:15:11+00:00
Been working as a SWE for almost 7 years, burned out, quit to recover. Thankfully savings are good, so doing well now, but I am starting to think of what comes next.

Living in a pretty cheap country, 20k/year would be more than enough to have a good life, anything over that would go into investments.

Any ideas what kinds I work I should seek out? Sacrificed a lot these past few years to progress my career, so I am looking to minimize stress and enjoy life for the next couple of years.
by charcircuit | 2025-08-11 01:15:43+00:00
>Dear Mr. Huey,

>We represent Tesla, inc. ("Tesla") and are writing to formally address the unauthorized use of Tesla's tellectual property in musical content distributed under your name. Specifically, this concerns your use of the Tesla Cybertruck name and imagery in one or more songs, including but not limited to the track titled:

>"Cybertruck"

The letter is a hint of proof.
by phire | 2025-08-11 01:15:53+00:00
The class is "embeddable interpreted scripting language", which is not quite the same thing as just an interpreter.

Embedded interpreters are that designed to be embedded into a c/c++ program (often a game) as a scripting language. They typically have as few dependencies as possible, try to be lightweight and focus on making it really easy to interopt between contexts.

The comparison hits many of the major languages for this usecase. Though it probably should have included mono's interpreter mode, even if nobody really uses it since mono got AoT
by k310 | 2025-08-11 01:17:25+00:00
I would build a "proxy box" which proxies the internet for users.

Why? The internet is a highly centralized surveillance machine, completely opposed to its original intent.

Here are some proposed functions (digs through notes) Keeping it simple so I don't divulge too much.

1. Searches the internet, and caches like Wikipedia, for information without divulging personal information There are locally curated caches for finding local services and items. Search is garbage, and AI is starting to deteriorate like search did (with ads, purchase links, and product placement) [0]

1a. Functions as a vpn, and solves captchas or just "finds" information behind captchas and paywalls.

2. Apps, whether executables or web-based, are hosted on the proxy box and collaborate/share data with others in a secure way. Extreme access controls/firewall.

3. You own your data, all of it. Even email. You send a link to your content, which has the same or better access controls than any web server. Not online? Your data is mirrored to the IPFS and assembled just in time. Same for data sharing in (2)

4. I have proposed services that build on (1) to help seniors, et. al. in a real-world "sharing economy" way and also to be a buffer to prevent scams.

5. Various other home functions. TBD

[0] https://www.cnbc.com/2025/08/10/gen-ai-comes-online-checkout...

There may be other proxies, like vpn endpoints, but they often trigger "too many accesses from this IP address" bans.
by amy_petrik | 2025-08-11 01:18:00+00:00
> The only reason I have to hire a junior would be to develop them into a senior over 3-5 years, and companies are far too shortsided to think about that training pipeline.

Well and, without special arrangements, once trained for 3-5 years they'd now be more valuable and as easily scooped up by another company - if companies are short-sighted about the training pipeline, so too are employees short-sighted about how long they intend to remain somewhere
by toast0 | 2025-08-11 01:18:21+00:00
I had a samsung something from work that had a user replacable battery and claimed water proof (not sure about the IP rating though). It seemed thin and light enough to me.

Edit: it must have only claimed water resistant... Lining up the accesories, I think it was a Samsung Galaxy S6 Edge, which people say tests good in a bowl of water for about 20 minutes. That's a lot longer than I'd leave a phone in a bowl of water, so seems good enough to me?
by LoganDark | 2025-08-11 01:18:29+00:00
A replaceable battery doesn't have to make the phone thicker, heavier, or less waterproof if implemented correctly. For example, you could hold the back glass to the phone using mounting pressure rather than permanent adhesive. You could also hold the battery to the inner casing using mounting pressure rather than permanent adhesive. The weight difference is negligible. Congratulations, the battery is now replaceable.