skysight-inc/HackerNews huggingface dataset:
Ask HN: Why is software quality an afterthought for many people/companies?
I've seen many discussions around this topic lately, but I'm particularly curious to understand why most people think that software/code quality is something secondary and could be addressed late in the process, for instance with peer review.

Why isn't the idea that software quality starts way before you write any line of code the predominant mindset amongst engineers / the industry?

I have the feeling that most companies don't hold discussions about what software quality means and how it should be measured.

To which extent do you agree or disagree with this feeling?
Another reason to not recycle is that recycling is to protect local environments from immediate short term damage. A bigger environmental problem is global warming and I don't think recycling help with that at all. If anything, it seems like it would make it worse by reducing the amount of oil needed to make plastic, thus keeping the demand and price low so more of it can be burnt cheaply instead.

How about we convert as much oil as we can into plastic, bury it in the ground for a few 100s of years and stop worrying?
It's very hard to ingest too much fructose by eating oranges. Drinking orange juice on the other hand...
The low rates are from incumbent majority populations, as things you describe tend to also come with a much better treatment of women and significantly increased use of contraception.

My comment was not meant to vilify a family that would choose to have more kids as the result of UBI, but more to indicate that it could be a rational choice for some.

With full time work, it's often hard to raise one child, but if all you are obligated to do is care for the children and everything else is flexible, it is rational to consider that many families will choose 2 instead of 1, 3 instead of 2 and so on.

This choice is irrespective of the income braket, btw. End result could still be a disaster for our ecology.
I’m not getting upset when people are more specific, I’m getting upset when they are wrong.

Check the output of languages like Scala.js and ClojureScript sometimes. The JavaScript those produce can no longer be classified as “source” ;-)

For these languages the generated JS is not higher level or more readable than JVM or CLR bytecode.
Whose submarines are you thinking of that could destroy all of the US ground-based missile launch facilities in a first strike?

The war planning based around what you describe assumed the Soviet submarine fleet, yes?

Are you worried about Russia, China ("the Type 094s noisiness would make it difficult for it to reach and maintain patrol areas where it could strike at the contiguous United States"), or India?
https://dymaxion.org/essays/pleasestop.html
Um ... Displaying dates based on locale of client has been the standard for most software for decades. Why call out Firefox for this, now?
UPI has a limit of 10k per transaction and 20k per day.
Since the Ampera was a badge engineered made in the USA car my guess is that Peugeot are not buying it. Furthermore their CEO has no grand ambitions for electric vehicles, so the Ampera is gone already.

PSA took on Chrysler many decades ago and after a while the factory that was making Chrysler cars was making the Peugeot 309 which was a roaring trade success in the UK and other markets. Eventually the factory closed after the 309 had had its run. So you can expect the same, a new family crossover will come out in Peugeot branding from the Astra factory, this will sell for a few years, have a facelift and sell on for a few more years. Then they will close the factory. It is inevitable.

Of course Peugeot will sell EVs, however, for small cars it is not hard to buy a few motors and batteries from Bosch and to stick them in a car. So they will be joining the market when all the suppliers have the off the shelf parts all worked out for them.
Business Reporter: How to get more value from data by using GPU databases
> the pilot actually retired after that because he felt he could no longer trust airplanes

I don't know where that part comes from, it's not mentioned in the wikipedia page, nor any of the sources or on the swedish version of the page (together with the sources). Would be interesting if there really is a phobia of more technically advanced airplanes, but I don't think this is one of those cases.
I didn't mean that (not a native speaker). Did you read the rest of my comment? I thought it would be clear. Anyways, I'm sorry for the misunderstanding.
CNN without SSL certificate
I would imagine that CNN would have some developers that would be on top of this...?
Big difference between what the article says:

"The idea behind the Explore Feed is to help Facebook users discover more content across the social network, beyond posts from friends and Pages you already follow. Instead, this feed surfaces recommended content it thinks you might find interesting."

