MurphyA/hacker-news huggingface dataset:
by sitkack | 2025-04-07 23:45:52+00:00
The function would be "compile time" so that function would be evaluated when you call `lx add <dependency@version>`, I'd also assume that the previous configuration would be cached and a diff shown of dependencies.

But I would also accept that it would be a subset of Lua that could define tables, but not contain functions. The data only declarative sublanguage.
by cauch | 2025-04-07 23:46:07+00:00
But you are the one both defending the argument and judging if they understood the argument.

If it is your argument, it means you believe in it, it means you think it is a good argument and not a bad argument. So maybe in fact they are right and they understood the argument correctly, but you are the one mistaken. How can you tell?

Let's, for the sake of discussion, imagine that your argument is bad. You believe it is good, but it is bad. It means that you don't yourself understand your own argument. How can you therefore judge if someone has understood the argument or not?

You were saying that you can see when they use "circular reasoning" and "rhetorical trick". That's exactly the first impression that everyone has when they defend a bad argument and someone points at the flaws in it.

I'm not mixing up "understanding" and "agreeing", I'm saying that you claim that you can tell if someone "understand", and I'm simply saying that it is not possible to tell if someone has understood if yourself you believe the argument is correct and they belief the argument is incorrect.
by hombre_fatal | 2025-04-07 23:46:51+00:00
Try MobX. I think it's the holy grail of state management.

You have your app state in an object/class, and components automatically rerender when the part of the store changes that they access during render.

class Store { counter = 0 constructor() { makeAutoObservable(this) } increment() { this.counter++ } } const Component = observer(() { const store = useStore() const click = () => store.increment()) return <button onClick={click}>{store.counter}</button> })

It has a very light set of idiosyncrasies for what it gives you unlike, say, redux.
by gweinberg | 2025-04-07 23:47:07+00:00
There are good reasons to object to using "literally" as a meaningless filler word instead of, say, to mean "this sounds like hyperbole but it isn't". First, there are times when you need to indicate "this sounds like hyperbole but it isn't", and there really isn't a great alternative. Second, there's no point to having a meaningless filler word. If a sentence means exactly the same thing with and without the "literally", why is it there?
by machomaster | 2025-04-07 23:47:18+00:00
The essential part of democracy is the right for people to make bad decisions (and hopefully learn from them).

If people are allowed to choose only from preselected candidates, then that is no democracy at all. "You can choose any color of the Ford you want as long as it is black".

That's the same reason I despise the "minimal amount of votes/percentage threshold to be elected" shenanigans that exist in many countries (including Europeans). That's exactly how Putin started to take over Russia's democratic election system in the beginning of his reign.

System needs controllers. But who is going to control the controllers? And who is going to control the controllers of the controllers? Turtles all the way. And the only reasonable and workable system is when people have the control. Even if they sometimes/often make mistakes. It's still the best system we have.
by foxglacier | 2025-04-07 23:47:43+00:00
Sure they can but you're not exempt from that manipulation so your own evaluation of their interests and what they're voting for is just as subject to manipulation and thus you can't tell if it's in their interests or not any better than they can. The difference is they're responsible for their vote, not you.

atoav called the government a "a neo-nazi connected right wing party". It won't actually be neo-Nazi because that's surely illegal in Austria. So it's probably some kind of propaganda that led him to believe that or exaggerate its significance as being against the interests of non-Nazis. Maybe they offer something their voters want and their voters don't care about whatever media-hype-hate-frenzy label they're given.
by bob1029 | 2025-04-07 23:49:23+00:00
You could quickly wire up one of the LLM APIs as an application-defined function using SQLite if you wanted to play around with the idea of very slow and expensive queries:

https://sqlite.org/appfunc.html

https://learn.microsoft.com/en-us/dotnet/standard/data/sqlit...

Maybe stick with the aggregate variety of function at first if you don't want any billing explosions. I'd probably begin with something like LLM_Summary() and LLM_Classify(). The summary could be an aggregate, and the classify could be a scalar. Being able to write a query like:

