skysight-inc/HackerNews huggingface dataset:
Yes, you can use Tensorflow and Google's "inception" image recognition model to do this. The model by default is trained on the Imagenet database of images/categories, but Tensorflow allows you to retrain the last layer of the model on your own images to produce your own categorisation. Since you are only retraining the last layer of the model, you can easily do it within about 20 minutes on a laptop. See the tutorial here: https://www.tensorflow.org/tutorials/image_retraining
Gradle to ease Android app development
Totally OT: do you think that total spend figure is reasonable. Is there a breakdown of HN costs anywhere?
Hey malisper,
Have you investigated BRIN[1] indexes? Have you considered or benchmarked those? For naturally ordered data it seems to be pretty efficient.

1. https://www.postgresql.org/docs/9.5/static/brin-intro.html
Sure. Now ping my computer at 10.3.1.4
Speeding Up PostgreSQL with Partial Indexes – Heap Blog
Sorry for interrupting your discussion with maybe dumb question, but isn't gravitation defined by spacetime geometry rather than some sort of particle exchange? Do not particles always fly forward, with forward changing its meaning with time?
Handguns are drastically easier to carry than rifles.

Hollow point handgun rounds drastically reduce the danger of over-penetration present with rifle rounds for likely police scenarios.

Most plausible scenarios where an officer would be forced to discharge a weapon wouldn't really benefit from a larger, more cumbersome weapon. Police usually have to shoot in close-range engagements that end in a few short seconds.

Cost is not really a factor. Look at the cost of weapons used by police departments. Handguns aren't drastically cheaper than decent rifles.
Dunno - James Bond is kind of English. Not just the character but the writer and the film production. The character was actually fairly closely based on the author http://www.telegraph.co.uk/culture/film/jamesbond/11026227/I...
Now can I know which country has the most net-salary
millionaires who used to be regular software developers?
In that blog post, you store "time" as BIGINT. Does it work better than TIMESTAMP?
Here's a frequently updated list of tech startup jobs in Victoria:

https://github.com/sendwithus/vic-startup-jobs

Victoria also has nicer weather than Vancouver (less summer rain). Direct flights to Seattle and SF.
Can to do that on Google Play?

I'd love to be able to undo app updates.
How to build a spell corrector using elasticsearch
"spacetime geometry" is a mathematical formulation of the physics that happens to correctly describe WHAT is happening.

it makes no prediction at all about WHY its happening. einsteins theory does not explain, and does not try to explain, why the gravitational field exists. it just tells us the effects of the gravitational field being around.
Age of Empires: Definitive Edition
Sounds like the old Highland Fabricators site at Nigg in Easter Ross, Scotland:

http://www.bbc.co.uk/news/uk-scotland-highlands-islands-3652...
If you can start an organization with a fundamentally different power structure (and maybe cooperatives could fit the bill) that seems maybe possible. If you're working for a normal company, you're just deluding yourself. I quite like the people I work for... but it's still in part an economic relationship, they have investors, and we might run out of money. So there are circumstances where I will need to find a new job. So my current job better not be my religion however much I like its goals or my coworkers.

Just because the organization works towards something meaningful doesn't mean it should consume your life. You still become distorted as a human if you don't have time just for playing, and friends, and family. It's called workaholism, and it's not a good thing.
> Sex is an instinct too -- but how many do it badly?

Nature has a different definition of 'good' sex. Something like 'productive', as opposed to 'enjoyable'.
This just shows that a laptop is much better suited for programming than a tablet. Not a huge surprise really. Rudy Huyn uses a Surface Pro for development. I highly doubt he has even once started Visual Studio in tablet mode.

But back to OP, he clearly stated that he wanted to run desktop grade software. I think SurfaceBook fits his requirements.
Like in digital\paper or what?
A family member almost became a liquidator when he was told about a possible way of emigrating from the Soviet Union to Europe as a graduate student. He was told that he'd just have to do some work in Ukraine in between for a month or two.

You wonder how many other liquidators were tricked into doing the job.
“Everyone who thinks the EPA is not necessary and the regulations on power plants are there to stifle growth and profit should read every comment here… ”— Ilya K.

