skysight-inc/HackerNews huggingface dataset:
Hey yall - I know there are several HN Alexa skills out there -- but this is one of the first which fits seamlessly into your Flash Briefing + includes a separate PH feed. Hosted on a free heroku gear for now & code is here: https://github.com/nealrs/hn_ph_alexa

Love to get feedback on this and my other Alexa Skills: https://www.amazon.com/s/ref=nb_sb_noss_2?url=search-alias%3... Thanks!
FWIW, if the BBC reporter were also chinese and speaking the same dialect, then his excited remarks would not be viewed as mocking. Similar gushing happens on other Asian variety shows. I would say the perception of him condescending his interviewees has more to do with the insecurity of the viewers[1] than it does with the presenter.

[1]"Man of Race-or-Country Y is exaggerating something in our language? Race-or-Country Y must be looking down on us!"
Scala has its problems, but it is not anywhere near as clumsy as Java. Where Scala falls flat is implicitness, an overabundance of features, and extreamly dense syntax for very high levels of abstraction. Its syntax is actually quite nice, with relatively few warts. I find it a joy to write, and very fluid.
> spent money lavishly, including on
> prostitutes

I do not like what journalism in 2017 looks like.
Battery-free cell phone prototype sounds too good to be true
How I Designed the Most Successful Educational Computer Game of All Time
Some ingredients for a always recording society...

- Super cheap and gigantic capacity storage.

- Wireless network like 5G.

- Wireless charging.

- Nano cameras.

I think there was a Black Mirror episode about this.
1. A lock file that works well. My team spent countless hours dealing with strange npm shrinkwrap issues beforehand. The fact that it uses a lock file by default is also nice, since people don't have to remember to update it after adding or removing a package.

2. Deterministic installs (running install with the same lockfile will result in the exact same node_modules). With npm, we ran into issues that would somehow be fixed after deleting the node_modules directory and reinstalling everything. That worked far too often.

3. The offline mirror. This gave us a reasonable method for checking in our packages to our Git repo, meaning we could build our site without an internet connection.

It basically fixed all of our issues with npm, saving us hours upon hours of time.
Is there any reason to use Yarn now that NPM has comparable speed and lockfiles?
>Scala

functional language with hoards of issues

>TypeScript

javascript

>F#

essentially vendor locked to windows
Sounds like a interesting opportunity. Are you willing to consider candidates with work visa? I will apply for visa myself upon selection.
its also common for antivirus to block arbitrary JS. not fun to debug or tell users to disable AV on your site.
I... agree. But my argument was not "use NoSQL". I never suggested to use NoSQL. I suggested to use Spark as the compute layer.

Spark has a sophisticated [1] query engine, which seems perfectly capable of pruning partitions and pushing down index scans into data sources. Yes, Spark can't do writes, so you'll still have to build a transactional KV store that sits underneath the query layer, but you won't have to implement SQL from scratch. (This seems to be similar to the approach taken by e.g. SnappyData [2] and Splice Machine [3].)

[1] https://databricks.com/blog/2016/05/23/apache-spark-as-a-com...

[2] http://snappydatainc.github.io/snappydata/

[3] http://doc.splicemachine.com/2.0/GettingStarted/Architecture...
Generating the code leads to a lot easier debugging for me. In C++ debugging generics are annoying to put breakpoints in, since it is harder to hit the exact implementation I want (VS has a way to do this but it is a little annoying to get right). I don't mind doing that because all too often I've seen a 'generic' implementation gain more and more flags to make it less and less generic. I've only ever needed to do that a few times, the built in containers cover 95% of what I need. I came to go because I was formulating an opinion of c++, java, javascript etc and they aligned very closely to what the main team of three guys were talking about when they were first releasing it. Most of the time I never scale the application but I still love the way to solve problems in go, especially when I'm doing something in a concurrent manner.

I've also had a large (5M+ lines) C++ project that would need to be complied 3-4 times to do things like CI and automated testing. So each build taking 1-1.5 hours, which is not crazy, because of rebuilding code that is static 99% of the time mean that it is worth it to me.
Car Cost per Year - New vs Used
Type system is pretty cool in go. Particularly how the interfaces work, you don't have to explicitly declare that your object /type implements an interface, it automatically figures it out.

Lack of genetics makes the code easier to read. Much better with interfaces. Check this out http://blog.jonathanoliver.com/golang-has-generics/
Yikes. Guilty as charged for unironically making comments as the first two. Going to stare very quietly in nature and reflect.
I hadn't considered that most storage engines for SQL databases worked in a "similar" fashion.
Why whitelist, when its easier to rename a file?
Can Narcissism Fuel Grit?
Naphtha (zippo lighter fluid) is the best for this kind of thing.
Many geniuses, especially who did great things while still a child, grow up to be arrogant and immature, like Mozart. Not surprising at all.
Known is relative ....
How do you mean? Phrases like that have been a staple of journalism for at least 150 years.
Moving food to a poor town in the US from somewhere else is a trivial task. Africa has its own set of problems.
What?

