skysight-inc/HackerNews huggingface dataset:
Nice job finding a good source of parts for this. I might as actually build something like this.

There are few things in the PCB design that I might want to change. The live and neutral are precariously close to each other near where live connects to transformer. Also the mounting screw is very close to mains voltage. Maybe I'm just paranoid about mains voltage, but I'd increase the clearances, considering that there is plenty of board space. While we are changing the board, I'd also bump the trace widths on the low-voltage side, although I don't believe that being really a problem now.

Then comes the parts I know less of. Would it make sense to add some filtering to clean the power? I'd imagine it works perfectly fine without, but maybe to improve audio/video quality? Also the fuse is on the "neutral" side, is that good? Although the plugs around here are unpolarized anyways, so the distinction can't be very significant.
Ask HN: AWS SAM vs. Serverless Framework?
I user terraform for deploying AWS resources. I have been wanting to migrate the serverless part of it to either SAM or Serverless.

Lately, AWS made big improvements on SAM. I would be great if someone can share their experience with these two tools listing out pros and cons.
CAN is as insecure as Ethernet as both are layer 2 protocols.

So its like the smart home.
Actually, all of these things have been discussed in very concrete terms ad infinitum, and not only does your precious brexit not address them, but it generally worsens them. You’re now going to say “I have yet to see a single argument...” and demand citations, to which you’ll then respond with breitbart links and comparisons between eu figures and Nazis. It has become a really boring pattern, and pardon me if I’m bored of trying to educate the wilfully uneducable.

Also, for the love of god, stop pretending that anything in that list matters to you other than immigration. You put it last to try to make it seem less prominent, yet it is the lynchpin of the leave movement and the driving factor behind a majority of leave voters.

Me, I’m leaving the country, as I’m sick of the xenophobia and uncertainty. Can’t run a business in this mess.
The VIC20/C64/128 PSUs have standard 5V DC AND also have 9V AC pins to power the SID chip (among others). Which means it's not that easy to just pick up a standard transformer and wire the right connector onto it.

A lot of the new Commodore and Amiga Hardware being developed these days is open source, which is 100% a great thing, enabling us to keep these classic machines running for many years yet.
What did they cross reference the IDs with for the Netflix data?
CNC Machined Parts – Metal and Steel CNC Parts
Then enable strict mode. What's the problem? My general rule is strict mode for new projects, but not for old ones that are being migrated. When they're fully migrated you can enable strict mode.
Could you explain in what sense?
The Scientific Reason Incompetent People Are Often So Confident
While I am highly skeptical of the Brexit I don't think any kind of collapse will happen.

"Our western societies are very efficient but also very fragile. If supermarkets can no longer fill up their shelves, people go hungry fast. If supermarkets can only fill 80% of shelves, people panic and start hoarding food. Those who are too late to the party go hungry. With enough people hungry for a few days, society collapses."

This is still true. I think most people have no idea how fragile our societies are. Still remember as a child in Germany how people made fun of old people hoarding food. Really uncool to hoard food. You know what is more uncool than hording food? Having nothing to eat. African countries or even countries like Ukraine may be much less fragile to disruptions of supply chains. But in industrialized countries, a few weeks of supply chain disruptions can lead to melt down of societies. The single households in cities likely have food for 2 or 3 days.
...That is more than I've read in the history books.

What you typed out here means nothing. It gives no clarity on where the border is between my freedom in my sphere of influence and your freedom in your sphere of influence. Saying "use freedom carefully" gets us nowhere unless we've already agreed to a set of principles such as "your freedom shouldn't restrict my freedom". And when that messy conversation has begun it leads on to "how can we make sure you adhere to that principle" and suddenly you've created a society and government.

"Moar freedom!" is a platitude. Unless freedom is limited (and we can argue all life long about what those limits should be) all you end up with is "might makes right". That's certainly not a society I want a part in
Members of the EEA have to accept EU legislation and make payments to the EU and the jurisdiction of the Court of Justice of the European Union. Not full emmbership fees. Also they're part of the decision process shaping EEA policies.

