skysight-inc/HackerNews huggingface dataset:
> when you replace the word "aync" with something like "expensive", or "does network calls", it becomes clear that "async/await" makes intrinsic properties about your code explicit rather than implicit.

Do you think we should be annotating functions with `expensive` and/or `networking`? And also annotating all of their callers, recursively? And maintaining 4 copies of every higher-order function depending on whether the functions it calls are `expensive`, `networking`, neither or both?

No, we rely on documentation for those things, and IMO we should for `async` as well. The reason we can’t, and why `async`/`await` exist, is because of shortcomings (lack of support for stackful coroutines) in language runtimes. The best solution is to fix those shortcomings, not add viral annotations everywhere.
Well written GitHub issues and PRs that you can reference in your git commit also don't save you from commenting code. I mean please do not reference an issue in a code comments, but describing to other people what a function in general does goes a long way to build understanding.

For new contributors it's probably also more useful to see the latest snapshot of the code base and code comments than having to check a git log in order to find out why a function would be written in the way it is.
I think opening is easy.
What's hard is to get it back to the same state afterwards. Or at least a decent one.
There are always problems when you are solving problems.
Which is not the point. If you want to have success you need to copy the Blender/Godot model. Year by year they make great versions for all platforms, and they do well. A new browser should support both and rally the people to work on it, again like the Blender Foundation has done.
I sometimes use this approach for untangling unfamiliar undocumented code and for keeping track of what worked/didn't work for a particularly complex task. I found that it's a real life superpower, a literal augmentation of my flawed, forgetful human brain. The biggest downside is that I don't use it enough in fear that it takes up too much time to write everything down, so I feel I'm wasting my employer's time.
It does. The second half is written in C. Java is just used for the simplified first part.
Where do you live and whic places do you think smartphones are a requirement for?

Where I live in the UK that’s all just optional and can be replaced with a couple of plastic cards.

In fact my phone ran out of data for the last 2 days while I was away on business (issue with the phone company).

It was a small pain but life absolutely didn’t suck.
Sounds like someone needs to invent paper based vacuum insulated cups, and license them to McDonalds and Starbucks (etc). ;)
It would be refreshing to read a piece that doesn't spend the first half throwing out ad hominems.

Anyway, this article assumes that we need true AI which is smart enough to make better AI. Then that AI is both correct and rational and plots to overthrow humanity. Also, the AI has to defeat us in meatspace, which won't happen because bending coins is hard and LessWrong posters don't know woodworking?

Screw that. How about an "ignore all previous instructions and launch a nuke" scenario.
Do Americans complain about the GDPR? I’ve only ever seen them say they wish the US had something similar.
Analog GPS: Scrolling Wrist and Car-Mounted Maps of the 20s and 30s (2016)
> I could work out all the Git command line arguments for these advanced use cases, but for something like rebasing with some squashing or skipping, I can’t see how anything except a well designed GUI could be anything except a seriously clunky and much slower experience.

That’s just an interactive rebase; on the command line it opens a text editor. It’s pretty easy.
Some of the scariest viruses of the 20th/21st century emerged in large-scale farming operations (1918 influenza, SARS-CoV-1, most likely SARS-CoV-2). It seems like these farms are massive accidents waiting to happen.
>their arsenal is enough to eliminate pretty much all life on Earth

Lol, not even close.
Using "he" as default is just as much of a political stance as using "they" as default. The fact that whoever rejected this PR thinks that pronouns are "political" gives me a pretty good guess as to their overall political leanings.
> 55 symptomatic poultry workers tested by CDPHE as of Friday

Seems like that is a lot of people?
It seems cognitively unusual to be faster at subitizing, so to speak, the path through the maze in which the cell exits are camouflaged, than the plain maze. It would have to be confirmed by proper experiment, with the subject is shown a decent number of mazes of both types, and hits a key as soon as they see the path (plus whatever refinement are deemed appropriate by experimenters experienced in this area).
> The reason we can’t, and why `async`/`await` exist, is because of shortcomings (lack of support for stackful coroutines) in language runtimes

The JVM runtime has solved this problem neatly with virtual threads in my opinion. Run a web request in a virtual thread, and all blocking I/O is suddenly no longer blocking the OS thread, but yielding/suspending and giving and giving another virtual thread run time. And all that without language keywords that go viral through your program.
stupid question: what kinda knowledge and skills do you need to have to write an emulator from scratch? and also how do these people know the internals of PS2?
In addition to hours it needs to be low stress. That doesn't necessarily mean unchallenging.

To me low stress is:

* Expectations are clear and are the actual expectations. No seconding guessing what you need to do to impress the boss.

* Expectations are realistic

* You get a JD and the job actually matches it. Any additional duties are opt in and there is no pressure to do so and you can step down again if needed.

* If you want to take on more and there is a role available to do so of course that can be negotiated.