The processes for fabrication was surely because they maintained their monopoly and having money to buy the best tech rather than innovation.

And, no, intel was the last to move away from "higher frequency is better". In fact, they were the ones that created that whole mindset since they were the ones that benefited from it. All because their Pentium 4 NetBurst architecture required high frequencies to remain competitive.
Show HN: Buttondown – the easiest way to send simple newsletters
Arguably every language has a type system. Go provides only the most rudimentary type checking.

I was lamenting that so much mindshare is devoted to go instead of a more general purpose language, not claiming there's a more convenient language. If that mindshare had been devoted to another language, there's no telling what language would be as convenient as go. But most developers care about more than convenience.
Where do I see the comments?
DRM Is Toxic to Culture
This is a nice example.

It's not that we are not capable of understanding the original code block, but the 'breathing space' and just some minor sparse comments now allow much of that understanding in less than a few seconds -- a real practical side when working on a large body of code.

And it does that without interfering with the 'good practices' highlighted in the article.
That really does stand out. There simply has to be something wrong with their JS numbers.
Did the author build a whole notebook environment just for lisp?

Can anyone comment on the benefits of this vs integrating a lisp kernel into jupyther notebook?

Personally I've been wanting to do the ProbMod [0] course, which uses a version of lisp called church, but been wishing for a notebook environment to complete the course in, so this looks very interesting!

[0] https://probmods.org/v1/
> I feel like I must find a work not related to computer science

I'm not sure if you've already tried this, but in addition to applying to jobs related to your side project I suggest applying to other jobs that have a lot more jobs available. My guess would be the number of jobs for mobile game dev might be limited and competitive and that would make it difficult when applying as a recent graduate. Web technologies whether for front-end or backend development are greatly in demand and are worth considering.
> All of the countries that bear nuclear arms and many others that either come under their protection or host weapons on their soil boycotted the negotiations.

Why is it surprising that the countries without nukes want to disarm the countries with nukes?
> If the potato farmer below doesn't (or can't) pay the toll, then they aren't going to use the bridge...A rice farmer isn't going to be driving a new Audi or even a Toyota

In the video, the farmer interviewed talks about walking 15 min across the new bridge instead of the old way of walking 4 hours on the mountain paths with 30-40 kg of potatoes. And even if it wasn't suitable for walking, 50 farmers together can load their sacks of potatoes into an old pickup truck, pay a driver, truck owner and the expressway toll, and still all be better off.

Even if it was intended mainly to improve long distance transport, what would be the point of pricing the local farmers out of using it? It's unlikely to be capacity constrained.
> All of the countries that bear nuclear arms and many others that either come under their protection or host weapons on their soil boycotted the negotiations.

Completely meaningless posturing to pass this treaty. Par for the course at the UN.
Only if the entity has the power/money or otherwise to protect the patent. In most cases that favours the existing player in the marketplace.

If I come up with a unique patentable idea and facebook copies it, I would not have the legal funds to fight such a big entity. The patent is useless unless I team up with another entity big enough to fight that battle.

In the end I am better off in an environment with no patents because the ability to defend my patent is beyond me. If facebook patented a slightly modified version they may sue to invalid my patent and prevent my ability to use my idea.

Much safer for the little guy to not have patents.
fine on desktopz
These Coloradans say Earth is flat. And gravity's a hoax
Take a look at the very first production Tesla Model 3
It's amazing how audio professionals talk about this.. but take a look on EDM industry.. everyone mastering they records max as possible.

Then comes mr. Righteous "youtube" who as usual "punish" producers..

Dog eats dog out there, let me ask ?

Why we have so many audio standards for 2 channel audio ?

It's amazing jungle there.
The US being in board or not makes the difference between this being a joke, or actually having some kind of force or influence. France signing this agreement or not matters fuck all. There's that little difference. It's very relevant whether the USA signed it or not. Nothing to do with anti-US sentiment so no need to burst an artery just yet.
>But most developers care about more than convenience.

indeed
Delphi is #9? Delphi? Where in the world of software development is Delphi not dead?
The headline is relevant because the US is the most powerful military force in the world, and also involved in more conflicts than any other nation. The US position is more relevant than any other nation's.
Looking for a speaker to ICO community interview
Hey, guys. We have made several interviews with founders who are in process of preparing ICO. We are looking for the next interesting speaker for our next interview.

