skysight-inc/HackerNews huggingface dataset:
It’s a very bad use case for an LLM because they don’t have as much polars code in their training data and the polars API has changed a lot in the past couple of years.

Copilot is still suggesting out of date polars code to me. ChatGPT and Claude regularly suggest operations that are valid in pandas and not in polars.
I am surprised this policy makes sense, but somehow it seems to be the case, since they have been doing since the 80s.

My concern is that, to produce a single antivenom dose, they need about 150 spiders, which are collected as grown up spiders or eggs. Telling regular citizens to try catch some spiders on their own puts them at risk. In case of something going south, the worst case is death and the best case is an antivenom dose consumed. So by promoting this campaign, the ARP organization assumes that the average person is a highly skilled spider catchers and benefits outweight risks.

Instead I would have expected that antivenom producers would breed the spiders in captivity. This would be a safer alternative for regular citizens. If they really need to catch live spiders in the wild, I would expect some kind of public service in which individuals place a call and then a professional comes to safely catch the spider. In absence of such a public service, my instinct tells me to kill the spiders in the fastest and most reliable way.
This contradicts the specification, which explicitly supports stream-processing zip files, which necessarily can't happen if your source of truth is the central directory record. Unless if you can wrap your stream processing in some kind of transaction that you can drop once you discover foul play.
Before C++98, this used to be pretty much table stakes in C++ compiler frameworks, e.g. Turbo Vision, AppToolbox, OWL, MFC,....

I still don't get why the standard library went the other way, other than starting the tradition of standardised wrong defaults.
Exactly. Which, unfortunately, isn’t how you framed your original comment. Instead you talked about the authors motives and indirectly called them lazy.

If you focused your comment purely on the technology rather than making ad hominem attacks to the contributor then we wouldn’t need to be having this conversation to begin with.
Many people underestimate how fast an e car can accelerate... Would like to know how many accelerated to their death, cause it's their first e car...
Which I suppose is a failure of marketing by Apple? If casual non-Apple readers of HN don’t know the links work for non-Apple devices, no one does :)

(I’m an Apple reader of HN and I didn’t know this either!)
"How I Ship Projects at Big Tech Companies" Response
Being actually enforced, even in release.

Most folks don't use those #defines, and many still haven't leaned about them.
> The average ... has what I'd consider a high level of stress, chronic health conditions, one or more pharmaceutical prescriptions, and our food system is sorely lacking and borderline poisonous. With all those factors in play I can't put too much weight behind my view of the average person's intelligence

Affluent societies that abandon an ideal of personal development bound to forces that bring to a catastrophic configuration of society, with devastating effects: the absurdity, the risks and impact, the diversion from propriety merit all focus.

I shall add: the Great Scarcity today is... Societies.
That’s more a statement on yourself though. You don’t need to comment that way, you choose to.

So my point stands.
You say ram has gotten cheap, and then $193 for 32GB is fine with you? You can easily get 64GB for that price when buying separate modules.

I still think it would be beneficial for us to keep memory swappable at all costs. And if the connector is the problem, they should address that, rather than just accepting these tactics that _enable_ manufacturers in setting their own prices. I'm not saying they all do this, but there's plenty of them and Apple is the perfect example like you say.
No they didn't, if you care about security, gsl::span is the answer.
Isn't "natural" gas a scam to keep polluting? Why not nuclear and within a lifetime renewable energies?
This is probably a naive question but very relevant to what we have here.

In a protocol where a oft-repeated request goes through multiple intermediaries, usually every intermediate will be able to cache the response for common queries (Eg: DNS).

In theory, ISPs would be able to do the same with the HTTP. Although I am not aware of anyone doing such (since it will rightfully raise concerns of privacy and tampering).

Now TLS (or other encryption) will break this abstraction. Every user, even if they request a live stream, receives a differently encrypted response.

But live stream of a popular boxing match has nothing to do with the "confidentiality" of encryption protocol, only integrity.

