skysight-inc/HackerNews huggingface dataset:
> JavaScript is not a language suited for this task

I think the name of this technology may be leading to some confusion here. From a quick read-through of the API description (https://iot.mozilla.org/wot/), it doesn't seem to have anything to do with JavaScript except that there is a small amount of example code showing how to open a WebSocket. (But you can open a WebSocket from other languages, of course.)

This whole technology seems to center around using RESTful HTTP and WebSocket to discover and manipulate IoT devices. It doesn't seem to have anything to do with using a browser as the client. A more-accurate name might be "HTTP/WebSocket of Things", but that's a mouthful.

At any rate, the API document just describes using GET/PUT/POST and so on to do things like discover actions, read sensors, and actuate things.
Not everyone reads hackernews
Thanks! Appreciate the report :-)
If it helps I had the same reservation about the course but ended up enjoying uC++. Some things like coroutines, monitors, etc. do not have C++ equivalents yet so there's part of the reason. I found uC++ to be a really useful learning tool.
Ahhhh, this is good to know!
I think you're still looking at too much of the picture: this discussion is specifically about error handling in destructors (and how this affects finally/scope(exit)). There's numerous reasons why the checked, explicit, first-class, typed error handling of Rust is better than C++'s exceptions, but "able to use an outpointer to return an error from a destructor" isn't one of them:

1. using the outpointer is clunky and error prone

2. C++ can do the same thing (both with exceptions enabled, and with them disabled, the latter of which is pretty much the same as Rust)

(The current_exception stuff even makes it possible to handle it fairly generically in C++, so even calling arbitrary code with exceptions-on can be the normal code wrapped in catch_and_write_exception(&exceptionSlot, [&] { ... });, which works for any library code, whether it throws or not.)

> According to the spec current_exception() returns a smart pointer which the storage isn't specified

Exceptions often allocate anyway; current_exception() isn't creating a new problem.
Question, I read that fabs use specific, proprietary technology to produce ASICs and this technology is protected by NDAs and Trade Secrets. Some components require intimate process knowledge, which may never be open. Why wouldn't these companies have patented these technologies?

Granted there isn't a lot of love for patents with software, but I think ASIC design is a case where the concept would be beneficial for the public. Although the fabs would have a monopoly on their process for a time, it would atleast be published so that open source tools could be made that take advantage of these processes.
I think you're misunderstanding the benefit of stackless coroutines. Here's the core of the issue: Stacks, by definition, are dynamically growable objects. But sometimes (in most cases?) the state that needs to be stored across yield points can be statically bounded up front. In that case, stackful coroutines (really, threads) add unnecessary overhead, because you pay for that ability to grow. Golang, for instance, has to start stacks small and grow them by copying, because it can't reliably statically analyze the goroutine to determine the needed stack space. A properly-implemented stackless coroutine system (or even the classic C approach of writing state machines by hand), by contrast, can determine the amount of space necessary for each coroutine and allocate it precisely. There are even slab allocation tricks for many coroutines of the same size. Fundamentally, this is why manually-written C code using epoll can outperform any stackful coroutine system: optimal allocation of stackful coroutines in a language with recursion and first-class functions requires higher-order control flow analysis, which is generally considered infeasible.

Of course, I've only focused on the performance issues here, and obviously there are also important issues of ergonomics at play. But my point is that there are benefits to stackless coroutines that can't be simply dismissed.
You may be right, but you’ve said nothing to support your position.

Most of HN mistakenly assumes IoT == putting cameras and microphones on televisions with no security (eg, super stoopidity), when in fact IoT is a powerful way for businesses to monitor/diagnose/control remote devices (like jet engines, vending machines, stop lights,...)

But I don’t see what Mozilla has to do with that, nor why we need some kind of “gateway” or json spec when it’s just yet another internet device.
They have grid antennas with a slightly wider beam, or maybe a sector style with 20-30 degrees could be used. I just think it's easier to engineer a workable ship-to-ship stabilized radio solution rather than deal with the ship-to-sat dish which probably has much tighter tolerances.
There are very few lawyers who have any experience dealing with an NSL. Let's see, Marcia Hoffman, and... well, you could always try contacting Marcia Hoffman.

