skysight-inc/HackerNews huggingface dataset:
I disagree. While Python, for instance, certainly has its quirks, it doesn't have multiple ways of declaring a function, each with their own scope and hoisting gotchas. In Python, self isn't ambiguous the way this is in JavaScript. Python's datatypes are straight forward, unlike JavaScript, where 1 + "1" produces a valid result. In Python, 9999999999999999 is precisely 9999999999999999, however in JavaScript this is true: 9999999999999999 == 10000000000000000.
TypeScript has previously been recommended, so I will take a look.

I assume web assembly will bring sanity to the frontend PL world, which will be a step forward.
Right, so it's still visual, but it's not an example of the original suggestion to only define groups as groups of permutations.
A Brief Taxonomy of Numbers
Passive does not meanno heating. Just way less. Also works with temperature swings as evidented by the amounts of passive houses in the alps.
> Use encrypted services (ProtonMail for email, Signal for chat, etc.)

Also have a look at Briar [0] as they offer P2P communication, and the ability to route everything via Tor. As an alternative to Mail also BitMessage comes into mind, which avoids Metadata about who you contacted.

Oh also have a look at drdaeman's comment in here, ProtonMail is far from the solution for secure email.

[0]: https://briarproject.org
Are Apple the only tech company who will take legal action for violating an NDA? I'm not Apple fan either but this stance is ridiculous.
I use audio devices (amps, etc.) that are over 30 years old and work flawlessly. Why should "connected" systems be any different??
Let's Encrypt Status
> However, lots of startups are using it to build both their android+ios apps in production in CI/CD.

Keyword here is startups, with freedom to use alternative tech just because.

Apparently Android Studio is work in progress, and doesn't support all the features, like the NDK.

https://ij.bazel.build/docs/bazel-plugin.html

I really don't see the need to use anything else other than Maven, unless it really substantially improves the build speed and IDE tooling experience.

If it wasn't for Google's imposition of Gradle on us, I wouldn't bother with it.

However if in an imaginary future, they replace Gradle with Bazel and those points are met (build speed and tooling) then by all means.

> I'm talking about Oracle + Graal project not putting out Java 9 based releases because of a co-ordination effort.

It is already there on Linux x64 for 9, with macOS and Windows on 10, as mentioned on the talk, so I really don't follow.
http://crossnote.io/ should be out next year (it's still in development)
I use Elm for all my front-end work. Its compiler and debugging tools are really nice. I also like its functional nature. Elm helps eliminate most of the common issues with JS code and I can also accomplish the same thing with a lot less code in Elm. It's probably not for everyone, but I like it.
You can, but there is no alternative so what choice do people have?
These startups pitch in freezing water to get sweet, sweet funding
it's true that the syntactic system is too ad-hoc for heavy duty
> No, you can peruse the code for yourself if you need to look for backdoors.

...and the conclusion that the source is back door free is only relevant if you then actually build the software yourself. You can only assume that the exe was built from the unmodified source code if you trust those who built it.
I recall some fights in biolabs that were really laggy, same with some fights at crossroads watchtower.
The issue was really when a lot of people had mutual line of sight and we got grenade spam (especially revive grenade spam).

I might be off on the numbers though.
Tup, pandoc and rsync
I have a single asciidoc file, ~20 lines of CSS, and a Makefile that generates a single HTML file with my blog and publishes a new post with:

$ make post

It works just fine.
I think I need some fancier categorization like day columns, and content tags. But I'll keep your suggestion in mind
I have found lately that many web things today are based on fads and they have found their way into the standards. In the past, standards were developed through engineering and computer science. Today it's based on fireworks, explosions and emojis. Speed trumps quality. Do not want to think is the motto or slogan.

If there is a framework or library I can use then, great, I don't have to know how it works so I won't bother seems to be the mantra today. Which, in my mind, reminds me of "All in the Family" scene where Gloria is talking to her friend. "Daddy said girls don't have sex, only boys do." Friend: "Then who do the boys have sex with?" Meaning, if no one is doing the thinking, who is going to write the code?
Bridge is out of beta: https://protonmail.com/bridge/ and yes for paying customers. Given they don't sell your data it's natural that advanced features have a price.

Yes there is of course trust involved as with anything. Still, for the majority of the folks it's better to trust someone else with their mail over running their own servers with gaping security holes. Avoiding email is not really possible yet and in the very near future...
My personal favorite:

> I type clear: both and say a prayer to the box model.
React IDE
> It seems dangerous to rely on a for-profit host

Unfortunately, "non-profit" hosts are somewhat in a short supply.
There is https://github.com/whyrusleeping/gx (based on IPFS instead of torrents, but they work extremely similarly for this use case)
Deploying a Serverless Machine Learning Service with AWS Lambda and Scikit-Learn
first, i'd get better at math. i'd be more interested in hardware and assembly. then i'd start with SICP and then move to haskell or ocaml.
Show HN: BorderWait, predict your wait at U.S. airports
> Even in video games, could you cite more than five big AAA game in the last decade that were not based on UDK, CryEngine and its variants, or Unity3D?

