skysight-inc/HackerNews huggingface dataset:
"I have to press backspace four times to de-indent code"

I used to only press backspace once to delete four spaces because I use a better editor. Now I press it zero times because I've integrated black, gofmt and prettier.js into my editor and it indents automatically.
> Turning sync into async is harder in any language.

well in most languages you can wrap sync into async. so it's not "hard". it's just harder to have NON blocking code.
i.e. in c# there is a difference between:

`await Task.Run(() => Thread.Sleep(5000));`

and

`await Task.Delay(5000);`

both will wait for 5 seconds but one will waste cpu cycles while the other won't.
While this is correct, it doesn't factor in that most of Poland/eastern Europe's coal electricity generation is sourced from often nearby lignite mines separate from the global commodity system (lignite = brown coal, the dirtiest least, efficient coal type). So the real economic force that will likely have an effect here is the decreasing costs of solar and wind, rather than global commodity price changes as certain markets migrate.

[1] https://en.wikipedia.org/wiki/List_of_mines_in_Poland
The price per sq.ft. will never approach the average in any important city.

https://www.visualcapitalist.com/interactive-map-price-per-s...
> Sports are incredibly boring and mindless

So are your hobbies.

> At least politics is something that actually affects everyone whether they want it to or not.

Everyone need an outlet for team loyalty and deep emotional investments in outcomes. Spend that drive worrying about what color someone's jersey is, so you don't do it worrying what color their tie is. Then you can spend your calm, cold, and rational cycles towards politics.
These figures[1] seem to indicate a ~50% decrease in carbon emissions for the same energy generated, but I'm not sure if it carries over directly to power plants.

Also, there's this fairly interesting (supposedly) zero-emissions natural gas power plant [2] but all of the news seem to be from 2018 so it's not getting a lot of attention.

[1] https://www.eia.gov/tools/faqs/faq.php?id=73&t=11

[2] https://www.netpower.com/
Wrong title. Should be "The Burden of Working in an Unprofessional Environment with Jerks."

This is a natural outcome of promoting work, not as a job, but more of a lifestyle to ring out as much as productivity as you can from young, unattached people. There isn't a boundary between work/personal life like there is everywhere else. I've seen different attempts at this on both the west and east coasts. Forced communal lunches, free food, comfy couches to sleep on "if you need to," game rooms, required outings, "bring you whole self to work," etc.

Working in these environments is draining, because some people seem to take pride in saying the most inappropriate and cringe-worthy things, and they go unchallenged. When you work in that context where no one is expected to be professional, it will cause problems; however, when you make the mistake of believing your job is more than a job, you will end up angry and vengeful.

For some reason, this seems to be much more the norm on the north-east and west coasts.
Unless you're trying to play the "not true Scotsman" card for the historical actions of religious figures, as well as the understanding of religion, then I would argue that the trick and quite modern one is the proposition that science and religion are different domains. It has only been until recently that religion lose enough ground, that they might be considered different domains.
We don't produce enough coal to run coal plants anymore, that's why we've dumped coal power. Almost all of the remaining handful of coal mines in the UK are 100% allotted to our (also near gone now) steel industry.
The trouble is “polluters” is everyone in society. People who use a lot of carbon feel personally attacked bu such a tax...because itmis in fact directly affecting them.

A carbon tax is my top priority. There’s no sense denying the opposition though. The yellow vest protests in france were from a fuel tax.
This is almost certainly not written the way it is because he is an asshole (though I have no idea, he might be), but rather because investors seeking to make an investment can be a massive waste of time. They'll say they are open to your terms, but then try to negotiate once you're down the path. A self-funding, growing company has no need for investors, and that situation is not where venture capitalists typically find themselves - usually the companies need cash and VCs have power. It is more typical for PE firms, but usually only when founders want to cash out (or at least begin cashing out) - obviously he's not there yet.

I've seen other companies who have clearly wasted a bunch of time with investors before and have to be super clear about their situation to prevent more wasted time, e.g.: http://buildinglink.com/marketing/public/investors
Those are more examples of over-regulated over-zoned blue state cities that have done it wrong.

Take a look at a city that knows what they're doing with housing, like Chicago or Houston (population 2 million and over, and Houston growing x4.5 faster than SF!). Houston added 364K people in the last 8 years. How many did SF do, a pathetic 80K in a city that has sooo many tech companies and soo much money. SF and other blue cities have a lot to learn about how to grow, and how to create the type of policies that allow them to do so (some of the population is hellbent against that).

Know how much housing costs in a city twice as large as SF, growing x4.5 times faster, Houston is 143$/sq foot and puts the entire West coast and every other blue state/city to shame.
Including in rust
> How is that insulting? It's pretty much true. It's not really nice, but it's not really mean either.