https://en.wikipedia.org/wiki/European_Economic_Area#Rights_...

Another option is EFTA and bilateral agreements like Switzerland. However, the May government decided not to pursue EFTA membership and Norway isn't that keen since thay're afraid it would impact future EFTA/EU negotiations and they could use some of their current rights.
> The authors hint in a footnote that at the heart of their computation is an asymptotically fast algorithm, allowing them to bring the running time of the computation down to nearly linear; but the actual description of the algorithm is kept a secret from the reader

How could something like that pass peer review? Their claim is effectively unable to be reproduced.
- The Odin Project's Ruby Path: https://www.theodinproject.com/courses/ruby-programming

- Jordan Hudgens' Comprehensive Ruby Programming: https://www.udemy.com/comprehensive-ruby-programming-tutoria...
The UK is the EU's second largest single export market for goods. Go figure.
You point out issues that are already solved. It's a people problem you have now :) no amount of configuration is going to fix that.

Also strict has been the default for quite a while!
Ah ok, the docs didn't make it 100% clear and I got tired messing with the toy app I was using with React Navigation.
You can't say that on HN.
Re @ascorbic, dude that works for me, but not for the vast majority of devs out there. strict should be default! I don't want to come to a team and start evangelising or fixing their fucking compiler errors which could take me ages.
You put out your opinion, another user puts out his opinion. If you think different opinions are harassment what are you doing on HN?
This is awesome! I'm Helena Ronis, co-founder and CEO of VoxSnap, the startup that did the audio & player embedded in the post. Feel free to share your feedback with us about the player or audio.
> I would guess that you’re much likelier to be a victim of theft at a hotel than at a residential [AirBnB] home

This seems like a made up guess, hotels have security and 24x7 surveillance and staffing. Further, at a hotel, there are folks you can turn to. AirBnB's service department is invisible. AirBnB's online complaint process feels more like a trial which places the burden of proof on the customer, rather than a hotel, whose employee's often go out of their way to make things right.

For example, if you're harmed at a decent hotel, the staff will call the cops on your behalf and do their own investigation. AirBnB will more likely require you to submit a completed police report to their online portal before they start to look into it.
I’ve migrated a pretty big codebase to TS, and then again to noImplictAny. One suggestion is to turn the flag on, migrate a few files, then turn it back off. When you’ve migrated a decent number of files, turn it on everywhere. For a really large codebase, you can do what companies like FB and Google do, and turn the flag on, then codemod every error to suppress it (either with @ts-ignore, or a type assertion). Note that you’ll have to follow a similar workflow for any language-level update- it’s not at all specific to TS.

Re: type guards, Daniel and everyone else in that thread gave a really reasonable response IMO. I think you might just be misunderstanding TS’s design goal of not affecting runtime behavior?
Resistance as a Service – Startups are challenging governments
I mentioned between png and jpg to restrict options.

