skysight-inc/HackerNews huggingface dataset:
I don't have a disregard for history in general. Like, there's lots to learn from the world wars and the whole communism story...

But Europe's "local" medievally rooted history is always either useless or utterly malignant and has only been used to turn against each other people that could otherwise live in peace and prosperity, sometimes with violent consequences. Even the concept of "nations" is utter bulshit and should be erased from people's mental vocabulary imho. You just have groups of people with regional ties (because assets like land property rights can't unfortunately be easily transferred like you can with Bitcons ...yet :P) and economic interests and real cultural identities (that never, ever map in a useful way to "nations" or "provinces"... if they do map to anything it's at the bigger scales with race and religion, or at smaller scales with sub-culture groups, gender identities and these kinds of sutff).

The whole modern version of "understanding history" is a freakin cancer that can only bring confusion and false understanding.
"I was promised that tricycle after filming but it never came"
One reason why is because you should be testing the public behavior of a function/class not the details. The reason for this is because the public interface is what other parts of the codebase will come to rely on. Refactoring generally shouldn’t change the public interface as it will break other pieces of code within your codebase, or other codebases if it’s a library, and other systems if it’s a network api. So, if you test the public interface, generally refactors won’t break the tests.

Testing private functions also seems to be a smell that the overall setup of testing the class or function is too difficult. This can be because the class has too many branches in it, the argument list is too large, or too many other systems must be in place for it to function correctly. This, to me, indicates a public interface that is hard to use and will pass much of these issues on to the caller.

Lastly, if you are testing private functions to gain coverage then arguably the behavior in the private method isn’t actually useful to the public interface. The reason I say this is that testing the behavior of the class should end up touching all branch conditions inside the class or the public interface isn’t fully tested. By only testing the public interface it then also becomes easier to locate dead/unreachable code.

Hope that answers the why.
Signature-Free Byzantine Consensus for Consortium Blockchains [pdf]
Posting styles
Somewhere along the way to 10s, we lost the work flexibility. "I took care of my kids for 5 years" gets your CV discarded in an instant. So both parents, not always because they need the money, but very frequently because they're afraid to lose their career, choose to keep working.
After the post and all his comments here I have my doubts that "bitch and whine" isn't actually "people ask me questions, I realize that they use Nvidia so their questions are by definition whining and bitching."
That's $3.4B per quarter, or $13.6B annualized run rate, putting it closer to #200 on the Fortune list by revenue.
I agree. Tests for bug fixes are extremely valuable. Of such tests, unit tests are often very feasible.

A test accompanying a bug fix holds value in many ways.

Firstly, it demonstrates to those reviewing the change that the fix is suitable.

Secondly, the presence of a test encourages reviewers to consider what a test does and doesn't cover, sometimes resulting in comments regarding improvements that had not otherwise been considered.

Thirdly, and of most importance in the long term, a test for a bug fix serves to document oddities previously discovered that were for a time not known about.
browsers are complex beasts, but they dont need to really go 60+ fps... if a page loads in a second people don't sweat it. if a frame loads in a second, people throw their pc out of a window and rage your company into an early grave ;D
I don't think thats true. Our compilers are complete pseudo-cross compilers (i.e. with binutils, glibc, kernel headers and their own sysroot) that can be both hosted on and always target CentOS6. This means software built with them will run on CentOS6 and will not, by default, pick up your CentOS6-incompatible headers and libraries in /usr/include and /usr/lib respectively.
Exactly - Integration tests !== E2E tests
Linux Foundation Introduces Open Source License Agreement for Data Sharing
No problem and glad to be of [di]service. I was familiar with the URL you posted, and probably should not have commented as a reply to you, but there you have it. :)
Build .NET Core Apps for Raspberry Pi with Docker
Show HN: nexdex, a social news aggregator for news in german
After working in Hospitals for many years (ICU/CCU PCA/Theatre Technician) I'm pretty much stuck on 24 hr time.
Absolutely! Drop us a line at hello@tiledb.io and tell us a little more about the problem you are trying to solve and we can go from there.
Twitter’s multi-million dollar US election pitch to RT
love how this os is progressing, bit heavy still on the resources, but thats fair for a hypervisor, those tend not to run on potatoes. :D so much fun to fiddle with!
> What makes it that expensive that no one wants to rewrite them in a modern language?

From a business perspective there may not be much to gain from doing so. If the old software works in a current environment then there often isn't a justification for the cost of rewriting/testing/integrating just to end-up with the same thing in a shiny new language.
Tim Bray on Working at Amazon
Man, I really want to read that study!
A friend of mine is doing heavy CUDA work at the Helmholtz research center in Dresden, and at the same time he's desperately waiting for AMD Vega cards to be in stock somewhere so that he can build a desktop without shitty drivers.
Anyone can own machines. Go buy one. Automate some stuff. Make some money. Stop being a stick in the mud and get with it.
From my experience an integration test failure that requires significant efforts to investigate can only be covered with unit tests after one knows where the problem comes from. One cannot realistically write a bunch of unit tests and expect them to cover the problem unless one already knows about the problem.
Funnily enough for the reasons carefully explained in the article. i.e. cost vs benefit, fragility etc.

