skysight-inc/HackerNews huggingface dataset:
Even so, Java is now at a place where you can ship self-contained, zero-dependency applications that are comparable in size to other compiled languages (and superior to web-hybrid options like Electron).

For cross-platform desktop GUI apps, I would argue that JavaFX combined with Java 9 modularization is hands-down the best choice available today.

Electron is succeeding in the desktop GUI space because it tears down the barriers to desktop app development. While the author's article is excellent, when it comes to Electron, he (like most engineers) is still missing the point: the choice between Electron and its alternatives doesn't pivot on file size.
This article is using false assumptions about AI to back up its narrative.

"AI doesn’t just require top-tier talent; that talent is all but useless without mountains of the right kind of data. And who has essentially all of the best data? That’s right: the abovementioned Big Five, plus their Chinese counterparts Tencent, Alibaba, and Baidu."

Making the next quantum leaps in AI is not a question of data advantages.

1) We have just seen the world's best Go-playing AI trained completely from self-play, without access to any labeled data nor hand-engineering, trained on a few machines. This happened at Google, but could have easily been done by a small startup.

https://thenextweb.com/artificial-intelligence/2017/10/20/go...

2) Even the pioneers of deep learning are now strongly pushing back on the methodology that lots of labeled data is required to solve AI problems.

Geoffrey Hinton: "I don't think it's how the brain works. We clearly don't need all the labeled data."

https://www.axios.com/ai-pioneer-advocates-starting-over-248...

In a nutshell, the biggest challenge of pushing AI forward is tackling unsupervised learning, not having "better data".
I work in corporate environment, and it's absolutely possible to use Clojure there. It's going to be harder to get buy in than in a small company or a startup, but not impossible.
not currently, but that's definitely an interesting idea.

Appraise is designed to make it easy for a human to approve/reject current state or changes, with a smart visual diff and a good way to show actual and expected pictures side-by-side or as an overlay, but it currently doesn't have any smart logic beyond that. Theoretically it could do something smarter as a comparison.

As it stands now, you could run it once to capture the current state, and get someone to approve it, then it becomes a regression test pack and the tool would alert to any changes with a smart diff.
No I read the whole thing. He has done far more than many in his position, and you are downplaying that. This type of self-gratifying, armchair criticism is precisely the thing that nobody cares to hear.
I hope that if we have ~10k people go there and die horrible deaths from starvation or live Instagramified horrifyingly bleak lives, then perhaps people on earth will start to feel trapped on this earth and to start to respect it more. My wife and I go every year to a film festival called "One World" in Prague. Once, we went to a film called "The War Show"[1]. A shaky cellphone shot documentary about Syria's civil war, in which the real camera-woman dies. I always was glad I lived in stable democracies with human rights. But before I watched that film, I didn't have real respect for the fragility and preciousness of democratic institutions. But now I do. I cried for hours after watching that film.

I want everyone to have an experience like that, with regards to our precious earth and nature, before it is too late.

[1] http://www.imdb.com/title/tt5719108/
What’s really appalling is the complete silence of volcanologists.
Isn't 22 minutes the maximum?

I mean if 1AU=150e6 km, and Mars-Sun is 230e6 km, and assuming circular orbits, we get a distance between mars and earth of between

230e6km - 150e6km = 80e6km

and

230e6km + 150e6km = 380e6km

Giving a range of 4.4-19.4 minutes. (EDIT: I guess 22 min is the back-and-forth time)

Anyway, this will surely suck, but I often chat with people while they're doing stuff, and they often only get back to me every 10 minutes or so. You just need to multi-task while doing conversation.

Also, some reddits only allow you to post once every 5 minutes or so; that's not that different from having a 5 minute delay (note how old posts are that you're responding to).

For many people, most communication is already delayed.
What you're describing is what moving to another continent was like until a few decades ago. Or moving to another city was like until 1-2 centuries ago.

Plenty of people moved anyway.
Ok, and I like the comment about helium...

But where did water originate?
I agree he's done a lot. As an entrepreneur I think he's amazing.

