skysight-inc/HackerNews huggingface dataset:
Wow, the linked discussion turned toxic pretty fast for something so trivial. It's surprising no one in that thread mentioned that there is a good reason to keep it the way it is, namely to avoid screwing up the formatting of files on GitHub by sticking to an ages-old, well-known default.
I usually do a quick check for duplicates by clicking on the domain name in parentheses. If there is an identical post with some activity, I delete mine. Forgot to do this, sorry. You can have my karma. :)
Having patience and compassion for our fellow humans is important. I often remind myself that people generally take actions that make sense to them. The fact that they don't make sense to me does not mean that they are wrong or stupid, it means I have not taken time to see their perspective.
Do Developers Read Compiler Error Messages?
There's nothing about Python, compared with Ruby, that gives it any advantage, numerics or otherwise. Ruby's C ffi is just as powerful as Python's. It's all just a first mover phenomenon. Python is the VHS of programming languages.
The old ARM<=7 load multiple / store multiple instructions were interruptible on most implementations. My recollection is that some implementations checkpointed and resumed, but at least the smaller cores tended to do a full-restart (so no guarantee of forward progress when approaching livelock). I'd expect the same here, with perhaps more designs leaning towards checkpointing.
As long as you need a market-rate salary, go work for a company that is carbon-negative if you can (e.g. carbon capture or clean energy). One that is vocally pro-enviroment and carbon-neutral would also be an accomplishment.

If you need less money, work for a nonprofit focused on environmental issues or research. Working for a politician's campaign might be a good way to apply tech, marketing, or management skills.

Don't volunteer. The vast majority of the value is for the volunteer, not for the nonprofit.

When you're a (very) part-time volunteer, you'll never get deep enough into their problems that your contributions will outweigh the cost to manage/train you.

It's better to advance your own career and donate money to full-time people who are able to devote all of their work time to the issue.

(Source: ran a nonprofit for a few years that sourced skilled volunteers for other orgs)
> how does that happen except at an individual level

I can see changing subsidies around to make meat more expensive as a matter of public policy being more effective at changing individual behavior than trying to convince them on moral grounds.
List comprehensions in Python allow you to avoid having to add another level of indentation. If the feature did not exist, a lot of Python code would be one more level deep. Language features definitely have an effect on the number of indentation levels you need. Map and reduce reduce the number, Node-style callbacks increase it, etc.

Although I suppose a Linux kernel developer would consider having to write Node JS code as 'being screwed'.
Personally I agree with the sentiment of no more than three indentations, but I don't take it as a hard rule (mostly because I'm not writing kernel code).

I think it is very language specific. In Python I'd probably ignore the "rule" outright.
I have a hard time believing these opinions are correct because they were heavily constrained based on column size and monitors of the old days.

So it’s not like the community freely came to this conclusion after a lot of informed experimentation.
I wish there were more people lobbying for nuclear power out there. I might look into this option myself as I want to see the US become less of a nuclear power house on the weapon side of things and more on the domestic power and service side of things.
I wouldn’t call it silly at all, it just depends on how strategic your failure is to Amazon’s success. At some point you become materially exposed to their decision making.
I feel the same way. My current company almost runs itself, so I've been spending a lot of time exploring ways I can help with climate change. Here is what I have been doing:

* Reading a lot! I recommend Bill Gates' "How to Avoid a Climate Disaster" and Paul Hawken's "Drawdown". The path to zero carbon emissions seems impossible, but the more I read, the more the solutions seem intertwined, which gives me hope.