Didn't this catastrophe happen in a communist country with the government in complete control of all aspects? The presence of a government agency regulating the activity is not like some magic amulet that will prevent bad things from occurring.

The EPA has caused its own share of disasters, such as the MBTE fiasco.
China's Skyscraper Age Is Over
The best earphones on a budget?
Indeed, I find this one much more useful and use it often.
It gives you a compact description of the expression in words, e.g.:

“At every 5th minute.”
“At 03:20 on Sunday.”
“At every 10th minute past hour 3 and 4.”
Montreal rents are not too expensive, no.

There are other issues though
Yeah, Java always uses 64 bits for "long", even on 32-bit systems. Which only adds to the confusion, since it's different from C and C++.

(Another place where Java is confusingly different: "volatile" implies a memory barrier in Java, but not in C and C++.)
> although 'return' will only pop one frame off the stack

Unless it was a tail call...

Really, throw and return are quite similar, both invoke an externally provided continuation and abandon the current one.
1. Read introduction.

2. Skim each chapter, building a mental map, and trying to get basic notion of new ideas and terminology.

3. Return to it later when I need to look something up.

This works better with paper, since it's easier to build a map of an unchanging, physical object. I hate the way my (old) Kindle changes page breaks if I go backward and then forward, it destroys the ability to visually remember pages.
Internet of Things Applications Development Services – Mobiloitte
derp

http://nakamotoinstitute.org/mempool/why-the-bitcoin-dominan...
Early web had these issues as well: server sends response with Content-Type: text/html; charset=win-1251 (or no charset), but body contains meta charset=utf-8. MSIE worked around that in IE4 by comparing the letter frequencies to a hardcoded table and guessing the charset from there. It sort of worked, 80/20.
What other devices would you suggest for someone looking to buy a sleep tracker/smart alarm?
edit: but yes, of course I'm being pedantic.
What Is Azure Service Bus?
I am pretty sure software cheating on benchmarks precedes VW.
Samsung a few years ago? Probably not the first either.
So how would https://xkcd.com/195/ look using a z-curve instead?
Indeed it does and your friend has provided a valuable service - they've searched and reviewed the app for you. This applies to free and paid-for applications. I've had apps I've recommended to friends where it turns out they were looking at the app but wondered whether it was worth $4.99. After seeing it they happily paid the $4.99. I ribbed them about their reluctance to pay the $4.99, given the cost of their daily Starbucks habit, and essentially what they responded was they're accustomed to apps being bad, but free. They're suspicious that paid-for apps are just as bad, but not free. This is anecdotal, but if it represents the attitude of the user community at-large then it goes a long way to explaining the state of apps today: no one is expecting them to be any better than they are.
> Look, I'll walk into a Starbucks and spend $3 on something I'm going to consume in 30 minutes without even batting an eye.

Because you know exactly what you're going to get from Starbucks. Or even if it's a coffee shop you've never been to before, you have a pretty good idea what to expect when you order a coffee.

I made my first iOS app freemium because you just can't tell what an app is like by looking at some screenshots. Freemium lets the user assess the quality of the app before paying for it.
Oh, and you'd need a fundamentally different economic system where people don't need to work to get basics like shelter or food or social status. All for that, but until we get there you're describing a goal which only the independently wealthy can afford to think about.
How to Track What Congress Is Doing on the Internet
Strongly recommend "The Trouble With Physics" by Lee Smolin. It highlights how string theory (to use a broad brush) has choked off access to talent, tenure, and funding for competing theories.
IOW, Can't leave anything alone.
Help me, Off-By-One Kenobi! You're one of my two last hopes!
Well, I invite you to watch out for the linux comments next time such a topic comes up.

As written, my last sentence is indeed circular, and poorly phrased, yes :)

