skysight-inc/HackerNews huggingface dataset:
- Structure your code so it is mostly leaves.
- Unit test the leaves.
- Integration test the rest if needed.

Exactly. You expressed my thoughts very succinctly. Though I feel the post tries to say the same just in a lot more words.
Indeed, Uri Geller manages to make spoons break by applying some heat to them, no melting needed.
There are software solutions for managing resupply, even for perishable products like fresh meat where you want to minimise write-offs: https://www.blue-yonder.com/en/solutions/replenishment-optim...
Hire a Hacker [Eagleeyehack56gmail.com]
PROOF BEFORE PAYMENT is the thing to ask when you're not certain about any of these hackers which is why 94% of our customers recommended EAGLEEYEHACK56@GMAIL.COM or whatsapp; +19292976903 to other people

100% money back guaranteed

Our staffs are veterans with cutting edge insight when it comes to executing hacks with an amazing track record of 96% success rate in all executed exploits since 2009 till date "2017". Discrete, secure and efficient satisfaction of our customers is our only goal and we will take your secrets to the grave with us.

Our services includes but is not limited to the following

ETHICAL HACKING TANNING COURSE

University grade hacking

Facebook hacking, Gmail hack

Whatsapp hack And Other social network

Phone hacks and monitoring

Clearing credit card debt, Clearing mortgages

Fixing credit scores

Burner number hack

Website hack

Bank account hack

Erase criminal records

Hack airlines and boom cheaper tickets

American citizenship

HACKING IS ALL WE DO!....EAGLEEYEHACK56@GMAIL.COM ORN whatsapp +19292976903
Yes you should be 'punished' for owning two properties. Or more specifically if you are well off enough to own two properties then you are well off enough to pay for them.

Property should not be an investment since it is an essential for living.
> relevantly relevantly

"relatively recent"?
The abstraction is consistent though, and familiarity is a good thing when navigating a codebase which has N amount of other devs pushing to it every day.

I practise TDD for peace of mind - if I add new functionality to existing code I can be 99.9% sure I haven't made any regressions. When a client's system goes down on a friday, I can 99.9% guarantee it wasn't my code that is at fault. If I have to work at the weekend to update a production server, I'm 99.9% sure it'll go smoothly as my tests say it will.
Yeah, England, Spain, Portugal, Netherlands and France were the main colonial powers, which is why it seems a bit unfair to blame the British, which includes Wales, Scotland and N. Ireland, who were just as poorly treated by the English.
http://eecseecs.com/
Does he read?
Alphabet is closing in on Apple's financial crown. At the current rate they'd likely surpass Apple in net cash in the next 12 quarters, barring a shareholder payout (which is likely).

Google, the subsidiary, is chasing down $40 billion in annualized operating income ($8.7 billion this quarter). To put that into perspective, that's equal to twice the operating income of Johnson & Johnson (a monster corporation with a $380 billion market cap). It wouldn't be far fetched for Google to reach $55-$60 billion in operating income in three years.

Alphabet now has $100 billion in cash and no meaningful traditional debt. Apple has about ~$160 billion in net cash, a sum that has mostly stopped increasing. Google should stay ahead of Apple in net tangible assets this quarter as well.

Given Alphabet's growth rate (and assuming it slows some), they should get near Apple's general $40x billion net income territory in three years.

By contrast, Microsoft also has an immense amount of cash, at $138 billion (cash or equivalents). However they're carrying $76 billion in long-term debt. Google presently has approximately 5x the net tangible assets of Microsoft.
This is absolutely standard in the UK in all the supermarkets I'm aware of. If a member of staff doesn't know where the item is, they'll go and find someone who does.
You are mistaken in thinking that an ANY query will do what you want. ANY is not ALL; it does not return all records associated with a name.
And yet, in spite of ad blockers, they are reporting a 47% increase in paid clicks. Something truly massive is going on here. I'm not convinced that this is sustainable either.
> Nobody who isn't an ISIS member has ever been called an ISIS member.