That's the point. It's not insulting and it makes you sound like you're twelve.

> Next time you complain about, say, your car breaking down, I'll be sure to advise you to go build your own car.

No, again. I see you're struggling. When my car breaks down, I ring a mechanic or take it to the garage. I don't go to the mechanic claiming to know exactly why my car broke down and how the manufacturer should change the specification to make it so that it doesn't break again. If my car keeps breaking down, I know not to use that model of car and try something else.

What you're doing is most likely using a piece of software, finding it doesn't suit your particular use case and then going online to insult the creator, and claim that you know how it should have been engineered.

It's completely fine that you don't like systemd. The problem is that a majority of people prefer it and that's pretty obvious from the distributions picking it up.

Stop and think for a while, imagine that's you who's created the software. Do you really think he's an evil genius trying to fuck up your system or is he just a hacker doing what he loves to do?

You also say "They also didn't do a great job of modularity, and don't use dbus like they should (dbus isn't built to be used with an init system; use a socket already). Rather, they have every thing depending on another. Suddenly, everything must re-tool to work with systemd or stop working. It basically unilaterally declared itself the standard.", but don't really have anything to back it up.

For example, Arch Linux reasons for picking up systemd:

0) it is hotplug capable
1) we can know the state of the system
2) it is modular
3) it allows dbus/udev to go back to doing the task they are meant to do
4) we can reduce the number of explicit ordering dependencies between daemons
5) we get a lot of security/sandboxing features for free
6) systemd service files can be written and distributed upstream
7) systemd is a cross-distro project
8) logind will finally deliver on what consolekit was supposed to do
9) systemd is fast

https://bbs.archlinux.org/viewtopic.php?pid=1149530#p1149530

Not sure why it declared itself as standard.
Could you help us locate it? Per wiki it should have been here https://earth.google.com/web/@36.62039334,-120.86993211,395....
Why would a lion try to eat another lion if humans are so easy to hunt?

And how would a lion taste another lion? Killing cubs? It happens, but the lioness is putting a strong fight, it is easier to eat humans.
I handed out copies as Christmas presents one year XD
Nope. All this effort and they give not one single flying fuck. I'm still at 25 calls per second which is their standard.

Nothing. Has. Changed.

Fuck you Google. Fuck. You.
Perioperative covert stroke in patients undergoing non-cardiac surgery
> Spaces allow us to not worry "Will this be readable by colleagues who prefer 2-wide tabs vs. 4-wide tabs?" We just adopt a convention (2 or 4 spaces) for each codebase and run with it.

I don't get it. It allows you to not worry about it by letting you just say "no, it won't be readable by you because we arbitrarily decided to make your life difficult".

Tabs are the one that let you not worry about whether people who prefer a different tab width will find the code readable because they can configure a different tab width.
Not all national parks are the same. Carrying a self-defense weapon in backcountry where grizzlies range is a smart idea.

I agree with you that it should be a large bore weapon, something like .45-70 or .44 magnum.
the real problem is progtards are required by ideology to pretend that black people are incapable of racism, thereby excusing behavior that would be condemned in whites. it’s fuckin adorable
Yes, IOCP looks like true async I/O most of the time. While in reality it will block if file is cached, in cases if code tries to read something like 100+ MB at a time ReadFile calls can take 200ms+. So most "async I/O" frameworks have to wrap IOCP into a user space thread ...
Well, this simply doesn't matter. There are already tests for impairment that failing will land you a DUI regardless of your breathalyzer test levels.
Somehow it's always a concern that governments might abuse hate speech laws to "silence dissenting ideas, unpopular speakers, and disempowered groups," but it's never a concern that the purpose of hate speech is to do exactly that.
It isn't. If my luxury car breaks down (hypothetically, sadly I don't own one), the dealer picks it up at my house and leaves me a loaner. And I'm leasing, so what do I care about resale? The priority is the latest and greatest cool shit; which is the stuff that breaks down.
A Concise Grammar of Classical Chinese
Not really... usually the employee sees nothing. I also don't know if the employee really deserves to see anything - lots of people work dev jobs and see nothing over salary for it, why should you make bank if you did you job just as well but happened to be in a wildly successful company... Concurrently I think that founder compensation is absolute BS at the moment, their contributions to success are far less effective than their compensation would suggest.
Ask HN: What are some niche or alternative news aggregators worth checking out?
I know this question has been asked before, in one form or the next. But I'd like to make a push to expand my media diet. Are there any domain specific aggregators you use, or are there any promising new plays in the news aggregation space?
It sounds like you are implying that web developers are beneath you. Building web based software is more complex than slapping together some HTML, JavaScript and CSS.
Neutrophil Extracellular Traps Initiate Gallstone Formation
MVC has been around since the 70s and is one of the most formative design patterns. Hardly obsolete.
Reminds me of the development of a battery powered medical device I did about 7 years ago. We selected an esoteric Freescale microcontroller for that project (which was successfully used in such applications before), but for the life of me I couldn't get the power consumption in deep sleep to come anywhere near the spec (few microamps IIRC).

