skysight-inc/HackerNews huggingface dataset:
+1 for using Raspberry Pi for home automation.

I'm just getting into electronics but have found the Pi indispensable for this purpose: without much effort, I now have Pi Zero running Homebridge with plugins and hardware to control an AC power outlet switch, ambient temperature and humidity sensors, three contact sensors, and another Raspberry Pi 3 also running Homebridge with a light sensor, fan speed controller (PWM) / tachometer, motion detector, and camera.

What's great about the Raspberry Pi is it is a complete computer system, so it can run the Homebridge stack (Node.js, mDNS, etc.) for bridging your custom home automation devices (via GPIO) to the rest of your IoT system (I wrote up my experiences here if anyone is interested: https://medium.com/@rxseger/home-automation-with-raspberry-p... Home automation with Raspberry Pi + Homebridge).

However, having a full OS is probably overkill for most home automation sensors/devices, I'm looking into getting an ESP8266 or other low-power wireless microcontroller next as I continue to build out my automation to other parts of the home. An ESP8266 may be better than e.g. a Pi Zero for many of these use cases, having built-in Wi-Fi support versus an add-on USB Wi-Fi adapter. I also want to put an MSP430 to work on home automation, but need to figure out the wireless story. Instead of a heavyweight Wi-Fi stack, probably a lightweight low-data rate protocol on an unlicensed sub-1 GHz or ISM band, bridging the slower RF connection to the rest of your Wi-Fi or Ethernet network (ala ZigBee/802.15.4 and the Philips Hue bridge).

The Wemos D1 Mini (~$5) looks really nice for an ESP8266 board. I went with a NodeMcu on Aliexpress (~$3), hopefully it works well once it arrives, but at these prices not much to lose, and you can buy many for multiple projects: a computer in every room?! Exciting times, more and more companies are developing expensive home automation products to build an ultimate "smart home", but with the explosion of inexpensive single-board computers/microcontrollers for electronics hobbyists there has never been a better time to get into DIY home automation.
I'm using my Pi to run pihole - https://pi-hole.net/
> x86_64 on a PC architecture for just about anything now,

Not in any of my pockets or devices at home, besides the laptop.
How Obama brought capitalism to outer space
That's nothing to do with architecture though. It's the NSW government wanting to socially cleanse Sydney and replace the homes of the poor with luxury apartments.
What's "interesting" about this? The entire website is massive copyright infringement. It's extremely useful for researchers, but if you're going to the trouble of filtering and blocking content on a corporate network for legal reasons, isn't this exactly the type of website one would block?
Normal Accidents by Charles Perrow ISBN 0-691-00412-9
It depends what you want to do. If you want to access many chat apps a framework will make your life easier and provide some features such as analytics but at the expense of latency and inability to access any features specific to a particular chat application.

Wit.ai, API.ai etc. are separate services to which you forward your chat responses and they send back a response based NLP training etc.

If you're just doing a prototype, I would limit it to one chat app (eg. FB messenger) and interact directly with their webhook. You can also then add NLP through api.ai etc.
Can anyone backup those revenue numbers from past experience?

Curiously, the application name was not posted.

I don't want to call bullsh*t, but if the claims could be verified, the discussion can move on to how to actually deal with the situation.

I believe there are Facebook employees on HN, would it be possible to bring this matter to the attention of the concerned people, if the claims turn out to be valid?
IT szakértő
At the start of the article they do state that you might need javascript. The point was to show off things you can do without javascript, not say that you never need it.
Show HN: Zerynth - Python for Microcontrollers, IoT and Embedded Solutions
Could we stop with the links to WSJ? Very few people can get past the paywall.
> Apple needs the Mac,...

It's very clear from Apple's action, or rather, inaction and silence, over several years, that Apple doesn't "need" the Mac for any specific reason. It's one of those things that's there because it's there.

If it were true that Apple needs the Mac, we would've seen a lot more attention paid to the platform, not just neglect that has been shamed online repeatedly for a long time. The situation is quite unfortunate, in my view.
Signal is not anonymous.

