skysight-inc/HackerNews huggingface dataset:
There's two ways to check if something is correct: run it or read it. In this case I just copy and pasted the results and it worked as expected. YMMV.

I will say that you seem to be operating under the assumption that these tools are less reliable at producing the correct code than they really are!

Ironically, the latest GPT-3 models trained before OpenAI made changes to their API resulting in basically useless assistance for things like the openai npm library!
They do, it's called AppleCare and you would be nuts not to get it. Just factor it in for the price of the Macbook you want before budgeting and purchasing.
MS chooses H1B's specifically because they can abuse and exploit them, forcing long hours with the threat of deportation upon termination. Turning a blind eye to that kind of abuse of power only allows it to continue.
For me it just says that there isn’t a german version yet, but doesn’t let me read the article in English…
I wonder how they plan to actually do this. iOS now identifies when the camera or micrphone is turned on even when permission was previously given. Some Android builds do the same. So I'm sure this will come out really quickly.

I've never actually used TikTok and I never will. I get a lot of videos sent through by people stamped with their logo and they're always of the 'stupid time-wasting joke' kind of thing. The things people used to send as animated gifs. And I'm very much drawn to written content over video anyway when it comes to learning. But it's worrying from a population manipulation point of view. The same way Facebook did with Cambridge Analytica.
Yes, and you can never know which percentage, so surveys in general only teach you about how people answer surveys.
No that’s not a mock that’s a stub. See this book from software engineers at Google, it talks about various test doubles: https://abseil.io/resources/swe-book/html/ch13.html
Startup pitch. Data center on Antartica reached from South Africa or South Americas. Solar powered when the Sun never sets. Starlink connectivity. Natural source of cooling. Only the beginning? Moon and Mars habitat simulator challenging life support engineering when the Sun don't shine?
> Certainly the former. There is a good reason why you should avoid global state (if possible). I never found it to be particularly hard...

It only takes one library call into a non-reentrant function to mess everything up in a threading environment. Things are mostly thread-safe today, but I still fall into the trap. Its not like we're double-checking our 3rd party libraries all the time.

In any case, the "Multithreaded Singleton" problem is devilishly difficult to write and full of subtleties. I disagree very strongly about threads making things easier. The singleton pattern is written incorrectly in almost every instance I've seen it in the wild. Global state is important in many cases and cannot be avoided, and threads absolutely complicate it even more than usual.

----------

But lets reverse things for a second. I've listed off multiple kinds of code that work in a process-environment but not in a threading-environment.

You haven't listed off what makes threads actually easier yet. You're saying "mutexes and queues" are easier, and I disagree. At a minimum, a pipe / FIFO performs a similar role as a queue and even has atomic-level guarantees (on read/writes of PIPE_BUF or smaller). Sockets provide client/server model as well.

What I can say for sure, is that pthreads / mutexes / queues are _more efficient_ than pipes / FIFOs / etc. etc. But "simplicity"? Its really not so difficult to read() or write() from a pipe.

> If one thread crashes, the whole process dies. There is no consistency problem here.

Are you sure?

Lets say I pthread_cancel() one of your threads. Is that cool?

Lets compare / contrast with kill(SIGKILL), which is still dangerous but... the state of a process is far more consistent. All fds are closed (including pipes, files, and sockets). This has a side effect of cleaning up flock().

There's a couple of complications involving SystemV semaphores, but even this has been figured out with semaphore adjustment values (which are automatically applied upon process exit, even from a kill).

---------

If thread #45 accepts() a connection, then gets pthread_cancel()d, that socket will effectively be leaked and live forever (because there's no way for anyone else to close() that socket correctly). Especially if you have a PTHREAD_CANCEL_ASYNCHRONOUS flag, these sorts of things can be devilishly hard to debug.
Ah the irony of watching you get voted down for daring to celebrate non-conformity!
I get that, but just because a belief makes you happier, doesn't make it true.

I know a lot of people who chose to believe that COVID was a hoax, and that vaccination was a conspiracy, because these beliefs made them happier.

But the consequences of these false beliefs was an incredibly large amount of death and suffering, all avoidable.

> she says she can see spirits leaving the body

But we both know this is a false belief. If she tested this scientifically, you know she would be unable to do better than chance.
The core team already has plans to do a backend design refresh: https://make.wordpress.org/design/2022/06/13/thinking-throug...
Relevant work (mine!) from last year: https://mahis.life/clip-fields/

We showed how to use Vision-language models like CLIP in conjunction to language models and object detectors to perform open-lanhuage navigation in a household (so "warm up my lunch" goes to the microwave.)
Don't forget the poster, by John Mattos! One of the finest movie posters ever: http://www.johnmattos.com/film.php

Detail: https://www.artcenter.edu/gallery/detail/569d6e434d9b6f9a563...