* Writing down my ideas and the information I learn. Helps me to organize my thoughts and find the holes in my thinking. Here is a link to my blog (this is the first time I've shared it with anyone other than my wife):
https://simpleclimatefixes.herokuapp.com/

* Talking to people. I have a few friends that work in sustainability and in the energy sector. I have also been calling and meeting with local solar panel installers and manufacturers. Trying to understand the challenges they face.

* Coming up with ideas and trying to build them. I'd be happy to help other businesses (probably part-time, but potentially full-time), but I think I'll be more useful if I have a better understanding of the landscape and there is no better way to be acquainted with an industry than trying to start a business in it.

I'm currently in the early stages of vetting an idea in the residential solar panel industry. I'd be happy to share it if anyone is interested. Love to hear feedback!
Traditional Colors of Japan
Downvoters, please GO READ THE PoC CODE THAT YOU CAN FIND EVERYWHERE.
If that is true then why are companies willing to pay a reasonably good software developer a $100k salary instead of just hiring a cheaper roofer instead? It kinda should be really obvious but in case it isn’t: a roofer can’t do the job.
BeiDou Navigation Satellite
if you don't procreate, your political opponents will eventually outnumber you. you need the next generation to vote too.
Dinosaur Cowboys Are Hunting for the Next $32M T. Rex Fossils
It's ironic how we have too much CO2, and yet not enough.
I went to my normal barber shop today (I’m in Texas) only to find it was closed, with a similar notice blaming lack of personnel on the front door.

So you know what I did? I found another barber shop lately literally one block over. Same prices. Slightly better service.

I wonder how many of these guys have realistic hiring expectations AND pay a livable wage.
Call of Duty: Vanguard aimbot hacks pop up just as the beta starts
Correct me if I'm wrong, but I don't believe anyone has accepted significant funds like that in a very long time unless it was for some invoice; that is to say you already owed the money.
Can anyone comment on the performance of structural pattern matching in Python 3.10 for simple cases compared to if/elif? For example, say I am just checking for which of several cases from an enum to diverge based on.
My actual issue with Mark Rober isn't his exploitation (that's all of YouTube), it's that he intentionally skirted international travel laws in April 2020 to film his "Can sharks smell blood" video, including being known-positive for Covid and still traveling to another country (via private jet) and interacting with (masked) locals while his entire party was not distancing or taking mask precautions.

He did this two months after he made a video explaining how easily the virus spreads.

It's clear Rober is in in for the money, and using science as a hook. Everything else in his behavior is utterly unsurprising if viewed through that lens.
GitHub Actions: Ephemeral self-hosted runners and new webhooks for auto-scaling
C++, if the method is implemented outside of its header file.
How "don't have kids" is any different than "kill yourself now"?

Surely that'll help even more, since it includes everything at once - no meat consumption, no travel, no cars, etc.
I do:

1. Run a small solar array on my balcony, with recycled lithium batteries for storage. I've made ~100kW of power which I use to basically charge all my devices.

2. Growing Algae two do two things- producing biomass to convert into bio-fuel down the road, and remove carbon from the air.