Antox from the tox.im people is a better more secure and anonymous messaging application.

Ring.cx is also better.
Outputting to stdout gives the control and power to the user - if they want it in a file which they want to name, they can do that; if they want to pass the output as input to another application - they can do that too.

There are few usage scenarios where such behavior isn't enough, like for example fsck, but even there this paradigm is flexible enough to work - for such applications could be split into an analyzer and a repair program. There is nothing stopping one from outputting a binary data stream on stdout; Lots of applications do exactly that on UNIX, compressors come to mind.

What use case have you where stdout/stdin/stderr isn't enough on an operating system family where the core paradigm of usage is that everything is a binary stream of data?
The issue with CSS sliders is that they mess with the browser history.

I expect my back button to open the previous page, not to move an image slider.
It's sad that this site uses SCSS for displaying the rules, I'm using it in production and fully understand it, but it's needlessly abstracting the rules for the sake of a few extra words in each declaration.

That aside, these are some pretty cool examples. Are there ways of doing this with CSS which doesn't screw with my browser back button?
Humans need new skills for post-AI world
Why I’m short Ethereum (and long Bitcoin)
The Java-Cocoa bridge was only an early bet as they weren't sure if the Mac developers were keen in jumping into Objective-C.

They dropped it the moment they realized most of them were happy to use Objective-C and somehow they were the first company to turn back the tide from JIT to AOT compilation.

Yes, back in the NeXT days there was a Windows version of the whole Objective-C dev environment for Windows, and also an initial port of Cocoa to Windows when it was still called Rhapsody.

As for fairly recent, it was almost 10 years ago. :)
Awesome! What is it called and where did you get it?
Read from an URL:

vim <(curl -fsL https://news.ycombinator.com)

This creates a temporary file descriptor from the output of the invoked sub shell.

Read standard input in a shell script:

#!/usr/bin/env bash
cat <&0 > $(date +%s).txt
Wow at the color picker. Funny that chrome seems to use my windows system color picker.
I'm a doctor, if i drop food on the kitchen floor, i still eat it
What disaster are you imagining that takes out an underwater colony? It'd be completely sealed off from the water, so you could vaporize the entire ocean (unlikely) and atmosphere and it would still be okay. The only thing I could see affecting an underwater colony would be an earthquake, but I'm having trouble imagining an earthquake big enough to wipe out all surface life.
aren't you talking about the view switcher ( http://youmightnotneedjs.com/#view_switcher ) ?
How? I really doubt it as these ICs have no CPU, flash or anything else that could be programmed externally. Here's a random example of how one look like: http://www.ti.com/product/bq24232ha/datasheet
Not harsh; it's little different than having a stack of books you bought with great intentions but never got around to reading them.
IMO, how good you are in your native language influences your learning of a foreign language.
Mistake #1 – Most businesses underestimate the impact of a worst case scenario
The common workaround is to click "web" under the story link, then click the first result. Gets around the paywall. Or you could just pay for the WSJ.
DOCKER SWARM PAR L'EXEMPLE
NPM can evolve; Gradle and SBT also didn't turn out to be the end of Maven, which evolved to being more of a repository and dependency management tool with multiple clients.
Here's a link from LA Times (no paywall):
http://www.latimes.com/business/la-fi-tysons-beyond-meat-201...
In this demo yes, however I have seen CSS image sliders with buttons which happily sit on the back button.
Deep Learning for Human Part Discovery in Images [pdf]
How  to Improve and Enhance Your Application Maintenance and Support Program
In context of the discussion, we seem to be talking about personal computers, not hand-held devices, and my comment reflects that.
This, or something like this, was bound to happen because this is the nature of business. Hopefully Beyond Meat will not disappear but instead be able to grow bigger and become better.
I really wish someone had cracked native vim support in a modern gui editor - I'm interested in using something like Atom but until I can do basic text editing with 100% native vim (for productivity and health reasons), I really can't make the switch.

Has there been any progress on this? Does neovim make this easier?
Good point and I think tech is making us neo-hippies, getting us away from conformity (in some ways) and closer to our desired
The you don't need jQuery website had a concrete use case - you need not include an entire library into your website for some simple tasks which makes your website faster.

Though, this site is cool in showing the power of CSS, I am not sure if there is any specific advantage of using CSS over JS to design tabs, sliders, etc. Just use the best tool for the job!
My CHIP still not delivered. They re-scheduled 3 times the delivery. The last was 3 Oct. Today I received the "happy" news this will be shipped at the beginning of Nov. The initial shipment was June when I ordered in March.
Amazon's warehouses are chaotic
<input type="color"/>, standard HTML5. It’s not got brilliant support though: http://caniuse.com/#feat=input-color
Since half the examples do not work on Safari, I believe the title is a bit misleading.
Yep, pretty hilarious. Also: doesn't really work (returns black always - Win 10).
Maybe I missed it, but how does the CHIP Pro compare to the previous CHIP?
A few days ago a saw a talk about CSS animations with RxJS [0] and the gist about CSS only stuff was something like: "Yes, you can do much with CSS only, but it gets ugly fast."

Often you're better of to do a mix of both, because some things that are very complicated in CSS are two-liners in JavaScript.

[0] https://www.youtube.com/watch?v=lTCukb6Zn3g
You might not need Sass.
Sad that the reddit advice is:

[–]guitartrashmaster 45 points 4 hours ago
Dude post on hacker news trust me
perma-linkembedsavereportgive goldreply

[–]VikingIV -2 points 45 minutes ago
This.

Its the same with google; the only way for devs to get any kind of traction is by kicking up a fuss on HN. Its crazy that it has to be this way.
Can you try to explain? I'm really curios
> Not everyone wants UNIX clones

Technically OS X is a "UNIX clone"

> and there are toons of goodies on the OS X

You mean there is a Clippy for OSX?
Debian Unstable isn't the only rolling release distro. Another popular one I can think of Arch Linux.

Typically, changes in rolling releases are easier to deal with. At any time, the change is smaller, so you don't have to be overwhelmed by a large number of changes all over the place, as is sometimes the case with versioned releases; and the changes are fresher, so your inputs to the developers who made the change are easier to apply.
First time I see French on HN but luckily 1) I can read it, 2) the commands don't need translation :-)