As a world savior his projects aren't up to par due to unsound philosophical axioms. That's what I'm criticizing.

And I think his rampant idolization right now is unhealthy
Quantom computing 101
People managed for a long time not being able to communicate between distant settlements faster than months or years, either having to go in person or send something on paper -- I think we'll be able to manage 20 minutes delay on them receiving video chat.
I'd Kickstarter that.
The results (R,G,B) that you calculate are physical quantities (amount of photons, or Watts). But when you double the amount of photons, the human eye sees it like 40% brighter, not 2x brighter.

RGB values, that you give to the monitor (through the canvas), were constructed according to the human eye, so rgb(40,40,40) looks 2x brighter than rgb(20,20,20).

Long story short, when you have your physical Red value between 0 and 1, do Red = Math.pow(Red,1/2.2);
> I still use perl for setting up users and emailing and database chores but CPAN has a lot of old modules now that haven't been maintained in years and going through those can be a pain sometimes.

Distinguishing between modules that are recent and used, recent and unused, old and used, and old an unused is one of the biggest problems on CPAN. Thankfully, metacpan helps with this quite a bit. It allows people to favorite modules, so you can be fairly sure any modules with a few likes will at the very least be useful and working, even if they haven't been updated in a couple years (since people are using it, it just means it's very stable). It's also much easier to search.

It also has lists of modules recently updated and recently submitted.[1]

Finally, if you aren't familiar with the Task::Kensho[2] meta distribution, you should take a look. It's a curated list of good modules for a specific set of common areas of need, such as Config file parsing, Webdev, Async programming, etc.

1: https://metacpan.org/recent

2: https://metacpan.org/pod/Task::Kensho
/u/pas has some good links below.

The primer is that a CAR is an engineered protein that is inserted into your immune cells with a kind of 'cellular surgery'. Here proteins are the actual machines that accomplish life's tasks within a cell - where small molecules are the fuel, building blocks, and modulators of proteins. From inside the linked reddit post, here's a kind of diagram of the designed CAR from a high-level abstraction layer: https://serotiny.bio/notes/proteins/car19/

These proteins can have additive functions in precisely the way small molecules cannot; they can provide new capabilities to cells - whereas small molecule drugs are almost only capable of disrupting an existing capability.

The reason these engineered proteins are useful now is that we now have not only have arbitrary read access to genomic information, but with recent advances, we also have arbitrary (and economical) write access to DNA that is long enough to encode an entire protein's blueprint (chemical DNA synthesis). And with those capabilities we've rapidly developed the first novel biological tools to deliver that DNA in a biological way (CRISPR). Until recently we could read an entire blueprint, but we could only make copy/paste changes. We can now design them de novo - and to interesting effect. There is a gene for human hemoglobin out there that is v1.1 - it is actually an intelligent improvement upon our existing human 1.0 version of hemoglobin, in that it can not only not aggregate in a way that causes sickle cell disease, but it can disaggregate mal-formed hemoglobin, inhibiting the disease. We can now start to program those new tools into biology in well-designed ways.

Further, with a decade of read-access to life's various genomes, we have started to actually be able to inspect well-written code in other organisms for inspiration.

And combining a few of these technologies, we can now start to think about attacking cancer and the like from first principles rather than simply repurposing our small-molecule hammer... And in their preliminary results they have performed remarkably well.

Some more discussion:

http://www.onclive.com/web-exclusives/expert-discusses-appro...

https://www.fda.gov/NewsEvents/Newsroom/PressAnnouncements/u...
Where bots can flood the market with junk, bots can flag and remove junk books, or at least push them down in terms of visibility. The problem is Amazon doesn't seem the least bit motivated to even try here.
Nice. Love seeing this jingoistic propaganda crap on HN. Hopefully I can get more of these high quality comments ASAP.
>We have spent billions putting robots on mars and we have literally nothing to show for it.

This kind of anti-intellectualism is really inexcusable. We've gained an enormous amount of knowledge from the rover expeditions to Mars over the years[1], and nobody should apologize that the previous expeditions didn't meet your specific science fiction fantasies. We can agree that we'd both love more funding for more missions to Mars, but your characterization of the earlier missions as useless is outrageous and uninformed.

