skysight-inc/HackerNews huggingface dataset:
If you set the precedent that the government can ignore the result of an election because the electee is bad, that's the very tool that a tyrannical government will use.

The first thing every dictator and tyrannical government does is stop or subvert the elections. There's still elections in Russia and China and North Korea.
Is it possible to play HTML5 video in reverse? (2011)
It's the first time I ever see the function parameters declared like this:

int my_function (a, b)
int a; char *b;
{
... body of function ...
}

What do you even call this?
I feeling like you described a “draw the rest of the owl” situation with “find an ml course”.

I’m basically in this situation, I’ve implemented products around AI and ML. I understand them at a practical level but want to dive into the theoreticals more. Finding a “survey ML course” is a huge challenge for me. I have absolutely no idea what’s considered state of the art.
Show HN: A simple in-browser text editor
ScrubBoard Kit: DIY Cassette Mixing [video]
No, it's just reality. He knows his job and I know mine.

If the team accomplishes all goals on time and the client is happy, why does there even need to be feedback?

Don't make mandatory feedback some kind of misguided target.
It would be egregious to keep property for years even if the arrest were made with charges. But, in the DC case, "the protesters did not face any charges" and their phones were kept for 14 months. That's doubly insane.
Apologies, but the point was that a GC will never unjustly take your memory from you without a well-defined rule. It may delay in taking it away, but if it does, it will be very clear why it did.
> Aren't we all?

Well, I'm clumsy...
> But I would much rather work with people who want to learn and aren't afraid to change things than old farts who prevent any improvement with the excuse that there's a non-zero chance that it will temporarily break something

The whole idea that juniors are somehow the people who know what improvements need to be made, and the seniors are the gatekeepers stopping them, is hilarious.

Juniors:

- don't know the domain

- juniors don't know why the existing ecosystem is how it is

- juniors probably can't even ascertain as good as a senior whether there is really a problem that actually needs solving

- hell, juniors don't even know half the capabilities of the language/framework/infrastructure you are using

Imagine that you are a teacher in school, and you find that somebody wrote a book "Whatever your teacher says, don't listen, just do what you feel like" and is actively pushing it to your students. That's what this BS "Ask advice, not permission" advice does to junior developers.

> It's so tedious.

It's tedious to have 3 junior engineers in a typescript/react shop, each from a different team, one wanting to rewrite everything in rust, one wanting to switch to deno, and one wanting to rewrite everything in vue, while there is no actual problem to solve.

This is a real situation that happened to somebody I know. And he, the senior, was the old fart, gatekeeping the great and always-learning juniors from all that potential rust greatness.

What if I come to your team and want to rewrite everything you have in Lua, and then complain when you "gatekeep" me?

There is seniority in software engineering, and in companies in general, so somebody can stop stupid ideas from proliferating and occupying the whole company's time. Sure, there is a problem of bureaucratic middle management that doesn't allow good ideas to come to fruition, but to not acknowledge that a huge percentage of ideas coming from juniors belong to the waste bin, that's just pure hypocrisy.
AMDs GPUs did indeed use a VLIW ISA[1].

They moved to SIMD. Not sure what they're doing in their latest as I haven't been paying attention lately.

[1]: https://www.anandtech.com/show/4455/amds-graphics-core-next-...
Hey! I made a minimal text editor using TipTap. Just a few days in, and going to build it out more -- what do you want this to be?
"Can't take care of yourself? Discouraged from having kids in your younger years? Nobody to care for you? Are you lonely in your old age? Fear not! We have the solution for you! Call 1-800-KILL-YOURSELF and we will dispatch an agent to assist you for the low low price of your remaining home equity!"

