MurphyA/hacker-news huggingface dataset:
by alphazard | 2025-04-16 14:55:48+00:00
If you want to understand the language of stochastic calculus as mathematicians have formalized it, then you need all of their jargon. Probability, Diff Eqs, Integrals, and Derivatives. If you are trying to tick a box on a resume, then that's what you have to do. If you have a CS degree then you have a little slice of Probability from combinatorics and information theory. You'll have to build up from there.

Stochastic Calculus was invented to understand stochastic processes analytically rather than experimentally. If you just want to build an intuition for stochastic processes, you should skip all that and start playing with Monte Carlo simulations, which you can do easily in Excel, Mathematica, or Python. Other programming languages will work too, but those technologies are the easiest to go from 0 to MC simulation in a short amount of time.
by dogleash | 2025-04-16 14:56:23+00:00
> As a senior engineer

Who? I described a SME.

There is a difference between a manager mentoring a SME's career into becoming a well rounded senior, and just expecting a talented engineer to immediately operate as a fully developed senior because that manager doesn't have anyone else to rely on today.

Now, I'm smurfing here a bit by describing a position I was at earlier in my career. I guess I appreciate the attempt to give advice, but recalling back to that time in my life you've also written with way too much management-speak for someone in a place that deserves real communication.
by absker | 2025-04-16 14:56:42+00:00
MITRE is a non-profit company that operates Federally Funded Research and Development Centers (FFRDCs), which are owned and funded by the federal government and contracted out to companies like MITRE to operate them.

While MITRE does have contracts with DoD (and many other agencies across the federal government as part of the FFRDCs they operate), they are not the same as a stereotypical DoD contractor as their non-profit status motivates them to work in the public interest.
by cjs_ac | 2025-04-16 14:56:44+00:00
As a former teacher who's done original research in educational psychology, I'd like to add that educational psychology is just a grab-bag of weak correlations whose discovery was motivated by, 'When I was a teacher, I saw ______ and that made me sad.' Any 'theory' is a just-so story that the researcher assembled from ideas they found aesthetically pleasing. It's not science; it's activity without achievement, because the individual pieces of research can't be assembled into a coherent body of knowledge.

The typeface looks nice though.
by jhelps | 2025-04-16 14:56:57+00:00
I can see how govt funding was needed to help bootstrap the CVE program before people saw the value of it.

But now that CVEs form the basis of a very lucrative ~$16b/year industry[0], wouldn't it make sense to let those companies take over?

Privatizing the Internet enabled much more innovation than if it had stayed govt-funded.

0: https://www.grandviewresearch.com/industry-analysis/security...
by jmull | 2025-04-16 14:57:11+00:00
Trump said he was not going to follow the project 2025 plan.

So you're making two immediately contradictory claims that Trump is doing what he said he would, and is following the project 2025 plan. That's not coherent.

You're suggesting a privatization plan exists, and want to debate its merits, but I see no sign such a plan is being adopted. E.g. who is enacting the plan? When is the comment period? Who do we send our feedback to? You may have a plan, but what does that have to do with the people in charge? If it's not their plan it doesn't matter one bit. Despite your assurances, I see no sign they aren't acting without a plan (or, as you put, as clueless idiots).
by sollewitt | 2025-04-16 14:57:14+00:00
Answer for your serious question: hiring contractors isn’t “privatized” - that’s outsourcing. The thing you’re saving on is the ongoing cost of having permanent staff.

The difference is the government and public entities like mayoral offices or parliaments get to decide how the entity (doing the contracting) is run and approve costs, and the entity is under no obligation to return a profit.
by bluGill | 2025-04-16 14:58:39+00:00
IF you read close you will see that I didn't say yes. I said that I don't know and am not willing to be part of such a blind test. I will state clearly that all the unpasteurized milk I had was less than an hour old and tasted great, while all the pasteurized milk was unknown age but likely at least a day old and tasted worse. Is it fresh or pasteurization that makes a difference is not something I know.
by runarberg | 2025-04-16 14:58:44+00:00
You are making up history and creating excuses. The state of Palestine existed in 1940 albeit as a colony of the UK. There was a popular demand for independence, and there was even a three year long revolt for independence which the British suppressed using armed violence. https://en.wikipedia.org/wiki/1936%E2%80%931939_Arab_revolt_...

