skysight-inc/HackerNews huggingface dataset:
Do you know if you can insert the current line number with yasnippet? I have two snippets that look almost identical to yours, although my non-pipe version leaves the cursor at the beginning of the label since I've found that I often want to customize the label because I may be inspecting similar variables at different points in the code.

Ah, figured it out. It's very powerful to be able to call elisp inside snippets. Here's my new Labeled Inspect snippet:

# -*- mode: snippet -*-
# name: Labeled Inspect
# key: lin
# --
IO.inspect($1, label: "$2$1 (`(buffer-name)`:`(line-number-at-pos))`")

and a piped version:

# -*- mode: snippet -*-
# name: Piped Inspect
# key: pin
# --
|> IO.inspect(label: "$2$1 (`(buffer-name)`:`(line-number-at-pos))`")
If they are only moving blocks of concrete, loading/unloading is optional.
Because you have minimal chance it will happen again at an opportune moment for you. I'm still waiting for Cash-for-Clunkers 2.0 so I can offload my rust bucket. Unless that happens in the next couple of years, I will have no use for the program (again, dammit!).
I don't know where to begin....

Physics simple?

Physical intuition?

The single most successful program of physics is quantum mechanics, and it is neither intuitive nor simple. Relativity, while conceptually simple, isn't so simple either and is far from intuitive (consider that momentum is conserved during a relativistic near-miss collision only if one considers the entire collision over a sufficiently length period, since at any moment the force vector between the bodies does NOT align with separation vector, since the force acting at one moment was exchanged, at c, when the bodies were in different positions).

There are a lot of simple concepts in physics, many of them basically teaching aids to get people started. When one gets deep into the field, simple and intuitive go by the wayside.
Two simple criticisms or potential misunderstandings:

The three nulls in the load segment (between the code and data) are included in both the code and the data highlights as well as its own highlight, which is a bit unintuitive, as the start of the string looks to be /0/0/0Hello. It looks like these are supposed to be between spans like the other non-highlighted nulls, but they are included in a parent span, bin_segment0. (Issue submitted.)

Also, I wish the arrow heads did not opaquely overlap the numbers. Adding opacity="0.3" to the svg tag fixes this for me.

This is cool for a variety of reasons: It makes parsing a readelf output a bit easier, it's a nice/small/functional Rust demo (for Rust idiots like me), and the output can be redirected into html-based documentation easier than a command line tool's output.
I hear that and I do think that raises the ceiling for pay, since you can pay engineers a ridiculous amount of money and they’re still a net positive.

If there was a surplus of engineering talent I guarantee you our salaries would drop significantly, no matter how much profit we generate. Under capitalism, there’s no incentive to scale workers’ pay based on how much value they bring. Even in your examples, the engineers that pull in 200k/month for the company are making a tiny fraction of that, and if they start making 400k/month on average it’s unlikely salaries would increase if pressures in the labor market are unchanged.

Edited for clarity
PocketLang – a small, fast and friendly language for scripting and embedding
I know right? I had to do a double take when I saw the link, and then had to click it to confirm it was that Karpathy
Seven 9s for system failure would be horrific. There are ~30-40 million flights worldwide yearly [1], so that would result in 3-4 system failures of life-critical avionics yearly. As far as I am aware, malfunctioning software has not been implicated in any commercial airline fatality in nearly 30 years since the modern standards were adopted, and correctly functioning, though unsafe, software has only been implicated in the 737-MAX crashes. By that standard we have reasonable empirical evidence to conclude that the prevailing rate of system failure is at least 100x better at nine 9s.