I was trying to say that this topic shows the skill useful, if not essential. What I said was that my opinion is clearly my opinion!
These are the kinds of tasks that I would expect to require root access. I don't want some random rogue application sniffing my network packets or attaching debuggers to other processes. While peoples use cases certainly vary, I've also never needed to or cared to do these things on my phone, so lack of root hasn't bothered me. YMMV.
Perform code similarity searches using MinHashing of small subgraphs
Honestly, it looks like CEF is in good shape to build for ARM64, I just don't know anyone that does currently (it's a looooong build - so it rules out CI I think)
As an early 1981 user of "email" I have always used "mail" to refer to email - note I am from the UK where snail mail is the Post
Diensten
> the biggest man-made environmental disaster in written history

No, that would be Fukushima.
Teletypes used 20mA current loops

https://en.wikipedia.org/wiki/Digital_current_loop_interface

Teletype current loop ports were common on machines up to the 1970s, but by the 1980s had largely disappeared. The serial port card on the original IBM PC and the XT had 20mA current loop support, but it was very rarely used, so AT machines onward removed it. (MIDI is also a current loop, but MIDI uses 5mA rather than 20mA, plus the protocol is different.)

You should be able to connect a teletype to a modern computer by using two conversion devices, one USB-to-RS232 and the other RS232-to-20mA-current-loop. Then the teletype will appear to the computer as a (very dumb) serial terminal.
String theory had lots of success just not as a phenomenological theory. Monstorous moonshine, which was proven by Borcherds using techniques developed for String Theory, Witten's Contributions to Chern Simons and Donaldson Theory, and Perelman's proof of the Poincaré conjecture come to mind.
a book like "Code complete" or "An Introduction to the Analysis of Algorithms"
Project Management Resource and News Blog
Ask HN: What Language Was Keygen.Sh Wrote In?
I saw an interesting project: https://keygen.sh and was wondering what the backend was written in?

Any information would be great :)
It's same. Timestamp also uses bigint. It's nicer to use timestamp I guess since you get many datetime functions.
What 99% looks like
Reminds me of the many discussions about the "business-friendliness" of GPL vs BSD software. Usually the focus is narrowly on the business that wants to take the code and sell it or derivatives as proprietary software, not on the business customers who would be locked into the software as customers and would benefit from GPL protections of software users.

But for whatever reason, that framing seems very powerful and hard to dislodge. Probably because there's (at least potential) fat profits available to people who disseminate it. I guess the same is true of the "business friendly" policies of Republicans.
Probably alignment issues: stuff on the stack might be aligned by default, in contrast to malloc'd memory.
There are other aspects to programming quality that matter to outsiders more than idiomatic purity and The Latest Framework.

These are the kinds of things which in other fields, real engineering, are covered by codes. The security of the system, whether it is engineered to deliver the uptime needed for its intended use, technical aspects of disaster recovery.

These our equivalent of the kind of thing real engineers get sued for. Krebbs security blog reported cases where developers served medical records on the web without even enforcing basic authentication, and it will be the company not the developers who pay the fine (if any).

Very often, we come to a program which encodes complex business logic which is not understandable and implements systems not written down. I once worked with a financial services company who had no understanding of their pricing algorithm due to staff turnover and total lack of documentation or readable code. Should it be legal to deliver work of that quality?

Framing code craftsmanship as equivalent to these kinds of duties is strange, because lawyers might be taught writing or speaking skill but it doesn't enter into their professional registration. That does not mean it isn't important, or an important thing to consider at hiring time, it's just apples and oranges.

I think that, especially where we work on systems that can deeply impact peoples lives, the viability of business, or safety, we need something better than 'has worked on ISO x compliant systems' on a job spec. We need professional registration and the ability to strike engineers off if they are found not to be following an enforced code.
[video] Binary pneumatic adder from paper
Hi. I'm a 49 year old software engineer who is still at the startup game -- I started in it when I was 19. If you want to talk this thru with someone who does have life experience and has been thru the startup grinder multiple, multiple times, my email is on my profile. I'd be happy to get on the phone or on skype with you and discuss. Just drop me an email. I've been there brother; it will work out.
Personally I looked at OpenSUSE after watching "Linux Sucks".
Mostly I skip distro's that use KDE as their main Desktop Environment. Besides that KDE provides a lot, I found it extremly confusing since it's overloaded. Gnome 3 however did the exact opposite, they removed nearly everything. however the later version tend to offer exactly what most people need (- a dock not sure why they don't prolly because they don't want to be ubuntu/mac).
But I try to reinstall OpenSUSE in my VM with Gnome3 now, since it looks that it also has a good support for that.
Designing for Rural India
I've read that some environmental groups want to do something similar in the North Sea, seems like a good idea. Ocean fisheries need all the help they can get.
lol ok agreed more interesting then the two.
Did you consider creating new tables (with appropriate, more generic indexes) vs. creating indexes for everything?

