skysight-inc/HackerNews huggingface dataset:
Are there occasions where having natural gas available in a house would be essential?

Aside from an apartment that had a gas stove and gas-powered water heater, the houses I've lived in always had all-electric, and the overall experiential difference between the two circumstances was unremarkable (in my opinion).

Hot water worked fine with either a gas or electric water heater, and the stove was really the only "daily-use" item that had an obvious difference, but the functionality was fine either way (stuff still got hot on top the burners or in the oven). If I specifically wanted an actual gas flame for cooking, I just used a $20 tabletop camping grill with a small propane tank. This "adjustment" was a very minimal effort way to deal with not having gas pipes.

Overall, if not having natural gas saves infrastructure costs (and tax dollars) from being spent maintaining natural gas pipes, and also removes any need to worry about carbon monoxide and having detectors installed, then this seems like not a big deal to adjust to.
Ask HN: Which Laptop to Switch to from Macbook?
Reached the 2000 characters limit, please read the full text in the comment below.

Thank you
Good point, I'd seen the Margret Hamilton image quite a few times since it started circulating but nothing of Saydean Zedlin. I was glad to learn about her thanks to your comment

http://www.astronomy.com/news/2019/06/saydean-zeldin-guiding...
Combating Absue at Ngrok with Python
If their own way doesn't include civilization then it's not really comparable, is it?
> why people are so eager to conflate...

Because identifying, hiring, and keeping 10x programmers is difficult and expensive. Companies fail at it and assume the problem is the concept of a 10x programmer, rather than own inability to handle this difficult objective.

There a lot of hiring managers, who think the process has one step: post a job 'looking for 10x engineer' and then judge the results. Rather than consider that their approach might be flawed, they attack the concept of a 10x engineer.

There absolutely are 10x people out there in many fields, and many of them are humble about their methods/approach. Software engineering might even have 100x people.
I think this is an example of "pigs get fat, hogs get slaughtered."

Edit: if someone looks at a jail sentence and a $250,000 fine and decides stealing millions is still "worth it" even if you are caught, it's actually not. Judges order restitution to the defrauded, even if you can't realistically pay it. That means your assets will be seized (bye bye Tesla and house) and you'll never be able to build wealth ever again because any of your future wages will be garnished, forever, because you'll never be able to pay back that debt, which will be the amount you stole plus interest plus legal fees.
It's an article focused on Hamilton; seems to be part of a series of articles for an Apollo 11 anniversary feature: https://artsandculture.google.com/project/moon-landing
I'm generally in awe of long-lived procedures intended for mass distribution.

There's a beauty of succinct purpose.

A 14 year old with no scientific background can understand "one hand in pocket or you're dead." He or she would far less reliably understand "This is how voltage works. This is how it reacts with your body. This is how..."
What I mean is that I've been told by UI/UX experts that more whitespace is demonstrably better for users. I personally disagree for me, but I'll buy that I'm in the minority.
This seems to be really common thinking, too.

It seems to go like this. A lot of programmers are weird. They don’t get along well with people. They keep weird hours. They dislike social norms. This part is true, although far from universal. The problem is the next step: since programmerness is associated with all this weird behavior, the most extreme and therefore best programmers will be the ones who behave the weirdest.

This is reinforced by a simple selective process: mediocre programmers who behave badly tend to get fired, while genius ones are often kept around because their abilities outweigh their flaws (or at least management thins they do). Thus, when you see a really weird programmer on the job, chances are that they’re also really good.

It’s all bullshit as far as I can tell. Plenty of great programmers have fine social skills, work 9-5, enjoy teaching new people, etc. Plenty of crappy programmers are also weirdos. But the perception is definitely there.

This discussion of 10x programmers and sometimes denial that they exist is really people pushing back against the notion that weird or bad behavior is a signal of greatness, or that productivity means you can treat people like shit.
I don't know about the actual "10x" label or how to even measure that objectively. And I am not even gonna go discussing the weekend tweet storm.