It seems you are less informed than my first impression was. I did a few web searches, and the AAA titles using especially Unity seem to be far and far between. It's not good enough technically for top-notch performance (seems to require a garbage collector).

Also there are so many types of games that they cannot possibly supported by just two generic engines. For example, Open-World games need their own. Or military games like Call of Duty have their own. (And of course many Indie games have their own, as I said in the other comment).

Also most bigger publishers breed their own engines to save the fees for licencing a third party engine.
> If anyone has advice on how someone who prefers rigour, simplicity, elegance, and decent PL design over the latest trend should approach web dev that would be massively helpful

Sounds like Elm [0] (pure, functional, very very easy to start with but lacks abstractions), Purescript [1] (pure, functional, powerful, the best language for the web right now, imo) or ReasonML [2] (functional but impure, familiar syntax, focused on pragmatism) would be right up your alley.

If you're ok with a dynamic language (i.e. strike rigour), then look no further than Clojurescript [3], Clojure's [4] little web brother. An elegant and simple Lisp, it makes almost all other dynamic languages completely obsolete.

There most definitely are sane options for developing for the web if one is willing to use a compile-to-js language.

[0] http://elm-lang.org

[1] http://www.purescript.org

[2] https://reasonml.github.io

[3] https://clojurescript.org

[4] https://clojure.org
I've use the unofficial Android Maven plugin before the official Gradle plugin was released. When the Gradle plugin came out, it made my builds so much simpler than it used to be with Maven. As much as I like XML, having 4 lines per dependency is way too much. And having to write a custom plugin every time you want some custom logic is terrible. The Maven ecosystem may have increased since then, but I'm very glad they chose Gradle over Maven.
Graphical plot of p + q vs. pq for primes p and q
> It was hard to write, therefore it should be hard to read and this OK because why don't you go and write the comments never mind that I can't read my own code a months later. Fire and forget!
IANAL either but believe you are right with the GIMP example. However, my project doesn't just produce an output similarly to how GIMP saves images. It also requires you to link to some of my project's code at runtime. That is where the need for a commercial license comes from.
Even if we agree it's true, it's still more than mx. And that was the whole point. MX is a pain to setup and use - if you don't want Bazel, then fine. But then use cmake or waf or scons or gradle or one of the many build tools that make this possible...and more importantly are more widely used and have a ton of help threads and documentation already.

AFAIK Bazel is the best fit because of automatic download of dependencies from many source repos.

About java 9 - it's not officially supported. You have to build your own. Please read the GitHub link I posted in my original comment.
I bought my first Sonos elements in 2006, and used to love them.

I still use Sonos, for lack of a better option (?) but have come to hate it, the devices, the company, the whole "ecosystem", with the heat of a thousand suns.

It updates constantly, you can't ever refuse an update, updates stop the system just when you need to use it, change the UI for no reason, and every update breaks something. Every single iteration is a little slower; I used to keep an oldish ipod touch just to manage Sonos but now it's so slow it's almost unusable.

Since 2006 my use of Sonos HAS NOT CHANGED AT ALL: mp3s are stored on a Nas and they're played in various "rooms"; and sometimes I listen to radios; and THAT'S IT.

Of course Sonos as a company has to support new streaming services and whatnot, but why does it have to break everything in the process, or force all users to upgrade? Why can't it leave us alone??

Every 6 months I try to look for an open source alternative, maybe based on a Pi (+ relay to power up amps on demand) but have not been very lucky so far. Am very interested in any pointers to something simple to implement and that I would completely control.
How to design this database to avoid cyclic dependency?
Last summer I lived in the largest passive house settlement in the world, in Heidelberg, Germany, and the main complaint is the heat in the summer. Even with cooling down the apartment to 20°C with open windows all night, and closed windows and window blinds all day, the apartment would be back at 28°C when returning after work. Basically it is too hot in the apartment from May to September. In a survey nearly 60% of the people living there complained that it is too hot in summers, so it doesn't seem to be an isolated problem to the specific building I lived in.
Not sure I get the significance. Isn't this a part that satellites would contain themselves in other cases? So the benefits of this is satellite makers don't have to add a part themselves to move themselves into orbit. Instead Rocket Lab gives them a standard part which will take care of precise orbit placement?
He chose to graph from high syscall rate to low. I was initially confused, as most people would have shown the ramp up, left to right. Doesn't matter much though, once you get it.
Why and How Java Developers Break APIs
Modern JavaScript is not a very badly designed programming language. It's a good, productive programming language. Most of the quirks can be disabled with a linter, and optionally a lot safety can be brought in with typing (using e.g. TypeScript).

