skysight-inc/HackerNews huggingface dataset:
> Just from a teaching perspective. I help tutor for CS100 at my university and a large part of the errors I have to deal with are whitespace errors. People don't understand where a block starts and ends.

On the flip side, when I was in school and a peer asked me to look over their code, it was usually an unindented mess and they still very much had no idea "where a block starts and ends" despite the braces.

When Python was introduced, I was hopeful that a technical demand that indentation be done properly might actually help, pedagogically. On reflection, imposing this at linting with a brace-based would probably be better still, as the error messages could be substantially better targeted.
I agree, and I consider TypeScript to be twice as fast to develop in as plain JavaScript just because you don't need to:

* Look up member names

* Look up object hierarchy structures

* Run code (or tests) to verify that you've done the above correctly

When the compiler knows the types, it can bring your code up to 90% correct. Half the time you don't even need to specify types: TypeScript can guess them from context.

You need to specify parameter types and return types; if you're declaring a variable without initializing it, or assigning it an empty array or object, you need to specify its type. Other than that you generally get type inference from TypeScript (at least as of 2.0).
OpenStreetMap needs more than money. There are a number of challenges that come with success as those with different ideologies converge.

* Paid mappers

* Automatic edits/bots/craftmapper debate

* CoC/inclusiveness/diversity arguments

I think this is a critical juncture and care should be taken and lessons learned from communities like Wikipedia who have had their quality lessened by the difficulties of managing human communities.
This is a bit of a silly complaint, you're too scared to knock on your neighbour's door and somehow that's amazon's fault?

I'm having the opposite problem (UK also), my amazon deliveries are fine but roughly 50% of my royal mail post is going missing (bank statements, credit cards, gig tickets). Multiple complaints, nothing has improved.

Sample size of 1 says very little. My big complaint about amazon deliveries is the silly 8-8 time slot they allocate. Who on earth spends 12 hours in one place every day?

EDIT: Nice downvotes. Someone complains he has a drug dealer for a neighbour and that's amazon's fault and somehow that's my fault?
The only thing systemd solves, and I will say this is a big problem, is full process management. It also unifies startup scripts which does make it easier to support multiple distributions with a simpler packaging process. I'll give you that too.

The scope creep is really bad. It's not just bad, it's terrible. I don't want a program that's an init, and replaces xinitd and replaces my logging system and replaces cron. That's all totally beyond unnecessary.

Even with full process management, I'd hardly say it is the best. I have had cases where I stopped a service on a systemd box and it did leave child processes running. It's command line tools are terrible.

In fact it's this creep that keeps people from even being able to make drop in replacements. uselessd was a fork that kept up for a bit, but lost maintainership. With systemd being RedHat funded for full time development, it's very difficult for independent programmers to put in the time to make anything that can get adopted in the way it is.
> different states have different economies

Eh, not really. Central bank-controlled states are a reasonable grouping measure, which is why it's the US, EU, Switzerland, the UK, etc. that people compare (even though the UK is part of the EU, and Switzerland has signed on to most economic measures the EU mandates).
Why does it say paper jam when there is no paper jam?
I'd be interested in hearing about non-lazy alternatives other than manual key shuffling.
Just to play Devil's advocate here, I wouldn't say that nothing will change. Not everybody can code, and not everybody that can code has time to code for a new project. And that's no guarantee that if someone does submit code that it will be accepted.

I get the strong impression that systemd is driven by ego first, and technical innovation second.

But writing blogposts and making non-coders aware of some of the frustrations and dangers system administrators face will help the "business people" understand, and hopefully can put pressure from another angle.

We'll never all agree on one way of doing things, but I think that it's valid to socially encourage coders who have such a large sphere of influence and whose code can potentially be very harmful, to take more care and consider things outside their immediate bubble.