But, programmers can tremendously improve their own efficiency/output by building their own collection of libraries and toolkits.

Pretty much by now, we all have seen more or less the same things. So if we have a vast archive of tools, our productivity can be crazy high.
"Each photo you decide to share is opt-in" - I don't think that is really how permissions work on either Android or iOS. Once you have given the app permissions to access your photos, they can do so - with or without the user explicitly choosing which ones (please, someone correct me if I am wrong on this). So Snapchat/Instagram/Facebook might actually be doing stuff with your photos "behind the scenes", and you wouldn't necessarily know it (assuming you granted the "Photos" permission in the first place).
The "file" abstraction covers many different types of storage: spinning and solid state disks, in-memory structures, whatever your cloud actually uses, optical medial like DVD's, and even magnetic tape. Typically, these are managed by the underlying operating system's IO interface not Java itself.

Historically, operating systems use buffers for IO and closing the file includes flushing the buffers of in-flight data (in addition to things like deallocating pointers to files at the OS level). Without explicit instructions the operating system doesn't know when a file is no longer in use.

A programming language/environment could open and close files on every read and every write automatically. But it would entail overhead for operating system calls to allocate/deallocate nodes in the file table. For some types of programs this might be ok. For others it might be problematic, particularly those with moderate or strong dependence on IO.
List functionality operates annoyingly different from timeline functionality though. In the TL, if I click out, it remembers where I left off.

With lists, if I swipe out, it loses my place.

Small issue but it puts a hamper on me using lists.
> What I care about is being able to work to the best of my ability.

This is so critically important.
Facebook doesn't switch me back. I've been in chronological mode for ~3 years now. I think it's per-device though so you do have to set it if you login somewhere new.

There may be A/B testing going on though.
From screen resolution to mouse movement, everything can be abused to build profiles

That's correct. I want none of these available without my explicit consent.
Thanks for bringing it up. I see it being perfectly rational for countries to mirror asset possession rules that are instilled on their citizens abroad.

There is so much draconian regulations of foreign bank account holding all around the world, but none regulating foreign possessions of the said bank. Same for real estate.
The author described some shenanigans he had to go through when wiring the power cord to get the power supplies (which expected voltage that is typical in the US) to run right. In the US it would have been a simple matter of using a power cord in the standard configuration and plugging it into the wall.
"If everyone followed Public Health England’s eating advice, people in the bottom decile of household income would spend 74 per cent of their income on food"

Bullshit.

I'll preface what I'm going to say next by saying I'm in the US and I know this was a UK report - but I highly doubt things are so incredibly different over there in terms of cost. That being said, there's utterly no way that has to be the case. Raw produce (not meats) from a farmer's market or most major supermarkets are very cheap. I can spend $30-$40 and have enough for 3-4 people for a full week. Also, sausage is usually very cheap. I buy the store brand (which happens to be delicious) and it's usually <$3 per lb. The 73% beef from Walmart is cheap as hell and usually hovers around $3-$3.25 per lb most of the time. One of those burgers (quarter-pounder, so 4 oz) has 340 calories and is a dream for anyone doing keto. So that $3 package contains about 1350 to 1400 calories! The cereal I make myself has only 4 ingredients and is loaded with healthy carbs (steel cut oats, flax seed, walnuts, and raisins). $12 to $15 dollars buys a bag of each of those ingredients which all have around 15 or so servings - that's over two weeks...or less than a dollar a day (per person). And that is a very high calorie breakfast, BTW. Water costs essentially nothing per gallon. Eggs are cheap and super healthy. There's plenty of cheap, tasty cheeses you can buy in bulk, too. You can get whole seasoned, rotisserie, cooked and ready-to-eat chickens for $5! That's multiple meals for a single person or a meal for an entire family. And I don't live in a rural part of the US where prices are cheaper - I live in an expensive area of the northeast.

