skysight-inc/HackerNews huggingface dataset:
Yes, it's such a great language that `{} + []` is a valid program.
> The translation is pretty direct, so the data structures are more idiomatic to Scheme than they are to JavaScript. I think that's OK.

I do wonder if it wouldn't be simpler to write a Scheme interpreter in JS (or take one of the undoubtedly existing ones) and make the book interactive with that.

This version feels more like something that has added value if you already know JS, not so much when you're learning JS
> I don't see why I should need an internet connection to turn on a light!

I hope manufacturers see it the same way.

I don't mind devices having to be certified, I mostly want to buy hardware of the shelve anyways for safety and convenience reasons and build the controlling/automation part myself. So my biggest worries are not having a local API, data exposure and having to invest in a ecosystem and having the manufacturer brick it remotely, wasting my money.
Which certainly sounds like a terrible idea, and there's no actual evidence presented of performance gains or benefits.
Maybe tax the crap out of newly mined/imported coltan and institute a robust elecronics recycling program.
the weak points (like the haringvlietdam and maeslantkering) can't (easily) be raised. and yes, the rivers will be a problem when we need to close the maeslantkering for extended periods of time when the sea level rises. it doesn't matter where the water comes from : the sea or the rivers, it will cause severe floods at some point.

I guess we differ on the 'economically viable' part. but in the really long run (say greenland being free of ice) my guess is no amount of money is going to save the netherlands.
No, that's nonsense. Just because Germany does it doesn't mean the parent commenter's experience in other EU countries is invalid.
Places where rule of the land (or lack thereof) already lets this happen is unlikely to change simply from increased margins. Most likely they’ll just pocket the increased profit with no improvement in conditions.
> The worst thing that happened to the OP is that he pissed off some lawyers, and got into an argument with a guy

The worst thing that happened to OP was that he lost control of his project.

> I ended up having to hand over maintainership of usbmuxd.

----

> You can just always ignore what lawyers say, and just work on open source projects under a pseudonym while you're employed there

I am not a lawyer, but this seems like very bad advice. Even ignoring the potential legal risks, many Open Source maintainers like to be able to talk openly about their projects using their real names, especially at conferences, to friends, and to future potential employers.

Even ignoring that, some side projects aren't Open Source. I'm working on commercial, proprietary software outside of work. My company knows it. Even if I wanted to keep it a secret from them, there's no real good way I could do so -- at a certain point, most commercial software gets linked to real people. You're taking on a lot of extra risk that could potentially turn into a nightmare during a discovery process later.
If they actually pull it off, it'd be huge. The single greatest thing holding back home automation is a lack of compatible standards (coupled with the fact that when an automation company dies, its proprietary standards die with it).

I used Z-wave for my home, but I'm not doing it "on the up and up;" my hub is homebrewed and using an unlicensed radio. It's a pain in the ass to maintain, but since I can't trust any hub company to survive past five years, it seemed the right call.
I've had an Estonian e-Residency card. I had to pick it up at an Estonian police station and show my official government ID.

I don't see why a German university demanding the same for a comparable cryptographic certificate is bad.
> The San Francisco location, numerous members tell The Post, “is really bad — like, filled with tech bros.”

Hilarious!
It's useful and practical and has a lot of work put into it so it can't really be called bad, but it doesn't really stack up to what native languages can provide at the high end, and never will (even if it can get pretty darn close).

Though I acknowledge its immense utility, I feel like JS always tends to go for "good enough" solutions rather than "best in class" solutions. That is its own kind of quality, but there's good reason to dislike JS for people who focus on those particular qualities in a language.
I actually didn't piss off the lawyers; the lawyer working under cdibona was a nice guy, and his contributions to the email thread reasonable. cdibona alone flamed me, and then personally banned me from the process.

I hear he's not in charge of that department any more. Maybe that's why the policy is less onerous now.
WebSockets for Fun and Profit
> Solar panels ... need to be changed each 20-30 years

