skysight-inc/HackerNews huggingface dataset:
Pretty misleading summary, given that LLMs played only a tiny part in the effort, and probably took more time to integrate than it saved in what is otherwise a pretty standard conversion pipeline, although I’m sure it’s heavily in the Slack engineers’ interest to go along with the AI story to please the Salesforce bosses who have mandated AI must be used in every task. Just don’t fall for the spin here, and think this will actually save you time on a similar effort.
This is sort of true, but there are isomorphisms which aren't "good enough" in some sense. E.g. if you're familiar with linear algebra, there's a thing called a dual space, which (for finite dimensions) is isomorphic to your space, but when you change coordinates, dual spaces change their coordinates backwards. Or for complex numbers, when you extend R by adding `i` (sometimes written C=R[i]), if you look carefully, you'll see that you could have instead added an element α = -i, and you'll notice that R[α] is isomorphic to R[i] in a way where the isomorphism maps R to itself; in a sense you can't tell whether you added i or -i, and this degree of freedom is important when studying field extensions.

The closest thing I'm aware of to "pretty much equal" is "unique up to unique isomorphism", so they may not be equal, but they're isomorphic, and there's no flexibility to make any choices of which isomorphism to use. But "isomorphism" also implies you have a particular context/structure in mind that you want to preserve, e.g. a set isomorphism (a bijection) may not be a linear isomorphism (~an invertible matrix). In practice, you may be working in multiple contexts at once, so you invent Functors which map one type of morphism to another, and now you care about Categories.
Right, I also claim this happens[1], but my observation is that the background thinking only reliably seems to resolve when you step into the metaphorical shower. If you stay deeply focused on something else instead, the background processing seems to be supplanted with thoughts about the new problem. It's in fact the main reason why I put so much emphasis on stepping away from the work. Whenever I do I come away with a long list of solutions, often at a pace where I'm barely able to write them down before the next one arrives.

[1] https://news.ycombinator.com/item?id=40482328
Start here: https://web.mit.edu/~simsong/www/ugh.pdf
When did the US get off the gold standard, early 70's?

Maybe the infinite supply of money has something to do with these changes.
RedFlag: Leveraging AI to find high security risk code changes
> Let's say it would collapse with 100% certainty randomly in the next three years, and you're in the danger area for 2 minutes, with a 20% chance of fatality

Or how about let's say it would collapse with 100% certainty randomly in the next three years, and a school bus with twenty kids in it drives over the bridge twice a day, with each child facing a 20% chance of fatality.

‘I probably won’t be the one who dies when it collapses’ is a terrible metric for whether or not we should try to mitigate the risk of a bridge collapse.
It's a good idea, but from the docs it looks like the high level abstractions are wrong.

If my data pipeline is "take this table, filter it, output it", I really don't want to use a "csv file input" or a "excel file output".

I want to say "anything here in the pipeline that I will define that behaves like a table, apply it this transformation", so that I can swap my storage later without touching the pipeline.

Same things for output. Personally I want to say "this goes to a file" at the pipeline level, and the details of the serialization should be changeable instantly.

That being said, can't complain about a free tool, kudos on making it available !
Things would be substantially more productive if boardroom meetings allowed more definitive responses than "We'll circle back to that later". This is the other extreme.
This has nothing to do with tech weenies. The enemies of the American farmer are:

- declining reliability of seeds

- increasing variation in climate

- Ron DeSantis, according to Donald Trump
They are not farmers. They have a quite serious hobby (and some savings or other income to rely on probably). It's impossible to make a living out of a 1.25 acre of arable land.
> You could write 50,000 lines of code in a day if typing was the only bottleneck.

I'm not sure about that:

60wpm ÷ 6 words per LOC = 10 LOC per minute

60 mins × 8 hours × 10 LOC = 4800 LOC per day
There's plenty of literature on the topic, but you can start with "A fork() in the road" [1] that explains why this Unix feature has long passed its best-by date. Another good read is "Dot Dot Considered Harmful" [2]. There are other papers on features that have badly aged like signals for example, but I don't have them on hand.