Interesting tutorial.
Top bankers warn of risk of 2017 exodus from Britain
صور سكس بنات HD صور نيك بنات جديده صور سكس hd 2017 جديده
Well done :)! Saved for future reference.
PSP was hacked through the battery. Basically Sony had a "magic" battery that would report certain ID, that they could use to flash any firmware they wanted. Well, someone figured this out, and as it turns out, you could use a hacked PSP(hacked through one of the existing exploits) to flash a different ID to the battery - from that point onward it would act as a "magic" battery and could be used to flash any PSP.

So yeah, the IC in the battery was nothing more than a tiny bit of memory containing the ID, but ultimately, that was the downfall of the whole PSP ecosystem, as you could use a hacked battery to reflash any PSP, regardless of its firmware, so sony had no way of patching this.
I like having the option to use both short and long forms. For common tasks the short form becomes second nature and saves time. For scripting or rare tasks I appreciate that the long form is self-documenting and less prone to typos.
Here's Geofeedia's response:
http://blog.geofeedia.com/a-commitment-to-freedom-of-speech-...
Equity crowdfunding, the accredited investor, and small businesses
Another point of view: an exceptional article by Jenn Schiffer "A Call For Web Developers To Deprecate Their CSS" https://medium.com/cool-code-pal/a-call-for-web-developers-t... - HN Submit here https://news.ycombinator.com/item?id=12691081
A Call for Web Developers to Deprecate Their CSS
There is some useful stuff to learn from here, undeniably, but many of these are a bit useless when you compare them with what you would actually typically need on a real site. Yes, the "image slider" is vaguely functional, but really most of the time you will want a lot more control than just the CSS animations allow; similarly, yes, the form validation is a starting point, but normally you would want to customise the error messages and generally fiddle around with it a lot more; I'm not really sure the modal is fit for purpose beyond the most basic use case... etc.