Israel did not exist in 1936 so the claim that this identity is based on “lets destroy Israel” is ahistorical, and frankly, just made up by you. I would even go so far as calling this racist. You are supposing a political opinion and projecting hate over a whole people group. And comparing the national identity of Palestinians with ISIS indeed very racist. I hope you realize that.

Regarding the arbitrary borders, that also has no bearing on the notion of national identity. Most former colonies (by far) keep their colonial borders, even though those borders are arbitrary and cross ethnic lines, and included “random tribes”.

I also want to add, that I was being too kind to you in the post above. What you are doing here is very racist and has no place on a tech formum.
by MisterTea | 2025-04-16 14:58:46+00:00
> If this industry didn't pay so well, I would've been gone years ago.

That's the root of the problem. Intelligent and want to live nicely? Then have your mind exploited for profit! Have morals? Compromise on them and get paid.

I know someone who works for a large gaming company who told me upon hearing a friend of mine was entertaining a position at a Musk company told me "your friend lacks a moral compass to work for that man." I reminded them they work for a company who was fined half a billion dollars for willfully exploiting children. They did not take that well.
by 9rx | 2025-04-16 14:59:09+00:00
> I think 90% of the whole political debate about the economy is misplaced nostalgia combined with problematic local wealth inequality

When Trump said that new manufacturing facilities would be fast-tracked to being able to build their own on-site power plants because the grid is "at risk of bombing", I've come to think that the whole political debate is really about: What the hell are we going to do if WWIII happens?

Manufacturing capability and capacity is an incredibly precious resource if you find yourself in a large scale war, and there is growing concern (realistic or not) that America has given it away/lost it. It makes no difference in peaceful times, but there is growing belief that the era of peace is coming to an end.

In fact, if you take a higher level view of what is going on, like the wanting to annex Canada and Greenland, it seems the entire motivation for it all is preparing for the possibility of war with Russia (and China).
by shykes | 2025-04-16 14:59:55+00:00
This looks excellent, and very fun to play with!

I used this one-liner to run an instance directly from remote source:

dagger -c 'git https://github.com/onkernel/kernel-images | head | tree | docker-build --dockerfile containers/docker/Dockerfile | up --ports 8501:8501,8080:8080,6080:6080,9222:9222'

Be aware that the initial docker build is quite long... But caching kicks in for subsequent runs.

I look forward to playing with this!
by k1t | 2025-04-16 14:59:56+00:00
It's an article about images that have been manipulated (to fool people).

Photoshop is such a popular tool for image manipulation that it is a verb "to digitally alter (a photograph or other graphic) using image-editing software such as Photoshop".

Inclusion of one of the first ever photoshopped images in a list of famous fake images, even if just a tech demo, seems entirely reasonable.
by lolinder | 2025-04-16 15:00:35+00:00
> Today's president is nothing like him, but wins because a bunch of people "vote Republican".

There's a component of that, but it's not the primary cause. A lot of former Republicans stopped voting Republican with Trump, including a lot of old rich white guys, and a lot of the current Republican voters didn't vote for Bush. He wins because of the new wave of voters that counterbalanced the flight of the educated core of the Republican establishment.
by patcon | 2025-04-16 15:00:38+00:00
Agreed, this is what's infuriating: insistence on control.

They will utterly fail to build for a community of users if they don't have anyone on-hand who can tell them what a terrible idea that was

