skysight-inc/HackerNews huggingface dataset:
That caught my eye too. I'd wager it was closer to $8/month based on the other figures provided.

I know back in the late 70s/early 80s my grandmother talked about buying a sack of flour, bags of beans, tubs of butter, and similar staple foods for pennies each, and that would have been the 1930s.
I'm also a Debian fanboy (been my preferred distro since "potatoe" days) but I had to switch to Ubuntu for the first time for this current project. It's not all bad but I'll return to the warm embrace of Debian for my next project.
The Romans beat the Americans to the punch by millennia.
I have adopted the same philosophy. A few resources on this, part of the so-called London school TDD:

- https://github.com/testdouble/contributing-tests/wiki/London... (and the rest of the Wiki)

- http://blog.testdouble.com/posts/2015-09-10-how-i-use-test-d...

- Most of the screencasts and articles at https://www.destroyallsoftware.com/screencasts (especially this brilliant talk https://www.destroyallsoftware.com/talks/boundaries)

- Integration Tests Are A Scam: https://www.youtube.com/watch?v=VDfX44fZoMc

All of these basically go the opposite way of the article's philosophy:

Not too many integration tests, mostly unit tests. Clearly define a contract between the boundaries of the code, and stub/mock on the contract. You'll be left with mostly pure functions at the leaves, which you'll unit test.
Oh yeah, some are extremely vulnerable to predatory TDD evangelists. You won't find many functional programming ones though.
Does it generate real-time performances and analytics?
تردد قناة وطن
To pay or not to pay: are the best things in life – like coding courses – free?
Why not just mock the UI drawing library? (I find this a very interesting question.)
"[..] now owns currency that was introduced from outside the system, which will now be spent or invested in the country."

With the current (in most countries) banking system, the money available for investing is not limited by the quantity of money in the system, but by the availability of projects with a good return.

A commercial bank can create money if they think that they will have a good return (risk wise). Banks don't lean reserves.

An investor can borrow money from a bank if it has a good project.

Interest rates are decided by the Central Bank depending of the goals for the country economy.

So, the idea of "money available for investing" doesn't make sense in the current fiat economies.
#1897
Show HN: React Studio – Free React GUI Builder for Mac (uses Create-React-app)
I used it for years. The auto-vectorizer is unmatched imho. It has a very systematic way to turn loops into incredibly tight code. I use LLVM 4.x and this is very far from ICC.
Just How Popular Is Bingo in UK?
Our asteroid detection system is still very pitiful if a 400m large object is only detected four days after its closest approach.
That's a very adversarial view of the world.

Maybe we could:

- teach our more kids and adults to be healthier
- teach them to be more than physically fit (as in master of slow and/or fast sport)
- teach them to be wise about society, groups and empathy
- teach them to be stronger emotionally

It's probably possible to have a culture that is strong yet friendly to foreigners, traits that reinforce themselves because you don't fear.
My opinion: don't pay for anything until you can assess by yourself with a high level of certainty if what you are paying for is worth its value in newly gained knowledge.
Virtual Mom: Family Fun
Get ready for house job in this Virtual Mom: Family Fun where you play as virtual mom and perform different house duties like cooking, washing dishes in this thin simulator. This family fun is full of entertainment and joyful activities. Play as a pretty mom to maintain book shelves, search cooking and washed dirty clothes in different hard levels. It is a wonderful game which is based on different levels.
It wasn’t necessarily genocide in the Neanderthal case, just basic species out competition. Yes, many people today are trying to “save the panda” even though it is quite non adaptable, but if the pandas go extinct because they cannot compete for the resources they once monopolized, that isn’t genocide.

At least in my mind, genocide is unnatural.
A bit tangential but one of the things I've enjoyed about using GraphQL lately is how easily it can be used over websockets. All the API work you do to support HTTP can be immediately used over websockets because the it never required a specific transport to begin with.