SELECT LLM_Summary(Comment) FROM Users WHERE datetime(Updated_At) >= datetime('now', '-1 day');

Is more expedient than wiring up the equivalent code pile each time. The aggregation method's internals could handle hierarchical summarization, chunking, etc. Or, throw an error back to the user so they are forced to devise a more rational query.
by Noumenon72 | 2025-04-07 23:50:53+00:00
I thought the example comment should strive to be shorter than this:

// Currently, key can be spread in as a prop. This causes a potential // issue if key is also explicitly declared (ie. <div {...props} key="Hi" /> // or <div key="Hi" {...props} /> ). We want to deprecate key spread, // but as an intermediary step, we will use jsxDEV for everything except // <div {...props} key="Hi" />, because we aren't currently able to tell if // key is explicitly declared to be undefined or not. if (maybeKey !== undefined) { key = '' + maybeKey }

But I found while trying to shorten it that a) it couldn't be that much shorter and b) it actually contained all the info I needed to understand it, which is the goal. Rewriting to my preference would just be my way of understanding it.

Anyway, here's what I would write to explain the why:

// If the JSX key was passed explicitly, use it. This may overwrite a `key` // from spread props, e.g. <div {...props} key="Hi" />. We can't distinguish // that from <div key="Hi" {...props} />, so until key spreading is deprecated, // we ask people to use `jsxDEV` instead of `jsx` for all cases except // <div {...props} key="Hi" />.

This explains:

* Why the line of code is here: to ensure explicitly passed `key` wins. The 'what' is "coerce maybeKey to a string", which doesn't clearly address the issue of key spread

* State the issue with _this line of code_, which is that it overwrites user-specified keys in props, not just that it's "a potential issue".

* State which example is good and which is bad and requires jsxDEV -- actionable advice.

I also think the `key` param should be documented to say

This will overwrite `key` in spread props. Use `jsxDEV` if you want to do <div key="Hi" {...props} />.

Otherwise, you've only explained the issue to internal developers, while framework users get no warning until they're so far into debugging they've narrowed it down to this function.
by heresie-dabord | 2025-04-07 23:51:45+00:00
> In my 18 years of professional dev I’ve never actually used Git professionally. Git is for hobby side projects. Perforce and Sapling are for adult projects.

I have encountered Perforce, Mercurial, and git professionally throughout my career. Considering the prominence of git in the market, it must be obvious that git does some combination of things right. I myself have found git to be solid where the other salient choices have had drawbacks.

The use of git it so widespread that it is hardly a local minimum.
by apical_dendrite | 2025-04-07 23:51:50+00:00
Here is what the government is arguing:

* They can grab anyone off the street and send them to a labor camp in a foreign country even if they have no connection to that country.

* If you want to challenge them in court, you have to do it in the location where the person is being held. They don't have to tell you where that is, and they can move the person to a venue where the courts will be favorable to them. They are moving people thousands of miles to Louisiana or Texas as quickly as possible.

* If they can get you out of the country before you can get into court to challenge them, too bad. The courts can do nothing to get you back, and the government certainly isn't going to try.

* You cannot challenge their decision that a gang or criminal organization constitutes an invasion by a foreign country, no matter how absurd it may be.