To the cofounder: hire someone (ideally with some thoughtful reluctance around AI, who understands what's potentially lost in using it) who will tell you your ideas around this are terrible. Hire this person before you fuck up your position in benevolent leadership of this new field
by moi2388 | 2025-04-16 15:00:52+00:00
Isn’t every graphql a post, so no http response caching, so you need to do it in-app or with redis?

N+1 and nested queries etc were still problems last I checked (few years ago).

I’m sure there are solutions. Just that it’s not as trivial as “use graphql” and your problems are solved.

Please correct me if I’m wrong
by pjmlp | 2025-04-16 15:01:11+00:00
C++ was designed as "Typescript for C" for its time, because sometimes that is exactly the kind of code one needs to write, even if we discourage many of the classical patterns when better alternatives exist.

The same C example compiled in C++23 mode, https://godbolt.org/z/MWa7qqrK7

As for possible alternatives, here is a basic one without taking into consideration virtual mechanics, only to show the principles.

#include <concepts> template <class T> concept has_mmap = requires (T obj) { { obj.mmap() } -> std::convertible_to<int>; }; class VFS { public: VFS() = default; virtual ~VFS() = default; }; class ExampleFS : public VFS { // mmap not available }; class ExampleWithMMAP : public VFS { public: int mmap() { return 0; } }; int main() { ExampleFS fs; ExampleWithMMAP fsWithMMAP; /* <source>: In function 'int main()': <source>:33:19: error: 'class ExampleFS' has no member named 'mmap' 40 | return fs.mmap(); | */ if constexpr (has_mmap<ExampleFS>) { return fs.mmap(); } // ExampleWithMMAP has mmap(), just call it without issues if constexpr (has_mmap<ExampleWithMMAP>) { return fsWithMMAP.mmap(); } // want to use the variable name instead of the type? if constexpr (has_mmap<decltype(fsWithMMAP)>) { return fsWithMMAP.mmap(); } }

-- https://godbolt.org/z/cjcbrzT3z

Naturally it is possible to be a bit even more creative, and moreso with C++26 reflection.
by 72deluxe | 2025-04-16 15:01:40+00:00
No, I am saying that the current amount of chargers in locations (10) is likely sufficient for the existing "demand", but woefully inadequate if the artificial demand being constructed by forced quotas was actually met (ie, if all the hundreds of existing petrol cars switched to electric).

If all petrol stations suddenly only had 1 pump, we'd say that the infrastructure was inadequate, not that the overburdened 1 pump indicated a great demand for petrol cars.
by potato3732842 | 2025-04-16 15:01:47+00:00
Politicians have been running on platforms of about undoing the damage of offshoring since Obama's first term at least, now here we are in 2025 and someone just won an election and it played a key role so clearly it's a big important thing and it's reasonable to expect it to stick around as an issue on the official party platforms. There is a non-negligible chance that in 2029 there will be someone in the white house who continues to push in that direction, even if the specific policy is very different from the current tariff policy.

The wise thing to do is to at least make steps in the direction of on-shoring or at least make your plans and investments compatible with it.
by mainecoder | 2025-04-16 15:02:15+00:00
Extremely good decision, and it is also cheap the regulatory hellfire they would need to experience to expand in europe is mediated by just purchasing a European company there. This is the best strategy for any US company wanted to either start or expand in Europe, just outright buy a European business there and don't change logos or marketing material to signal that it is actually owned by an American company to appeal to EU customers. Many European companies are actually being owned by US companies and Americans via trust and off shore shells, also as the European Upper Class goes to study and settle in the US their inheritance becomes American in that the proceeds will go to the IRS. Europe is increasingly being owned by American despite what seems to be happening with sentiments now, people do not realize that the actual military arm of NATO is controlled by a US 4 star general the communications network and missile defense system of NATO is under US control.
by NoTeslaThrow | 2025-04-16 15:02:23+00:00
We never stopped manufacturing, we just stopped employing people.

> We don’t have the infrastructure to manufacture

That's trivially false given we're the second-largest manufacturer in the world. We just don't want to employ people, hence why we can't make an iphone or refine raw materials.

The actual issue is that our business culture is antithetical to a healthy society. The idea of employing Americans is anti-business—there's no willingness to invest, or to train, or to support an employee seen as waste. Until business can find some sort of reason to care about the state of the country, this will continue.

Of course, the government could weigh in, could incentivize, could subsidize, could propagandize, etc, to encourage us to actually build domestic industries. But that would be a titantic course reversal that would take decades of cultural change.
by parsimo2010 | 2025-04-16 15:02:35+00:00
I don't know about kids or reading disabilities, but it looks nice and does feel "friendly" to read. Having the ability to vary and animate a lot of parameters will certainly enable some neat web designs.

Edit: I'm poking at this and it seems like the only way to do the animation is via the font designer's library. I'll be a lot more excited when this is supported by more options.
by bjackman | 2025-04-16 15:02:36+00:00
Hmm I dunnno I think

a) If you are having to do busywork for compliance reasons, you are either disempowered to push back on bullshit work (case A above, unfortunate, but your job was gonna suck anyway), or it's not really a second order effect, you work in compliance in a meaningful way.

