skysight-inc/HackerNews huggingface dataset:
Cool project. I built a couple myself (albeit not with a Pi, but with some Wemos D1) and can share a few lessons learned.

First of all, safeties. I was lucky to add my work to existing motorized garage doors - which already came with enough sensors, but since you are providing everything including the motor, these should be in from the very start, or in any accident you'd be held liable. Actually you may even be held liable if someone implements it from your github repo and then has an accident. I know you have a disclaimer, but I wouldn't rule out being sued.

You want a sensor which detects any anomalous power draw in the motor and immediately cuts off power. Something as simple as an ACS712 (follow guides for reading an inductive load though!) which is a couple bucks (or less if you buy a bucket from China). The motor may come with built in safeties if it's meant for a garage, but this is something I'd still consider.

You will want not only a sensor but also a couple emergency buttons on both sides of the door which instantly stop all movement.
While you're there, activating a couple very visible flashing LEDs for a few seconds before you start any movement is also a good safety precaution.
You have 2 relays which could due to a bug or other unexpected circumstance be energized at the same time - Depending on the motor this could cause a fire, or fry your relay board/Pi. I would use one relay with its NO contact going to the DOWN motor pin, and the NC going to the UP motor pin, and connect it in series with the other relay which cuts all power. This way it's not possible to energize both in any case (beware: even abruptly switching directions may ruin a motor - always cut power first, THEN toggle direction, THEN provide power again)

Happy to discuss a few more points if you feel like.
Personally I'm not so sure if movie theaters are nonviable. Nerdy stuffs are generally safer.
Ask HN: Any ideas for children education at home?
I will give some context: I'm the father of two 6 and 9 children in Madrid, Spain. The recent school lockdown, since March and until September, has made me notice even more that children education could be vastly improved, at least in the fields I know about: math and science. I'm talking about quality more than quantity, I want to show the beauty of it and motivate them to learn more. For example, we have been doing experiments with electromagnetism lately and they love them. I don't want to just concentrate on science though so ideas for history, social sciences, etc... are welcome. If you have experience about long term plans for children education that would be great also.
A startup I work for spends a lot of $ a month bidding on a common typo which is also the name of a different and unrelated product. We are bidding against their branded ad.

It doesn’t convert.
You have to learn kanji the same way you have to learn the alphabet. If you don't knoe the symbol you're going to have an extrenely hard time when you are learning writte. Word because suddenly you need to learn 3 kanji at once to understand a single word. Learning kanji and vocabulary at the same time isn't a big deal. At roughly 15 Kanji per day you can finish the first 2000 in 5 months but your vocabulary deck meanwhile is far away from being finished. I don't know why you are saying "move on" because as I said, it is one more thing you have in your toolbox. Your toolbox should consist of multiple anki decks(one of which could be a hiragana, katakana and a kanji deck, a listen only vocab deck, a reading only vocab deck for example), listening exercises, speaking exercises, grammar exercises and so on.
Why wouldn't someone be okay with this? If he's committed the crime you want the evidence...
Does back end need QA Engineer?
So we will refuse to allow symbols in identifiers after all?
I had this too for my extension - as mentioned there’s a security explanation tab now on the developer dashboard. I also removed any http requirements and made then https and stopped using external scripts/css hopefully enough - annoying their messaging is so vague and menacing.
What's the difference between Low-code and traditional software development?
Although what you say is technically true, intel’s 10nm is more advanced than TSMCs 7nm — they aren’t using a shared scale. The biggest mistake intel made was probably being too ambitious.
Georgia reopened 14 days ago. The incubation is 14 days.

If their numbers stay low in the next few days then great!

But if they start going up, they will have sacrificed the lives of Georgians to prove that it’s not safe to reopen.