Pause for a moment to consider how dumb such an easily falsifiable statement is before posting it to HN.
There are 50 sovereign countries in Europe[0], you named 9, so that just illustrates my point. And that doesn't even include nations that have no independence, often taken away during reigning of neighboring empire.

0. https://en.wikipedia.org/wiki/Europe
Japan has had a falling population for a long time now.
London has added 1.7 million people in that time period.
Property in Japan also isn't as attractive to foreign buyers.

People seem to forget that property isn't like other investment classes. Everyone needs somewhere to live and it can only be built on land which is very scarce where the jobs are.
If privacy is an issue for you then build your own phone using a raspi
https://www.raspberrypi.org/blog/piphone-home-made-raspberry...
As scummy as it is, you have to admire the ingenuity. That is a damn clever solution.
Saudi Arabia bestows humanoid robot with citizenship
Do you practise TDD? If you did a lot of this would make more sense to you. TDD is actually quite fun when you get the hang of it (less mental burden as you push all the 'intent' onto the computer).
So, you don’t think foreign demand has all that much to do with it? If 97% of high prices comes from zoning and regulations restricting supply, then I have a get-rich-quick scheme for you. All you have to do is buy some cheap property in a small town somewhere and convince the locals to pass regulations. The prices will just rise.
> Is Docker quicker? Sure.

I rest my case, feel free to yell at kids to get off your lawn.

> Slower does not mean slow.

Whatever makes you happy. If you are happy with vagrant stick to it, nobody is forcing you to use something better.
Docker Swarm instrumentation with Prometheus
Clearly the solution is to corralle all fascists onto one big fenced-in echo chamber. What could go wrong?
Ask HN: Has anyone used Smalltalk for Graphics?
Does anyone here have experience with smalltalk for developing Gui-applications? (cross platform, or any at all)

I'm kinda interested in it, since the protoype system in Javascript is supposedly derived from the one in Smalltalk, and there seem to be quite the community around the language.

I'd be glad to hear your anecdotes/experiences with the language, doesn't have to be Gui-stuff.
> Anyone being harassed is free to ignore it or block/mute their harassers.

First of all, it's not so easy to block harassers when there are thousands. Seconds, victims of real-life harassment are also "free" to disconnect their phones and never leave the house. But doing so is letting the harassers win, and society has decided that harassment is unacceptable, and the harassers should be stopped.

> There is no magic technology that can automatically detect and stop harassment.

There is no magic technology that can automatically detect and stop crime, either, but that hasn't stopped every society in the world from establishing some sort of a justice system.

> Its a social problem and must be dealt with as such - e.g by shunning trolls online.

Yes, by an enforcement mechanism. In a strangers society, let alone one when people can have multiple identities, social sanctions don't work.

> In that light I don't understand what people want Twitter to do about it.

The same as anyone responsible over a public or semi-public space is expected to do -- establish an enforcement force. Just as office buildings, companies, and universities have security and often even a reporting and judgment apparatuses.

> just as blaming HN would not be a productive response to being flamed in a comment on HN.

If you think harassment on Twitter is on the same scale and of the same kind as unkind comments on HN, or that Twitter moderation is anywhere as effective as on HN, then you're unfamiliar with the problem. A mere hint of a threat of violence, or even strong verbal abuse gets you immediately banned from HN.
> But how complex can these programs be? Surely anything written before 1992-ish can’t involve that much code just because of the limitation of the machines they were designed to run on. What makes it that expensive that no one wants to rewrite them in a modern language?

You would be utterly shocked.

I did some COBOL work for a bank.

Most of the new code they write is in C++.

However, COBOL was still a huge part of their stack, and they still had several heavy duty mainframes that it ran on, and maintaining that was part of my job.

For an example of how much COBOL was written back then, and how huge the technical debt to replace it would be:

* The interbank transfer system alone was ~750,000 lines of COBOL.

* It handled around 1.2million transactions every three seconds. That's not capacity, that's real world data.

* They had less than five minutes of downtime in the last twelve months, and that was considered poor.

It's a mammoth task to replace the system, and getting transactions from the old to the new without incurring a huge overhead is nigh impossible. And yes, dropped transactions can mean dropped customers, and big customers.