That blogpost alone has driven a lot of good discussions in this very thread, and I think that's as good and as healthy as helping more directly with submitting code.
I have had some terrible luck with Amazon shipment lately. Keep in mind that it goes both for their in-house shipments as well as UPS and Fedex. On one item, it got to the absurd point of them telling me that they didn't know where the item was. They had to overnight me another one. Of course, the original one showed up 5 days later. Before they can compete on something new, they need to iron out their current systems.
Get back to us when A.I reaches that of a cockroach.
... And also when they can pass the buck to kernel developers, even when it's not a kernel bug.
>>So here's the thing. I don't want the carrier to call to ask how to deliver a package. I have never had a FedEX or UPS carrier do that, they just put it where all packages for my building are supposed to go.

I wish I could say the same. I get calls from UPS delivery guys/gals about 30% of the time because I live in a duplex and my unit faces the alley. So they come in through the main street, can't find "Unit B" and end up calling me. I have to explain to them that they have to enter through the gate on the side.

This one time they left the package in front of the mailboxes, out in the open. When I got home, the entire box was soaking wet from the rain. Gross.
I agree with your reason, however for me they get outweighed by other factors. If I am a maintainer of a popular distribution, I want my distro to have the best init system, and I want that init system to have the largest user base.

EL6 and its derivatives was upstart, debian and its derivatives was upstart. The vast majority of linux systems were upstart for a long period of time. Other systems did not switch to upstart, because it introduced headache.

Switching init systems requires quite a bit of work. The fact that they all switched to systemd shows that beyond political pressure, they needed a better system.
There are exactly two compelling (for me) arguments against systemd, and one that seems to result from it's current focus:

* Binary log files (WHYYYYY; OTOH you could argue that the only proper place to do logging is to a remote database.)

* Monolithic nature - everything gets shoved in to the daemon, making it harder and more unusual to do things without it.

* Servers - systemd seems to be focused on a desktop lifecycle, where users interactively log in, have settings and log out. It is less clear how secure or well this inter-operates with services running as 'users' for privilege separation. I think this may have recently gotten better.
>> Is that statement backwards?

Nope. LIDAR is used to determine geometry when a camera system can't tell WTF it's looking at.
Didn't upstart and launchd cover this before systemd?
> I remember vaguely that Disney has a research lab here in Zurich just because of one professor and his team.

They do amazing work, actually. Some seriously good CG researches in Zurich.
> But then you can't embed markdown inside the HTML, like code blocks inside a table. Sure you can use <pre><code> tags, but then you lose syntax highlighting.

Pandoc supports this with the `markdown_in_html_blocks` option.
The older GoTenna devices use the MURS band, the new mesh devices use 33cm band. Totally incompatible.
Maintainer of Teleport here.

qwertyuiop924: I'm with you. When it comes to security it pays off to be skeptical and pragmatic. We're on the hook of keeping it robust, simple and secure for years to come. So eventually, with the help from the OSS community, we expect it to earn your trust, hopefully sooner than in 17 years though :)
For the past 10 years, I've used a UPS Store Box (or similar) for as many of my deliveries as possible. They accept any kind of package, and email you when it arrives.

The security and peace of mind is well worth the cost. There are very few packages I need the minute they're delivered.
You refuse to look, and thus have clarity. Dude that is not a good argument.

What is not uniform about the previous service handling implementation in debian?
> On Solaris, the system call interface is not a supported public interface

To be honest, I did not know that, I guess it's never been an issue for me. That sheds a little light. Thanks.
I do like programming as a hobby and a business and I am surely going to continue doing it in next decades.

Doing programming as a job with viable long term career is another topic with quite a few landmines. I am glad I am not into this race anymore.
Dumb yet aggressive celebrities who push spout their own ignorance and their fans believe everything they say.

The biggest obviously is Jenny McCarthy.

But some may surprise you such as the Foo Fighters who said AIDS wasn't real, I think they revered that point of view but I am not sure.

