skysight-inc/HackerNews huggingface dataset:
I used to use Borland's Brief to edit large files. But it is commercial. There is a free version in beta here https://sourceforge.net/projects/grief/ Grief. It pages the file in and out of memory to save space.
But that's not cut and paste. That's copy and special paste. And I don't want to start training my brain to use a different set of keys to do the exact same thing that I can do elsewhere just because Apple thinks I should.
Law enforcement reserves the right to commit murder with impunity, why would theft keep them up at night?
tax exchanges both ways, with a bit more than normal capital gains. Want to buy bitcoin, tax is like an IRA. Want to sell bitcoin for fiat, tax it like cap gains. Use some of this tax as an 'externality tax' like carbon tax should be anyways.
There are tons of examples on how to do this in the shell. Here is some inspiration:
https://stackoverflow.com/questions/54954177/how-to-write-a-...
You and GP are arguing two different things and are both right.

GP's claim is that Tesla would not be profitable without regulatory credit sales: this is true. Tesla's profit for 2020 is $721M and its credit sales for 2020 are $1.58B, just over double. It's fair to say that, were those credit sales to fall to zero, Tesla risks losing its profitable status. Here we're effectively discussing net profit margin for the company as a whole.

Your claim is that Tesla's automotive gross margin on car sales is 20%. This is also true, but only includes COGS (Cost of Goods Sold), so car parts and assembly costs. It does not include other expenditures such as CapEx or R&D. 20% sounds great (and it is), but when we look at the net profit margin, $721M of profit on $31.54B of revenue gives only a 2.2% net profit margin which is not as impressive.

It's therefore rather unfair to say that GP's claim is a misconception, it's actually perfectly true.
I think a lot of us are going forward with the hope that technology will improve and we will find solutions.

You can take individual action. I did for a couple decades. It was, more or less, a waste of time and energy, but I felt smug for a while. The world needs more Elon Musks, not more smug Westerners. There are billions of people in the developing world who want their world to continue to develop, and right now that takes energy.
Surround yourself with winners if you want to succeed, not the opposite
"I'm just not going to eat" is usually where that ends up for me. Simple solutions for complex problems.
There should be no upper level you start caring about child protection - every level counts, whether it is a hosting company or others high up
Millionshort.com allows you to leave out the top x sites (100/1000/100000/1000000) from a search engine. Often it will give me some personal blogs in the results. Also nice for finding random information about some topics
Betting on whether someone is still alive by a certain date is probably against the rules of this prediction market, but this is a classic way (read: academic) to implement a hitman service with some level of safety between the participants (victim excluded).

All you need to do is bet a large amount of money that the target will still be alive by a certain date. Then someone takes you up on it, makes them have an accident and you just lose a bet – nothing more. You didn't discuss hiring a hitman, you've never even met a hitman: you're just placing bets online.
Everything about this article oozzes mal intent. From the UK, claiming 'us in the US'. he's also CTO of Adjoint Treasury, which does real-time payments and settlement platform for corporate treasury's.
"Choosing a base image can be quite daunting. I’m always a fan of Alpine Linux for my application containers, so that’s what I chose."

Just be aware that means the musl libc, which is often fine, but not always. Software that expects glibc can crash or have unpredictable behavior. The JVM is a good example, unless you get a JVM that was originally built against musl.

And sometimes also issues with busybox, where it differs from other implementations of the same tools.
A study with newer data discussed here: https://news.ycombinator.com/item?id=26686969
For a 50% chance you need odds of over 2.0 (regardless of bet size) to have positive EV.

This is a bet of 0.4.

With 2.0 odds the payout would be 0.8, and here it is 0.9? That looks like odds over 2.0 for 50/50 chance.

So the individual bet is positive EV but the EV of an infinite sequence of such bets is still zero and that’s without the zero limit? There is just nothing in the article that begins to explain how that works. Maybe the video is better
It'd also be a good way to double your travel expenses for the year! (Well, it certainly would for me, at least.)
Yes, one of the great paradoxes of society's class structure is that most of the dirty work of enforcing it is done by people who are not in the club themselves.
https://github.com/limetext/lime