Phoenix channels make it super easy to setup and use websockets, but you're sort of on your own as far as figuring out how to work REST conventions into it since all the tooling that exists for REST generally assumes and requires HTTP.

It's great to be able to write the code for the API once and support it across a broad variety of transports.
A little disingenuous to compare London to Japan. Population in Tokyo has also been increasing yet house prices not so much (1)

Japan and Tokyo do housing right. Pricing largely stays the same, quality of living increases.

I absolutely don't mean this about you, but the general sense that I get is people largely don't want to admit someone else is doing things better. People are convinced that their city/state/country is really special and any problem they have are just problems that clearly have no solution. If a solution did exists, obviously, they'd have it. It's ego and pride.

(1) https://www.ft.com/content/023562e2-54a6-11e6-befd-2fc0c26b3...
HTTP/2 multiplexes requests over one socket connection, so it should solve most of problems you state.
>Are the stars in our night sky part of our galaxy or no

Every star you see in the night sky with the naked eye is part of our galaxy.

>for instance a galaxy with two stars would be called a Binary System.

A galaxy usually has billions or trillion of stars. Our solar system has one star, which is our sun ( a sun is a star with planets around it). Our solar system is inside of a galaxy, which is made up of billions and billions of stars.

>So where are the stars in our night sky? Are they even further away than Uranus, Neptune.., but so bright we see them anyway?

All stars are outside of our solar system by definition. They are light-years away ( the time it takes to get there at the speed of light is years), but most planets are light-minutes away.
"The real fix is politically unpopular."

If the real fix is politically unpopular, is it a real fix?

I mean, what people want should be accounted somehow, that's the point of a democracy, isn't it?
EBay launches authentication program
> You should very rarely have to change tests when you refactor code.

I'm going to say this is poor, if not outright dangerous, advice. I'd argue the opposite: every time the code changes, it would be great if a test somewhere broke.

Hell, if the tests originally were for a gigantic class with a ton of mocks but the code changed so there was lower coupling and the dependencies were injectable or separated in different modules, the tests should be changed.

> even a strongly typed language should have tests

Indeed, yet I've seen so many people in the strong typing "camp" mentioning "the compiler catches some bugs right away!" as an advantage, which always makes me think "... and?"

> It doesn’t matter if your button component calls the onClick handler if that handler doesn't make the right request with the right data!

... But there should be another unit test for that handler, checking that it's using the right request with the right data.

In general, I agree with some points and disagree on others.
I didn’t like it until I had to program a system 34 in RPG III. Certainly better. When I left the 34, I didn’t like cobol all over again. I could go on at length but I won’t.
For big tech, a threat from the ground up
Yes, he says we we should be scared of it because it will be so powerful in the near future - it won't be but the idea that extremely powerful AI is just around the corner is really good for his company.
That's true but it doesn't hold for the amateur porn that is often found on free sites.
Why Elm?
The Google cloud vision API will do this for ~$3 but you will need to automate it yourself, which you might need to do anyway with other services.
Steve Wozniak: There's 'way too much hype' around Elon Musk's Tesla
Probably. A couple of non technical friends and I were talking about Bitcoin one evening, they had never heard of it.

A few days later one of these friends calls me asking how is it possible that he's seeing Bitcoin ads everywhere after we talked. I also thought that's Baader-Meinhof happening, but it doesn't make ads any less creepy.
You can see other galaxies in the night sky. Stars in our galaxy lie primarily in the part of the sky with the most starts, the so-called 'milky way.'

Yes, they are outside of our solar system. They are ridiculously far away.

Take a peek here: https://imagine.gsfc.nasa.gov/features/cosmic/farthest_info....
What you are calling a 'galaxy' is actually just our solar system, one of millions in the Milky Way Galaxy. The stars you see are located in our galaxy.
I believe that mainstream docker development is in a much better place nowadays on windows, so it's worth a shot...