[1] https://marsmobile.jpl.nasa.gov/msl/mission/science/results/
Colonists in the new world dealt with worse just fine for hundreds of years. You make a new life and send letters.

Unless this VR content is real time it's not a roundtrip problem but a bandwidth problem. Even without a high bandwidth uplink a few tons of storage sent to Mars on a rocket with some regularity goes a long way. Maybe Martians will play GTA 10 a bit after the rest of us, no big deal.
While Electron's popularity was a boon to the desktop app scene, I keep on dreaming that JavaFX applications made with Kotlin, jlink, Gluon's scene builder (or maybe even something better) will gain enough popularity to attract a healthy open source community for cross platform desktop apps.

It feels like the tools are almost where they need to be and finally coming together!
I have to wonder if some of that growth was related to Moore's Law? Namely, the number of transistors grew and the use of them grew linearly with them in a sort of 'if you build it, they will come' fashion?

Now, as I understand it, growth has slowed outside of the labs and Moore's Law appears to no longer be valid. So, there will likely still be growth, but the growth will be more rare, difficult, and expensive?

Like your VR example, we've often had great predictions of the future and so very few of them actually pan out as expected.

I don't know, it's just a thought I've pondered.
> "… serverless platforms today are useful for important (but not five-nines mission critical) tasks, where high-throughput is key, rather than very low latency, and where individual requests can be completed in a relatively short time window. The economics of hosting such tasks in a serverless environment make it a compelling way to reduce hosting costs significantly, and to speed up time to market for delivery of new features."

The crux so to speak. I wonder if this type of planning makes sense though? Can't I argue that good design, which imo has been around for ages and collected well in canonical books, aid in improving time to market for new features?
I don't think the takeaway is that innovation will slow down. The point of the article is that the large, powerful companies that we have now are on top of the game, understand technology, networking, internet, and there's no big new shift where they'll lose to startups.

Innovation will continue and Alphabet and Amazon etc. will remain dominant and powerful, controlling and doing much of the innovation.

Startups had whole new markets to enter in the past where big corporations were not prepared to go. Now, any potential new markets aren't wide open for small startups and the big corporations are ready to jump in and dominate. It's not the same.

End of widespread startup success ≠ end of innovation (but it will mean some types of innovation are stifled or don't happen)
I understand why knowing what the standard is useful, but why should one try to know what happens in a case where the behavior is undefined? It's platform, compiler, and optimization specific and is literally just trivia.
> I wonder if we will finally go back to hardware design principles that prioritizes functionality over look.

It's actually going the other direction. The fabric phone cover on the Google Daydream causes massive overheating problems. So this is a case of appearance over functionality.
Read blogs from Piotr Wozniak, he did a lot of research on the subject and created supermemo.

https://www.supermemo.com/english/company/wozniak.htm
It's not like hard drive companies didn't do this in the past. The Thailand flood was the excuse they all used to jack up prices and enjoy some healthy profits.
As a nation of one person and one planet, it will be difficult to prevent all those illegal aliens coming in.
Initially it was only thought to display JSON for the user, but it is true - if anyone would like to pick a branch and pipe it further, it should be a valid JSON - thank you, fix will be making it soon to the release :)
mine me a (part of a) bitcoin,

To be clear, literally mining Bitcoin without specialized equipment is so wildly unprofitable to be an idiotic business model and that's obvious after five minutes of Googling.
Given this combination of technologies, I'd say we're waiting for robot warfare :)
Sadly, P1 is set in the 1970s and has figures appropriate for IBM systems of that era. Near the end, an experimental cryogenic memory system is attached:

*

Testing indicated that the results of a live experi­ment would be a data storage unit with 87 percent addressability and sufficient structural integrity to allow a map of the "dead" areas to be constructed.

