skysight-inc/HackerNews huggingface dataset:
"This situation made me realize that NPM is someone’s private land where corporate is more powerful than the people, and I do open source because, Power To The People."

This is true of all package distribution systems. There's always a small elite of admins who regard the system as their territory (and usually have no respect for the authors).

People contributing should be well aware of this.
> The facts that Rust is quite young, has no shipping hero project as a case study

Dropbox using it sounds like a pretty good hero project...
This car would fail its annual inspection in Massachusetts, USA. Of course, some shops don't do thorough inspections, but the law requires a working parking brake, and seat belts and mirrors, among other things.
There are some cases where it fails, and those are ones where it makes no sense from a plain text perspective: two spaces at the end of line for a line break, and the image syntax (especially when you want the image as a link).
7 adorable celebrity couples who prove LGBTI relationships can last
There is no such a thing as a "good OO". You don't need any OO for your example. Polymorphism is not an OO.
The First of Their Kind
Apple’s Recycling Robot May Help Build iPhones, Too
I wouldn't say "nothing" and it's less clear-cut when you lease, but if you have a Model S/X and want to buy Model 3 presumably as the 2nd car, yeah, pretty much.
The thing I found most interesting about this batch is they are all pretty advanced. Although YC has not said otherwise it looks like "build a business from an idea in 3 months is dead".
I enjoyed this. Skipped through the parts about the inner NES workings, but the "embarrassing" video is more to the point and shorter. I found myself agreeing with a lot of points and disagreeing with some too.

It's interesting how many comments there are, here and on YouTube, along the lines of the examples being "bad code, regardless of OOP", "not representative of a large team/project", "unmaintainable", etc. without even a link to an example snippet or repo, let alone a narrated walkthrough of existing code and possible alternatives like the author has provided.

Without concrete examples, all of these counter-arguments are in danger of a No True Scotsman fallacy. In fact, the code in the "embarrassing" video are actual examples of respected OO programmers showing how OOP should be done, which is a high bar to refute.

The author also addresses this a little, by pointing out the often-invoked circular reasoning of "my software's a mess even though I followed OOP", "if it's a mess you must not have been doing OOP properly".
In addition to the point the author makes about the benefits of modularity, this strikes me as environmentally tone-deaf as well. Do we just expect devices to enter the waste stream every 5 years now? Can't we do better?
If only people stopped writing this stuff in javascript.
A miserable pile of micro-dependencies, apparently.
@nj48 is just some troll who took all the names. Not sure the intention of @nj48. The hijacked modules are not dangerous at this point, but that could easily change and cause serious issues.
>deleted entire production server just by very simple command "rm -rf /" instead "rm -rf ./"

It's absolutely a rite of passage, fun times!

My personal favourite is similar:

rm -fr .*

ouch
Sticking with primary ingredients pretty much guarantees that. While it's possible to go overboard with fatty meat, lots of nutritionally dense seeds/nuts or drinking lots of calories in milk and beer for instance (which is probably how rich lordlings got fat in the centuries preceding ready meals), most people would struggle to consistently overeat meat, vegetables and non-wheat carbs.
The UK had over 350 deaths in one year alone! Really reminds one what the UK was dealing with during the height of the conflicts in Northern Ireland.

Also helps me at least understand why the UK feels a little more fortress like (cameras everywhere, very strong intelligence services, my fellow Brits also seem quite supportive of surveillance measures). They've been dealing with terrorism for 40+ years. Just as I noticed a massive shift in mood visiting the US pre-9/11 vs post 9/11 I wonder what the national mood was like in the UK before the violence spiralled.
https://en.wikipedia.org/wiki/Negativity_bias
What you're talking about is just better code organisation and modularity. It's a shame it is always brought up in defence of the useless OO, as if modularity is an exclusive OO property and not a mere side effect of it.
Still less preferable to just using one server
> ...“basically any cold medications that make you sleepy might contain anticholinergics, so stay away from drugs that make you sleepy.” NyQuil is an exception, he said. It makes people sleepy, but does not contain an anti-cholinergic. Still, “if your solution for a sleep problem is a pill, a quick fix, do you want that?” Any drug taken for a long time could come with problems.

Over the counter sleep medicines lose their effectiveness when taken regularly, so it people are less likely to do so (vs. taking such medicines for allergy relief).

Also NyQuil contains doxylamine [1], which is an anticholinergic, and is listed with the other problematic medicines [2].

[1] https://www.google.com/search?q=nyquil%20active%20ingredient...
[2] http://www.agingbraincare.org/uploads/products/ACB_scale_-_l...
> The equivalent to running your production server on debug.