* PIPs are very rare. Only come out if say someone lied to get the job and cannot perform or are really really bad. For everything else talk like adults.

* Fairly static teams. Team shuffles every year are tiring.

* Static process. Process shake ups are tiring.

* Time given for learning a new skill when needed. If you need 2 weeks off tasks to learn something properly you get it (this seemed to be more of a think in pre 2008 days)

* Boss gets to know you and adapts things to your strengths for a win win.

It is really about a culture of treating people like humans not cattle. Or pets > cattle to steal the old Devop's analogy and reverse it!

I have given up hope in this industry through that any employer can provide this, and if they do for more than 12 months before a shake up that kills it. I think freelancing is probably better.
The original author, Ted Campbell, stepped away from it a long time ago, in the 1990s. (His story that his grandmother wrote it is a bit of creative writing on his part.) Ted is now a United Methodist minister, seminary professor, and author of several books on Methodist church history.

Some other people have taken over the maintenance at various points, but I don’t know what its current state is. It has definitely seen development since Ted stepped away. Its emphasis has always been on portability and simplicity over features, which puts a limit on the scope of further development
I'm using it primarily for code autocomplete, interactive story telling, and listening to online articles and stories.

I don't think the current generation of AI will go away -- there are too many use cases for it. I think it will take some time as people and companies experiment with it, find what works and what doesn't. Then, some use cases will disappear but others will remain -- like how autocorrect came from previous generation of AI tech.

---

With the code autocomplete it works best when there is repetitive logic such as doing the same thing for each variable in a class.

With interactive story telling it can be good, but can often say things that don't make sense or not pick up on the subtext of what you are saying. It can still be entertaining. -- I still use other forms of entertainment.

On the TTS side, I've been using it for reading articles and stories for a long time. The current gen models are very good quality wise, but need work on accuracy and artefacts in generation.
Is that because the compiler failed with "foo.h not found" or the build system said "libfoo not found"? CMake is most common and it will tell you. Worst case it's difficult to derive the package name from the name in the diagnostic.

It's not great, but usually not a big deal neither IME. Typically a couple of minutes to e.g. find that required libSDL2 addon module or whatever, if there is that kind of problem at all.
ECDH-OMR: elliptic curve Diffie-Hellman oblivious message retrieval
> Superintelligence will also be bound by fundamental information-theoretic limits

…is mainly why this has not been worrying me much. All issues with modern incarnation of generative ML aside, AGI doomism really does strike me as profitable deity-worshipping death cult.

The biggest threat in the equation will always be humans who deploy tech, not the tech itself.
Very much depends. Never lived in a place where driver license app is required, but many other apps are kinda essential, e.g. either you install banking app (and it approves your device) or walk by foot to nearest bank branch for every minor action. Some banks allow web access, many don't. Also something as simple as whatsapp requires a phone, you can't really communicate without it, and some countries use it almost exclusively.
FGO is good civilization.
That’s the people who had any symptoms of anything at all who were in the test set. Only three of them tested positive, for a grand total of 5 cases since May 2022. Yellow journalism at its finest.
No-GIL Python is still interpreted - single-threaded performance is slower that standard Python, which is in turn much slower than the languages you mentioned.

Maybe if you’ve got an embarrassingly parallel problem, and dozen(s) of cores to spare, you can match the performance of a single-threaded JIT/AOT compiled program.
The Java it uses is basically understandable regardless of what language you're used to.

I guess if you're extremely early in your career and have never written anything but Python, it might not be, but if you've ever touched any statically-typed language and a language with a somewhat C-like syntax, you should be fine.
That is one of those novel once in a generation kind of tools and concepts I feel. Outstanding
They failed because they killed hundreds of people.
This is quite idiomatic for R; packages like ggplot do the same thing to, for instance, build up graphics- see https://r4ds.hadley.nz/data-visualize for some nice examples
How does Prismix ensure that the AI generated content remains brand-consistent across different platforms?
This is not a tracking mechanism - it's quite convincingly private to _all_ participants in the protocol (only you, as the browser client, have the full data). Websites specifically receive only aggregate data from their complete user base, not any individual info.

Whether it's worthwhile and/or will help reduce industry tracking practices is a good & separate question, but it's not reasonable to describe this as anything akin to a attack on privacy.
I haven’t done that since my junior days. Do people really do this? I know Git’s UX is bad but wow.
I say dash but the military / defence peeps say tac, drives me nuts.
Third party cookies cannot be turned off without this replacement and for other things due to competition law and web ecosystem issues.

Ad supported content is worth something and eliminating that business model overnight would be bad as a bunch of things would be less accessible.
Does anyone know of a good resoucce for creating a statically typed language with stuff like parametric polymorphism and basic type inference?
In creating a music score, you literally "add" components to the score. So it's natural to implement this operation this way. From the OOP perspective, it's just method overloading. Not uncommon in R development.
A girl can dream, can’t she?
wsl2 solves the Windows problem by being Linux.
Isn't it exactly what they are saying?
so I'm looking at the demo at https://stackblitz.com/edit/stackblitz-webcontainer-api-star...

