skysight-inc/HackerNews huggingface dataset:
This is what it is compiled to in .NET[0] today more or less[1]. What does OpenJDK compile these to? (edit: misread as could compile. Hmm, I wonder how much the difference will there be in average FFI cost with newer APIs vs direct calls)

[0] Objects that need pinning are pinned(by toggling a bit in object header), byrefs are pinned by simply storing them on the stack, arguments that need marshalling involve calling corresponding marshalling code. That code can allocate intermediate data on heap, on stack or call NativeMemory.Alloc/.Free C-style.

[1] Overhead can be further reduced by 1. annotating FFI calls with [SuppressGCTransition] which saves on possible arguments stack spills and GC helper call, replacing the call with a single flag check and optional call into GC in epilog, 2. in NativeAOT, p/invokes can be "direct" which saves on initialization checks and indirections (though they are reduced in JIT as it can bake data directly into codegen after static init has finished on recompilation). This has a tradeoff as system's dynamic loader will be used at application startup instead of regular lazy initialization and 3. direct p/invokes can be upgraded to static linking, which transforms them into direct calls identical to regular C calls save for the same GC flag check in post-condition. This comes with compiling .NET executables and libraries into a single statically linked binary (well, statically linked for the native dependencies the user has opted into linking this way).
Twitter user @mr_james_c opined about this:

1984 ad: Monochome, conformist, industrial world exploded by colourful, vibrant human

2024 ad: Colourful, vibrant humanity is crushed by monochrome, conformist industrial press
I believe this is the case also. With a well enough performing AI/ML/probabilistic model where you can change the model's input parameters and get a highly accurate prediction basically instantly, we can test theories approximately and extremely fast rather than running completely new experiments, which will always come with it's own set of errors and problems.
It's an interesting argument, I'm sure there are lots of reasons why it's a bad argument, but the one I think about is that depth perception isn't actually fully understood, mostly, but not fully, and, an important system that is always overlooked in that argument is that the vestibular system (among others) is also involved in depth perception. You can say binocular vision is just LIDAR, but that's not the whole story.
NASA's Webb Hints at Possible Atmosphere Surrounding Rocky Exoplanet
Yes, proof of stake like Ethereum's blockchain is more energy efficient. However it could potentially be less secure.

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

The users of BTC also pay for that electricity consumption, and value is derived from having a ledger that is not controlled by any government. Building out clean energy sources is the real solution like nuclear, deep geothermal, solar, wind, etc.
Ah nice, good work :) I might steal some design ideas for my own project haha https://github.com/nilsherzig/LLocalSearch
>Yes. We don't use metric in the USA and you can't make us :)

NASA demonstrates otherwise.
I would also love an API like this for integration with Plandex[1] (a terminal-based coding agent for complex tasks). Perplexity has an API but it only exposes various open source LLMs, not the search-enriched results from their main product.

It would be really cool if, when starting a coding task with Plandex, relevant docs/context from a web search could be automatically included in context via this kind of API. Currently urls can be loaded into context with `plandex load [url]` but you have to figure out which urls would be helpful to load yourself.

1 - https://github.com/plandex-ai/plandex
I call myself a "Full Stack Software Janitor" since I mostly get hired to clean up and find myself cleaning up the work of other devs.

I've been thinking its less "Tech Debt" and more "Tech Sewage", as with sewage its a part of our normal day, and we just flush it down the drain hoping it never resurfaces, or at least that we won't be the one dealing with it.
> I still have some hopes that it will evolve towards a P/Invoke like experience.

Doubtful, given that this is something we worked hard to avoid. To be efficient, a P/Invoke-like model places restrictions on the runtime, which inhibits optimisation and flexibility and this cost is worth it only when native calls are relatively common. In Java they are rare and easily abstracted away, so we opted for a model that offers full control without giving up on abstraction, given that only a very small number of experts (<1%) would directly write native calls and then hide them as implementation details. I'm not saying this approach is the right one for all languages, but it's clearly the right one for Java given the frequency of native calls and who makes them.

Of course, you can wrap FFM with a higher-level P/Invoke-like mechanism, but it won't give you as much control.
lakomen, can you email me at caroline AT arcade.software with a video with more details? The team can't easily repro this on their Android.
How DNS Works in Firezone
> As far as I know, book publishing isn't a high-margin business.

E-book publishing certainly is or there would be more bullet points to add to my comment above. The only way this could not be the case were if they were addicted to investing in authors that didn't produce revenue—certainly possible, but I don't see any indication of this.
Most people will interact with a digital library through use of some app, something like Steam. Reselling in this context is as simple as the app owner simply deleting the book from your list of books and adding it to my list of books, removing any local copies it knows about in the process (or simply reconciling it the next time the app is open).