This post may be just as helpful, if not moreso, to a lawyer than to a developer! But as a developer, I would think you would find some comfort using twilio in knowledge that they put a lot of thought into privacy. Like, maybe that is the real intent here, some pretty high-quality marketing -- not so much an instructional.

And as a secondary thing, any organization that has a spine when it comes to user privacy wants some company. If the industry as a whole gets behind a standard approach, then no one is going to get singled out for unwanted special attention.
The mentioned article https://slate.com/technology/2018/02/filtering-stream-water-... - is typical muckraking journalism. The original Slate author is trying to create a scandal out of the idea that outdoor gear makers are deceiving you in order to sell junk you don't need.

He then throws in salacious and irrelevant intimations about race and class ("Because the outdoor recreation community is far whiter, wealthier, and better educated than the U.S. population at large, it’s an interesting case study in how misinformation propagates through privileged communities.")

It's clickbait, exactly the sort of garbage published on the front page of every newsprint weekly - taxi drivers without medallions: scandalous! Boat owners profit from people fishing: another scandal! The real scandal is how any of this passes as journalism.
>their deficient support for Nvidia drivers

I believe the problem is with Nvidia. You'd get the best experience with Ubuntu since it is the most used by average customers, so well tested.
I'm sure someone at that company does.
And if someone asked you why to use Google instead of grep, would you not have an answer?
I didn't notice the alliteration at first, accidental. But thanks anyway :)
They seemed fine to me.

They served their purpose admirably, engineers or not.

In fact, engineers could stand to learn quite a bit from the rest of the people on the planet.
For some that might be triple the effort. I guess it depends on a lot of things.
Thought that RAM and CPU can hit you. I'd add disk -- swapping spinning rust for SSD should make an improvement.

I've revive an iMac 5,1 under Debian, and it runs. But with 1 GB RAM, it's good for only a small handful of Web browser pages before starting to swap heavily. The system should be good for memory and HD upgrade, though I've yet to look into that.

Compared to a newer Retina iMac, it's actually the screen which is one of the elements that's got me hesitating on an update. The resolution (and brightness) are sufficiently poor that even an update wouldn't give it all that much utility. Given the cost of modest new generic PC hardware, I've got to question the validity of that.

For non-Web use, basic apps, shell, and server roles, it's just fine. It's browsers that are absolute resource monsters.
It'll become a touristic attraction.
Aspose.Slides for C++ Is Released: Create and Manipulate PowerPoint Presentations
Also, I'm not sure what you mean by the term "natural fallacy". I don't think it's the "naturalistic fallacy" https://en.wikipedia.org/wiki/Naturalistic_fallacy - it sounds more like simple nostalgia. Just because people like some things about the past doesn't mean they want to literally return to the past.
Launch of Worlds Largest Rocket Delta IV Heavy with NROL-37 (2016)
My version was originally going to be called Swine Meeper! However, after googling it I found this version here:
http://www.karaffeltut.com/MineSweeper/minesweeper1.html

I'm guessing that's not yours, as it doesn't seem to have anything to do with pigs. Since it lacked actual pigs I carried on with my idea and just modified the title.

If I'd seen yours I might have come up with some other silly theme.
My Controversial Silicon Valley Viewpoint: Solar Won’t Save Humanity
Tech-support scammers have a new trick to send Chrome users into a panic
Most comes from emissions, yes.

But most emissions may not come from cars, that distribution depends on the city.

Some cities allow wood fueled appliances, some cities allow burning trash, some cities have a strong industrial presence, some cities have coal thermal power plants, etc.
I think this paper is one of the best cases of evidence against the myth of the gender pay gap.

The Confidence Gap, a piece in Salon, bought up the idea that confidence affects the wages we ask for, and how women are often less confident in their fields (and they have a greater burden of appearing to have confidence without too much, i.e. appearing bitchy .. oddly enough a bigger issue with female focus groups).