Rooftop solar & going electric (and destroying your gas car so you're taking it off the road) is the easiest to do, followed by helping others do the same. Off the top of my head, if you own your house see if you can work out a group deal with your neighbors and subsidize their cost. https://ecologi.com and https://www.arcadia.com can give you a feeling of doing something (while actually doing something, even if it's very small.

None of these things really move the needle. If you want to do something, the cold reality of it is some constructive destructive actions need to be taken against the largest polluters- energy companies, major food conglomerates that consume large amounts of plastic, commercial shipping, and others. Pick your poison.

Yoooo. So here's an actual, legit idea I have. A community platform to raise money to donate roof-top solar systems to public schools. Has to be focused, where it's clear the goal and the target area. "We're raising $1,000,000 to fund a solar system in this region. Here are our candidates and our local contract partner." Once that's accomplished, you find a school and get the green light. You work with the contractor to secure an actual cost, and then fundraise for the rest. Then it's installed. Target schools and districts in areas of high coal/dirty power and fund-raise for a full roof-top system for them with some energy storage.

This does two things- allows the schools to spend money elsewhere which helps improve the quality of life in the are (and I'm sure it will be known where the money comes from, but also removes a fairly large consumer of municipal energy.
> Real problem and solutions: - energy -> Need hydro or nuclear. Everything else is just marketing bullshit.

Agree in general, yet from what i've read most of the worlds hydro (read: river) resources are already being tapped extensively. Although hydro makes up a healthy chunk today, can it expand and grow along with our increasing energy demands when we've already tapped the largest rivers? I am curious if you have sources that show hydro can grow.

I recall reading this counter to hydro in a Smil book (Growth I believe) although I will have to double check which one.
Beyond Happiness and Meaningfulness: What Is a ‘Psychologically Rich’ Life?
There are two things you can do.

1. Think about how many kids you want to have and then have at least one less than that number (assuming your number was greater than zero to begin with).

2. Give these two answers whenever you are asked this question in the future.
On Firefox mobile I'm unable to return back to HN. It seems to have an auto redirect forward every time I go back.

Although this is as much a failing of Firefox as it is this site IMO.
Looks like this thread is devolving into a tab vs space war again, an eternal holy war without end except at local level where some VP of engineering put down a decree one way or another and the plebs begrudgingly follow.
> the right to due process

Which is simply a process, written into the law.

> before one is deprived of liberty or property

I'd be curious to hear what the universal right to "due process" is, if it is not defined as above, and which would allow to arrest people on the crime scene or even better after a short chase from the crime scene, including the property they might have just stolen.

> Let's take a different case: Duterte in the Phillippines.

You said immediately after my comment, whose point was that how much exactly to move the line and which direction is the process of policing.
FreeBSD Jails using vnets cannot see any of the network interfaces belonging to the host (or other jails), so there's little risk of a compromise that way.

The only way (in theory) someone could figure out my IP from this setup is A) if they have a jail escape (unlikely) or B) if I screw up my firewall config and accidentally let some packets through that aren't going straight into the VPN (plausible)
Rather than donating to charities (who are typically constrained to operating according to the rules that got us into this mess), I would suggest donating to groups like Extinction Rebellion, who try to put real political pressure on governments using civil disobedience tactics, in order to get policy changes made.

This, or starting/joining a worker's union that can similarly exert political power through the labor force. We need radical change right now and that will need radical tactics.
True. But that’s nonetheless likely to be transient over a reasonable time horizon for home ownership, e.g. 10 years.
Currently in Japan, interest rates for home loan are so close to zero. About 1% for fixed rate, 0.5% for 10 year fixed rate, less than 0.4% for variable rate.

New homes are built rapidly and supply is plentiful. When we say home, it almost always mean condominium.

Yet, the house price is rising in Japan.

I can think of a few reasons for that, like mere fact that home loans are available to virtually anyone who is employed and recieve average wage, old homes quickly lose value in Japan or people ditched the countrysides and concentrate to a few major cities.

I think home loan interest rate just reflect the inflation rate of the currency in that country. House price goes up simply because anyone can loan a money for.

So long as the credit is available, house price stays the maximum amount of money average people can loan for and it's increasing.

If rate goes up, it just mean the inflation rate goes up.

The house price goes down when

1. No demand. People don't want to live that place anymore.

2. Loan is not available.

3. The government turns into Communism and give all citizen a same house for free.
The best reason I've seen for tabs is this one [0], where there were two people working on the same code base with different visual impairments, where one person needed 1 space tabs with a very large font and the other had to use 8 space tabs with a very wide monitor. You can't get that functionality if you assume any tab width.

[0] https://www.reddit.com/r/javascript/comments/c8drjo/nobody_t...
The simple solution is to build more.
Perl got lost in arguments over whether to adopt a meta-object protocol (MOP) in the core and if so, which one. That and the endless variants of Moose just took TIMTOWTDI to ridiculous extremes. Meanwhile PHP and Rails were eating Perl's lunch.
Congratulations, you have effectively done nothing by following this advice.
Reamde would have been my first recomendation to introduce someone to Stevenson. Constant action, an unusually direct storyline for him, and not too too much time spent off in the weeds.