I emailed him a while back, and he told me the original artwork wasn't in his possession, and he had no idea where it was...
Effective communication is very easy to identify. Either it produces the required results (everyone understanding the problem and cooperating to produce and implement as close to an optimal solution as possible given resource constraints) or it doesn't.
I agree. I was really responding to having such a pass be enabled by default. The defaults for any security system should be toward maximal security. Users being able to loosen the rules to fit their situation is fine and desirable.
This is my concern too. How can you trust a business process that you cannot inspect step-by-step? Imo this greatly limits use cases.
People read it as Last Updated. If I see Copyright 2015 on a site's home page, my default assumption is that the site hasn't been updated or has only been spottily updated since 2015.
>TikTok is the first piece of computer software that I'm treating like a dangerous and currently legal recreational drug.

It's the fentanyl to Facebook's heroin. The crack to Instagram's cocaine.

More of the same idea, with an unimaginably more destructive and addictive quality emergent from its' purity, quantity, and availability.
What's your definition of "pure function". Apparently not "pure function" in the sense of "pure functional programming", because if that were so, your claim would just be wrong. Counterexample: "printToConsole: IO[null]": is a pure function but still not easy to test.
I think the first Mount & Blade was a 1-2 developer effort.
To contribute my personal lowbrow dismissal, this is the guy in charge of computer vision at Tesla, where cars have had a habit of doing absolutely bonkers behavior that doesn’t make any sense, when faced with completely normal phenomenon like lanes that fork into two.

His single sentence caveat about how Neural Networks can fail in unintuitive and embarrassing ways is the understatement of the century. I’d like to add that Tesla still hasn’t solved that lane forking problem even eight years since it was first identified. I guess just throw more data at it, and eventually it will get better? At what point does the belief that things will get better with more data fed into the same algorithm become a religious creed?

Neural Networks are significant advances in the state of not just machine learning, but the world as a whole. But the caveat that we don’t really understand what they’re doing is the whole fucking problem. Until Neural Networks can take advantage of, constrain to, and augment human models, they don’t have a snowballs chance in hell at replacing the types of software we rely on the most.

Until then, you’ll just create a massively inefficient system where the neural network writes the software but you spend 10x on engineering your training datasets so that your brilliant neural network knows that it is better to commit to one of two lanes in a forked road than it is to crash into the concrete lane divider. Or to not be racist. Or to not go haywire because of a sticker on a stop sign.
I like the suggestion; contrary to physical commodities, however, the usage of derivation of code cannot be proven easily, unless the entire supply chain is rebuilt on, I don’t know, hashes of code fragments and remote attestation?
Looks pretty similar at a high level to Google's Code as Policies paper (translate instructions to API calls with a language model). Exciting to see this sort of thing happening in robotics!
You’re describing a bad API to begin with. Those are too many steps to test at once too.
And COBOL before that. The goal of COBOL was to allow a non-technical business person to describe the problem in English and that description could be used as the basis of the program.

Needless to say it didn't work. Accurately describing what a program should do is what a programmer does. We're not telling the computer what to do (move this value from memory into this register, etc). We're describing a program's behaviour.

So I think we'll just get another language that is a good fit for describing what the program should do, and instead of compiling that to machine code, it will be used to train a model.
There are multiple variables at play here. I suspect that the quality of schooling played a huge part, especially the perspective of peer students. In my experience kids at private schools and homeschool had much better performance due to a reduction in distracting kids and the apathy culture present at many public schools. The fact they were able to go 10-2 also shows that they're at an accelerated paced over a normal day.
> Warning pops up: "Alternatives recommended: Use the AWS CLI V2 and enable authentication through a user in IAM Identity Center." – wtf do you think I just did, buddy???

Oh dear. Their rename of AWS SSO is going to cause a lot of this type of confusion.
Mocks and stubs provide lower test fidelity than the real thing. Also makes your tests more brittle as you need to update them whenever the real implementation changes.
> in some ways it's not even anyone's business but yours

If religionists ever, ever, ever behaved that way then there would be no problem, but the fact is that for thousands of years they have imposed their beliefs on the rest of us with violence.
Here are some websites that are helping US non-immigrants.
h1bdata.info provides a list of companies that sponsor H-1B visas along with the job titles and salary

checkvisaslots.com informs about visa slot availability in India

visaholics.com a community that shares US visa experiences

boundless.com .. . ..
> People have very different tastes.

This has been my experience with any type of review platform like Rotten Tomatoes, Yelp and Amazon.

The review system that is derived from comments and stars doesn't make sense. The scale between stars and the rubric that defines moving up or down a star is not uniform across reviewers. With comments, you either get bots inflating the score, bots doing hit jobs, and disgruntled users who may just be in the wrong.