Joking aside (and I know I'm the only one joking), I think the outcome is not far off from what youre suggesting. When a government has a choice between stagnating to extinction and culling their unproductive subjects, well, governments do what they have to to ensure continuity.
Enforcement is definitely one of the sticking points, but seems solvable.

The simplest option would be a geofence on school grounds, but I realize this comes with issues and kids will figure out how to bypass it.

Another approach is to have some kind of scan-in/scan-out system where you’re allowed to maintain physical access by scanning some device upon entering the school which has been programmed to safely enable the mode without requiring intrusive access to the device itself. It’d unlock upon scanning out for the day or by a parent. This would require deep integration by Apple/Google/etc. similar to Apple’s work on digital driver’s licenses.

I describe a beacon-based approach in a sibling reply.

I think a feature set like this would need to be fairly dumb in that it should not require positive identification of individuals and should instead be focused on a fairly simple binary “you scanned into a limited area” type of decision.

I don’t know how I feel about these options or even the whole approach, but I’m bringing them up mostly as a way to explore the concept.
Say whatever you want, but this is how websites should be designed.
But on the other side of the coin naive GPU acceleration ends up with poor latency despite ‘not dropping a frame’

5ms input latency is a dubious claim, what really matters is input to photon / end-to-end latency
There’s drama between the two sites for sure.

And agreed the old site is much better than the new one.
> An ordered map is absolutely a hashmap

I have never heard of O(1) insert and retrieval from anything ordered.

So, no. An ordered map is not a hashmap
Is AdalFlow also focused on automated prompt optimization or is it broader in scope? It looks like there are also some features around evaluation. I'd be really interested to see a comparison between AdalFlow, DSPy [0], LangChain [1] and magentic [2] (package I've created, narrower in scope).

[0] https://github.com/stanfordnlp/dspy

[1] https://github.com/langchain-ai/langchain

[2] https://github.com/jackmpcollins/magentic
A Developer Figured Out How to Access Quest 3's Passthrough Cameras
Would this be the єСуд app, then?

That's certainly an interesting use case. And yes, difficult to see being pulled off anywhere in the US, the way it tumbles along with such things.

Re: paper checks: they're far from bullshit -- being time-tested, perfectly easy to use, and best of all, not requiring a device of any kind. Provided, as concerns ease of use, one has spent enough time in an environment where their use is ubiquitous. So I can certainly see they might appear as a nuisance or just weird at first, for the rest of the world).
But it’s not only about economics of the power production itself, having a source of stable energy like nuclear is also critical for national security (strategic, economic development, stability)
They are good, but I note that there are now hash tables in Boost that may be even better.

https://www.boost.org/doc/libs/develop/libs/unordered/doc/ht...
> Renewables are now cheaper than fossils

price of energy production != cost of energy

Lazard 2023 estimates that solar and wind in the California grid costs 2/3 times more than when just considering the LCOE. Solar and wind production can be cheaper, but the final price is way higher.
Yeah I feel the same way. The fact that Zed uses the system clipboard as the default register in vim mode, for instance, made it impossible to use in practice for me -- having every yank replace my clipboard was a bit of a nightmare!
Yeah, I've certainly seen cases where something was overbuilt and 90% of the time was wasted.

But I've also worked at places where things were underbuilt (e.g 0 test environments whatsoever except prod). If there was a gun to my head, to finish something in 1 hour, I'd test in prod.

So I think advice that sometimes is useful, sometimes is damaging, isn't really helpful. Not unless there's an easy way to tell which situation is which.
Show HN: PgQueuer – Transform PostgreSQL into a Job Queue
PgQueuer is a minimalist, high-performance job queue library for Python, leveraging the robustness of PostgreSQL. Designed for simplicity and efficiency, PgQueuer uses PostgreSQL's LISTEN/NOTIFY to manage job queues effortlessly.
> There's never really an explanation as to why "we have to treat these things like infallible perfect works" when they're not, and even their authors told us they're not.

They are not, though. The constitution can be changed and has been changed many times in the past. I assume they think (or justify their decisions by saying that at least) that it’s not their job to pass legislation or enact constitutional amendments without any input from the states/congress which seems like a reasonable viewpoint.
How do you "enforce" system requirements? Either the machine will run the software or it won't. Is Microsoft actively blacklisting hardware specifications to force people to buy new hardware even if they don't need it?

Why in the world would anyone continue to rely on this company?
>> What is the fixed point from which they are measuring the speed?