The interface being designed to link the cryos­tat to the 360/50 was geared to address just over 16 million bytes. It was understood that this capabil­ity would grossly understate the estimated final capacity of the cryogen. Modifications were under way to add eight more addressing bits to the computer. This would allow it to address over 4xl0^9 separate locations, or in excess of 4 billion addresses. This was expected to be more in keeping with the ultimate capacity of the cryogen at 150 millimeters diameter by 400 millimeters high. A six-inch cylinder, sixteen inches tall.

*

The System/360 series started with 24 bits of addressing and moved to 32 bits later on, so we're looking at a whopping 4GB. Even if the storage system uses 32 bit words, that's just 16GB.
Regardless of how it started, I'm confused as to why/how this crisis has been allowed to persist and grow for so long. No checks? No balance? Zero to epidemic and nothing to prevent it?
Any company whose management leads employees in prayers or urges them to follow a religious doctrine has no place in the civilised world.

Accommodating employees and their religious practices is another matter, within reasonable limits.
Loud Commercials on TV
When you liquefy natural gas, ethane and methane liquefy at different times, so it's relatively easy to purify methane. I don't know the price difference, do you?
Ugh, there's a slash missing at the end.
In the end it won't matter. 5 1/4" storage devices were always cheaper than their 3 1/2' counterparts, but a combination of factors, like how 7.2K, 10K and 15K RPM speeds were possible on a smaller platter, and seek times were faster due to shorter head travel, made the cost savings largely irrelevant.

The Quantum Bigfoot drive (https://en.wikipedia.org/wiki/Quantum_Bigfoot) was huge, storing way more than an equivalent 3 1/2" drive with the ridiculous amount of platter area, and cheap. The downside was it was relatively slow and noisy as all hell.

HDD technology won't go away overnight, but one day you'll wake up and chuckle about how things used to be. We had spinning rust in our computers! Hilarious!
The same place that water came from on Earth... comet impacts and residual moisture from the impact that split the Earth-Moon system. Really the same place all planetary water and gas has come from.

There's not much left because it mostly boils off due to low pressure, but in dark crevasses it's likely to stay cold enough to remain condensed. It's been measured spectroscopically.
I agree. When we sent the first rover we knew nothing, really. There might even have been life there. We need more funding, but the caution of early space explorers was actually rather wise.
This is what I was thinking. The octopus sacrifices an arm to conceal the full extent of its reach.
I want to use JavaFX to develop cross-platform apps but I feel JVM uses too much memory even for little things.

It's been a while since I've used Java to program, has the memory situation changed? or are there any other solutions for lowering the JVM memory usage?
Most favoured nation
I believe he is referring to the elliptical orbits aligning in some manner which would reduce the distance enough to have near real time communication
The main special thing is that it runs on methane fuel, which has less sooting than kerosene engines. That makes it easier to reuse them. SpaceX is headed in the same direction with their Raptor engine, intended to power the BFR, and Europe is working on Prometheus, which might ship in the mid to late 2020s.
> A “Hello World” CLI written in Go compiles to around 2 MB.

Nitpick but hello-world in Go :

package main

func main(){
print("Hello World")
}

is < 1MB on most computers (900KB on windows). No need to import the "fmt" package.
Sure. But it's very hard for humans to go back to that once they are used to being able to have real-time communication as we have today.
Ask HN: Examples of recently and well-written html and css to study?
Hi folks,

I'm a mostly-backend developer who has long felt frustrated whenever I tried to work
with CSS. My experience of working with it feels like that of a man struggling to open
a set of Venetian blinds (https://giphy.com/gifs/13XW2MJE0XCoM0/html5)

The reason is that I lack a solid mental model. When I write python or
javascript, I can predict what a block of code will do. When I am planning a
change to an API endpoint, I can imagine what ruby will make that happen.
Likewise, I want to be able to see an image of a webpage and imagine roughly
what css I could write to make that happen. I want, to take an html and css
file and imagine what layout gets produced from that.

To train this mental model, I've had a plan of two parts:

1) Find a resource to give me a good theoretical framework by which to understand how
CSS layout works. A while ago, I finished reading the tremendously helpful Pedantic
Guide to CSS[1].

2) Go through a bunch of well-built static pages and try to re-create them,
analyze how their layout works, and generally use them as a training set.