[1] https://www.statista.com/statistics/564769/airline-industry-...
That's an odd reading of what they described. It sounds more like there friends did something good in the world but were told to sit-down and shut-up because they were the wrong race/gender/x.
That is such a desperate attempt to call an entire nation Nazis that it's actually quite sad.
Physics is simple, is that so... Combine quantum mechanics with general relativity then. Einstein couldn't.
Having a stdlib is fine, but it’s incompatible with an embedded scripting language where we want to provide and control the APIs that are available to the user. It sounds like you’re building a general purpose application programming language which is fine, but the tradeoffs differ.
There is still plenty of affordable housing. You won't find it near SF, but move out to middle of nowhere and you will discover cheap houses and jobs. They won't pay as much, but when you can get a house for less than $100k how much do you need?
Cambodian Genocide Denial
> False. The reason for leaving Mozilla was never published.

Well, then the timing is so aligned then at this point it's just occam's razor unless there's another explanation.

> So your disappointed Hacker News isn't more engaged with identity politics and cancel culture?

There's plenty of that. It's nearly daily now on HN. That wasn't my point at all. Just the inconsistency has always been apparent for years now so I finally asked the hive mind.

> And by the way you are wrong. It has come up in several threads in the past.

I stand corrected. I had never noticed those comments. That said, it was easy to not notice them as they're a tiny fraction of everything around Brave and have almost no discussion around them compared to his original ousting.
Three Types of “Returning to the Office”
Why would you even bother responding based on just the headline of the article? The author is not using 'simple' as a synonym for 'easy to learn'.
I very often type out comments on HN and then delete them. As Snowden alludes to, everything we submit to public forums is logged and stored. There is no doubt in my mind these comments are easily associated to my real identity with very little effort.

Another side of censorship I consider often is signal to noise. There is no reason to prevent people from saying whatever they want if no one will ever see it. I recall a stat I heard that YouTube receives ~400 hours of content uploaded every minute to their site. Or the long-tail of Twitch streamers with 0 viewers.

Finally, there is a threat of violence. We all know what happens to high-profile journalists because of their high profile. I often wonder how many nobodies disappear for some string of comments on some no-traffic forums/blogs.
If you have left dishes in the machine for a day, what you do is run the machine without detergent first. Some may have a dedicated rinse cycle for that. This should be covered in the instruction manual.
It’s an ongoing problem for sure, but the simple answer is users maintaining multiple well connected channels.

It’s very common on lightning to pay liquidity providers to balance your channels to you. Lightning Labs has a service called loop where you can pay them an onchain transaction and it will make a lightning network payment to your channel for that amount, thus giving you more spend liquidity. Loop is sweet cause it does this in a non custodial way, look into it.
They probably do, but you either aren't willing to look or are waiting on mainstream media to report it. Muslims have had to deal with that kind of rhetoric for years (probably decades), but if you watch Arabic mainstream news, they clearly and openly denounce violence.

And as I said to another user, people are more crass online. If all you experienced online was for example 4chan, you'd think the world is beyond fucked up... which is probably true, but not everybody's like on 4chan or (even worse) twitter.

You have to learn to contrast between real-world experiences, the online world, what other people tell you about stuff (friends, the media, acquaintances, preachers, etc.).
its maturing, works pretty well already, but surely patience helps with emergent tech
I'd like to give my congrats as well, writing a book is no easy feat. That's awesome and congratulations!
!g is called a bang.

A shebang is something else ('#!').
I am sorry but I have no idea how one would come to the conclusion that 90% of journalists are engaging in intentional propaganda. I can understand if you think they have unconscious biases that influence their work, but believing 90% of the profession ix trying to actively manipulate you is just disconnected from reality.
Physics is simple? Can you describe to me what gravity is? Have you published your unified theory yet?
Ad hominem is never useful.

It doesn't tell me anything about the other side and tells me more about you. You don't like the other side. That's what I now know.

And misinformation usually has one of the problems that would put it further down the pyramid than actual arguments. It's usually ad hominem or tone policing itself. Or sometimes just a straight up lie.

And pointing out those elements would fall under Counter Argument.

Not everything negative is ad hominem.
Are you seriously asking why we care about 7.5 million people more than we care about one person?
I think he’s referring to the 80/20 law, or Pareto distribution.