You can easily feed a family of 4 on $125 a week using the items I outlined above (along with other cheap options).
If you get a chance, read "Liar's Poker" by Michael Lewis. One section is on a group on the trading floor that have some really bad eating habits (gluttons) that is part of their work culture.
> generally better

Compared to:
- Switzerland?
- Detroit, US?
- Spain?

You feel attacked and I don't understand, why.
I just get the impression the PM's at Twitter don't actually use it, and worse, engage with people who use it, enough. I follow a ton of CMOs, social media directors, agency heads, people who use Twitter to drive business and commentate regularly on their industry, and they have expressed disdain for product direction decisions for years around the "mobile-ification" of the desktop experience. Now it seems they're pushing total usability-hostile 'features' to their desktop webapp.

Really, who on earth over there made the call that two tweets visible if there's an embedded image, even on a large 27" 1080p monitor, was a good idea?
I hate cooking with electricity, can't make a decent stir fry with it, changing the temperature takes a long time. How much of an impact does this make to a person's carbon footprint?
Everything you said is true, but it does not provide any reasonable argument that HSTS as it is designed and implemented is a valid way to enforce this. The potential for malicious or accidental misuse to cause an effectively immediate and irreversible domain-wide DoS is simply too great. I am quite surprised that the feature made it through planning and implementation to begin with.
You Just Broke Your Child. Congratulations. (2010)
Grindr has faced a federal investigation, layoffs, mismanagement, and turmoil
I think I may not have phrased it well, I agree with you, it’s better than many other languages for low level software development. What I’m saying is there’s nothing that makes it worse for high-level software development.
There is also https://en.wikipedia.org/wiki/Guantanamo_Bay_detention_camp
Stack Overflow has the same problem as Wikipedia: they know the only way to scale up a human knowledge repository is by leveraging volunteer effort (the organization itself could never cost-efficiently supply the necessary manpower), but volunteers like this are strongly self-selected to be a bunch of Poindexters who take perverse joy in finding exactly which minor infraction you're guilty of and using it to shut you down. I only contributed to Wikipedia a few times before my edits were reverted under WP:OMGWTFBBQ one too many times and I stopped bothering, and I've never even bothered with SO because I've heard it's much the same.
> They are explicitly stating they use Referrer-like data to track users.

To me, "track user" means persistently ID one person. This sounds more like inferring anonymous interest, like inferring that someone arriving from ESPN.com might be interested in your sports section.

If that person comes back tomorrow from The Financial Times, you might infer that they are interested in the economy.

But without cookies, I don't see how you would recognize that visit as the same person as yesterday and integrate the sports and economy interests into a persistent profile. Each visit would be self-contained, which doesn't fit my definition of "tracking."
My favorite is the recursive "just google this" answer in a thread that's the top search result on Google.
Good exception-based code shouldn't be littered catch blocks; you only need to catch in places where you can reasonably recover. No matter how complex the application, there are typically only a few places you can meaningfully recover from a real exceptional or unexpected error situation.

Checked Exceptions in Java, for example, force you to litter your code with catch blocks and error handling code that doesn't actually recover from the error. It transforms it. It propagates it. Languages like Go with explicit error handling do the same thing. I don't think that's bad in all situations but often it comes down to what one thinks is an unexpected error for a given project.
> I'm not sure I understand why people are so eager to conflate the term "10x engineer" with "an arrogant engineer who is only seemingly productive because of either obfuscation or generation of technical debt".

I think it's pretty clearly because those are almost always the people who will call themselves "10x engineers," and obsess about the idea of being better than everyone else. Good programmers don't do that for the same reason that "any man who must say 'I am king' is no true king."
You probably get access to at least one of them, not definitely
It's interesting, I use precisely the opposite approach. I work in passes, each one intended to make the room cleaner as a whole but not necessarily finish any part of it.