* You might be able to challenge whether the person is a member of that organization (originally they said you couldn't but they may be wavering on this point), but they are going to do everything they can to get you out of the country before you can get into court to challenge them.

* They don't have to tell the courts even the most basic publicly available information, like when flights departed.

As a practical matter, there is very little stopping them from grabbing anyone, even an American citizen, and sending them to a labor camp in El Salvador. Is it illegal? Sure - but they are making it almost impossible to get restitution in court.
by vkou | 2025-04-07 23:51:52+00:00
While it is true that many Russians might prefer living in a 2019 Russia over a 2025 Russia, you're not going to find a single person in the country who would prefer the 1999 Russia over either of them.

> wasted their Soviet heritage military arsenal

30-year-old arsenals require replacement, and war (even an embarrassing one) is an to modernize them.
by verdverm | 2025-04-07 23:52:18+00:00
If you provide too many ways to do the same thing, people get confused. Like... I don't need a button or drag-n-drop to turn a function into a class function, I can just move the code or add the modifier in a normal text editor. Now, AI can do it for me with underspecified natural language, no need for an overly complex UI that takes so much effort to learn.

I suspect this paradigm would be better served by nuking the implementation and reframing this around AI with tool usage. That seems where development is going
by defrost | 2025-04-07 23:52:19+00:00
A difference insufficient to magic resources from thin air for additional sub category processing to create sanitised public records.

Again, if you or others are interested then by all means either do the work of a reporter and researcher or sponser it, or lobby to have the work done on the public purse.

I'm guessing that as a UK citizen (?) you have no wish to spend your taxes on complete scrubbing and processing of every last category and sub category of record within the ever growing government archives?

Perhaps subscribe to or make a solid donation to The Times and write and ask them to do further work on the FOI returns they've already sourced and to expand their document base.
by mrcjkb | 2025-04-07 23:52:27+00:00
The usefulness of a local Lua bundle depends on whether you're packaging a library or an application. pkg-config can search by version, so you're not going to end up trying to build a Lua 5.4 package with Lua 5.2 with Lux. If you need a reproducible Lua installation, you can configure pkg-config - That works quite well in nixpkgs, for example. Or, you can just disable pkg-config and let Lux install the correct Lua version for you. We don't provide a way to dump a Lua bundle, but in principle that would be easy to add if users request it.
by LarsDu88 | 2025-04-07 23:52:54+00:00
Isn't this kind of like simply putting the data structures from the first Unreal Engine (which I believe used BSP), into the latest one? For the game you appear to be building, this appears to be rather unnecessary, even for authoring purposes. Even the Nintendo Switch 1, which is being phased out, might not necessarily benefit enough performance-wise to overhaul these core systems.
by dylan604 | 2025-04-07 23:53:21+00:00
If they existed but no longer exist, we are still alone.

Unless they have some sort of radio beacon that was built so that it lasts forever, we'd have no idea they existed without that beacon. The odds that beacon is pointed in a direction that we could detect is pretty slim. If they were of like minds/ability to detect other stars that would be interesting to say hi to, our Sol might not have existed then. They'd probably be pointing at a star that is now no longer existing.

The universe is big. The universe is old. It's just hard to fathom exactly how small the chances of us finding someone else out there would be even if they do exist. Our squishy lobes just are not equipped to comprehend that type of desolation.

I'm not trying to be a downer, but just have some realistic expectations. Plus, I've seen enough sci-fi to know that this other civilization might not be benevolent, so not knowing about them (and them not knowing about us) could be the better result
by thiagoharry | 2025-04-07 23:53:23+00:00
Money and property do not exist by themselves. You can grab, use, and carry things — and at other times, you may not be holding or using anything. Beyond this, concepts like "my money" or "my property" are social constructs; they exist only because society creates and enforces them.

The same society that upholds these constructs can also create others — such as human rights and the idea that everyone deserves dignity. In early societies with limited resources, survival often took precedence, and it was sometimes accepted that the old or disabled be left behind. Today, however, we have an abundance of resources — so much so that, in theory, hunger shouldn't even exist.

Yet we live under an individualistic and selfish ideology, where some argue for a return to a brutal indifference toward those in need, despite society's capacity to care for everyone. All this in the name of a self-centered ideology.
by niwri | 2025-04-07 23:54:01+00:00
Splunk (A Cisco Company) [https://splunk.com] | Principal Software Engineer, Backend | Remote (Vancouver / Toronto, Canada)

Splunk is here to build a safer and more resilient digital world. The world's leading enterprises use our unified security and observability platform to keep their digital systems secure and reliable.

The role I'm hiring for is to lead the effort for a new API that will power Splunk's new Data Management experience while allowing customers to use the same APIs for their own automation.

Golang experience is required.

Apply here: https://www.splunk.com/en_us/careers/jobs/principal-software...
by presentation | 2025-04-07 23:54:09+00:00
The foods sold in vending machines make sense though - everyone's already used to instant or canned soup, so throwing it into a vending machine and warming it up makes sense. You're not getting fine dining from the vending machines, you're just getting a quick and tasty snack (although there is also a culture of niche vending machines with serious meals that require cooking at home, which is another story). Just swap out the corn potage with something Americans would already be familiar with, like Campbell's chicken noodle soup in a single-portion can with a twist cap instead of needing a can opener, and it could work.

I think some Americans might object more to the idea of microplastics leaching into your food, or high amounts of preservatives, though. And the ubiquity of vending machines in Japan makes it possible to build a habit around vending machine food, whereas in the US they're fewer and far between, so you couldn't really depend on them.
by michaelt | 2025-04-07 23:54:21+00:00
As I understand things, in Japanese the terms "onii-san", "ojisan" and "ojii-san" literally translate as "older brother", "uncle" and "grandpa" respectively - and are widely used for people who aren't relatives.

So while the colloquial use of ojisan roughly lines up with "middle-aged man" it's not a perfect mapping.
by averageRoyalty | 2025-04-07 23:54:34+00:00
> Everyone I knew thought the idea of cold coffee was ridiculous, a quirk of the Japanese that would never catch on.

Iced coffee has been around for centuries and is very common in warmer countries (and was before the 90s). アイスコーヒー is closer to cold brew than the milkshake-esque thing we call iced coffee.
by ryandrake | 2025-04-07 23:55:20+00:00
I was wondering if there was some practical, legalese reason for this "pushback." It seems that whenever someone tries to faithfully deliver on some other artist's vision, the original artist's foundation or estate or representatives will always chime in to say something like "Well, we disavow this work and it has nothing to do with the actual artist!" No matter how much love, care, and attention to detail in the derivative work. Happens a lot when a movie is based on a book. The adaptation is never good enough.
by forrestthewoods | 2025-04-07 23:55:49+00:00
> it's also been easy to teach to newbies

The number of guides proclaiming the ease of Git is evidence that Git is not easy. Things that are actually easy do involve countless arguments about how easy they are.

I can teach an artist or designer who has never heard of version control how to use Perforce in 10 minutes. They’ll run into corner cases, but they’ll probably never lose work or get “into a bad state”.
by jonas21 | 2025-04-07 23:56:00+00:00
Yeah, unless they're your friends or rich uncle, these investors don't exist.

When the OP raised money, it sounds like he was still planning on going the VC-funded route, and that's the assumption investors would have been operating under.

In the end, they were probably okay with a 2-3x ROI because they expect most of their investments not to work out, and 2-3x is better than 0x. But I doubt they would have invested if the plan all along was to aim for a 2-3x return.
by mwkaufma | 2025-04-07 23:57:56+00:00
It's not a BSP, it's volumetric data (this is in the actual article). Just off the bat I get aerial navigation "for free" without having to hand-place regions, and a secondary collision-query for bullet-hell that's much faster than Chaos, which was a huge perf regression in UE5 from PhysX (which already wasn't great).

Additionally, there's productivity + rapid iteratoin. Trying to build interiors with Unreal's built in drag-out-an-actor-at-time interface is too laborious, and the built-in automations (Construction Scripts, Blutilities, PCG) are impedance-mismatched for constructing interiors quickly.
by scarface_74 | 2025-04-07 23:58:09+00:00
Given a choice between studying for admittedly meaningless leetCode style interviews and making $250k+ as a mid level developer at a BigTech or adjacent company and working really hard and slowly doing the corp dev grind for years to become a senior doing enterprise dev making $160K, why wouldn’t anyone who is young and unencumbered with kids not try to do the former instead of dismissing those types of interviews?

The $160K-$180k is about the median for a senior dev in most non tech companies in most cities not on the west coast. You can verify this on salary.com.

Yes I know most of the 2.8 million devs in the US are on the enterprise dev side and that’s where you will end up. But why not shoot for the moon?

For context, I am 50. Spent all of my career until 2020 on the “enterprise dev” side of compensation until a pivot and a position at BigTech in the consulting division fell into my lap (full time direct hire with cash + RSUs like any other employee).

But I tell every new grad to do whatever it takes to get on to the public tech company gravy train if possible.

That being said, at 50, I would rather get a daily anal probe with a cactus than ever go back to BigTech again. I’m good with where I am working for a smaller company.
by sporritt | 2025-04-07 23:58:27+00:00
I love to read W.G. Sebald. For several years I'd been on the lookout for a book called The Emigrants by the Swedish author Moberg, but the author's surname had never really stuck in my mind, I just knew about the book.

One day in a bookstore my son pointed out The Emigrants to me, which seemed serendipitous, so I bought it and took it home. Only after getting home did I realise The Emigrants by W.G. Sebald was not the book I'd had on my list all those years.

It turns out that the situation was very serendipitous indeed. Sebald was an amazing writer with a voice all his own, dreamlike and meditative, full of insight. The Emigrants is a story of loss and exile and yet somehow optimistic, or perhaps not; with Sebald it's enjoyably unclear.

I went on to read The Rings of Saturn, which I also enjoyed. The setup for the book is that a man is going to walk around Suffolk for a few days, basically. But it's not about that at all - as the man wanders so does his mind, and the book is basically an endless stream of digressions about any topic that enters his head. He might round a corner and see a church spire, for instance, and then before you know it he's talking about the colonial history of the Congo, which perhaps makes him think of Conrad, and suddenly we're onto the history of the church in Poland, etc etc. He never loses the thread, though. All of the digressions are interesting and insightful and together they all add up to something. Really great author.
by deathanatos | 2025-04-07 23:59:34+00:00
> Is raw a defined format?

It's not /dev/urandom written to disk, no. Yes, a raw format has a structure. There's not one "RAW" format though (and TFA notes this): e.g., my Canon's RAW format specifically referred to is called "CR3". And its predecessor was "CR2", so even within a manufacturer there are multiple such formats. All undocumented.

But a Pentax won't write out CR3s, it'll write out some other, yet bespoke format.

I've vaguely reverse engineered some of CR3: it is a container that contains multiple copies of the photo taken; IIRC it contains a thumbnail JPEG, the JPEG, and the raw data itself.

I doubt it's the most performant to write to storage: the format is vaguely TLV (its fairly similar to RIFF, if you understand the RIFF format), so it can't really be streamed to storage due to needing to know the lengths of the containing chunks (all the way out to the outermost chunk).
by themanmaran | 2025-04-08 00:00:38+00:00
I see a fair bit of utility here. We have an API product, and (despite having pretty clear docs) I almost always have to send people curl requests they can copy and run.

So I see this as similar to having a sandbox built into your docs page. Except I can customize a request and send it directly to a user. The only missing piece is the authentication part. Since I wouldn't want to embed an api key in this link.
by rvz | 2025-04-08 00:00:41+00:00
Here’s where we are with what Microsoft is doing:

Embrace (Open Source, Github, Linux) [x] Extend (AI, VSCode, WSL) [x] Extinguish <——————- (We are here) (Close to ‘Free’, Blocking extensions)

When Microsoft sees a fast growing threat to one of their flagship AI products (Github Copilot) thanks to Cursor, desperate measures become activated.

Microsoft will then attempt to race Cursor to zero to try to destroy them to become the best tool for close to free.
by blix | 2025-04-08 00:01:33+00:00
The issue is not really with the difference in impact between drone attacks and other types of aerial attacks, but with the dramatic increase in scale, resulting from reduced cost and risk.

It probably would have been more accurate to say something like "mass extra-judicial assasination/execution of individuals opaquely labelled as 'militants,' including US citizens, in foreign jurisdictions" instead of "drone strikes," but the latter is shorter and I thought would be understood as implying the former.