skysight-inc/HackerNews huggingface dataset:
> Hmm, wouldn't this be the same as an infinite loop in any programming language? How do you solve an infinite loop in python for instance?

In practice an infinite loop in Python is often an immediate error (stack overflow) at the point where it's declared. In cases like you showed it's a little fiddlier, but any execution of that code will immediately show that there's an infinite loop (e.g. any unit test of it will time out) and a stack dump taken while the program is "stuck" will show exactly where the infinite loop is (which is therefore where the error is, because an infinite loop is always an error in these languages). Which is still not an ideal situation, mind; I'm very much in favour of an Idris-style language where function termination is actually checked by the type system and there's a type-level distinction between data and codata.

> How would you solve an iterator in java producing infinite values?

I'd avoid ever passing around a bare iterator, ideally with a lint rule.

The point isn't that it's impossible to have lazy values in other languages. It's that it's practical and idiomatic to avoid them, or at least limit them to cases where you absolutely need them.
If you think Vim emulation is a replacement for Vim, either you don't know Vim or you don't like Vim. VSCode Vim emulation? Spacemacs? They are miniscule, pale comparisons. VSCode is a fine editor. Emacs is a fine editor. Spacemacs is pretty fantastic. But if you you think that's Vim, you simply don't know and appreciate Vim. That's ok, but it's not even in the same universe as the real thing. By all means use what you want, but don't try to sell it as close enough.
I use it and it does not make my project more spaghetti.

Be sure to let me know when you put something out in the world. You’ll find that i come around and act in an encouraging manner and do not take pot shots at it without trying it out. Please do not be unkind.
This is reasonably fast, but not nearly as fast as if can be on Vim. IDK how GP did it, but one quick way might be searching for strings and hitting . whenever the macro needs to be applied. So you would end up doing something like n n n . n n . n n and so on, where each n means “go to next string” and each dot corresponds to finding and renaming something manually in other editors. You can go through dozens of occurrences in seconds, orders of magnitude faster than other editors.
I appreciate the way you think. If you are ever interested in having a penpal, hit me up.
"Secure" messengers which use google play services sucks.
I met an Airbus test pilot once.

Among other stories he told me that the A380 is one of best balanced planes out there, and apparently a joy to fly.
He said even without engines he could easily land it like a glider.

Now, I can't really verify what he said, but he seemed sincere.

Having travelled in the A380 as passenger, I will sure miss it.
Just hope that they keep it in the right version of CATIA: https://worldcadaccess.typepad.com/blog/2006/09/a380_delayed... [Kind of annoying that the Bloomberg article is referenced all over the place, but that Bloomberg's site has broken the link]

Edit: More technical link: https://www.airliners.net/forum/viewtopic.php?t=770047
A much better study came out the same day as the retraction saying pretty much the same thing, so don’t hold your breath.
"Throwing insults to anyone who disagrees" and being too passionate about one thing are not necessarily correlated.
I can imagine someone being extremely passionate and still respectful.
https://archive.vn/OIlM7
Elegant conclusions can totally be arrived at in the humanities, it's just that statistical methods often aren't the best way to go about doing so. The traditional method of logical proof, which is valued just as much as data analysis in science, used to be the standard in the humanities. The human mind would compute the statistics more or less subconsciously, but would then use those empirical results to say something valuable through a process of logical induction. I think that's the key point that this article misses—it isn't that we don't want humanities to provide rational insight, it's that we want humanities to reduce its reliance on statistics and refocus on what it's historically been great at.

There's something important to be said here about the duality between logic and math, algebra and statistics, classical AI and modern DL, philosophy and science, rationalism and empiricism.
fix the typoes in "Important Regular expression cheat sheet:"

* 0 or more
.
.
.
[a-q] ...
[A-Q] ...
.
.
.
[abc] ...
[^abc] ...

that is, remove backslashes from the front of them
> without engines he could easily land it like a glider.

