skysight-inc/HackerNews huggingface dataset:
For LinkedIn to actually verify that a user was an employee of a particular company, they'd at least need to know the e-mail domain associated with every company in the world so that they could use an e-mail address from that domain as proof of affiliation.

I'm not sure how LinkedIn could get that information without having a huge staff of people who verify each new, unique company that shows up in their user base. There are millions of companies in the world, most of them not as well-known as Google or Nike, some of which may not even have a web presence. Even if they're on the web, the domain they use for e-mail may not be the same as the domain of their public web site (I've seen companies with www.xyz.com vs. joe@xyz-corp.com). To add to the confusion, there are completely unrelated companies with very similar names. And companies are born and die every day.

Given the daunting nature of this task, I'm not surprised that LinkedIn doesn't attempt to validate the corporate affiliations of its users.
That reminds me of something that the streamer for the Handmade Hero steam said on the Day 001 Q&A said about "reinventing the wheel".[1]

https://www.youtube.com/watch?v=uxbJo5DDpWY&feature=player_d...

Basically, a wheel is perfect. Nothing we have developed so far is a wheel. We should not stop trying to learn how to write these low level things, because these are the people that might come up with better things in the future.
I am reminded of the slow programming article a while back. How rare is it for companies to say "take a year, see if it works"?

Really good performance needs doing things differently, not the same thing faster. Yet most organisations don't want to try something different or give the space to try it.
This is great if you're older and have the physical ability to run. I suspect that some of the non-runners can't run.
Introduce staked notifications in ngN 1.2. An angular notification module
Appears to be down for me - http://d.pr/1clOg
The Iraq war cost $1 billion per DAY.

Imagine if a even small amount of money was shifted from the military to NASA.

I recall when NASA needed to fix the Hubble telescope and the Air Force had TWO extra space telescopes in storage!
Inventor hopes to clean the air with giant purifiers
> Most java code is valid Groovy code

Up to Java 7 you could say "most" but why not "all"? Was it too difficult to test full compatibility? Why is the == slightly different between Java and Groovy, and the rest of the little differences which only confuse? And as for your example it doesn't look in the slightest like Java...

P = "Hello world!"
sub = P.substring(5)
sub ==~ / wo.+/ ? println("World") : {}()

Why wasn't Groovy updated so most java 8 code is also valid Groovy code? And why didn't you actually post some code to do something useful like "configure a transformation from XML -> CSV" instead of creating a HN login to post a meaningless syntax sample?
Good point, that was a while ago. 2008 was the last year I lived in Sac, so around then.
Why does he need a legal fund if he has no intention of returning to the US and facing trial? What does that money actually go to?
Maybe I should have been more general:

'Why am I taking {drug} for {condition} with [serious possible side effects] when I could simply change my diet and activity level?'

MOST of the health issues we are prescribing drugs for are treatable/curable with lifestyle changes.
Agreed. Academics put up with a lot of crap because they're extremely risk adverse.
I think there are strength/scaling issues with winged aircraft that, given the fuel requirements for any sizable payload to orbit even from the speed/altitude a jet can achieve, makes this extremely challenging, but its something people keep working on.
Practical quantum cryptanalysis is already the end of Bitcoin, which relies on ECC algorithms that will fall to QC.

(Maybe you're making the broader statement, that if QC turns out to make all forms of public key crypto insecure, regardless of the hard problem they're based on, then it won't even be possible to design a working alternative to Bitcoin.)
As someone who has written a lot of XSL I completely agree.

Just having a standard format which is XML-based which is able to take in XML and spit out: different XML, plain text (e.g. CSV, HTML, bespoke UTF-8 formats, etc), and so on is a wonderful idea and XSL does in fact accomplish it.

But, yes, writing XSL is extremely painful. Much of it needlessly so. Although XSL 2 did fix some of my whines (DateTime library?!). I'm still legitimately annoyed (irrationally so) that indexes start at 1 and not 0 in XSL.

The way template matching works is clunky. I think the first answer in this Stackoverflow question illistrates my point well:

https://stackoverflow.com/questions/3127108/xsl-xsltemplate-...
I'm just curious, but your comment suggests to me that it is easy to switch from an academic program to working at google, amazon, facebook, or microsoft. Those jobs require training and experience that academia does not provide. Writing javascript and researching, as an example, topology are very different things. I also have a hard time believing that research at a corporation is effectively academia just because they share a competitive environment. Could you explain further?
Instacart Is Raising North of $100M at a $2B Valuation
When I go to set up a company page, it asks me to verify my company email at the same domain that I input for the company page. All these companies have the domain listed. Someone who is saying they are an employee of a particular company surely could varify the same way.
I'm not sure whether it was using write() over mmap() that boosted the performance. This part however looks very interesting:

> Taking advantage of the fact that Varnish is a cache and letting it actually eliminate objects that are blocking new allocations simplifies the allocation process.
I like vertical Mice. I've had two and prefer the Evoluent over the Anker. Seemed to help quite a bit when I started "noticing" my mousing wrist.
Thanks for the rec. I am considering stopping typing for a few days. How many days did you stop for? Do you feel the Kinesis made a big difference? I feel like a big part of my problem may be the mouse actually - I spend a lot of time scrolling with the middle button and I'm actually only having pain in my right wrist/hand. I'm thinking of getting the Apple magic touchpad.
Great analysis. The next step would be to see if the code to implement the function can be shorter than 12 bytes (and array of bytes holding the number of days in the month such that f(x) = days_of_month[x]; is longer than the computation. Of course from a pure cycle counting advantage doing it as a calculation will always be faster as memory is slow to access.
> The raise will value the startup at $2 billion, or more than quadruple the $400 million valuation of its Series B financing from June.

Quadruple? In less than 6 months?

That's not hockey-stick growth, that's just plain insanity.
Yeah. Some patents have expired, although Barnsley's most recent one is 2004, which appears to be a more abstract technology for the exploration of higher-order fractal manifolds (possible terminology fail there, but the pdf link below lays it out clearly):

https://www.google.com/search?tbm=pts&hl=en&q=barnsley+fract...

https://www.google.com/patents/WO2004081876A1?cl=en&dq=barns...

http://arxiv.org/pdf/math/0312314v1.pdf

If I'm reading this right (but I'm no patent lawyer), Barnsley et al's most recent patent on image compression dates from 1995 and expires next summer: https://www.google.com/patents/US5867603?dq=barnsley+fractal...
y, it's great to have space . . . I have a couple locations around the house that are office-like but there is always the chance family time will encroach on work.

y, the podcasts and Dan's book are great resources . . . be careful about listening and reading though . . . get the good gems of information and then take action . . . you can spend months/years listening to other people and how they executed.

http://yourstory.com/2012/11/my-name-is-porn-entreporn/

So listen, learn and take action . . . otherwise time will pass you by . . .

BootStrappedWithKids.com has some gems as well . . .

And of course read/listen to everything by paito11.
how about this?

leap = function(x) {
if ((x % 4) != 0) {
return 0;
}
return Number(
(x % 100) != 0 || (x % 400) == 0
);
}

function(x) { return 28 + leap(x) + (...) };
Regarding three tier caching between RAM/SDD/HDD: isn't this exactly what ZFS L2ARC is supposed to do? Relying on that seems closer to the Varnish philosophy of leaving as much to the underlying system as possible. Or would that encounter the same bottlenecks they are trying to solve right now? And if so -- how?
If you have the option to bill on a daily increment, why would you ever bill hourly?

There are some circumstances where I think this can make sense.

One is that for urgent, very short, very specialised gigs (for example, an emergency fix for a previous but not usually recurring client) you might command a much higher rate per hour than the equivalent of your normal daily rate for medium-long term gigs. This just follows from all the same reasons we've talked about on HN before in terms of business value generated vs. time served.

Another is that it is sometimes useful to multiplex a part-time contract gig with some other task -- another part-time client, a start-up, supervising the guys building your home extension. It can be advantageous for all concerned to be up-front about the fact that you're only working part-time and how much time may vary considerably from day to day. This manages expectations if, for example, you aren't going to be around to answer the phone at reliable times. Obviously really top-end consultancy work isn't likely to be forgiving of part-time engagement anyway, but you probably aren't attracting that kind of gig no matter how good you are while you're also working part time on something else that can't wait.
It's not so much obtuse as verbose. It's proof that hell is paved with good intentions: for simple transformations, it feels pretty natural. Unfortunately, once you need something a little more complex, it flies straight into a wall with "XML is not a programming language" written on it. "Function" calls with horribly verbose syntax, etc. Some solutions let you use a real programming language and have the XSL processor trigger your callbacks, but I've never experimented with it.

Alternatively, something Perl's Twig let you manipulate the DOM without too much of a headache, and is preferable to XSLT in many cases.
#5 and many, many other reasons is why C++ desperately needs a standardized range type. Let's pray it comes in C++17.
I've been using "Reddit-Style Comments for Hacker News" [1] for years, works great.

1: https://github.com/andrewheins/HN-Comment-Hider

edit: This has the collapse button between the voting arrows and username, just like reddit. Seems like something minor, but it's a big detail. (1) I'm used to that location from reddit, and (2) it doesn't move, which isn't the case with many other extensions that have it on the end.
All I'd like is to be able to click on the left margin of a post to skip under it. Sometimes it's just that the first comment has too many replies and I'd like to jump past it easily.
Does this have a 'Dark' mode? It looks great but I use the following Stylish script [1] for UI so its not like staring at a lightbulb all day.

[1] https://userstyles.org/styles/81626/jellybeans-hacker-news-w...
Here's mine. No floating point logic required.

let days = (i ^ (i >> 3) | 30) - 1 / (i * 9 % 17) * 2
> - and 2 bytes per character stored

No, 2 bytes per code unit. A single UTF-16 character requires one or two code units. So a single "character" (code point in Unicode terminology) is either 2 or 4 bytes in Java. Additionally, a single Unicode character can require multiple code points.
"many dubious actions have been 'legal' but not necessarily right or just."

This.

It annoys me to no end when politicians insist that what the GCHQ is doing is legal, which just makes it worse - because it means it's not just a single agency overstepping its bounds and spying on us all, instead it's the entire system which is warped.
By the way, reference counting may not have to be as bad as it is. Looks like there's a lot of opportunity for improvement. See here: http://users.cecs.anu.edu.au/~steveb/downloads/pdf/rc-ismm-2...
I tried jogging over the summer for the first time in years, but my feet started hurting. It would take days to recover. I gave up after 2 months. It feels good but I seem prone to injury.
Thirty days hath September

April, June, and November

All the rest have 31

Except for the very special one.

...

The knuckles method, for those who don't know: Make a fist. Start with January on your first knuckle. Counting knuckles AND the gaps between knuckles, so each knuckle is 31 days, the gap between is 30 days (or 28/29 for february). Repeat on the last knuckle before reversing.

...

So--

KNUCKLE_gap_KNUCKLE_gap_KNUCKLE_gap_KNUCKLE

JAN_feb_MAR_apr_MAY_jun_JUL (repeat last knuckle and reverse)

AUG (knuckle repeat)_sep_OCT_nov_DEC (ending on your middle knuckle)

ALLCAPS = KNUCKLE = 31 days
Node.js issues in my mind now are maintainability related, not performance related. They need to stop fetishizing performance and focus more on making node.js more accessible/easier to work with.
The subtext of Schneier's post is that a lattice encryption scheme was found vulnerable to a QC algorithm, which is meaningful because lattice encryption schemes are seen as a promising post-quantum crypto scheme --- that is, a scheme that would, unlike RSA (IFP), DH (DLP) and ECC (ECDLP), remain secure even if it becomes feasible to deploy large-scale quantum computers.

Two things worth knowing:

* There are multiple hard lattice problems in number theory (the paper refers to one of them in the conclusion). And other lattice schemes have been found vulnerable, to non-quantum attacks.

* There are multiple hard problems not involving integer lattices that are believed to be hard for quantum computers. McEliece, for instance, is another well-known candidate for post-quantum public key crypto, and it's based on linear codes, not lattices. Lamport signatures[1] realize public key crypto purely from hash functions (which aren't hugely weakened by QC.) A good intro to these issues:

http://pqcrypto.org/www.springer.com/cda/content/document/cd...

Nick Weaver's "what if all trapdoors are vulnerable to QC" comment seems a little premature.

[1]: http://en.wikipedia.org/wiki/Lamport_signature
or ffmpeg
UrJar: Using old laptop batteries to provide lighting [pdf]
13% of people like going to work; 24% are disengaged, like you are[1].

I've met very, very few people who like their first job. It's called "work" for a reason. People are paying you to do it because no one likes it enough to do it for free[2].

If you can get a job that fits you better, go for it. If not, make the best of it. Make time for something you love to do every day. Find interesting people at your company to learn from.

You said yourself that you rarely use your CS degree. Guess what? Programming for corporations is rarely a lofty, scientific endeavor. It's quick, dirty, and has far more to do with people than it does with technology.

Eventually you'll be experienced and respected enough that you can move more toward what you want to do. There are more scientific/tech-focused startups that would be closer to what you studied in college. For now, you just need to "pay your dues" -- show people you excel at things even when you don't want to do them and that you can do it with a smile on your face.

1. http://www.washingtonpost.com/blogs/on-leadership/wp/2013/10...

2. The FOSS movement could be described as "people who like programming enough to do it for free" but few people at corporations are doing what they do. They're applying generic technology to specific applications.
At a glance, I can't tell what things I can automate, and to what degree I can automate them.

Does it turn on/off power to devices?

I was slightly distracted but I didn't gather that from a quick look.
Around 20 years ago we had quite a few systems programming languages to choose from.

The widespread of UNIX into the industry, killed the other languages because they weren't the UNIX system programming language and other system vendors weren't able to fight against UNIX based Workstations.

So like JavaScript in the browser, C eventually killed the alternatives in the workstation market.

C++ was able to gain industry acceptance because C++ compiler vendors were actually C compiler vendors bundling C++ in their products, since C++ came from AT&T as well.

Additionally, the computers started to be fast enough for mainstream VM based systems.

The business application developers moved along to VM based languages, while the system programmers focused on the languages that were supported by larger OS vendors, C and C++.

All the compiler vendors selling system programming languages compilers that didn't enjoy first class treatment on a mainstream OS, either closed down or changed business.

So 20 years later, C and C++ became the only alternatives for systems programming, unless one wants to play with dead languages.

With Ada being used in projects that required it, or for software scenarios where human life are at risk like aviation, train control systems, medical devices and so on.

And now we are getting beaten every day in security exploits due to daggling pointers and out of bounds errors.
I read it.

Bitcoin also relies on elliptic curve crypto, which will fall to QC. Without a replacement, the entire concept of cryptocurrency as we currently know it falls.
There were a few concerns I have about Julia packaging from this article and reading the docs http://julia.readthedocs.org/en/latest/manual/packages/

* It looks like packages are installed in a global namespace that is shared by all projects. This seems like it will get messy when you try to run older and newer projects.

* The default way to add packages is to just Pkg.add("package-name"), this makes reproducible builds difficult. This is especially an issue with a language used in scientific contexts where reproducibility is extremely important.

Are there solutions to these issues that I can't see? I'm aware that Julia is a young language so I don't expect them to solve everything at once.
Just for the record: You can still access the website via it's IP address. http://213.73.89.123/
> This is not, I shouldn't have to say, how academia works. Peter Higgs, of Higgs Boson fame, said that there was 'no Eureka moment' to his work, and he only has 4 papers listed on Google Scholar: but what papers! Science rarely has a Eureka moment: it's rather a series of careful, thoughtful developments of work done by one's forebears and peers. A management which demands a Eureka a day is one which doesn't just not 'get' academia, it's a management which contradicts the academic method and it's one which has forgotten that it's meant to serve the needs of science, the arts, students and researchers, not the insatiable maw of attention seeking 'Leaders' (that's the word they use now) and the PR office. It's also a management that kills.