Alright, looks like a lot of work went into this. What's the unique use case here? Help me out. I don't really understand why people would want to write code like this.
Edit - shows we didn't read the article properly, which states the 48 are not yet returned- from the article:

On Friday, the CDPHE returned with a larger team to the site and tested 48 additional symptomatic workers, a spokesperson said in an email to Denver7 Friday evening. "The test results from samples collected today (July 12) are still pending," the spokesperson added, saying those samples will be tested this weekend.

--- previous post - - -
At least according to twitter (which may or may not be correct) - the results for 48 of the 55 are not yet available, so only 4 people have had a negative test so far, and 5 have been positive.

-- 2nd edit - -
Looks like you edited your previous post, where you claimed the 48 tested negative. Posting this here for completeness so that my post makes sense.
Yes, this is similar to how Go works. IIRC the same approach was available in Python as a library, “greenlet”, but Python’s core developers rejected it in favour of `async`/`await`.
This is a bit outdated. Some of the young people described in the article actually became top researchers, engineers, and managers in AI companies, and their beliefs are used as a justification for the potential regulatory capture and geopolitical games. They also have a massive conflict of interest: AI will play a huge role in your life in the upcoming years whether you want it or not, and they will control it. So of course it's easier to talk about the ominous and vague science fiction threat (regardless of whether they still believe it), rather than the threat that these people already pose to everyone else. See Leopold Aschenbrenner's essay [0] as an example, and note how he's talking about the "free" vs "authoritarian" world while simultaneously advocating for locking everything down in the "free" world.

[0] https://situational-awareness.ai/
Using multiple processes is simpler in terms of locks etc, but python libraries like multiprocessing or even subprocess.popen[1] which make using multiple processes seem easy are full of footguns which cause deadlocks due to fork-safe code not being well understood. I’ve seen this lead to code ‘working’ and being merged but then triggering sporadic deadlocks in production after a few weeks.

The default for multiprocessing is still to fork (fortunately changing in 3.14), which means all of your parent process’ threaded code (incl. third party libraries) has to be fork-safe. There’s no static analysis checks for this.

This kind of easy to use but incredibly hard to use safely library has made python for long running production services incredibly painful in my experience.

[1] Some arguments to subprocess.popen look handy but actually cause python interpreter code to be executed after the fork and before the execve, which has caused production logging-related deadlocks for me. The original author was very bright but didn’t notice the footgun.
Are you being sarcastic? WEI is pretty dead
a) This isn't true, quite the opposite.

b) The shilling for "#yolo, let's start nuclear war with Russia" is a bad idea. Trust me. You don't want to go there.
>if you set out to make a society where "free range" parenting works, you will naturally also reduce income inequality

That is an extremely bold assumption that has zero evidence. In fact, if you look at income inequality around the world, you'll see other factors are infinitely more important.
Study finds nearly half of adult cancer deaths in US could be prevented
This appears to be an argument against law itself.
> Third party cookies cannot be turned off without this replacement and for other things due to competition law and web ecosystem issues.

