skysight-inc/HackerNews huggingface dataset:
Almost everyone I know who uses spaces or tabs does so because that's either the default on their IDE, or for their language. So this holier-than-thou argument holds less water than the sun.

On the other hand, I find 2-space-indented code unreadable; in fact, 4-space wide indentation is the only size I find to be readable. I know plenty of people for whom that isn't the case. Using tabs lets the reader set the indentation level.

¯\_(ツ)_/¯

Edit: All the anti-tab arguments I'm reading below boil down to alignment. Don't align folks; there's good reasons not to align regardless of your indent style.
More spaces = more money

Awyis I'll be rich in no time!
They might be configured differently, and you usually can't align stuff properly using just tabs, you have to use a space or three somewhere. Also, you never know if it's spaces, tabs or a combination of them in existing code - which you may have not written yourself.

So in the long run, the indentation WILL get fucked up and you WILL miss something when fixing a bug in code that you or someone else wrote 6 months ago. And your 10 minute bug fix will take 3 hours. Multiply both values by a constant factor as necessary.

It's simply not worth the trouble.
Uber driver arrested, my 76yo dad left on the street at 1am
Ask HN: Called Uber for my 76 yo sick father, the driver got arrested for suspended license. My dad was left on the street at 1am. Had to rescue him. Their response: trip refund. Any way to publicize this incident?
unless you have anything aligned in columns then all bets are off (something which many code formatters can do automatically for you e.g. lists of bindings)
The problem isn't the hardware devoted to decoding or even executing instructions so much as the overall design and verification complexity. The existence of 286 call gates has implications throughout the memory subsystem and now when you're adding your TSX transactional memory instructions you have to think carefully about how they interact with call gates and whether you could be introducing bugs and make sure you have unit tests to uncover those bugs.
It's good that their data science team keeps tabs on these important matters.
What's your effective income tax rate (both state and federal)? Assuming your an average paid software engineer in SV, you have a marginal income tax rate of 28% (33% over $198k). Which means your effective tax rate is actually a lot lower than that. Assuming you are in California your marginal income tax rate is between 37% and 43%.

So I call bullshit. Marginal income tax rates are always higher than effective income tax rates. The only way you are paying a 50% tax rate is if you pretend ALL of your income is taxed at the 43% I mentioned AND you count FICA as a tax.
Your definition of "left" is yours and yours alone. Neither the left nor the right has a monopoly on individual freedom.
A note to my younger self (and everyone who reads this)
Construct and Structure a Go GraphQL API
Then call it that way. For example I wouldn't call libertarians left wing but they would be on your side regarding surveillance. But they wouldn't be on your side about environmental regulations for example.
Just shows the following for me:

An error occurred
This happenned when we were trying to connect to io.r1ch.net:22.

https://sshcheck.com/server/io.r1ch.net/
> The idea that one of the worlds largest companies would risk their entire business by secretly recording their users for ad revenue is absurd on almost every level.

Right[1]. Nobody makes risky[2], ethically challenged[3] decisions[4] in business[5]. Ever[6]. Doesn't happen[7].

[1] https://www.recode.net/2017/5/11/15628924/alphabet-waymo-law...

[2] https://www.yahoo.com/news/hampton-creek-serves-another-vega...

[3] http://fortune.com/2016/07/08/rise-fall-elizabeth-holmes-the...

[4] https://www.inc.com/business-insider/inside-lending-club-sca...

[5] http://fortune.com/2016/08/14/fraud-allegations-hud-skully/

[6] https://www.nytimes.com/2016/09/01/technology/a-silicon-vall...

[7] http://www.businessinsider.com/fbi-us-attorney-could-look-at...
I use spaces because literally every single time I've tried to propose tabs I get yelled at by someone... I generally prefer tabs, but I prefer having coworkers that don't complain more.
They did control for the programming language.
Tabs are only better for compatibility if you know that no one who touches the code will ever use spaces.
Making pretty diagrams from swagger JSON specifications of live APIs would be pretty awesome
Which doesn't matter.

Correlation still:

(a) implies causation (it's a necessary attribute of causation, just not a sufficient one).

(b) makes it statistically more probable for someone to be making more money than another, if they use spaces and the other doesn't
Oh, you're right. My mistake.

That being said I'd be curious to see "years of experience working in a team", because that's really when using tabs starts becoming tricky. If you're well disciplined and are the only person messing with your codebase the issues I mentioned in my previous post don't really apply.
I thought that too, but further down the article it seemed that wasn't the case.

I'd like to see the split of age vs tabs and spaces. I'm with a few other people that may say experienced programmers prefer spaces as it causes them less formatting issues over time when working in larger teams or on differing IDEs - and experience pays more.
Interesting. Let us know more about your stack and environment. Which language, os, editor do you use?
How on Earth does that work with their doujinshi conventions? Why is Comiket not getting raided?
I remember at least one of the old SSI D&D games had moments where if you failed to do the right thing the game was unbeatable. Not sure how that sort of thing would fly these days.
No Symbiote, his assumption is correct. You will pay 2x for calling french numbers, but still x for calling italian numbers. I also tried these days (my operator activated this regulation last week). I went to Italy with the german card and I could call german numbers for free(that's in my contract) but I was spending more to call italian ones (2 cent btw).
It may also hint at the years & depth of experience & skillset.

Those who grew up in a shell often ended up building a much more diverse set of skills, the commonality of which is a lot of text based files with a favourite editor.

This extended to using tools like IntelliJ, Eclipse, etc.

Hope a follow up of this study can include the IDE's and if that has some say in this.
A Visual Tour of Facebook's Head Office for Afrika
Efficient multi-stop routes with the Optimization API
Almost certainly a result of the spaces cabal and the (often unspoken of) prejudice against tab users. Don't think you make hiring decisions based on tabs vs spaces? Well you're part of the problem, then.

I'm building an app to help you easily email your congressperson and ask them to create legislation requiring space/tab equality. This has to stop. Please consider donating to my Patreon.
EE are good with tethering and roaming speeds.
> because people will find it regardless

In my experience, if you have an SSH port accessible from the internet, it has been probed today by a few Chinese/Russian IPs. Unless my raspberry pi home server is somehow a high value intelligence target...
Unless the project you're working on has an Editorconfig file and your IDE supports it (VS and IntelliJ do by default).

In this case it is supposed to override your IDE settings.
ESCORTS MPELLA – ESCORTS – ESCORT ATHENS – ESCORTS ATHENS
I tend to agree, but aren't most of the new hot languages whitespace sensitive? Are there formatters for those kinds of languages?
The post posits that, to handle the burden of legacy instructions, an "obvious technically-appealing approach (is) starting over with a clean-sheet architecture".

The approach that immediately occurred to me would be have a layer that translates the legacy instructions into modern equivalents; without as much concern if they are slower to execute in their new form (they're legacy, after all, right?).

Of course, doing something like that is probably nowhere near trivial, the devil's always in the details.

But I bet this is already being done at the microcode level. Stepping things up to having a published agreement about which instructions were globally considered "legacy", and guidelines for what their equivalents were, would go a long was towards allowing a general feeling that an ISA was evolving, rather than just accumulating weight upon weight.
The time savings alone probably paid for itself in two days of use.
Yes, it's a requirement. If you're using a preprocessor you're not supporting async, you're factoring it out.

Otherwise the argument collapses to: we don't need any of these features, we just need NAND.
If we would all just agree to set our tab width to 1 space then we could live in harmony...
Show HN: Browser-Based Blockchain Nimiq Token Sale
Afaik, tar files do not contain a central directory, so finding a certain file in a tar file requires skimming through the entire archive.
It's pretty much an unwritten rule that a sarcastic joke on the internet with sufficient exposure will get a response by someone who didn't get it. Using /s really kills the fun (and whole point) of using sarcasm so it's a trade off to accept these comments will happen.

I'm impartial to downvoting as to reply literally doesn't usually add to the conversation, which is generally the point of downvoting. Losing karma shouldn't hurt your feelings.
Is Advertising coming to an end? Our take
That's the reason I use tabs for indentation? 4 spaces will render as 4 spaces, 2 as 2.

1 tab will render to whatever the next programmer prefers, it's only courteous.
Uber is now being run by a 14-person committee
Alexa, What Makes You So Habit-Forming?
Additionnaly diff/merge tool tend to be inconsistent. So it looks good on your editor, but when I am doing your code review, alignement is totally broken. In theory, it should be easy enough to ask people to have consistent settings across all tools, but it is a bit like herding cats. Sadly most people do not even realize it could look differently without their settings. (I could ignore whitespaces when doing reviews but this is an open invitation to break everything)
I strongly think \s should be enforced in every post in HN.\s
Tabs for indentation; spaces for alignment; I don't know why you'd want to insert tabs in the middle of a line.

Also, most people who do have several years of experience under their belt will tell you: don't align. Mid-line alignment is a waste of a maintainer's time to have to update alignment blocks every time you add/remove variables... and statement-alignment is unreadable[1].

[1] https://github.com/pennersr/django-allauth/blob/a44134688f5b...
Jump into Rides with Strangers and Save Money on Your Transport Costs
What Restorative Justice Can Teach You About Architecture
Looking at "paths", shouldn't those @types (history, redux & react) be picked up automatically, at least as of TypeScript 2.0?

Also:

"*": [ "./ClientApp/types/*", "*" ]

I like that. I may have to add it to my app and get rid of our typings.d.ts (currently included through "files") once and for all.
Solving Computer Illiteracy in South Africa
Sounds like a good time to start developing in Whitespace.

https://en.wikipedia.org/wiki/Whitespace_(programming_langua...
Step 0) don't invest in things you cannot hope to grasp the fundamentals on based on hype.
Yeah but at least you have some ideas laid out for you. I'm always looking for a side project, but I never know what people need.
Something like Iceland or Sweden?
Depends. As I use to bicycle all over my hometown during my college days rim brakes could be a problem when it rained or snowed. Mostly because the obvious problem of getting a solid grip on the rim is impeded by the moisture. I'm not sure if a disc brake is any better in this capacity but if it is even marginally better then if I was a PD using bikes to get riot police around I would accept the cost of the maintenance of a disc brake over rim ones.
But how many spaces for indentation yields more profit? That's the next question.
I don't know the anwer to that, but why would it matter?
If you stop using Facebook, why would you care if they collect data on you from friends? How is what they do with it affecting you? You're not using their product! You know how often I wake up worried about what some company I don't do business with knows about me? Never.
You mean the police just left your sick old dad on the side of the street? Heartless Bastards.....You think they would have called him a cab.
>For a substantial part of the population, this happens:

For an even more substantial part of the population, the "I'll pretend like I know things just because I can look them up in wikipedia or some such source" happens.
> It makes no sense to me why the machine code of a system must be assembled on that system.

Assembling the machine code of a system on itself means it's independent of its "parent" system. If I can't run the compiler on my new architecture (including compiling itself), I'll forever depend on having another machine with a different architecture to compile things. Yes, usually it's done by writing a new backend for an existing compiler, then using the new backend to cross-compile the compiler itself, and finally running the resulting compiler on the new architecture; you don't have to write a whole new compiler from scratch, unless you're worried about "trusting trust" attacks.

In the same way, when compiling a new version of a compiler, having the recently-built compiler build itself again makes sure it's independent of its "parent" compiler.
Goldman-Backed Startup Circle Launches No-Fee Foreign Payments Service
13 Reasons Why You Should Learn to Code
But the right wing voters continue to die off at a pretty decent rate every year. So as long as the young actually bother to vote, I don't think it'll be very long for this trend to reverse itself. A lot of "left" parties do seem to ultimately answer to corporate interests though.
Ask HN: What software do you use to do screencasts/tutorials?
U.S. Halts New Rules Aimed at Abuses by For-Profit Colleges
True, but the same free market allowed the phone companies to charge exorbitant prices for EU roaming.

Telenor and Telia wanted to merge in Denmark last year, but wasn't allowed to, because it would hurt customers, so the free market isn't really in play anymore.
Use the arrow keys to move around a bit. Does it move once space at a time or jump?
Definitely the former. Anyone who indents there code by slapping the space bar repeatedly is a monster and should have their hands cut off.
>you usually can't align stuff properly using just tabs

Huh? Things indented to 1 tab will align with everything else on 1 tab. Things aligned to 2 will align with everything else at 2 tabs.

>you have to use a space or three somewhere

Why? Tabs will indent with other tabs.

>you never know if it's spaces, tabs or a combination of them in existing code

Well they should never be combined for indentation. Unless you mean using tabs for indentation and spaces for alignment, but this wouldn't create any issues. Using tabs for spacing is objectively poor form.

I open space- and tab-indented files in my IDE, they are all converted to tabs. It is always consistent.
I mean, yes to those things. I agree. I was sort of meaning what are they to do to stop money laundering. 'Cause like, criminals are always going to exist and the best place to catch them seems to be when they try to clean up the money.
Microsoft Pix can now turn your iPhone photos into art, thanks to A.I
Yes, but since it's a human situation, you can reverse the causality link. Imagine people use spaces for an underlying reason that gives them naturally a higher salary, like Harvard Legacy applicants are taught to use spaces, they don't become wealthy because they use spaces, but because their parents were wealthy. And wealthy people hire the kids of other wealthy people with big salaries. Clearly there is no space => big salary.

If you are not born in the nobility that uses spaces, but if at first contact the people in power see you using spaces they might assume you are born a noble, and lower their anti-commoner guard for you and you have a greater chance of entering the nobility without a proper title (don't forget to slam the door after you, nobility only works on exclusivity).

So there is a path for taking the implication completely backwards and still reaching the expected outcome.
Might also be that the space people, being irritatingly pedantic also include bonuses and/or stock compensation , while the tab people, always lazy and all over the place, just barfed the first number that came to mind.

The answer, as always, is: lisp with parinfer - makes the whole debate irrelevant.
I totally understand your concern.

However, here's my perspective:

- if the server is public already then black hats can simply probe your networks (IPv4 is not that big) and find the servers by themselves. The odds are that hackers are probably not interested in your company anyway.

- there are people who don't care about security of their servers (or rather are lazy / naive) and might find this service useful. Even if we were black hats it would at last alarm them that something is wrong. If they ignore the warnings - well - god help them.

EDIT: typos
Killed the fun with the second one.
Known as Poe's Law [1]

[1] https://en.wikipedia.org/wiki/Poe%27s_law
Google Drive will soon back up your entire computer
I hear that phrase a lot, but is that how it actually works when things like this happen, or is it just what people say?
Try to compile gcc from a gif of a screenshot and see how far you get.
GameDev.net Turns 18
The Tools You Get with Cog: The New Drupal 8 Base Theme
Wow, thank you for the perspective. I've been feeling similar, but on the spectrum my situation is not so bad. Do you have a blog or contact? I'd be glad to get to know you.
There is no need for the US intelligence do to that, looking at the choices Telegram made on its own.
No, it is not. I meant what I wrote.
Nah, they all give you tabs once you set them up correctly.
For portability you should use /s, not \s. \s only works on Windows.
Thanks again :)

I have no set plan yet (the site is 1yr old)... SSLPing monitors almost 6000 servers daily, 250+ users... so maybe I'll follow your advice with some kind of support plan (I was thinking of donations)
>"It would be naive to think you can run an independent/secure cryptoapp based in the US."

This seems to be a shot at WhatsApp and Signal, implying that they have loopholes that allow the FBI to snoop in. I'm not sure how true that is. This might be an attempt to deflect from the fact that Telegram uses a home-baked encryption protocol which might be insecure, while WhatsApp uses the OWS protocol.
Oh for pete's sake, the die size cost for supporting the legacy x86 instructions is a fraction of a percent on a modern multicore CPU. This is because the translation hardware stays relatively fixed (in terms of size and complexity and transistor count), while Moore's Law keeps adding more hardware to each core and more cache, etc..

Take a look at this annotated die shot of an old Pentium 4:

https://i.stack.imgur.com/QK4gm.jpg

Up at the top is the microcode memory and microcode sequencer. That's the hardware that's responsible for translating all those old, large legacy instructions. It's not really much space on the P4, and the P4 Northwood is a 55-million transistor CPU.

Nowadays, depending on if you're talking about a mobile part or a higher-end desktop or server part, the CPUs have between ~1.5 billion to 2 billion transistors.

Again, that microcode ROM just doesn't grow very much as you add instructions, even a ton of instructions. And this is, well, one reason why Intel just keeps adding instructions. It's practically free.
What Is a TinyLetter? Like Ye Olde Blog, but Less Public (2016)
The financial crisis of 2008 really shattered my world view. Until then I thought there was a free market where the companies that do good business survive. Since then you almost hear every week how banks do stuff that would have killed pretty much any other company but banks get away with it. This is just unbelievable.
>We do things for irrational reasons and come up with persuasive arguments to ourselves and others as to why they were rational.

We do that sometimes yes, but it's not the only thing we do, sometimes we actually end up doing pretty reasonable things like valuing our environment more.

>Similarly, I think it's worth reflecting on the drives and forces that led you to feel this way about children. In some sense, it's a kind of 'sickness' to not want to - maybe that's reflected in your comment about your genetics.

It's the logical consequence of me growing up in a country with something that resembles a social security net. Historically one of the main reason for humans getting children was old-age/disabled security and the additional income for the family generated trough the free labor.

This function of offspring does not exist anymore, at least in such a direct relation, in most countries with a social safety net.

In that regard, drive is a rather meaningless emotion we manage to keep in check the majority of the time. Why is that considered sick? Usually, it's the other way around: People who can't keep their emotions in check are usually considered unstable.

>In general though, I think there's a tremendous societal malaise, a social disease, that lays pretty heavy on a lot of people.

Sorry, but what are you referring to there as societal malaise? That so many people don't want to have children anymore? I think it's the sensible reaction to the global state of affairs.
I have never seen this work correctly in practice, where a code base with tabs looks "OK" when opened on an editor with a different tab width. E.g. some coding styles will have subsequent lines line up (like multiline method params), and everything looks horrible with a different tab width.

If anyone can post a sizable production code base that uses tabs that DOESN'T look like shit with a different tab width, I'm certainly open to being proven wrong.
There was no terrorism prior to bloom.bg/1O04ymn
Trump's election has spooked rational people into action. And sadly, it's done the same to the irrational (given yesterday's shooting in DC).
Let me put it another way: I don't understand your argument, so I clarified and asked if your argument was X. You said it's not, so what is your argument?
And here I was, thinking the title meant browser tabs vs OSX Spaces.
I'd say an awful lot of things in many places, but parent is probably talking about the employees of Facebook in Pakistan.
>I wanted to create a task for my web app to run every 15 minutes

Cron would probably be a better bet then.

I love celery but I'm not a fan of celery beat.
Assuming this isn't just PR, in some ways this is scary and disheartening.

But my first reaction was "Cool, our government really cares, is creative and has the necessary power to get things done."

For those of you who've worked with government, you've seen how insanely difficult the procurement process is. Being as specific as needing to get competitive bids for toilet paper purchases, etc. So the fact that they could get potentially large amounts of bribe money means (a)This goes to high levels in the organization (b)They've probably done this before.

I wonder how much they offered?

And I wonder how many other pieces of software have backdoors. I would think the first things they would try and get access to is (a)Certificate issuers and (b) VPN software.

Do we know that Godaddy,LetsEncrypt, OpenVPN, Cisco VPN, Juniper, etc don't have backdoors?
GTA V Steam listing flooded with negative reviews after modding cease-and-desist
CDs are still big in Japan.

https://qz.com/711490/why-japan-has-more-music-stores-than-t...
I'll take a look - it will take some time as I am currently swamped. Can you please check again in few days? Thanks!
Show HN: Contact Hub. A personal CRM for iOS
Well that settles it.
There are still 24-bit systems used for new development.