How does this maintenance cost compare to the operating cost of a coal plant where coal has to be delivered non-stop?
Thanks, it looks really interesting and seems to do what I just described. The thing it lacks though is - in my opinion - RPC-style messages. For example an alarm controller could subscribe to motion events, but when such an event occur it should be able to turn on sound-device immediately or shut some locks. The one-to-one communication as described here:
https://github.com/mqtt/mqtt.github.io/wiki/one_to_one
seems more like a hack than a proper solution.
Don't worry, they already are. For some reason a little puke was claiming I was responsible for a policy that was created by a president when I was 5 years old. I think he was just looking for an excuse to say OK boomer and didn't care I was born in the mid 80s.
Coincidence sure seems like the simplest explanation. I'm sure the donor liked a great many things other than KFC, and I'm sure enjoyment of KFC is pretty common in the general population, who make up donors. Now if it was something extremely specific or rare, I'd pay a little more attention to it.
The meaning of the second paragraph was ambiguous. Aside from Javascript dislike, which I don't pretend to deny, I believe learning new things is mind-expanding.

When an intriguing movie - or book - comes out, it's often intriguing because it's quite different. When you convert it to a common language - or Hollywood - it becomes less different. Reading "Working With Legacy Code" forced me to absorb some C#, but it also allowed me an opportunity to compare it with Java, which I learned at university.

What I understand from this is that people didn't really value Python as a pseudocode language. It was just fashionable at the time. Now it's Javascript's time. I wonder what's going to be next? Golang has a chance.
> It's all bout money encapsulated by "security" marketing buzzword. Yes, DoH is an improvement over old plaintext UDP DNS. But why should I used a nobody service over Cloudflare or Google that update their databases within seconds all over the world and rarely if ever faced a downtime?

It is not so straightforward as always being an improvement. For example, a user can be uniquely identified through session resumption session ID whereas with plaintext UDP behind a firewall with many others doing lookups unique identification of a user can be close to impossible.
> “We’ve informed our business partners that we will not be able to work with them on new Android phones to be released for the Turkish market,” the Google statement said.

The article also says that Google won't be working with their business partners on new phones. The article spins this as demanding to "work with" Turkey, which strikes me as an overstatement in service of the argument that Google is discriminating against smaller countries.

The author does seem to believe that Google should be compelled to do a maximum amount of business in every possible market until the State Department steps in. It's the authors contention that doing less than this is a Dangerous Foreign Policy Act.
I use Freelists for a tiny mailing list I run and I cannot recommend it highly enough. Setup is a little strange, and some of the admin settings aren't entirely intuitive, but when it's up and running it's excellent.
StackOverflow is fine when learning a new language. But indeed, hardly seems to help in real-world problems.
Why Financial sector is nothing without Cloud Computing
Wow, I'd heard of Mux before but never looked at it. The service looks impressive, and the pricing page is one of the clearest technically and financially that I've ever seen. It makes me want to include video in my projects!
One can get a 6502 to do NEXT in a single instruction and have an IP register in hardware ... if one sticks a coprocessor onto it. Witness the KimKlone.

* http://laughtonelectronics.com/Arcana/KimKlone/Kimklone_shor... (https://news.ycombinator.com/item?id=16564257)
> was allowed to Google whatever but 50 minutes is still a crazy time crunch to figure out a lot of the stuff that needed to be figured out.
The point of such interviews is to see how you handle a situation with limited time and - like in this example - mostly new tech and paradigms to you. Usually you are not expected to output anything.
Nobody should be buying diamonds at this day in age...
IoT Development: Going from Prototyping to Production with Embedded Linux
NYT is one on the short list I don’t mind paying for.
Universal Basic Income: An Idea Whose Time Has Come
Thanks for the confidence, but the fact that we've been dealing with floods does not mean we will be able to deal with excessive sea level rise. We can probably deal with 1-2 meters of sea level rise, but this article talks about 5+ m in 2300, which means adding another 5 meters to some already very high dikes. And the weight of a dike goes up by the square of its height. Many coastal defenses will have to be completely redesigned.