But there are other large factors. Women tend to take jobs they are more fulfilled in, even if they know they'll earn less. We see more female teachers and nurses and fewer female oil rig workers.

Even in really progressive societies, I still think there is a subconscious believe that men should be able to provide for the family. This is changing in some areas; the west coast and startup culture cities you'll see this more. But in general, it's the Office Space and Dilbert word: men are more likely to take unfulfilling office work to earn the cash. Why aren't there more women in tech? Maybe they see men miserable with their jobs, both in person and in pop culture.

This study goes to show the income gap may have more to do with personal choices than anything else.
Whenever you can make a point by stretching an analogy to an extreme, I think it's possible to imagine stretching the analogy the other direction. In this case, the distinction seems to be a matter of degrees, rather than a fundamental difference.
Mission-critical system alert: 40-year-old OpenVMS hit by exploitable bug
Between this disclosure and grammarly.com, I've been trying to understand how Gramarly works, and therefore understand the impact of this event. Let me know if i got this right:

1) Grammarly is a fancy grammar/spelling correction tool.

2) You use it by opening an account, and installing their browder extension.

3) As you type text into a web page, the extension sends that input back to Grammarly, where their software analyzes it and provides correction recommendations.

4) The text that was sent back is persisted under your account, and is available for retrieval.

5) A software bug in their extension allowed a script on any site to see your Grammarly auth token.

6) As the result, any malicious site could log into your account, and see what you've been typing.

Is that the rough gist of it? If yes, then how in the world does #4 make any sense? Why store and expose that data, knowing that it's likely to contain troves and troves of sensitive and PII information...
Sure. You had me nodding until then very end. I don't think you have to feel physically threatened to be concerned about something. And this is a thread about rampant police corruption. But then all of the sudden I felt lumped in with criminals because it _does_ concern me.
Seat belts protect us from fast travelling vehicles, drinking water from streams is something humans have done forever and evolved to deal with.
Yeah, melting snow is basically pure rainwater.
There is no way we could have achieved a similar volume of data without ISS. With ISS we get six astronaut-years of data every single year, and it’s got at least another decade in it, barring political stupidity.

The argument could be made that we could have made do with less data, perhaps. But we could not have gathered this volume even once without ISS, let alone “many times”.
Jim Carrey urges people to boycott Facebook because of Russian election meddling
Phone is a computer. Just not the interface or size we old fogeys prefer.
You can, if you jailbreak. I'm not defending apple, I think it's incredibly shitty what they've done but what you're describing is absolutely possible. Beyond that, having modified those files, it's possible to install the modified program on a non-jailbroken device.
>Uh, if they catch up to my point, then they will still be useful at 5 - 7 years, thus the opposite of stagnant.

I believe the GP meant that the rapid progress of feature improvement will stagnate, which means older devices won't 'age' as quickly.
Falcon Heavy may be the most massive current launch vehicle, but I think the Delta IV Heavy still beats it by volume. Like many people, I'd been waiting for the Falcon Heavy launch for years. But I was just thinking that the launch itself was not all that more dramatic that the Delta IV Heavy.
wooow... awesome
I spent over a decade doing circuit design and I can corroborate your points. Chip design is maddening! One of the most interesting differences between software and hardware engineering is how many blogs and writing on the web you can find about software. You can almost self teach a masters in CS through online blogs and various postings! The only writing you find online about hardware is either patent's or IEEE white-papers.

There is still something magical when a new chip design comes back from the fab and boots up!
I think in general, "fuck the haters" is one of the most important lessons there is to learn in life, the sooner the better. Still working on this myself of course.
Heh, I like the image of a nascent programmer coding up a little mudball of a program. Thanks for that.

I agree with the mentality, way of thinking and approaching problems being one of the best things to learn from mentors. It's not something a blogpost on the latest tech can teach you.
It all depends upon trial and error method.. It also needs lots of testing for better performance
Scalable and Performant ASP.NET Core Web APIs: ORM Choice
This is rather lite-pop psych, but covers the basics:

https://www.psychologytoday.com/blog/in-flux/201608/8-things...

Manipulative, judgemental, fail to be accountable / responsible, don't apologise, are inconsistent, require you to prove yourself, require you to defend yourself, are not caring / supportive / interested in what's important to you.

Not mentioned: there's often trauma, abuse, fear, or pain underlying the behaviour. Not that this makes it any easier to deal with.
I wouldn't be surprised to learn that advertised prices are still far above what they could achieve after flying for a while and paying down some of their R&D debt (and if/when the market becomes even a little bit competitive).
=> "All it takes is specifying the <all_urls> permission in the extension’s manifest and adding some event listeners."

I guess android's "partial permission" is the right thing...
>and in the live stream SpaceX provided of the launch, you could hear someone say “We’ve lost the core” but it wasn’t clear whether that indicated just the feed, or the booster itself.

That’s definitely not set-speak for ‘video feed’ but I wish it was.
References about Java? I was looking for coroutines / CPS for Java recently and found no JSRs and no plans to include it into the language anytime soon.
TL;DR leverage is dangerous.

"Vol" means "volatility" which is a measure of how much the market moves over some interval of time. If the markets are getting more stable, it goes down, if markets are more choppy or have a higher varianceit goes up. Companies created funds, called ETFs or ETNs that let buyers bet on volatility. These funds are super easy to buy from any brokerage.

These funds were leveraged, which means they are based on bets against the underlying VIX index. This allowed them to move multiples of what the VIX moved, 2x or 3x as much.

The markets have been super calm so people were buying these funds that returned a lot of money if the market stayed calm. All of the sudden on Monday the market moved a LOT. The DOW dropped something like 1500 points and then bounced back 700 points within something like 15 minutes.

This caused the leveraged "short vol" funds - funds that were designed to move opposite multiples of the VIX (VIX moving not much made the value rise, VIX moving a lot made them fall) - to lose so much money so fast that the companies had to close them down. Billions of dollars lost in tens of minutes.

Hope that helps. I'm not an expert but that's how I understand it.
Note that he never said "accidentally" :)
Try the Internet Archive or Archive.is as alternatives.

Maybe leave feedback for Vice.
They were prepared for it to RUD right there on the pad, losing one booster is pretty much one away from a flawless mission. I've been on previous live streams when an anomaly occurs, this was no different and what I come to expect — the moment they didn't cut back to a video feed it was very obvious what had happened and that they'd need time to figure it out.

Doubt any thought of 'Public Relations' went through the minds of any of the presenting engineers. Clearing the launch tower was a massive achievement, everything else was a bonus. Loved seeing the engineers all beaming at the end with John joining in — away from a desk!
Building a reverse image search engine for items on EBTH
This does happen a bunch. I was always dreading asking question in #nginx back in the day, and #bash could be pretty rough too, but you learn to grow a thick skin.
Bitcoin: A New Wave of Bag-Holders Are Born
Snapchat is the only social media that actually celebrates the impermanence and general boringness of everyday life.

Instagram and Facebook may have stories but the site is heavily predicated on pride/narcissism arms race with your "friends".

Even your biggest narcissist can only "win" for 24 hours on Snapchat and from what I can see they'll generally tap out of keeping up any facades to try and make others jealous about how (seemingly) great their life is within 4-5 weeks of using it and then join others in appreciating the little things that make life worth living.

Your own personal values and mileage may vary, but they've hit a niche with me.
I want a good looking UI, I just find that electron doesn't deliver this. A good looking UI is one that blends in with the rest of the system, electron apps look like their being run in an emulator from another OS.
JSON isn't human editable?

