skysight-inc/HackerNews huggingface dataset:
Ask HN: How are you using AI to dev production Code?
I am guessing it can be used as an agent through a plugin in your IDE: to find bugs/fix code, to suggest changes/improvements, to insert snippets. Is it more than that?
> I wish to see a FOSS incremental reading application in the very least, such an underrated concept.

Be the change you wish to see in the world
Exploring phase change effects in heat engines, with novel chemistry.

Not to subtract from their findings, "engines" covers a multitude of work. This could be amazing, for niche applications where high efficiency for lower power is just whats needed, optimising for something else like space and size in a human embedded bio reactor of some kind (a self powering digital pill?). Or, it could be great for a highly controlled environment inside a submarine or behind a fridge. They're all heat engines, they aren't all in the same space.

I used to trumpet my fictitious superior knowledge and say Carnot in any page about power stations, and their efficiency over the turbine if it gets hot outside. Somebody who really knows the field told me to stop being silly because the actual consequences of high heat and humidity to carnot efficiency on a coal powered turbine power station aren't why it shuts down when it gets hot: It's because the heat left in the hot water fucks up the ecology. The losses due to moving out of the normal operating bands are expensive, but not so expensive you can't run.

So in that sense, Maybe this is groundbreaking, and I'd love somebody smarter than me (and there are so very many) to say why.
> One recipient, the intelligence firm Signal, had used it to conduct sophisticated profiling that it sent back to Sky Betting & Gaming

That sounds like a different "Signal" than most people are aware of.
These are simply vortex generators which have been a post-production modification in many models of GA aircraft (most notably Rutan canard models) for decades.

They induce turbulent flow (vortices) which, under the correct circumstances, can actually benefit range, albeit, at the cost of overall lift efficiency across the originally designed flight envelope.

To use Randall Munroe's "Thing Explainer" vocabulary, they enable the aircraft to "go slower better", but at the expense of making it "go faster worse".
I wish.

They're just going to lie and say their life is actually better now, or they're going to lie and say prices have actually gone down somehow, or they're going to lie and say that this is all the Democrats' fault, or they're going to lie and say it's some kind of divine thing.

His followers just make shit up. I think trying to prescribe logic to it is akin to trying to "prove false"; the entire premise is malformed.
As my old Dad used to day.. "Anybody can be a critic, its hard to be a creator".

How many of these armchair critics of Dan Brown have actually written even one book!
So is it possible to have a postmarketOS device that runs Android apps at good speed with Waydroid?
It was kind of nice to have a president who could actually finish a complete sentence while speaking. I miss those times.
I hold the belief that if you ask it something that nobody has documented before it just won't do it. This also and particularly applies to code.

Ask about Fibonacci? Great.

Ask about something tricky? Let's make up some APIs
Flash attention is an implementation trick; you can implement MHA/GQA, for example, with flash attention.
This doesn’t even make sense. You can’t gain credibility just by asserting x, y, and z from a basis of zero.
Congress appropriated funds for a border wall. From the GOA: https://www.gao.gov/products/b-333110-0 (“Congress has appropriated funds to the Department of Homeland Security (DHS) specifically for constructing fencing or barrier system at the southern border of the United States, commonly referred to as the border wall. On January 20, 2021, the President issued a Proclamation directing a pause in the construction of the border wall and a pause in obligation of funds for the wall.”).

And Congress didn’t specifically appropriate funds for these payments. They’re coming out of block grants. Congress has the power to appropriate funds for specific purposes that the president can’t block. But often it doesn’t do that.
Within Microsoft, a lot of use use Github Copilot (In Visual Studio or VS Code). AFAIK, we aren't permitted to use other AI platforms with company code. There are also automated reviews of our Pull Requests, both for security stuff as well as coding best practices. Some of the suggested are bogus, but for the most part it catches common mistakes or suggests better approaches to small things.
There are flaws to their methodology. For half the companies, to change your number from A to B, you first must verify a NONCE with A, then verify a NONCE with B. This just means you have to possess two phone numbers for a period of time — Weeks, or in reality, months — while you change the long list of services over to the new phone number.