Of course some might argue those are the best things about his books, but while Chryptonomicon is perhaps my favorite sci-fi novel I've read, I think it takes a certaim type of person to enjoy a book where the plot gets interupted for 5 page descriptions on how to eat Captain Crunch or a who fucked who of the Greek pantheon.
SpaceX's private Inspiration4 crew returns to Earth with historic splashdown
It seems you might not have looked into the contents of those ISOs. This distribution contains Xorg, a few applications and backgrounds. The minimal ISOs you mention are just command line and no graphical environment.
I bet you there isn’t. It would have to be emulated, which would be too easy to spot. And there’s also no need. They’ve been using a much higher level tool chain for decades. There’s plenty of legacy code, sure, but no PPC. Rest assured.
Convince people to have less children would be the biggest lever in that fight. Do what you can to advance and promote wind, solar, and nuclear power, and electric transportation. If you do the latter without also addressing the former, you fall afoul of Jevon's Paradox.
> Why would anyone use this, I could build it in a weekend!”.. often means the startup goes on to reach a billion dollar valuation.

I'm going to take extreme issue with your use of the word "often" here.
That feature will kill the standard outside of mandated (corporate/gov) use cases. There's no way I want to have to worry about registering 2-3 FIDO2 keys with every site I currently use passwords for. And there's no way I'd trust Google's (or any other company) OAuth to be my master login for every site.. assuming they all take OAuth and that Google accepted multiple FIDO2 keys.

IMO it's a mis-feature and will keep it from eliminating passwords. In fact I think it will only reinforce password use as the one good case for it is to lock your password manager.
Odd that something this complex doesn't support regular expressions or even greater-than, less-than. I'm also not that good at Python so perhaps it is obvious and I missed it?

I didn't RTFM but I did CFTFM (ctrl-F'd the FM).
I tested it starting with the name of a rarely-mentioned (US) indian reservation. The name was first always 'linked' with a completely unrelated state in the US. Pretty damn weak link.

I suppose you could just go through 'universe' to reduce the degrees to two. What's the point?
Agree. As a Python person, I’ve been bummed out a few times in the past when there’s some tool I want to use and the first step to installing it is something something rvm that seems to make a huge mess I don’t know how to untangle.