Most airplanes are designed to glide down and be able to land in the event of loss of all power from all existing engines, subject to the available altitude above ground (the potential height energy from the fall is used as the source of kinetic energy for keeping airspeed+lift) and distance to a suitable for landing piece of land.
see here: https://pubs.opengroup.org/onlinepubs/9699919799/functions/e...

plenty of basic examples with execv, execve, execvp, etc.

if the execv() call succeed then it completely replaces the program running in the process that calls it

you can do plenty of tricks with that ;)
The laser was famously named "a solution looking for a problem", many times in science we build theories/experiments/devices without solving a problem, but instead found many problems in hindsight where the theory could be applied (and many others where it could)

So I see science at work, nothing to see here.
I don't think there is any need to suffer just because you have a slow connection. You can use mosh if you're editing on a remote machine, or sshfs if your editor is on your workstation. I have heard that you can run the Language Server on the remote machine as well, for things like completion/indexing/etc. (I personally always just ssh to the remote machine and use Emacs though. Then I have the same environment at home and work and don't have to sync anything.)
Connection times out.
Congrats on saving two characters?
What does flying a plane have to do with editing and navigating code?
You could trade off some security for speed like that, but 100 rows wouldn’t cut it. Ask for the same information again and you’ll probably only have 1 intersection. Even if you read half of the rows unnecessarily, you could figure out the true row in between 2 and approximately log2(rows) reads. Just isn’t worth the side channel attack.
Total volume is trivial compared to all other human activity, but like I mentioned there is some concern about the effect of rocket emissions in the middle and upper atmosphere given that we're likely to see a substantial increase in launch rate. See https://eos.org/features/the-coming-surge-of-rocket-emission... for a recent overview.
I'm totally ignorant, but I thought helium atoms rose to the top of the atmosphere any flew away.
Nix for R and Devtools
There are a few things that need to come together for a complete diagram publishing system:

* Converting hand-drawn sketches to tidy diagrams [1]

* Converting tidy diagrams to look hand-drawn [2]

* A textual DSL for diagrams (e.g. Penrose)

* Support of declarative constraints for the diagram [3]

* Animation of the diagram [4][5]

[1] Paper https://www.fiftythree.com/think

[2] rough.js https://github.com/pshihn/rough

[3] Basalt https://www.anishathalye.com/2019/12/12/constraint-based-gra...

[4] Distill https://distill.pub/2017/momentum/ source https://github.com/distillpub/post--momentum

[65] g9.js https://omrelli.ug/g9/
Special fish died
I think WebRTC is still getting started also :) I love the space, here are some of my favorites.

* Open Source classic game streaming - https://github.com/giongto35/cloud-game

* Controlling industrial construction equipment - https://twitter.com/shirokunet/status/1268011883816054784

* Run a web browser remotely, great for low spec computers - https://github.com/nurdism/neko

* Use NAT Traversal to access hosts. No more bastion hosts/3rd party services - https://github.com/mxseba/rtc-ssh

* Use Tor via WebRTC DataChannels - https://snowflake.torproject.org/

* Fly a drone via WASD in the browser - https://github.com/oliverpool/tello-webrtc-fpv

* Share files P2P in a cross-platform way. I HATE paying to transfer files, seems so basic - https://github.com/saljam/webwormhole

* Access a friends terminal from your browser via P2P - https://github.com/maxmcd/webtty
Have been long saying that geoengineering is inevitable. Most of the world and especially the part that is emitting the most doesn't have the political will to change the status quo and anyone who tries will probably get booted from office anyway.

As an Australian who has personally seen the havoc caused by canetoads, I'm really hoping we put some thought into it before doing something drastic
Most of it, yes. A quite substantial fraction of rocket exhaust is not the stoichiometric products we learned in high school chemistry.
The speedup is invisible in the code, and so when it stops working you can't tell whether it was meant to be working. The cornerstone of pure functional programming is that you can refactor fearlessly because of referential transparency, but if your program has invisible magic performance boosts in it then you lose that ability, because you never know when one of your refactorings will eliminate one of those performance boosts that turned out to be load-bearing.