Essentially 80% of all corporate output is performed by 20% of the workforce, and continues down each chain (of the 20% doing 80% of the work, 20% of them are doing 80% and etc…)

https://en.m.wikipedia.org/wiki/Pareto_distribution

https://www.americanexpress.com/en-us/business/trends-and-in...
A new material which converts UV light into renewable energy
AskHistorians seems to believe pretty strongly that this letter never happened, which may be obvious to people familiar with the story, but I'm hearing it for the first time in the context of this HN post. :)

A good thread on the history of, uh, stern Russian responses to threats:

https://www.reddit.com/r/AskHistorians/comments/e1qciu/in_re...
Models for Work

1. Full snap back to pre-COVID in-office work

2A. Hybrid: 3 days in office for everyone, 2 flex days.

2B. Hybrid: Mainly back in office, but “remote” is considered its own office.

3. Remote only
Right, so effectively you are getting more propaganda from one point of view. At least when there is conflicting propaganda, there's some hope.
Because it is awful.
Script is restricted, but it permits everything outlined by Nick Szabo's definition. As Wikipedia notes:

> Smart contracts were first proposed in the early 1990s by Nick Szabo, who coined the term, using it to refer to "a set of promises, specified in digital form, including protocols within which the parties perform on these promises".

https://en.wikipedia.org/wiki/Smart_contract

We don't get to decide what smart contracts are. Nick Szabo decided long ago.

Marketing vs reality has been a big problem in this space.
Hey, I did try it - it was how I got it to work at all. Relatively simpler than the alternatives, IMHO, but still suffering from the large executable size due to dependency cascades

I'm at peace, now, with having to prune and bound my imports to account for that. But it is a negative thing that I have to change my code from what it'd normally be to make it remotely passable...

This is definitely a relatively smalln and maybe rare, but still a disadvantage of Python (that, in retrospect, I should've obviously have anticipated, so that's on me)
Yeah, it's not impossible to get good speed on dark mode; my parent suggested that reader doesn't work well if you have a ton of JS/CSS and I replied that I do not have JS and not-quite-a-lot of CSS for reasons, so reader works fine for people who want to read my site.

Your site is very minimalistic, and that is fine, because it's your site and it's what you like and it's your hobby. I'm less of a minimalistic person, so dark mode would require thought on how I would present a dark theme to users other than just coloring black and grey or white. That's too much work for me and it's personally not interesting (mostly because I do not like dark themes).
I think the core discrepancy between people's experiences and beliefs on this subject is the meaning of 'hard' in 'work hard'.

If you take that to mean 'applying effort' then even in the most ideal meritocracy that would decouple from success, because where the effort goes matters.

I think the big difference in perspective between the kids who popped out of school at 6 figures and the people who spent a few years slaving away at 30k a year, is the assumption of maximally directing one's effort.

People who make 30k a year have likely made many attempts to direct their effort productively, and gotten little return. Kids who pop out of college making plenty of money, have likely made very few attempts to productively direct their effort, but have had enormous return.

I think this causes a difference in the perceived difficulty of accessing a productive outlet for effort. The prior assumes access is hard, meaning most effort is likely to be wasted, while the latter assumes access is easy, meany most effort ends up being productive to one's own success.
Yes, it is bad. Cultures that discourage “rude” comments invariably have more corruption than cultures that encourage frankness. Take the Netherlands for example. People say they are rude. But really, it’s just that Americans can’t tell the difference between objective honesty and malicious insults.

People who say what they mean and call it like they see it are brave. They don’t cash in tomorrow for a little convenience today.
PR is a PR term for propaganda. I think it was coined by Bernays.
Dude it's not like Snowden is stoked to be living the dream in Russia. He's an exile.
Recently I finished a PhD about causal inference. How can that help my life or career?
Do you ever go to technical meetups? Conferences? Get together with anyone to discuss what you've learned?
For that matter, Isaac Asimov's Foundation Series mentions "microfood" as a staple dish eaten by both the desperately poor and ludicrously wealthy.
The new government was vehemently anti-Russian and pro-American and pro-NATO.