slow applause
The news here is that a new quantum algorithm has been developed to attack one very specific form of public key cryptography.
... which is a cop-out. He decided which documents to give to the reporters. If they decided to release something that isn't in the public interest or is harmful to national security, nobody can say "well, Snowden wasn't the one who released it." He shouldn't have given them those documents to begin with.
Alternatively, you could build your API using a human-readable format and dispense with the XSLT. For more complex debugging there's always the Accept header in HTTP which allows you to return a HTML page for browsers using your server-side template engine of choice.
Down for the Count? Getting Reference Counting Back in the Ring [pdf]
It seems like the distinguishing factor is intensity, so it's likely you could substitute in some other higher-intensity workout that may be easier on the joints, like swimming.
Have you also tried:
- swap to off-hand mouse.
- use pageup/pagedown/spacebar for scrolling at times
- More/larger monitors, so that you don't have to scroll things or swap between things / re-cat things as often
- Plan things with whiteboarding / talking rather than banging out code

These won't eliminate RSI, but they might help alleviate the causes of it.
my digital attempt:-

function days(m) {
return 30 + ((m + (m > 6)) % 2) - 2 * (m == 2)
}
> Certainly, but I wouldn't fall into the trap of thinking naively that things would be better if only NASA had much more money.

I've had several highly intelligent & competent friends opt to not work at NASA because the salary was 66% of competing offers where they would still be doing cools things. With some more money, NASA could have competitive salaries to attract more talent.
That's right. Fabrice Bellard, check your privilege you white hetero ablebodied cis scum, shitlord.

