skysight-inc/HackerNews huggingface dataset:
How about under stress you have trouble remember the password, and thinking of the wrong password, can corrupt your knowledge of the right password (in my experience and knowledge this can actually happen yes)? How about old encrypted backup zips ? Encrypted media files from your browser by media streaming services ? How about pressure ? How about some people cannot remember a password without being in the right place (yes this exists) ? How about passwords you use for more then service ? What about public encryptions keys stored on your computer, are they encrypted data or random bytes ? How about the stenography data probably encoded in the music you downloaded from your music provider ?

These sort of laws create many problems one can not hope solve without a few punishing/ruining the life/killing of a few innocent bystanders.
Today, Homebrew does have some major shortcomings. The biggest one that comes to mind for me is the fact that it only seems to consider the dependencies of a package during its initial installation. That is, if A depends on B, installing A will trigger an install of B. However, after that, Homebrew will happily let you uninstall B (thus breaking A) without so much as a warning. Less critically, it doesn't track the fact that it only installed B for the purpose of making A work, so it can't help you clean up the left-behind-dependency cruft from the stuff you've since removed.
JSON properties processing
The body of this piece is much less alarming than the title:

The CACP is merely an advocacy body and resolutions they pass have no effect on the law of the land. Moreover, the organization has a history of asking for powers that go well beyond what the law currently allows.

Here's hoping this advocacy group get shut down again. The Vice article is already citing strong academic pushback to this nonsense.

Though on the other hand, ever since Bill C-51 was put in place, I've had less faith in the Canadian government in these matters.
At the risk of sounding like a Carlsberg advert, XPS13 is probably the best laptop I have ever used (if not the best computer).

Still has windows 10 on it (my only windows machine) since I need occasionally to use the latest versions of office, and I use eclipse for the odd bit of programming I need to do away from my main dev machine (common workspace with linux is awesome).

Macbook Air was good, in 2008. couple of the staff use them.

Be aware, unlike the Macs the different versions of the XPS13 over the years are very different machines. Only this years model has the 14 hour battery life for example. But many stores (such as Amazon) stock old models.

I was actually commenting to collegues last week that Dell appear to have become the world leader in "real" computing - laptop, desktop and server. They have a lot of skeletons to shake though before they are perceived that way.
It seems doubtful that income inequality is inherently bad, but perhaps it's strongly correlated with things that are inherently bad (i.e. suffering, if you ask me).

Consider a society A, and then society A+ which is identical except the most well-off person is twice as well-off. It's hard to see how A+ could be worse than A in any way. Maybe there's an even better A++ where A+ has some redistribution, but that's another argument.

We don't mind inequality within lives (nobody says it's inherently bad to have most of your happiness distributed toward the later half of your life), so we'd need an argument why inequality across lives is bad.
> Haskell doesn't have a type whose value inhabitants are the integers and nothing else

Sure, I get that, but I don't get the practical consequences for reasoning. In Haskell, if you write

myIntFunction !x = expression

then within expression x is an integer and nothing else, the same as if you'd written

let myIntFunction x = expression

in OCaml. So I understand how it differs theoretically. I don't understand how it differs practically.

What's an example of something you wanted to prove in Haskell but couldn't, because it wasn't strict?
http://www.popularmechanics.com/space/deep-space/a10885/the-...

It only has to be thick enough to reflect light.
Salmonella can infect all animals, so you can not eradicate it this way.

But you can stop it being a problem in human food. Which happened in Europe already and would happen in the US if consumers would demand only vaccinated eggs.
The "card machine is broken" line is consistently used by most London cabbies. They're being forced into accepting card kicking and screaming by regulations towards the end of the year https://tfl.gov.uk/info-for/media/press-releases/2016/februa...
Clinton and Trump Are Losing a Lot of Young Voters
While there may be value in preserving those cultures. What tends to happen is outsiders say "We want to preserve that interesting way of life in case it's useful to us oneday. Hey you natives with nothing better to do all day, why don't you keep using it so we don't have to? You won't need English in your remote tribe." Then the poorest people in the world end up lumped with the huge task of maintaining a language for the possible benefit or mere academic curiosity of others. Instead, they could just learn English as children and gain access to greater opportunities in the global economy.
Just a tiny nitpick: the "ng" in "English" is actually a bit more complicated than just "n" plus "g". The "n" is actually a "ŋ" (the "ing" sound without the hard "g") and the actual "g" is often dropped in colloquial pronunciation and part of the second syllable otherwise. So it's either "eŋ-lish" or "eŋ-glish" but never "eŋg-lish".