And if we really can't stop global warming, at some point eastern Antarctica is going to start melting (it fortunately isn't yet), and that's going to add another 30 meters to the sea level. I believe if all the glaciers melt, we'll be at about 60 meters.

At some point we're going to have to put up a dome and call ourselves Atlantis.
The government created these entities by giving the insurance companies a priveliged position in their regulatory structure starting in WW2, and increasing this with every promised legislative "fix" including the creation of the HMO in the 70's with the HMO Act of 1973, all the way through Obamacare, which was considered to be the best thing since Sliced Bread, right up until "We can't handle any of this Capitalism shit, we need Single Payer!"
Does Google still provide a "significantly worse" experience if the user agent is Firefox? I recall that was true on Gmail and Youtube for a while.
It's required actually.
Do you have the text of where he says this? It sounds like it's just the work that you do while you're employed there. Even then, it seems like it's just a formality that they don't really bother enforcing.
A brief look around their website will reveal a wealth of high quality educational resources.
No normal user of the system is mandated to use any particular lab provider -- a doctor gives you a requisition form and you bring it wherever you want. There aren't that many options, generally, but there are as many as the market will bear (and as new upstarts grow they get swallowed up by the incumbents). This particular person's issue has to do with immigration.

Do you really think a walk-in doctor "could care less"? What a ridiculous statement. They're just as professionally governed and concerned as any doctor.

"Did you know I'm not allowed to go get my blood tested privately"

There are private blood testing services in Canada, though it's a small market given that the workflow of labs is overwhelmingly geared towards the public market. Most labs will happily provide you your own blood test results (a cursory search of both LifeLabs and Dynacare, two of the most common, show their patient portals).

"I often see Americans pointing to Canada's system as a shining example"

Canada is almost always the punching bag for the US -- usually based upon lies or the singular complainer, for instance I and my family have had a family doctor everywhere we've lived, have always had a great experience, etc -- and of course -- like every complex system in the world -- it has flaws. But it isn't as good as France's system, or a couple of others.
You're correct. It's mandatory to have a personal account to access a business account.
if the requirements say 7 meters (the sea level rise if greenland is ice free) building higher dikes will not work. and although that is a long-term scenario, it is not unlikely. hence the 'not if, but when' in the article.
Perhaps. I do feel like I am the only sane person I know. I am watching an episode of twilight zone unfold around me.
The mining company will only respond to supply and demand.
About the Afsluitdijk. It's not really in the North Sea, it's separating the Wadden Sea from the former Zuiderzee, now the IJsselmeer.
I have worked with them too.
As someone who has spent too much time on music theory and not nearly enough time on learning to play songs, I'd congratulate you for doing this in the right order.

I've mostly learned music theory by a haphazard procedure of following my interests, which I would not recommend. :p

But one concept that really opened my eyes when I was learning music theory (from the perspective of a not-so-good guitar player) was how "everything" can be built from a scale, or more precisely -- a pattern for spacing a set of notes.

So, C major scale:

C D E F G A B C

half tones between 3rd/4th notes and 7th/8th notes. whole tones everywhere else. Begin with any other note, and follow that pattern, and you have the major scale for that root note:

D E F# G A B C# D

G A B C D E F# G

F G A Bb C D E F

Write any major scale vertically, then next to it rewrite it beginning with the 3rd note then again with the 5th note. Read it horizontally and you have the primary chords in the key for that scale

CEG c major

DFA d minor

EGB e minor

FAC f major

GBD g major

ACE a minor

BDF b minor flat 5 (i think... was always fuzzy on this one)