I worked in a company where this was the standard, and we updated the code on the fly with eclipse to fix bugs :)
Are there any more sites like gliffy and draw.io?
If that administrator is reading this, chin up ... it happens to the best of us.
I think the explanation for this is not that your body miraculously detects the nutrients you need, but rather if something tastes of fat/salt/sugar we will eat as much of it as humanly possible.
> our in-person interviews were entirely scripted

Could I have a copy of that script?
In my experience it's good to have a few different restore attempts running in parallel, so long as they won't conflict with one another. For example, the restores may be to different hardware, from a different point-in-time, in a different datacenter, or from a unique backup system (image-based, file-based, transaction logs only, etc). One of their "restore" attempts could even be a scan of the original disk for recoverable data, though that seems unlikely.

In a critical outage like the one Gliffy is experiencing, I take the same approach. Outline all your restore options, estimate time for each restore, drawbacks of each approach, etc and take every available angle.

If you want to know how the database was deleted, read through some of the horror stories posted in the comments here and assume it was probably one of those!
Blendle Wants to Sell You Journalism on the Web, One Story at a Time
This is what happens when you don't have a disaster recovery plan, or if you have one but never test it out. You need to test your disaster recovery plans to actually know if things work. Database backups are notoriously unreliable, especially ones that are as large as the one this post is talking about. Had they known it would take 2-3 days to recover from a disaster I'm sure they would have done something to mitigate this. This falls squarely on the shoulders of the VP of Engineering and frankly it's unacceptable.

I worked at a company that was like this. My first question when I joined was, "do we have a disaster recovery plan?" The VP of engineering did some hand waving, saying that it would take about 8 hrs to restore and transfer the data. But he also never tested it. Thankfully we never had a database problem but had we encountered one we would have lost huge customers and probably would have failed as a business.

I also worked at a company that specializes in disaster recovery, but our global email went down after a power outage. The entire company was down for 1 day. There were diesel generators but they never tested them and when the power outage occurred they didn't kick in.

Case in point: Test your damn disaster recovery plans!!!
Because NPM knows a module has been unpublished, it can try to be smart about it and change existing package.json so there will be no more updates to that module.

I also think dependencies should be non-flat/tree/static. So that you only have to trust one dependency, and not all of it's child dependencies and their dependencies too. You should only need to manage your own dependencies, not other peoples dependencies.

There should also be a way to contact everyone who use your module, so you can tell them about critical bugs etc.
Despite your username, you're not a douche for pointing this out
[video] Real-Time facial expressions manipulation of RGB videos
Homeland chair: After Brussels, Congress must act on encryption
It was in the works after Full Throttle's success, but was cancelled. I don't know the reasons.
This entire post is beside the point. I was talking about a franchising scam. These are not the business practices of a successful manufacturer successfully selling its valuable products. Apple and Samsung don't pull this kind of shit. This sort of thing preys on unsophisticated people who have a bit of money saved, by separating them from that money before they've seen enough to know how valuable (or not) the foam arrow product is. Read the first sentence of the FAQ: "Pricing details are available when an application to be a Licensee is approved..."

I'm all for caveat emptor, but once they've crossed that line they've lost the moral status to demand society's assistance in punishing competitors. Besides, what are we talking about here? Any 9yo could figure out how to attach a foam tip to an arrow. They've spent far more time obtaining patents and setting up complicated commercial schemes than they have developing a product. The entire patent system is seen by many as harmful and unnecessary. This isn't the example that's going to prove it's not.
LASACTF Security Breach
Maybe it does not work on you but it works with vast number of people.
Yes, from the WP article (https://en.wikipedia.org/wiki/Ipratropium_bromide), the anticholinergic in Berodual does not diffuse into the blood and also does not cross the blood-brain barrier, so it seems like you're safe.
Not exactly either. Tesla says that they'll roll out in US first (west coast to east), then EU & the rest of the world; priority will be given to more expensive configurations first and existing customers will only get priority within given price tier.

Therefore, the fastest way to buy a Model S is to live in the US, immigrating as necessary, buy a Model S and order the most expensive Model 3 you can configure ;)
It seems like the obvious answer to this company altering its price is to apply the company's product to itself.
Why do you say that eating healthy has never been less costly? Easy, maybe (the Internet makes information easier to find and global trade and larger super markets make it potentially easier to find), but I don't feel that healthy is less costly. Annecdata: I recall that vegetables and healthier breakfast cereals were cheaper than junk foods in the 80's. Now, due to mostly demand, it seems to have flipped. Add to that that the overall growth in the price of food had outpaced the the growth in household income over the last three decades (on mobile, hard to find a source), and I begin to understand how my mostly healthy groceries take up such a large percent of my income. And if we think of it in terms of healthy vs unhealthy foods and cost, I could save a lot of money by only feeding the family pasta or processed foods. Healthy foods costs more than unhealthy foods (excluding potential health issues).
> The argument has always been that it reduces the amount of code you have to check for safety manually.