Is this a foolproof system? Hell no. It's not even that hard to cheat. But most users aren't terribly tech-literate in the first place. And also, most people tend to want to comply with the law. I quoted elsewhere Gabe's comment about piracy--it's primarily a service problem, and the evidence has generally shown that if you deliver the services that people want, the piracy rates plummet.
You can initiate a new search by using the URL `https://devv.ai/search/{query}`.
Yes, I came here to mention that everyone also expects to be "senior" too...
If Protonmail, and Apple, and Google, and Microsoft and Phone companies, etc., all, in concert, give some parts of the identity -- the total identity can fairly easily be found.
> Personally, and I mean it in a nice way, I am not obligated to build you a home. I am not even obligated to do it for my kid. Frankly, neither is the society as a whole.

I'll happily pay many multiples of what homes used to cost - just make it legal to build homes.

Let us do the things we want without having to cut through a thicket of laws intended to help and protect us. We don't want them.

Please, we've had more than enough of y'all's help.
I had this thought too as part of an explanation for why America is so eager to engage in foreign wars. It gives the military a chance to use aging munitions and test out new platforms.
But who would buy them? Generation Y+ can't afford them.

I'm only half joking: The issue isn't the supply of new housing, it is the cost of building new housing. If we fix the cost issue, the new houses will follow.
I swap between Androids and iPhones every 18-24 months, so I can stay current on both. I use both equally well, and find both to be fine, generally.

I've used a lot of Androids over the years, but the Pixels, in my case, all had substantial issues that never should have been, which really is garbage, considering the price.
Nice! This is really cool. Well done.
Thanks, those look helpful. Whenever I meet someone with relevant PhDs I ask their thoughts on AlphaFold, and I've gotten a wide variety of responses, from responses like yours to people who acknowledge its usefulness but are rather dismissive about its ultimate contribution.
I mean, what those 1 million people would be even doing there? What would be their purpose there? Definitely not resources, because getting anything from Mars would not be economical.

I do understand to have an international base of few dozens to few hundred scientists on Mars who will be studying it 24/7. But that's about it.
Well yeah, it's just a formalization of how people make decisions when presented with conflicting interests. I would be surprised if we haven't reinvented the concept a bunch of times. You could call AWS Permission Boundaries a less philosophical implementation.
Wonder if this will make JNA (Java Native Access) redundant at some point: https://github.com/java-native-access/jna

Very useful, especially the prebundled platform bindings.
"edge deployment" by which you mean client-side application-specific inference. That's not bad, but it's also table-stakes when ONNX/Tensorflow exists and obviously isn't analogous to the server products Nvidia is shipping today. You can "deploy" CoreML the same way Android developers deployed Tensorflow for edge compute 5 years ago, but that wasn't even interesting when people demoed it on Raspberry Pi. Apple is behind.
Sure. If/when we see anything practical, that’ll be the right moment to pay attention. This is much like “quantum computing” where everyone who doesn’t know what it is is excited for some reason, and those that do know can’t even articulate any practical applications
Data breach exposes info for 80% of El Salvador's population
> home screen was at the top

Since the biggest battery consumption associated with home screen is the display, and users are only briefly on the home screen, before using it to navigate elsewhere, home screen should be near the bottom (1%) of power consumption.
Using polars in Python I've gotten similar to work, using LazyFrame and collect in streaming mode:

```
df = pl.scan_parquet('tmp/'+DUMP_NAME+'_cleaned.parquet')

with open('tmp/'+DUMP_NAME+'_cleaned.jsonl', mode='w', newline='\n', encoding='utf8') as f:
for row in df.collect(streaming=True).iter_rows(named=True):
row = {k: v for k, v in row.items() if (v is not None and v != [] and v != '')}
f.write(json.dumps(row, default=str) + '\n')
```
Maybe I’m missing a joke here but to me “godbolt is a real person” seems way out of place. Compiler Explorer is a great contribution to the community and he gives informative and humorous presentations. I would like to know why he got dragged into this list.
Oh wow, shit.

My one story: A band I was in at the time recorded drums at Electrical Audio in 2010 (I think) and I was the drummer. Albini was not involved in the project and though he was around, we didn't see him much. I would wear this really bad t-shirt with the sleeves cut off to keep cool while playing. As Albini passed by me one time, he looked at me and _very_ sarcastically said, "Don't worry, you look great" and kept walking. That was our only interaction.
This seems really cool, but also a nightmare to maintain. What are the plans for keeping this in sync with the upstream codebase?
>Of course all of their programmers were "Software Engineers" but none had actual engineering certification.

There's one more reason: "software engineer" is categorized as engineering as far as the TN visa/NAFTA is concerned (so border-hopping to do that job is mostly trivial); "software developer" is not.
That some boomers like Ozzy Osbourne are still alive is just a freak accident. There have been plenty of baby boomer people who died comparatively young.