It looks like the source code isn't available to the public yet? Is it still in beta test?
> Google has a huge number of activist (and surely some corruptible) employees, and yet the incidents of users data getting out are very close to zero

Am I reading this wrong, or are you saying that activists would be more likely to leak data? Then I would wonder what kind of activists you have in mind.

Agreed that yes indeed it seems possible to build a security serious company, and that Google is (seems to be) a good example. (Now, there are other things I don't like about Google but I guess that's of topic.)
I think this is cool.

We can model, infer and see what is predictive without necessarily having direct knowledge of the system we seek to understand better.

Similar ideas can be used to gain advantage, though of an unknown quality, until validated over time and through increasingly robust scenarios predicted and confirmed against the unknown authority.

That S shape seems like it can communicate a lot, and do so in vectors, not just discrete impressions. A parallel type of thing would be the shape of our ear and how it acts as a passive filter, giving us better spatial awareness of sound.

These kind of systems are a very interesting combination of simple, mechanical exploitation of nature, physics coupled with awareness, neurons able to take experience and render perception far beyond what one might expect at first glance.

Rando thought:

Say someone had an implant of sorts. People put magnets in their bodies, for example.

So, say one managed to implant a whisker type thing. Perhaps our minds would consider that part of us, and over time and experience develop a sense very similar to what the animals have. Maybe people with a lot of facial hair have this to some degree and it is latent, lightly used in daily life.
Honest question, how do you play Civ 5 on an Athlon64? I played a couple of games on my Ryzen 2700X and the end game was unbearably slow, each turn took several minutes.
Dad was a radiologist, and I found it strange how he believed in the Catholic god. Irish dad I suppose. Strange how intelligent people can be so doggedly unintelligent when it comes to youth brainwashing.
A dynamic system is a system whose evolution doesn’t simply depend on its input at time t, but also to its internal state. In this case the wealth at time t does not simply depend on the outcome of the coin toss, you also need to know the value of the wealth before the coin toss.
If curious, past threads:

Space Jam's 1996 website is still alive - https://news.ycombinator.com/item?id=23709016 - July 2020 (266 comments)

Space Jam (1996) - https://news.ycombinator.com/item?id=22216203 - Feb 2020 (1 comment)

Someone is still maintaining the Space Jam website - https://news.ycombinator.com/item?id=20473522 - July 2019 (21 comments)

Space Jam 2014 - https://news.ycombinator.com/item?id=6923533 - Dec 2013 (1 comment)

"Space Jam" Website Still Online - https://news.ycombinator.com/item?id=5317068 - March 2013 (15 comments)

"Space Jam" movie website, untouched since 1996 - https://news.ycombinator.com/item?id=2050807 - Dec 2010 (30 comments)
No in the Us you can easily open one online just by answering a few questions and giving your SSN. Sometimes they will ask you to upload an ID. But that could also have been leaked.
Trump Steered Supporters into Unwitting Donations
If you have the time then go for MLKit or any other OCR API, tesseract is pathetic for non-scanned/in the wild images, then put your parsers atop of the OCR output.

If time is of the essence simply use AWS Textract & be done with its free tier.
> Finding a mail client I don't hate on linux is tricky

Have you tried Mailspring?

> My chosen password manager (1password) still has a fairly awful linux experience

Maybe a good time to try something open-source such as Bitwarden? The fact that 1password is closed-source is a major disadvantage.
It can be fun to try and spot the rhetorical sleight-of-hand trick that articles like this use to come to their eye-catching conclusions:

> The art project Magnasanti revealed the contours of the black box when it attempted to “beat” the game that famously doesn’t have a win state [...] Artist Vincent Ocasla accomplished this feat through rigorous trial and error, eventually creating a crime-free city that maintained a stable population of 6 million sims, but only by creating a dystopian nightmare. [...]