It pretty sad when one profoundly dumb celebrity can cause so much harm to so many people.
Google Trips – Your New Travel Companion?
"Anyway, it seems like a mystery to me why tech firms like Google set up shop in small expensive Zurich instead of say cheaper, bigger Barcelona or Vienna, for example."

The reason is simple: tax-evation and the like, Swiss is well known for it around Europe.
That it hasn't been dealt with is not strange since we live in the age of hidden plutocracy (trading outposts and the like exist in many countries for the rich to circumvent the law - this should put Brexit in a new light for some).

Things are slowly changing for the better as people start to realise what is the real problem within society (or rather outside society), but seing as what happened to the "Panama" leak where the concentraded information wasn't released and basically ICIJ sat on it for a year or so (the initial estimates during that time dwindles from over $62T to less than $30T, the official cause was accounting for the same money several times).
At least for the medium-term: birth control.
>what could we gain by thinking not just about making them look more like English but more able to be read aloud?

I wouldn't be in favor of a programming language that tried to enforce verbalizability (I'm thinking something like basic here). But I do think that having a program "tell a story" is a boon for comprehension. Have operations, variable names, function names, choice of where and when to use a function, etc be in such a way to optimize the narrative quality of the code. But I don't immediately see a way for the language construction itself to benefit here. I think having clear structural code is a boon to quickly scanning and understanding the structure of code.
Uselessd has been abandoned, as your link points out. The rationale [1] is, predictably, that "mangling systemd into something a bit saner turned out to be frustrating" and it was "a fool's errand" to have tried.

[1] https://forums.darknedgy.net/viewtopic.php?id=4963
Attention to all websites with "live support chats" that randomly pop in the corner without prompt: please stop doing this.
In that regard, is it really fair that the US has a single Olympics team? Or a single world-level anything team?
Mac Terminal Tips
Understanding SSL and TLS [pdf]
RubyGems/Bundler merger
It might be better than the shell scripts that were there. It's not better than the shell scripts that could have been there.
OVH hosting hit by 1Tbps DDoS attack, the largest one ever seen
I know it's mentioned in the article for long term but for the first couple weeks was there any difference in brain functioning? I'm not talking about anything severe, but if you have a job where you are using a lot of brain power, I'd imagine very low carb diet seems to be a little counter-intuitive. Like the article said the brain gets energy from ketones but is it the same amount/enough energy as regular carbs? Do you feel slightly slower, possibly more tired when performing longer challenging tasks? I've dieted very strictly before with a lack of carbs but also a huge deficit of calories and couldn't think nearly as quick. I agree lack of calories was the primary reason for this but it also seems very low carbs could contribute to constraining optimal brain output.
Denial of Service attack in systemd
Nick from goTenna here. goTenna Mesh devices will not be interoperable with our first-gen goTenna devices because they operate on different frequencies. We would have loved to enable interoperability but that's physically and legally impossible due to regulatory restrictions.
"Perfection of planning is a symptom of decay. During a period of exciting discovery or progress, there is no time to plan the perfect headquarters."
C.N. Parkinson
Much like a cable company giving you a month of HBO when you complain, I fail to see how giving me more of an unreliable service will fix the broken elements of that service.
all or nothing, or.... you know, just raise the price.
I think the genie is out of the bottle with regards to electric cars. They've proven they work and can compete with internal combustion cars on most metrics that people care about and exceed ICEs in a number of ways. Battery capacity generally increases 8% per year, and battery production is ramping up in ways never seen before. The mindshare has already left Gas cars, it's just a matter of time before sales slip to electric, a bit like Nokia compared to the smartphone, Nokia were still shipping millions of units but consumer demand was waiting for cheaper smartphone units, once it did Nokia was destroyed.
In my case when it is raining for example, there is little chance for them to bother with delivery.
Military can sometimes be interested in solving this kind of problems. Artemisinins which are used against malaria were discovered within the frame of a military project: https://en.wikipedia.org/wiki/Project_523