On the other hand, many developers don't know much about programming and JavaScript, and therefore tend to have unjustified criticism of the language.

JavaScript was a perfect choice for Node.js. It's event-driven design is a perfect fit for a performant web server. Python would have been a bad choice, because it didn't support asynchronous programming when Node.js was created. Furthermore, using the same language in the backend and frontend will reduce context switching, enable code reuse and generally speaking improve implementation efficiency.
There is a secondary market for Uber stock that's moderately liquid. It's not a public company, but every shareholder takes a haircut when they hand out more stock.
Opioid epidemic costs West Virginia $8.8B annually, study says
CS(:GO) would be completely unplayable at any update rate below 50. Especially with the necessary interpolation, you would end up with delays of over 100-200ms+ at an update rate around 10. Most weapons in the game could even fire more than one shot in that time.
you still can write `<html><body><h1>hello world</h1></body></html>`, there is nothing wrong with it!

but once you have written a file-browser with an embedded editor in it or anything else at more complex level, you will consider using react and all the things. because complex things are complex.

again, for simple things you can easily use simple tools - maybe you should. but of course once you are using react day in day out because you need it for other things - you might just use it for anything because you are familiar with it.
Yes, the 90s app is faster but can it consume and provide data over a network? Does it afford collaborative editing? Sharing data with others?

You can now even use Google Sheets for creating web applications much like Excel has been used for creating desktop applications.

Lazarus and Delphi in general certainly are great tools but they're also limited in terms of what types of user interfaces you can create with them. There probably aren't many faster ways of creating single-user CRUD applications but once you have to roll out an application to multiple users who are supposed to use the application over a network and in a collaborative fashion things start to look different.

As for the other angle I consider Excel (and the concept of spreadsheet software in general) one of the single most remarkable pieces of software created so far. Creating a fully-fledged spreadsheet application is no small feat. Then, let's not forget, Google Sheets is free whereas Microsoft makes significant revenue with their Office products, which would explain their motivation to create the best and fastest version of their product they possibly can while Google seems to be trailing behind.
It’s an accessory. If we were talking about the speakers themselves, I wouldn be more sympathetic, but in this case I’m just not.

The reality is that the nature of connected devices makes things different. This isn’t the same as a CRT TV (but also, look at how much it costs and how difficult it is get parts for a CRT in 2018). And like it or not, your next car won’t be as repairable as your current 15 year old car, because it will require custom software and bench access and updates that most mechanics will not pay for or maintain.

At least these Sonos users have the option of not installing an update. This isn’t like Revolv where it just stopped working.

The CR100 uses Flash IIRC...it is absolutely ancient. I’m not sure we should be realistically asking development teams to maintain separate code bases for old, obsolete software. Google and Amazon changed backends that made the CR100 stop working. Are you saying that that’s a travesty too?

Legit question: how long should any company/service be required to add backward compatibility to old, obsolete products?

I fundamentally agree that we should be building for longevity and serviceability, but that isn’t always possible. The platform and stack the CR100 was built on is not modern and cannot be easily maintained. And even if the software was open source (which would be great), that doesn’t change the fact that if the endpoints on the services it relies on change, nothing can be done.

The only reasonable compromise I can see would be an update that would allow the CR100 to continue to work only with local files. Otherwise, at least users can opt not to update if they rely so heavily on a 13 year old controller.
I think this is pretty much the way to go in terms of future housing - obviously, adapting to local climate and needs. I’m surprised that so many passive/ ecological houses are designed for single families, which must be a poor use of resources and land (in most places).
That does seem like the intuition you would like to capture by talking about integers as a group, maybe?

Kind of like how if you talk about points as elements of a vector space, it's useful to think of them as translations from the origin...
liberapay please
For these type of task, pandocomatic supports preprocessors, postprocessors, filters, setup scripts, and cleanup scripts in its templates.

For your specific issue, and this is a general pandoc solution, filters with side effects could work. For example, you can write a filter that would extract and inspect the metadata and writes it to to an RSS XML file.

In Paru¹, the Ruby wrapper and interface to pandoc, a very naive solution could look like:

#!/usr/bin/env ruby
require "paru/filter"
require "rss"

RSS_FILE = "my-rss-file.rss"

title = "No title"
date = Time.now.to_s

# Collect metadata information while filtering a document with pandoc
Paru::Filter.run do
title = metadata["title"] if metadata.has_key? "title"
date = metadata["date"] if metadata.has_key? "date"
end

# Create new Atom item
new = RSS::Maker.make("atom") do |maker|
maker.channel.author = maker.channel.about = maker.channel.title = ""
maker.channel.updated = Time.now.to_s

maker.items.new_item do |item|
item.title = title
item.updated = date
item.link = "Some link"
end
end