In practice, I receive one of those from clients. Of course there are more options
The TypeScript team really made the right call by adding support for TypeScript syntax to Babel. Ever since that got merged, the floodgates have opened: more and more projects support TypeScript by default or practically only requiring you to flip a switch, making the cost of adopting it (if you don't need to spend time learning it as well) practically zero. No matter how small the project, if I start a new one today, it will be written in TypeScript.

Adoption is now at a point where it is exponential: more projects adopting TypeScript, resulting in more typings being available, resulting in more projects adopting TypeScript.

If there's one thing you can focus on to learn as a Javascript developer in the near future, I'm sure it is TypeScript.
Mongol Apologia – How Genghis Khan Made the Modern World
What would be the point of the vote if they didn't stick to the outcome?
Tooling is commodity now. If they don't make tools that run well on other platforms then other vendors step in to fill the demand, or they just wont have the demand in the first place and they lose mindshare anyway.

This is what happened with Java, Go and Javascript growing rapidly while .NET took a long time to get out of legacy/desktop phase, partly because the tooling was fantastic but isolated to their own Windows platform. They've learned their lesson and have realized there are better businesses by providing the compute and making it easy to use with free and plentiful tools.
Statistically they must be right - most of the statistical improvement by an ML system is provided by the first "large" "good" data set, after that gains are sure to be marginal. But, a lot of problems aren't really statistical in nature; they are scientific in that if you can discover a new, better, theory and use that then you can catch a few cases that you may often do the right thing on without knowing why, and sort those out. For example - you may be learning to diagnose a disease with one common driver, there may be a rare disease that responds to the same treatment but has a slightly different presentation, you often treat these patients because of false positives, but if you learn to properly classify them then you can almost always catch them; the statistical gain is negligible, the value is tangible.
Your issue is with the developers, not the language. Stop working with bad devs.

And honestly you should revise your own attitude as well, it's a poor worksman who blames his tools. What you keep complaining about in TS is the rigid backwards compatibility which, should it not be there, you'd probably be the first one to post angry comments about.

Your assertion that decent devs stay away from typescript is incorrect. If you think staying away from it makes you personally a decent dev, yikes.
I always found "Lisp in small pieces" extremely heavy to read. It's not the content per se but I find the writing style baroque to say the least . I attempted to read it twice and never went further than the 2nd chapter. Am I the only one?

Instead I found PAIP the best introduction to Lisp for somebody that has already (plenty of ) experience with other languages. The introduction to the language is concise and smooth. I liked much only the chapters on the language though. The chapters on AI are too much outdated for me to find them entertaining even if the Lisp code is pedagogical for sure.

I didn't like OnLisp at all: the book wastes too much words on saying how much Lisp is great and the best thing in the universe rather than going straight to the point. I don't like this kind of style at all.

I found Practical Common Lisp too slow for my taste and would reccomend it only to a beginner.

For me the quickest way to learn Lisp for an experienced sw engineer is to start with PAIP reading only the first 4 chapters about the language and then to jump straight to a good reference guide such as "Common Lisp the Language, 2nd Edition"

Also I suggest anybody that is interested in CL to have at least a look at Julia. Since the relese of Revise.jl the interactivity of the REPL is second only to Smalltalk and CL but multithreading support is consistent amongst all platforms and the library ecosystem is already interesting. The language has a lot of momentum, is rapidly evolving and the community is small but helpful.
All I can say... "Is Most Published Research Wrong?"
https://www.youtube.com/watch?v=42QuXLucH3Q

TL;DR: Likely yes. Spinning statistics is not that hard, even with the best of intentions.
I should say that above is an example, I am very cautious about using ML for medical diagnosis.
Why it is important to perform cross-device testing of your web application?
I like that better. That said, imagine the office:

— "It's PICNIC again, guys"

— groans all around
I wish the author had posted this after it was available on Steam. I’ve read his story and I’d like to support him but I can’t. By the time it’s possible to buy this game I would likely have forgotten about it.

Still, kudos to him for persevering and getting his project to completion.
> decent developers

Based on this and the rest of your koolaid-infused replies on this thread, it is apparent that you think of yourself as The Fucking Shit, don’t you?
I can remember my C64 being out of action for weeks at a time (months even?) due to the power supply failing and having to wait for - I don't know what; repairs? parts? It happened more than once. This was in New Zealand in the 80s. It was a much more isolated place than it is now (and it's still pretty isolated!) so very slow to get things like this sorted (and service culture then was very poor - only slightly better now). All dealt with as warranty issues if I remember correctly, but the time it took was agonising for a socially awkward 13-year-old!
> We can always end up with a tautology interpretation of premature optimization, in which case it cannot be bad, if it was bad, it wasn't premature!

The vast majority of "premature" optimisation happens before the code has been profiled to see which part is slow. In some cases, before the code has _ever been run_. i.e. it is speculative design.