For example, let's say I've had a big party and the kitchen is a mess. Step one might be to put the trash can in the center of the room and dispose of all visible debris. Step two might be to move all remaining small objects to one side of the room to improve visibility, then repeat the trash pass. Step three might then be to wipe down the counters, which are now clear of objects. Etc.

I tend to work in a similarly incremental way on programming tasks. Do you have a more "touch-once" approach there?
Now I want to know what the controversial new policy was.
That doesn't make it a non-issue.
> What's annoying in this article is that it doesn't come right out and say that MS is considering offering a full Windows SDK with a Rust API. The closest I see the article come to mentioning this is: "Exploring the use of a memory-safe language such as Rust would provide an alternative to creating safer Microsoft apps.

Creating a fully Rustified Windows API interface would be a massive task. The WinApi is vast and parts of it are ancient. It's practically a living history of Windows. And that's before you get to the more modern COM and UWP stuff.

What they might offer is a more focused subset.
Compare this to a game like Beat Saber, where you can play any level, at any difficulty, in any order, and the computer just keeps track of your score. 99% of the game state is in your brain, so the only way to progress is by learning how to interpret the patterns and coordinate your body. It's also anti-addictive, because playing for more than a few hours is physically exhausting.
Why in the world would they give users the option to hide trending stuff?
For those of you only interested in what 107K mirrors are doing in the desert, it's the Ivanpah Solar Facility. The mirrors bounce sunlight onto solar receivers in the towers. http://www.brightsourceenergy.com/ivanpah-solar-project
Carbon monoxide detectors aren't just there because of natural gas appliances. They're also essential to protect people in cases exactly like you mentioned -- a temporary tabletop camping grill.

It's frightening to read about people who don't have CO detectors and put a combustion-powered generator in their house when the power (and thus heat) goes out in the winter. As of a decade ago the rate of CO deaths was around 400 per year in the US. Whatever it is now it's still terribly high.

For a sad time here's a random article from news.google.com when searching for "carbon monoxide generator" https://www.nbcdfw.com/news/local/2-Boys-2-Men-Dead-After-Ca...
Could start by incrementing the value, then checking if it's below the threshold, similar to an atomic fetch_add operation. PostgreSQL has RETURNING clauses, SQL Server has OUTPUT clauses, etc...
I initially thought the EFF was suing for publicity, knowing that the mandatory arbitration provisions and class-action waivers were likely to stand.

However, they do have some legs to stand on, since California's supreme court ruled in 2017 that injunctive relief could still be sought under an arbitration agreement. [1]

Of course it's likely that this ruling wouldn't be held up by the Supreme Court, which has consistently upheld/defended arbitration agreements, but one can dream.

[1]https://www.drinkerbiddle.com/insights/publications/2017/04/...
>Mathematics and programming are not really all that related to each other and I think there's an overemphasis on the importance of math in programming for 99% of applications.

This is the standard thinking of someone who's not deep into math but deep into programming.

The two are deeply interrelated and in actuality are one in the same. Knowing math provides deeper understanding of programming. If you want to get better at programming in general, learning every new frameworks or specific technologies is not the path to getting better. Learning math is the path.

I cannot show you the path for you to understand it, you'll have to walk it yourself to know.

Suffice to say that there is an area of math that improves programming in a way you can understand. Type checking. Type checking proves that your program is type correct, it comes from math. You know it, and probably use it all the time.

To extend this, there's this concept of dependent types which also come from math. Dependent types can prove your entire program correct.

That's right with math you can write a single proof which is equivalent to billions of unit tests that touch the entire domain of test cases, to prove your program 100% correct. It's a powerful feature that comes from math. It's in the upper echelons of programming theory / mathematical theory and thus not trivial to learn. If you're interested you can check out the languages: Coq, agda or idris.
I just hope people don't think the working class somehow has this all down pat and that this is merely a case of bourgeois overconsumption. As someone who comes from a ghetto and became a software engineer, I can tell you now that a lot of people I grew up with engage in combinations of racism, homophobia, transphobia, etc. The working class are only this candyland of authentic relations if you also accept all the socio-political tenets that go with that particular community. That's no better than being alone.