The build supports anything - by virtue of the fact that you can run executables, Powershell scripts, batch files, etc.
It basically is the naturalistic fallacy. It's taking nature as the way things ought to be and human developments as dangerous aberrations. There is an element of nostalgia to it as well, but the nostalgia is for a time when we were "closer to nature."
math is a language as is music. it would be similar to say: is it musically possible to run out of new mathematics?
metaphorically speaking.
I've been learning fundamental concepts of web development coming from UX for a couple years now and this text has been absolutely instrumental in my learning. Highly recommended!
I believe GP meant sacked by vandals.
Yes, great books! I recommend starting with 'The Player of Games', not the first book in the series but the best. They are only loosely connected, you won't miss anything.
Do you mean you were using MQTT over websockets before, and you've since moved to pure MQTT (still over TCP), without websockets in between? Are you sure websockets were the cause of your network bandwidth issues?
Does this have anything to do with that "raw water" nonsense from 2 weeks ago? The idea that you wouldn't want to clean your water is absolutely insane to me.
Then there's something broken with your iphone 6, because until the 8 came out I was using a 5S and it was observably slower but not '10 seconds for every app' slow as you apparently describe without exaggeration. I had upgraded it to iOS 11 before moving to the 8, too.
HQ Trivia Paid Nothing for Its Super Bowl Ad
Articles like this are the cyclist equivalent of pro vegan propoganda. It's all doom and gloom and tilted towards a very extremist view with no room for other views or ways of life. Cycle only or you're killing the planet. Eat only plants or you're killing the planet.

How much coal is burned to make your bicycle frame? What about your tires? Were they shipped from somewhere else like China? It's not the same scale as building a car, but it's still not 0 impact.

These extreme cycling articles seem to be written mostly by single men who have nothing better to do than to commute to work. I'd hate to bicycle a weeks worth of groceries home for my 3 kids and wife.
The article is a little unclear, but I think they're saying that it was compressed between pieces of diamond, then transported still pressurized within the diamond cell.
Oh, definitely. I don't mean to imply their water was perfect and pure, just that ours is even worse.
Right, you would need a secret that is never revealed on the blockchain itself, but you could verify that someone had it and posted hashes derived from it periodically on the blockchain.
Visual Studio Live Share Preview
Interesting to note that the original meaning of "apology" was far closer to "excuse" or "defence" than the present "acknowledgement" or "atonement".

https://www.etymonline.com/word/apology

http://www.dict.org/bin/Dict?Form=Dict2&Database=*&Query=apo...
Link to blog post with more information:
http://blog.storeno8.com/2018/02/05/store-no-8-creates-third...
It seems they fixed it. Here is the corrected version: https://www.youtube.com/watch?v=bCc16uozHVE

The live (uncorrected) version for comparison:
https://www.youtube.com/watch?v=j8wxV-lUsZg
> There are very few lawyers who have any experience dealing with an NSL

Any lawyer is better than no lawyer, particularly when it comes to convoluted legal domains such as those authorizing NSLs.
Great to see the conversation going on here.
I work at Snap on our revenue and product features and am hiring for my team. If you are passionate about being a part of building the future of Augmented Reality, Creative Tools or in general building systems at scale, drop me a message.
I'm looking for engineers with strong backgrounds in building scalable distributed systems, our apis and services receive billions of requests per day. In addition, if you are an IOS or Android (especially) goes without saying, send me a message too!

getsetgold@gmail.com
Solitons Divide and Conquer
> the latter of which is pretty much the same as Rust

If exceptions allocate that's not the same as Rust, full-stop. I'm sorry if it seems like I'm being pedantic about this point but it's a huge issue of contention for those of us who used C++ to squeeze every ounce of performance out of a platform.

Yes I can manipulate a value through pointers/refs to return a result in both, but in the Rust case I can guarantee that the value lives on the stack by passing in a reference because A: I know the full type up-front(no virtuals unless I use Box<Trait>, no std::exception* opaque types) and B: exception_ptr() makes no such claims.

> Exceptions often allocate anyway; current_exception() isn't creating a new problem.

For those of us who ship codebases with exceptions disabled by default it definitely is a problem. Unchecked exceptions make this a problem which pollutes every one of your destructors and forces you to pay the above cost.
Thus demonstrating the utter uselessness of SNMP without the appropriate MIB database.