And what the author of the Medium post says:
"All posts by pages are moved from News Feed to Explore Feed. In main News Feed are now just friend and sponsored posts."

If the first is true, then eh. Another useless tab I won't ever use. If the latter is true, then this is a gamechanger. Facebook has turned into the literal feed of news for many people for many years at this point.

If it's reduced back down into what it was in 2010, it's going to outrage a lot of older people who use it for more than a friend feed.
First things first: The scope of this control is to let you pick a time, the hour and the minute of a day. Possibly from a native widget (i.e. on mobile it pops up a clock where you have to select an hour and a minute). It is then submitted without a timezone, not +0, just without.

The timezone is simply out of scope for this, and with good reason:
Presumably the time a user enters will be interpreted in one of two ways:

* A javascript application running in the users browser, which already knows what the users current timezone is.

* An application running on a server somewhere, which will have the information of "a user submitted a time without a timezone", which is valuable information and very often that is exactly the correct way to interpret a time.

In the case very it's absolutely necessary to know the exact timezone a user wants to specify, it's very easy to add a widget to let a user specify the timezone. But I feel that's something that is much, much less common than letting a user set a simple time, so it makes sense to optimize for that.
As I understand it, most favoured nation status just means that China has to charge the same tariffs on imports from the US that they charge when importing equivalent items from other countries which they don't have trade deals with. (Which probably rules out most kinds of tit-for-tat tariff policies.)
>You cannot think with images

I disagree, and I think the way computers have made us regress to a purely textual interchange format as the common denominator is an unrecognized tragedy.

My notes in school used to be richly layed out, mixing diagrams, symbols and formatting as needed, which was trivial on paper. Now I'm typing to you through a predictive text engine because tapping or swiping out words is itself too error prone on this device.

We've created a massive gap between what can be produced and what can be consumed easily, information-wise.

I think the GET/POST nature of the web is also responsible. Rather than make it easy to collaborate in a shared space, we all have to write on little immutable post its and paste them side by side.
It means you can do wacky stuff like this: http://www.p01.org/defender_of_the_favicon/
To me that base did not seem like it was designed that way. If it had been the base would be much bigger in area so that far more force would have been required to tip it. Any structural engineers want to take a look?
Here's the problem: given that I have already configured date and time formats (among other things) in my operating system, like everybody else has, how do I access those settings and pass them on to DateTimeFormat?
why is this on HN?
Thanks for that. As it happens it's not a problem because the first 30 all have even digits and so can't be a final segment of a left-truncatable prime, except 7519441, and 441 isn't prime.

I could write a more comprehensive test - didn't seem worth it for this case, but it's an interesting exercise. It's easy to extend this test so the list of primes used goes as far as the smallest factor in each of these factorisations, say, 109. Then these would all be correctly identified as composite. It would also be easy to combine it with Pollard Rho or PPP tests, to extend the range before we need to do something more serious.

Anyway, here are the first 30 with factorisations

252601 : 41 61 101
294409 : 37 73 109
399001 : 31 61 211
410041 : 41 73 137
488881 : 37 73 181
512461 : 31 61 271
1152271 : 43 127 211
1193221 : 31 61 631
1461241 : 37 73 541
1615681 : 23 199 353
1857241 : 31 181 331
1909001 : 41 101 461
2508013 : 53 79 599
3057601 : 43 211 337
3581761 : 29 113 1093
3828001 : 101 151 251
4335241 : 53 157 521
5049001 : 31 271 601
5148001 : 41 241 521
5444489 : 29 197 953
5481451 : 31 151 1171
5968873 : 43 127 1093
6189121 : 61 241 421
6733693 : 109 163 379
6868261 : 43 211 757
7519441 : 41 241 761
8134561 : 37 109 2017
8927101 : 31 37 43 181
9439201 : 61 271 571
9494101 : 23 61 67 101
China doesn't believe in IP. Tesla should look within 1-2 years of startup of a Chinese plant for there to be other Chinese plants producing the exact same parts, but not for Tesla. If Tesla puts its "magic smoke" into that factory, they have given it away to multiple competitors.
Similar?