> Magnasanti reveals the contours of the black box, showing how citizen health and happiness were ultimately unimportant. What the game considers a successful city doesn’t look at all like one we would actually want to live in.

SimCity presents an open-ended simulation with a wide range of things players can decide to optimize for. An artist once built a city optimizing for population density and low crime to the exclusion of all other factors, and this resulted in a dystopian nightmare where all the simulated citizens were unhealthy and miserable.

But by describing what the artist did as "trying to 'beat' the game", the article pins the blame for the artist's choices on the game itself. Even though SimCity clearly does not think Magnasanti is a good city -- it's constantly flashing up warning messages and graphs showing that all the citizens are miserable and unhealthy! One could just as easily have argued that SimCity's black box is hiding a progressive ideology, one that warns us of the dangers of industrialization and over-policing! (Much like how the board game Monopoly is about the dangers of capitalism.)

In essence, an artist set out to 'beat' SimCity, the artist decided what 'beating' SimCity meant, and the article tricked us into thinking that said something about SimCity.
You're not avoiding having a shadow account created about you though, once I've upload my contact list and you're right there, Jim Wyclif, with your real phone number, and I've also tagged you in a photo we took together last year. And then there are all the other people who have your real phone number and who have been on Facebook, Messgenger, Instagram, or WhatsApp since they saved the number. And then there's even relatives and former classmates and co-workers who've looked up your name and typed in your town, school, and/or former company to find you. When I use Facebook, it still recommends former classmates and acquaintances who I literally looked up once ever. (As a side-note, Snapchat does the same type of things; people I've worked for in the past, as a tutor, are recommended to me on the "Add Friends" page.)
Can you run ansible or terraform inside a docker container?

There are two parts of the dev environment - the programmer preferences and the project libraries and other infrastructure. What I would like is to have a way to compose those two and ideally something that would work the same way inside a docker container as in a full VM.
Some USB drives with a Pi is a decent solution, given that the most cost effective option for HDDs is usually shucking WD easystores anyway. USB HDDs usually have decent vibration damping and cooling also. USB might be less ideal than SATA, same with ECC, but you’re also saving a major amount of money, % wise.
blogsurf.io ?
Well, that's a rather depressing view on life. I'm on the opposite side of this spectrum. This makes me a rather flegmatic person and perhaps the only thing that makes me at least somewhat worried is not doing enough during my lifetime. If you want to join the ranks of flegmatic people, I'd suggest to diversify your bookshelf with Plato, Hermes and Hesiod.
OP’s post resonates with me because I know I would feel the exact same way without my faith. I know it’s unfashionable these days to believe that faith and reason can coexist, but I’ve fought that battle for years and can only say my faith grows deeper and my love of reason grows stronger every year. I completely believe that we are the only species that feels existential dread, and it’s because we are designed in a special way for purpose and relationship. I’m not religious because it makes me happy, but nothing else has given me the tools to survive all the horrors life throws at you, and I hope other people can find that solid foundation too.
The "great" is after maybe a half hour of grogginess. Then I feel like I have peak motivation and am ready to take on the world, for the rest of the morning. I sure would love to have that perspective for the rest of the day. Caffeine kind of enhances it.

Possibly relevant, I regularly get about 9 hours of sleep each night.
Appealing to nothing but the zen of python is not an acceptable argument.

Pattern matching is not (necessarily) extremely complex as it exists in a multitude of languages these days. Powerful does not automatically imply complex.
but

1) it's "opt in" (you need to explicit implement the dunder method) and

2) it's only for specific classes, you cannot change the behavior of 1 == "one"
It's been a long time since I played sim City, but I recall one could build cities with only trains. It was weird because the citizens would complain they want more roads, but at the same time would be perfectly happy. IIRC they would be happier than if you build roads, I always thought it was an odd parallel to the real world.
Python doesn't have block-scoped variables?
The book “Addiction by Design: Machine Gambling in Las Vegas” is a scholarly work covering related topics.