It's far cheaper to hire and train programmers in COBOL, than to rewrite everything. COBOL and Fortran have millions of lines of code in use, and such frequent use that replacing them may cost more than the lifetime of returns would give.
“Luxury tourism” version of world's largest aircraft is in the works
That's the whole point of ShaderToy AFAIK: no geometry, all pixel magic. Whatever you see on there is entirely frag-shaders. If it looks like geometry, it's still just funky fancy formulas in image space
I think the testing pyramid reflects a false correlation — it seems to assert that higher up the pyramid tests are more expensive to write/maintain and longer to run.

In reality the execution time of a test says nothing about how hard the test is to write. Sometimes a very fast to execute unit test can be much harder to write/maintain than a longer running test that avoids mocking an api and perhaps utilizes abstractions in the test definition that are already written to support the program’s features.

I think test suite execution speed is the real metric to focus on for most projects — to get the most value, test suites should accelerate the time to useful feedback. Write tests in the simplest way that provides useful feedback into the behavior of the system and runs quickly enough that you can receive that feedback with low latency during development.

I quite like tools like jest and wallabyjs that use code coverage data to figure out which tests to rerun as code changes — means you can have a test suite that includes slow(ish) to execute tests but still get feedback quickly in reasonable time as you make changes to the code.
Hotel booking sites face probe over ‘pressure selling’ tactics
Reminds me of this: https://www.ee.ryerson.ca/~elf/hack/recovery.html
I actually replied to the wrong top comment here, this was meant for https://news.ycombinator.com/item?id=15561356. This links to https://github.com/mcohen01/amazonica which is 25 pages printed - and then you definitely should have a TOC just to be able to learn what the content is all about.

If you are doing TOC manually in Confluence you are doing it wrong by the way: Both TOC or links to subpages can be done automatically.
29June – Paper Lamps for Events
is it just me or is the font really hard to read?
Maybe we should have some sort of compromise system: in the summer where there's plenty of sunlight hours we can get that extra hour in the evening (without sacrificing morning light hours), and in the winter we could have a sightly shifted time to make sure the stm doesn't get up too late.
I once spent a month completely figuring out a 5000 line C program. You'd be amazed at the complexity a programmer can fit into a small number of lines, particularly when they knew memory mattered, so they needed to make best use of every byte.
Top 5 DSLR 4K Cameras
Yes, it's a bad idea. It used to be a small tax on high-value transactions only, but just recently it has been greatly increased.

The UK could do with a proper property tax, but since homeownership is the national religion that's not going to happen.
Playing Ingress in Antarctica
JFK documents: what we have learned so far
It's obviously not the same thing as a self-checkout machine, but there are automated border control systems in some countries (e.g. Germany). Scan your biometric passport, step into the mantrap, look into the camera, welcome to Germany! If it's good enough to let people pass border control, it should be good enough to sell alcohol. The technology exists, I just wouldn't want to use it at a grocery store.
Usually splitting out into interfaces is done in static languages as that's the best type-safe way to do things. It's not a fad, it's been like that since the beginning.
You can http://shadertoy.com/browse by New, Popular, Hot and Love
I may have seen to many sci-fi movies, but this sounds rather threatening:

>>It [Sophia] accused him of "reading too much Elon Musk," and said, "don't worry, if you're nice to me, I'll be nice to you. Treat me as a smart input-output system."

Still, the actual intelligence is probably nowhere near threatening or useful, but who am I to judge?
It's a good idea, but you would need different languages versions.
They might be adding them in batches. My friend got one 2 hours after they started selling them. It will be delivered a bit before Christmas.
I also have Telstra HFC 115/2, and our suburb is going through the NBN migration right now. We are getting the HFC NBN, and today we just got a call from Telstra saying that they can't actually guarantee even 50Mbps once we switch...
I think you've grossly misunderstood my comment.

I'm not arguing about what command is used - I merely copied the command the site in question is using.