No, Rust's argument is that it eliminates memory unsafety. It even says so on it's front page: "guaranteed memory safety".

Except that it's not guaranteed. It relies on you trusting code that (supposedly) expert programmers have written, and which has been reviewed hundreds of times. Which is no better than C.

I agree that this criticism is mostly a theoretical one; Rust is still a huge improvement (in safety, and probably other areas) over C. But some people (e.g. myself) oppose lies in principle, no matter how well-intentioned they are.
Fans react to the closure of MotorStorm and DriveClub makers Evolution
While you're there, it's worth spending a couple of minutes reading about the '-print0' option to find and the correspondingly useful '-0' option to xargs. This might prevent another catastrophe due to spaces in filenames.
Backups are stupidly easy.

Restores, on the other hand...
Facebook joins WhatsApp in dropping BlackBerry support
Pretty sure it has changed since then. At least, I used to make the same complaint as you, and a friend who uses Arch recently told me what I'm saying is way out of date.

https://wiki.archlinux.org/index.php/Pacman/Package_signing
The UK government to offer U2F secured digital services
WOW.

I've been doing the exact opposite for a long time now.

Specifically with Nuget packages, because I could just trust that the package would be there.

Considering that node_modules often has something like 4000 files in it, this seems like a huge problem to me.
Especially considering the amount of redundancy in node_modules.

Uggh... unfortunately if the trust of the package distribution sites is violated then there's no other choice than to check in dependencies.

