skysight-inc/HackerNews huggingface dataset:
Use tabs for indentation, space for alignment, why do it anyway else?

I especially like Linus Torvalds view on indentation:

"Tabs are 8 characters, and thus indentations are also 8 characters. There are heretic movements that try to make indentations 4 (or even 2!) characters deep, and that is akin to trying to define the value of PI to be 3.

Rationale: The whole idea behind indentation is to clearly define where a block of control starts and ends. Especially when you've been looking at your screen for 20 straight hours, you'll find it a lot easier to see how the indentation works if you have large indentations.

Now, some people will claim that having 8-character indentations makes the code move too far to the right, and makes it hard to read on a 80-character terminal screen. The answer to that is that if you need more than 3 levels of indentation, you're screwed anyway, and should fix your program."

https://github.com/torvalds/linux/blob/master/Documentation/...
I'd like a bigger emphasis on efficiency. Space heating/cooling in particular, your first big win is to increase efficiency before you even start to think about renewable. If you spend money to cool, increase ventilation, shade, find ways to reduce heat buildup in the first place. If you spend money to heat, insulate, wear more clothes, use public spaces more (share heat), shut doors. For both, use good thermostats or smart systems to manage heating and cooling.

In general you see a lot of advise for dealing with symptoms of our over consumption, not the cause. Buy less (toys, food, clothes, cars, travel, whatever). What you own, use it for longer, fix it, do without.
Day Thyroid Diet
The symptoms of hypothyroidism include. fatigue, feeling cold, depression, daytime sleepiness even after sleeping all night, decreased heart rate, memory loss, difficulty in concentrating, muscle cramps, weight gain, thin hair, dry and rough skin, heavy menstrual bleeding and infertility. Many of these symptoms may occur normally with advanced age, so if a person has one or two of these symptoms there is probably no reason to worry. However, in the presence of more than 2 of these symptoms you should seek medical advice.

https://shockingtruereviews.com/4-day-thyroid-diet-reviews/
I wish the article spent more time on the preferred types of trees other than the Sitka. The Sitka was chosen for its environmental (sucks up lots of carbon, grows well in Ireland) and economical (quickly produces renewable lumber jobs and products).

But if there are preferred trees, I would like to know more about their differences from Sitka. Do they grow 10% more slowly? Or product 10% less lumber? Or require 10% more maintenance?

I recently visited Ireland and walked through some awesome woods. But the local houndsmaster explained that almost all of the trees are non-native. And that wasn’t a problem.

I don’t think non-native is a self-sustaining reason by itself. I’m sure the Leitrim group has more info on what are better trees for Ireland and I would like to see the climate trade off analysis they did to show how other trees should be used.
second that.
half of my friends using iphones dont enable imessage.
thus penetration (in my circles) is way too low to make it useful.
There's a typo on your page. Where it says "this require reworking" should be "this requires reworking".
This. Easiest way to circumvent the 4th amendment. Get the dog to bark.
How often do you typically switch teams at a Big N company? I recently graduated and started working at a large engineering company and it seems that most of my team members were hired on to my team and have stayed there since.
I do this with my family too, the ones that really hard to accept is to learn things slowly, it's really demotivating. So in the end i switch learning 2-3 stuff to keep it interesting
>Linux uses symlinks to system library files in order to allow in-place atomic replavement without affecting running processes with open filehandles to earlier versions

Nope. If you rm a library, the processes using that library keep using the old library. Symlinks have nothing to do with it.
India's 'all is well' approach to life
Teletype as a Linux Terminal
Yes, there was always that weird nationalist claim that GDPR was just a protectionist measure rather than a sincere attempt to achieve its stated aims.
Despite adding a valid perspective, this is mostly clickbait.

A file is just a storage format. The real issue is that IDE's don't render files according to user preferences, be them TABs or spaces, or PascalCase vs snake-case. When saving they convert back. No need to "get everybody on the same page" and in the process create winners and losers.