My comment is about the 1/2 million lines of PHP wrapped around that shell command, to present it as a site.
the whole idea of a secret open election is a contradiction in terms, anyway.
You can say the same thing for many companies. Example, Apple. Most of their money comes from iPhone
Hello there, I registered and filled-in a couple of books I've read. I don't see the value of the site though.

I see the list of features
- marking books I've read (not sure what's the value)
- adding books that I'd like to read into another list (not sure what's the value)
- verbally asking for a recommendation (but there I'm missing categories and tags...)

Did I miss anything?
Given its size, Google's growth rate is incredible. What's more, they still have a long way to optimise ads. I was recently shown a YouTube ad for cat food, but Google should know I don't have a cat because it has my entire photo stream for the last 3 years.
"Why do you want to give ignorant idiots a platform to spread their ignorant idiocy to other ignorant idiots"

Because the only way I can guarantee that "my side" can say whatever it wants, is to guarantee that all sides can say whatever they want.

We have, over many millennia reached a point where tolerance is considered a pretty high virtue - we believe that even if we don't agree with someone, we can live and work side-by-side with them. This is one of the reasons we have stopped trying to kill each other for believing in the wrong religion. This is a good thing.

Note: my first sentence is taken from this clip of the West Wing: https://youtu.be/jmhC9e39aP0?t=181 .
Remember the bootloop issue in 5x and 6p? They have a long way to go in this market.
And then the Navajo Nation portion inside the Hopi Nation does
It is amazing how uneducated a supposedly educated population can actually be. I know a lot of people here who would only have a vague idea that we even used to have an empire, most likely based on some period drama they watched on television.
After two decades they're still struggling to create a viable Golden Rice product.[1] At the same time, some areas have seen a large drop in vitamin A deficiencies. One has to wonder if Golden Rice is actually a good way to solve this problem.

[1] https://source.wustl.edu/2016/06/genetically-modified-golden...
Show HN: Playing music with your voice and machine learning
I think the main selling point for me on TDD was breaking the boring build loop where I would have to wait for the project to compile, the webpage to load, click on all the buttons to get to the bit I'm testing, and then finally see if my code worked. Then repeat as many times as it fails.

With TDD testing functionality is always just one button click away - I actually have fun again at work.
See, the problem with healthcare is not that it is expensive. I think it's completely reasonable to spend a very large portion of our GDP on healthcare. Why not call it a defense program? hell, disease has always killed more people than war. (was world war two the only time period where that wasn't true?)

The problem is that healthcare is unaffordable to people who aren't in the top 10%. We can solve this through redistribution. It seems that for research, this should be obvious. Most of the cost of research is pretty similar if you sell 100 or one billion units. In those cases especially, there's no reason not to collect the money that people are willing or able to pay and then give the advance to everyone, if you have a mechanism for doing that without reducing the money you collect.

But, the point here is that if we curtail basic research because we amortize the cost evenly over the consumers of healthcare, that hurts the rich, too... because that means we don't get as many medical advances.