Looking at you, old “hub” CLI from Github.
(I'm the author of the post - thanks to whoever posted this to HN!)

This is a good point, if probability of success decreased 5x while average outcome increased 10x, then a 2x increase in seed valuations would be reasonable. I don't actually know the differences in probability of success / expected value for the typical seed stage startup, but anecdotally it doesn't feel less likely. It is definitely harder to get off the ground, but I see a lot fewer companies (anecdotally) stumbling in the "middle" part of the journey between $2M to $100M in ARR or so, whereas I feel like in the past a lot more hot SaaS companies used to stall out. So I think that washes out against the harder initial stages.
Especially with Python lambdas. Such a contrast with Ruby's elegantly-designed blocks, Procs and lambdas.
The world is bigger; more people are part of the economy; the average person is wealthier; the average person is more productive; the average person or company spends more of their income on services than in 2013.

In a winner-take-most market, it's easier for the acquirer to leverage a successful SaaS company 10x what they could in 2013. This doesn't surprise me.
Seems like an unnecessary personal attack and clickbait headline, when Drew is self-aware enough to admit that this is a system-level cultural issue without any real solution proposed here:

> I'm picking on Mark today, but he is just one gear in a larger machine which seeks to rear children as participants in a consumerist, capitalist system, a machine which Mark himself was probably raised in and views as normal.
Yeah. Makes no sense. I loved PPC (and 68k before that) but it’s a dead platform that Apple has no interest in.
But also sometimes they might just be stupid
Jerry Springer had guests of this persuasion on the episode "I want to join a suicide cult." The group is being satirical but honestly they make some pretty salient points.

https://youtu.be/C_TtTEw9w4s

https://www.churchofeuthanasia.org/coefaq.html
yes they can be used for evil but how are exceptions different?
Can I ask where you saw negativity? That wasn't my intention when writing the essay; I'd love to make my writing more precise!
Well, it was (kind of) a joke about "sane and reasonable" because everyone seems to have their favorite reasons for preferring one way or another.

I agree about it being aesthetically pleasing. For me it's the easiest spacing to read and scan code horizontally and diagonally.

And apparently:

> using spaces instead of tabs is associated with as high a salary difference as an extra 2.4 years of experience.

https://stackoverflow.blog/2017/06/15/developers-use-spaces-...
> Economics is a weird subject, even economists get predictions wrong all the time.

It's because economics is seen as a science but ignores (not completely) human behavior. You can't test economic theories with the scientific method because there is simply no way to create a market vacuum to test.

This is why behavioral economics is so interesting IMO. It's not definitive but it at least it provides explanations.
One shouldn't need to with any frequency, given a statically-typed language with sufficiently modern tooling (linting, auto-formatting, package management).
>- My monthly payments are identical to had I bought at $600k at 6%. If I stay there, I'm not much worse off. It's harder to pay off the home quickly.

>- If I move out, and I rent out my home, it covers monthly payments approximately exactly.

In any situation where interest rates go to 6%, there will probably also be some upheaval that affects your earnings and ability to rent it out at the present rental rate. The risks are correlated.
To some degree, yes, but that metaphor breaks down because (often/typically) hash functions are designed so that small changes to the input result in large changes to the output.
> Thus begins the slide from RISC to (what POWER/PowerPC ended up calling) FISC.

You mean from RISC to CISC, right?
NYC has begun installing solar panels on the schools. https://solstice.us/solstice-blog/nyc-solar-schools/
Gemini is great, but I'm would love one step up from this. html/css support, no JS. or Markdown with CSS styling or something that's just a little more than plain text but still close.

I've been meaning to try and make my own browser that only supports html/css or Markdown and maybe its own protocol like Gemini's

I'll add it to my ever growing Todo list.
2 levels in Smalltalk, unless I'm missing something?

!SomeClass methodsFor: ''something'' stamp: ''kks 6/30/2018 16:11''!
find: key
1 to: self items length do: [:i |
(key = self keys at: i) ifTrue: [^i]
]
! !
And here y'are writing this comment bud
I have another suggestion. Can you please link the Amazon links with the option they have to lead me to my home-country's (correct) link? I don't know how but I have seen ways where they open to the right store for me, otherwise, it is too many clicking or copy-paste-searching.

I just bought 5 Children's Books and I don't mind if you can benefit from the affiliate link that goes from your account.
Again, this data supports my point. Those $3k < median cases, assuming 15k/y figure is correct only amass to $23M forfeited, which is several magnitudes less than burglaries: > $1B
I think the issue is that Breed was violating her own guidelines, and then offering the remarkably accurate defense that the guidelines that she established as mayor are not reasonable.
I've been using nuitka. but really it should be part of the language by now.
I think we can end the discussion here. I think I made myself clear and I thank you for allowing me to do so by asking clear, simple, direct and non-rethoric questions. It was a discussion without any unneeded friction like defiance, offenses or unrelated analogies. It was a bit longer than I wanted, but I liked it nevertheless.

Thank you!
Work for a PR firm or something similar that supports government action to fight climate change. I know that political marketing probably feels like the dirtiest profession out there, but the biggest obstacle to fighting climate change in the present day isn't can't, it's won't. And recent elections have shown the unreasonable (although frankly dangerous) effectiveness of data science in modern politics. As long as we can't beat 'em, we might as well join 'em.

If you don't want to do politics, it seems like something related to modeling and/or controlling machinery is probably relevant. Solar concentrators for high-temperature manufacturing (particularly cement/aluminium), ultra-high-temperature electrolysis of steel, and better heat pumps to replace gas heaters, all come to mind as important carbon-reducing technologies that might require a software component, although I can't say exactly how.