Eventually, after scanning the datasheet forward and backward again and again, I had this idea which turned out to be the right answer: microcontrollers usually come in several package configurations, each with a different number of pins. Freescale used the same silicon die in all of the variants of that microcontroller, and left unrouted pins floating internally. I had to write to registers which, on paper, didn't even exist on this processor variant to put all I/Os in a defined state. The power consumption then came within the spec.
You raise a good point. Interestingly, your comments run contrary to what a lot of law enforcement officers have said to us.

In general, the police are hyper vigilant about buying only devices that are independently validated to be very accurate. Every conversation we have had has eventually lead to "is it NHTSA approved?". The reason for this need for third party validation is that the police are incredibly court room sensitive. If there is any chance a defense attorney would be able to pull out a study showing low specificity or sensitivity for a device, the police will simply not buy it. Third party validation gives them that guarantee.

You are right that the police want more convictions (or less time consuming convictions), but the way they do that is by having very accurate devices that are defensible in court, not inaccurate devices that risk cases being thrown out. That is why making sure our device has low false positive is very important.
Lots of talk about the consequences of false positives.

I understand the market for these devices is partly law enforcement. But another commercial market is devices installed in cars for habitual offenders. For alcohol detectors, something like half a million are installed in cars in America right now.

They have false positives, sure. Users learn to avoid substances that will trigger a false positive, because they want to drive their car. Its a massive inconvenience, but instead of a jail term, they are back at work etc driving their car.
This suggests that the mechanism is not totally understood, which is easy to understand. It could require either tertiary agents in the seaweed/gut microbiome interactions..
How exactly did Breanden Beneschott end up with zero shares? Was he just not paying attention or what?
> Because with sufficiently complicated UI

This is an argument that I often see from people trying to defend front-end frameworks. That mythical complex UI. So far the only thing I can imagine that comes close might be something like a chat application. Apart from off-line ready apps, I grant you. In that case there would be no point in trying to accomplish that with vanilla JS or jQuery.

> But for bigger projects it's a way more optimal to sacrifice some performance in order to be able to build faster and maintain the project easier,

I am arguing that you build slower if you build your front-end separately from your back-end rather than use something like Ruby on Rails.

> you one day realize that someone already solved your problem, and solved it way better than you ever would...

I am saying the problem isn't there 95% of the time. You are just better off rendering HTML and some small pieces of JavaScript.

> 10+ years ago when I myself still believed in not needing extra bloat of frameworks...

I don't believe this at all, I just oppose the current state of affairs in the JavaScript world and don't subscribe to what is generally considered a good stack. I am not saying you should reinvent the wheel either, I am talking about existing tools like jQuery or Stimulus JS.
You are right, I have no way to prove that what Im saying is true (beside posting here their contract which would be considered as infringement of it). Still a funny story which helped me look different at security in big corporations.
> When I type a single tab: bam! code indented. When I type backspace, the indentation is removed. It's easy. When I'm using spaces -- even in an editor that expands tabs to spaces -- I have to press backspace four times to de-indent code

Newer editors like VSCode handle this correctly. Tab = add 4 spaces, delete = remove 4 spaces.

But really, you should get in the habit of using tab to indent, and shift+tab to deindent (not delete). shift+tab has the added advantage of being able to deintent an entire highlighted block of code in virtually all editors.

> can often be represented as just:

Well, in this case you could just do `flag = cond` but I see your point

> Most people's argument against tabs seems to have to do with vertically aligning code. This is a shit argument, because tabs should be used for indentation only. If your indentation is the proper number of levels then spaces can be used for any remaining vertical alignment.

Well, a lot of people haven't configured their editors to visually see whitespace, and since it is invisible by default, it means a lot of code with mixed whitespace is committed which is a hard problem to solve. So you just configure your auto-formatter to convert everything to spaces so there is no ambiguity.
California produces almost entirely specialty crops. Not saying it wouldn’t happen, but it would require a huge shift in types of produce available to consumers if CA ag changed.
Carrying a tiny gun is pointless, a .22LR handgun is practically useless against a wolf (please, don't come with the 1 in a billion exception).

If millions of people get by just fine it does not mean you should never take any precaution because "it will not happen to me either". With this mindset it is better to carry some salt and pepper and prepare yourself to be tastier :)
Yes

https://www.youtube.com/watch?v=SsoOG6ZeyUI
I've noticed a lot of posts on here lately about how the developer interview process is broken and I agree. So why not put the power back in the hands of the employees?