It's fun to see what you can partially achieve without JavaScript, but there is no shame in using JavaScript sensibly to enhance the usefulness of a web site.
This doesn't work for me on mobile.
You inspired my sci-fi novel. Care to download a free copy?
Hello HN and the rest of the open source community.

Your willingness to freely share your skills, your experience, and links to interesting essays and posts was part of the inspiration for my novel (and helped me make a living with Javascript, HTML and CSS for the past few years.)

I'm making the ebook version of my science fiction novel, The Last Breath, free (for October 12 & 13, 2016 only) as a way to say thanks.
No. It would be more accurate to say that is is a lot more work to reimplement a hard realtime embedded RTOS from scratch, when you have a nontrivial application that needs features like tasking, synchronization, IPC, memory virtualization etc.

That is probably not Linux, but going bare target every time you have a new application and platform with hard realtime requirements would be a huge mistake.

> you use standard library abstractions to get features that you would normally get from the OS

They don't come ex nihilo. There are a lot of "standard library" APIs that are dependent on what would ordinarily be called an OS.

> Then, if you want to run a bunch of these things, you run them in efficient hypervisor systems like Xen.

This is often, if not usually, the wrong level of abstract for either application architecture or efficient resource usage.
The coming decade the answer is obvious -- something biological. It can be moved with e.g. sales of consumer products into a country.

Consider a contagious plague with an incubation time of a few days put into fresh food imported into a set of countries -- it will not be stored in dusty warehouses for weeks before reaching the population.

Large states should be able to do something similar now (this might need a start up time, since the biological weapons research was closed after the cold war) and soon major terror organizations or rogue states might be able to.

Will counter measures (creating vaccines quickly, etc) be ready before alQ have similar capabilities? I have no clue. The first targets would probably include geographic areas with the universities/agencies that could do something about this type of attack anyway.

(Frankly, I'm surprised that I needed to write that. With increasing technological possibilities the power to do harm increase too. If the power to stop harm increase slower...)
I liked how some WMs handle windows of same application. I can Alt-Tab to a window of an app, and then — without releasing the Alt key — Alt-` to a different window of the same app.

On Kwin, for example, going from Alt-Tab to Alt-` smoothly filters out all the non-same-app windows.

Alt-Tab => Alt-` is also much easier than ⌘-tab => ⌘-Option => Option

I'd think OS X's WM would have ⌘-tab => ⌘-`
Can you help a brother out? Let's see if we can set an Amazon record for sci-fi downloads in a 24 hour period. A big burst of downloads of my book from Amazon opens the door for other marketing opportunities. I'd really like to make a living at writing so I can keep doing it. Your help can make the difference. Here's the direct link to the book on Amazon: https://www.amazon.com/Last-Breath-Charlie-Magee-ebook/dp/B0...
All this is nice, but once the SQL Server database crosses a certain size, there are things one needs to do like separating transaction logs, data files, tempdb files to separate disks for acceptable performance. I am not sure how that will work with SQL Server inside a container.
The site would benefit from displaying browser versions where each of those features is supported à la caniuse.com
I didn't notice something swallowed the newlines...

ZALORA | Singapore | ONSITE, REMOTE, VISA

ZALORA is an online fashion retailer headquartered in Singapore with millions of customers and 1000+ employees throughout South East Asia. We're expanding our globally distributed DevOps team.

You will be using Nix/NixOS to glue together a stack of Go, Memcached, MySQL, PHP, Solr and more.

A coding test is the biggest deciding factor. After that we'll chat, call and optionally meet to sort out the details.

Apply at http://jobs.engineering.zalora.com/apply/lOd9Ir/Global-DevOp.... Other positions (frontend, backend, Android, iOS, to name a few) are also available at the same site.
No link?
Just to expand on the stricter versioning rules that I mentioned, some things that in my opinion could improve the reliability of a package repository:

- strictly defined version update time intervals, e.g. you can't update your package more than once a week (or have to take some special actions for critical updates, e.g. contact support)

- "delayed" publishing, e.g. when you submit your package it will only be published in 24 hours, until then you can re-submit updates, etc.

- similar to above, but your package wont be published until it was tagged on github (or elsewhere) for a certain amount of time

- published packages can not be removed, but you can disassociate them with your account by marking them as "not maintained" and possibly assign new maintainers for it

- maybe introduce some way for developers to mark new versions as "backwards incompatible" if they do break backwards compatibility

I think there is definitely a "market" for some stricter node package repo.
Here's the link to more info on my blog page: http://mageewrites.com/thank-you-hacker-news-github-stack-ov...
Europe should close out the british banks form the market, but should not let the banks move in either.
Man, you are too fast! https://www.amazon.com/Last-Breath-Charlie-Magee-ebook/dp/B0...
Does TCP Fast Open count?
Sounds like a script that went awry, misclassifying the app? If so, I have a feeling that when some engineer at Facebook wakes up and sees this tomorrow, the problem will go away ;)
Show HN: Web API to TypeScript
Yup. dispatch_semaphore_t uses Mach semaphores under the cover. (Totally separate from POSIX semaphores.)
Surely that's a parody. If it's not...
Hello!