I hope the cases stay low.
Why Fullstaq Ruby?
What Your Digital Payment Strategy Is Recklessly Missing
The question is, who would that harm more? March 2020 has shown us that disrupting sea routes between two continents hurts everyone.
Get out and sunbath, enough about supplements:)
Yeah, something like a sandbox!
Avukat Rehber
Ask HN: Was it a mistake for C++ to go the ISO route?
Sometime back I watched a presentation by Dr. Bjarne Stroustrup in one of the colleges in Cambridge, UK. In that presentation he lamented that modules did not make it into the C++ standard. That got me thinking, if it was not for the way the international standardisation works, C++ evolution would have been similar to how other well known languages have evolved and could have been a very different language.
The world’s food system has so far weathered the challenge of Covid-19
It can also signal a lack of process and uncertainty about required features. A team that deploys a ton due to mistakes and unused features might end up less effective than a team that deploys more commonly used features with a more effective testing and verification harness.

This is why it’s hard to boil it down to a few simple metrics.
Most languages bring their own ecosystem and associated phosphophy of how you'll use it.

The Ruby phosphophy seems to be lots of magic (in a good way) and in exchange you accept that details get lost behind the scenes and that it's only fast enough, but not truly fast.

Switching to a language that values speed with tools that have a different phosphophy can then make such a bug much more visible, due to the lack of behind the scenes magic.
FooBar is still being considered. I solved some problems few months ago and was contacted by their recruiter one month after that, they did mention FooBar as the main signal.
For drones the power consumption isn't the issue, but heat dissipation when landed or hovering often is. Industrial solutions prefer not to have active cooling due to reliability.
Australian man lodges $350k defamation claim over Slack group chat comments
I’m not quite sure what you mean, can you clarify?

Take Conway’s game of Life as a cut-down example. It might not be obvious right at the start that many (most?) initial setups will produce gliders. But gliders aren’t a lucky accident, they’re fundamental. Anyone who applies the same rules will quickly discover gliders.

Are you thinking that there could be initial conditions that don’t produce gliders/molecules? Or that the underlying rules/laws might have been different, and not conducive to gliders/molecules? Both of those seem extremely speculative to me. The rules are as they are, and gliders and molecules are inevitable.
oof, thank you for your effort to find the actual link
What kinds of things do you plan to do with it?
I'm native English and my brain is still struggling to parse this headline.
Image based upgrades: Upgrading software and OS of 80k servers every two weeks
Valerian had so much potential, and its intro sequence is one of the best I've ever seen.
I think this really depends on what you want out of life. For some people, it's a simple life, and if that's truly what they want, then I don't see anything wrong with that. For the go-getters, then Jobs' quote will probably resonate deeply with you. Think of it this way: if today was your last day to live, and as you lay there dying, would you have any regrets?
What kind of “agile”? Officially I’ve only ever worked at agile shops, but the process has been radically different from company to company.
Neat! The actual COBOL is pretty minimal, just tracking where the balls and paddles are and then calling out to update the DOM. It doesn't look anywhere near as horrific as I would have expected :)

https://github.com/moxon6/cobol-js-emscripten/blob/master/co...
Covid-19 and IT Jobs in Japan
ZTE K92 Primetime Unlocked GSM 10“ Android Tablet
The public clouds are ridiculously more expensive than on-prem; especially for egress. That’s an open secret; people choose clouds for the convenience.
Who is referring to getting kicked off HN? I believe the post you're responding to, which said "If you're going to run a platform like this and capriciously threaten to kick people off of it," -- the "it" referred to Google.
Can you talk about SSR here just a little to give us an idea of how recoil makes it easy?
Ok, but there's no "sharp increase" in 2020 specifically. At least so far.
https://en.wikipedia.org/wiki/Quis_custodiet_ipsos_custodes%...

I completely agree, I think the next step will be to open up user accounts (but keeping them optional), so that I can get a track record for registered users and invite the most active/correct ones to start moderating. At the moment I can go through the submissions myself and it doesn't (yet) take up that much time.

I find the other part (automating validation) fascinating intellectually, but I'm currently focusing 100% on implementing the functionality of the site itself (Reddit integration is at the top of the list), so this will have to wait. If you're interested in discussing this further at any time, you're more than welcome to also reach out (my e-mail is in my profile).
Have been busy building a basic working prototype for http://boxi.chat : a live shared whiteboard + chat, with markdown and latex support.