There is a simpler/better way and that is to verify you have your email address before allowing you to do a NONCE with B.
HN SuperCompact UI
I don't really think this is true? This might be true for developers that only work for companies and never in their own time maybe.

My portfolio site is just one of the sites on my personal website that also hosts many of my projects. It wasn't much work to setup, and it provides organization and sharing capability so there's motivation to make it anyways.
My point exactly.

Why do you let your interview process for web devs use leetcode?
Yes those cases will be interesting. By default a lot of copyrighted content may be legal to use for training (in the US but also many other places) under what’s called fair use. The cases you’re referring to will likely reinforce this, but it isn’t known yet. Note that it’s not just OpenAI on that side of the argument but also other (non tech) organizations that believe protecting fair use here is current law and essential.
Quantum mechanics is statistical mechanics in the complex numbers.
"Lots of kids don’t want to do homework"

Sure, but if you're a professional you have to care about your reputation. Presenting hallucinated cases from ChatGPT didn't go very well for that lawyer: https://www.nytimes.com/2023/05/27/nyregion/avianca-airline-...
Maybe it’s me, but I’ve seen a general uptick in people trying to discern meaning from meaningless drivel over the years. Not to make light of the current situation, but I recall people reading tea leaves trying to divine that Rockstar would make some significant GTA6 announcement on December 27th.
Not all the buttons, famously (in many puzzles) just the ones they can reach.

> It's a power he has, I̶'̶d̶ [of] course he's going to exercise it,

Dang? Surely not!
Similar to “Bullshit jobs”

All the AI commercials are designed to appeal to people that don’t produce any actual value but haven’t been detected by the system yet.

Need to send email to boss? Press magic button! Job well done, idiot.

Someone send you big scary email? Press magic button! Good job dummy!

Someone wants to go eat some Italian with you, push magic button for totally not-ad result. Enjoy your Olive Garden, moron.
The spec was developed with DRM as one of its use cases.
A firewall (which must also host a resolver)

Is that true? Per what spec are you referring to?
All about 'dem Navier–Stokes.
I have noticed anything related to Elon Musk, DOGE, and Trump is flagged or very quickly I check back and it has somehow wound up several pages downranked no matter how recent or how many upvotes it was getting.

Even articles that are tech in nature like the access to Treasury payments or the stories about the people working for him.

I’ve seen the HN mod go out of his way to unflag actual conspiracy theories and yet here we are where real significant news can’t be discussed because of the people involved.
Remember the ruckus because he wore a tan suit? Those were the days.

> U.S. Representative Peter King, a member of the Republican Party, deemed the suit's color combined with the subject matter of terrorism to be "unpresidential". He went on: "There's no way, I don't think, any of us can excuse what the president did yesterday. I mean, you have the world watching.”

https://en.wikipedia.org/wiki/Barack_Obama_tan_suit_controve...
That's interesting and effective. But I do feel like "undocumented API" is an unnecessary trick in an interview setting.
Simple Toast Notifications using plain JavaScript
Tech and politics are inextricably linked in our society and daily lives. We can't avoid that truth any longer.
https://archive.md/TOY6v
Trade secrets are protected by the law. It doesn’t require copyright.
https://archive.ph/VK6uJ
Interesting. Wonder if we'll get a sequel to this case someday.
My understanding is they may have been providing assistance to refugees. This type of activity may not be consistent with "America First" rhetoric.
If you are using a shift-reduce parser, you may have to fix right recursion instead.

If you have a right recursive construct, the parser stack usage will be proportional to the length of the instances of the construct. That can be a problem.

For instance:

stuff : /* empty */
| item stuff
;

If you have 10,000 items in a sequence of stuff, they all get pushed onto the stack which is then popped by a long cascade of rightmost reductions.

You have to refactor for left recursion.