That said, anecdotally: repeatedly for the last 3ish years I've been running into docker-on-windows issues that have developed into complete showstoppers during development. This has repeateded across multiple projects and employers. I have an arms-length list of issues that are purely installation related, not even touching my code. I currently am using two dev machines with that had their Hyper-V installations irreparably broken because they were not US-EN windows, rendering them useless for most virtualization. "Full of surprises" is a nice way to put it :)

In those intances, after burning a ton of time, I've landed on a simple conclusion: it is a _lot_ easier to get a VM on OS X to be windows than it is to get windows to pretend to be a competent POSIX environment.

I am optimistic that windows will come around. I am hopeful their posix layer will work out, and their local bash shell will become nice, and the ecosystem will work. I have some faith that next-gen windows will handle this much better...

From experience, though, and for my own projects and developers in 2017: if you want to do container development on windows, get a mac.
Here is another excerpt from the book that this article is taken from, this one talking more about the disaster at Okawa Elementary School. Be warned, it might be difficult to read.

https://www.theguardian.com/world/2017/aug/24/the-school-ben...
> The government, like NZ, could have gotten the wholesale part of Telstra to start upgrading network infrastructure.

They couldn't, though, without a lot more difficulty.

You're missing the context that at the time of Rudd's election and the NBN design/build plan, Telstra was actively hostile towards the government. Solomon Trujillo was the CEO at the time, and actively fought against any suggestion that Telstra might be structurally separated (a-la Telecom NZ's split into Chorus and Spark), or be required to build a nationwide wholesale fibre network.

Telstra under Trujillo was the company that famously gave a last minute 13-page (non-compliant) response[1] to a call for bids to build the NBN, that was effectively a giant middle finger to the government.

Forcing a structural separation when the government own a minority stake in the company[2] would've required either re-purchasing it at market rates, or some kind of legislative change, and thus opening the government up to a shareholder lawsuit. At the time, the CAN and Fibre back-haul networks were considered some of Telstra's greatest assets, those would've been some major purchases.

There were a bunch of bad options, but having been backed into this corner by previous government decisions - there wasn't a whole lot they could've done.

[1] https://www.computerworld.com.au/article/270911/telstra_bann...

[2] https://en.wikipedia.org/wiki/Telstra#Privatisation
Rifle is the new pistol? You can shoot yourself with both?
> An AI wins at something that is specifically designed to be the type of thing that's easy for AI.

Most games like Go and Chess are made to be hard for the human mind to win, since that's challenging. As someone who works in AI, all of this is hype, we aren't even close to understanding how to make a real AI
We don't use Vagrant, but we use VMs. The workflow is a little bit more convoluted than directly on the host, but we get the benefits of having a consistent way to create environments that are closer - if not identical - to what our customers have.

In essence, we do most of our development on Windows, but deploy our solution on Linux. For databases, our former development environment relied on Windows drivers that didn't have the same bugs than the Linux implementations. Hence, we caught these bugs much later in the development phase.

Another advantage is that we can deploy different releases of our solution simultaneously.

Of course, the cost to get there was to define a new pipeline to build artefacts that we ship on the boxes, but that was a little price to pay.
PSA: If you're seeing broken behavior out of the shadertoy page proper, try this link to the embed version, which can also be fullscreened.

https://www.shadertoy.com/embed/MdfBRX?gui=true&t=10&paused=...
I have automated from-scratch builds for cluster setups, eg:

https://github.com/ianmiell/shutit-openshift-cluster

https://github.com/ianmiell/shutit-chef-env

I'll be blogging about some of these soon as well
I am a front-end developer and seeing this kind of nonsense really just makes me depressed. Never in my career have I ever had to manually implement any of these algorithms and the fact that front-end developers are expected to know these manually really highlights a problem in the hiring process.

I am not academically minded, I am self-taught so maybe that has something to do with it. But I've been a developer for over ten years now and I am very good at my job, never been fired and always manage to get a job at any place I've worked at.
Prices, news and events in cryptocurrencies all into one app
If you have Google money and work on compilers, surely tests are more important than for say, a B2C app with lots of UI.
Using your own reasoning one would end up with absurd conclusions such as that sandboxing shouldn't be added, "You call it a security layer. I call it an extra attack surface." Therefore your reasoning is fallacious.
" it isn't pleasant to have to choose between (a) storing everything on network storage and suffering slow IO or (b) storing everything locally on every workstation and suffering the need to synchronize data."

That's a solved problem, which depending on the workload could involve a compute farm with a clustered or distributed file system, a copy data management solution, or cachefs, for example. The are also solutions for shared storage between containers across multiple nodes.
How do we know that the software developers who created this system didn't put a back door in for their own use? Once the system was in place, they could, for example, gradually drain the rating for selected members of the ruling elite, or otherwise manipulate the database for their own ends. Trust in software development is critical. I wonder how the Chinese state is guarding against the scenario detailed above?
Hi all,

React Studio is a native Mac app for creating React UIs and complete web apps. It's free to use.

You get a complete "create-react-app" project when exporting, and there's automatic Git integration which uses branches to make sure the generated UI code ends up neatly separated from manual code changes. There's also an advanced plugin system (including a built-in plugin editor), so you can easily take React/JS code and wrap it into modules that designers can use.

I built all of the React codegen and component design UI, among other stuff... Happy to answer any questions :)
When writing such captcha questions for a forum, I generally use google as a validation to see that google can't answer the question in the top listed links. This allow me to easily adjust questions to the point where natural language processing should not be able to answer the question but a human person would.
Help and advice
Pontoon by Mozilla: localise the web in place
Trying to help get an app off the ground which launched today.

