skysight-inc/HackerNews huggingface dataset:
Why parrent comment was downvoted?

Major Linux distributions (Fedora/Debian/SuSE/etc.) are excellent example of proper solution for the "dependency hell" problem for C programs. JavaScript is the new C, but for web, so same solution will appear for same problem.
The collections criticism is bizarre. How often do you actually have to use "unsafe" in practice? Collections is one example, but it seems to be quite atypical, and not something you'd typically implement yourself.

The argument has always been that it reduces the amount of code you have to check for safety manually. Most of it will be checked by the compiler. Have you run into the problem that most of your code is unsafe?

I've only started dabbling in Rust for some projects, but I've not had to write a single line of unsafe yet, and don't see where that would change.
The author calls it "justice-as-a-service" because it fits the mnemonic.

The article is really talking about automated consumer rights services, which is something quite different. In that, helping consumers take maximum advantage of what local, state, or federal law offers them could certainly be both a helpful public service and a lucrative market.
Let's remember that NPM Inc has also been toying with the idea of banning IPs associated with "bad people" for behaviour outside of NPM itself.

In other words: they think it's morally justifiable to ban a company's IP address(es) from the NPM service because one of their employees said something objectionable on Twitter (not involving NPM or any of its representatives). And what should the company do if their employee gets them banned? Why, fire them of course.
Ask HN: Aaaargh?
I've heard rumors of a website possibly dating back to the late 90's where academic texts where shared and discussed, but that were invite only. The name was something like aaaarg.org, aaaargh.org, aarg.org, etc. Possibly related to Sweden.

Has anyone heard of this site? Or know were it might be located now? Or maybe a similar site?
Mmmh, that has never happened to me. That is just plain mean.

Now that I think of it, I have seen that happen, but the reply was inevitably "I have already googled the question to death, without finding any useful results."
Yes, thank you. I was kind of thinking of that one but too lazy to look it up.
Does this series of tweets [0] seem rather odd to anyone? He seems to be calling people soulless and pondering his own "Power and Responsibility".

[0] https://twitter.com/izs/status/712510512974716931
it's not only that; this story is also about using a more robust checksumming so that you can know whether the transmission was actually successful.

But if latency is what you care about the checksumming has to be done on the receiving end, and that's the device you're actually flashing.

So, the trick is to upload a short program on the target device and let it take over the flashing process. This way you can go beyond what's provided by the default flashing protocol shipped on the device's ROM.
Right, but you're rolling two issues into one.

I agree with you on the creating something obvious part, and the patent perhaps shouldn't have been issued (though scroll down for more discussion on that, it's more complicated than it seems at first, and it looks like prior art is more of a concern that obviousness - the patent is not simply for "foam arrows").

But restrict you from making something they designed and won't sell you?

Well are you making it to sell or for personal use? Making it for personal use, I agree, and I think it's unfortunate that the law does not.