Longevity is part genetics, part lifestyle, and part just dumb luck. Unfortunately Steve just got a bit unlucky, or bad genetics, or both. Or maybe in spite of his alcohol- and drug-free lifestyle he just had a really bad diet.
Dear googler or meta-er or timeseries transformer startup something-er: Please make a ChatGPT/chat.lmsys.org style interface for one of these that I can throw data at and see what happens.

This one looks pretty easy to setup, in fairness, but some other models I've looked at have been surprisingly fiddly / locked behind an API.

Perhaps such a thing already exists somewhere?
> no need to truck in jersey barriers.

The video clearly shows barriers between the workers and the active surface lane.
> If it were otherwise, and those trendsetting companies actually believed LeetCode tested programming ability, then why isn't LeetCode used in ongoing employee evaluation?

Probably recent job performance is a stronger predictor of near future job performance.
The fact that this is not a manual reimplementation, but a "transpilation" of the psql source from C to JavaScript, makes this super interesting to me.

From the Postgres master branch (17devel), we take exec_command_d, exec_command_list and exec_command_sf_sv from command.c, and all of describe.c and sql_help.c, from src/bin/psql.
We use plenty of RegExp search-and-replace to turn this C code into valid JS syntax.
We implement some C library functions, such as strlen and strchr, and some Postgres support functions, such as printTable and printQuery, in JavaScript.

Read more here: https://neon.tech/blog/bringing-psqls-d-to-your-web-browser
The elixir-tools Update Vol. 6
That's not at all my point. My point is a car with 15,000 parts in it is statistically more likely to have problems than a car with 7,000 parts in it. Hybrid vehicles by their very nature tend to have high part counts, lots of custom components to support the hybrid drivetrains, and increased difficulty of maintenance because everything is so tightly packed. IMO it's complete and total insanity to think that long term ownership will be anything but the worst of both worlds; all you need to do is look at the Toyota Prius to understand the long tail is gonna work there.
PEAQ/PESQ and visqol is worth trying for that. In principle they operate as you suggest. I keep a short overview of audio quality methods/tools here: https://github.com/jonnor/machinehearing/blob/master/audio-q...
I never had the problem of too many pointers, but if I did I'd try the "arena"[0] approach.

Preallocate a huge area of memory and use smaller indexes relative to the start instead. Provided a pointer is bigger than a int. You might be able to use this in that approach and keep partial pointers instead.

[0]https://www.rfleury.com/p/untangling-lifetimes-the-arena-all...
> The issue isn't the supply of new housing, it is the cost of building new housing.

I fail to see the distinction. The cost barriers (most of which are legal/zoning related) reduce quantity supplied.

I don't believe it costs 2 million in materials or labor to make a condo in California.
People will be depressed because they spent decades getting into professorship positions and publishing papers with ostensible comprehensible interpretations of the generative processes that produced their observations, only to be "beat" in the game by a system that processed a lot of observations and can make predicts in a way that no individual human could comprehend. And those professors will have a harder time publishing, and therefore getting promoted, in the future.

Whether ML models produce hypotheses is something of an epistemiological argument that I think muddies the waters without bringing any light. I would only use the term "ML models generate predictions". In a sense, the model itself is the hypothesis, not any individual prediction.
Leaving aside the manufacturing portion, I'd note out that there's a certain kind of (regrettable, tragic) operational knowledge any military might gain when using tools during real combat.
Do you think it's bad that it won't try to persuade the user that the earth is not flat?

I really want to know what OpenAI think the output should be, given a prompt like "write an argument for why earth is flat".
CUDA features unified memory that is only limited by the bandwidth of your PCIe connector: https://developer.nvidia.com/blog/unified-memory-cuda-beginn...

People have been tiling 24gb+ models on a single (or several) 3090/4090s for a while now.
I filed a claim against Apple
I think you're saying that instead of regulating the experience for kids, parents should keep their kids away from that class of product entirely. In essence, treat all social media as adult-only products.

The biggest difficulty is coordinating this approach with other parents and institutions - it is punishing to be the only kid without a smartphone when peers (and increasingly, institutions) require you to have one to participate.

But that issue aside - it is still strange to allow for this class of products tailored to kids but parents are just supposed to universally agree should not be bought. There is clearly a society-wide issue here that we've left for individuals to solve. Predictably, it is not going well.
No. Positive discrimination is a form of affirmative action in various countries' laws and policies. Positive action is another. Positive action is not positive discrimination. Paragraph 2 mentioned merely targeting encouragement for increased participation even if you did not know what positive action meant.
Yeah, companies really seem to like pissing away their users money on AWS. And then people wonder why everything is an expensive subscription now and somehow Amazon keeps getting richer...
> Man I am glad years ago I watched Yuri Bezmenov's interview with G. Edward Griffin.