https://press.princeton.edu/books/paperback/9780691160887/ad...
Both Windows XP and 2000 normally showed a graphical loading screen.

The text mode loader would only ever appear when resuming from hibernate.
The post shared by the above poster shows the upvoted crazy optimists,

https://news.ycombinator.com/item?id=12957537
Forgotten Copy of Mario Bros. Sets Auction Record
I used Terminator for a while and loved it, but eventually succumbed(*) to tmux. With tmux I get consistency across both local and remote connections. My remote connections have tiled shells and save state when my VPN goes down.

(*) - I still use Terminator, but only to provide tabs(tabless tabs in a fullscreen window with no borders) that I can easily switch between(Alt-#). I guess now that I'm comfortable with tmux I can probably drop Terminator entirely.
This is already present in Pokémon Go with egg incubators, shiny Pokémon, and raids. You’re not directly buying rare Pokémon, but the tools to increase your chances of getting them.
they were web designers, after all.
Python makes a conscious decision to embrace statement-oriented code, for better or worse. There's a case to be made that it makes things more readable in an intuitive sense, while of course it also opens you up to more statefulness/side-effects. If nothing else, I respect the dedication to consistency.

To give a concrete reason: Python's significant whitespace makes nested expressions much trickier to write/parse
It turns out that signing up for a new bank account is something that people commonly do at the same time as they're moving to a new place and change their address and phone number.
Gold is hard to store and hide. I can't hide a billion dollars worth of gold. But i can hide a billion dollars of crypto on a single piece of paper. The government will never be able to take that from me.
This youtube series telling the Battle of Midway from Japanese perspective (ie. only using the information available to them)is interesting
https://www.youtube.com/watch?v=Bd8_vO5zrjo&t=1s
https://www.youtube.com/watch?v=BXjydKPcX60
https://www.youtube.com/watch?v=WHO6xrSF7Sw
https://hn.algolia.com/?dateRange=all&page=0&prefix=false&so...

There have been plenty of good submissions from there. Of course, like all major media sites, most articles are bad and/or uninteresting for HN. That's fine; just don't post those ones.

The current submission was a little offbeat but that's a good thing.
Hey kmwr, I'm the maintainer of Appsmith. The install script downloads and configures the docker-compose.yml file underneath the hood. It also allows users to configure SSL, setup encryption keys etc which would otherwise need to be done manually.

I understand that in order to have a repeatable installation process (as per Devops best practices), you'd like to have a single configuration file instead. We are working on some Helm charts for this very purpose.

For now, you can go through the process of installing Appsmith via the script and then use the generated files as a template in your Terraform/Ansible scripts.
the "problem" with scala and case classes is that it's very cumbersone when you have case classes with 30+ fields (and you'll have it, expecially if they came from some SQL table) and you want to match only a sigle field.

as they are positional-only - and you also need to specify all the other placeholders, makes reading the match very difficult
I believe Christianity because I think this universe is broken and all the pain and suffering it includes cannot be good. I reject materialism because it requires a belief in matter for matter’s sake with no other first cause.

Other people of course can come to different conclusions.
When you are dynamically joining 10s and 10s of tables in an decades old codebase with a public API, that’s easier said than done.
As I've seen on WhatsApp on every smartphone I've had: when you download WhatsApp and tap the "New chat" icon in the upper right corner, the app SHOWS YOU a list of everyone from your phone's contact list who has a WhatsApp account. They also show the list when you click "Chat" at the bottom and then "New Group."
Of course, I’m not blaming Microsoft at all, it’s just smart business on their part.

I blame the regulators for not having the foresight to codify into some law that would prevent this situation.
It's just a different philosophy. Ctrl-b turns on tmux mode. The only tricky ones to remember are " to create a horizontal split and % to create a vertical one, but you can remember them based on where these keys split your keyboard (& splits the keyboard down the middle as if you make a verticle split in tmux, " rests along the middle row of the keyboard like a horizontal split). Arrow keys to move about the panes is pretty intuitive. The rest of the commands are easy enough to remember: c to create a new window, n to go to the next window, p to go to the previous window, x to close a pane, & to close the window and all panes.