b) Compliance bullshit seems to expand into the space available to it. Nobody thinks CVSS scores are meaningful, the fact that they feed into compliance processes is not the CVSS scores' fault it's the compliance machine just globbing onto random bullshit as its expansion continues. If you took away CVSS scores it feels like it would just glob onto something else instead.

Anyway, in the end I think we aren't disagreeing about that much. I think they're silly, if someone wanted to get rid of them I wouldn't try to defend them at all. I just wouldn'e be the person to push for that.
by meetmelk | 2025-04-16 15:02:49+00:00
It’s an open-source project that lets AI make real-world phone calls on your behalf - powered by the Model Context Protocol (MCP).

Key features: - Outbound call handling via Twilio - Real-time voice processing with GPT-4o - Seamless language switching during calls - Pre-built prompts for everyday scenarios (like restaurant bookings) - Secure credential handling & automatic tunneling

The Github repo and setup instructions are in comment below. Feel free to try it out, contribute or share feedback!
by gjsman-1000 | 2025-04-16 15:02:53+00:00
I don't know, I actually do somewhat get it.

If there is a product, you pay for the product. People do not respect, or value, things they do not pay for. Steve Jobs had a similar philosophy with refusing to offer free meals at Apple - subsidized meals was okay, free meals was not okay.

Having worked in a small business, I have seen painfully firsthand how giving customers free things almost always backfires and just creates extremely demanding customers. Look at how demanding customers are of Nintendo right now that the Welcome Tour be free; even though they would not be demanding it if Nintendo had just not made the Welcome Tour at all. They would be literally happier and less demanding if it had never been made, which is backwards.

On that note; Nintendo does have to somewhat be cautious about their intellectual property in ways other companies do not. We like to think of things as Xbox, PlayStation, and Nintendo; but this is an illusion. Apple makes four times as much money per year from mobile gaming than Nintendo does in entirety. Xbox and PlayStation have plenty of fallback cash from the rest of their respective companies; Nintendo is the smallest of the three and has no fallback option.
by jlebar | 2025-04-16 15:02:58+00:00
I think the author has misunderstood things here.

This technique is orthogonal to integer mod. Indeed the author multiplies by their magic constant and then does an integer mod to map into their hashtable's buckets.

This technique is actually just applying a fast integer hash on the input keys to the hashtable before mapping the keys to buckets. You can then map to buckets however you want.

The additional hash is useful if and only if the input hash function for your table's keys doesn't appear to be a random function, i.e. it doesn't mix its bits for whatever reason. If your input hash functions are indeed random then this is a (small but perhaps measurable) waste of time.

Using prime-numbered table sizes is another way to accomplish basically the same thing. Dividing the input hash key by a prime forces you to look at all the bits of the input. In practice these are written as division by a constant, so they use multiplies and shifts. It's basically a hash function. (Though I'd use multiply by a magic number over divide by a prime, mul alone should be faster.)

Relatedly see this post by Daniel Lemire about an alternative to integer mod, https://lemire.me/blog/2016/06/27/a-fast-alternative-to-the-... which is interesting if your number of buckets is not a power of 2 for some reason.
by arjf | 2025-04-16 15:03:23+00:00
Just want to call out the resources listed at the bottom of the Resonate website:

- The Oscillators app demonstrates real-time linear, log and Mel scale spectrograms, as well as derived audio features such as chromagrams and MFCCs https://alexandrefrancois.org/Oscillators/

- The Resonate Youtube playlist features video captures of real-time demonstrations. https://www.youtube.com/playlist?list=PLVcB_ABiKC_cbemxXUUJX...

- The open source Oscillators Swift package contains reference implementations in Swift and C++.https://github.com/alexandrefrancois/Oscillators