And don't get me started on English speakers making fun of the Japanese "r"/"l" sounds when English doesn't even have a proper "r" sound in most dialects -- as a native speaker of a language with an uvular ("back of the throat") "r" sound the alveolar ("front of the mouth") "r" feels more like an "l" to begin with.
It's funny how you name Windows kernel in a comment about symbolic links, considering that it _misses_ symbolic links.
Most probably yes. Linux desktop in general has been killed by OS X and -- on a very minor extend -- by Chromium OS and, honestly, that was easy to kill. Kde is probably the first evident victim of this
Well, not really. ES5 allows trailing commas in object literals too.
Same for Russia, Italy, and Spain from what I've seen. Though (anecdotally), I remember my sister leaving some throwin' eggs to funk up next to our house in order to pursue a feud with the local paper boy, so they're not totally indestructable.
10,5GB for latest Xcode which is kinda far from a trivial download size or space requirement.
I highly, highly recommend getting in the habit of consulting OS syscall documentation for stuff. The behaviour of the syscall determines most of the behaviour for this stuff in every language(few exceptions like stdlib buffering, etc). The linux syscall docs are pretty easy to consume even if you don't write C. "The Linux Program Interface" is an awesome book based on the man pages(by the main man page maintainer). Not sure what exists for Windows in the same vein book wise, but technet or something surely has what you NEED.
Well, there's also gentoo ;)
I'd see a trailing or leading comma as a potentially null, or undefined. It's intentionally against spec. I personally see the concatenation an issue in particular with streaming. Streaming JSON objects and parsing them on the fly is a pain, usually requiring a SAX parser. To concat two objects though, I feel like you could just merge the two, if you are okay with appending two arrays, if you had to merge two JSON objects you could. Numbers I seen issues with, I've had to store numbers as strings before, there is guidance however, the official ECMA-404 spec for JSON says there can be any number of digits following a "." in numbers, then optionally followed by an "e", "+" or "-" and more digits. For parsing then, it would be limited by the data types available to the parser. Since JavaScript itself is 17, so that would be the default maximum for JSON IMHO. However, different libraries for different languages may not have 17 for the native decimal types.
Ditto! I also find I tend to prefer the way macports is organized.
I have some properties that I AirBnB in France and we pay the hotel taxes just like the hotels. So that argument that AirBnB properties don't have to pay hotel tax isn't true. And the tax isn't even that much. If a hotel is on such a tight margin that €0.80-€2.10 per occupant per day is a hardship, then they have bigger problems. We also get to pay property tax, habitation tax as well as income tax. Yet here in France the hotel business still lobbies against AirBnB.
How many famous intellectuals from before the 19th century came from the lower classes? That is what we will return to.
For eggs right out of the chicken, that is correct. However, in the US almost all eggs sold commercially have been washed with a detergent solution to clean them and make them more uniform and appealing. This washing process removes a natural coating on the outside of the egg that makes them more vulnerable to spoilage if they are not refrigerated.

If you buy your eggs from a supplier that doesn't wash the eggs, then you can leave then in the counter for a long time. If you buy then at the supermarket, they have likely been cleaned in a way that makes it dangerous to leave them at room temperature for an extended amount of time.

http://www.npr.org/sections/thesalt/2014/09/11/336330502/why...
The main reason for going Mac IMHO is the OS which feels like 2016 compared to Linux. If that's not what you want go for the XPS
Obviously the logic is mystifying, but the math behind this is baffling as well:

https://en.wikipedia.org/wiki/Taxicabs_of_the_United_States#... says there are 1825 cabs in Boston. Boston is 10% of Massachusetts' population, so let's say there are 18k cabs in the state.

http://www.reuters.com/article/us-massachusetts-uber-idUSKCN... says 5 cents/ride-hailing app will go toward taxis, and Uber+Lyft do 2.5m rider per month.

So, the tax will produce 2.5m rides/mo * 12 months * 5 cents/ride = $1.5m/year.

That works out to... drum roll... $83 per taxicab per year. How is this supposed to help taxi drivers with anything? Maybe as ride-sharing increases, this becomes $200 or $400 per cab per year, but that's still a small sum. I imagine a few hundred dollars is a small consolation when you lose 50% or 90% of your business.
> How do you know? My impression is that most taxi drivers are very busy adapting. But I don't know either.

The taxi driver I was taking with was mostly adapting to special-purpose taxi services like delivering IKEA furniture. That already meant a big revenue cut for him in contrast to normal taxi service.

I asked him about Uber and he said last time it was completely impossible to make living for him based on the revenue you get from Uber routes.

Self-driving cars weren't even part of the long-term plan back then...
> Scintillators are able to resolve particle energy

No, scintillators only detect a particle going through.
So how would you solve the problem based on that experience?
Gold Trap
Why, does it need any?
Not to mention the blatant racism of many taxi drivers.
Samsung Galaxy Note 7
Show HN: Vulners-scanner. Vulnerability assessment tool
It's much simpler than that. A judge orders you to give police access to your account. Regardless of whatever labyrinthian setup you use to unlock the actual credentials, and barring a stay of the order pending appeal, if you do not give police access you will be held in contempt of court and you may be sent to prison until such time as you comply with the court order. Claims of "but technically I don't actually know the password" are going to impress a judge as much as an argument of "but technically it was the bullet that murdered him" would.
What if they can't because they literally have not enough time to go back to school - because they need most waking hours for work, otherwise they couldn't cover their costs?
> How about under stress you have trouble remember the password

Reply will be: "You'll get plenty of time in jail to relax and think about it".
Per the documentation this seems to be the case. However, I'd be curious to know if the implementation of the symlink syscall does or does not fsync the new file while in kernel space...

The fact that it does or does not should actually be in the documentation IMHO; probably a good enhancement request.
In high school I was taught that it correlated with mental illness.
Gorilla Glass 5
Define a 'proper' wage please? I don't know what that means apparently. I would think it would be a wage at which the supply curve and the demand curve meet for your particular skill.

However if seems that you're implying that people ought to get paid more than the demand curve for their services would support, which is why I ask the question because that would be absurd. That would mean that someone else would have to subsidize this person by paying a higher price which would reduce demand for the product.

Only the market can raise wages in any real way.
Well, if you want a correct result with negative numbers, you have to implement the modulo operation, not remainder. The distance in the example can be negative, so can be the sum, but you want the resulting position to always be positive.

There are other instructions that probably deal with returning a proper fixnum. If I remember correctly, the CLC before the RET is to signal that there is a single return value, not multiple ones. I am not saying that there aren't possible optimisations, but (i) some things are tied to the existing computation models and (ii) SBCL developers have limited resources.

See also SB-ASSEM to emit machine code (https://www.pvk.ca/Blog/2014/03/15/sbcl-the-ultimate-assembl...).
I've ridden cabs in both Boston and Cambridge probably about 30 times over many years and every single experience was totally fucking horrible in lots of different, equally hilarious ways.
How is it a security risk?
1) The author does. Z means UTC.

2) The JS Date type has a "toISOString" function that emits an ISO date time string like the ones used in the examples. Since everything else is already based on what JS does, why not just move that behaviour into the JSON spec as well?
I would like timestamps introduced as a first class citizen, and can be done relatively cheaply. As the OP said, they are very common in protocols, and it would be nice to have 1 way of encoding them. Especially 1 that doesn't involve an arbitrary offset...

The other suggestions are interesting, but rather distracting IMHO.
For some HTML mails, it is sufficient to use a mailcap file in combination with lynx or w3m:

# ~/.mutt/mailcap
text/html; w3m -I %{charset} -T text/html; copiousoutput;

# ~/.muttrc
alternative_order text/plain text/enriched text/html # save html for last
auto_view text/html

If you want the full HTML experience, you can use this script [1], which uses python (there also is an older bash version) to convert the mail into standalone html to be viewed inside a browser.

# ~/.muttrc
macro index,pager M "<enter-command>unset resolve<enter><clear-flag>N<enter-command>set resolve<enter><pipe-message>viewhtmlmail\n" "View HTML in browser"

1: https://github.com/akkana/scripts/blob/master/viewhtmlmail
The Resurgence in Public Market SaaS Valuations
Because it helps the ecosystem?
Oh, I would believe it alright. I would have emailed you too at the time. As much as she is the cliche Hollywood leading, she is not. There was enough of the fringe then, and still, that it appealed to my fringe self ;)

Anyway, I never took jobs in infosec, or IT after having had gained all of that experience with the exception of an DBA position when times were tough. I left computers for work, and only use them for fun - coding, animating, livecoding music and visuals, and amateur game dev. Oh, and geeky mathematics stuff!

I was jaded by the office cube syndrome, and web dev becoming the 2000s equivalent of becoming a word proccessor in the 80s (remember that? Learn Word or WordPerfect and earn big salaries?). Nobody correlated it with just transferring typing skills to a computer. There was the occasional hacker/guru who wrote mail merge macros and such, but after the low-hanging fruit was had, it was spellcheck all day!

I went on to do things like technical design, engineering and fabrication of show action equipment, technical diving to service underwater electrical and hydraulics, rope access work, and multimedia, and other stuff where I could apply code in creative ways - automation, math visualizations, and multimedia.

Can you introduce me to Angelina? Oh, never mind, Brad would kick my butt!
No, you want to fsync() on the directory, not the "tempfile", and after the operation, not before. Consider:

d=open("."), unlink("t");
/* 1 */ symlink("new","t");
/* 2 */ rename("t", "link");
/* 3 */ fsync(d);
/* 4 */ close(d);

Crashing, at (1) nothing has happened yet, (2) we might have "t" or we might not, (3) we might have "t", or not, and we might have "link" pointing to "new" or "old", but we can't have "link" pointing to anything else (or empty), and finally at (4) the change cannot be reverted.

You can insert a second fsync() where you suggest at point (2), but all this will guarantee is that we will have "t" in the directory because the symlink contents are part of the directory they live in. This might be useful for some applications, but the cost of two disk writes is high enough it may be worth redesigning your application.
You believe that it was the strength of the middle class that drove the high growth rates the US experienced in the 20th century?

And you think that the relatively low growth rates we see today are attributable somehow to high levels of inequality, and the resulting decline of the middle class?

Well, that sound about right. But I wonder, who are the mainstream economists that are making that same argument? Because the only advocacy for reduced inequality I read seems to ground its arguments in the logic of humanitarianism and social justice.

Maybe I'm not reading the right things. The fact is, though, that while humanitarianism and social justice are nice, the reason that I myself am worried about inequality is that it seems to be making the pie smaller for everyone (at least relative to what it should be). I wonder why people advocating for reduced inequality aren't making the growth argument their first argument.
https://en.wikipedia.org/wiki/NTFS_symbolic_link
But it's different data.
People use google and facebook with zero expectation of "privacy" - in fact, not being "private" is the actual reason they use them.

Its a very big step to be in a situation where [i]everything[/i] you do on a computer comes with zero expectation of privacy, despite the corporate attempts to machinate the two because cloud.

I'm seeing a greater and greater move to "airgapped" (network but not internet connected) machines in the home for exactly this reason. (even if it is still very small scale, that's where these trends start).

I'm currently looking for a solution that blocks all connections by default for the entire network, with a simple gui to allow failed hostnames/ip addresses and with the option to demilitarise one or two server style machines for torrents and cloud services that then serve only that content to the rest of the internal network. (like hostfile blocking only at the IP level and defaulting to whitelist).
Something like a blend of IPTABLES and wireshark with a simple ui.