Unlike laws (or like laws), technology has the capacity to create win-win situations. This is a good example. So the real question is why we insist on debates, instead of actually doing our jobs. Congress can only solve so much.
Huh? Why wouldn’t it protect you from malicious modifications to the image in the future? Past mods might be a problem, but these are the official images we’re talking about.
Depends. Are we printing the money? If so, how much?

If we print enough money, eventually we will get inflation...
I'll drink beer, but it's not my favorite activity to just go do. I hate how so many of today's social functions revolve around alcohol.
Why do different tab settings result in inconsistent formatting? Surely it always inserts a \t into the file. Seems to me the only way it's inconsistent on-disk is if those people are actually writing spaces (and not agreeing on how many). If you're not going to agree on an indentation width, surely tabs are superior? Conversely, if you're going to mandate an indentation width, surely it's just as easy to do that with tabs as with spaces - and more flexible?
Also, a bit on the test proving scalability (over 1MTPS using the BTC blockchain)
https://www.radixdlt.com/post/test-method-part1/ and
https://www.radixdlt.com/post/test-method-part2/
You might be interested in the Irony Curtain [0], which came out fairly recently. And though it's a bit debatable if their games could be considered point-and-clicks, I still hope someone pops up to fill the void left by Telltale Games as well -- Tales from the Borderlands was truly an awesome experience.

[0]: https://www.gog.com/game/irony_curtain_from_matryoshka_with_...
I'd go with

def hello_spam():
» while True:
» » print(
» » » "Hello",
» » » "World"
» » )
What about changing the default USER in the dockerfile?
I dunno, the fact that he was an authoritarian quasi dictator akin to Putin might've had something to do with it. He destroyed and oppressed anyone who opposed him, shelled civilians in the civil war, and let's not forget his personal guard, https://en.m.wikipedia.org/wiki/Amazonian_Guard , which was straight out of a supervillain handbook.
The solution is to mix tabs and spaces; most editors can be configured to clearly show tabs. Indent with tabs, then align with spaces. Never place a tab after a space.

If you mess up, no big problem, someone else will see it and fix it. People screw up space-alignment all the time anyway.

Or, better still, don't visually align stuff. It's annoying as hell to maintain unless you use an IDE, and has a tendency to bunch stuff up toward the right margin when function names grow long. Just start the argument list indented by one tab stop on the next line. More visually consistent too.
I remember seeing this a while ago: https://ukupat.github.io/tabs-or-spaces/ which is basically what you're talking about.

Of note are Go and a few others, Go because it generally uses gofmt, which uses tabs, as far as I understand.
What is the counter-argument?
So: now what?

This is an absolutely vast fine. There have to be companies around the world that are all of a sudden going to take the security of Javascript seriously, who already have a big web app that pulls in hundreds of scripts compiled from tens of thousands of NPM modules. Is security band-aiding going to be applied, or are we going to have to see a radical re-architecting that acknowledges that every dependency is a liability as well as a benefit?
Ghadaffi's relations with the Europeans had actually improved substantially in the run-up to the civil war. Even the UK was moving to normalise relationships, which was a pretty big deal given the bombing of the plane over Lockerbie.

It was the Arab Spring and internal strife which kicked off Ghadaffi's downfall with the events at Benghazi getting the international community - lead by France, ISTR involved.

The UN kicked Libya off the Human Rights Commission, following a report by Amnesty documenting warcrimes on the government and rebel sides and it all degenerated into a nasty civil war. I don't think it is correct to say that he was "ousted" by Western forces in any particularly meaningful way.
Would love to see a vscode plugin
Same with Ukraine, the media stopped caring as there's no "news", just another ongoing conflict.
The eastern states came a bit later in the union so that could be a reason for the lack of EU institutions hosted in their country. But I don't think that's the issue. The vast majority of the US gov institutions are hosted in Washington D.C and I don't think this makes Texas residents feel less American.

As far as the top positions are concerned I believe it's an issue of candidates and the policy of the host country. Here is a good read about this:
https://www.politico.eu/article/brussels-overlooks-central-e...
Anyone else seeing all the 9s in this article replaced with em dashes? It's really confusing me.
“Many people in Africa live in huts”