Russia did not commit a full blown invasion, it annexed a part of the country that had a crucial naval port to use which they had an agreement with the previous government and where the population of that area of the country is predominantly ethnic Russians who self-identify as Russian and didn't support the new anti-Russian government. The only reason that historically Russian land was given to Ukraine in the 1954 transfer of Crimea was due to Khrushev's blunder.

Don't try to pull wool over anyone's eyes here with claims that it was just an innocent change of power. In world politics you can't do things willy-nilly. Ukraine has threatened Russia by going against it, cutting off previous agreements and trying to ally itself with Russia's enemies and Russia did what it had to do stop it in its tracks.

And for your information, Ukrainian citizens are worse off than they were before, whilst the new anti-Russian elite of Ukraine is busy getting rich and robbing the country. But hey, at least they're no longer associated with Russia, right? Because EU and the US cared so much about them in the first place and totally not trying to destabilise Russia's southern border.
You see it even more on social media.
It's missing a guard that prevents the tread from pulling things under the whole device. There was an incident of a kid getting pulled under one of these treadmills unable to get out, which is why the company is doing this and the recall.
!g is called a bang. A shebang is '#!'.
They're cutting up the original 3 hour long Livestream into separate videos for each presentation.
Indeed I’ve given up on this idea for my own life - my own hard work has yielded basically nothing.
Status Dumps to be more productive, happier, and avoid burnout as an engineer
I thought they already had a (non-spin) wash machine, using a tough bag that inflates /deflates rapidly for wash/rinse 'cylces' and completes with hard-inflate to expel wash fluid. Read of it ?10yrs ago in popsci.
A Google News RSS Reader for Mac OS 9
Yes, it sounds that way, but the event you (and they) describe has never happened.
> My scrollback buffers are limited to 4096 lines and I have 7 tabs open, four of which are sitting on a bash prompt doing nothing. By ANY measure, this is absolutely insane.

Why? Is it using CPU while doing nothing? Scrollback might need at least 4096 lines * 7 tabs * 80 unicode chars =~ 5MB, conservatively. You have 7 child shell environments, and perhaps 7 large bitmaps cached for fast scrolling (I don't know what gnome-terminal caches for rendering, just guessing about what's possible). Plus the program code, the UI code, the terminal fonts. You haven't really explained why 60MB seems like too much to you, let alone "insane". It seems like you're just not accounting for all the features.

> Rendering TEXT with a library intended to render gmail.com and facebook.com is a ludicrous extravagance.

Why? Isn't it possible if the text rendering library were customized and smaller, that it would then consume more memory because it would be a 2nd library can't be shared with your HTML+CSS renderer, and you need those loaded too anyway?

The whole reason the library is big is because it does a lot of things. What reason is there for small/simple uses to not use a library that's already there?

> Yes, waiting 20 billion cycles on an amdahl-adjusted basis to move a scrollbar is definitely the future.

Your scrollbar takes multiple seconds to respond? Mine doesn't.