Selling it, which is what the defendant did? No, that's the point of a patent.
Signed Git tags reference the same hash (commit id) that you could pin against directly.
Lean Software Development Fundamentals
I use the latter almost religiously. Also can be useful to add a LIMIT on the end, just to guard against an UPDATE running amok. And I tend to write my queries 'backwards' (e.g. starting with the WHERE clause, ending with the "DELETE", to guard against executing the query prematurely.
Looks like fenced blocks are part of the spec - will you be adding them to SO?
"wrong assumptions, no market for the product, etc"

Been there, done that!

However, to stick to the subject of databases - I found later in my career that the really alarming events are more to do with having data you shouldn't have rather than not having data you should.

NB The only one of these that I'm going to admit to involved a demo application being sent out on CDs to hundreds of thousands of end-users by IBM and sample data sourced from a particularly unpleasant alt.* newsgroup - I was CTO and when an engineer approached me and rather sheepishly told me that some of the same data had gone to IBM I had a very bad moment indeed.

However, on investigation it turned out the only thing that did go out on the CD was the single word "sheep".
plus making it work w/o hw flow control and using better digests for integrity checks and (in case of F&C implementation) minimizing the amount of data to be written.

it's all pretty common. the most difficult part was figuring out the "stub environment" and reverse-engineering existing rom to find the necessary parts of functionality.
e.g. how to reboot into fw correctly after flashing.
Which I might be able to use by 2020 or 2025... Enterprises are still dragging along on IE8 and 9.
Wow, super simple.
I dont know what has been taking me so long to try this out, thanks a lot!

Took a look at the site and I signed up, some words of caution for anyone looking for the paid edition, but it works well for me:

* You cannot display this information publicly in the free tier, and you must display their logo for attribution on their page at a specific size they mention in their TOS.
* They want your phone number for some reason.

* On the other hand, the api (AYLIEN https://developer.aylien.com ) either changed their limits or you might be just mistaken, it looks like the free tier is 1000 calls a day now, which is awesome!
Unless one of those modules is used as a dependency in a lot of the other modules that you use, in which case a bunch of different people all need to update before your project is fixed. Which is exactly what happened in this case.
Gusto is hiring React/Rails engineers to build payroll, benefits, and HR
Surely you all jest. Simple script in Any Real Language to scan your HTML and, if desired by all you JS junkies, your JS and compare your CSS to each page and spit out report by frequency of us on each page.

From not-used to most used. So, example:

0 .hr

1 .dt index.html

7 .h1 index.html (5)

about.html (2)

Something like that.

But seriously, does anyone really care about performance anymore? Nah! Just stick all your bloated code to the browser and someone else's bandwidth, right?

We lost the battle once Eric Meyer started extolling resets. Never mind that 99% of sites that use a Reset never even bother to delete the rules they don't use (and likely never would).

I just got done trying to view a simple five paragraph article on CNN which had three popups (thanks JS!): a TOS update which I didn't read, a "breaking news" banner about an arrest in Brussels (also not read), and on obnoxious video ad from AT&T. After three minutes and two refreshes, I gave up when everything on the page loaded, including the thumbnails and images to a dozen other "related" articles, as well as summary headlines in business, world, etc - everything but the last three paragraphs of what I actually came there to read. So excuse me if I'm jaded. Hating the poor performance of all internets right now, particularly on mobile.

And don't even get me started on the concept that CSS per-page exceptions could benefit from inclusion in the HTML code (gasp! inline!). Another whole pet peeve of mine. Don't even try and babble about browser caching "benefits" to me. We both know it's a wash and a lazy developer excuse. Fine tune, fine tune, fine tune. That's your job, so someone please start doing it.
Way to go FCC, now manufacturers are locking down routers
About time somebody has the balls to stand up and do the right thing!
Because AI is easier to copy. For example, Now you can play chess with an AI opponent that is better than the word champion, all you need is a notebook. (I'm not sure if the iPhone version is strong enough.) IIRC Carlsen use it for training.

What about getting an medical exam by an AI that is better than a human doctor?

(Just in case they plan to throw us away: Try to be nice with them.)
Ah, I understand the confusion now. I'm not 100% sure how that code works, but I do know it uses estree and that case is tested for, nearly verbatim. Here's a link to the source which handles that sort of stuff.

https://github.com/rollup/rollup/blob/6fc8631ba1aad718885151...
You are probably referring to:
http://arxiv.org/
Missed point error. I made no comment about ARM.
I'd go with "inaccurate" then.
Good evidence that if you try hard enough you can be offended by anything.
IIRC a brisk walk (faster than natural walking pace, but certainly not a jog) qualifies as moderate exercise in many studies. If that is so here then 2.5 hours is not nearly as difficult to achieve as you might otherwise think. Caveat: I've not read the report so I don't know if they explicitly define what they mean by "moderate".
I have no idea how the two points in the article are the only takeaway the author had. On point one, Apple has never been the cheapest at anything. Although they have been offering more low end options as of late they are still not a 'budget' manufacturer and likely never will be.

On point two, it is absolutly possible that a 5 year old machine still runs fine. Depending on the machine! A 5 year old macbook pro is still pretty capable. A 5 year old acer laptop that you got at a black friday sale... not so much. I think this is the level of user they would like to have switch and it's not that far fetched.
> Developers: less dependencies is better, especially when they're so simple!

I tend to agree, but this is conflating the issue of having dependencies with delivery.

It's perfectly ok to build small and compose large, with some of the smaller constituents being external dependencies, but the problem here is that the delivery of the packages isn't immutable and static. When you publish a package to npm, you don't publish it along with a copy of all your dependencies (by default, there are mechanisms to do this however.) The external dependencies will be pulled in separately when people install your package. What you're suggesting could still be done with an external dependency, just by making sure you it's only external at development time, but at publish it is truly bundled along with your package. This obviously comes with other costs, like the inability to dedupe packages.
Several things:

- disks (SSDs) are very fast now, so cores are saturated more easily (when queries actually process the data instead of just reading it)

- multiple parallel (random) reads will likely be faster on HDD and SDD to some extent (esp. on larger RAID setups)

- the best optimization is still lots of RAM and people have that these days, so 100% CPU utilization during queries happens more often than not (the benchmarking setup seems suitable for more than 1 billion rows...).
Making mistakes is acceptable - catastrophic failure is a different story.
In virtually every case for these bug bounty programs, that number is zero dollars.
Since Apple sells hardware, of course they will find it sad if people don't buy new hardware all the time. But it's nice to see them being (unintentionally?) honest about it for once amidst all the marketing.
The official rite of passage that turns anyone into a bona-fide sys admin. The equivalent to running your production server on debug. D:
UI Sounds: Musical – Free and Premium SFX Kit
The ability to "unpublish" a package is fundamentally strange, because it enables situations like this.

It's also strange that people put so much trust and faith into a private company to host and distribute packages – largely for free – and then rile against them when they do stuff like this with infrastructure they own. NPM is not some free and open space, it's a private company with private interests. You should expect them to do whatever they need to protect those interests – which may or may not coincide with public interest.

I hope this resolves in more people getting involved with projects like IPFS and Nix, that may ultimately provide some recourse to the issues of centralized package management.
RFC7763: The text/markdown Media Type
Wow. Is this how far the author had to dig to find something to complain about? Yes, companies will frequently give you some marketing spin to get you to buy a new version of a product. And yes, you should use your head to figure out if you a) need it, b) can afford it. And no, it's not an insult to those that decide not to buy the new product.
Wait, over 50ms is high latency now? That's less than transatlantic traffic delays, for example. I think you have to be in the actually noticeable (say 250ms plus) range to count as high.
Bill Gates is backing a waterless toilet that generates energy from human waste
> The facts that Rust is quite young, has no shipping hero project as a case study and there are basically no jobs available are adding fuel to the fire.

That's a bit of a misrepresentation though. Rust code is shipping in Firefox, and more importantly, Servo will have an alpha release in June.

The close integration between Rust and Servo development, as well as the rigorous pre 1.0 process also set it apart from other languages of comparable age.
Oracle Attacks Postgres in Russia
Interactive visualizations with MapboxGL
House of Fun Slots Free Coins
Testing complicated failover systems is hard. Testing backups is not. Especially if you just do a full nightly backup and not something more complex. The options range from "manually restore a random 10%" to "write a moderately complex script to automatically restore and validate everything".

Those all look like more trouble than they're worth before you start, but they aren't that hard. And you'll recover your whole investment the first time you need to restore something and it's just a simple tweak to your standard test practice.
Edit: Current HN discussion thread here https://news.ycombinator.com/item?id=11341955

----

RFC7764 has also been published:

> Guidance on Markdown: Design Philosophies, Stability Strategies, and Select Registrations

https://www.rfc-editor.org/info/rfc7764
... but it seems to scale linearly for 2-10 cores, isn't that good enough? Looks like a big win on very modest systems to me.
By complying with kik's request, npm has set a precedent for library authors that basically means: in doubt, you will lose your package name, even if you dispute the trademark.

This means npm apparently wants everyone to handle trademark disputes like Jade did: https://github.com/pugjs/pug/issues/2184
I think "fluff" is the wrong word. However I find it extremely difficult to imagine some of these companies earning > $1bn, which is what VCs are looking for. If you're not gunning for > $1bn in valuation you're essentially killing your company by giving away equity to VCs.
"parts of the web are going IPv6-only", "Certain web servers have been going IPv6-only of late" - Really? Which parts of the web? Why would anyone configure their servers that way?
Does anybody know if this also concerns drugs taken with an inhaler? I use an inhaler for allergic asthma and am not sure if the drug is "anticholinergic".
OSX was alleged (by Apple, even) to use PDF as the display language, but Quartz just has an object model that maps very nicely to PDF, making PDF transformations and export very easy.
Missed point error: they are different products.

Regardless of people buying smartphones and owning multiple devices, PCs are still selling well. In fact, they are selling in greater volumes than in most previous years.

Smartphones also benefit from their high junkability factor. A decent PC now has a useful life of around 5 years, so sales should be half what they were when the average life was 2.5 years.

Smartphone sales will also halve when they last 3 years instead of 18 months.

> PC sales, even as narrowly defined by IDC

IDC's PC numbers are artificially depressed because it doesn't include tablets and 2-in-1s. So when Microsoft sells a Surface Pro 3, IDC doesn't count that as a PC.
I would have a hard time not to say "what's return doing in the browser? Last I looked it was on the keyboard".

I guess that's why I get hired by sarcastic people a lot.
My Ipad mini keeps getting slower and slower. soon it will be a Kindle
Well-spotted, actually maintenance is as well.
Akin's Laws of Spacecraft Design
I dont use mysql, but it actually has a command line flag to help with this problem that always made me laugh, --i-am-a-dummy

This is an alternate form of the flag --safe-updates, this option prevents MySQL from performing update operations unless a key constraint in the WHERE clause and / or a LIMIT clause are provided.
> Then again, a web browser is probably far messier in terms of what input is has to deal with.

That's the ticket, the browser does have a large attack surface but more importantly it's supposed to safely execute completely arbitrary and untrusted payloads. In the same category are pretty much all of the usual suspect of security issues: flash, java (applets), …

Most interpreters are only fed trusted payloads, lest the developer starts eval'ing stuff they got from god knows where, and in that case the fault is usually laid to the developer's feet rather than the interpreter's.
I agree with parent that using transactions is good practice. In general, naked SQL on a production DB is a bad idea - it is not different to running untested coded in a production environment. Why risk it?

Transactions are a sane safeguard if you absolutely must run SQL on your production database.
The new stuff (OTC with phenylephrine) only works as well as a placebo.

That's going to depend on the person, at least as a nasal spray, for me at least it has a noticeable effect that I'm certain isn't placebo. Back when I took it, systemic oral pseudoephedrine (Sudafed) was noticeably better (stopped that route due to it exacerbating my anxiety).

Fortunately, there are nasal steroid sprays, and 2 of them are now OTC, and you can get a prescription for the azelastine antihistamine nasal spray (Astelin, Astepro), the latter ought to pose little risk to your brain. A combination of the two, with occasional very short courses of nasal spray phenylephrine (4 hour) or oxymetazoline (12 hour) curbed my rate of getting sinus infections from more than 1 a year to one every few years.
> "On point two, it is absolutly possible that a 5 year old machine still runs fine. [...] A 5 year old acer laptop that you got at a black friday sale... not so much. [...]"

If you take good care of your computers they can last a very long time, even cheap ones. Still, the person that bought that acer laptop on a black friday might be one of the people that fall into door one.
When it comes to privacy concerns, people can be highly selective. Look at the lack of furore over Google Android compared to Windows 10, for example.
The people writing UNIX put all their brains into writing a stupid system.

Also, there are now CoW Filesystems that prevent data loss because of human error. Btrfs and ZFS are good examples.
What about Zyrtec?
Which is part I agree with, I said it's easier to convince population to change definition of "normal" and decrease standards, than make them do any kind of healthy stuff.
Duplicacy: cross-platform cloud backup tool based on lock-free deduplication
You remind me of Tim Berners Lee in his TED talk: Raw data now! Raw data now!

You're right though. Of what worth is a paper without data, without code, without all the relevant resources. It's nothing but an appeal to authority.
That was with an inhaler?

The study says the effect was dose dependent, so with any luck your brain wasn't getting all that much....
I've just published a draft paper on an entirely different approach to the same problem: instead of creating a higher-order Prolog, we've discovered a functional (and so higher-order) analogue of Datalog, a more limited language (http://www.rntz.net/files/datafun.pdf, on github at https://www.github.com/rntz/datafun)

This idea of a higher-order Prolog is very interesting! But it's not clear to me how it can be truly extensional without further limiting the language. For there is another reason why Prolog is not extensional: non-termination. As a simple example, consider this program:

q(X) :- q(X).
q(adam).
p(adam).

`p` and `q` are logically equivalent (the line `q(X) :- q(X).` is a no-op; of course a predicate implies itself). But in Prolog, `q` is a useless, nonterminating predicate. This problem is not a simple quirk: provability in even first-order Horn logic is undecidable if you augment it with compound terms & unification (as Prolog does), so there is no general algorithm for deciding Prolog queries.

It looks like extensional higher-order prolog should have the same problem. The article doesn't address it, so I'll go read the papers.

EDIT: The relevant research papers on Higher-Order Prolog, if anybody is interested: http://arxiv.org/abs/1106.3457 "Extensional Higher-Order Logic Programming"; http://arxiv.org/abs/1405.3792 in which they extend it to negation; https://github.com/acharal/hopes the implementation's github repo
The good thing is that IPFS exposes an HTTP API, so doing language bindings should be quite easy. For example, JS bindings for IPFS: https://github.com/ipfs/js-ipfs-api
If healthy is atypical and unexpected in a population, then it isn't normal. I'm pedantically suggesting that healthy is currently the abnormal condition (and one that clearly needs remediation).
The rules of the game have changed. Welcome to the post-PC era
That's very inspiring but are you talking about something like US $300000/year? Or are you in a low-cost-of-living situation... US$30000/year? "3x the money you make a normal job" could mean a lot of different things !
Something like an Ethereum contract could be used for this. And the smart contract could also allow for deprecating/flagging bad releases as long as the transaction comes from the original author.
Reminds me of an incident at a very large UK company where the outsourced operator manged to destroy all of the payroll tapes.

First run fails second run loads backup tape into a malfunctioning tape unit which then trashes the tape - they kept doing this for all of the backups.

This was the second month of the new out sourced payroll system replacing an in house one which had run for decades without incident.
Admit it - who here hasn't read this and not gone back and tested their restores?
Simple solution:

BEGIN TRAN
DELETE (without where clause)
UUPS!
ROLLBACK

That said it would be not quite honest that there wasn't an incident in my past, which enforces this policy. Always! Without fail!
I couldn't agree more. When I read your enormous procedures full of inlined functions, I still have to break it down into discrete, logical chunks in my brain. This is work, and there's a real chance I'll get it wrong. If you do it for me, I'm much more likely to understand your program in the way you intended.
Verify hreflang meta tags for international websites