I ran into this when parsing Lisp this way. Lisp lists are right recursive; they are naturally constructed from the right end, by consing onto the front. When you write the obvious parser rules, the list does not start being constructed until the closing parenthesis is seen, and the cascade of reductions pulls it out of the stack.

This is not a problem like runaway left recursion; it is an insidious bug that you won't even notice with small test cases.

Switching to left recursion means that you have to construct the list left-to-right somehow. Either the rules maintain a tail pointer somehow, or the list is consed up in reverse and then destructively reversed. A minor complication is support for the consing dot.
It sounds like it can run Python, which means it has access to Code Interpreter, which means it can run various other languages as well if you can convince it to do so.

I've used Code Interpreter to compile and run C code - https://simonwillison.net/2024/Mar/23/building-c-extensions-... - and I've managed to get it to run JavaScript (by uploading a Deno binary) and even Lua and PHP in the past as well: https://til.simonwillison.net/llms/code-interpreter-expansio...
I'd probably have to agree, something along those lines...

However, I can't say "Govt by good ole boy network" seems proper - and its really hard to figure out what power/limits/check and balances for all this is... Musk basically took over the IT arm of the executive branch ("U.S. Digital Service") - not sure how that allows him and other people without clearances access to secure data, or to make spending decisions for other groups..
>but the candidate should have a good answer ready why they didn't use an LLM to solve the challenge.

"LLM-esque AI, especially in my industry, is under heavy scrutiny and I want to wait for the dust to settle before exploring options with such tools."

I was never asked as such, but I do have an answer to that.
Am I missing something here? Because I fail to understand how something like this is susceptible of a priori proof or disproof. Seems pretty obviously an empirical matter.
yeeeess...but when you look at the slope of the decline on the NEJM papers describing the clinical trials of lecanumab and donemumab...are you really slowing the decline?
> Is this ability really a prerequisite to AGI and ASI?

That depends entirely on how you choose to define "AGI".
> You'd also be essentially legitimising the right of conquest

Documenting reality doesn't endorse what happened. Istanbul was Constantinople. Shit happens. If I'm travelling, I'd much rather the flags and borders reflect the situation on the ground instead of making meaningless humanitarian gestures.
Ted Chiang probably has an uphill battle convincing people here of his take, precisely because he thinks the engineering approach may be wrong. Or in his words:

> Arguably the most important parts of our lives should not be approached with this attitude. Some of this attitude comes from the fact that the people making AI tools are engineers viewing everything from an engineering perspective, but it’s also that, as a culture, we have adopted this way of thinking as the default.

