skysight-inc/HackerNews huggingface dataset:
They get thousands of applications, it would take way too much time to answer them all. Plus, it's not like 'fix this and you'll get accepted next year'. In fact, they do state a single reason in the rejection email, it's just that it's always the same: 'there were others that seemed better'.

Keep working, and don't put too much value on a rejection. If anything, filling in the application itself is a nice way to think about your startup!
I strongly agree with that, too. My current, experience-born belief is that if the only reason for introducing some architectural pattern is to accommodate testing better, the change is wrong and will likely hurt the code quality. Yes, you need to concede a little bit to allow for test points, but turning your code inside-out to have it go through three layers of indirection so that the middle one can be mocked easily? That's just stupid.
Well, it depends on how long ago it was.

When I went to engineering school I used Nvidia with linux and worked flawlessly. It was the best vendor by far, because they needed to support Linux for Pixar and other guys.

Now it is the other way around, basically because of Nvidia success. They have a monopoly on practice and could do whatever they want.

They only care about Windows. We have Vulkan, Metal, OpenGL and DirectX backends for our software. We only debug in DirectX with Nvidia because it is the only thing they support well.

If we could get rid of Nvidia for most of what we do, like Apple did, we will without a doubt.
Know Well More Than Two Programming Languages
One thing I don’t understand with these very old languages is that I thought the reason they are still around is because of some programs written in the 70s to early 90s are still around and needs to be maintained.

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?
Specifically a four way stop, and I'm not sure I agree that it isn't a good analogy. It's an autonomous system (traffic laws) commanding human behavior.
> They speak of the Philsophy of Mathematics. In short, it is considered the highest order among Mathematicians.

Speaking as a pure mathematician: It's really not.

When I say this stuff is pointless, that it doesn't affect ordinary mathematics, I'm not just talking applied math; I'm talking, well, all of ordinary mathematics, pretty much. Number theory, combinatorics... every now and then a question comes up whose answer depends on the continuum hypothesis admittedly but it's seriously rare (and on those few occasions when it has happened, I think often someone comes along and says that this means that you were really asking the wrong question in the first palce).

I mean, OK, there are people such as Harvey Friedman who work out arithmetic consequences of such assumptions. But the statements they come up with are seriously contrived, not the sort of thing ordinary mathematicians care about, even if the statements no longer involve infinities.

Hell I work with infinities sometimes and I don't care about this stuff! Of course, I'm not a proper logician or set theorist. But doing computations with ordinals and well partial orders is fun... and the answers you get never end up depending on this sort of stuff. :P
" It seems strange to pass laws that say those individuals aren't allowed to sell to people that are willing to pay more money."

The sales of every good and service are regulated.

Capital transfers are regulated.

Taxes are based on different kinds of economic activity.

It's not even remotely strange that non-citizens should get a different tax treatment or whatever for sizeable personal assets.

I'm surprised that people are even allowed to do it in the first place.

I have no expectations that I can just 'go to China or Geramny and buy some houses'.
It'd be great if we had some general-purpose probes that could be redirected to, at least, do a flyby.
>Okay. The biggest problem I see with people trying to write unit tests is that they don’t want to change how they write code. They just want tests for it. It’s like watching an OO person try their hardest to write OO code in a functional language.

I've seen what happens when a developer tries to abstract away a database in a database driven app so it can be "better unit tested". It's a goddamn mess.

If your app relies heavily on using a database, your app naturally integrates with a database then it makes no sense to test without it. You are intentionally avoiding testing in a way that will pick up bugs.

>Unit tests run faster, are written faster

Unit tests test less realistically. That means they don't catch bugs integration tests do.

They also often take longer to write and are more tightly coupled.

How coding this way came to be seen as a best practice is beyond me. Tight coupling and premature optimization is usually seen as bad practice in other areas.
Sold out already
> wanting to own other humans, killing people because of their race, gender or sexual orientation are not morals.

So what's your stance on Islam?
Would you please stop posting unsubstantive comments? You're flamebaiting to the point of trolling. (No, the mods are not Nazis.)
I don’t see any.
if only there was a process for collective decision making. perhaps we could delegate the more complex decisions to representatives chosen by the people using this process.

somebody should invent that.

(sorry for the snarky tone, but why is this even worthy of discussion here?)
I was thinking what kind of citizen, more or less rights than women, more or less duties , will it have to stop on Fridays?. Sounds funny but they have to answer those questions in a strict religious country.
> If it's for 100% test coverage: forget about it.

Im a realist and don’t see any point or value in chasing that goal for a 20+ year old company code-base.

But I expect new modules to be fundamentally testable.

> if you test private methods: you're doing something wrong.

Agreed.

> What people usually see from the "unit test evangelists" are codebase for which you have tests for every method in the code.

Is that really so? It’s easy to be opposed to extremists of any form.