I'm originally from the Uk working in Melbourne, and really want to help make this app work as I have struggled to get work here myself (and am aware of how hard it can be for Backpackers) and would love to help others (and feel that this place is ideal for sharing experiences/offering advice and helping find jobs and ride shares).

Any suggestions on how to gauge a bigger audience?
Also please give feedback on the app once downloaded - would be much appreciated
You're being completely and totally intellectually dishonest. North Korea is a nuclear threat with an extremely vulnerable neighbor. Trump's interest in a first strike has nothing to do with eradicating the North Korean people.

Again, trying to justify your strong feelings about Trump by fabricating these insane narratives does nothing but hurt you and your political causes.
Too bad this doesn't seem to work for amazon.de, .co.uk, and probably others. I'd love to get a report like that.
This sounds very much like the 'white man's burden' of having a moral obligation to 'civilise savages'.
I have never been able to find a performant way to mount host files on a VM, so I just use a headless Ubuntu running in VMware as my dev environment. File mounting in docker containers doesn't have the same speed penalty on a Linux host as it does on win/Mac. I use tmux and vim. I've been using this setup happily for years now.
Enterprise software being known for its code quality.
Me and my robotic suit
Sellers and buyers can now use eBay Authenticate to get independent confirmation that goods are as authentic. It’s starting out just focused on certain types of handbags and luxury items but expected to expand over time. https://www.google.com/amp/s/techcrunch.com/2017/10/16/ebay-...
I thought this was talking about Konninggratz, since Germany did not exist until 1870.
the article says 80 a year
> Trump extensively uses Twitter for his own propaganda might underline that fact.

Him and how many other hundreds of millions of other users, using Twitter for its primary purpose.

If 'Twitter sold ads to Russia and <candidate> used Twitter to promote their own propaganda' is the baseline for collusion with Russia to influence the election then that would make every single presidential candidate guilty of collusion also.
Walmart is a 500 billion dollar company. Even 1% growth is 5 billion in revenue. They are asymptotic to the US economy growth which isn't growing much.
To elaborate on this a "traditional" stack of Phoenix for the web and and Ecto for the DB uses quite a bit of OTP, particularly if websockets are involved (every connection is a GenServer).