Edit - Removed some emotional language
Not related to the Article really, but in those photos there seem to be fires at the base of the Ivanpah solar collector towers... what's going on there?
It's back up now!
In many parts of the US this is so out of the norm that people would be freaked out by you trying to talk to them (SF, NYC for sure but even in Chicago which is supposed to have that Midwestern friendliness... it'd be weird and often unwelcome)
in a way Scuttlebutt provides this. Distributed social network. No central storage of anything. You post an image, it's on your machine, and the machines you connect to that have chosen to "follow" you. So, your baby pictures are on your machine and "Uncle Bill's and Aunt Sally's"

Realistically they're also on a "Pub" server which is just another client with a known IP that facilitates transfer of data between peers.

you could take it another step and build a personal image gallery / sharing client on SSB as the protocol supports (and has) many different apps that run on it.
The collaborative kind of setting really helps in creating a nice vibe (I am a weirdo in that I like my team, my teammates and my job in general) as opposed to being stuck in a room.

So you can't like your team if you like your team be productive in its own office?

But more importantly, as an ex-FB employee

Jesus, here we go.

I would rather have a well-equipped onsite gym and a roomy cafeteria and a free ice-cream shop than that space being filled with 100 'offices'.

Nothing prevents the company from creating that, aside from private offices.

Your post doesn't make any cohesive point, looks like humblebragging.
Intolerance also develops from increased consumption.
Mods: please add "How" back to the front - it's needed for the sentence to make sense.
SO's problem was they wanted to a community that rewrote manuals and documentation, rather than be a community that helped programmers answer problems.

That created a problem that has snowballed and is probably to big to ever really fix now. It is caustic, its not user friendly (even to users with experience).
No, that's exactly wrong. They don't have a duty to minimize waste, otherwise they would have a duty to not award golden parachutes or large executive compensation packages or even to pay themselves more than a few hundred bucks a year.
The extremely high prevalence of HOAs in the US indicate to me the population not only wants zoning, they want to go further than what normal zoning does. The conflict I’m talking about though is two fold: the voter voting in their own interest which is opposite to those of society as a whole, and the voter voting for gain in the short term while sacrificing the long term.
When I'm addressing bugs in the project I'm working on, especially when the bugs are described vaguely by outsiders, I start by confirming what I know to work. Take the most likely path I can conceptualize them reaching some sort of issue that's similar to their reported issue. While confirming what I know to work, if I'm not encountering anything that indicates that I'm on the right path, I switch over instead to what potential edge cases could be the issue. Focusing on the expectations, assumptions, and behavior I expect to see given what the options are provided (do they have the option to switch between two screens over and over).
It just does not work like that. Many people with stable jobs are lonely. Long hours means that you don't have connection with family even if you have it. You live separate life from partner and your children are not close to you.

One partner working long hours is enough for both partners to be lonely in marriage. Partner having time consuming hobby is enough for you to be lonely in marriage.

People in work are not friends, they are competitors, allies, enemies, whatever. They are not people you can talk with openly. Moreover, there are plenty of jobs where you work mostly alone or have only temporary relationships.

End result is loneliness.
3 random links, which I have a feeling, you completely ignored to follow and read.

> well regarded for its safety and peacefulness

You said these. I wanted to show that while many thinks Japan is so much better, both the basis of your comparison (US and is bare minimum public safety) and the target (Japan and it's phenomenal capability of keeping things hidden and silent) are flawed.

If you do want to pick a country to regard for safety and peacefulness, pick Switzerland.
https://www.youtube.com/watch?v=MiRAi2KOfRQ

His video on it.

The comments on it are pretty funny actually