Although, it could've been worse. At least is not a photo of himself wearing some colorful chick shirt.
Time for these editors to get together and build "The Old New Republic". Or maybe that's "The New New Republic".
I think webp supports transparency and lossless.
There was a similar article some time back about attempts to retrieve and study Rocketdyne F-1 engines from the first-stage of the Saturn V rockets from the Apollo missions because understanding of their design was lost. I can't find the article, but someone did point out that in many ways the Space Shuttle's liquid-fueled engines were superior, albeit less powerful. It's just a fact that we haven't done anything quite like a manned moon mission in decades and a lot of that experience is unique, and is now "retired". I agree it's sad to see. I've been reading a few books on the computer systems from the program and it's fascinating - I recommend Digital Apollo if you're interested in what we still know about that aspect.
Ask HN: What do you think of all these Hackernews clones?
In the last week, I saw a couple of HN clones that were subject specific (i.e HN for data science, HN for design...).

I am wondering what would be the motivation for creating a topic specific HN ? If it is useful why isn't HN itself creating subtopics ?

Personally, one reason I love HN is the serendipitous nature of discovering interesting stuff.
What language would this work in? let looks like ocaml but those don't look like the write syntactical ways to do math stuff IIRC
After 30 years of running, I can attest to the irreversible damage caused to knees, shins, and other joints and ligaments due to running on paved and other man made surfaces. A good alternative as you get up in years is swimming and/or cycling or recumbent biking.
The purpose of prison is not to punish or rehabilitate specifically. Prison is part of the legal system, whose purpose is to provide stability and safety to society, with prison acting as a means to apply sentencing. Plenty of people (myself included) prefer the rehabilitation angle, plenty of others prefer the punishment angle - but both arguments see 'keeping society safe' as their target condition for how a prison system is run.