You've got to consider that indexes can be viewed as cut-down tables that you can't directly address.

I would have thought that you are going to start leaning heavily on the query optimiser/index updaters, which may well not be well designed for this kind of approach. With the caveat that it obviously seems to working now :-)
Network Requests and REST APIs in iOS with Swift: A Protocol-Oriented Approach
My concern is that even if one plans for a sufficient capacity, there still needs to be testing done to verify that the code actually works if the capacity is nearing the theoretical limit. In this example the database id was transformed into a 32 bit integer somewhere in the application code.

Usually when I hit some sort of unexpected bug in production I try to think about what type of testing will prevent similar problems in the future.
That's a good idea. I wonder how difficult it would be to teach GCC's linker to do that.
Ask HN: Remote work salary expectation
I'm applying for my first remote job. I'm sending CVs mostly to USA based companies and most of them are not posting salary. My plan is to get the job, work from home for first couple months and then travel around Europe while working for sometime (1-2 years).

How should I respond to the question: Whats your salary expectation?

I know my minimum in GBP, but how high can I go to not overshoot? I assume that most of companies are paying salary based on employee location and here is my problem because it could happen that I will live for couple months in relatively low cost country like Bulgaria and then go to high cost country like France or Austria.

Should I set my salary expectation to average salary of city/state where company have it's main office, or should I ask for average salary of my current location (UK) which may change in following months?

I am senior full stack webdev/devops with 10yr of experience, currently living in UK (medium sized city, not London)
I'm in the United States. I own a small business and have been self employed in some fashion for about 20 years. My goals I would really only want to speak to the mentor about.
The Paradigm Shift of the Real Estate Sector
The horn of Africa (notorius for pirates) is on the other side of the continent. Or does this sound truthy because, you know...Africa? For your information, Namibia and South Africa (neighbouring country and close trading partner) have professional navies. Any hypothetical pirate's career in that geography would be similar to real-life illegal fishers' in the area: short and unfruitful.
Armand Dijkcs' cinemagraphs of waves
Oh, that's kind of neat (I read the article that went along with the repo). It's a pity that nothing was ever publically released.
How Alphabet’s AI Robot Is Helping The New York Times Replace Its Public Editor
Ya we better destroy all life on earth so you can keep your lifestyle.
That's "why" thing is new to me. I read before that there is no why, only how. "Why do particles exist? Why is something fundamental like it is?" Are these questions to be answered in ST framework?
Intel Announces X299, Skylake-X, and Kaby Lake-X Release Schedule
Inappropriate: Users being impolite and overly demanding.
Inappropriate: Maintainers (and supporters) insisting that a problem in their publishing process (whether or not they caused it) isn't their problem because the code works.

Both sides had legitimate grievances, and both sides did a poor job of trying to resolve them.
Invisible Unicorns: The Billion Dollar Tech Co’s No One Talks About
Monokai Pro – customized user interface theme for Sublime Text
Ah, in that case I feel no pity. Why would anyone buy a device like that is beyond me.
The fact that it matches with all observed results is evidence that string theory is viable. It's no small thing for a new, relatively elegant theory to do. That it produces no or few testable new results is annoying, but not a reason to dismiss it.
This feels like a lot of work being taken for granted. That is why support services exist. You pay a fee and the developer agrees to fix things for you. Open-source doesn't have to be for free.
According to the article/experiment you don't have to bork up the code much, just copy your stuff into a big buffer before you start printing it (and print using write(2) instead of puts)
Amazon rolls out contact blocking for Alexa voice-calling feature
Having spent a year hardening financial systems against Y2K, I was very unimpressed to discover my credit card not working on 1st of January.