I tend to agree with Chiang, but he is preaching to the anti-choir here. Even though many HN-ers seem to like his fiction (and why wouldn't they, Chiang is top of the cream!), they will probably chafe at the idea some problems cannot and shouldn't be approached from a pure engineering side.

I remember the -- now rightfully ridiculed -- phase of startup entrepreneurship which became a meme: "I found a problem, so I created an app to solve it" (where the "problem" was something like "world hunger", "homelessness", "poverty", "ending war", etc).

That Chiang is also criticizing capitalism and wealth accumulation as a primary driver will probably win him no friends here.
Because there are plenty of devs who take the output, actually read if it makes sense, do a code review, iterate back and forth with it a few times, and then finally check in the result. It's just a tool. Shitty devs will make shitty code regardless of the tool. And good devs are insanely productive with good tools. In your example what's the difference with that dev just copy/pasting from StackOverflow?
Oh I hear you, and it drives me crazy for that stuff too.

It's not exclusive to conservatives, I know plenty of left-leaning people who do dumb stuff like this too, but it does seem to have become the identity of the party after Trump took over.
How do you like the Furiphone FLX1? Very few reviews online...
Not in 2023 either:

Don’t Make Fun of Renowned Dan Brown (2013) - https://news.ycombinator.com/item?id=36818501 - July 2023 (165 comments)
While an important story, I've flagged this for having an extremely inaccurate headline.

The headline suggests that Treasury payments to contractors are in the process of being halted; presumably blind as to whether services have been rendered or not. However, pavel_lishin points out that presently only one payee is having the relationship terminated. In addition, it is a charity, which means that I suspect that the payment was a recurring grant rendered without expectation of services. The other relationships are presumably being reviewed.
This is how it went down in Venezuela, very quickly, unfortunately
Childhood Memories of Gaming
I so want to give you credit for referencing Sam Vines, but in all seriousness, people are going to notice that Temu isn't actually cheaper than Amazon or even Walmar, and that the quality sucks, and your doomesday scenario isn't going to play out. We definitely don't need Trump's tariffs to solve the percieved problem
These are discretionary grants, not payment for services rendered. So even less binding than a contract.
Shademap: Every mountain, building and tree shadow mapped for any date and time
AI gives super powers because it saves you an insane amount of typing. I used to be a vim fanatic, I was very efficient but whenever I changed language there was a period where I had to spend getting efficient. Setup some new snippets for boilerplate, maybe tweak some LSP settings, save some new macros.

Now in cursor I just write "extract this block of code into its own function and set up the unit tests" and it does it, with no configuration from my part. Before I'd have a snippet for the unit test boilerplate for that specific project, I'd have to figure out the mocks mysel, etc.

Yes, if you use AI to just generate new code blindly and check it in without no understanding, you end up with garbage. But those people were most likely copy pasting from SO before AI, AI just made them faster.
NYC taxi drivers call for 'bathroom placard' to relieve cabbies
Recently, there was a post on HN about mouseless for Mac [0], and I think this can help in situations where no keyboard shortcut is possible.

[0]: https://mouseless.click/
Yeah, or when he wanted spicy mustard on a hot dog (correction, burger). https://youtu.be/cAvq12Sa3VE

I found that one especially funny, because dijon mustard isn't more expensive than regular mustard! I buy dijon mustard all the time, and at least at my local grocery store the price is always within about 5% of regular yellow mustard, sometimes even less. It's not something that is out of reach of most Americans.
5.1.1 (iv) Access: Apps must respect the user’s permission settings and not attempt to manipulate, trick, or force people to consent to unnecessary data access. For example, apps that include the ability to post photos to a social network must not also require microphone access before allowing the user to upload photos. Where possible, provide alternative solutions for users who don’t grant consent. For example, if a user declines to share Location, offer the ability to manually enter an address.

https://developer.apple.com/app-store/review/guidelines/

This wording is actually a lot weaker than I remember it back when I wrote iOS apps. The developer also was not allowed to exit the app or close it against the user’s intent, however I can’t find that rule anymore.
So in the clinic - what we usually do is a detailed neuropsychology battery. Also a patient history, but the neuropsych does provide some quantitative measures.

If there's clear amnestic memory loss, verbal fluency decline and visualspatial processing decline, it's more probably Alzheimer's. vs. if there's other features in terms of frontaldysexecutive functioning, behavioral changes, etc, then you think FTD or possibly LBD if there's reports of early visual hallucinations.

Amyloid PETs are getting a bit better so there's that. Amyloid-negative PETs w/ amnestic memory loss are being lumped under this new LATE (Limbic-Predominant Age-Related TDP-43 Encephalopathy) but that definition always felt a bit...handwavey to me.

11-32 adults is a good pilot paper but you have to raise funding for Phase II and III trials.
Yes, I used the RMBG 1.4
The thing is that untangling the logic often reveals either new feature opportunities that would have been ugly to implement previously, or new optimization opportunities because the code is clearer, and possibly two things that seemed unrelated before are now obviously related.

If I can't figure out how to make code faster without cheesing it I'll just follow the campsite rule and hope for inspiration (the more you work with code the more you understand it, and I might as well clean while I'm here)
I stumbled across this website.

Previously mentioned on HN: https://news.ycombinator.com/item?id=40528045

Written by https://news.ycombinator.com/user?id=tppiotrowski
There was absolutely no theoretical reason that some moldy cheese would kill bacteria but thankfully Fleming noticed what happened and we got antibiotics.

There was no theoretical reason that washing your hands would do anything to combat the spread of disease and all the smart doctors knew otherwise. Some kooky doctor named Semmelweisz proposed that doctors should wash their hands between childbirths in 1847, 14 years before Pasteur published his findings on germ theory in 1861. When some doctors listened to him maternal mortality dropped from 18% to 2%.

I'm all for basic science when the statistical significance becomes so great it really starts to look like causality and then you start figuring stuff out.

It doesn't seem like the statistical significance of the amyloid theory is strong enough that the direction of the arrow of causality can be determined. That's too bad.

The strength of the effect of keto diet interventions in Alzheimer's is pretty strong to my understanding.
Which should be aggressively hinting that there's likely some as-yet unknown causality that's worth investigating. We don't have to spend billions to do that. But we do need more funding for it which is hard to get while all the amyloid hypothesis folks are really invested and clamoring.
Not everybody was "purposefully" drowning themselves in boilerplate code in the first place.
His dedicated followers will, but a lot of low information voters voted for Trump primarily because prices ballooned after covid, and the first tangible effect they’re going to feel from his presidency is a rapid increase in prices.
I don't want to dickride too much, but I feel like HN is decidedly less awful than most other discussion boards, in no small part because it has decent moderation.

I do think that sometimes they're a bit too quick to flag something purely because it can be deemed "political", but for the most part I think that HN's moderation has been ok.
Right, but objectively it's not, because both parties experience either same or worse outcomes. So it's not better, by definition of "better".
I'm 50/50 on this one. I clicked so I can't deny interest. But, at some level there are plenty of spaces to talk about the politics, and damn few which have the focus on the tech aspects. If the discussion was solidly on IPR, cross border data, comms, IT services, I could see it here.

I do think that a cohort of people who probably always felt more aligned to the ethos behind Musk/Theil/Bezos and who resented being "shamed out" might be more willing to show their point of view now. The quickest path for them would be a mixture of tart comment contradicting my view, and flagging top levels (or comments) to get out of the problem quickly. It's ironic perhaps, that the best path for a libertarian is to chill speech, but its quick and effective.

(yes, thats probably insulting somebody)
devil's advocate - is that not the very definition of scaling?
This thread is also very easy to not click on. I don’t want people like you adding to voices that suggest this isn’t as fucking serious as it is.
at this moment, what NIH? No study sections for grants since the inauguration...
> it worked for torrents back in 2002

... hmmm, "worked" ok.
> If their resume seems too AI-generated, I feel less like I can trust that candidate and typically reject the candidate

So you just subjectively say "this resume is too perfect, it must be bullshit"? How the fuck is any actual, qualified engineer supposed to get through your gauntlet of subjectivity?
>And what is wrong with being a cog?

The interview process being a circus of how many hoops you'll jump through. Which in this case is upwards of 3 months of trivia, beauracracy, and politics. And these days they don't even give you the grace of a response; they may just ghost you.

But being a cog itself is personally fine. Work to live, not live to work. But leading people on to drop them on the tip of a hat is disrespectful of everyone's time. At least a 1-2 stage interview for a dishwasher or table busser is only wasting a few hours per role applied. Time is the most valuable resource we have, of course people want to use it carefully.
> in fact, I am interested on too many things at once which doesn't help.

Be careful of "surface level work". Your Ph.D. is not going to come from surface level work. It will come from picking something and developing a deep understanding of that topic ... deeper than most of the people in the audience, anyway.

Also, since you mention HPC, be aware of what areas are "well-explored" and stay away from them. Your advisor should be able to help with this. You want an area that has not been dug up by many brilliant minds before you, leaving only small nuggets of semi-precious metal for you to find.
I did the same a couple of decades ago and enjoyed it. It was especially interesting to see a slice of early sci-fi. It's been a while, but I remember enjoying "The Big Time" and Connie Willis' books.