The F16 is about twice as long (49 feet / 15 meters) a Cessna (28 feet / 8.3 meters) and weights about 8.5 times as much unloaded: Cessna 2200lb / 1000kg and the F16 18,900lb / 8,570kg.
I'm just considering a not unlikely scenario where a smart, capable person wants to get away from a country ruled by a corrupt or oppressive government. What if the majority of the people continually vote for such a government and this smart (strong, as you put it) person sees no chance of that changing in the foreseeable future, should that person be forced to live there even if they don't want to?
You sir, have very misplaced priorities.
Prison where Mandela was jailed installs solar power system
https://en.wikipedia.org/wiki/Camera_obscura
> If it's reduced back down into what it was in 2010, it's going to outrage a lot of older people who use it for more than a friend feed.

And some people (like me) would be really happy.

For me at least, the facebook feed at this point is just pure SPAM and garbage.
what about the reactors? surely this must have some environmental impact...
Wait, stop using packaging? It's incredibly useful and cheap. The fact that we can throw it away shows just how cheap it is. That's a fantastic thing. Why not enjoy it?

Isn't the only harm it causes done when it's left to float around the ocean or get eaten by birds? As long as we keep our rubbish more secure and bury it properly, in places that won't leach into water supplies, what's the harm?
That's not right. You can put more than one action in the loop. This slowly completes the level:

function loop(robot){
// your code here
robot.move(1)
robot.jump()
}
I don't disagree with the point you are trying to make, but how else would you expect the concept of recycling to work?

So, let's take Visy, in the context of this post, they are in the business of waste disposal, recycling, and packaging. For their packaging business, they turn raw materials into packaging. For cardboard, that's either dead trees or recycled/reprocessed cardboard.

So they either pay for brand new raw materials or recycled materials. They decide to skip the middle man and setup a plant, negotiate contracts with councils/governments and take peoples waste so they can turn it into packaging.

That's what recycling is. It's not magic. If there is no one/business on the other end to consume or process it, it's not recycling, it just garbage and goes to a land fill.

I'm just using cardboard as an example because it's easier to grok (trees/cardboard etc), but over the last 5 years there has literally been occasions where the price of brand new cardboard has been lower than recycled cardboard. So yes, sometimes this the recycling industry is all sorts of fucked, but if you don't have industry/business/consumer on the other end of this recycling equation it's worthless.
Haha, nice catch. It seems there is no way to know that.
By the year 10000, hopefully terrestial time is long obsolete, and replaced with whatever makes sense for a multi-planet species.
It is, as I pointed out: Everyone starts as single, unmarried person with 0 children. It's the time in your life when you make the big decisions, take high risks, maybe get high returns.

1. If you cannot save enough money to buy a condo, you will probably run into financial problems once/if you marry and grow your family. It's easy as that. Having children ist one of the top reasons to become poor in Germany. You add additional costs and risks to your life. Sure you pay much less taxes then but you already have a tight income situation (child care is expensive).

2. In the US the usual wages in IT are much higher. Let's say 75-150.000. Minus 26% taxes. You can easily save a lot of money in 5-10 years if you live a modest lifestyle. Compound interest/index ETF savings plan. Simple math.
There are already ways to style native UI widgets, you can even style scrollbars...
This is probably the best mini implementation I've seen so far. The code is hosted at https://github.com/Haseeb-Qureshi/lets-build-a-blockchain

He's missed one thing though, which a lot of these small implmentations miss, its the code for chain re-org.

https://en.bitcoin.it/wiki/Chain_Reorganization

This is a crucial piece of code that figures out which chain is correct if 1 or more blocks arrive that have a greater proof of work than your current best chain.

But otherwise, a very good attempt.
New high-capacity selective memory caches are 33-50 percent more efficient
Concorde pulled off supersonic travel with plane designed on physical pieces of papers, with pencils and rectangles.