I know they exist (I've seen something similar in large corporate offices), but not seen anything for SHO.
Why not a social safety net and access to education for everyone, rather than trying to protect specific industries?
It doesn't sound like you've ever been poor. Quality of life is about far more than the goods you can consume. It's also about job security, your chances of getting promoted, autonomy, fulfillment, and so on. If you know that you're [absolutely screwed][1] if you get fired, or get sick, or miss a paycheck, you don't really get to feel safe.

[1]: www.forbes.com/sites/maggiemcgrath/2015/01/07/majority-of-americans-are-one-surprise-away-from-financial-disaster-survey-says/
Ask HN: How to obtain the FB activity logs of a missing person?
A person I know has gone missing, and the last bit of information about him is a Facebook post that he posted 3 days after any of his relatives have heard of him. It has been more than 15 days since he has gone missing, and his relatives came up with the idea to inspect his activity logs with the hope to locate where he was, and whether he has logged in on Facebook again.
Now, this sounded like a scenario that has happened before, and I googled for some information. It turns out that only a law enforcement officer can request such activity logs: https://www.facebook.com/help/174766325911479?ref=u2u. I would want to know if there is anything else that could help to speed this up.
Another way it might go is something like this:

User always downloads everything to a proxy browser (maybe in the cloud), renders everything, runs all JavaScript, and lets it send back tracking info etc. But the User doesn't see that.

What happens next is basically AI-powered filtering: all ads and tracking and such is filtered out using classification (something like how spam filters work today, i.e. machine learning). The filtered version is what gets sent to the User.

This isn't a new idea. Amazon's Silk browser/system [1] is in the same ballpark. No doubt there are others.

The ironic aspect of this approach is that some of the leaders in classification (machine learning) are Google and Facebook, the two companies profiting the most from ads.

[1] https://en.wikipedia.org/wiki/Amazon_Silk
From what I've read, in the US eggs are washed and sprayed with sanitizer, to reduce risk of salmonella infection. Unfortunately, this increases the chances of bacteria seeping into the egg through the shell, as the shell's outside layers are damaged during washing.

In most European countries, salmonella is controlled in place of production, and egg production at least in the Nordics is salmonella free. There are strict controls and regulations in place to keep it that way. In this environment, the risks associated with egg washing outweigh the advantages.
Nice catch! It is indeed closely related to cellular automata. CNN processors could be thought of as a hybrid between ANN (artificial neural networks) and CA (continuous/cellular automata) [1]. Like neural networks, they are large-scale nonlinear analog circuits that process signals in real time. Like cellular automata, they consist of a massive aggregate of regularly spaced circuit clones, called cells, which communicate with each other directly only through their nearest neighbors [2].

The topology and dynamics of CNN processors closely resembles that of CA. Like most CNN processors, CA consists of a fixed-number of identical processors that are spatially discrete and topologically uniform. The difference is that most CNN processors are continuous-valued whereas CA have discrete-values [1].

You can also read this: http://www.nims.go.jp/nanophys6/Anirban%20Bandyopadhyay/site...

[1] https://en.wikipedia.org/wiki/Cellular_neural_network#Relate...

[2] http://ieeexplore.ieee.org/stamp/stamp.jsp?arnumber=7600
Are we at peak SaaS?
Thank you. I will check it out. I've been looking into the `select` call a little because I'm working with websockets, but I'm not sure if that's related to syscall. It's amazing what you can get away with not knowing with computers nowadays. It doesn't necessarily mean you should strive for ignorance, of course.
Symlinks are directory entries, not files, so you need to sync the directory that contains the link.

POSIX does (for some strange reason) permit a symbolic link to have an "inode" (well, d_ino), but there is no way to open this "inode", and no UNIX implementations to my knowledge do this.
But since this predates modern breeds, it sounds like they were keeping eggs for up to a year. Surely unrefrigerated eggs don't last that long.