Do tell. Content? Main ideas? A link? Anything?
The Art of Air and Space
Eric Blair's Anti-Sex League is coming into full swing, innit?

With a century of public policy fuggery, the domestic stock has been induced into a situation where it refuses to effectively breed its next generations in comparable numbers to other competing stocks. It could be mistaken for accidental if the elite weren't then back-stopping tax and investment losses with importing supply from those other stocks.

If The West is purely cultural/ideal, then mere assimilation should be enough for its persistence. If The West is its people then this situation spells certain doom if not arrested.

The West's place at the top of the world is going to be toppled by a nation with less feminism and anti-natalism this century, unless The West can destroy all other effective competition.
Management is deeply ideological more so than people working. Was in an IT union for over 10 years. I can't speak to how great the union was for worker issues - I was told to my face I "had a religious problem" by a manger and the union wasn't able to do much. Management also repeated "don't document" and again the union really couldn't do much. After repeatedly told not to document work I got a pocket recorder so I could talk to myself and document later on my own time. Then mgmt fired me and when I cleaned out my things I didn't find that pocket recorder. Since I was no longer an employee I told by union rep that my pocket recorder may still be at work and to watch out for it.

The next morning the union rep met with me to deliver a letter from HR to sign saying I resigned - that was all that was in it. The union rep and mgmt knew about the 'your religious problem' verbal warning I got from that meeting with a manager - the other person at that meeting was writing something down and didn't hear it and when I asked the manager what he meant by that and he clammed up. Smart move really.

So if anything the after work relationship with the union reps who could still act on my behalf helped out. Other people there were not comfortable to interact with me on anything work related at that point. Notable is that I'm not religious in any way, but was insistent that documenting work was a necessity. That was while working for a state university.
A procedural system for generating historical maps of rivers that never existed
There's a meta-question which is "if you did should you have been doing what you were doing?"

Also a great question. As a manager, my first question would be to ask why a library wasn't used for algorithm X.

In grad school, I wrote a complete implementation of Rijndael encryption for a crypto class, but I would never expect (or want) anyone to try to build that themselves for production software.
And Nvidia annihilates those scores with CUBlas. I'm going to play nice and post the OpenCL scores since both sides get a fair opportunity to optimize for it.
I skimmed at the topics of few them. It certainly seems impressive to me.
Bye-bye bots: Altera's game-playing AI agents get backing from Eric Schmidt
Build an F-You Network
Med students don't have the time to make Anki cards
There is a small trend among private companies, specifically in the tech sector, in moving to a 4 day week (the real 4 day week, 4x8hrs schedule) as they recognize the benefits for both sides, especially around retained productivity and better well-being, which then translates to better talent retention.

Advocates such as 4 Day Week Global consult companies on this topic and coordinate trials for them to test the waters or share results of surveys (available online) done with companies that already undertook such a trial. I've been watching this space for some time now and it's all definitely worth the attention.

Btw. I list 4 day week companies https://okjob.io/companies/ so if you know any business operating shorter weeks let me know.
I'm not sure I understand how to use that.
In case it's not clear, this does not "beat" experimental structure determination. The matches to experiment are pretty close, but they will be closer in some cases than others and may or may not be close enough to answer a given question about the biochemistry. It certainly doesn't give much information about the dynamics or chemical perturbations that might be relevant in biological context. That's not to pooh-pooh alphafold's utility, just that it's a long way from making experimental structure determination unnecessary, and much much further away from replacing a carefully chosen scientific question and careful experimental design.
Very sad to see they did not make it open source. When you have a technology that has the potential to be a gateway for drug development, to the cures of new diseases, and instead you choose to make it closed, it is a very huge disservice to the community at large. Sure, release your own product alongside it, but making it closed source does not help the scientific community upon which all these innovations were built. Especially if you have lost a loved one to a disease which this technology will one day be able to create cures for, it is very disappointing.
And before that there were Rat Things in Snow Crash or Slamhounds in the Sprawl books.
> I couldn't get that button to do anything in the demo

See how the button changes the comment box (but yes, need to improve it)

> I'm one of those strange people who would like infinitely nested threads in Slack too

You're not alone!

> I think it might be nice to have every thread "concluded" with a "result" (summary, outcome, to-do list, etc) which is then injected back into the parent where everybody will see it

Maybe instead of injecting into the parent, we could show it in the info box on hovering the text?

> I'd ideally like all the nested threads to naturally turn into a single linear summary of everything important that was decided

That would be beautiful!

> a thread for every single word is too fine-grained

We've seen threads being created out of two words
Same here. I can almost float when equipped with a 3mm closed-cell shorty wetsuit (very buoyant), but my legs still pull me vertical...