That's about all you need to keep in your head to get a lot of power out of tmux.
The pdf I linked covers that in pretty good depth.
U.S. stops AstraZeneca vaccine production at Baltimore plant
The ones that I've read have untouchable sacred cows that shape how they view the world, such as "the market is efficient and self-correcting" or "all/any government/group/societal intervention is bad". These are their holy third rails which cannot be questioned. All other beliefs warp themselves around these sacred faiths until they can satisfiably fit.

It's like how medieval scientists had to use "all scripture is literally true" as their starting point. The actual work is to make reality fit within their required doctrines.
On Beyond Zarathustra
OK, after more discussion and thought:

- I'm removing the metadata type. You're right that it's not really gaining us anything.

- I'm changing strings so they always must be quoted. This actually simplifies a lot of things.

Thanks for the critique!
Please don't post generic ideological rhetoric to HN. It leads to generic ideological flamewars, which are boring because they're predictable and nasty.

https://hn.algolia.com/?dateRange=all&page=0&prefix=true&sor...

https://news.ycombinator.com/newsguidelines.html
More on this here, goes a bit into the background of the models that inspired SimCity: https://logicmag.io/play/model-metropolis/
the "problem" (not for me, I personally am pretty "meh" on the feature) is that now you'll have a new pattern to read (and decode) in the others code.
Update: I'm removing unquoted strings. Thanks for the critique!
Tech wont come in time as we're passing tipping points all the time, the due date was already.

Only chance is psychology of moderation and realizing the statistics of the over consumption.

Oxfam told in their report that the top 1% contributed twice the amount of the lowest 50% over the course of last 25 years. And out of that consumption of the rich, most is vain.

https://www.oxfam.org/en/press-releases/carbon-emissions-ric...
Please don't take HN threads further into flamewar. Let alone religious flamewar, god help us.

https://news.ycombinator.com/newsguidelines.html
If your asteroid or comet manages to get broken up into many smaller fragments, but all or most of them still reach the earth, but are small enough to burn up in the atmosphere before impact, their total energy would still be transmitted via atmospheric entry friction heat, which itself could cause lethal global air temperature increases. They might last only a few minutes or slightly more but (the science on this is a bit ambiguous) we could still be talking about temperatures going up into the hundreds of degrees. No big bang, but still catastrophic for crops, plants, forests, people and atmospheric health.
The saving grace to human society's have been the ability to rebel against a despotic government. Recently, within the last generation or two, we've lost that ability. Government is an amorphous entity that will always attempt to gain more power and more control. Separating the government from financial and economic power might be a hurdle that a technologically advanced society must overcome in order to prosper and not devolve into some 1984 distopia. Crypto might be our saving grace as opposed to our evil overlord that the article claims it to be.
I would say it's much more powerful than switch-case, but it's only moderately more ergonomic than elif. The reason for the former being that switch-case only ever checks exact equivalency; if you need to do anything slightly more nuanced, you have to bail out to something more flexible.
Posting like this will get you banned on HN, regardless of who or what you're replying to.

Could you please review https://news.ycombinator.com/newsguidelines.html and stick to the rules? We'd appreciate it.
- Languages should only make special syntax for very common or very important needs. Neither applies here.

- It violates the longstanding Python rule that assignments don't escape the enclosing scope.
The problem is completely the opposite. The flaw is the existence of social security numbers. Prohibit them from being used for anything but social security.

Then there is no "your social security number" or "your identity" for someone to open a bank account against. You open a bank account and they give you a bank card and you set an address and phone number. The day you open it, they shouldn't need to know who you are, because it's a new account with $0 in it. After that, the owner of the account is the person with that bank card who can be reached at the address and phone number given when the account was created.

Get rid of centralized identity and there is no centralized identity to steal.