As the title suggests, this is a tool to auto-generate WebAPI controller actions primarily. It also generates the enumerations and interfaces used by the actions.

Lastly, it optionally generates typed calling based on Angular's $http.

Keeping this intro short, since I've hopefully detailed it in the project page.

Looking for feedback and comments! It's been working out well for our project thus far.

Thanks!
This happened to someone using stripe; a similar case where the account was suspended and the user was upset about the inability to capture revenue.

I trust stripe a lot more than FB, that said, PC showed up in the thread as well as numerous suppory staff. The claim was similar, big money rev processing suspended but limited details. It turned out that the user was violating the terms and had been notified well in advance. The user stopped responding to other posters asking for details and it was immeadiately evident that it was a pretty shady & onesided story.

Now, FB is quite restrictive-- but until the user substantiates the nature of their application & facebook's violations & correspondence; I can't really cry foul.

The user said they didn't want to mention the app because it would be "promoting it". Idk, it does feel a bit off. Take Dash/kapeli, they blamed apple for kicking them out of the app store, and while they are well known, they stood behind their name and identity which is all the reputation one has on the internet.

So, i hope this is rectified but mire evidemce is surely needed
I don't have a direct answer to contribute, but your title and the post are potentially asking for different things - university curriculums are mostly static things with a ton of inertia, and within a decade there's probably mostly been superficial changes only, like switching the programming language of choice.

I'm still interested in learning about the few changes that would have occurred, but the original question, of what's new in the field of CS research itself, is IMO a much more interesting one.
Quoting from Wikipedia¹: "[asteroid and planetoid terms have been applied to] any astronomical object orbiting the Sun that did not show the disc of a planet and was not observed to have the characteristics of an active comet", which means we don't quite know yet if it's an asteroid/planetoid or a dwarf planet. You may be right about the introduction of "dwarf planet" having something to do with Americans being emotional about Pluto, but the diversification of terms coming as a result of increased amount of knowledge in a domain is something natural.

¹ https://en.wikipedia.org/wiki/Asteroid
I ordered a TextBlade (small-form factor bluetooth keyboard with pretty nifty technology) on March 2015 for delivery on June 2015 (not a Kickstarter, mind you) and I'm still waiting (actually all purchasers are, except for a beta testing group).
I love the image that is conveyed of 'feature overload' being the cause of explosive devices. As though we may have reached some sort of technological wall against which all increases in device or feature richness lead to explosions
Reminded me of the guy who spent an extraordinary amount of time trying to sign-in to his Google calendar on his Android-enabled fridge [1].

[1] https://news.ycombinator.com/item?id=10732423
Depending on what your software does, Darwin might be a decent option to create a VM for tests. I assume this is what Travis-CI does for their "macOS" support.