Would be really appreciated for recommendations here or in our telegram group: https://t.me/icotalkgroup
It's 2017. C++ was invented in 1984.

Just because a 33-year old language has problems doesn't mean Go is the best solution.
In my experience with gov.uk websites, they really do dogfood on these principles. It's a great reference for good design.
I'm 58, live in the country (UK) and found a programming job almost exactly suited to my skill set (Pascal mainly-i.e. Delphi along with C# plus a few years of C, C++). Add in 5 years of 6502/Z80 assembly (games in the 80s), two years of Ada. The last three years was creating a mobile app in C#/Xamarin. Plus lots of php, html, SQL.

To stand out from other candidates I prepared a 7 minute screen cast (using Camtasia which I bought a couple of years back) showing off programs I'd written and briefly mentioning programming aspects that made each program different. I uploaded it to Dropbox, emailed the link to the recruitment agent who forwarded it on. I got the job after two interviews and have just completed my first week. I was lucky, round here there aren't that many programmers and most jobs are for C#/ASP.NET MVC websites. It's just a 30 minute drive away.

The job interviews included an online IQ test (not a problem), a logic test which was not my finest hour (4PM on a Friday is the worst time for me!) and a 10 minute stand up presentation on the subject of my choice. "A trip to an Arctic Isle."
It's more like "play by our rules and do what we tell you or we will bomb you". The US isn't the global peacekeeper, the US is the main instigator for wars. Planting and supporting dictators and authoritarian regimes who are then painted as "the enemy" when they no longer want to be the pets of the US.

History is written by the winners, I guess, and all that pro-US propaganda that's so proliferate in the entire western world seems to be working really good.

Did you know that the US supported Hitler at first and big US corporations (I.T.T., General Motors, DuPont, Standard Oil of New Jersey, Davis Oil Co., and the Chase National Bank) all continued trading with Germany during the war because there was money in it and the US politicians didn't want to give those big corporations a big sad?

The US is the "global peacekeeper" only when the target country they're invading doesn't want to go along with whatever the US wants. The UN is a whole lot more global peacekeeper than the US will ever be.
I don't know. I'll tell you my ethical framework as a voter though -- be pragmatic and vote for whichever one is best, or least worst. Clinton wasn't as willing to make baseless promises as Trump was, which I think may have cost her. The audience she appealed to was also less willing to accept baseless promises, however.
That code doesn't seem to require any comments. Code comments are usually a smell. The author couldn't write code that's easy to understand so he had to write a comment to describe it.
To be fair to the article, it 'remarks' on the lack of comments there but doesn't specifically call it out as a best practice.
That is for a different purpose though, lock in.

The idea being that if all phones ran the same software no one would choose their phone on brand but rather on what particular phone was best suited for their needs.

But that's not good enough, manufacturers create a custom feel solely because customers will get accustomed and need to relearn if they choose another manufacturer.

It doesn't matter if their software is worse than stock (and they all are (much much) worse), the only thing that matters is that it is unique.
The Morals of Vision: Susan Sontag’s ‘On Photography’ Revisited (Part 1)
Or.. just call it random dropout and market it as a feature.
C++ templates are a very idiosyncratic way of doing parametric polymorphism, and the C/C++ compilation model is even more idiosyncratic. You cannot make general statements about parametric polymorphism based on that.
And that needs to be changed. Sex work needs to be dragged out of that puritan hellhole, and highlighting thhat he spent money on prositutes but not anything else just perpetuates the view of sex work as "bad".
There are a bunch—I’ve even got one for a language with almost no users. Wouldn’t mind a .lang TLD for all things language-related.
Dupe, see https://news.ycombinator.com/item?id=14697330
That is very laudable, but I'm not sure if prostitutes are ever going to qualify for a business expense
Nice game demo. If you are having trouble finding a job with work of that quality, then I've got no chance, lol. Good luck, I'm sure that's all you are lacking right now. I'm going to send you good vibes right now.
Here's @vsund, author of this commit message. I understand that the title may was a bit clickbaity and now the title got renamed to a more rational one (which is totally ok).

Unfortunately the new title "A JavaScript browser library fails due to an adblocker blacklisting 'beacon.js'" doesn't reflect the situation very well in my opinion. The library didn't fail (mainly because there is no library yet), what instead happened is that the adblocker blocked GitHub internal requests which resulted in a unusable repository.
The adblocker blocks requests that simply has "beacon.js" anywhere in the URL.

I see this rather as an issue of adblockers blocking to much than bad naming of projects :)
Well there was white bear which was more of a philosophical debate and then there was Most Hated in the Nation which I think really hits home the development of small new technologies such as cameras and the consequences of keeping their power and security unchecked.
DRM I don't like. But authentication to reporter, recording device, etc would certainly be useful. Plus proof of integrity.