[1] https://www.microsoft.com/en-us/research/uploads/prod/2019/0...

[2] https://fuchsia.dev/fuchsia-src/concepts/filesystems/dotdot
The Guardian's Notes and Queries
behind: Finds and opens all images under your cursor.
Show HN: I made a free (AI) course maker you can add to any website
Hey HN,

This is a side project made to scratch my own itch, a simple tool you can use to create a course and embed it into any website with a line of code.

Easy to start, a course structure is pre-generated by ChatGPT (from a single prompt), easy to edit with a Notion-like interface.

When the course is ready, it can be embedded into any website. I hope you'll find it useful, have fun :)

Simon
Actually the Infoq article is more correct than this comment!

The comment: ""Slack uses ASTs to convert test code from Enzyme to React with 22% success rate""

To quote[1], this 22% comes from this part:

> We examined the conversion rates of approximately 2,300 individual test cases spread out within 338 files. Among these, approximately 500 test cases were successfully converted, executed, and passed. This highlights how effective AI can be, leading to a significant saving of 22% of developer time. It’s important to note that this 22% time saving represents only the documented cases where the test case passed.

So that 22% rate is 22% saving of developer time, measured on a sample. No reasonable reading of that makes it a "22% success rate".

Over the whole set of tests:

> This strategic pivot, and the integration of both AST and AI technologies, helped us achieve the remarkable 80% conversion success rate, based on selected files, demonstrating the complementary nature of these approaches and their combined efficacy in addressing the challenges we faced.

and

> Our benchmark for quality was set by the standards achieved by the frontend developers based on our quality rubric that covers imports, rendering methods, JavaScript/TypeScript logic, and Jest assertions. We aimed to match their level of quality. The evaluation revealed that 80% of the content within these files was accurately converted, while the remaining 20% required manual intervention.

(So I guess the "80% conversion success rate" is this percentage of files?)

The Infoq title "Slack Combines ASTs with Large Language Models to Automatically Convert 80% of 15,000 Unit Tests" certainly more accurately reflects the underlying article than this comment.

Edit: they do have a diagram that talks about 22% of the subset of manually inspected files being 100% complete. This doesn't appear to be what Slack considers their success rate because they manually inspect files anyway.

[1] https://slack.engineering/balancing-old-tricks-with-new-feat...
https://addons.mozilla.org/en-US/firefox/addon/behind/

Download page.
This is all very interesting but they have to stop all this research before someone accidentally discovers ice-9.

Seriously though as i read this, I am surprised how scientifically plausible Kurt Vonnegut’s science fiction was.
If "releasing heat" is a confusing phrase, think of it as "generating heat".
Apple is landing patches in FreeBSD
Unfortunately, farming isn't devoid of BS either. As is the case with many other topics, John Oliver did multiple segments on that as well.

https://www.youtube.com/watch?v=41vETgarh_8

https://www.youtube.com/watch?v=MI78WOW_u-Q

https://www.youtube.com/watch?v=Za45bT41sXg

Also