Rest of the milky way galaxy, presumably, given that it talks about escape velocity from it.
Indefinite does not mean never; that's what infinite means. An indefinite amount of time means not a definitive amount of time; i.e. "we don't know how long".
What's Blocking Google Analytics Now?
How to waste the maximal amount of money for minimal benefit. Lidar at ever intersection. The idiocy is incrdible.
I am one of those people. I keep a Windows partition around only for gaming. Looks like I’ll have to replace it with a Linux partition.

Essentially all I need is Steam and discord. Let me know what Linux distributions is most suitable?

FreeBSD is my daily driver but I’m well familiar with the entire OS jungle by now :-)
I'm wondering if the author ever tried one of the many neovim distributions, which solve a lot of the problem they're describing. All of the plugins and integrations necessary are already set up to create a nice fully featured IDE-style environment. E.g. LazyVim, AstroVim or NvChad
> CP/M systems rarely had more than 64Mb of RAM

True. But I think you meant KB.

Back in the days when CP/M was king, even 20MB Winchester hard drives were rare
A new drug could turn back the clock on multiple sclerosis
That's literally an instance of Nitter
Adding libraries like Abseil, Folly, or Boost is kind of a huge pain in the ass. They’re monstrously huge libraries with a kajillion headers.

I recently tried to compile Folly on Windows and gave up. Maybe Abseil is better? I’m not sure. But it’s still a HUGE dependency to take on.
so I assume Britain received its imaging intelligence from the US as part of five eyes. or else I cannot explain how a nuclear armed country has skipped over one of the main prerequisite for missile targeting for 60 years
I die inside whenever I use `\<` and `\>` for word boundary regex. Neovim has no plans to change this either. I'll likely switch eventually so I don't have to know two flavors of regex. One is hard enough.
> Not a whole lot, at any rate. The poster child was probably BerkleyDB, but the current version is vended from a fork which still uses the pre-AGPL license terms

It is "dual licensed". AGPL and proprietary license according to Wikipedia

I am unsure how that works...

Oracle
I found some sites recently that have big ASCII banners in the console log when you open devtools telling you to stop being naughty.
I think that's two separate battles which are part of the same topic.

Battle #1 is combining the complexity and abundance of electronic devices with the time, dedication, and cleverness of kids requires (literally) writing a bug free operating system & application ecosystem as well as nearly every school employee having a completely accurate understanding of how to manage them. The goal here is never to get to 100% compliance but to add friction to noncompliance so it's easier for workers to do their job and get through the day.

Battle #2 (the part these kinds of bans focus on) is on setting expectations for when electronic devices are allowed at all. Whether or not students always comply isn't even the goal of this battle, it's all about making the problem clear and swift to deal with: "I saw your phone during school hours so you're caught and it's confiscated" isn't about preventing kids from being sneaky, it's about making the enforcement easy.
Wherever one can get jobs, there the cost of living--mostly housing--is exorbitantly high. Whether one works 20 hours a week or 40 hours a week depends on the cost of housing.
This was really cool to read:

Please open a discussion if:

You have a question.
You're not sure how to achieve something with dasel.
You have an idea but don't quite know how you would like it to work.
You have achieved something cool with dasel and want to show it off.
Anything else!

---

I really like dasal.

Can I pipe a .csv to dasal and have it spit it out in JSON? And is that the best way to do that? (arent there like a ton of ways to achieve this, or would dasal make it super simple?)

Also, what would be interesting would be to be able to pull and scrape text, to put into a structured JSON.

For example - I was talking about using a Discrenment Lattice to construct a profile for a PERON PLACE THING that one was doing research on, such that you can pull multiple sources/data-types for information on [SUBJECT] and have the knowledge dossier updated. Where, for example one could pull a lot of results that can be summarized by an GPT - then using Dasal to grab the relevant component-data-points and dasal-ize and feed them into the Discernment Lattice JSON File such as I described here:

https://i.imgur.com/vuuAtAL.png

So building out a structured lattice file for a senator would look like:

https://i.imgur.com/68WFiGA.png

So, using a crawlee txtai workflow --> dasal parse --> into lattice file.

Then the lattice file can be used to compare similar slices across all the different [SUBJECTS] -- such that further ties can be made.