Of those chords, the famous "3 chords" for a folk/blues/rock song will be the 1st, 4th, and 5th (the 3 majors) with the 6th (relative minor) or sometimes the 2nd or 3rd thrown in fairly often as an extra or replacement.

Write another vertical column there starting on the 7th note and you will get the notes in the 7th chords for the key (although rock/blues traditionally will use some variations on those).

"Rotate" that list to begin with a note other than C and you are defining a new mode (and there is one for each possible starting note). Begin with A and you have the Aelion mode (aka A Minor).

The pentatonic scales are just subsets of this scale (e.g., minor pentatonic is the minor scale without the 2nd and 6th notes, so ABCDEFGA becomes ACDEGA)
Not sure what you mean, and I might have explained their setup wrongly, I'm no expert in this.

I ask for an access token from auth server, I pass access token to API server, API server optionally checks with auth server if token is ok, or if token is self-contained, verifies signature, checks expiration time etc.

Obviously self-contained tokens cannot be revoked, they can only expire.

For this service, JWT is used when requesting an access token, and as an access token for self-contained tokens.
Sorry to hear about your experience. I'm at twilio and we recently started a hiring guild to tackle this exact problem. Most of the members of the guild on the technical side are there specifically to address bad interview experiences like yours. We are focusing on improving process, questions, and candidate experience. We are moving the technical portion towards work sample like questions and ensuring the interview focuses on what you bring to the board as opposed to someone's pet question in their favorite stack.
Yes, it’s a PoC. They want a UI for the calculations they wrote in Python. Eventually the devs will take over. But the fact they’re even using React and NodeJS now is something to think about. But also it’s more of the technically minded business people who will have the initiative to do this.
Self-Driving Mercedes Will Be Programmed to Sacrifice Peds to Save the Driver
After a couple of years working as a web developer, I decided to go to College. I took a "Web Development" class. I failed the final. The assignment was to code a website by hand. I used BBEdit to pretty print my hand coded HTML and it inserted a <meta name="editor"> tag that I didn't catch. I dropped out and went back to getting paid. Been doing it for 20 years now, though I use Prettier to do my formatting these days.
You are falling victim to the everything has already been invented line of thinking. There are plenty of things still needed for agriculture. Some of them just require thinking about turning the industry on it's head.

For example no one likes Round-Up, people are not big fans of GM crops, one of the reasons we GM crops is the make them Round-Up resistant. The big player in the space has no incentive to change due to the fact that they own the IP to round-up and they own the IP to the GM crops that can resist it.

But what we are really talking about is getting rid of weeds. They way it is done now leaves a lot to be desired. A way to fix it is automated machines with object detection that eradicate weeds. Primary problem solved, weeds are gone, secondary problem solved Round-up is not needed and as a bonus not buying GM seeds.

The problem is no one is looking at it from that equation because either they have a vested interest in the current order of things or they do not have the technical chops.

That is just of the top of my head there are thousands of problems to address in the agricultural space.

I mean there are pest problems.
There are water management problems.
There are pollution problems.
There are yield to market problems.

Anything that has a workflow has potential improvements.
Its not like they've been doing this since the 1600s or anything.

1953 (and to a lesser extent the floods of the 20s) were a massive wake up call. It isn't just one massive wall that protects the netherlands, its a multitude.
Only China knows how many people are in prison/education.

Same as business revenue, which is mostly fake for the outside world.
> It's not so easy to find the nice Dutch produce (the Germans are enjoying it!)

Wait, is Dutch produce supposed to be nice? I know that in Germany, Dutch tomatoes are disparaged as "Wasserbomben", and in Romania the Dutch vegetables are the cheap supermarket stuff that you buy if you don’t a chance to pass by the marketplace and buy something locally grown.
I was always a bit hazy on what these terms actually meant, and what we lost. It does seem like there was a brief golden age of easy "rapid application development" tools like FoxPro where you could wire some UI fields to a database without too much trouble. Now we have people trying to do the same in the web, badly.
There's some open source projects Google won't let me contribute to because they don't like the project's CLA.
> In reality I was given only a single coding interview my whole onsite, and it was to build a JavaScript SPA, including routing/linking, without the use of any framework, just vanilla JS.