This might blow your mind to hear but the continent of Africa is comprised of many countries, several of which have had electricity for a long damn time, my friend.

Some even have, wait for it, CITIES. That people live in. With houses made from brick. And internet access. The fast kind even!

You'll have to do better than acting as if Africa can be sufficiently defined by its least developed nations.

Or, at least, you should have actually read the link--at least then you would have seen how the "many people in Africa live in huts" line isn't really a helpful assertion to the discussion the rest of us were trying to have about Pan-African economics.
Janus Kinase Inhibitor Market Demands and Growth Prediction Till 2026
Yes but this is in a huge part self-inflicted; with thugs like Orban, Kaczynski, Babis and their idea of the EU as a source of money without any conditions attached and their destructive behavior towards institutions both national and supra-national, it's little wonder they could not get their people to the top posts.

Babis even explicitly said they could find anyone to suggest for the top posts and Kaczynski's party tried to sabotage Tusk at every possible turn in the last term.

Point is, many people in their countries feel very differently to the leaders about the EU. Many work and marry abroad, there are lots of people from other EU-countries in eastern Europe etc. We are indeed growing together even if it doesn look like it on the surface.
Why do we care about speed here? Surely reliability and readability are paramount features...
So, on PC hardware, outside of Windos and Macos, Widevine it's the only option available and it's capped at 720p, but the same DRM is used on Android and it's OK to stream at 1080p...

P.S. on Netflix, I should verify on Amazon Prime

Edit: after posting I recalled a plugin for Chrome/Firefox that forced 1080p playback on Netflix, the github page has the details https://github.com/truedread/netflix-1080p
Why Inheritance Makes Me Cry
Well, there is nothing I would dispute about this claim, this is a capitalistic world after all.

But as regards to the comment about being 'expendable', I am certain to get a job out side of Amazon pretty easily depending on my own skill. In other words, this is a market that both companies and employees can play.

Amazon's strategy isn't focused on retention of long term employees, then it is its own choice, there is always a trade-off.
"The Content Publishing API is in closed beta with Facebook Marketing Partners and Instagram Partners only. We are not accepting new applicants at this time."
> more regularly fall back on gut feelings and intuitions

also known as heuristics. And let's not pretend that younger people approach every problem through some kind of rigorous logical analysis. Young people round here look less prepared than ever for what awaits them (yes, I know we've been saying this since Roman times etc etc.)
Surely version control solved this issue. Use whatever you like. Have a standard for the repository itself. Auto-convert if and when necessary.
Quit making up things I never said.
I'm glad to see a solid fine given for a data breach.

I've worked on projects in this sector before, and it's a common story to others - client cuts cost as much as possible, until the risk of an inferior product has grown too high to handle. It's a race to the bottom, and security rarely comes into consideration outside of a basic pen test being mentioned (if it happens).

Still, I'm quite annoyed at the lack of follow-up against what is blatant bullshit from BA. When your business is so heavily reliant on taking payments online, their security procedures should be airtight. I can understand that it's quite a clever hack, but it's security 101 to know what third-party code is doing on your server.

The fine is good, but it would be nice to enforce rules where a company caught in a data breach has to accept liability and not contest the severity.
No, it's not as simple as that. People use brick to mean slightly different things - sometimes they say hard/soft bricked instead of bricked. And you'll even find some people who say what you say but admit that it was still the correct word to describe devices which can only be fixed by disassembling the hardware and using jtag, which "brick extremists" probably wouldn't allow.
I don't want to be argumentative at all. I find what passes at one company doesn't at another and it's generally an interpretation of style that can be conformed to. For example, I am of the leaning that one line should do one thing only, and should be explicit -- which is different then many modern practices. Another example is array manipulation which, depending on the operation modifies in place and I reassign for clarity.

Does that make me a bad engineer? No. It makes me experienced. If any of those things aren't wanted at a future employer I can change to match the style.