What the review system is trying to answer is: "am I going to like $thing that requires an investment of time/money" It is much better to take a property based approach. Yelp would do good to survey users on more actionable metrics: like cost, wait time, size of menu, was the bathroom well kept.
There is a massive industry around puppy-crushing machines. We call them "puppy mills" and they're large commercial operations that overbreed puppies for sale and kill the undesirables.
Reminds me of similar work at Google to take natural language commands e.g. "Put the soda can on the table" and make a LLM write lower level robot code to implement the task. https://code-as-policies.github.io/
I'm sorry, but slavery and racism existed in America long before the Europeans arrived.
This is kinda rad — I am primarily a "desktop" user (well, iMac), but I have the occasional itch to have a laptop that I barely care about, that doesn't need to be fast, just more capable than a tablet on the go. Maybe I pick up a used T480.
At some point being able to convey what is in your brain to another human and use that to influence their actions is a fundamental human skill. If you're bad at it you'll be at a disadvantage, simple as that.
ChatGPT launches boom in AI-written e-books on Amazon
The big problem with newer AMD ThinkPads from what I've heard is use of some second-rate (mostly Realtek) components in places, which in comparison to those used on Intel models don't perform as well and are more likely to cause trouble under Linux.
That's not engineering though is it?

What use is a banking app if it's only going to be correct some of the time?
You mean like the "Who's hiring?" posts but instead "Who's building and needs co-founder?". I like it.
Do you have a discrete GPU? Disable it. Run TLP and powertop to see what uses too much power and to adjust tweakables.
Not quite, let me rephrase it...

> Our software has a 99% chance to calculate your taxes correctly! And only a 1% chance of failure in which it's your fault and it's you that's committing tax fraud
Show HN: YC's Sales Agreement as an API
YC has been gracious enough to share publicly their standard YC Template Sales Agreement[0]. But because it's in Microsoft Word format, it was hard to integrate into our sales process and CRM.

So we turned all the decision points and notes in that document into an API that we wired up to our customer development pipeline so we could generate the doc and get it e-signed in one step.

[0] https://www.ycombinator.com/sales_agreement
The context is pretty different - Duplex was a public demo, this is a research paper with a whole paper behind it. There's no reason to script something if they have a working algorithm...
This article from Wikipedia's community newspaper, The Signpost, has sparked coverage in several newspapers and news portals:

https://www.thehindu.com/news/national/over-40-later-banned-...

https://www.livemint.com/news/india/did-adani-systematically...

https://newsable.asianetnews.com/india/paid-users-including-...

https://www.deccanherald.com/national/sockpuppets-created-pu...

https://economictimes.indiatimes.com/markets/stocks/news/ada...

https://www.businesstoday.in/latest/corporate/story/did-adan...

https://thewire.in/media/adani-group-wikipedia-articles

Etc.
> If that happens, it should be able to brake on its own, but a human at a dispatch center might be brought in as copilot also, to ensure things go smoothly.

I'm not sure I'd trust a human more than a machine in this circumstance. Just being dropped in with a split-second to make a decision? It's not like you can get 30 seconds of replay to get your bearings etc, otherwise by time the human is ready, the problem's already over.

There's a lot of "state" that a driver should already have built up for this. Traffic, road conditions, who's behind me, etc. Just being thrown into a situation that's rapidly devolving sounds like a nightmare.
> the increased reliability that non-upgradeability confers