Imagine you've got a performance problem because f + g used to take x time but now takes 4x. You start trying to break down the problem, and you see that f takes 2x time and g takes 2x time. You check out the old tag where f + g takes x time and you discover that f takes 2x time and g takes 2x time. Where do you even go from there?
> I think we should offer our support not only to black engineers but to the black community as well. I think this is the least we can do for them.

This "black bar" act did not happen with innocents like Michael Brown, Eric Garner, David Dorn, Patrick Underwood, etc. From notable deaths, Koby Bryant tributes were censored heavily here, even when recent articles posted here broke HN guidelines multiple times.

Not even fellow video game cartridge inventor Gerald "Jerry" Lawson got any black bar recognition. Only 'rich' or 'famous' engineers did which HN is generally selective towards those people. This request is at least influenced by virtue signalling just because everyone else is doing it.

Just stick to being Hacker News. This is nothing more than a politicised and most possibly a hypocritical response to make.
Just like the truck driving and software engineer shortages we always hear about. There's a shortage of ones willing to work at abysmal wages.
I suspect it’ll take a long time for that feeling to go away, but what helped me for learning is just using Vim everywhere and sometimes when you run into a particular problem where you think there might be efficient ways to solve it, look it up. Give yourself some time to get used to the new commands and really add them to your repertoire before you look up something new.
>"this phone number is using signal" is still a pretty large metadata leak.

>Especially when state actors and probably a fair few non state actors can remotely compromise devices via the stuff in the baseband processor.

A more accurate phrasing would be "this phone number was used to activate signal". If you only care about messaging other Signal users, you only need to have a baseband connection exactly once, when you receive the text message to confirm the number. After that you can toss the sim card and put in a different number, or run without a sim card at all and just use WiFi.

You don't even need to have the sim card in the same phone you will use with Signal when you receive the confirmation text.
Seems like a descendant of PIC - "A Graphics Language for Typesetting"

http://doc.cat-v.org/unix/v10/10thEdMan/pic.pdf
I've done some things like this before, with lines, ellipses, etc., but the brush strokes are neat, and look much better. I wondered what fancy brush engine it was using, but it turns out just four images of brush strokes do quite a good job!