# Add new item to existing Atom RSS feed
rss = RSS::Parser.parse(File.read(RSS_FILE), false)
rss.items.concat new.items
File.write(RSS_FILE, rss)

(My apologies for the bad code, this is my first attempt at working with RSS/Atom)

¹ https://heerdebeer.org/Software/markdown/paru/#writing-and-u...
Show HN: Doiowe 2.0 – Remind your friends to pay back in a polite way
Yea, modern JS... it's just a joke, no integers, still funny effects with []+[] and {}+{} and []+{} and {}+[]. Good luck with writing anything serious using such a crap.
> If people could be made more informed

I'd really really really like to see some AR glasses that would somehow visualize all sorts of invisible things: radio traffic (incl. special indication of weak encryption and non-encrypted communications), ultrasound and infrared tags, location of detectable microphones and cameras - all sorts of things like this, whatever can be detected.

Like, look at the smart TV and be aware that it sends out data (if you're on the same network and can observe the packet headers, maybe also somehow see some details where it talks to). Or see that this store front screams something on an inaudible frequency and worse - that your phone had just replied something as you walked by.

Which is probably not going to happen, not only because it's extremely complicated from the technical side, but because people would freak out over such tech even more than over Google Glass ;)
> due the age of the battery in the controller, it has the potential to overheat when left charging for extended periods of time

This is some argument on Sonos' part! The reason why the battery in the CR100 is "old" is because Sonos chose to build a device with a non-replaceable battery!!

If they're so concerned about safety why don't they offer to replace the batteries (for a reasonable fee)??
Both ESLint and TypeScript solve all that. In all honesty, if you're not using tools like that I'm not sure you're doing "modern JS development". It's like complaining that modern C++ is a mess while refusing to use references and RAII.
Try Clojurescript + Reagent. There's no reason to use JS if you have a choice.
I've been a professional Javascript dev for over 5 years and never once run into a bug due to any of these problems.

I agree that they are problems, but their impact on day to day use of the language is zero.

If you want examples of real problems that give good front end devs hell day in and day out, start looking at some of the libraries, tooling and abhorrent "best practices" that get thrown out and cargo culted to death by the community.

The language itself is the last problem with JS
Hmmm, yeah, it's tricky. And you're probably going to be right about the cars too.
That is about OpenJDK, the official Linux x64 binaries have it.

As mentioned on the talk, all the binary downloads with AOT support, have Graal.

When the commercial JDK moves into OpenJDK as planned, that will most certainly no longer be an issue.
Because they rely on a network of connected services to function and those services can’t be expected to maintain endpoints and compatibility with old, insecure, technology.
How to save exact NPM package versions
>> one-to-one and onto funktion
>
> I don't think that's the established terminology.

It is. Injective and surjective are more "international", but those English names are fine as well. What's missing is that the function sshould map a set onto itself.
Google GBoard
Many of you are using Google GBoard in your Android phone. Do you know about its amazing features?. If no, the vist this link
http://technicalbud.com/2017/04/google-gboard-tips-tricks/
The evidence for praise being better is completely separate from this whole argument and comes from different sources. The article is about refuting a very misleading interpretation of common experience.
Giving customers $100 of credit that can only be used to buy your products because you've disabled something they've bought that you don't sell any kind of meaningful replacement for anymore doesn't sound that generous. Especially since CR200s sell for closer to $150 on eBay, a figure that may well go up now that everyone with a CR100 needs to replace it, and there's no guarantee that won't be discontinued too.
Both ESLint and TypeScript solve all of that except the integer thing.

But I'd wager that the "no integers over 2^53" is seldomly a problem, and in most other languages there's a similar problem at 2^64. If you reasonably expect to get integers above 2^53, you probably want to think about how to deal with integers above 2^64 as well. So really it's the exact same thing except JavaScript's numbers are easier to complain about on the internet.
How to check if a table exists in a given schema (PgSQL)
Modern ECMAScript is still stupid, yes. Weak typing is 100% a bad idea, and no new language would take this approach. It has, however, obviously improved to the point where it's actually quite okay to use – a modern ES7 app exploiting features like class sugar, async/await, improved syntax etc. is perfectly serviceable, alongside a linter to prevent the stupid features from old versions biting you.

But a whole bunch of 'serious' applications have obviously been written using JS, and it's a totally stupid view to think otherwise. Frankly the people who are the most concerned with 'my language is better than yours' litigation are by far the least productive developers I've encountered.
I am not criticizing his giving. I doubt I would be that efficient with that much money. I generally disagree that charities should be tax deductible, his foundation is one of the reasons I am somewhat hesitant about the idea.

I am simply referring to it in terms of diminishing marginal utility. aka The first billion is vastly more useful than the second billion.
Sound can be used as part of a handshake process and then real communication done over the internet: https://en.wikipedia.org/wiki/Interactive_Connectivity_Estab...