So, in this example - we have the data being organized for all the various entanglements a congress person has - and we can use that as a constraint for searching for relations between [subjects] which share elements across ordinarily opaque threads.

The cool thing, is that one could then easily use it to ensure you scrub and manipulate the data into a more trainable lens for effectively fine tuning the data that you want to fine tune the model with/on - thus creating a hyper contextually focused lens - https://i.imgur.com/yngUwpr.png
> I’ve never been able to maintain eye contact with anyone and I grew up long before smartphones were a thing

Sorry. I was using eye contact as an indicator of involvement, focus and a general ability to engage in conversation. I didn’t mean to suggest it’s bad per se.

I have colleagues on the spectrum. They don’t tend to maintain eye contact when they speak. But their conversation is deeply engaging. The cell phone kids, on the other hand, have a specific vacant gaze that, once you see it, almost gives an “is anybody home” vibe. Their sentences are short and abrupt, diction well below where it should be at their age. (And these aren’t stupid kids. They’re just bad at interacting off screen.)
Rust panics are basically exceptions, aren’t they? Typically they aren’t caught without terminating. But you totally can. And if you’re writing a service that runs in the background you’ll probably have to.
Don't Repeat Yourself and the Strong Law of Small Numbers – iRi
I'm not pro Cybertruck. But people collectively losing their mind over it is ridiclous. Other trucks are more common and more unsafe.

I have heard 100x more people making Cybertruck jokes but almost never about actually improving safety in any signifcant way. Farming browny points by with low-hanging anti-Musk stuff seems to be more important then anything else for most people.

There is a whole cottage industry of anti-Cybertruck stuff all over the internet, if all those people put their energy into actually explain how to actually improve safty, we would be much better off.
GuestCast
War, rioting, increased crime, social unrest, etc
I used Zed on Linux and liked it a lot... until I couldn't write a space in english layout (still worked on alternative layouts). Strange
> VSCode is pretty good, but not good enough to stop me migrating off the second a more viable editor arrived.

If you're interested, there is VSCodium (VCCode without the Microsoft/proprietary parts). There's also Theia, if you want to take things a step further away from Microsoft.

> I guess C# isn’t horrible? It’s far from a language I want to use, but it’s not teams level of atrocious, so they’ve got that going for them I guess.