:(

I'm not happy about this at all.
I just can't bring myself to feel the author's anger, in any capacity. He wants to position this as a jab against those who build their own PCs, but that is utterly irrelevant. What percentage of those 600 million five-year-old PCs do you really think are being thoughtfully maintained by modders? Does the author realize that most people do not want the responsibility of maintaining their own hardware? Or that they don't have the knowledge to do so?

Allow me to paint a more realistic picture: many of those PCs are junky, dusty boxes, running some outdated version of windows, filled with bloatware and riddled with security issues. Inside them are a bunch of spinning platters just waiting to fail. And when they do eventually fail (due to wear, or a virus, et al), someone's Grandmother is going to be shit out of luck, with no way to get at her email, saved photos, or anything else.

A properly configured iPad, leveraging iCloud for device backups, photo backups, email credentials etc, solves all of these problems. And they'll even configure the iPad for you in the store, so grandma doesn't need to know how to do any of it. Do YOU want to be the poor sap attempting data recovery on a failed disk, then realizing that even if you do recover grandma's data, you've still got to go buy a replacement drive, find a copy of windows that grandma knows how to recognize, and install everything exactly as it was before you got there? I've been that guy before, in both a personal and professional capacity. You will eventually fail, memories will be lost, tears will be shed.

We must not gloss over the fact that the iOS ecosystem does solve some very real pain points for real people.
We needs blockchains for releases, projects, etc. are addressed by hash. Search for your project, the name can freely change, but the hashes are immutable and release hashes guarantee integrity of all subordinate artifacts (files, metadata). Perhaps if you want to public a new project, you have to first find a free "block", with basically linear (slowly increasing) proof-of-work. Then, for distribution, something like BitTorrent to distribute bandwidth and resilience across many systems (companies can choose to host their own complete public mirrors).
As the funny fact goes, in the System32 directory you have 64-bit binaries, and in the SysWOW64 directory you have 32-bit binaries.
Just going to add the obligatory http://thedailywtf.com/
This is widely known. What I find more suspicious is the fact that Tor still partly uses obsolete crypto (RSA-1024) that may specifically be open to attacks from governments. This was discussed in 2013 and apparently not fixed ("no time"...). Normally, such a situation would have devs hurrying to fix the issue immediately, as it makes the whole project potentially useless for a particularly important use case (evasion of government censorship/repression).
A lot of BMW owners frown on the idea of electric car, which could be a reason why BMW is not so bullish on electric cars.

Tesla and BMW are selling to a completely different audience.

Tesla does one thing very well, and that is to make great electric cars. Unlike BMW, Tesla does not have 30 models and hundreds of trims / power-train options.
New findings from Pluto mission reveal a dynamic world
Loratadine is in a completely different drug class than pseudoephedrine, the article is recommending it as an alternative to Benadryl.

Loratadine and Benadryl are antihistamines, pseudoephedrine is a stimulant that has a decongestant affect.

There's Claritin branded combo pills that have Loratadine and a decongestant, but "Claritin" in normal conversation should probably be reserved for the one active ingredient Loratadine pills.
Pay damages because someone else uploaded something by accident and you can't fix it? It doesn't work like that.
Because whoever wrote foo () was too lazy to make use of type traits and validate that T has a method called bar with zero arguments.

Do you want an example how to write it properly?

With or without the upcoming concepts TS already in GCC 6.0?

Also this example would require T to be an interface with a bar method in C#. Do you also want to the the variant with MI and pure abstract classes in C+?
As far as I can see, Apple 'get' the different use cases better than some others in the industry. That's why they've been reluctant to add touch screen to their laptops as Microsoft have done, because they don't see it being useful.

I think this was just an ill-judged offhand comment.

P.S. I'm typing this on an 2010 MBP which, with an SSD upgrade, still works beautifully.
My mother has been using exactly that - a 4 year old black Friday Acer laptop. 2 years in, she complained that it was painfully slow so I stuck an SSD and an extra 2GB of RAM in it. This past year the trackpad quit working, so we connected an old USB mouse.

Finally for Christmas I bought an iPad Mini for $199. It's so much smaller than the 15.6" laptop she had, so much easier to use, turns on/off instantly, the battery lasts all day. It's a huge improvement for her. Facebook, games, email, Facetiming her grandkids...

She keeps the Acer around for one thing - ripping CD's to sync to her SanDisk MP3 player.
When root or prod, the paranoid (like me) always start every mutating command with a '#' to prevent a sneeze from prematurely sending the command and doing damage.
> When Apple asserts that a desktop computer should be replaced by a locked-down handheld device with very limited capabilities, the odd thing seems to me is they don't realize these devices do very different things and fulfill very different needs.

Or they do, and they believe that many (if not most) of those users don't have the needs which require desktop computers.

They specifically talked about "600 millions of PCs" "over 5 years old" (a convenient cutoff for them as that's just around the ipad introduction, so those are pre-tablet machines as far as apple is concerned)

> I don't worry about the demise of the desktop because I'm nostalgic, I worry about the loss of power and productivity incurred by users with desktop-illiteracy.

Considering users aren't generally desktop-literate, there really is no loss there.

> There are many applications for which a handheld device, especially one with the limitations of iOS, is just not suitable

Just as there are many applications for which a sedan is not suitable. Does that mean sedans shouldn't exist, or that we shouldn't recommend sedans for people for whom they are a good fit?

> they succeed in their vision and breed several generations of technologically illiterate information workers fumbling their way through life with nothing but extremely limited mobile devices as their only productivity tool

There's nothing to breed, everyone who's made the error of doing tech support for their family knows they already exist and are the majority.
Slicedham – aggregated dev blog posts from all over the web
Blendle: Pay-per-article journalism platform that refunds you for clickbait
You misunderstand me. I agree that OOP is also a religion. If the video had railed against functional programming, I'd be inclined to post similar comments, with the words "OOP" and "Functional" swapped.

I don't know how to go about debating the merits of OOP, aside from saying it's convenient for things that... behave like objects. And of course there are multiple ways to skin a cat, so you can reply with alternate ways to code graphical widgets etc. And then I say you're putting the horse before the cart, and you say the same to me...

The only thing I'd be dogmatic about is that programming is still a complicated mess, and it will likely remain so for decades. Nobody has any of this remotely figured out, so it's probably best to be pragmatic, rather than commit oneself to purported "magic bullets" (whether they be OOP, POP, Functional, Procedural, etc).

My guess is that the real "magic bullet" will come from AI. I doubt human beings are smart enough to reason about what good programming practices look like. So until an AI comes along to tell programmers how best to design code, it's all just a matter of personal preference.
Some of my work VMs which are not intended to be generally accessible to the public are IPv6-only.

It's not that I need to restrict access to them, just that they don't need IPv6, since anyone accessing them usually already has IPv6, and dual-stack is extra work.
That slide was really bad. It's not about being easily offended (I have no reason to) - but it pokes a hole into the first half of the event, where Apple tried to present itself as a green and caring company.

It's such an obvious mistake that I wonder nobody at Apple has pointed that out during the rehearsals? The thing about old PCs being designed 'before social media' was dumb, too. This is a "pro" tablet, right? How does it matter if it has a Facebook app?

This is the same Phil Schiller that is now in charge of the App Store, and as an iOS developer, I find the carelessness a little worrying.
Then what can it do on iOS <9.3?

You can load any code you want by signing it yourself, so if this lets you escalate from there it should work for a jailbreak, although a more complex one than usual. IIRC some jailbreak releases used developer certificates to get the first code running.
Yes, it seems like it's a standard WordPress blog - for future reference with WordPress just add /feed/ to the end :)

thecooperreview.com/feed/
frontpage for the last 12 hours: https://news.ycombinator.com/item?id=11340510
"Ending is better than mending"

For the uninitiated: http://www.enotes.com/homework-help/ending-better-than-mendi...