In contrast, you're talking about a function using 30% of the CPU time in a profile, so that's clearly not you.

The longer and less common Knuth quote is below, and it's much more nuanced than the headline. Note that it specifically talks about code optimisation by identifying "critical code" with "measurement tools". That sounds like what you did. Does it not?

> "There is no doubt that the grail of efficiency leads to abuse. Programmers waste enormous amounts of time thinking about, or worrying about, the speed of noncritical parts of their programs, and these attempts at efficiency actually have a strong negative impact when debugging and maintenance are considered. We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil.

> Yet we should not pass up our opportunities in that critical 3%. A good programmer will not be lulled into complacency by such reasoning, he will be wise to look carefully at the critical code; but only after that code has been identified. It is often a mistake to make a priori judgements about what parts of a program are really critical, since the universal experience of programmers who have been using measurement tools has been that their intuitive guesses fail."

- Structured Programming with go to Statements, Donald Knuth, ACM Computing Surveys, Dec. 1974
Have you tried OpsGenie by chance? Their pricing looks attractive, but it is Atlassian (I cant get past how slow Jira is).
Hi Helana! Really beautiful player, the embedded player looks like it belongs on the page. As a founder, would love to hear your feedback on what you think of Sam Altman's Playbook!
You can build anything with the free community edition and they keep down-shifting previously enterprise features with every major version.
And if I recall correctly, you can't just repair them as all the parts are in a solid block of epoxy.
It's not interesting at all. It's the the mundane politics of everyday normal foreign relations as countries try to get a leg up and interfere in each other's processes. Maybe the only thing that's interesting is that for the first time, it's happening to the rich western former colonial powers. The chickens have finally come home to roost.
It's not going to blockade anything, it's just that throughout at Dover-Calais depends on not having any checks. Oh and cross recognition of driver and haulier licenses.
Their UI is also a mess. So they'll fit right in at Atlassian.
The Porsche Taycan and the future Audi e-tron GT can make use of 350 kW chargers to get to 80% charge in 15 minutes. 350 kW chargers are being deployed on the Ionity and Electrify charger networks now:

https://insideevs.com/ionity-debuts-350-kw-ultra-fast-chargi...

Volkswagen probably will be the biggest producer of battery electrics within 3 years. They own 12 car brands (including Porsche and Audi https://www.volkswagenag.com/en/brands-and-models.html). VW also has a stake in Ionity and they own Electrify America and Electrify Canada.

If this charging technique really does work then I imagine VW will license it.
Anything remotely pro-Brexit is right out
I didn't read much into that story but from what I recall, the company in question has no ships yet because it's new, but can quickly obtain them and is run by shipping industry veterans.

Regardless, I don't really know why, because the heads of all the major ports in both the UK and France have said they expect minimal or no disruption. But maybe part of why they're saying that, is the preparations being done.
It's a large codebase that already uses Flow types, which has almost identical syntax to TypeScript, and its users are almost all JS or TS developers.
Good optional types that is. Python, my love of the last 15 years, is finally adopting optional typing but it's an atrociously bad system compared to typescript, to the point that I am seriously wondering if the language will ever have a decent typing system.

Having to import basic types, use awkward syntax, etc... Blergh. I really hope we can be more pragmatic and learn from typescript.
While I like seeing the Dunning--Kruger effect pointed out here as much as the next man, I have to comment that the original study was not as simple as it is often described.

There's a great description on the [citation needed] blog: http://www.talyarkoni.org/blog/2010/07/07/what-the-dunning-k...

Here's the money quote in my opinion:

> So the bias is definitively not that incompetent people think they’re better than competent people. Rather, it’s that incompetent people think they’re much better than they actually are. But they typically still don’t think they’re quite as good as people who, you know, actually are good. (It’s important to note that Dunning and Kruger never claimed to show that the unskilled think they’re better than the skilled; that’s just the way the finding is often interpreted by others.)
ABCC Exchange Becomes the First Platform to List TRC10 Tokens
Russian Startup Wants to Put Ads in Low-Earth Orbit
But I love the low-key anxiety of making sure I never stop on something too long! /s Actually, is there some evil psychology they've applied to make you scroll through more content in hopes you keep finding things to watch and pay for? "This doesn't sound perfect, but at least if I choose it I'll stop getting harrassed by the menu."
People were promised a pogrom against immigrants and Muslims, and are getting antsy that they haven’t been allowed to start deporting and disappearing people yet. That’s what they want to get on with - it seems to be the sole unifying factor between pro-brexit factions.
Opinion: Toxic Positivity
As an uninformed typescript dev, can you explain to me how TS Babel support changed things? I understand its mechanical implications, but I don't see why it would matter for adoption.
Oh hey! It's you again! (not the original guy I had in mind though, and it isn't just on HN)
That's an interesting description. Last year UK growth beat Germany, France and Italy in Q3 (don't know q4 figures yet I believe). It looks like the eurozone may be heading for recession given falling industrial output in Germany.