Open to feedback of course! It's very early days as you can see, haven't spent much time marketing it but I'm about to start.
Did meditation help you quit cannabis? How so? Any tips? I've been trying for a while but it hasn't been the easiest thing to kick.
The first sentence literally said this:

>As part of Stripe’s environmental program, we fully offset our greenhouse gas emissions by purchasing verified carbon offsets.

The sequestration is in addition to those offsets. They’re trying to advance sequestration technology by boosting demand. They’ll be offsetting and sequestering more than 100% of their emissions. The excess cost referred to sequestration, not offsets.

Government has done basically nothing for 30 years. I really, really want governments to take it seriously, tax carbon, etc. but I welcome private companies stepping in to try things too.
There is a very large industry focused on "re-associating" so-called anonymized information back to PII. Store visits are very easy to re-associate, and ad targeting can be used to de-anonymize people as well.

It is virtually impossible to certify that any given disclosure, no matter how grouped, anonymized, fuzzed, etc. is incapable of being re-associated given other data and time.

I also do not subscribe to the rather expedient definition that your privacy hasn't been violated as long as no human has seen the data. That's an unsupportable claim. As long as my privacy is only a millisecond away from anyone's view on whim, mistake, or trivial disclosure, or some automated system has made some decision that affects me based on my private data I have been violated.
Neat, another company exploiting the free work of others.
Building Blocks of a SearchEngine
It would be great to see a technology that did _audio subtraction_ of the offending snippets of sound rather than blocking the entire video.
I've always felt like there's kayfabe in politics too.
Best Prank 2019
> Wouldn't people put off their purchases until -it looks like- the end of the year

A. Housing is one of the basic requirements, and there are a variety of reasons why you wouldn't be able to time it like that. E.g. ended a old job, started a new job, marriage, birth, death.

B. Even outside large life events, many people don't want to disrupt large holidays with a stressful move. Ditto for school terms.

C. Houses look and show better in summer that winter. Seeing a healthy yard instead of bare trees, snow, and brown grass is good for value.

D. Often, the person buying a house is selling a house at the same time. Your new house costs 10% less in the winter, but your old house sells for 10% less as well. (Still a good deal if you are upgrading; just less of a good deal than you might initially think.)

E. If buying a house is absolutely conditional on selling one, winter is a somewhat riskier time since the market's volume is lower.
The term "reek" is normally negative in connotation. I have seen (at least on HN) the famous Netflix culture documents praised as straightforward method to assist in defining culture. Not that it "solves" culture in some magical, systemic way (i.e. naive founders saying "Look we have a culture deck, culture done!"), but still have only heard it referenced as a useful communication tool.

So having never seen it spoken of poorly, I am interested in your perspective.
Both the economic and environmental impacts would be massively beneficial. If this idea sounds difficult because it sounds big, remember that we are already supplying global energy needs, just with far worse and older technology that is aging and needs to be replaced with new units on a regular time scale.

Solar is one of the cheapest possible energy sources and getting cheaper every year. Farmers across the midwest are already raking in profits merely for leasing the land for solar projects that others own; if farmers finance and install on their own the economic benefits to them and to the rest of society would be massive, especially compared to business-as-usual natural gas and goal.

Solar is also one of the cleanest in nearly every sense; in terms of amount of solar panels we'd need to scale up production, but recycling is starting to go full boar, and even without any recycling the environmental impacts of a kWh of solar are

Farms typically have fairly hefty connections to the grid because of high peak usage, but clearly there could be some contention that could be solved with greater transmission deployments or that the market could solve by pricing the connection fees.
FWIW, there's at least one (minor) change that was made to Firefox to help out Tridactyl - https://github.com/tridactyl/tridactyl/issues/792.

Mozilla also were happy in principle to allow us to intercept key presses on all parts of the browser last time we spoke to them a couple of years ago; we just need someone to write that extension to the WebExtension API - https://github.com/tridactyl/keyboard-api.

Rewriting Tridactyl in XUL is not something I would wish on anyone.
But didn't IBM (and Jaquard as well) include the software with the sale of the hardware to run it?
MavSocial – Social media marketing and advertising software
HK is supporting the vilification of the actions of the Chinese government over their treatment of HK, not "China".

This idea that we cannot say one part in the conflict is clearly in the Wrong (or even evil) unless we reject the country as a whole is just silly beyond belief. I'd even say that's been the default position of much of the Europeans regarding the US for decades now.

> If the citizen's of the world actually understood the situation then they would have more opportunity to exercise their economic and diplomatic powers.

That's rather ambiguous. What specific actions are you thinking about?
Oh, so it's similar to PHP's autoloading based on psr4.