The thing is, going from Ruby to Elixir involves two learning curves: groking functional programming, and then groking processes. They really do need to be learned in that order since, within any given process, you're just operating in a relatively normal functional world.

HTTP requests are very easily envisioned in a simple functional way. You've got request data in, and you're gonna return response data. The interaction you have along the way with OTP based database pools and so forth is as a client, you aren't really having to manage the lifecycle of any of that stuff. In other words to get going with basic web stuff it's more critical to just become familiar with functional programming, and less critical to understand how OTP works. This is totally fine from a learning curve perspective.

What's cool about Phoenix channels though is that each user's connection, and each channel that they run is a GenServer. It provides a great opportunity to get some hands on interaction with the concept in a way that naturally fits into with the web application they're building.

TL;DR:You can be a client / user of OTP processes without knowing the details of how they work, and that's generally enough for HTTP.
I'm of the view that we need more powerful users, not moderation. Would be hard to enforce I suppose, given voting rings and whatnot, but I'd like to see a community like that one day.
Unit tests and integration tests are tools, some tools are better at some tasks then others. The idea that a single tool is the only one you need is preposterous.

If you are writing a library write unit test, if your app mostly binds two libraries together unit tests are meaningless, write integration tests.
Show HN: The Question and Answer(QnA) Site for Software Testing Professionals
I think this is poor advice because it doesn't give context.

I think unit tests are good for testing logic, and integration tests are good for testing functionality. Lots of complex logic? Then write lots of unit tests. Got a service that just wraps a database? Then you're going to want to write a lot of integration tests.
It's an excerpt from a book, as it says at the bottom and I imagine there's also some expectation the reader is generally aware Mark Twain was involved in many unsuccessful business ventures throughout his life. The excerpt provides a bit of context.
There are very serious books about software quality with actual data, but it's much easier to tell each other anecdotic experiences on the internet - in a weird mix of bragging and strawmen arguments.
That's how our field is stagnating.
I totally agree with you on this one! The tone is absolutely immature and frankly disgusting. I would never hire a person with this kind of attitude, frankly because it is the ultimate creativity-killer in a team.

This type of attitude is creating a culture where everyone is "to scared to learn" by being to scared to comment on things, or even to ask a simple question.

So sad to see this...
I disagree with this article.

Software projects can be extremely large and have wildly different requirements. Software that needs to operate at high scale and require high reliability will have differenet requirements for say - a web application that has low traffic.

I think making rules of thumbs like the title of this article defeats the purpose of one of the essential tasks of being an engineer - making good tradeoffs between different approaches to solving problems. It's not hard to see that some projects will require more unit testing, some may require more integration testing and others may require more of both.
Definitely got something, I thought I was on an adult website for a sec.
I'm sorry. The client seemed not to have posted the first Ask. Just after I thought the thread got dead because of the link, so I posted this, and it turns out both have been published :(
whatever. Is the GDP of the "Russian Federation" still $1+ Trillion? Do people's opinions on what Russia is, change the fact that they spend billions upon billions to achieve their FP goals? Nope.
It sounds like Twitter is unbiased about who to work with to me.
RT == Roasting Twitter

Jokes aside, it seems to me that Twitter has gone from bastion of free speech to global censor. This RT article is just another nail in the coffin of Twitter's credibility.

I think that if Twitter's leaders don't articulate a corporate morality and initiate a culture change at some point Twitter's investors are going to realise that they are betting against freedom. This will obviously impact share price and quite frankly a reason why I don't own any shares.
Right, this is precisely my point. I can't count how many times I've seen people defending hate groups resort to slippery slopes and false equivalences. If you don't give hate groups unrestricted access to audiences, they claim 1984 is supposedly right around the corner.

But if you confront them with the slippery slope of equal logical validity which supports the opposing argument, suddenly they're mindful of the dangers of slippery slope arguments.