I don't think that this can be the solution though.
Why is this? Doesn't it make sense to publish which company did the audit? I mean for financial companies like KPMG they definitely do it.
There is no reason that I can think of to make shutters non-functional. No reason to "abandon" their functionality; functional ones can't be that much more expensive. It makes no sense, like pants with fake pockets. I had shutters when I lived in Europe and they are nice to have.

I live in the Northeast and shutters here are almost exclusively fake around here and many make no sense. (like tiny shutters on the side of a large bay window).
“Beige. Now there’s a committment to colour.”

— Alf, Season 2, episode 24, “Tequila” (1988).
Chef Fall Recipes: Jason Roberts’ BELLA Barbacoa Tacos
​The debate sacks football on Internet TV
No support for "plugins" as far as authentication, or to elaborate a bit, how do you go about running the 'auth' component in multiple VPC and have some degree of sync? Perhaps a use case for an underlying LDAP directory, or ..?
Absolutely. Confounding issues are the biggest problem, even more so than sheer volume in a small time frame.
Vancouver proposes strict limits on Airbnb rentals
So is this the right answer?
Your anecdotal evidence is not representative of all Amazon customers... or even most.

Edit: saw your response, fair enough.
There is this library as well: https://github.com/TalAter/annyang
CFSSL – CloudFlare's PKI and TLS Toolkit
> Before 1971, the US Dollar was worth exactly 1/35th troy ounce of gold

Sort of. The US gov committed itself legally to redeeming gold at a fixed stated price. It was an untenable position since by 1971 there wasn't anywhere near enough gold to back all of the dollars in existence. A floating gold price would have been higher than the legally defined price, and this created an arbitrage situation whereby one could exchange dollars for gold at the legally defined price, sell gold on an open market for more money, buy dollars, and repeat. This arrangement ends when the US gov runs out of gold or goes bust... or figures out beforehand what the end states are and annuls the law in question, which is what Nixon did.

The root of the problem was the increase in dollar money supply without a matched increase in gold reserves, noting that you only have to match narrow (M0) money, rather than broad money from fractional reserve banking (i.e. loans). Why? because most broad money is inaccessible, it's a number in a ledger, to get actual dollars to redeem you have to withdraw that money, and to do that at scale requires banks to claw back loaned money, thus reducing broad money supply right to back nothing, leaving just M0 money (i.e. dollars created directly by the central bank).
The too cheap to meter phrase was from one guy's after dinner speech in 1954 - "It is not too much to expect that our children will enjoy in their homes electrical energy too cheap to meter..." People get things wrong occasionally.
Is Red Hat funding over 50% of Linux development? If systemd was so bad it seems like maybe our corporate overlords like IBM, Google, Intel, or Canonical could have spoken up or even banded together to compete with it, but they didn't.
But violates DRY = bad code. Not incorrect because it does what it's suppose to, just in a bad way.
You're right. Each display uses diffuse instead of specular reflections. That way each pixel that gets projected onto the screen shines in all directions.
for a nation of 8 million...
I don't know launchd, but upstart was a piece of crap that didn't even implement it's own documented functionality.
I'm also a Prime addict, and have noticed vast improvements in the past year or so with Amazon Logistics (Bay Area).

Just like you mentioned, it was really bad at first. Packages would routinely arrive late, wrong address, etc. I live in a gated apartment complex and they would always leave the package with the leasing office instead of using the code I provided (UPS, FedEx, would always leave at my door).

Now it is indistinguishable from other carriers, in that all my packages arrive on time, at my door, without any problems.

The only thing I don't like is PrimeNow, which uses 'part time' carriers like Postmates, and they ALWAYS get confused by my apartment complex - so I stopped using it.
That's why I like 1Password. It's on my phone, so it's accessible, and I can do "words" instead of "characters".

So, I could very well have my mother's maiden name be "panda porpoise flutist sandpile", but I understand what you're saying. It may not be for everyone, but I work in the security sector and usually over-paranoid is better than ill-prepared.
You might want to add functionality such as caching or business rules.