No clue if this is true for other companies, but I know a company that does big outsourcing project and most of them in C#/.NET and Angular. I've seen plenty of that code. My impression was/is that most of the C# code was extremely basic and mostly just tying together all ready-made libraries/features/frameworks/services (which Microsoft provides on their platforms/products) that actually made up the apps/services. C# itself just isn't all that much. Apart from maybe a gateway to guaranteed vendor lock-in. Maybe that is why they made sure to not mess that one up ;)
There are also newer M68K cores designed by retro-enthusiasts to run in FPGA, either as emulator or as CPU accelerator in vintage computers.
An example, the Apollo 68080: http://apollo-computer.com/apollo68080.php
I've used VS Code for my Rust development for several years, and I tried out Zed for a couple weeks earlier in the summer. The integration with `rust-analyzer` wasn't super smooth though, so I've switched back for now but would consider trying it again when it's more mature.
Personally I think this is a problem better spent by fixing the shell. There’s a few alt shells out there now, Nushell, Elvish plus the one I help maintain, Murex (https://murex.rocks).

I’m obviously going to biased here, but it’s definitely worth your time checking out some alt shells.
Pretty strong statement without any supporting arguments. How do you propose someone debug a memory leak issue using page faults and cache misses but no rss metrics?
https://archive.is/8f34k

Even many Indians are trafficked to SE Asia in the name of employment, only to scam Indians. And these scam centers are run by Chinese.

[1] Cambodia: Hundreds of Indians rescued from cyber-scam factories: https://www.bbc.com/news/world-asia-india-68705913

[2] Cambodia Job Scam Victims Beaten & Deprived Of Meals. https://www.youtube.com/watch?v=c5X5xVSiFHQ

[3] In Cambodia, reporting on illegal scam centers brings threats https://www.voanews.com/a/in-cambodia-reporting-on-illegal-s...

[4] They’re Forced to Run Online Scams. Their Captors Are Untouchable. https://www.nytimes.com/2023/08/28/world/asia/cambodia-cyber... https://archive.is/H7Vex

[5] Inside the 'living hell' of Cambodia's scam operations https://www.france24.com/en/live-news/20221109-inside-the-li...

[6] Chinese Mob Has 100K Slaves Working in Cambodian Cybercrime Mills https://www.darkreading.com/cyberattacks-data-breaches/chine...
> In the case of Robotron 2084 it's amazing because nothing today offers the same gameplay: you need two 8-directions joystick, on to move in one of 8 directions and the other joystick to fire in one of 8 directions. They don't make it like that today, unless you play a Robotron clone using actual arcade joystick.

One could argue they do, these types of games are referred to as twin stick shooters. You can play them on modern PCs with modern gamepad that have two directional joysticks.

Two of my favorites are Enter the Gungeon and Brigador.
Old laws are among the most likely to have deviated from their intended functionality. In my imaginary system, though, someone would have to raise the case to the courts, so it wouldn't be just happening all the time.
So police is the VM/programming language and you’re the program? Person writing the program? Or is it the other way around?
I built a way to track people when they guest appear on podcasts

You can add the RSS feed to any podcast app you want and it will automatically update whenever they appear on a new one
Not every attack results in damage. And not every bite is an attack.

Maybe have a look at this (cyclist chased by dogs). None of this stuff gets reported. This guy has hours and hours of similar attacks. It is pretty common.

https://m.youtube.com/watch?v=cpgXW5OpAUQ
This. Whenever I see mergers between already large companies in the tech sector, I'm baffled the regulators give the green light.
We are broader. We have essential building blocks for RAG, Agents. But also made whatever you build possible to auto-optimize. You can think of us as the library to do in-context learning. Just like PyTorch is for model-training.

Our benchmark has compared with Dspy and Text-grad(https://github.com/zou-group/textgrad)

We have better accuracy, more token-efficient, and faster convergence speed. We are publishing three research papers to explain this better to researchers.

https://adalflow.sylph.ai/use_cases/question_answering.html

We will compare with these optimization libraries but wont compare with libraries like LangChain or LlamaIndex. As they simply dont have optimization and it is pain to build on them.

Hope this make sense
This would require deep OS-level features from Apple/Google/etc. See my reply to a sibling comment for spitballing ideas, but I don’t think it’s necessary for this to be invasive.

Another approach would be beacon-based, where the devices would operate with limited capability if in range of an actively broadcasting cryptographically secure “At School” beacon.

I think there are plenty of ways to do this without surveillance or any specific knowledge about individuals using the phones, but it would require collaboration between schools and device manufacturers, and would understandably raise questions about whether disabling devices in this way is a slippery slope to other things.

Although I wouldn’t be too mad if this was generalized to concerts and movie theaters. Finding the balance between policy enforcement and safety would be the top issue.
Don't forget ActiveX!

Those 3d games were pretty standout amidst the Macromedia/Adobe/Shockwave/Flash platformers on Miniclip.
> I have never heard of O(1) insert and retrieval from anything ordered.

Then you’ve not gotten out much. Here’s one: https://docs.python.org/3/library/stdtypes.html#dict

Here’s an other one: https://docs.python.org/3/library/collections.html#collectio...

Here’s a third one: https://docs.rs/indexmap/latest/indexmap/map/struct.IndexMap...

And a fourth: https://docs.oracle.com/en/java/javase/22/docs/api/java.base...

> So, no. An ordered map is not a hashmap

Still wrong.
Which yq? Last time I checked, there seemed to be a few tools with the same name.
Do you know if/why on apple silicon Macs there’s a difference between videotoolbox and videotoolbox-copy ? I thought the SoC memory is shared and that there wouldn’t be a need for copying data from VRAM to RAM.
Show HN: Jobber: OSS browser controlling agent to apply for jobs autonomously
Hey everyone! We built an agent that takes in your resume and applies for jobs so you don't have to spend time searching and filling job applications. It's primarily meant to showcase the power of AI agents that can control browsers and take action on UIs
From Caveman to Chinaman