To reject based upon that when the style isn't defined by tooling is weeding out great people who may not confirm but have the ability to.
A smaller version of the same idea was Qattara Depression Project which has more chances of being built https://en.wikipedia.org/wiki/Qattara_Depression_Project
Why would you not use your real name?
You forget that life expectancy for native populations aren't due to them to not living long lives, but more due to the fact they have more deaths at childhood (due to stuff like bacteria infections and other diseases we now prevent). So you have a big chunk of population dying young. Also these cultures can be more violent and often have wars killing a big chunk. But past that bump it's not as short as the average (it's far larger). For example the Native Americans if one of them lived to 40, he could expect to live to round 70. https://www.reddit.com/r/AskHistorians/comments/12o4py/what_...

70 is easily a cancer age. Going by the current research at https://scienceblog.cancerresearchuk.org/2015/02/04/why-are-... one can expect 3/4 people over 60 to have cancer. And it's increasing.

So yeah the not living long enough doesn't really hold water. Also juvenile cancers weren't really a thing at all until the modern world (more likely bacterial infections until we discovered penicillin were more likely for juvenile deaths).
Ah yes, that highly secure document from the notoriously thorough organisation, UK local government. Nobody could possibly forge those.
Ruby standardized on 2 spaces per indentation level.
Introduction to Dragon Ruby
Centennial of the First Transcontinental Motor Convoy
No. Title should read, “malformed Message boot loops iPhone.”

There’s nothing bricked about this. There are no levels of brickedness.
Why Benchmarking Distributed Databases Is So Hard
Open-Source Slack Alternative Mattermost Gets $50M Funding
Why yes i believe it's pretty wet, in its liquid and gaseous form. I in fact threw a bucket of water on 100 people and all of them agreed "i am wet"
There are plenty of OSes that don't support POSIX, or if they do, they only support the parts they care about.

So no, Windows isn't the only one that doesn't care.
After Developer Outrage, Ubuntu Decided to Keep 32-Bit Partially
I was going to mention this, but frankly it is just a style preference. No real difference between either variant. Also, you can do something like:

mountpoint -q /proc || {
mount -t proc none /proc
chown 0400 /proc/slabinfo
}

if you need multiple statements.
>Why do different tab settings result in inconsistent formatting?

Because some programmers also use tabs for cosmetic alignment. (The other thread also illustrates some examples.) It doesn't matter if that's semantically incorrect. A lot of it has to do with muscle memory; the programmer's brain is on automatic pilot and therefore the left pinky finger just taps <tab><tab> ... to line up function parameters or the values of variables. This type of alignment is not always round-trip perfectly preserved with code formatting utilities that covert tabs->spaces->tabs.

(In other words, some programmers sometimes presses <tab> not for its semantic meaning but as a mechanical shortcut to quickly move the cursor to the right an arbitrary amount.)

One can make an airtight case for the rational purity of tabs but the problem is that the real world doesn't always want to cooperate.
I honestly don't understand this sentiment (other than shamelessly plugging your posts, which is ok).

The tradeoff in any packaging mechanism is always "pin everything to the byte" for maximum security and minimum updateability vs. "blindly update to latest without thinking". We normally develop with the second and deploy using the first and docker is no different.
Yeah, seems like there is a second beta out since 20th of June: https://www.postgresql.org/about/news/1949/

But no full version released, yet.
Golden Token – A Self-Destructing Token
> Release date: 2019-??-?? AS OF 2019-05-09
I disagree. They're both essential and individuals doing nothing and insisting that political/government intervention is the only solution isn't going to get anywhere.

Corporations and governments will take notice when individuals change behavior, if you stop buying products that contain lots of single use plastics, companies will stop making them. If you divest our pension and savings from any company with an interest in fossil fuels, they will notice and change. If you half your meat consumption and eliminate beef, it will be noticed and a change will happen.

There is massive power in consumer action, particularly for those of us in countries that are really the problem (the rich ones).
From the link:

> Release date: 2019-??-?? AS OF 2019-05-09
> E.1.1. Overview
> Major enhancements in PostgreSQL 12 include:
>
> big item
>
> The above items are explained in more
> detail in the sections below.
It's way better than alignment with spaces. Simple rules for indentation of multi-line statements have less diff noise and subjectivity than aligning with spaces.

The only exception is Lisp...because it's lisp.
I thought there was two different uop ISAs on big x86 cores with two different purposes these days. One is pretty close to the original instructions, just decoded and fixed width (on AMD at least, this is what's in the uCode ROM). Then those are cracked to another ISA that the ROB knows about because instructions will cross functional unit boundaries.

So in say 'rol mem_addr, shift', your inner ISA would be cracked to something like.

ld reg_temp0, mem_addr
rol reg_temp0, shift
st reg_temp0, mem_addr

This is all hearsay though; I could have certainly misheard/misremembered.
You're quite right, and I address that here: https://news.ycombinator.com/item?id=20381842

tl;dr don't do that because it's ugly to conflate two purposes of indentation in this way, but if you absolutely must conflate them then do so explicitly with tabs and spaces, as you describe, and use an editor which makes the difference visually apparent.

This actually boils down to an argument in favor of tabs, because the additional semantic information allows the editor to present you more visual cues to work with.
> Solution: rebuild once a week from scratch.

I’ve noticed the official docker images don’t seem to do this. E.g. the official “java” images seem to be uploaded and then are never changed, the only way to get a newer underlying base system is to upgrade to a newer version tag release. Is this true of all the official images, I wonder?
In an age where POSIX is sliding into irrelevance in what concerns mobile and embedded OSes.

"POSIX Has Become Outdated"

https://www.usenix.org/system/files/login/issues/login_fall1...
Thanks for the feedback, definitely need to make the subreddit selection easier. I like the idea of making the whole sign up section visible right away too. I will work on it.
Nokia 9 Pureview
Anything with a garbage collector. I don't want to manage memory manually anymore.

But why are you asking?
Okay, followup question -- when was the last time anyone saw the key change and actually did freak out?

If you're using VMs, keys change all the time. Maybe some people here are good about security and would freak out, but I'm thinking about workplaces I've been at, and that's not a typical attitude for developers that I know. If I set up a VM at work and changed the keys on it, I doubt my coworkers would even ask me about it when they saw the warning.

And I'm literally right there -- they're not going to file a Github issue for a developer they've never met asking why the key changed and then stop working until they get a response.

To push the point even more, how many people on here actually wrote down the SSH fingerprint that they got the first time they connected to a remote machine? When you got a new laptop, did you transfer the keys over, or did you just blindly reconnect to every VM again?

Package managers are meant to help you manage installs on multiple machine, so it's not just the first time you use a package -- it's every time you do a fresh clone the repository, it's every time you throw away your cache and do a new reinstall over the network.

And it's based on this idea that even when doing an update, package managers and developers won't just blindly hit OK if they get a notification that a key changed, which I just don't think is the norm, even in technical circles.
We found that media would pull in spikes of about 20-100 downloads. Whereas a post on a Facebook group would get spikes of 800-3000 downloads. Organic search brought in a total of 15k downloads, which later dwindled to very little after we had a nice brand name and not just "Diet Recipes".

I wouldn't bother with Product Hunt, reporters, etc, because they likely won't get it.

So I'd say find groups that are your target market and show it to them. Who did you have in mind when you built this? Where do they hang out?
Spaces always work online in a text box whilst spaces do not.

Pressing tab in here doesn't give me an indent but changes focus.

But spaces always work
I don’t see how the FAAs assessment that the 737 MAX was easier to put into a stall for greater that 12 degrees AoA is the same as a “reversal of controls” or a “sudden or excessive reduction of elevator control” stipulated in 25.253

What am I missing?

I am not an aviation expert in any sense.
Works on my FF 69 as well, but the text select behavior is weird at best.

The page did NOT work on my Edge 44, even after disabling uBlock.