I'm skeptical of those being connected; my 2008 thinkpads and 2011 desktop (that I'm writing this on) are extremely upgradable and still work fine (I mean, the thinkpads are slow by modern standards, but that's not a reliability issue). And non-upgradeability in this sense also means that it's not reparable either, so when it does have problems the whole thing is dead rather than, say, just swapping out a faulty RAM module or replacing the worn-out SSD or whatever - to say nothing of the battery degrading.
There is something very cultish about it. An indication of it being a cult is the tendency to get caught up in definitions of new words. It is easy to think that once you learn the vocabulary (like "vipassana", "sati", or whatever), you are have achieved something, when all you are doing is reciting new words but the thinking is done for you.
To me the biggest obstacle to this endeavor was creating the pixel art; even with something like Rpg Maker. I believe Rpg Maker has stock assets but at some point you'd want to customize. And that can be a lot of work. Does anyone have experience with this aspect?
Came here to make the same comment. If the first AI model is buggy, then instead of debugging it with Software 1.0 techniques, just use Software 2.0 to debug it with AI! And when there are issues with the AI debugger, use a 3rd model to debug the debugger. And then a 4th. It's AI all the way down! I can see whole empires of consulting firms becoming very rich.
"Corgi-sized meteor as heavy as 4 baby elephants hit Texas - NASA"

"[...] please use the original title, unless it is misleading or linkbait; don't editorialize."

https://news.ycombinator.com/newsguidelines.html
The amount of fear and scaremongering surrounding TikTok baffles me
Reminds me of the study that suggested lamotrigine as a potent autism treatment... in mice. That had been genetically engineered, drugged, surgically messed with, or otherwise altered to manifest autism "symptoms".

As usual, wake me when there are promising results in humans that actually manifest the condition.
None of us are reading it right yet. We're not interpreting the "Hazard Ratios" - whatever those are. Until someone comes along and explains it (or uses chatGPT/bing to explain it), there's no point to form opinions about these results.

In addition, we need to know what percentage of the people were doing fasting, in order to determine if the HRs are statistically significant. That claim a 95% confidence ratio, but is that true?

If we're not able to do this kind of simple checkup on the data, we will just confuse us even more when we find another paper that adds even more naunce and complexity to the issue. That's how people become anti-science. Because we don't understand /this/ work, this work causes us cognitive dissonance. And because we don't understand this work, our dissonance is even worse next time.

I hope a kind statistician comes along and help our thread about by explaining the numbers and what they really mean in terms of death risk and life expectancy.
How Well Does Duolingo Work? We Put the App to the Test
Need Free Guest Posting Websites
Hi, everyone i am looking for free guest posting websites for my new projects
Early Computer Artist Dominic Boreham Has Died
Or, even more pessimistically, the introduction of oxygen into the atmosphere by cyanobacteria in the Great Oxygenation Event.
My dream game: First person shooter (UT style) in a non-Euclidian space (like in Manifold Garden)...
Everyone is immigrants (except native Americans). But certain groups came here in large numbers, settled the country in large homogenous groups, and shaped the country from the ground-up. Our legal and political structure is entirely Anglo. The culture of large swaths of the country can be traced directly back to different subgroups from different parts of England: https://www.barnesandnoble.com/w/albions-seed-david-h-fische....

Germans, Dutch, Norwegians, and Swedes settled the midwest, which was a key to the development of American society and government. They were a backbone of the Republican Party during the Civil War. Iowa, full of recent German immigrants at the time, contributed more soldiers per capita to the union than any other state. To this day, midwestern speech patterns are full of German or Norwegian influences. There's 50 million German Americans--more than half as many as in Germany.

Italians and Irish had major impacts on the culture and politics of the nation's largest cities. They changed the course of the 20th century by supporting the Democratic Party by large margins from FDR until Reagan, which took the country in a very different direction from the original vision created by the British founders. There's more Irish people in America than in Ireland.

Other European immigrant groups had localized impacts, but never shaped the country the way these other groups did.
I think the issue is "a mock" is a generalized term that implies different things depending on the usage. More junior developers think that it only means when you have an external entity that you have control over that "mocks" the external service that you don't (shameless plug, I built https://mockadillo.com for this). But yeah, these are obviously mocks and the article kind of doesn't make sense.
A "fake" (as opposed to a mock) is a pretty well understood concept.

Is there a difference between a fake and a "nullable"? As far as I can tell this is a pattern for merging your fakes and reals which seems cumbersome and error prone
One of the more interesting things I had happen to me while being unemployed was I actually liked waking up relatively early. I'm was always a "nightowl". now I had the feeling that the whole day was mine and I wanted the most from it. Before I'd stay in bed pretty much to the last minute
I'll agree that it does lack hard evidence, but it presents very important and relevant context about the groups that Jens was associated with at the time, and what became of those groups and him. What are the chances that some young person would change teams so suddenly and extremely? It's common for teenagers to pass through a rebellious phase, but the timing (of the reversion to daddy's team) here seems too abrupt, and the quick passage to the exact opposite position seems suspicious. The Patreon post also discusses how many other figures in that circle became double agents, which is highly relevant.
No numbers in this article?
There are gameshows like this, and contestants do just fine.
Capitalism without appropriate regulation always degenerates into monopoly.
This seems close to what I do, except I dependency inject the alternate implementations rather than modifying production ones to do the job, which seems weird. Plus I may want more than one implementation.

At least at the scale of code I've been working with, it has been excellent. People keep threatening me with dire promises of how this or that testing practice will result in fragile, highly-coupled tests, and all I can say in response is that in 10+ years of continuously writing tests you'd think it would have happened to me by now. Instead I tend to make very reasonable changes to my tests as I go, and the only times I've ever ended up rewriting them top to bottom is when the underlying code under test changed so much that it was inevitable anyhow.

I tend to have a test module that sets up an entire test environment with all the stub implementations, which works fairly well in that middle ground between full integration and unit tests.
As much as I don't want to admit it : flappy bird
Fixing Solar Panels Fatal Flaw [video][17 min]
Back in the 90's, I had a bad Tetris habit. I was in college at the time and missed quite a few classes because of it. I used to dream about falling Tetris pieces.
Yea, some people can be unbelievably toxic.