Maybe also cross-linking chains of trust with nearby devices. So devices corroborate each other.
برودكاست+حب+2017+صور+حب+برودكاست+غرام+وعشق
I like your formatting of the code, but...

You introduce comments that are basically just noise. The name of the method already states what it does. The rest is just very simple details, actually memcpy's. Most of the comments are totally unnecessary.

Code comments are not pure good, they are not Schindler's List. They are necessary evil. Every time you need to add a code comment you have failed to write clean code that it easy to understand.

Every comment that you add has a cost. Someone needs to read it _in_addition_ to the code that it tries to describe. The code itself either is correct or isn't. The comment cannot fix that. But it can slow down the reader to understand what the code does. Whether there is a comment or not, the reader still needs to read the code.
Believe what you want, but the Pax Americana is real and is empirically the most peaceful time in world history. It is partly due to nuclear deterrents and partly due to the US maintaining a massive military presence in hot spots (Korea, South China Sea, Taiwan, Persian/Arab Gulf, Eastern Europe).

Yes, it is often coercive and we have certainly supported unsavory regimes. It is worth considering what the alternatives to those regimes are. In Saudi Arabia, for instance, the House of Saud is actually a moderating force keeping the Wahhabist mullahs from taking over completely. Liberal democracy will not work everywhere today, as our horribly misguided experiment in Iraq has demonstrated. I recommend Fareed Zakaria's The Future of Freedom for a discussion of the problem, but a very short summary is that you cannot have a functioning democracy without substantial economic development (natural resource money does NOT count for many reasons) and a middle class that feels highly invested in stability, growth, and trade.

The US government never supported Hitler. America is a free country so of course there were many private individuals and companies who did. No different than how Western academia was extremely fond of the Soviets until the 1950s. The US actually provided massive aid to the allies before entering the war, through the lend lease program among others. The fact is that it wasn't clear at the time that it was in the United State's interests to oppose Hitler. It was a far away problem, there was a strong isolationist mood in the US, and even the Brits were trying their hand at coexisting with him.
Reddit is an us-based media, so this is not surprising that articles are targeted for this audience. If you believe Reddit is an universal and unbiased media, you're wrong.

> Why not "including France" ? What does this little snippet add to the journalism other than to press a little bit on anti-Europe/anti-Us sentiment?

Changing "including US" to "including France" would not reduce the anti-Europe/anti-Us sentiment because France is part of Europe.

edit: remove pointless comment.
Highlighting PDF for CoreNLP
The complain of your interviewees about `no professional experience` hits home. Try to look at your past experience and list anything that would translate as professional experience.

In my case, having a root account on a few public-facing web servers translated to "Linux sysadmin, 3y experience", helping out a classmate with his freelancing project "C++ and Qt framework, 1y experience", e.t.c.

Second, if you want to continue in your studies, you should be able to get a paid internship in some local corporation. It is then easier to transition to full employment with one leg in the door already. That is how I got to company I work for now :)

Or you might go even further into academia, i.e. if you enjoyed writing your thesis, your advisor might help you with a teaching-assistant job, or a faculty sysadmin job and some universities even have their own developer departments (mine had one developing their university information system). Or maybe even a research fellowship.

And last, ask your classmates.

Some of them might be freelancing, and you might be able to get client/work from them (i.e. a friend of mine had a a mobile-app shop, and once he needed to finish one more app in the pipeline he had people for, and thats how I paid for half of my wedding :-)

Some of them might already be working, and if they remember you as a guy they would like to work with, you might be able to get a round or two of interviews head-start :-)

Ok, I think I might start with my friends/classmates first :-) That is how I got to the "Linux sysadmin, 3y experience" anyway :)

Good luck!
> Another protip: don't name your images "banner.jpg"; "ads.js" and "analytics.js" etc are also not exactly great names.

This is good advice even if you are designing banner ads or intrusive analytics!

I often wondered how many ads get blocked by the very simple rules usually seen at the top of adblock lists: /ads/ etc. Ads vs adblockers is an arms race, and it seems like renaming the ads files to a random per-deployment name would have been the first escalation by the "bad guys". But maybe many developers of ad software don't even bother to fight adblock, preferring to optimize for users who don't use one.
Step by step guide to processing PDF with CoreNLP and using its output to highlight text in the PDF document.
> Check this out http://blog.jonathanoliver.com/golang-has-generics/

The author makes the common mistake of assuming that subtype polymorphism can be a full replacement for parametric polymorphism. It isn't, and neither is parametric polymorphism a replacement for subtype polymorphism.