SpaceX has like 9 or so failed landings until they pulled it off. If Boom keep iterating fast enough, I think they have a good chance of being successful.
6 Strategic Decisions to Make When Building an Online Travel Agency
First search shows: http://www.vivo.colostate.edu/hbooks/pathphys/endocrine/panc...

> Insulin promotes synthesis of fatty acids in the liver

> Insulin inhibits breakdown of fat in adipose tissue

...but don't take that to mean "insulin is what gets you fat". It does not... or not as in it being a bad thing. It's more like "insulin just tells your body to process away that damn extra sugar"... and your body does whatever it can with it, like converting it into stored fat. It would be much worse if it didn't! You'd have diabetes then, and that sugar standing unprocessed in you blood would do tons of damage to your body! Making you a bit fatter is kind of the best thing your body can do with the extra sugar that got dumped into your blood...
Why is 3 ironic? Living plants and processed food are different things even if both are based on organic material.
I cannot remember an app that did not support dd/mm/yyyy format. It is the first thing a non-US English speaker will complain about.
That would however be in line with Tesla's stated mission:

The Mission of Tesla. Our goal when we created Tesla a decade ago was the same as it is today: to accelerate the advent of sustainable transport by bringing compelling mass market electric cars to market as soon as possible.
While this is a good move for Facebook's users, who will get a less cluttered feed, it's a disaster for publishers who use Facebook for content distribution. For example, over the past year my company has been supplying news to a network of two million MMA fans on Facebook. With this change it's very difficult to make enough revenue to continue: less reach = less clickthrough to our site = less revenue. The silver lining is that if publishers write off Facebook as a distribution method then perhaps they can work more on other distribution methods, generating some innovation.

<insert reply about platform dependency here>
None of the "magic smoke" in those chips is made in China. The "secret sauce" is all done in the US, in Oregon and Arizona. The US turns raw silicon into wafers full of chips. The plants in China, as far as I personally understand, are doing the work of cutting the wafers up, and connecting to mini-PCB boards. They are doing the labor-intensive part of the production, and nothing of the understanding-intensive part of engineering.
I think that there should be city center terminals at which you do check in. Then a bus would take you to the airport. The terminals could be nice, with free breakfast, and you'd sit down at a table with your laptop after going through check in. And when the bus came, you'd get on it stress free. If an airline did this, they could save a lot of passenger time and stress and it would probably be cheaper and better for the environment then faster planes.
I'm giving another perspective to inter-continental air travel and the idea that travel time is lost time. To clarify I'd take a shorter flight if available purely for my spinal health but it's possible to make international travel work. Timezones are a bigger concern than travel time.
Actually, I've found the opposite. My feed is almost entirely social now, and it's very difficult to find news.
It's a brilliant example of a pivot that brings in much more success.
When you share your life with other people who knows when the plants were last watered, was it me 2 weeks ago or my wife yesterday? Watering plants is a silly example, meds, health, pupils in a school, patients in a hospital. All much more interesting to have meta data on.
Which is a shame, because you're incentivizing people to try and get around it. Nobody's forcing you to sign up for these email lists, and you can unsubscribe at any time. I don't understand the hate these lists garner.
That's just a low-gear mode, like putting an old 3-gear automatic in 2nd gear, to engine brake downhill.
Isn't that what Elon Musk wants though?
Running Auto-Scalable Magento Platform in Containers
Hadn't heard of that. Looks singularly awful.

Like URLs, but proprietary, exclusionary, and riddled with privacy and security issues.
True, I think I would agree, there are many immediate benefits.

But it has to be carefully considered, as it might hinder a longterm plan for a nice, breathable atmosphere.

But once we reach mars, we are probably busy first, with primitiv things such as life support ...
let me guess, you have a chinese girlfriend/wife? funny how you start to notice that the entire west is vehemently and overwhelmingly anti-chinese when your children will be considered chinese, isn't it?