Nobody disputes that if they came for free then full unit test coverage would be a good thing. The area open to reasonable debate is whether they give the best bang per buck in terms of testing (as opposed to the role of tests in TDD - which is a different kettle of fish: http://www.drdobbs.com/tdd-is-about-design-not-testing/22921... )
C# is the new Java... facepalm
I deeply agree with your comment. I think that it can be applied to rural Spain too. It is a symptom of this 2-speed way of living. As I write this I am surrounded at work by a Polish, Romanian, French and Irish. The richness you get from this interactions cannot be surpassed by the TV or the Twitter echo chamber.
The Engineering Manager – Scrutiny and Judgement
exactly the justification I heard from my english friend some time ago. like some stupid infrastructure improvements for few justifies enslaving whole nation for generations, shooting a protesting thousand civilians on a whim and generally robbing the nation.

what's wrong with you?
The setup time is one of the argument, in docker the whole thing takes couple of seconds, you might not appreciate the quick boot up time but lot of others care about that. If you are happy with slow boot up time then you should not migrate to docker but if you want something quick and easy then consider docker.
What is wrong with that? Most companies operate in a single field of business. Those who diversify sometimes don't do that great as the focus changes a lot.
10 is EOF, 0 is successful read. Not that it actually matters, your point is perfectly valid. You can use sort off boolean operators thats toggled on based on the value in variables.

Outgoing web requests are usually done via either a program in some other language that you call from the COBOL application, or via DB2s built in functionality by running it as an embedded SQL section in your program. Why the heck web requests are handled by the relational database is.. Well I mean it feels odd, but by doing it that way they added the functionality to both zOS and IBM i at once. And old developers don't have to learn all to much new stuff to do it.

Also, while the COBOL program works with a static set of files with static filenames. Those names can point to any file by various overrides done in either JCL on the mainframe or CL on the IBM i/AS400. Regarding the file formats, you can read the file into different working-storage defined variables, so each row doesn't have to be identical field length/position. In short, COBOL is just one part of the solution. Various "scripting" languages play a large part in defining what files go in and out. And none of them are available outside of the actual mainframe/midrange environments. Most data is gathered from relational databases anyway nowdays, and embedded SQL, just like in PHP webpages of yesterdays web, is whats used in newly developed programs.

But all in all, yes it's a rather cumbersome language, for any sort of sane string handling you have to revert to embedded SQL. But most problems you have to write programs to solve can usually be broken down into smaller problems. Then just chain programs to handle it. The language itself is usually just a bit of a bother, but the age old programs written 20-30 years ago written by developers of varying degrees of sanity who had no requirements on them to document their work is what makes the job a pain.
Indeed, and neither you nor the GP were criticising.
it certainly is a news source.
MIT: surface with reconfigurable texture developed
Please, lets try to keep HN a bit different from Reddit. We only ask for informative comments that really add to the discussion, thanks!
This data is more accurate than the typical media-reported 'vacancy rate' arrived at by surveying real estate agents and asking "what percentage of the properties on your books are currently vacant?" - which usually results in a figure somewhere around 3%.

The methodology of the Speculative Vacancies Report involves gathering water usage data for all properties. That can mean that if a property is occupied for a single month it isn't counted. A lot of the Docklands apartments appear to be not only vacant investments, but also short-term rentals and 'city pads', so I'm not at all surprised that it appears more like a ghost town than the figures suggest it might.
Tempting, but what if I live in the country and own two properties? Then do I get to perform the deduction twice? If not, then am I punished for having two properties? It would be pretty tough to fine tune this.
Testing DNSSEC public keys for the ROCA vulnerability
I had to program in COBOL for one year when I was in college (in the 70's), I hated it. After that I had to program for one semester in IBM 360 assembly language, which turned out to be a far more interesting and enjoyable programming language.
I agree very much with this. I'd add one thing, adding tests and testing your code are not the same thing. You should write tests, mostly integration tests, testing public well defined boundaries of your class, your component, your service. Mock only IO if needed, but not other classes. But also tests the rest, but no need to add a test for them. Just run the code, try out the private functions, make sure they work.

And also go read Testivus: https://www.artima.com/weblogs/viewpost.jsp?thread=204677
Can confirm. If you have a card that supports the amdgpu driver, then the experience is great. Everything just works, and at competitive speed no less.
It's a normal, stable, adult font. Decent and legible and reminiscent of a double spaced essay in the humanities.
I'm so glad that The Expanse has brought great space opera to the masses. Scifi books are several orders of magnitude better than the majority of "Scifi" Hollywood movies.

The struggle of a fledgling technological species against the plight of interstellar space is a majestic backdrop for many of the best novels I've ever read. Especially with Clark, Niven, Pournelle etc. that have done some excellent mathematical investigation into the feasibility of the concepts discussed.
Your link and title don't match?
> Both the scientific an the rich deserve more respect than others actually

Respect is earned, not bought. Which is why I can respect a scientist I haven't directly met, but rarely respect a rich person I haven't met.

In saying that, there are people with large net worths whom I have met, and hold in high regard because they're great people. And there are people I've met in the scientific community who are complete and utter numb-skulls.

I do agree that people as a whole tend to show respect for these people. But yeah, I think respect needs to be well-placed.
The series is awful. Original Rama is awesome but then some co-author takes over and it becomes a mess. The dude definitely had problems.
This is my exact mentality as well! In fact, I like it so much that I apply it to system design as well. Structure the pieces of code into a directed acyclic graph for great success. A tree structure that terminated leaves is a DAG.

https://en.m.wikipedia.org/wiki/Directed_acyclic_graph
I want to upload a WebGL demo I've made but I don't understand where I input the vertex shader, only the fragment shader. The site lacks info on how it works.
I'd be very surprised if it were any different than what's standard, which is to recognize the revenue when the product/service is delivered.
Swings and roundabouts really, not everything they did was bad and not everything was good.
Hm ... Britain, France, Germany, Spain, Portugal, Belgium, Dutch, Austria, Russia ... just come to my mind, when I think of european empires.

So what "most other nations" are left, except for some easterns states?
Yes, I'd forgotten about the Buzz Rickson!

I'm not inclined in any way to follow fashion but I was really taken with Gibson's attention to detail in these books. He has a way of imparting curiosity about the seemingly mundane and I have started to pay attention to similar traits in clothing.
Because there isn't proper way to write unit tests for GUIs for example.

They can only test parts of its behavior, not everything, and are too brittle to any simple UI/UX change.
The advantage of course is capital flowing to the country: someone sold that house and now owns currency that was introduced from outside the system, which will now be spent or invested in the country.

And housebuilding is not linked only to rent, but rather to sale prices: if homeowning is culturally valued, people will pay to buy at higher prices.
It isn't totally off-base. Even today, the poorest consumers in middle-income countries spend 70-80% of their income on food.

http://www.hindustantimes.com/interactives/how-do-people-in-...
I've also had employers in different EU countries offer flu shots.
Captain401 is hiring in sales and marketing to help small businesses offer 401(k)
This is the only true statement that can be made about this whole integration-/ unit testing debate but it will never be popular because it doesn't seem to be simple enough.

Most people like black and white guidelines. 'Unit testing is good, integration testing is bad', something along those lines. Simple to remember, simple to apply. Unfortunately it doesn't match reality.

The truth is, every testing strategy is a tradeoff. Integration tests are great at catching regressions and verifying business requirements, but they can take a lot of time to construct, tend to be slow and don't give you much clues where to find the error when they fail.

Unit tests are fast, easy to build and when they are well written they will point you right to the point of your code that is wrong. However, the more specific they are, the more they tend to test your implementation choices instead of real business requirements.

But even the above is not always right. When you are building a library, you might be able to create unit tests that test your api and then you have the best of both worlds, your unit tests do actually verify your business requirements.
On the other hand, it might be that you are building an application which doesn't depend on a lot of data and which can be orchestrated pretty well in a test set up, and therefore integration tests are actually easy to build; in that case you'd like to focus more on integration tests.

Tl;Dr; there is no silver bullet, in the end the only right thing to do is let your test strategy depend on the characteristics of the project.
They certainly didn't where I went to school, in the 80s. It really wouldn't surprise me if this was the case in some schools now though.

We've basically semi-privatised a lot of our schools under the academy system - they are run like businesses and have a lot more freedom over the curriculum leading to all sorts of horror stories.
However, it still sounds bizarre that about 90% of their expenses was food.

For two adults and five children? If you're working class, it'll cost a good chunk even today (barring state subsidies).
;)

Or maybe later Android versions know they should turn the Tortoise back on its feet.
Why the Travel Industry Fears Crypto-Currency
> in docker the whole thing takes couple of seconds,

Once you have a running Linux Kernel. I don't use a Linux host OS, so I would still have a delay starting a VM to run Linux, and running a Hypervisor to run containers for a dev environment is too many levels of abstraction for my liking.

> you might not appreciate the quick boot up time but lot of others care about that. If you are happy with slow boot up

Is Docker quicker? Sure. Does that make Vagrant slow? No. Slower does not mean slow.

> but if you want something quick and easy then consider docker.

I prefer things I actually have control over rather than just "quick and easy".
Don't forget their current investments in Africa
Step one: be rich enough to afford to significantly invest in automation. Step Two: Get Richer.

The problem is that to get that initial investment money you need to work, and the jobs that you're doing to earn that money are disappearing due to automation. So you fall one side of the divide or the other - if you're already rich you'll get richer, if you're not rich your opportunities to become rich are disappearing.
>The amount of Elon Musk hate I see online is crazy.

It's called envy. They think they are saying something about Elon Musk but in reality they are telling what kind of monsters they themselves are.

In Dutch we have an expression: The inn keeper is as the inn keeper trusts his guests. As in: good people assume good intentions. Bad people assume bad intentions. Those who trust are trustworthy, those who do not are not.
I would recomnend not optimizing for less code. Optimize for reading less code.

Unit tests actually tend to favor highly uncoupled code while integration seem to favor more coupling with e2e favoring the most coupling. I believe this is because the higher the level of testing the fewer public interfaces are thought about at lower levels.

As for percentages about speed and coverage, that seems like a bad trade off of 5% gain for 100% slow down. Especially because test time compounds.
So, unit tests are not integration tests, acceptance tests, or end-to-end tests.whoah. so what?
Right now the consensus is that it is Ted Cruz's dad.
Housing isn't like every other good that you can sell. It sits on land which is extremely scarce. At what point does selling housing abroad become a bad thing? When 5% of homes are empty? When 10% of homes are empty? 50%?
peter sunde seems a bit loopy these days.

"He repeated his claim that the internet began life as a nearly-perfect and free place." - in what universe did this happen? it got developed by DARPA ffs...

"“We’ve centralized all of our data to a guy called Mark Zuckerberg, who’s basically the biggest dictator in the world as he wasn’t elected by anyone.”" - everyone choses by free will to submit their data. and even if you didnt, your data would end up in the same place as the whole of the internet is tapped on the backbone...

"Dictator definition, a person exercising absolute power, especially a ruler who has absolute, unrestricted control in a government without hereditary succession."

None of this applies to zuckerberg. So wtf is he talking about with such a statement? Seems like just childish behaviour at best.
I think the name's free, and "visiting mythics" works nicely as a theme.
What are the benefits to a city and its local inhabitants of a foreigner buying an existing residential home that it will not inhabit?

It supplies a property for rent (i.e. it's not like the property disappears), and the extra demand increases the value of properties the locals own.

I think it's only really problematic if capital is cheaper for foreigners than locals.

In that I mean, I feel you'll only get foreign investment to grow your city once its already too expensive to live in. As they build more and it becomes affordable again, they'd stop investing, and it will become unaffordable again. Keeping the city in a perpetual state of unaffordability.

I don't see how this logic is restricted to foreigners. The argument seems to be universally applicable, which makes me suspicious: why wouldn't investment grow the city until rent falls to the cost of capital + maintenance etc.?

(I think the argument doesn't actually work because of the nature of property: location, amenities, services, community; things whose supply isn't easily increased simply by capital. But if it did work to some extent, it would still apply to nationals just as well.)
Plutocracy?

It seems to be doing pretty well.
So if you agree that the providers of service on the internet are under no obligation to provide a soapbox for everyone who signs up, what do you recommend that that look like should one be established?

A pretty common sentiment is that you neuter trolls when you remove any chance for anonymity, i.e., you put their reputation on the line. I would be happy to belong to a "free speech-oriented zone" on the internet that required real-life verification. Then people wouldn't be so quick to spread virulent, violent ideologies in such a space. IMO this provides a secondary effect, namely that people would stop taking so seriously those areas where anonymity is provided. Perhaps the interactions can be strongly weighted toward local ones, to provide more accountability. Such a platform would need to be free from any sort of money transactions, especially Facebook's current business model.

Furthermore, empathy has nothing to do with advocacy. The ingredient missing when comparing refugees with white nationalists is that of the fundamental power imbalance. One is certainly free to express empathy for both, but tuning the narrative to equivocate people who are being exterminated with their exterminators is pretty dishonest. Your moral obligation (imo) when presented with people who are being systematically denied requirements for life is to spread and advocate for their survival. Notice that white nationalists are only being challenged on the lines of "liberty" whereas refugees are being challenged on the lines of "life." The DoI says it best, and puts them in a specific order not haphazardly, but deliberately: life comes first (and thus the removal of threats to it), then liberty, then the pursuit of happiness.
Within the first year or so of having installed Linux (mid-90's), I made the mistake of accidentally deleting /etc (wrote a script to tidy /tmp at boot, but it hadn't cd'd correctly).

That was possibly the best unix/linux learning experience of my life. Rebuilding /etc sufficient to rescue my files I cared about before a reinstall. Rescue CDs weren't really a thing, USB was a new thing at the time, and I was on dial-up.