(of course, doctor patient interactions don't scale so well; that will require redistribution, and perhaps even a lower tier of care.)

Really, I think this is similar to the education problem. Spending less on education seems... like a poor long term decision. But it is unaffordable to the poor, so subsidies may be in order.
It’s time for people in the valley to team up and create a real competitor to google ad. This has been lasting for too long.
Zuck is a kingmaker, not a dictator. Hopefully, he won't ever abuse that power.
Andy Grove would agree with you [1]. He argued that a lot of valuable innovation occurs during the scaling/manufacturing process. If you offshore that step, all of the proficiency and innovation that occurs 'at the bench' develops - and is capitalized upon - elsewhere.

[1](https://www.bloomberg.com/news/articles/2010-07-01/andy-grov...)
Because they're advertised
Here you go: http://www.huffingtonpost.co.uk/entry/sean-hannity-russia-bi...

Sean Hannity has said it. The quote is attributed. My bad for not spending 5 mins to google it first.
Pointless argument, so people can make up completely random stories, and as long as there's a tiny portion of truth, such as say person A being referred to actually existing, it should be considered news?

I'm sure even you don't believe that though, people seem to enjoy making pointless arguments a bit too much, at times.
How do you empathise with a actual Nazi?

Would you empathise with Reinhardt Heydrich? How?
You're probably right for modern/default use cases, but I've seen C++ for Windows Mobile fail terribly too (Android Studio supports NDK/Native C++ code also).
> I don't expect professionalism from someone who's basically giving me free stuff.

That's weird. Professionalism should be expected in all aspects of life. That's basic human respect.
Does anybody in your family have a cat?

I recently visited my brother and he was talking about crowdfunding a project of his..guess what? YouTube showed me ads for crowdfunding platforms later that day, probably because I was logged into his wifi.

It sure feels a bit creepy sometimes!
Paper Lamp Shades :- Enhance the Decoration
In what way is Sir_Cmpwn's work "crappy"?

Guess what: if you ask your local Catholic priest to give sermons for your weird sect, he'll probably refuse too. And if lots of people keep insisting, it's not surprising he gets annoyed.
In this case, what's the difference if you write the test before or after though? You would still be covered. I don't lean in either directions in this argument, just curious to understand.
For your ~/.gitconfig:

[alias]
co = checkout
psuh = push
s = status
l = log
d = diff

And then alias g=git in your shell configuration. "g s", "g l", etc. But nowadays I just use magit.
I am in the opposite camp with regards to The Expanse. I consider the first season a very, very good trailer for the first book.

I also consider the Dark Tower movie a somewhat okeyish trailer for the series. I just finished the second Dark Tower book, and in the books the man in black always speaks like McConaughey.

However, I understand your feel. I can't read Harry Potter, it's just not interesting enough, even after the movies.
Www.supplementscart.com/z-max-male-enhancement/
The companies that make these pills will claim that their products are guaranteed to increase the girth as well as the length of the male organ. But the question is, do they truly work?

Will It Really Increase The Size?

Although the size of the male organ will not matter for most men, this issue seems to be a big deal for most people. Men fear the thought of having a small organ because for them, they will be unable to satisfy their partner during a bed encounter.

Due to this hype, more and more men are becoming so interested with the male enhancement pills in an effort to increase the size of their manhood. What these pills will actually do is to improve the blood flow in the male organ, helping him to be able to attain an even longer erection, thus, his manhood will turn out to be bigger than its typical size.
www.supplementscart.com/z-max-male-enhancement/
A Hacker's Day – Productivity tips, desk setups, routines – Pre launch
You can finally view your saved passwords in Chrome for Android
Ask HN: How to repair a country?
I come from a country that is not only financially unstable, but the corruption is very high. That country is Greece.

Here is a pastebin from a longer description if you don't mind reading: https://www.pastiebin.com/59f2f738cf269

Atm Greece is definitely not on the right path. Its heading towards the wrong direction. Not only financially, the people themselves have accepted that after 10 years of struggles its only gonna become worse and stay like that.
The government is so corrupted but noone is going to jail, the Europeans are turning the backs to the problem as long as the Greek Government runs errands for them. I was hoping that being part of Europe meant that they'd help out on situations like that e.g Corrupt Government that needs proper jailtime.
Financially nothing is getting better, the debt is only growing longer and longer.

How do you repair Greece? How do you change the mentality, the Government and how do you put Greece back on the right track for financial growth?
WebGL makes no sense for AAA titles. How do you even deal with the gigabytes of assets used in those games?
Years ago, I forget how, I managed to wipe the partition table of a DOS PC. I ended up reconstructing it by hand using MS-DOS Debug and a copy of Peter Norton's book.

Another fun one: "killall" on Linux kills processes with names matching a string. "killall" on Solaris reboots the machine ...
Halley's comet returns every ~75 years. How could it possibly be interstellar?
Scaling Event Sourcing for Netflix Downloads
Or it's an experiment. They're giving it a lower importance job during the pilot program. Hard to imagine the initial deployment being on a mission critical path for the store's operation.
How to play Texas holdem game?
At some point, I guess, they have to collide with the US government. I don't mean in minor ways (like access to iPhone) but in a big existential way.