have you ever seen a single movie or tv show, ever, in your life, where a chinese (or any kind of asian) person was portrayed positively?
That same reasoning would probably tell you that no one would want a "box in your home that you can talk to", yet Alexa and its competitors are doing quite well.
https://en.wikipedia.org/wiki/Professor_Calculus
I do fieldwork on a lamguage that lacks a written form, so I actually know quite a lot of illiterate people, and they are quite capable of complex and rational thought.

In a literate society like ours, we tend to equate language with writing, but they're not at all the same thing. I agree that language is necessary for complex thought, just not writing.
It was a misunderstanding then, all cool :)
But it is not just processed food that needs food grade containers. Even the boxed zucchinis with food grade PP foil wrapping. And is it really so much different? The soil also gets wet, there is also acid in the soil, so why wouldn't a plant pot release toxins in the same way that plastic food packaging might?

Edit:

I recently watched this video https://www.youtube.com/watch?v=zTGpot7L7hA and it seems so ironic how dirty and industrial everything is, and then, all of a sudden the peas get washed and put in food grade plastic bags and we make this huge theater about sanitation.
It's very common to do as part of a compiling/deploying step, for shared files like css or js, very rarely done manually (maybe for very very small icons).

E.g. I use url-loader in webpack to do require('./some_image.png') and that's converted to a data URI if the image is small enough (otherwise I get a regular URI). The output is a .js file shared among all pages of the site.
As coinbase is a Bitcoin wallet and they transact a lot of money it suprises me that they reveal details of their implementation publicly.

Edit - Getting downvoted a lot.

Seems that some people think that the expression 'You shouldn't rely on security through obscurity' means that it's OK to publish your backend infrastructure.

Best practice is defence in depth.

That means you secure everything including your implementation details.

If a zero day is found in any of their stack, they're a google search away from being found for that.
Assuming that is anyone left that cares about it.
The #1 Strategy to Increase Blog Traffic
I understand the sentiment and sometimes keep jars that look like they might be useful. But if you're not actually forced into that life forever, it's not really fair to judge it as desirable. I appreciate having time to do intellectual work without the burden of tedious manual labour tasks all day - did they also wash their clothes by hand? The human brain is capable of far more than that. What a waste the 3rd world is in not tapping as much of its potential.
This is wishful thinking, but maybe this move will push content creators back to providing RSS feeds so their audience can follow them without needing to use Facebook.
Wolf of Wall Street: cryptocurrency ICOs are 'the biggest scam ever'
A lot of monasteries have way more social interaction, unwinding time, and exercise than most IT workplaces offer.

The month I spent in a temple was definitely like that!

I mean, where else do you have tea every evening together with dozens of diverse people?

I went jogging every other days and did weight training and yoga the other days. Every day involved hours of mostly light physical work (cooking, cleaning, some crafts, sometimes construction, etc). And the relaxation I had there was deep and rejuvenating.

The difference between monastic or temple architecture and routine, and that of offices, is really interesting... If I ever create my own office, it will be more like a temple!

(Without the religious hierarchies and faith affirmations, probably...)
How to Write an RFP for Your Mobile App Requirement?
> sit in your empty room and see it as opulent luxury

That sounds incredibly sad.

Looking at how so many people use social media, it also sounds like it may be incredibly accurate. And that makes things even sadder.
No worries, I'm not an unfriendly person.
If you’re considering relocation as an option, check out http://bit.ly/2yKvfrK. I think you may well find some interesting job opportunity there.
Guess he would never have been an astronaut either.
I hope the plan is to read the configured date format on the system like most software out there? This really shouldn't need to be manually configured.
I feel like code golfers are always just slightly insane in the best possible way.
$ go version
go version go1.9.1 linux/amd64
It's right there in Bezos shareholder letter, the same one he's published every year since 1997. They haven't killed Walmart yet so they have to keep spending to catch up on infrastructure. Google and FB have a comparatively lower need for infrastructure.
People say that security trough obscurity is not a good idea.
Wengrow did write a whole book about this. He wasn't just speculating freshly when asked by the author of this article.

https://press.princeton.edu/titles/10125.html