some examples : http://blog.boxi.chat

Also.. doing some paintings of internet people : http://art.tiyuti.com
I have this board with 7742s. I like it generally, though most of my affection is due to the CPUs. I wish it had PCI-E 4.

I've found it to be unreliable with memory running faster than 2933MHz but that might be the memory I was using. When I did have memory corruption problems running at higher memory speeds I didn't get a single ECC error, which I found surprising and concerning.

I also had issues with Kernel 5.4 not booting at all ( https://bugzilla.redhat.com/show_bug.cgi?id=1783733 ) which I worked around by adding edac_report=off (I'm not sure if later kernels don't have this issue, because I've left the setting in, since taking it down and rebooting to test it is a bit of a pain-- as is typical with server boards with lots of cores and ram it takes many minutes to post)
The whole point of US Taiwan policy and the wording of US-Taiwan Relations Act is to make it sure that the US can refuse to war against China if it attacks Taiwan.

US has treaties with South Korea and Japan that make it it clear that the US will defend them if they are under attack. The Taiwan treaty is worded in a way that US may provide assistance or limited support in a war.
FB is the only social media in town in most of Africa's countries.
Former Apple Engineer: Here’s Why I Trust Apple’s Covid-19 Notification Proposal
This seems like a bad idea. Any kind of monetary reward for using a community site shifts the incentives of the people that post there, and encourages low quality posts on the off chance they'll get rich from them.

Is it as bad as it could be? Depending on how it's implemented no; a system that just rewards points like this automatically is far worse than one that can be used to tip people for good work.

But the incentive shifts it brings are similar, and can be very, very bad for the future of a community or social network.

Just ask DigitalPoint. Ages ago they used to allow people to earn money from the ads displayed in topics they'd posted in via an adsense revenue sharing scheme.

The end result? The site's post quality took a serious nosedive, as people from low income countries signed up en masse to try and earn what they saw as 'easy' money. People used meaningless one liners in every topic on the off chance they'd get ad revenue there, or posted new topics with thin content for the same reason.

The site's reputation pretty much collapsed due to this, and even now it's not exactly seen as a place where meaningful discussions take place.

Same sort of goes for Quora too. We all know they pay people for posting questions, so now we get a ton of pointless questions that no one actually cares about because there's money involved.

So I'm not exactly thrilled by this announcement, nor about the effects it could have on Reddit as a whole if implemented site wide.
Thanks for the links!

Interestingly, these papers together are much stronger evidence than either apart. This is because they use different methods. The OP is a population level study, while the second link you shared is a retrospective individual level study.

While I have some concerns with the stats in both papers (I'm always suspicious of p-values close to the magic number of 0.05), this does seem like interesting research, and potentially very helpful to dealing with Covid-19.

The irony of course, is that I suspect many of the Northern latitude people with high levels of Vit-D may be getting it through tourism to Southern Europe, which is very unlikely to happen this year.
> 4K display

That’s your answer. Apple being Apple either have no lower-res screens to test on, or once again have decided to force the industry forward.
Instagram to Let Users Pin Comments to the Top of Posts
No, there is no "sharp increase". These things take decades.

But sharp increase is not needed. Think of it like a marriage between countries that is slowly starting to erode. It might seem ok for a long time, from the sidelines, when you squint your eyes. But then a crisis happens that tests it and everything falls apart.
Or, for that matter, if an entire stack of methods needs modifying to accept some new data type. All you have to do is modify one of them and the compiler won't let you run until you've done the rest.

Or modify the type definition and everything using it has to change. If you want to force check every usage, rename the type.

Not that I have anything against tests either, these are all just strategies for keeping a record of context.
Local caches and local node caches are both very useful. (That's why Redis 6 introduces this https://redis.io/topics/client-side-caching), but anyway from what I saw in the past, the major speedup of using Redis in such a context is that you want to use a shared very fast view that is global in nature. A simple to understand, but good example, is the leaderboard problem in multiplayer games that have million of users (Facebook games and such). Even if you have a local cache, and even if you have an additional store where you record the high score of each user, you need a global and very fast to update view of all the sorted scores, to tell the user its rank, users nearby, the rank of their friends. There are a number of problems like that that require to use different data structures and a global view. The problem is that using Redis with the Memcached mindset, will always severely limit the potential benefits.
Everyone is talking about Adobe but that's not the right question to me.
- Why the PDF reader has root rights ? Apple should never have allowed this.
- How a programming error in a third party software can cause this ? Seems like a bug in macOS

If you can answer positively to the first question, burn your computer now.
That is a very dangerous activity.

You freely admit that there's a fair amount of crazy. The signal/noise ratio is absurdly bad, even if we assume there's some kind of signal at all. The (usually banal, obvious) nuggets of truth are often intentionally thrown in as a way to make you let your guard down. If you are not 100% flawless at separating the nugget of truth from the shit, then over time your mind will inevitably fill with shit. Don't overestimate your own mental resilience. If people were half as strong-minded as they thought they were, there'd be no money in advertising.

Never listen to crazies. If there's something non-crazy in what they're saying, somebody non-crazy will be saying it too; listen to them instead.
Is this dump online anywhere? I got the notification from HIBP but it only tells me my email address appeared and I'm curious how accurate the rest of the data is.
That's really interesting, what language is that if you don't mind me asking?
you just need to create its wikipedia entry and it will exist soon.
Like the US, (catholic vs protestant) and ethnicity (some Mexican regions) ... The division of the Ottoman empire was nullified by the War of Independence of the Turks. A Kurdish state would have never been possible, because of the ethnic plurality in the region. The religious divide, is an expression of a political one. The Iraq-Syria border makes as much sense as the US-Mexican border, German-French, still democracy is a possibility.
> That's 1 crash the car was prevented from every 5000 miles.

What? That's not at all what disengagements mean
I'm writing a javscript chess board rendering library similar to chessboard.js but with some new ideas thrown in.

I also made this to play with SvelteJS for fun (UK government alert message generator): https://adamjaggard.github.io/stay-alert/public/index.html

I was working on a tongue-in-cheek web game called Political Campaign Simulator but it's parked at the moment.
In the flurry of the launch I got all my links wrong. The HYP repo can be found here: https://github.com/hypercore-protocol/hyp
My first reaction was that this must have been some kind of plot to make young people interested in COBOL using the type of games the current demographic of this language knows best.
To be fair, inflammation is literally (or perhaps figuratively) correlated with almost every bad outcome.
I work with (consumer) internet gateways and the like.
In Broadcom's SoCs the main chip is ARM. They have been moving away from MIPS for a number of years.

I'm less familiar with other vendors but I briefly worked with a Qualcomm-based device a few years ago and that was also ARM.

There might be some dedicated cores in those SoCs or devices for e.g. accelerators or Wi-Fi handling. I've seen ARC there but I have the feeling these are also moving to ARM.
Yes, people do get crushed under the wheels of slow moving cars. But the statistics are extremely clear about what your relative chances of survival are based on vehicle speed. To a first order approximation your chance of being killed by a 5mph car is 0%.

Should we add tech to prevent these accidents? Of course. But let’s not kid ourselves about the actual numbers of where and why cars kill people.

As a means of comparison; back up cameras are mandatory to prevent children from being backed over at slow speed. This is an obvious improvement, but numerically quite small, with estimates being that it saves about 50-70 lives nationally per year. This is far less than the number of pedestrians and cyclists struck and killed in Los Angeles per year alone.
The Clarity Hackathon hosted by Blockstack is LIVE with over $3k. Register here
No, they started reopening on April 24th: https://abcnews.go.com/Health/wireStory/kemp-shuttered-georg...

So yeah the models were wrong.
Yes but you can defend it against replay attacks if you use a rolling code https://en.wikipedia.org/wiki/Rolling_code
COVID can be asymptotic for long periods. This is the whole point for such systems to exist in the first place.
My advice to Anki beginners: don't trust the default settings. For example setting a daily review limit will cause a massive backlog over time. Just do all your reviews for that day. If there are cards that you fail every day then answer them as hard. This will tell Anki to shedule the card differently. Annoyingly there is no skip feature so don't feel bad about hitting good on a card that you failed 3 times in a row. You can adjust the steps from 1 10 to 1 1500 for new cards so that you will not be asked twice for a new card on the same day. Once I did these changes I was going through twice as many reviews in roughly 75% of the time.
Do you have a blog? I would love to see your progress with a garden.
Getting ahead of the curve in Singapore with mobile phone metadata
I mean I think

*.*.example.com

isn’t valid.
>We are committed to bringing more people online to a faster internet — and with 3.5 billion people globally unconnected, there is still a lot to do.

Yea, that's 3.5 billion people whose lives haven't been datamined yet by these scumbags.
Nothing - but Crimea is right on the EU's doorstep. Both Ukraine and Russia share borders with EU member states.

If we EU member states didn't get involved when we saw a fight right in front of us, the threat of us getting involved in a fight thousands of miles away isn't very credible as a deterrent.

More broadly, when I look at Taiwan I don't see the EU or US recognising Taiwan as a nation - let alone any tripwire forces or foreign airbases or nuclear sharing or NATO membership or joint training exercises which signal the fully fledged protection of a great power.
One of the defence agencies in Australia made a puzzle quite a long time ago; I can't find it now. It was a bunch of hex in a banner advert; the hex was actually x86 assembly, which if 'run' would write a string into memory.

The string was just the URL of their recruitment portal. I was so disappointed, once I got it running I was hoping to hear helicopters or a knock on the door!
Interesting, if you ask a computer scientist what is the max number that can be counted with two hands, he will say 2^10 = 1024. 9,999 is far from 10-bit.
As a native speaker, it's a terrible headline. It took several attempts and one coffee to parse it.

My wife, a Dane with a Masters in English Literature... "that's an appalling headline." The author has smashed in every keyword in an attempt to hook people from the beginning with the IKEA keyword.

Ideally it would be something like "Ingka Centres, IKEA's shopping mall arm, plans U.S. entry in major play"

I expected more from Reuters. The author is Swedish, and it's not even a sentence structure that makes sense in Scandinavia.
Haven't heard of LoRa before - is it some kind of alternative to zigbee?
A car doing 0.5mph will be stopped by the driver unless the driver is unconscious.
What happens when you call console.log
Ask HN: In this lockdown period, should the world now evaluate compensations?
In this lockdown period, should the world now evaluate what jobs are really valuable for the society to function and set the compensations of those doing these jobs accordingly?
Cruise lays off 8% of workforce amid Covid-19, puts resources toward engineering
Not necessarily, imagine a port knocking monitor that stores each port attempt it sees in a large buffer. Imagine you make many attempted connections allowing you to overflow the buffer and write arbitrary data onto the heap.
Chat bot. brian.bot

The hard / complex part is (first) parsing parts of a Slack conversation to the do the AI part, and (second) the Slack interactive messages, which get weird when you try to use them as a form.

a lot of just "if these messages happen in this order, this correct thing still happens", where the difference between different message types is, well, not minimal, but simple and straightforward.

This has definitely led to waaay to much copy pasta, but it's well encapsulated within the test fixtures.
A bit complicated. I am learning Tabla, and my teacher counts to 16 on one hand; 3 finger segments plus the bit below the finger, for a total of 4 per finger. Starts from top of index finger and ends at bottom of pinky finger.

In this way, each bar is one finger.
How would you implement async() under the covers? If you wanted something like go (or loom) then wouldn't you need stack swapping? And if you have those then you muddy Python's #1 best feature: the almost free C ffi.