A better question would be why not write a module or class? There a pros and cons to either, but advantages include: better monitoring and alerting, easier deployments and rollbacks, callers can timeout and use fallback logic, you can add load balancing and scale each service separately, it's easy to figure out which service uses what resources, it makes it easy to write some parts of application in other programming languages, different teams can work on different parts of the application independently as long as they agree on an API.
Which would explain why they weren't melted down. (They might have just been there in the mix, to make change for larger transactions among pieces no longer surviving).
And yet they don't seem to apply[0] to what may be the most widely used ECC library, NaCl[1]. So maybe they're not really worth much...

[0] http://cr.yp.to/ecdh/patents.html

[1] https://nacl.cr.yp.to/
Since shell scripts are Turing complete...
What are volumetric polygons? And do they better approximate cubes? ;)
Hardware keyboards are even more apalling for people who don't use a standard QWERTY US-English keyboard layout.
Sure, and even if the passwords stay secure this is bad for users.

But I'm specifically reacting to "hashed passwords (the vast majority with bcrypt)". That's the sort of thing that's usually code for "except the ones which are horribly secured and will be compromised in a week".
Michikoid – A cli to build, deploy and test your solidity smart contracts
Whoa. That's is an insanely large amount of applications. I'm assuming that's essentially one function per microservice which is one of the huge do-not-do of microservices as it's just a complete waste of time, resources, etc.

I would love to hear a breakdown. This sounds like a nightmare to maintain and test.
The One Minute “Wordpress” for Ethereum – MinEth
The problem I see, when its not just a general "fuck you" attitude (common with USPS workers for example) is that a lot of people willing to take these delivery jobs are often from suburban and rural area businesses that take these contracts and hire local talent. These people are not given the appropriate level of training to handle dense urban environments. I live deep in the heart of Chicago and if you leave a package on my doorstep it will either get stolen or opened up to see if anything of value is inside and discarded in the bushes.

I had to put a sign on my mailbox asking delivery people to toss the package over the fence and into my yard if I'm not home. This is basic common sense in a big city. Sadly, its sometimes ignored. I now just deal with work delivery which means a good chance of a package getting lost in 30 floor skyscraper I work in. Its incredible how shitty package delivery is in general.
But why Zürich which has a relatively high tax rate compared to for example Zug?
this is actually illegal in china. If you take more than a certain amount of currency out of the country including to HK you need to declare it and fill out a form. Many people get around this rule by walking across the HK border 10 or 15 time in one day carrying the exact max amount of currency. You can also hire parallel traders to do it for you as they are usually crossing back into HK empty handed because most of the time their are carrying goods from HK into the mainland and just returning to get more stuff
You make a very good point that we've been making driving easier for a long time now.

But those things don't uniformly work fine, unless you ignore human factors. The big danger here is https://en.wikipedia.org/wiki/Risk_compensation especially with regards to encouraging drivers to feel safe about not paying attention temporarily.

Things like ABS and traction control seem to work great in this light, providing a benefit at little cost -- because (unless they're goofing around on a track or parking lot or something) the driver rarely notices it outside of a rare emergency and thus cannot adjust their behavior to compensate.

Automatic transmissions, lane maintenance, cruise control, "tesla auto pilot mode" etc on the other hand clearly make the car feel easier to drive and harder to crash every moment they're being operated, and make the driving task less demanding of attention, providing plenty of opportunity for the driver to get used to the safety feature and start using it as a crutch that allows the driver to pay less attention. And inattention is the main cause of wrecks.

Even road features themselves often have this effect -- making things seem safer makes drivers actually driver more poorly, and vice versa. See for example http://www.accessmagazine.org/articles/fall-2012/slower-road...

Maybe these features save more lives than they doom, but it's certainly not a given, so as they are introduced they really need to be rigorously analyzed to ensure they have the hoped-for effect.