> I was allowed to Google whatever but 50 minutes is still a crazy time crunch to figure out a lot of the stuff that needed to be figured out.

This actually might not be so nuts if it were clearly a way to evaluate how you handle unfamiliar problems and they made it clear they didn't really expect you to finish the whole thing in 50 minutes, I guess.

Part of the problem is that most companies seem to be complete dogshit at communicating:

1) what they're going to quiz you over—they seem to think it must be a pop-quiz with absolutely no way for you to know what might be on it or specifically prepare for it, sourced from literally all of your past experience, all of CS, all of software engineering practices, and maybe even stuff you never claimed to know, which is plainly, to be blunt, fucking bullshit and goddamn insulting, and that's not even getting into how many of these questions/challenges rely on recalling (rarely on formulating or discovering, that's just impractical and unlikely) some very specific "ah-ha" insight to not look like a complete dumbass while trying to solve them—and,

2) why they're giving you certain challenges or asking certain lines of questions, what they're trying to evaluate, or how you'll be judged, leading to stressful, pointless guessing games like "should I risk not completing this challenge to write very complete tests, because they'd rather see good tests than a working solution, or am I just completely fucked and a getting a definite 'no' if I don't have a working solution anyway, so I should not write any tests that don't increase the likelihood of my finishing in the time allotted?"

[EDIT] "why don't you just ask questions to resolve point #2?" Yes that can work, but a lot of this is so damn vague that then you've got the meta-guessing-game where there's a real chance you'll "lose some points" if you ask valid-in-context but "wrong" questions, because any "real" developer should know the answer ("of course you must write extremely complete tests for all code ever! Ugh, this guy must suck.")
It's absurd to compare loss-making consumer products with a business that's the only shot for Google diversifying beyond ads and that has companies paying hundreds of millions of dollars over decade+ contracts. Urs says enterprises don't care about this aspect of the Google brand. What they do care about is Google's reputation for technical excellence and security.
I hope you're right, I expect the world to be in a very different place in a few decades and not for the better. I'm still under 40 so I'm keeping my options open; even though the chances are probably very low, the effect is also pretty extreme making the risk (probability * effect) approximately 0 * inf. I estimate the probability to be somewhat higher than 0, so therefore I believe the risk is significant.
Italian immigrant here: let me tell you something. NL may cultivate and export the most mass of agricultural products, but there’s nothing the lit greenhouses you see taking off from Schiphol can do to best the sun scorching the skin of a tomato growing in Puglia. The metabolism it has to crank up 200% to defend against such constant environmental aggression is something irrepetable you can smell and taste.
Google cannot be broken up. It needs to be torn down on short (~14 days) notice.
You can call it industry standard but it is blatant exploitation of workers and their rights. It is also breaking one of basic human rights, right to work, putting them into situation where they are slaves to the company.

Someone in EU should bring this to the EU court for human rights, I am sure they would win the case and stop this practice, at least for EU.

For my country this is completely unenforcable and every judge would just drop the case.

IT workers should form union. Seriously. We have huge power, a week of strike can bring a company down, or even internet. And based on such contracts, I wouldnt be surprised if joining union is also forbiden in states (can someone at google please check his contract?)
A static website “generator” that lets you use servers and frameworks you
Quite possibly. But still, I don't think "not as bad as China" is a sufficiently high bar for what was once supposed to be the greatest democracy in the world and a champion for freedom.
I think it depends on how tech-focused your company is. Things like Google, Amazon and Bell Labs, sure, things like J.B Hunt and JG Wentworth (It's my patent and I want it NOW!) not so much.
Facebook accesses your location even when you’ve opted out, confirms company