Do we have a protocol which allows downstream intermediates eg ISPs to cache content of the stream based on demand, while a digital signature / other attestation being still cryptographically verified by the client?
The "Right" Keyboard Layout
Just Launched: Videiro Portfolio
Hello HackerNews,

Were TGM and 4rkal and we created Videiro. It is a video editor portfolio platform, where you can create a profile, add all of your work and send it to clients. An example of a portfolio page is: https://videiro.com/p/clutchofficial

Why did you build it?

When reviewing application for our Video Editing agency (hire.videiro.com), we saw a major gap in the market: there is no high quality platform where video editors can easily showcase their work to potential clients. Many editors use file sharing platforms like Google Drive, which make it hard for clients to verify if the editor has worked on the project.

What sets it apart from other platforms?

It is completely free to use.

We offer verification of videos, which means that the uploader of a video can verify that you edited it for them. All you have to do is send your a client a link and wait for them to verify with their google account. (this currently only works for youtube, but we will add more platforms soon)

Create a portfolio today: https://videiro.com

We only recently launched so would highly appreciate any feedback!
Why Illegal Moneylenders Persist
The exhibit in question opened in 2000, so the article is likely from 1999.

https://www.si.edu/exhibitions/fast-attacks-and-boomers-subm...
That's why they should hire someone else to do the leg work (That's what they used to do anyway). There isn't exactly a lot of unique things in Portal 2 compared to the original but the sheer polish and testing Valve applied to their games (when they want to) is still unmatched.
> No they didn't, if you care about security, gsl::span is the answer.

https://godbolt.org/z/Pda9Me45P ?
> Taking the spherical human ...

Otherwise known as an American? ;)
The fastest way to build with PHP
Googling:

>To prove prima facie defamation, a plaintiff must show four things: 1) a false statement purporting to be fact; 2) publication or communication of that statement to a third person; 3) fault amounting to at least negligence; and 4) damages

So probably no in that case as there was no significant damage. Sandy Hook was different in that there were ongoing threats and harassment for years.
std::span is not bounds checked by default.
Sorry to hear that. I actually cheaped out and for the first time went for the L-series, L14 G4, but with Ryzen. Very happy overall, pretty much no issues whatsoever, running Debian. I miss the old keyboard, though.
Honestly not true. At its best, Twitter educated me on many subjects including many non-political ones. And as for journalism, well I’m not sure much that I would recognise as high-quality has survived the economic pressures of the internet in any format.
True, and for another thought: I'm here doing my part for the environment, recycling, reducing packaging, and saving emissions where I can, and people in the first world of first worlds haven't even been using electric trains this whole time?!?
What do you see as having gone downhill?

I'm using an X1 Carbon Gen 11, and for my purposes at least, it's an improvement over every previous generation.