Your hyperbole notwithstanding, the reasons that browsers speculatively over-allocate is for caching - it is precisely because it's more efficient and performant that way. I didn't write Chrome, but I don't think what they've done is insane.
I'm under 35 and own a home. 42 percent of millennials own homes.
It requires someone's intent. People happily regurgitate the propaganda they've been indoctrinated with, without recognizing it as such.
This, Radon tests are cheap. Get one if you have a basement or exposed dirt crawl space under your main living/sleep spaces.
They build all the modern houses with a smaller count of giant damn rooms than they built the older ones. And they don't think them through very well, so they're really inefficient with space. More hallways and fewer walk-through rooms, too, on top of lots of the rooms just having shitty, nonsense layouts. A 2,500 sqft typical suburban US house built after, IDK, 2005, may well not feel bigger than a 1,700 sqft house built with more rooms and more thought to how to best use the space. It'll look a lot better in real-estate photos, though! More wow-factor! Ugh.
He just said he felt guilty about extracting maximal value for minimum return. That's the opposite of management.
Designation Systems
This is a bit dumb and I feel like if as much effort had been made doing it as writing the blog post, a more positive outcome would have resulted.
Introduction to Machine Learning Interviews Book
No, it doesn't? Colon is a special character only in the hostname part of a URI to signify the port number. It's free to use anywhere else without escaping.
why is this on hackernews? its just a popular author complaining about a book he didn't like, co-written by a sports person he did like. Who cares? Certainly it's not tech related news.
EU puts out final guidance on data transfers to third countries
Can we get Dan Carlin to narrate this one?
(Tangential) I'm in Brazil [1] for the first time and was intrigued to learn that the word for "advertising" is "propaganda". Of course anyone who has read Edward Bernays or seen Century of the Self will know the connection, but interesting nonetheless!

[1] I also learned that they spell it "Brasil" here.
Also, the article states:

> Python is slow. Like, really slow. On average, you’ll need about 2–10 times longer to complete a task with Python than with any other language.

But that is real nonsense. It is comparable with Ruby or Perl or other dynamic languages.
What articles were those? Was on my phone for most of the day (i.e. not in front of my work desktop) and I couldn’t catch them as easily.
any better alternative?
To be fair, if you go back to the early releases of Windows and the Mac it wasn't clear that they would succeed. Both struggled to penetrate the market early on. People were happy with Word Perfect, Lotus 123 and dBase running os DOS. Even the developers of those applications were caught with their pants down when Windows did take off.
> No, any content that relays information is NOT a form of propaganda.

Except... that's the literal meaning of propaganda (it's literally Italian for "propagation"). It's only in the Cold War era (only relatively recently in the time-span of history) that "propaganda" have added that negative connotation.
Thank you for the info, I will download your app at some point.
https://housing.ca.gov/covid_rr/program_overview.html#renter

The landlord also has to agree to waive 20%.
Hey - thanks I appreciate it.

I'd take a look at the table of contents and see if any of the topics look familiar/unfamiliar to you. The preface excerpt (http://media.pragprog.com/titles/dmpython/preface.pdf) also has a bit more detail about what's in each of the chapters. The book's content is probably most useful for someone newer to Python, but I still think there might be value in it depending your background
The most annoying common form of propaganda is the association fallacy, which is a more subtle form of the ad hominem fallacy [1].

It works like this:

A. You believe X.

B. A crazy person also believes/believed X.

C. You are a crazy person.

D. Optionally: I won't consider your argument unless you tell me why being a crazy person is ok. Why do you support doing crazy people things like being a serial killer?

Example:

A. You are against cigarette smoking.

B. The Nazis were also against cigarette smoking[2].

C. Therefore you are a Nazi.

D. Optionally: I won't consider your argument unless you tell me why being a Nazi is ok. Why do you support anti-semitism?

This is by far the most common bullshit argument I get when talking with people about controversial topics.

[1]https://en.wikipedia.org/wiki/Association_fallacy#Guilt_by_a...

[2]https://www.goodreads.com/book/show/251213.The_Nazi_War_on_C...
So, your plan in this case is to go buy a competitor's washing machine with the exact same flaw, which will perform approximately the same as the thing you're returning? Or to demand a full refund on something you've been using for five years, so that you can buy a newer product that's been released since? These don't seem like great solutions (the latter would be fine if you could pull it off, but good luck with that).

The other options here are "Well, I'll just not have a washing machine". Which you can do, but it will take more time to clean your clothes and cost more money after not very many washes at all (or you hand-wash, but then you're looking at 10x as long). Same for computers -- if simply not having one is an option for you, you probably haven't noticed the degradation.