That training set is what I'm asking y'all for:

Can you recommend either a page or a set of pages that have well-written html
that a student should analyze or even try imitating?

---

[1] http://book.mixu.net/css/

http://flexboxfroggy.com/ is also good for training a mental model of flexbox.
In order to do this I have to select photos for specific day and there's no way to do it. On my computer these old photos are in directories named with date, one directory per day, but in Google Photos this information is lost, they are entirely random (these photos really have random dates, camera clock was randomizing each time I switched it on).

Simple script would solve that but Google Photos has no public API because public APIs are so 2006. There's no way to reupload photos with fixed EXIFs too.
Atlanta Hawks VS Brooklyn Nets Live Stream
It's free if it doesn't use your power though...
> And virus scanners shouldn't be an issue unless you're running on a Windows server, in which case I question whether you know what you're doing.

Is "the server" the only place where code is run today? That is a sad image for privacy and user sovereignty. I certainly still run a lot of code on my local system, and I wish more people did the same.
# make your own (large) PDF from slideshare url
# image resolutions available: 320, 728 or 1024 pixels
# example: $0 http://de.slideshare.net/olvemaudal/deep-c 728 deepc.pdf

test $# -eq 3||exec echo usage: url $0 {320,728,1024} file.pdf
browser='curl -s -O';
#browser='ftp -4';
test ${#TMPDIR} -eq 0||cd $TMPDIR||exec echo set TMPDIR
$browser -o 1.htm $1;
echo downloading images... >&2;
tr '\40' '\12' < 1.htm \
|sed '/-'"$2"'\.jpg/!d;s/\.jpg.*/.jpg/;
s/.*https:/https:/;s/\".*//' \
|while read a;do $browser $a;done #slow step;
test -f *-1-$2.jpg ||exec echo download failed
pdfimage -o $3 *-$2.jpg;
exec rm *-$2.jpg 1.htm;

# pdfimage is sample program included with pdflib
# http://www.pdflib.com/
Pharo (http://pharo.org) is also worth mentioning on the subject of modern Smalltalk environments.
I’ve been following OS UI experiments for some years and the problem with all of them was that they took an approach that sounded cool but wasn’t really practical. From 3D desktops to strange card based interfaces that wanted to replicate the messy physical desk. I think the key is to redesign the GUI by removing stuff instead of adding fancy new ways of shuffling files.
Aim for Ability, Not Likeability
Exactly. Google "Industrial IoT" or "Industrie 4.0" and it's pretty clear that some major changes are happening with IoT, far away from consumer gadgetry like Nest and an IP-enabled light bulb.
In a strange way that would actually be great.

One of the primary goals of the project is to build a big dataset of tagged images. If a bunch of bots went through uploading and then tagging all of the images on DeCAPTCHA, that would accomplish this goal even faster!
Why would you even pretend you know how millions of people live?
As others pointed out, population growth is highest when people are poor. Complex issue, but something where you can wait to have kids and have just one or two if you know that the kids will survive and thrive. A life that seems not only temporarily unstable but has no possibility of stability is one where people have lots of kids to hedge their bets that some will survive and be okay — plus the lack of health care, contraception, education (esp. women's education and career prospects)…

http://www.gapminder.org/ for best perspectives on all this
Just move Mars
It does makes quite a bit of sense, especially in the case where all those enums end up being processed by one single private function, such as "configureServer(config: ConfOption) ". (i'm refering to the linked post by Dave cheney here)

I spent a bit more time on the problem, and now i'm pretty sure it is also not solvable "cleanly" in swift, because it actually would need to model some kind of constraints over the accepted values of a type for a parameter.

Something like get(opt: Options<restrictedTo [.prefix, .revision]>... )

Otherwise you'll need to manually create a subenum, and manually compare cases from the original one with the sub one.
Forza Motorsport 7 vs. Gran Turismo Sport, the Analysis of Digital Foundry