I'd love to switch to a Framework one day, but I'm not willing to use a laptop without mouse buttons. (I don't care about the TrackPoint at all; I do care about having physical mouse buttons.)
Cardiac Pacemaker
Based on the fact that squinting works, I applied a Gaussian blur to the image. Here's the response I got:

Markdown:

The provided image is a blurred text that reads "STOP THINKING IN CIRCLES." There are no other visible elements such as headers, footers, subtexts, images, or tables.

Markdown Content:

STOP THINKING IN CIRCLES

As the response is not deterministic, I also tried several times with the unprocessed image but it never worked. However, all the low-pass filter effects I applied worked with a high success rate.

https://imgur.com/q7Zd7fa
It's quite obvious to me that the C++ folks running the committee didn't care about safety much. How can they standardise `std::span` knowing it's unsafe?

They care now (well they pretend at least) because Rust is going to take significant market share in domains where C++ is still king.
In my experience the people who left first were the funny and interesting ones. I left a while later because I was bored.

Turns out HN is my Colorado.
Optimizations aren't enabled by default either, and yet everyone passes a flag to optimize, and nobody argues C++ sucks just because you need to pass a flag to enable optimizations. Is it so hard to pass another flag to enable bounds checking?
Stop wondering, you are wasting energy you could be spending on them instead - they were born out of a beautiful, real event that happened exclusively between 2 people. Enjoy all of that.
You can always use cx freeze https://pypi.org/project/cx-Freeze/
The point is that one cannot be confident that 10k users maps to "enough money to engineer this properly".
Except in this case it's clearly affecting at minimum the rest of OP's team.

At that point it's not one person being obnoxious and never approving their team members diffs and more of a team effort to do so.

But at minimum if you have a culture of trying to improve your codebase you'll inevitably set up tests, ci/cd with checks, etc. before any code can be deployed. Which should really take any weight of responsibility out of any one member of the team. Whether trying to put out code or reject said code.
If you're really serious about security then elliptic curves are kind of already obsolete as well. We should be using post-quantum algorithms today, and I'm surprised more people aren't concerned about that.

Quanta also has an article about how lattice-based cryptography works: https://www.quantamagazine.org/cryptographys-future-will-be-...
First of all it is 70%, and secondly even if people like to FUD Rust, it is all security advocates that state this, including those of us that would like a better attitude towards safety in C++ world.

We got too many C refugees that spoiled the soup.
Have you tried Claude?

It's not good at returning the locations of text (yet), but it's insane at OCR as far as I have tested.
With the dataclass I can look at the class definition, with SQL I can look at the database schema in git, or at the very least log in and `DESCRIBE table`. With Pandas I can find where the dataframe is defined, but then I need to walk through any structural transformations made to it and keep track of its structure in my head. Alternatively I can run the Pandas program in a debugger, set a breakpoint and inspect the dataframe.

With all you need to do some work, but I find the Pandas one more involved because you don't have an authoritative "reference", just an initial state then some transformations. With the Pandas example I have to run the program (in my head or actually). The program might need to pull in test data (hopefully some has been provided). The worst is when the structure of the DF is derived from the source data rather than stated in code (e.g. reading in a CSV). It's much more to do than looking at a class definition or declarative database schema; there's a "sequence" to it, there are transformation steps happening to the DF that I need to keep track of.
As for the transformation thing, I'm totally on board with the need to transform data. What I'm specifically objecting to is the pattern of changing a variable's type during the program, which is extremely common in Pandas code. That is, reassigning the same variable with a value that has a different structure or types.

Here's a really common example where we select a subset of fields:

df = ...
df = df[["field1", "field2"]]

The DF has been transformed to have fewer columns than it did previously. Representing as types, it went from List[Dict[Literal["field1","field2","field3"], int]] to List[Dict[Literal["field1","field2"], int]]. We can no longer rely on field3 existing in the DF. Because this one variable has two possible types depending on where you are in the program, it's much harder to reason about.

This is a totally valid way to transform the data, but the manner in which the transformation is happening, I find, makes the code harder to reason about. And this is the manner of transformation I find most commonplace in Pandas practice. We could instead do the following, but I don't see it much:

df = ...
df_limited_fieldset = df[["field1", "field2"]]

And even in this case, to infer the structure of df_limited_fieldset, you need to determine the structure of df and then apply a transformation to it, unless you explicitly document its new structure somehow. With dataclasses, df_limited_fieldset would contain instances of an entirely new dataclass, stating its new type.

None of this is to say that abuse of dynamic types doesn't happen in normal Python, it totally does, but I've found these patterns to be so ingrained in Pandas culture / common practice that I'm comfortable characterising them as part of the nature of the tool.
Is this an extreme version of the "pins and needles" phenomenon (paresthesia)?

https://en.m.wikipedia.org/wiki/Paresthesia
Text-version of all the emails that this article refers to: https://www.lesswrong.com/posts/5jjk4CDnj9tA7ugxr/openai-ema...
> They can choose to restructure or to sell off

I'm not familiar, but isn't the parent comment saying the sale was blocked?
I, too, learned programming in BASIC. I wrote many programs, really useful ones, too. My mom is a pharmacist, I wrote a simple program to calculate price of some of the items they prepared. I wrote a flashcard like program to study foreign language, a quiz program to learn license plate codes in Turkey. I wrote screen saver animations, random circles, yin and yang, drawing flags. It was an amazing feeling as a child. I’d never looked up who created it, either. Now I know: Rest in peace, Thomas Kurtz!
I've been playing with it, and it's a lot of fun. Your site is light on who you are, how you do it, and what happens to all my info. Someone is paying for your LLM back end. I'm on your free tier, so it's not me. I'd like to know that y'all will be around in a year.
I would gladly buy any other laptop with a TrackPoint. Got any recommendations? This is not sarcasm I donated to https://community.frame.work/t/thinkpad-keyboard-mod-super-e... because I really want it to happen.
Natural gas is terrible, but arguably less terrible than coal which aside from CO2 spews out a plethora of other nasty compounds.
clarification: used french in the 19th-century until mid 20th century.
Anyway, the fact that the university was still giving some courses in French in 1968 in what was officially a Flemish University caused the "Leuven Vlaams" student riots.

I live in Leuven and you can clearly see that in the middle ages, they spoke dutch here. The switch to French and back is visible in the street names (because often they carry all 3 names). A funny example: The "grasmusstraat" (now) was "Rue Erasmus" in the 19th century and "grasmusstroike" in the middle ges. Apparently the French civil servants didn't know that a grasmus is a little bird and renamed it after a famous alumnus.
We wanted longer battery life, so they run RAM at lower voltages now, which makes it necessary to minimize paths as much as possible. It's not some conspiracy. And they are working on a connector, see the LPCAMM2 link in the other post, so maybe you can wait it out if you feel that strongly.
I guarantee this is a management issue. Somebody needed to bear down at some point and put the resources into load testing. The engineers told them it probably won't be sufficient.

I assume this came down to some technical manager saying they didn't have the human and server resources for the project to work smoothly and a VP or something saying "well, just do the best you can.. surely it will be at least a little better than last time we tried something live, right?"

I think there should be a $20 million class action lawsuit, which should be settled as automatic refunds for everyone who streamed the fight. And two executives should get fired.

At least.. that's how it would be if there was any justice in the world. But we now know there isn't -- as evidenced by the fact that Jake Paul's head is still firmly attached to his body.
Ian's Secure Shoelace Knot
I thought my comment addresses this specifically.

Yes, it's bad. If you predate the specification then see options 2 (check), 3 (document) or 4 (come up with a new spec for opting in).
> In general, a macro produces code at compile time

The term "macro" is overloaded. In a typical Lisp they are generating source as data, not just constant values. Lisp macros also work in interpreters and they can use arbitrary language features, incl. creating side effects or accessing external data sources.
Source what you're referring to / explanation?

In ZIP, later info wins. I don't see how that isn't always streamable.
This is a great idea. A log of moderator actions on HN generally would be a good idea, imo.
To be precise (because I was confused initially): the building being shown in pictures is the current “main hall” of KU Leuven in Naamsestraat (second picture), nearby Oudemarkt (first picture), and not the university library in Ladeuzeplein.
Not entirely related, but here is someone's exploration of the TOWNSOS's graphical shell.

https://gekk.info/articles/towns-tour.html

This article at Computing History also gives some context:

https://www.computinghistory.org.uk/det/60616/FM-Towns-2DF/

It seems that developers had a choice of either licensing the TOWNSOS to include on their bootable CDs or requiring that users boot from a floppy (presumably included with the machine).

This GitHub repo is for use in the latter context with modern freeware games whose developers wish to avoid a dependency on copyright Fujitsu code.
My feelings about the uselessness of patents (other than enriching lawyers and giving East Texas judges something to besides levy fines on tumbleweeds) are not drawn from experience with the law, you’re right. But your vast experience doesn’t seem to have given you any compelling arguments in their favor.

I still don’t see them being used to add any value to the world. Your claim that they’re in the ‘public domain’ doesn’t disprove that unless (1) they’re really being used for a learning purpose and (2) those learning outcomes outweigh the waste and damage we know they they cause. I can’t prove that the authors who create the materials people do use to learn are not reading patents as a major source of information, but you haven’t proven that they are.

Patents, including but not limited to software ones, are actually used very disproportionately by the biggest players in an industry, for amassing a war chest of patents that, if you do a good enough job bamboozling a judge, many people could be said to infringe. The reason for that is of course to do battle with other big corporations, so that when they come for you, you can end it in a draw and cross-license a bunch of them. Meanwhile if someone small tries to compete with you, unleashing patent hell can kill them outright because they have no patents with which to countersue you. Really cool tool “for the inventor,” patents.

I do question what, exactly, we gain from having this. How is this better than companies keeping some things as secret. (Let’s also just appreciate the absurdity of “secret methods” when it comes to software. We all know how software does things anyway. Actually implementing it well is hard. And we have copyright to protect code.)
looks like he is using GNU CLISP.
A website that gives off an instant impression of care and attention to detail.
I am all for a "Please put everything in random sub directories of /" config option for the installer of your linux distribution of choice where / is your home directory, PATH, configuration directory and everything else. But I think you're in the minority.
One of my worries for the coming years is that people will forget what deterministic actually means. It terrifies me!
No, M3 Pro is available with 11 or 12 cores. M3 Max with 14 or 16:

https://en.wikipedia.org/wiki/Apple_M3#Variants

Similarly, the M4 Pro is available with 12 or 14 cores, the M4 Max with 14 or 16:

https://en.wikipedia.org/wiki/Apple_M4#Comparison_with_other...
Intel Plans to Copy AMD's 3D V-Cache Tech in 2025, Just Not for Desktops
You can get the M4 Max with 12 performance cores.
The really upsetting thing here is that Garman apparently thinks we have cubicles
I'm pretty sure apple is just a marketing machine. They have pro apple posts and smear campaigns on all samsung forums. Main stream media marketing but also guerrilla marketing on forums, social media, even newspaper comments section. I only see this kind of thing from russian propaganda.
Not yet. Maybe later... https://bnewbold.net/2024/atproto_progress/
The C++ standards committee is still under the illusion people can read, understand and remember the entire spec, and write code without making mistakes. All these bugs are the fault of the people making mistakes, not C++.
nope, the evidence is pretty clear on prayers: they don't work.

https://pmc.ncbi.nlm.nih.gov/articles/PMC2802370/#:~:text=We....
You've compiled with _LIBCPP_HARDENING_MODE_FAST, which still adds some extra checks not required by the standard.[1] You can also tell it's nonstandard because it doesn't really throw out_of_range, it just traps.

> Fast mode, which contains a set of security-critical checks that can be done with relatively little overhead in constant time and are intended to be used in production.

> Using std::span as an example, setting the hardening mode to fast will always enable the valid-element-access checks when accessing elements via a std::span object, but whether dereferencing a std::span iterator does the equivalent check depends on the ABI configuration.

1: https://libcxx.llvm.org/Hardening.html
Dagger 0.14
I mean BART is a train
But not self hosted GitLab.
My railway is currently write code, test on my local webserver and then rsync it to my dedicated machine.
> no Lie

[How very Sophusticated, an alternating screw theory]
Abstaining is a political decision too.
There was a Nixie manufacturer there called “Tesla”. But I think volume wise other countries produced more. Many you can find in old stock are from the former Soviet Union countries.
+1 as well: 2M LOC codebase with little to no tests and a lot of lost knowledge due to disbanded teams, people moving on etc. In my experience very common state of affairs honestly.