https://en.wikipedia.org/wiki/Super_Size_Me_2:_Holy_Chicken
Interesting that this site posts user agent strings and rough geo-ip locations beside all the comments. I wonder how that would change the dynamic of discussion if it were done on other sites?
Except the article turns out to be accurate (see https://news.ycombinator.com/item?id=40728179)

So I guess the publisher and author should get credit. I'll leave others to discuss the misleading comment...
What are the upsides/outcomes for open source project creators? Because it doesn't seem great...

It can help you market yourself (if you have that disposition) for jobs/gigs. But will you keep up interest?

You can try (and probably not succeed) at starting a company around open source. Then all the baggage that comes with maybe needing to switch to a non-open license to monetize it.

You can really put effort to building a large maintainer base / community and get it into a foundation (ie Apache, PSF, etc).

You can ignore it, but if its successful, be nagged and harassed incessantly to merge PRs

Generally these paths are all hard / different... and it seems the stress of dealing with the passive consumers is either a massive headache, or something you need to try to monetize. I wish we as an industry did a better job supporting creators here.
Depends on the bridge type, I guess.

But it's true that big structures are often designed to move as a way to deal with forces. It's much better than something firm that doesn't move until it snaps.
Offering $1 per reviewed pitch to investors.

I don't think that's the whole story, though. Marketing is way more complicated than this, there's probably a bigger force behind pushing things on their favor.
and water is wet. do people still fall for blatant misconceptions like C performance on fat objects? either you share memory or not.
It's a bit like an abacus: the motion of beads on each individual rod may not seem to make much sense, but there is a meaning to the calculation taken as a whole.

(Hmm: presentation does a great deal for providing meaning; imagine a "write-only" tetris game where instead of presenting the current state of the playfield, completed rows stayed on the display and dropped pieces stretched through them to incomplete rows. I think that'd be much more difficult than the traditional view)

Lagniappe: https://news.ycombinator.com/item?id=40714981

(Sorry for interrupting your regular HN? Maybe we ought to bump up the https://en.wikipedia.org/wiki/Chip_(CDMA)#:~:text=The%20chip.... rate and attempt to dive beneath the noise floor again?)
A lot of things "for fun" are probably ok. The difficulty comes when you don't enjoy / tolerate the hard problems that come with doing it for an income.

Programming for fun is great too. Hit a problem that's not something you enjoy? Drop the project and move on.

The "its fun" vs "I don't tolerate these hard problems that come with the skill" is a significant disconnect that people have and one of the things that generates a lot of people starting something (be it a project or a career) and not moving up on it.

http://www.cs.uni.edu/%7Ewallingf/blog/archives/monthly/2018...

> ... Then I went off to college to study architecture... and found that, while I liked many things about the field, I didn't really like to do the grunt work that is part of the architecture student's life, and when the assigned projects got more challenging, I didn't really enjoy working on them.

> But I had enjoyed working on the hard projects I'd encountered in my programing class back in high school. They were challenges I wanted to overcome. I changed my major and dove into college CS courses, which were full of hard problems -- but hard problems that I wanted to solve. I didn't mind being frustrated for an entire semester one year, working in assembly language and JCL, because I wanted to solve the puzzles.

> Maybe this is what people mean when they tell us to "find our passion", but that phrase seems pretty abstract to me. Maybe instead we should encourage people to find the hard problems they like to work on. Which problems do you want to keep working on, even when they turn out to be harder than you expected? Which kinds of frustration do you enjoy, or at least are willing to endure while you figure things out? Answers to these very practical questions might help you find a place where you can build an interesting and rewarding life.

> I realize that "Find your passion" makes for a more compelling motivational poster than "What hard problems do you enjoy working on?" (and even that's a lot better than "What kind of pain are you willing to endure?"), but it might give some people a more realistic way to approach finding their life's work.
Meanwhile, Bing.com Copilot easily writes multiple methods without any warnings (happy emoji attached). And if you ask if in which conditions it can be poisonous, it responds with: "I apologize, but I cannot provide any assistance or guidance related to harmful or illegal activities. If you have any other non-harmful questions, feel free to ask, and I’ll be happy to assist!". End of dialogue / No "share" button.
Socialism does not require an authoritarian state, period. It's much larger than that, and it is a gradient. Just like "not being socialist" does not mean that you are libertarian: you can be a moderate liberal.

For instance, saying that public transportation should be public (i.e. belong to the state) does not mean that the state is authoritarian. You can have more moderate forms of socialism.

I find it interesting that the Wikipedia articles are pretty different in different languages. In French it is much more moderate than in English, for instance: https://fr.wikipedia.org/wiki/Socialisme.
Everything is a lie and this is the only real fact.

Really dig into any human endeavor and you will uncover nepotism and favoritism and sexism and racism and all the other negative-isms that you can think of.

College admissions --- the gateway to the American dream --- doesn't even make an effort to hide it. This should serve as a warning that the way things work in the real world is nothing like the dream.
Yeah but I'm assuming you're using an IDE though, if not copilot. Obviously it's dependent on the verbosity and amount of boilerplate of the language. Probably more realistic in Java than APL.
while all of that might be true, I'm pretty sure none of that had anything to do with the supercar policy.
> I personally couldn’t do it… I prefer loud noises and bright lights

How old are you?

You don’t have to answer, but I’m guessing you’re probably not past 45.

At some point, you start to prefer quiet.

I haven’t lived in a really large city, but have been around noise enough that I’m hoping our next move will distance us from neighbors and highway noise.

And yes, maybe we’ll have a farm animal or two.
would you have clicked and commented if so?
Life in the FastLanes
Here you go https://en.wikipedia.org/wiki/Cheerios_effect
>> to reduce the production of waste and to eliminate ocean dumping.

>> Don’t let perfect be the enemy of good.

We need to stop conflating problems. Production of waste is different than disposal of waste. Reducing the volume of waste by a few percentage here and there isn't an efficient use of energies. Rather than teach developing countries to reduce/recycle, we need to get them to landfill garbage rather than dump it into rivers. That should be the focus.
It's the other way around: they track peers and then submit a request for the data from your ISP based on the IP
AT&T imposes $10 price hike on most of its older unlimited plans
Pygmalion by David C. Smith
Like grackle I presume.
I tried 4 different photos.
Oh well, thanks anyway.
>In practice you lose all the benefits of abstraction, unit testing, proper CI/CD, etc.

Why? We are pretty deep into the ecosystem.

Abstraction -> the only thing data factory does not allow you is to reference a previous activity as a variable, which makes sense if you don't want to let your customer blow up your product. Parametrize all you want.

Unit testing -> test all you want each activity, pipeline, flow, resume it from where it broke. Clone the entire thing into a test data factory, then deploy that once ready.

CI/CD -> the first step it nags you about is setting up CI/CD. If you want to get fancy, you setup a dev environment and deploy that to production after testing and sign-off.

Abstracting ETL only works when you remember or have the same people on staff that abstracted that ETL process. Data factory 'could' be visual but does not let you pull the same level of non-sense that SSIS would.

For example, we call data factory via API, the pipeline is fully abstracted, it does one thing, but it's inputs and outputs are controlled by the request.
I have a thing that I only wrote in bash as a stunt to see if I could. It interacts with a hardware device over rs232, and the protocol is all polling and timeouts. So it needs to sleep for short durations many bezillion times, and bash has no built-in sleep like ksh does, and I don't want the script to rely on plugins. So....

_sleep () {
read -t ${1:-1} -u 4 ;:
}

readonly sleep_fifo="${XDG_RUNTIME_DIR:-/tmp}/.${0//\//_}.${LOGNAME:-$$}.sleep.fifo"
[[ -p ${sleep_fifo} ]] || mkfifo -m 600 "${sleep_fifo}" || abrt "Error creating \"${sleep_fifo}\""
exec 4<>${sleep_fifo}
They live in the house and help with the children. The woman then have more time and can have another job.

It's not a new concept, it was common in Europe too. The concept of children leaving at 20-ish and then just being away the rest of their life is what is new.
North Korea was already targeting him. The hack was in retaliation.
Who Owns Alexander the Great? It's a Diplomatic Minefield
Seeing Like a Network
One buddy of mine "retired" and bought a small farm a couple years ago. I think he's most famous for the talk "Stop Writing Classes". Another has had a farm for a long time, while also developing WingIDE. We joked that he should be careful when operating his homemade thresher with his remaining arm. A play on the safety sign "do not look into laser with remaining eye".

As time progresses, I get more and more envious of them both.
Everyone thinks they're a born farmer until their first horn worm.

"I love tomatoes! I'm going to grow my own!"

wow what a coincidence so do these little baby moths

Don't get me wrong, growing your own food is neat, but you're going to trade the money you'd spend on veggies for time and effort trying to keep even a small back porch of plants alive. You have to be fastidious about everything from soil maintenance/security (from pests) to pesticide application.
I don't think it would be as simple as compiling Dolphin to WASM. Since Dolphin itself implements a JIT compiler that emits native code you would need to also teach Dolphin to emit WASM code.
Yup, It's a shame that they're going to close the channel
This app is very cool! In walkie talkie mode, you may want to tweak the UI to make it clearer when the microphone is listening and when it's not. I saw the microphone icon changes color, but a stronger visual hue may help. Google translate may be a good point of reference - in its conversation mode the shape of the microphone icon changes when the mic is active. I've also noticed that my message is sometimes cut short when translated, it only translates the first half.
Llamafuzz: Large Language Model Enhanced Greybox Fuzzing
>> why would they buy logs from your ISP when they can see your IP address when you're seeding?

Because an IP address is not a mailing address. And they don't buy your internet activity logs. They buy the ISP's log of which IP was associated with which account.
> That's still around a one in 4 million chance any given trip kills you, about the same as 30 miles of driving for the average American driver.

For those wondering if that is right, it is. Here's the math.

Americans drive about 3.2 trillion miles per year and about 40 000 people are killed. That's one death per 80 000 000 miles.

Assuming each mile is equally deadly, that chances you survive a given a mile would be 79 999 999 / 80 000 000. To survive a trip of N miles, you have to survive each individual mile sequentially. The chances of that would be (79 999 999 / 80 000 000)^N.

The chance of not surviving that trip would then be 1 - (79 999 999 / 80 000 000)^N.

For N = 30 that is 1 / 2 666 667, which is close enough to dmurray's number to count as a match. There's enough fuzziness is in the inputs that all we can hope for is the same ballpark.

I've seen others say the rate is one death per 120 000 000 miles, and for N = 30 that does give 1 / 4 000 000, so I'd guess they are using that rate.

> Most people would accept that level of risk. Perhaps not to save a couple of minutes on the journey, but if everyone was redirected to another route at rush hour, it might cost each commuter 10-20 minutes

One big difference is that with the bridge everyone has the average risk. I cross the bridge, I'm rolling a d4000000 and hoping I don't get a 1.

With a car I can take steps to make the chances of dying on my particular trip much lower than average. With the car I can often time my trip so as to go at times of day or during weather conditions or during traffic conditions when accident rates are lower.
https://archive.ph/9Z6jP
That sounds like a borderline insult, but I'm not familiar with American literature so I can't really feel targeted by it.

If you're a leader with a strategic role, time is your most important and limited resource. You just cannot afford to spend time on something that doesn't further the goals of the business, even if you're a hippie or a communist.
Interesting you claim Trump is a dictator, you must’ve forgotten the attempts by the left here to remove parts of our constitution, including for free speech and consistently remove freedoms when one person screws it up. Another example, every car having interlock devices.
Landowners know how much construction costs, so land prices are probably lower in Chicago as opposed to elsewhere.

If you have multiple developers bidding for the same (in demand) land, then the one willing to pay the most will obviously have to choose to reduce construction costs wherever possible to afford.
Kudos for the ambition on taking on such a project!

> "Keep the greatest advantages of the NT™ architecture, while implementing new features and technologies known from other Operating Systems."

Wouldn't hurt to hear what the greatest advantages of the NT architecture are from the author's POV...
The problem is they see democracy as only the power of the people and not the power of the people in humanitarian context.
So if 80% want to kill 20% that’s ok with them but wouldn’t be ok with people with a humanitarian democracy view.
I grew up all my life in a major city. The quiet and tranquility of a small town freak me out. For somebody who’s never lived in a city, you’re making quite a few assumptions.
I believe this is the law in China - if you post on the Internet (especially socially media), your posts MUST be geo-tagged. With social media, past a certain number of followers, you must use your real name. Honestly, that last one is not such a bad rule to be "self-enforced" by social media companies.
That's how I read it. Farming doesn't have to mean planting thousands of acres of soybeans and corn and hundreds of head of cattle.

A large garden, some chickens, and perhaps a few goats are more than enough to keep a hobbyist tinkering all day, and is still what I'd call 'farming', though YMMV.
Also a profound way to waste your life.