- The open source python module noFFT provides python and C++ implementations of Resonate functions and Jupyter notebooks illustrating their use in offline settings. https://github.com/alexandrefrancois/noFFT
by Dracophoenix | 2025-04-16 15:03:36+00:00
> It’s strange to me that this message about trade-offs is not discussed more often by engineers, who are trained to look at these as a habit.

> (there can be a whole different discussion what better means)

This is the major road block to any fruitful discussion of trade-offs. Two people, regardless of intelligence or thought process, will often have diverging definitions and goals.
by yodsanklai | 2025-04-16 15:03:58+00:00
> Is there a threshold after which you just... hope?

Generally, all the code I write is reviewed by humans, so commits need to be small and easily reviewable. I can't submit something I don't understand myself or I may piss off my colleagues, or it may never get reviewed.

Now if it was a personal project or something with low value, I would probably be more lenient but I think if you use a statically typed language, the type system + unit tests can capture a lot of issues so it may be ok to have local blocks that you don't look in details.
by gjsman-1000 | 2025-04-16 15:04:04+00:00
Every time Nintendo tries to set foot in the competitive scene or permit tournaments, this happens.

https://www.reddit.com/r/smashbros/comments/hjfv0y/summary_o...

I don't blame them for trying to keep out. It would seem that professional Smash players are not to be assumed as stable people.
by scottcha | 2025-04-16 15:04:37+00:00
Monte-carlo modeling has been a hot topic here the last few days. I've been using a monte-carlo model to estimate the factors that contribute to AI energy growth and got curious as to what happens if we get agent to agent calls growing. I know its not very common today to have one agent trigger another agent call but I'm certain its a scenario that will be more common in the future. So I decided to find at what threshold this pattern causes out of control growth.

Does anyone have any good examples today of agent call chaining?

Interested to hear others thoughts here on this. I also am hoping to make my model available in some manner in the future for others use so interested if there are other parameters and factors you want to see?
by lordfrito | 2025-04-16 15:06:00+00:00
Atari tried to sue Activision out of existence, only to have the courts affirm Activision's right to make games for the 2600.

Prior to this, only OEMs made games for their consoles. That court case opened the floodgates for 3rd party game companies to exist. Arguably one of the most important lawsuits in the history of gaming.
by mytailorisrich | 2025-04-16 15:06:13+00:00
Uber, like Amazon before, had the strategy to forego profit in the short term to focus on growth. Ultimately the goal is to be profitable because that's the point of a business.

I think the misunderstanding is to confuse this for "profit isn't desirable".

Sure you may try to minimise your taxable profit for tax purposes but that means you are turning a profit, and that may be impossible if you intend to pay dividends.
by bluGill | 2025-04-16 15:07:25+00:00
C64 always had basic built in. Because it was there you could assume it, and further it being there affected how the system booted. I'm was never a C64 guy so don't know what the options were for someone who didn't want basic.

The original Atari didn't have built in basic (the 2nd generation XL and your 3rd generation XE series both did). As such Atari programmers could never assume basic, and even when you could assume basic you couldn't assume the version, there were a few bugs in various versions. (I knew someone with a XL who used the earlier version of basic because the bugs in the XL version were serious enough to affect his usage).
by vel0city | 2025-04-16 15:09:10+00:00
Just one little example:

https://arstechnica.com/tech-policy/2025/03/starlink-benefit...

And it 100% was a Nazi salute. Plain as day. Quit telling people to ignore what their own eyes can see. Him saying a little phrase after doing that gesture doesn't change the gesture.

https://en.wikipedia.org/wiki/Elon_Musk_salute_controversy#/...

> Imagine being trigger by a department of government finding fraud, waste

They're doing nothing of the sort. They'll probably only end up wasting more money than anything they're "saving", which is really "saving" in the same way as not paying your rent is "saving".
by justin66 | 2025-04-16 15:09:22+00:00
> If paying domestic workers more raises the price of domestic goods, and if people are willing to pay that price for whatever reason, you will start to see growth in manufacturing.

Why would you need to pay them more? Remove their legal ability to organize, cripple their social safety net, and they will either work or die.

I'm not advocating for that, but it does seem to be the path we're deliberately taking.