I only “evangelize” that business-logic should be tested and thus needs a code structure to isolate the business-logic from its dependencies (databases, services, factories, etc).

I find that perfectly reasonable.
"Nvidia module taints kernel"

I remember seeing that scroll by on my Gentoo install about 15 years ago. This strange sentence actually got me reading deeply into the what and how of open source. I have been hoping for a nice Nvidia Open source driver since... Until Intel took that away, I'm not a gamer/deep learner so I always opt for Intel integrated graphics nowadays, saves money, hassle and power.

I always believed that if AMD/ATI got their S together and made a super nice open source driver they'd make a lot of money! Guess I've always over estimated the Linux users' market share.
The problem with this kind of advise is that projects are all very different - there is no one fit way to test it.
So citizenship for a robot. That implies 'human' rights for the 'thing'. Healthcare, unemployment, etc. It should be allowed to vote I guess? And as citizens cannot have an owner, it is now an independent legal entity? It can go to jail?

So many questions, so little answers...
Unfortunately AMD gpus are not supported on OSX, so if you want to dual boot OSX/linux you are forced to chose nvidia because of Apple.
You have not provided any further details on why this is better.

And you mention living a transient lifestyle. Please tell me more about the property you own in Singapore then, because i'm sure you're happy paying a double digit percentage stamp duty in a not entirely stable market for 1-2 years of living here.

/s
"fake news is news that is [...] partially [...] fabricated"

that is ALL news not fake news. All news are written to influence you in one direction or another. There's always stuff that is left unspoken or added and things that are expressed this way or the other.

Example: Pro-Saudi news says "The people fight against Assad terror regime in Syria" and pro-Iran news says "Syrian government fights against terrorists" (that were the stories about 2014 if I remember correctly). Depending on which side you stand articles with your phrasing are the "news" and articles with the other phrasing are the "fake news".

The truth would have been "ongoing battle between Iran and Saudi Arabia for leadership of the Arab/Persian world". I don't remember a single news paper reporting that in US, Europe, Russia, China or local.
Ask Equifax, they “didn’t need” to store as much as they did, let alone in plain text. Perhaps it’s useful for, oh, making sure two people aren’t signing up with the same information.

Other problems include:

* Social security numbers are explicitly not ID numbers

* Not all Americans have social security numbers

* Even if they did, Americans are about 5% of world population