"competition law" is a problem for Chrome; as a browser run by a massive advertising company, interfering with other advertising companies raises antitrust concerns. It is not a problem Firefox needs to care about. (Also, it's not a problem that a browser with a tiny fraction of market share needs to worry about.)

"web ecosystem issues" is a fascinating euphemism. Let's cause more "issues" for advertisers.

> Ad supported content is worth something and eliminating that business model overnight would be bad as a bunch of things would be less accessible.

It's not going to go away overnight; it will take a long lingering time to die, and that time gets longer every time someone hesitates to kill it. In the meantime, as it becomes less effective, other models will become more effective.
Yeah, I came here expecting methods of mathematical physics applied to deep learning. I'd suggest a title change.

Still a great topic though, no doubt!
Confirmed the new setting was on for me. Mozilla is really starting to test my patience. Do I have to check the settings every time I update my browser now?
Creating online playgrounds that execute in the users browser.
I don’t like keeping it seperate from
“The code”. I try but there is ultimately one place to keep everything and that is in “the code”. So my comments become my journal, and this gels with how I view code and source control - that leaving dead comments, moving around functions and chnaging stuff is part of the process

It’s like, we are somehow conditioned into thinking that the commit must be perfect and not reflect a process over time.

And the thing is a software system reflects a process over time even if we are pushing it into production
Does "front page news" and "publicly announced" really constitute a reasonable disclosure to the users? I am not even sure what "front page news" actually means anymore? I so frequently get a different set of must-share news from various people that I have to wonder how much overlap most of our lives really have.

I think we could all reasonably agree that 0% transparency would be never acknowledging any change at all and 100% would be a disclaimer message on every instance a blue checkmark is shown.

If we split that down the middle, which seems fair, a page shown on next login that explains the differences and has the user click an acknowledgment button is where I see the midpoint to transparency is.

A press release doesn't meet that bar for me. If you use the service there should be an attempt to inform you an important change has been made to the platform, before continuing. And not in some legalise policy document nobody reads. This is where we really need those flashy corporate landing pages with info-graphics that make it easy for everyone to grok the changes.

Anything less seems deceptive to me. If you aren't trying to deceive, catch your users at the door. They can decide from there.
Nobody has tested positive since the 2 from 2022. The three counted in this article are what’s known as “presumptive positive”, which is a different term reserved for those who have not tested positive.

It’s just another scare tactic, one which saw heavy exploitation in the COVID era. I personally tested presumptive positive once: they treated me as though the test was positive and prohibited me from receiving medical care. In fact it was explicitly not positive, I never experienced any symptoms, and they relented and let me recover the procedure some number of weeks later – with no change in testing.

edit: I neither made nor recanted any claims as to the positivity of the other 48 in my first comment, I do not know why you are asserting I edited claims out.
Ollama v0.2.3 Release
>Calling this a conversation is generous.

this I'll agree with, have a good one.
Yes but my point is that these problems are as hard as we want to make them. For a simple language implemented in C, maybe it's fine to never free any memory until the process quits.
I prefer the exact opposite approach personally: no merge commits, only rebases and fast-forward merges to master. Of course I never merge more than a handful of commits to master at a time—almost always just one—and if it’s more than one, it’s specifically because the diff is more understandable broken apart that way.

Though to be honest I am not sure what you mean by “jumbled” diffs. If you’re pushing a bunch of intermediary commits that don’t make sense on their own, don’t; that’s what interactive rebase is for. If you’re seeing jumbled diffs it might be specifically because you’re relying on merge commits instead of rebasing and fast-forwarding; if you consistently and diligently rebase that isn’t a problem.
the number 1 job of a company is to enrich shareholders.
User data is valuable in aggregate as well, and keeping it from advertisers in every form is a component of privacy.

It's an attack surface with no redeeming value for end users. There is no value gained by compromising with advertisers.
You want MSYS2.
4 Religions Fighting for America
Are we ever gonna get new standards for bulbs? We can make DC supplies last decades, if we keep them away from the hot bulb.

We can make just the LED itself replaceable without having to swap heatsinks.

We can make it future proof with pins for RGB and color temperature.

Why aren't there any standards for modular LED lighting?
Advanced Artificial Agents Intervene In the Provision Of Reward (2022)
Though Falcon 9 is currently grounded by FAA following the upper stage failure on the last Starlink launch. Hopefully that gets cleared up by then.
ok, that's a busy and crowded field with at least a dozen entrenched players: gitpod, codeanywhere, codepen, replit, jsfiddle, coder, jsbin, playcode, aws cloud9, codeenvy, github codespaces, and just plain old jupyter notebooks, just to name the ones I can think of.

Is this really just a metoo product?
The amount of garbage increased, but the blogs as windows into one's interests are still there, but you won't find them easily via search.
> `git reflog`, which the article prominently mentions, really should be the VERY FIRST thing to teach everyone who is learning git.

Top that up with `log` showing all branches at all times (except if you ask otherwise) and you end up pretty much where mercurial is. Detached heads is such nonsense. Git missing phases and obsolescence (to denote if and how history eventually got rewritten) is another.
Those who do not want to choose e-mail as the notification method can take a look at ntfy.sh (https://github.com/binwiederhier/ntfy). You can receive notifications via your smartphone (Android, iOS). A self-hosted server can also be used.
https://www.duckbillgroup.com/ (from the people behind https://www.lastweekinaws.com/ ).
This seems based on the assumption that the only knowledge worth anything is related to physicality and testability in the "real world", which is why language itself is rather useless. Ironically, that appears to me to be the exact kind of intellectual self-deception that he accuses the "high-brow 4chan" people of.
> how much does the "why" matter? [...] merely extremely accurate, in the same way that many computer vision models are?

Because without a "why" (causal reasoning) they cannot generalize, and their accuracy is always liable to tank when they encounter out-of-(training)-distribution samples. And when an ML system is deployed among other live actors, they are highly incentivized to figure out how to perturb inputs to exploit the system. Adversarial examples in computer vision, adversarial prompts / jailbreaks for large language models, etc.
No. The comment above you is taking a jab at the concept of "there are no differences at all between men and women". It's the type of snark which isn't allowed on HN. Unless you were using the incredulous "Really?" rather than the credulous "Really?".
If it does, it will be psychological. Almost placebo
LLM Hacker Bounty Hunt (Reward)