The call centre staff told me that this wasn't a Y2K bug, but a year-end bug. As if that was meant to make me feel better about an obvious, grim, failure.
Uber is adding women executives
Plus I think the rest of the world would have problems with a country dumping unvalued citizens on them. Being stateless is no joke - and besides, where would they deport to? They are citizens.
I'd imagine it would look less continuous: some of the areas would be ripped apart and spread across the map.
I think video card manufacturers were first to cheat benchmarks
Isn't that what yarn.lock and NPM shinkwrap are for? I wouldn't recommend putting the entire node_modules dir in git...
Did you notice PHP outperforms any other scripting languages? Some report that it event beats the GNU yes implementation.

After reading here so many unfair critics and pedantic dislike over PHP[1][2][3][4][5][6], I just want to say: STFU.

[1] https://news.ycombinator.com/item?id=12706136

[2] https://news.ycombinator.com/item?id=3825227

[3] https://news.ycombinator.com/item?id=3824881

[4] https://news.ycombinator.com/item?id=1823022

[5] https://news.ycombinator.com/item?id=1819517

[6] https://news.ycombinator.com/item?id=1819413

... Just to name a few.
Of course you could just pipe from /dev/zero which will easily do 10GB/s on every machine.
Einstein germany and the bomb
I'm not a physicist but after watching this I'm utterly unconvinced.

Inconceivably large number of possible Universes cited as evidence because our own might well be in there somewhere ?

A casual passing mention that there are not 4 but 10 dimensions, and the fact that we can't see them is not proof that the theory is wrong but simply dismissed because they might be very well hidden.

To the casual observer that I am it looks like formula-tweaking to fit some mathematical framework better, but with no regard with compatibility with reality.
There can be relative WHYs. We will probably not be able to answer why particles exist. But we can tell you why gravity works the way it works.

I dont know what ST refers to.
> you could always run 'yes InsertReallyLongStringHere' to spew out data much faster than /dev/zero

That really doesn't make any sense, /dev/zero should be at least as fast as yes.
Scalafiddle comes to Medium
The point is that this feminist trend of sticking a "man" label over common problems makes me sick. It's unnecessarily confrontational, just like your comment.

And btw yes, the problem, as it is described by the sexist slur "manspreading", exists just in a feminist's mind.

In my experience men and women are equally represented among assholes. I'm glad you shared your different personal experience, though.
Show HN: Top HN articles in human-read podcast format
Hi HN,

Like many of you, I found myself discovering dozens of great posts on HN and never actually finding the time read them. I used to save every cool link to Pocket, but… well… same story — I rarely found the time to read them.

So I thought it'd be great to listen to the top articles, the same way I listen to podcasts.
Initially, I tried out narrating articles with latest text-to-speech synthesis from Amazon and Google, but it was still pretty bad. Especially with long form content. So I thought I'll do this with real humans, real voice actors. So I made ReadByHumans. [1]

We are starting out by narrating top articles from HN and some longer cryptocurrency white-papers. Giving away 3 top articles from last week and we’ll be sending one more audio article weekly.

In future and at scale, we’d love to narrate any article or a document, on demand and with only a few hours turnaround time.

Would love your feedback!
What type of content would you like us to narrate?
Is it easy to access the podcast feed?

Thanks!

[1] https://readbyhumans.com
Raspberry Pi sours thanks to mining malware
It also happened in Iceland in the 1970s:

http://www.bbc.co.uk/news/special/2014/newsspec_7617/index.h...
Supreme Court Casts Doubts on a Potent S.E.C. Weapon
There's also this thing
https://www.protectimus.com/protectimus-slim-mini
A little different because it does not plug in, but very convenient. It seems like the usb key solutions are likely to get left plugged into the port, and so get stolen along with the laptop. The protectimus idea is to keep the key on you at all times.
Can anyone tell if there's a good article buried in here amongst the GIFs and really, really questionable phrases like "I am not an albino living in a cave (so, not a developer)"?
Why 2038?