* Not everyone on the internet gets post (say hi to Nairobi, where addresses of relatively rich locals may be “$Name, third on the left behind the petrol station on the highway”, while poorer people have homes that don’t officially exist on roads that don’t officially exist. Some of these people rely on mobile phones for payments, as banks don’t care.

* Not everyone has an ID certificate or card or passport or driving license to provide, and if they did, why not just skip the middle man and ask for that directly like AirBnB (and every international airline I’ve used) does? Or your bank account, like PayPal does — after all, a bank will certify your ID*

(* they probably don’t all, and even if they did, not all people have bank accounts)

Basically, ID is not a perfectly certifiable thing, so you need to design systems to accommodate failure — even if we actually solved it in theory, all it takes is one criminal finding one implementation flaw and a system that assumed perfection would allow grand exploitation.
While I agree with the broader sense of what you are saying I agree, but counting the lines of code like that is a bit unfair. Yes there are many, even for an app, but the source code of your terminal and the commands that you use should also be counted by your logic.
" That's not the case for simply selling a piece of property to a willing buyer."

Not quite.

A wealthy citizen of a 3rd world country has used the fact that he can pollute and treat his staff like slaves - to make tons of money.

He can then go to another country wherein surpluses are spread more evenly - buy up property - and start to dominate those people economically as well.

One could make the cases that 'you cannot buy homes in our country unless you're a citizen of a country with similar rules regarding externalities like the environment, human rights' etc..

Because a lot of this money is coming from countries where all sorts of externalizations are made.

Same thing for manufacturing: we 'stop hiring' in locale A and go to 'locale B' where we can pollute and have slaves. You can't really look at it solely from the context of locale A.

For the same reason different nations have separate currencies, I think we need to separate domicile policy.
Here in bavaria, the supply and demand curve would have ruined the alps, in particular the allgäu. Everyone wants to live in a beautiful place- the problem is, the place is gone, once everyone does.
> In the past 200 years, capitalism has been the only economic institution in the world

This is not true.
Then why are they implementing an API that's been unpopular for years and is now being phased out entirely (for AAA games)? I think they're more concerned with the politics of it than the technical requirements of that userset. Games are heavy users of driver and card specific extensions for instance. But that'd be at odds with the web's portability commitments.
Kolgomorov complexity seems like the obviously correct measure, though AIUI it's only defined relative to some fixed Turing machine.

I have an idea of doing a PageRank-style weighting of Turing machines, based on how simple/complex simulating one under another is. That would align with my intuition that most basic universal Turing machines are equally valid, but one that has (say) a short instruction that outputs one particular long sequence of symbols is probably not a valid machine to use.
> I always get a chuckle when I see Europeans deriding the American Empire. Pot calling the kettle black much?

Firstly, Europe is not a country, it is a continent of countries and many did not partake in colonialism. Referring to Europe as one homogenous group is one reason Americans are derided, because it is ignorant.

Secondly, the US has an unhealthy superiority complex and considers itself exceptional among all other nations, despite being pretty much the same as any other Empire that has existed in the past.

The fact that (to an outside observer) they consider themselves immune to the weakness that destroyed previous superpowers is another reason they are derided, because those weaknesses are pretty apparent to anyone who isn't a flag-waving jingoist fanatic.

Thirdly, those countries that did engage on colonialism no longer do and the people living there today have basically nothing to do with it. They deride Americans because they are in fact engaging in colonial-type practices today, despite the lessons of the past.
It kind of saddens me that people have to point to human cashiers as a source of social interaction. Maybe you can find a place where you can be with people who accept that you want to be solitary at times. I attend my local hackerspace for that purpose.
Correcting people's mistakes is not nitpicking, it's how people learn.
> Speculative real estate investment is a direct result of restrictive zoning.

By definition, it's not. It's a term coined to separate out the impact on prices of people buying-to-live vs people buying-to-sell/rent-and-profit. And if foreigners are more likely to buy for speculative purposes, barring them from doing so will decrease speculative increases in house prices.
How to preorder the iPhone X 48
Using a good password and two-factor authentication basically eliminates this issue. You are looking for what is called 'security through obscurity' which is never a solid defence plan over real, verified, security (like real encryption, proper passwords, multi-factor authentication, etc)
Sharing Analytics Across the Enterprise Leads to Smarter Business
I've heard it's not the best solution in Europe. What can you tell about it ?
It appears Travellers Tales makes almost exclusively Lego games. I doubt those require AAA level game engines. To clarify I was talking about high end 3D graphics.
Bitcoin Is Leaving Other Digital Coins in the Dust
I lived in Australia for 12 years, they fed me fake news about the progress of the NBN on weekly basis. In the end, they didn't deliver it at all - I was living in Sydney's inner city suburb but there is no way to get it 10 years after the promise was first made.

Moved back to Shanghai in 2017, was really happy about the fact that CCP didn't play the same game, they deliver concrete results. 500Mbps fiber costs me $450/year, with an extra $20/year, I can screw the GFW - streaming 4k from youtube is easy and I am watching it now.

I really like the fact that there was no general election topic or endless + meaningless debate on whether such a fiber network is good or not, CCP just deliver what they believe is good and take responsibility from there. Life is short, how many 10 years you have to waste on craps like that?

It is also worth pointing out that in Chinese definition, wasteful spending on tax money is serious corruption, you'd be seeing trucks load of CCP officials sent into jail should they dare to spend $49b without delivering the network on time.
Why are some user names green on hn?
I love the marketing angle.

Just two days ago, our internal company newsletter announced a purchase of another industrial robot, and the newsletter said it is meant to "help/relieve our employees with doing monotonous tasks". In the office, we all read this and were "yeah, right; what you actually mean is 'let us get rid of those employees who are currently hired for doing those monotonous tasks'...".
NIST Face Recognition Vendor Test (FRVT) 1:N 2018 Evaluation
Has that specific angle been covered by the mainstream media?

I don't know if it has been covered specifically about NZ, but otherwise yes, many many times. For example: http://www.nytimes.com/2011/07/07/nyregion/more-apartments-a... https://www.nytimes.com/2015/02/08/nyregion/stream-of-foreig... http://nymag.com/news/features/foreigners-hiding-money-new-y...
"apartment building" != "high rise".

Japanese zoning (which you'd expect to be quite concerned about quake standards) does not distinguish single-occupancy houses and apartment buildings, as a result non-central urban residential zones have a significant mix of houses and apartment buildings of 2~4 floors and 4~10 flats/floor e.g. this is a typical apartment building on the outskirts of Tokyo City: https://www.google.be/maps/@35.6352621,139.6260533,3a,75y,20...

In much the same way, "inner-city" parisian appartment buildings mostly follow the Haussmannian standard of 5 floors.
>Why does everyone rethink a working strategy. Write lots of unit tests that are fast.

* Because I want to avoid writing more code than necessary.

* Because I want to avoid writing tightly coupled code.

* Because I'd rather have a test that takes 2x longer and catches 5% more bugs. Premature optimization and all that.
I don’t know about cobol specifically , but I do know about technical debt: Liability and cost of switching. Who will take responsibility for any outages (or much, much worse) if it goes wrong? Who will pay for all the safeguards and processes to prevent that from happening? Easier to keep paying the (predictable, consistent, piece meal) upkeep fee than to spend an unknown chunk of money to take a huge risk for a very low immediate gain.

It’s in a local maximum. Just like all technical debt. And as far as I hear, cobol is used for things that put that risk and liability factor on steroids. I know I wouldn’t touch it without some serious budget to set up massive amounts of redundancy and fail safes.
Just make sure you aim to miss all of the planets around it ;)

And that you are far away from Sol to not burn on it

It's an interesting concept to think about
Tldr;
Market pressures always lead to quality decay over time. Even with Google - it started with lightweight, quality, bullshit-free search. Look at it now.
Your willingness to think critically and challenge "the truth" is great, especially questioning whether Howard Brennan's testimony is reliable and free from manipulation.

There are certainly many dubious points about Oswald as the shooter, but if he was not the shooter, why go home, change clothes, arm himself, then shoot Officer Tippit?

His post-assassination actions are incriminating, and hard to reconcile with an innocent man.
And if you use X-to-COBOL compilers, then even god cannot help you.

Exactly this! I started my professional carreer with COBOL, which I still don't deem to bad for what it was designed.

But we were forced to use Jackson Structured Programing implemented via a pre-compiler (which conveniently ceased to work in regular intervals, since the license expired, but I digress).

You're right! God would have run screaming after one look at the resulting garbage code if we would have the impertinence to ask for help.
Dockercon Notes – Kubernetes, OpenFaaS and Machine Learning
A lot of British people (over 60% when polled I believe) are convinced that our Empire was a positive thing overall for the world. They tend to gloss over the uncomfortable parts.

I find it the most disgusting aspect of my country and its people. Nationalism at its worst.
> owning..attention

They don’t own it. They only provide a way for advertisers to make an appeal for it.

Sounds like a quibble but their entire business model can come crashing down in enough people start using adblockers which is already happening organically by word of mouth with little noise.

Ownership would mean they can force your attention on anything they deem fit.
I'm a fan of blockchain tech myself. Your page looks allright, the icons are nice. Perhaps a direct link to the Geens.com would be good so that I don't need to write it manually.

It's not clear to me if this is a mobile app or not, so not sure what I'd be signing up for. Is this a camera app which stores the picture on the blockchain? Perhaps you could shed some light on the token distribution for the not-blockchain-aware people.

Btw, if you are interested in more UX feedback, please feel free to check our free platform: https://usability.testing.exchange
twas a joke.
Amazon Adaptive Icon
Instead of introducing more friction into the system so that people have jobs (that are essentially pointless), let's make it so that people don't need to have jobs to survive.
That book is indeed good, at least on a personal level.

It has helped me refine what I consider good code and good effort wrt to testing.
As an intellectual exercise, please define "robot", especially as opposed to "machine" and "tool".
Because it’s our country? You know how countries work, right?
Premium economy - a better seat/legroom, but otherwise much the same service as economy (modulo sometimes free drinks or nicer food presentation). It's nowhere near universally available, but where it is, it's often available for around a 50% markup.
> If you test private methods: you're doing something wrong.

Maybe a silly question, but why?

If I refactor a class to pull a common piece of functionality into a private method, why would I not want a test for that?

One of the principle benefits of tests I see is allowing me to change the implementation without worrying about the behaviour, and I'm not sure why that wouldn't apply to private methods?
That’s only a dream. Google also scans email snd combines the data with that of all the other users for spam filtering purposes, which is a big part of ‘email’.

It’s not difficult to put together creepy functionality and twist it so one of the purposes is providing email service.
Oh, really? So how is one supposed to learn from just getting a list of corrections with no explanation whatsoever?

If you want someone to learn, help them. If you're not willing to do that leave it be. If you can't leave it be, you probably only want to nitpick.
You can only count the lines of code for my terminal if you also count the lines of code for the Browser.

The source code of the command in question (dig) also doesn't count, because their application literally calls the `dig` shell command. So they need not just those 500K lines of PHP (I didn't bother to count the CSS or JS) but they are also dependent on a shell (probably /bin/sh, which could be anything deepening on their host OS) AND the dig command itself.
Unit tests are not integration tests.. True, but I've seen a lot of developers get far too hung up on what constitutes a unit, where a unit test or an integration test should live, what should or should not be mocked, excessive over mocking for philosophical reasons...
Stop worrying about it and test your code.
It is; regular people in the western world - especially men - aren't generally welcome in a shop when they're wearing face-covering masks, for security reasons.
Abductive reasoning: Logic, visual thinking, and coherence (1997)
It may be that Unity/Unreal influenced each other but it was hardly reacting to the way the market was going. Many top AAA games are now made with Frostbite which isn't even available publicly at all, it's entirely EA proprietary. If "cheap and open" was such a clear trend Frostbite wouldn't exist.