It bothers me immensely how quickly the truth gets discarded the moment it conflicts with EU ideology. The UK has shown excellent economics relative to the rest of Europe since the vote despite its people being told "uncertainty" would trigger a massive recession and employment bloodbath. Yet here you are, saying it's turning into the sick man of Europe!
Ive started working on a themes site for static site generators and it's already done a few sales. I'm hoping it will be generating more revenue by the end of 2019!
I bought one of the bare bones power supplies from here: http://personalpages.tds.net/~rcarlsen/custom%20ps.html it is indeed bare bones and two wall warts, but it is very nice. His site contains all relevant technical info and then some.
Monitor your WooCommerce stores automatically
> Python ... I am seriously wondering if the language will ever have a decent typing system.

Considering that everyone seems to use six to target both Python 2 and 3, I am seriously wondering if the language will ever advance at all.
Ninth Circuit Appeals court rules ADA applies to websites
How to Build Your Own Real-Time Chat App
Sorry for the offtopic, but Im interested in natural Language constructs like this way of using Hmmm. after a sentence. First I thought it was something from the Portuguese speakers, after more thinking I see maybe it is common of French speakers. Or maybe is common in the U.S. too, I have been there only few times. I found it very funny, and somewhat familiar. :ps: The wonders of having a search engine at anyone's hand.
It is absolutely a guess. I can’t find any statistics. Hotels feel less safe to me because by definition there are many parties who have access to your room.
Farage isn't an MP and parliament is dominated by remainers loyal to Labour or the Tories. You make my point for me.
What makes you think that? By definition, there are several parties who have access to the rooms in a hotel.
The notion that any of those platforms is democratic is laughable. They are heavily censored for starters, among other things because they were cesspools of manipulation (hello election manipulation scandal!) and bullying/violence (hello Myanmar genocide!).

They're also intentionally filtered at the behest of the owners themselves and tuned to elicit user dependence on the platform.

Their cost is just hidden, they're not free.

So this possibility is permitted for about 5s, the time required to think about it a bit and then reject it as totally unrealistic.
Chinese schools scanning children's brains to see if they are concentrating
If its just a business/brochure site or even a "marketing" site for a startup/product with a login button that goes to the app. Then I would recommend trying out a static site generator like Hugo.

You can achieve really great designs, free of the constraints of LAMP CMS templating systems.

While you probably need to know git, if you do, I would say it's much easier to deploy and maintain the hosting than a wordpress site.

If you have no dev skills, not even a bit of HTML/CSS then yeah you should probably go with Squarespace.
Also, "The Joy of Clojure" is a great one!
Thanks for sharing, this is a good example where the first 2 hits on Algolia have a "better" textual relevancy (proximity between words is better, because of the "-based" word in the middle) but where the 3rd hit is most probably the one we want to see first because it has more than 100 points while the 2 others have 3.

Let me share that to the team and see whether we can try something.