It would probably be possible to use a brushstroke engine like say Krita's to do better, but I don't know how accessible that is outside the GUI, and the CPU implications might end up challenging (often many strokes need to be randomly generated before you get one that's an improvement worth keeping).
A library should make the common things easy and complex things possible.

Matplotlib makes everything complex.
Early-stage VC-funded isn't the opposite of sustainable, but it's close.

The intent is (generally) to overshoot by mythical-man-month'ing for ~1yr, and on failure, firesale/acquihire to a likely inherently sociopathic bigco, vs keep going. Ex: When hiring folks, you're pitching a fat VC-dependent salary and promise of IPO-or-sale, and as that pressure increases & expectation solidifies, if revenue doesn't grow artificial growth levels (2-4X YoY for 3-5 years straight), you're now facing layoffs + non-giant compensation. Morale plummets, senior staff disappears, etc. Founders will feel the same. There are additional inherent reasons why this is the default, such as a now-broken cap table.

I'm for it and wish them luck, but it's asking for an internal + external disaster to delude yourself, team, and users relying on you about such a fundamental assumption.

(It's a very different story if there's already a popular federated OSS project not reliant on the founders+VCs lucking into reliable recurring revenue, and hey, the startup may be the lucky 1%.)
how not to solve the repeatability crisis in social sciences: conflate it with humanities and claim using data to prove things misses the points

how to solve the repeatability crisis in social sciences: throw out bogus research and get rid of quacks
"shortage" here is meant something like how you used it at https://news.ycombinator.com/item?id=15203174 with "you disincentive people with lots of bottled water who were about to drive it across the country to address your shortage."
Advice I was given years ago is 7 plus or minus 2. The average person is purportedly able to grok 7 things simultaneously. Some only 5, others 9 hence the plus or minus 2.

And so I build my deck with that rule in mind -
Never more than 7 slides.
Never more than 7 bullets per slide.
Never more than 7 words per bullet.

Also, if appropriate, I like putting only a single number onto a slide. No title, no explanatory text. An example might be an interest rate.

That allows the audience to listen to what I have to say about that data point. Because we either read a slide, or we listen to the presenter - we cannot do both simultaneously.
I built a small tool named jl to convert JSON to lines of text.

https://github.com/ajbruin/jl
Briar doesn't have an iOS version, making it useless if you want to communicate with more than 50% of the population in the US.
There May Not Be a Better Way to Effortlessly Improve Code Quality Than Using;
So reporting based on studies shouldn't be retracted based on faulty data as long as there's a brand new study which has not been vetted to the same standard as the first study which says "pretty much the same thing"?

That kind of viewpoint allows the media to peddle lies 24/7 and never be held accountable for them. Not that it'd stop them anyway, mainstream media is built upon lies (whether outright fabrications or lying by omission).

Studies are not facts. They are a mechanism by which decisions can be guided. That's why on all major issues there are hundreds of peer-reviewed studies on either side saying opposite things.
iCloud contacts is not e2e encrypted. Apple, as well as FBI/DHS and the US military intelligence apparatus can access your entire contacts list and infer your whole social graph.

This is why a messenger needs an e2e contacts sync, whether Moxie wants to be responsible for it or not.
"Recurrent helium shortages and high prices have led some academic researchers to install liquefiers to recycle helium that boils off from their instruments."

Yeah, it can't have been a real shortage if they were just letting it boil away.
> and I'm sure they've changed

How recent is your experience with MarkMonitor?
There is so much money washing around the US criminal justice system it is starting to show signs of corruption:

https://www.forbes.com/sites/walterpavlo/2011/08/12/pennsylv...
That's Google's problem, not the legislator's.
You could just use WebRTC with a selective forwarding unit.
no you're right, it's not economically feasible to "extract" helium from air and it does rise.
We've been watching Apple undermine WebRTC for years now. There's been nothing stopping them from taking the existing library and running with it; nothing stopped them for the years they had no support, and nothing is stopping them now that they have nominal support.

Manufacturer browsers used to be a big deal, but for the last couple years it's been mostly Chrome or something nearly identical on most devices. Not having that specific resolution available is one thing, but it's nothing like having no support, or inexplicably degrading audio quality.
Riot and almost all of the other clients I tried all phone home to some kind of metadata/identity or push server that is run by some private company I’ve never heard of (which isn’t part of Matrix/Riot).

Check out its network traffic sometime.
This shows the stance of the people in the different "editor groups" perfectly! I'll never understand why programmers get so attached to their tools that they start evangelizing it for everyone else. Just look at the other responses to this comment. People are either questioning each bit or are trying to defend them.

If it work for you good, if not, fine. Just don't get crazy about it. It's just an editor!!
Good idea, but you can’t throw out the quacks because their chairing the departments. You won’t make much progress until you start throwing out the schools.
There are a lot of different jobs. Some of them are easier to get when you are starting. Some jobs take some background to get you in the door. But there are a vast number of companies and different jobs. Figure out what you are interested in, look at job boards and apply. The monthly hacker news job thread lets you look for jobs in certain locations, easily in the browser.
She did not confuse humanities and social sciences. She started off focusing on humanities then segued into a bigger complaint about humanities and social sciences together sharing the same problem. The author has a doctorate from Columbia in psychology. So there's probably a lot more thought behind her frustrations.

As for the home departments of the authors, that doesn't change the fact that their work was humanities research. Unless you're saying humanities departments shouldn't be blamed for arguably bad humanities research produced by "outsiders" and published in physics journals. It doesn't appear to me that the publication contained any new applied math or physics.

Correlations are not science by the way, no matter how repeatable they are, they're just statistics. You need to prove causation to be scientific. Big analyses of countries generally can't do controlled experiments so their findings are always dependent on what they chose to include (and not include) in their models as the supposed causal mechanism.
Well math is not a science either. I acknowledge that there is debate about if formal sciences (logic, math, theoretical CS) are a science, but I'm with Popper in saying that the core of a science is falsifiability which does not apply to math.
Why only for Apple products?
Live support for what though, your YouTube account?
> than for real business reasons

Any explanations for that?

Large airliners was a monopoly by Boeing, Airbus obviously wanted to cut a part of that market.
Favoring mustaches over security is always the choice you can make. I don't care about adoption unless it falls below levels to make signal worth developing.
Basically both articles said that VCs generate more returns than the S&P.
I think there’s more to it than this but let’s pursue your point for a moment. What you’re not taking into consideration is that de facto standards matter.

What if you invented a language tomorrow called XYZ and it was 20% better than a popular language today?

Would you language eventually take over and become popular? Maybe. After how many years? Who knows. But until that happens far more JS developers are de facto making an investment in learning at least the basics of typescript vs your mechanism.

The practical reality of that is if I start putting together a team to build something it’s much less likely that people will have to take time to learn typescript basics then they will to learn your tool.

Are there times to throw out the old and go with what’s better or simpler? Sure. But that equation is not as simple as X > Y even if that were the case which I’m not convinced it is.
You should try Facebook ads
> The last forty years has been shaped by neoliberalism, which is exactly based on the idea of free markets as self-correcting.

This is not only wrong, it's laughable. Governmental interference in the economy has grown over the last forty years, not shrunk. And not with good outcomes, either: the crash of 2008-2009 was due to too much government meddling over a period of decades finally catching up with everyone.
https://en.wikipedia.org/wiki/They're_Made_Out_of_Meat#They'...

Cash Cab guy (Ben Bailey) and the reverend from Hell on Wheels (Tom Noonan).
The Underground Shadow Economy of Airbnb and the Internet Revolution
I like https://github.com/akavel/up as this works on the command line and helps building fast pipes not only with jq, but also with every other text wrangling tool. But I wish it would be a little bit more polished.
It’s weird to describe it as cooking the books when they are being completely transparent about the issue that is occurring. If they wanted to cook the books all they had to do was leave out the disclaimer.
Right now I'm at the very same situation. Yes, it is frustrating. This is why things close to the top of the dependency graph should be small, well-tested, and rarely need changes. But when you still need to troubleshoot them, there's no way around recompiling a lot of stuff if you want these static guarantees :(
We’ve got 2 centuries of inertia underneath us on this train. There’s no stopping us now.
It's odd to me that the proposed Minimal Skeleton for tracking a bug doesn't include:

* who reported the issue
* what they reported happening
* what they expected to happen instead

For many reported bugs, it is clear what the actual problem is and what needs to be done to resolve it. In this case, it can feel like unnecessary overhead to track the bug in a separate system from the rest of the development work queue.

But it's worthwhile to have a place to track bug reports that can't yet be acted on by writing code. Sometimes it's not immediately clear what is happening or what should be done about it. Sometimes you need to reach out to the reporter(s) for more information or to let them know progress has been made.

Even with well-understood bugs, there can be a many-to-many relationship between the bug and the development work to be done. Sometimes you have many people reporting the same issue in different ways, and it's not initially clear that there's a shared root cause. Sometimes one bug report is best addressed in multiple phases of development work.

I'd argue that there's always someone who's managing all of the above, even if they're not using separate bug tracking software to formally do so. But as a team grows, making the investment to "show your work" a little more can make it a lot easier to collaborate and delegate.