skysight-inc/HackerNews huggingface dataset:
Good Image but I like Buddy Image. Buddy is good app for self-hosted. ElasticSearch is little poor :(
I love soo Deploybot.
> windmills have reportedly killed a lot of birds

From what I understand, far less birds are killed by windmills than by flying into windows and power lines, yet nobody is arguing to ban those.

According to [0], windows are even worse than cats.

(I still prefer solar, though. It just feels like free energy that we're wasting by not making use of it.)

[0] http://www.sibleyguides.com/conservation/causes-of-bird-mort...
Thanks for your kind words about GitLab. We're working hard on making GitLab.com faster, see https://gitlab.com/gitlab-org/gitaly/issues/ for the latest. A workaround would be to run your own GitLab installations, all the CI features are in the open source GitLab CE https://about.gitlab.com/products/#comparison

For an intro to Gitlab CI see https://about.gitlab.com/gitlab-ci/
how thoroughly it's been trashed over the years

So often a phrase like this is repeated on HN.

React only got released 3 years ago. How could it be "trashed over the years"? Over what years? It barely qualifies for the plural.

I seriously wonder sometimes if javascript programmers live in dog years.

React apps haven't been in production long, we're only just entering the maintenance phase, now is exactly when we will start seeing the problems with mingling code + UI as the code gets forgotten, opened again, modified, added to and bloats.
It continues to amaze me that the US is so unambitious in this regard.

Donald Trump on education: http://www.ontheissues.org/2016/Donald_Trump_Education.htm

His solution?

School choice, competition.

Completely ignoring what the 25 countries do that rank higher when it comes to education.
Is Putty still a thing on Win or does it have something native?
> I'm probably being naive,

You certainly are.
[video] New Year's Challenge for Travel Photography Freaks
That's why I enjoyed the "hackers guide to neural networks" so much - it builds everything from the ground up
I would love to use Windows all the time at home but as my Windows 10 installation believes it is up to date (but is clearly an old build number, irritatingly/stupidly only visible in the settings app and not my computer > Properties), it really is not up to date and I have no idea when Microsoft will decide that it is.

It's rubbish. And the lack of consistency throughout the OS (icons different everywhere, duplication of settings app despite same underlying COM snap-ins, settings app titlebar isn't really a titlebar, 3 different right-click menus - one for the Start menu, one for Edge, one for everywhere else) it is driving me insane. You have to learn all of these edge cases on how to interact with core OS windows.

That shouldn't be the case!!

Windows 3.11 came with a manual (I have it) that informed you how to interact with the desktop and windows. Just imagine the mess they'd have to write for Windows 10 - "drag the blue bar at the top, unless it is the settings app, where there is no blue bar and you can't tell where the titlebar ends and the toolbar begins"; "single click on buttons, unless you are presented with the 'open with which app?' dialog where you will be able to double-click on the button that has the name of the application you wish to use" etc etc etc

EDIT: And I say all this where I use my PC all day at work as a C++ Windows dev and Windows at home when I need to cross-compile. Don't get me started on the lack of future for the MFC codebase we have at work.
Why Xamarin Is the Supreme Ruler of Cross Platform Development
Visual Localisation with machine learning
We are conducting an online survey for research purposes. Some of the scribbles that you'll see were generated by humans; but others were generated by a machine.

The test can be completed in less than a minute, at the end of which you'll see your score. So, how well did you perform?
Unauthorized, not much, I think we're well ... hmm ... supervised ...

(Authorized, not much either, it impedes unicorn hunting. Incidentally that's why jwz hates this place - slept under his desk for the delicious unicorn meat, has strong feelings about campers.)
It takes a fair amount of magical thinking to believe that GPS can do area denial from space. Consider how many satellites are above the horizon for a given location at any moment - somewhere around 8-12 at any moment, or more.

Each of those satellites in view would have to be implementing this scheme you suggest in order for it to be effective.

Since the satellites only have a single transmitter for each signal their entire receiving area would be affected by whatever modifications are made to implement SA. This means that to turn SA on for a single area more than half the globe would be getting a degraded signal from 1 or more satellites, which ones being undetectable.

I'm afraid SA is an all-or-nothing idea. Area denial (jamming) by surface and airborne transmitters is a much more workable approach. One could imagine jamming from space, but not using the GPS satellite vehicles.
Thanks for clarification - I'll definitely have a look :)
I'm very interested in seeing that proof.
Seems like the bubble is finally shrinking... i think dept can actually help an early company focus their effort - if you know you have to produce value, to meet your next payments - instead of 'oh, yeah i got a billion dollars - lets buy some art for the office'. I am always amazed when i read articles on how much money a (typical) unicorn (actually) looses... Granted it can take some money to build a user-base etc. But, woo... i would love if someone could calculate the cost of customer for some big ones... Or tell me how shit, without a business-model, gets founding millions high.
Yes, there is a market for stationary energy storage for electrical grids. It's small so far, and pretty fragmented, though growing quickly from a small base. It's anyone's guess whether the stationary storage market will sustain distinct storage chemistries that aren't suitable for mobile applications (various kinds of flow batteries, sodium ion batteries, sodium-sulfur, liquid metal...) or whether lithium ion will end up everywhere due to its early lead and continuing cost/technical improvements. Even lithium ion ends up everywhere, there could still be chemistry differences between cells built for stationary grid backup and cars or phones, but they would be more subtle.
G-Suite Gmail bug question
I am trying to figure out why Google believes this "by design" feature is good for the user. When using Gmail, specifically only when using Gmail as part of the G-Suite applications (the problem does not exist in the free version of Gmail) does this issue arise and I can't imagine that we are the only company frustrated by the problem.

When creating a signature for emails, if you want to insert an image in your signature (i.e. a company logo) you are only presented one option to insert the image from a URL (in the free version you can upload images and link from images in your Google drive). You cannot use URLs from images stored in your Google Drive, even if you have the permissions set to anyone on the web can see. If you attempt to use a Google drive image it will show as a broken image in the signature.

Google has confirmed that this is "by design" and that you are supposed to only use images hosted on your website or elsewhere on the web. While that's fine, I am more curious why they think this is the best option. If you use a regular old free Gmail account everything works fine. Thoughts?
I found that the gestures were odd, coming from a MacBook. I also notice that my MacBook's touchpad (whilst great in macOS) being absurdly dumb when I reboot to Windows on the same hardware.
> This explains a lot of the statements in the publication.

I hope we can avoid offhand judgments like this. As for the OP, and leaving aside the parts discussing other languages, this is a useful document for those outside the D community for summarizing some issues that may be apparent mostly to insiders. However, I think the author underestimates the amount of effort that it takes to develop and polish a complete and modern-feeling language/library/tooling ecosystem, especially for projects dependent on volunteer contributions (rare are the volunteers who sign up for grunt work, however essential that grunt work may be).
Show HN: HealthFace
> In the real world, the Gimli glider was 9,753.6 m high. How many km can it glide?

117,043.2 m. In about 5 seconds in my head. By doing value × 10 + value × 2. Because multiplying by 10 is so easy, because arabic numerals are in base 10.

And by cheating, which obviously we would do as a first approximation, it is also much more trivial in SI units: 9,753.6m is about 10km, × 12 → 120km. At most 1 second to find. Faster again.

But my fundamental point: we already have the mnemonics ready for base 10, and we won't switch away from arabic numerals any time soon, so we might as well benefit from it.

It isn't a competition. After all, the metric system is screwed up: having 60 seconds in a minute is a pain (but wow, so many divisors! — really though, just an inheritance of an ancient culture that did not use base 10 numerals; using higher bases isn't an indication of modernity) and the fundamental definition of the second doesn't map to any physical reality in an intuitive way anymore.

It is simply less screwed up.
> Same with Google: they hire a lot of software engineers that contribute directly to their revenue.

(I know nothing about accounting, so can't comment on that.)

Yes, in that sense it is true.

In the sense of the end product (software licenses not being the primary source of income), and the way profit is gained (advertising), it is untrue.

I guess it depends on perspective.
Thanks @smile0x90, hope that helped
Because they'd have to convince their users to scrap their old Mac and buy a new one a lot earlier. It can work with a 500 bucks PC, but I'm not sure how many Mac users would accept to do the same to their expensive hardware.
Xubuntu still exists.
Show HN: I made an emoji URL shortener with detailed, open analytics
> then their true detriment would be brought to light and they'd have to be properly fixed.

I wish that were so. But even if it were there will be immense misery before it happens. In Victorian England one could be transported to Australia for trivial offences; eventually juries refused to convict and the law was changed. A lot of people suffered immense hardship and many died because of strict enforcement of the rules before they were fixed.
> D wants to give you options, so you can use GC/RC/manual where appropriate.

Again, those options are what I listed as the wrong approaches. Manual = ad-hoc memory management.

There's an additional option only present in Rust: automatic memory management via static analysis. Rust does not allow manual memory management at all unless writing unsafe code. Unlike Rust, D code with memory allocations is either GC'd or unsafe.

Just to make it clear: the borrow and lifetime checkers are not manual memory management. Lifetimes are just hints for the compiler to do its automatic memory management at compile time.

> ultimately, D and Rust converge to the same point

Definitely not.
Last week I saw a comment by @runnr_az re: his emoji domain registration engine (https://xn--qeiaa.ws). I was immediately excited by the prospect of building something novel and after some brainstorming settled on an emoji URL shortener registered under http://xn--dk8h6i.ws (text-friendly name: http://Mosho.ws). My hubris was great - this was clearly an original idea that no one in the entire history of the internet had thought of. I immediately began working on a prototype using the MEAN stack (minus Angular as that seemed overkill for something so simple) with full confidence that I was to be the Mark Zuckerberg of emoji URLs.

The original version simply mapped a given domain to a randomly-chosen combination of Unicode 6.0 emojis (the ones that your original iPhone 4S supported) - nothing more. I was about to start sharing around the site when I came across http://www.xn--vi8hiv.ws (Linkmoji) and http://xn--cr8hhg.ws on Product Hunt - two great emoji URL shorteners that had already beaten me to the punch - doh!

After my ego finished deflating I began to think of ways to improve on the original concept. I assumed that the most-desired feature would be custom emoji combinations so I added that first (your custom alias can be between 1 and 100 emojis). I also noticed that emoji URLs don't play nice with social media - like, at all (Twitter being the only exception at the time of this post). Through a lot of manual testing I narrowed down the URL formats that would be supported (and autolinked) by all the major players (Product Hunt, Hacker News, Slack, Reddit, Twitter, Facebook, Pinterest, and Tumblr) and displayed them in a tabulated list upon shortening.

I also added detailed analytics. Originally I was just tracking clicks but ended up adding sources, mediums, cities, countries, browsers, platforms, and devices. Finally I added support for Unicode 6.1, 7.0, and 8.0 emojis which are what all modern phones offer - it currently supports 888 emojis (not intentional but awesome nonetheless).

All in all it took about three days to build the core functionality and another four to polish the User Experience (I'm a backend dev by trade so frontend work doesn't come as naturally to me). I'm sure there are many ways in which Mosho can be improved and I look forward to everyone's feedback! Finally I'm greatly thankful for http://www.xn--vi8hiv.ws and http://xn--cr8hhg.ws - their efforts inspired me to really push myself with this product - it wouldn't have been as polished had it not been for them.
The article says the truck got stuck on the railway - the same could have happened if the driver knew the route too, so I don't really understand why mapping apps are too blame. Here in the U.K. most (all?) at-grade crossings have lights, barriers, but most importantly an emergency telephone so you can contact the signal operator in situations such as this.
> Afaik there are plans to add an optional GC to the
> standard library?

This is incorrect. There are some far-future plans to add GC hooks to the language to allow it to interoperate with external GCs (mostly motivated for Servo to use with Spidermonkey, Firefox's Javascript engine), but there will never be a GC implementation shipped with the stdlib itself.
I think the difference this time is that the older generation is significantly larger than ever before. Also, IIRC, this generation will be the first to do worse financially than their parents generation.

So taking the parents point - after enjoying a good standard of living and taking on a huge amount of debt they couldn't afford, contributing to the great recession, the older generations have now decided that the solution is Brexit/populism. Both these things will have lasting consequences for younger generations but not for the older generations looking for a quick fix as they won't be around long enough to suffer the long term consequences.

I'm not saying whether this is right or wrong but based on my conversations this is the general thought process and why it is a little different than the general 'the last generation sucked' feeling.
>Whenever I get a ride, I always check all 3

This is why I don't get why Uber tries to "undercut competitors". Even if they succeed, the second it stops bleeding money and raises prices competition will reappear. It's not like it is hard to install another app.
Why do you think they are bad ideas?
Reasons for D:

It is a way out of the C++ tar pit, because it does C++ interop better than any other language. D needs to continue to outrun C++ evolving, though. See http://dconf.org/2016/talks/watson.html or https://www.youtube.com/watch?v=IkwaV6k6BmM

It has powerful meta-programming. It is effectively the opposite of Go, which does not even have generics. This certainly provides foot shooting as well, so other languages (e.g. Rust) are more conservative with that. D examples: https://qznc.github.io/d-tut/meta.html

Those are the two reasons, which D has ahead of all other languages (ok, not Lisp wrt meta-programming). If you compare it to another specific language, there are more things to talk about.
$1.50 per litre is $5.70 per US gallon. According to the AAA, today's US average is $2.25, making gas in Sweden 2.5x as expensive. I think GP's point stands, even if the numbers were a little off.

For the record, gas prices in Germany are similar to Sweden, maybe a couple of cents lower (currently around 1.35€ per litre—around 2.35 times the US average)
As far as I know gas tax isn't paid by the producers, but sure we can combine gas producers and users for this discussion. Money taken or given to either one has the same effect on the demand for gas production.

When that $x in taxes is paying for the infrastructure used, then the gas producers/users are actually getting $y+x from the government. The $x, being a service charge, cancels out, and the only thing left is $y. $y is the difference between the world we live in vs. a world where the government paid no special attention to the industry. It's the most important number.
Ask HN: What are your favourite computer programming quotes
Please also write the author
How many years do you need to come up with a counter-argument, or adress the issues claimed for the alternatives (by the React authors and community)? Three years might not be old for a technology, but it seems like a lot of time to actually respond and flesh out this argument. If that really was the author's interest.
The problem is that 99.99% of developers aren't (writing Twitter etc) but they still apply techniques used by unicorns to handle their own very exceptional needs.

We should always be wary of applying skyscraper building techniques when building a house or a shed.

I honestly bet that 99.99% of people who read Hacker News could write their applications with a drop of jQuery and some basic ES6 code.

I have nothing bad to say about these frameworks, more caution that we don't apply techniques needed at scale to small scale products.
Putty (or Kitty or MobaTerm) is still a thing, but there are other options. The Linux subsystem will give you a *nix shell and ssh that works exactly like you expect it to. There is also msys which will give you an ssh client you can run directly from cmd.exe or power shell. Microsoft have been working on a proper native port of OpenSSH, but while it apparently works pretty well, it's still not feature complete or ready to be shipped as a standard part of Windows (hopefully early next year).
I agree with the parent r.e. safety concerns though. It's a cheap, easy way to provide a relatively sure record of truth for public spaces. It helps prosecute people who enact violent or other crimes, and reduces the number of those in the first place.

Do you disagree with that, or value being invisible in public higher?
> I worry what else is lurking in libc++ implementations that implies dependencies on things that aren't exactly portable...

You do realize that the C++ runtime library is always a system or compiler supplied non-portable library?

Just like the C library is also highly non-portable. It uses system-specific syscalls all over the place.
Thanks!

I wasn't following the whole sadwagon, but I'm fully aware of how everything is sensationalized, hence I was asking for sources.
Reviews: Amazon Kindle Manga Model
We used Jenkinsfiles and pipelines recently. And also introduce Blue Ocean on our jenkins server.

It come with a few glitches: Some plugins are not compatible with Blue Ocean, causing a white-page-of-death. However I found there where already issues created for them, i just turned off the plugin.

But the biggest downer, is that blue ocean is just a small UI on viewing pipelines. Its not a replacement for jenkins. And you still need the normal jenkins UI. Which doesn't handle pipelines well.

I think its still very much a beta project.
> the borrow checker is not manual memory management

Ok, we disagree on the terminology here. I would consider that manual, because it looks the same in C++. Rust only has the static analysis to weed out all the unsafe/broken code.
So it doesn't rain in the summer? It doesn't rain in the fall? It doesn't rain in the spring?

Nothing complicated about it, it's just a reality for many people.
Or maybe owning a home isn't as high a priority for you as it was for earlier generations? So high that you sacrifice a lot of other things, including living in a much more modest place than the one you are renting now?
Ok, so only library-GC like https://github.com/Manishearth/rust-gc ?
Maybe you should have that figured out before charging 14yo $120/month
I think the quickest way to improve most code is to write it in functional style. You don't need a functional programming language you can write in functional style in pretty much any mainstream language without difficulty. Freedom from side effects makes composition and testing so much easier.
Suggest HN: Make a JavaScript remake of the game Sentinel during the holiday season?
The game Sentinel is ripe for a remake using JavaScript. Are you looking for something to do during the holiday season? This might be a fun project to get into.

Short description for those who haven't heard about the game before: It's a three-dimensional hide-and-seek game from the first-person perspective in a surreal-looking chessboard-like landscape. The aim is to absorb as much energy as possible and finally to absorb the watcher that is positioned at the highest point of the level. The watcher is called The Sentinel, hence the name of the game.

It's considered a cult game [citation needed], but for some reason no (decent, multi-platform) remake exists.

(I'm not really a candidate to make it myself, I know my limitations. But I will absolutely play the remake! :) Why JavaScript? Because all things can be made in JavaScript and why not? Also, multi-platform.)

More info:
https://en.wikipedia.org/wiki/The_Sentinel_(video_game)
https://www.c64-wiki.com/index.php/The_Sentinel
https://www.youtube.com/watch?v=FGadqJbqTn0
> [turbines] have reportedly killed a lot of birds, sames goes for the underwater [turbines]

I hear this argument a lot, but it's not usually connected with concern for birds in any other context. No concern for habitat depletion from oil sands extraction, nor from acid rain, nor domestic cats, nor windows (which kill a much larger number of birds), nor global warming itself.

The effect of tidal turbines on marine life seems to be basically .. unknown. Probably dwarfed by the known impacts from fisheries and pollution. The continued existence of fish depends on putting fishermen out of business, which is politically fraught.

> harness the tech in trees to figure out how the heck are they able to move water from roots to the top

Evaporation. You can demo this on your desk with a piece of rolled up paper in a glass of water. It takes energy from the sun and air and you can't use it to pump water into a reservoir.

> microscopic solar panels

.. produce microscopic amounts of energy, although you can run a calculator or watch from that.
When I was bored some time ago I did the math just to have a picture in mind what the solar system would look like when the sun is a ball of 10cm diameter. I made no fancy visualization but I think the numbers are impressive of their own.

So, if the sun is a small ball hovering in the middle of an empty space:

- the earth is a pinhead circling at a distance of 8m

- with a speck of dust circling it 2cm away (a.k.a. the moon)

- Jupiter is a marble 40m away from the sun

- the next sun is 2km away

- oh, and the light moves with the speed of a snail. So you want to visit the next planet system? If you fly with speed of ligth, it's like a snail crawling from Berlin to Madrid.

What's impressive for me are not the size differences of all the objects but how empty the space is.