skysight-inc/HackerNews huggingface dataset:
Just yesterday I found myself reverse engineering checksum algorithms in various domestic bank account systems about the world. https://github.com/globalcitizen/php-iban/issues/39 I went for an explanation of some of the newer ones I hadn't heard of before (Damm) and it was painful. (The code was only a few lines, though!)

While some algorithms had a pre-existing implementation, wiser than rewriting I simply nabbed them and evaluated. Most of the implementations were unreadable/undocumented and of dubious origin, many of the implementations claiming to provide the same algorithm delivered different results. Some of these work for some countries, some for others. No idea where the differences lie and not enough interest to bother finding out.

Then of course there's the origin of these 'standards', ISO, who insist on charging 88CHF for a 5 page document, thus we can't actually read the damn standard. I would up porting a family of algorithms from Java using code generation.

Why we don't yet have a library delivering smackdown-documented functions in arbitrary languages for named algorithms escapes me...
I'm going to look like a huge noob but is Zsh what makes terminals look cool? I see Oh my Zsh on Github and it has a lot of stars, how do I get started with it on my Mac?
Poor Tech Bro Writes Letter About How He 'Shouldn't Have to See' Homeless in SF
>> Nobody really wants a huge globally sorted output. We haven’t found a single use case for the problem as stated.

Do anyone has a real world use case of global sorting other than top-k?
Learning to Solve Riddles with Deep Distributed Recurrent Q-Networks [pdf]
Seems like deplying on linux server is still a second class citizen, am i right ? Different, slimmed down framewoek, not so many resources for using clouds other than azure (didn't find any article for deploying on heroku using official tools for example).

That's not really surprising, because ms still got to make some money somehow, but that means i'll have to wait a bit longer to get anything descent on the server side..
Well, if you use XFS/ext4/etc (local file systems), they do decently. You can make them reasonably resilient by using multiple volumes, split across hosts using SRP (eg infiniband block storage interconnect). That's pretty strictly not WAN-suitable though. ;)
This Is Why It’s Time for VR Audio to Shine
> I really don't have to worry if I write Groovy in a pre Java 5 (ie without generics)

Groovy has many incompatible changes between versions, esp from 1.8 to 2.0 but also 1.7 to 1.8, 1.6 to 1.7, etc. Many sites provide Groovy 1.8 as the default because no-one there wants to bother with upgrading.
I started using Mac since September - Iterm2 saved from the horrible Mac Terminal.. But why is there no option to rename Tabs ?
play/pause button seems really flaky
Alternative title: "How long is too long: trench coats for the office"
We haven’t found a single use case for the problem as stated.

Impressive nonetheless.
https://news.ycombinator.com/item?id=11125896
Can you point to an app that swung an election more than $100M worth of advertisements? Like, I know this is hacker news, home of "there's no limit to what you can achieve with hard work and VC money!", but if we're being honest with ourselves could even a single unicorn class app company swing a presidential election if it put it's mind to it?
Ask HN: How much equity should I ask for?
Hi all,

So I have recently set up a meeting with our company's cofounders regarding my equity stake in this startup I work for.

I am one of two developers (not including the cofounder). I am making between 40-45k per year and currently have a number of options vesting which would represent ~0.2% of the company currently (I have no idea what they would represent in 3 years when they finish vesting). We are currently raising our second seed round. I have been with the company for 10 months.

I believe I deserve more equity for the risk I am taking on, as well as the salary I am giving up to work at this company. I did a lot of research and I know my options would be basically worth nothing if we ever get acquired (which is the two cofounder's end goal for the company). I also don't have any expectation of a cash raise anytime soon. Any advice would be helpful. Specifically how much percentage points I should ask to have my stock options increased by?

Thank you.
So far: 51 comments and so far zero comments about the technical aspects of this article - only political bickering.

Yet another thinly veiled political story that somehow make it to the front page because it has the word "coders" in the title.
I think the issue there is a matter of trust in the hardware too. What if the replacement fingerprint reader has a recorder that sends that fingerprint to the repair shop and the user authorizes it? Now some shady backdoor people have your fingerprint and possibly your pin and any other information that passes through that sensor. It makes sense for Apple to verify the integrity of that hardware chain all the way through when they could potentially be liable for something like that. While they could take the stance that they won't be liable for any phone with a replaced sensor, at that point it's difficult to determine where in that chain the breach happened.
You might be interested in Sage. It's free and open source and allows you to use Python syntax.

http://www.sagemath.org/

https://cloud.sagemath.com/
All of the World’s Stock Exchanges by Size
Clickbait title. Nowhere in the video does he say anything about apple, or even disk encryption.
Love iTerm. If you guys ever integrated with 1Password I would be in heaven!
FWIW internal links between equations and figures in LaTeX is pretty easy and should be supported by most readers.

Poor mathematical writing is pretty rampant, but that's partly due to the fact that it's not taught well and there's definitely some cultural biases towards jargon. I don't think that negates the fact that even within a typewritten document a human needs to read and understand what's going on, so often terseness is desired, as long as the reader understands the notation enabling it.
http://www.amazon.com/Numerical-Recipes-Scientific-Computing...

This or a variation is on almost every physicist's shelf I know...
Myth: The astronauts didn’t float away because they had heavy boots
Hi everyone, founder here. I made Virwire because I wanted a better/mobile news experience with more relevant content. Virwire monitors tens of thousands of media sources and detects early viral signals based on forum posting, sharing, tweeting, voting, liking and commenting. By socially filtering every article only the best and most relevant stories get through. Enjoy!
I agree. That's why I donated to the project :)
1st idea that comes to mind:

1. Package your per-tenant application into a Kubernetes
pod (think of it as a lightweight VM, a collection of
Docker containers running on a same host).
2. Write a request router: someone needs to look up tenants
based on the virtual hostname in a request.
3. Use k8s API to find a pod with label == tenant. If
doesn't exist -> create one.
4. Forward the request there.

I'd imagine you'll have to "garbage collect" and gracefully shutdown pods when they sit idle for a while. I'd probably pack that logic into a pod itself.
For colorizing output check out grc

https://github.com/pengwynn/grc
Just curious, has anyone on HN ever successfully claimed money from SSL certificate insurance?
I find the paradigm of "active" vs "merged" branches frustrating and obtuse as it has absolutely nothing to do with git. It just makes it confusing to find a feature branch I pushed without changes intending to work on it later. If that branch is based on a recently merged "development" for deploy my feature branch disappears. In fact, after a deploy development disappears. If I don't want to see a branch I will delete it.
I guess I fail to see how allowing corporations to pay for large parts of politicians' campaigns achieves the goals you're implicitly stating here.
Thanks for that, although it similarly hasn't swayed me :D
I love the new FCP. As a long time user of FC7, I'm ok with losing out on some of these features as long as they added them back over time and they've done that, for the most part (at least for my uses). The old FCP really needed a facelift and was trapped in an such an old mindset when video was still mainly stored on tape drives and needed to work like real life video editing tools. FCP X is so fast for me and such a treat to use for 99% of things that I can deal with having to jump back to FCP 7 every once in a while. As long as Apple doesn't somehow prevent me from using FCP 7, I don't care and love the new direction of FCP X.
You do not have any rights as part of a corporation that you do not already have as an individual. That is the distinction. The corporation has rights, of which you can enact on behalf of the corporation, that you cannot enact on your own. Limits on campaign contributions is one such right.

Because you carry in your wallet a card that declares you a member of a corporation, you are not granted any rights, personally.
​The Art of War
Math notation is for pencil and paper what Unix commands are for typed input: terse, dense, intended to be easy for insiders to write and read at the expense of outsider accessibility. It does the job it's supposed to do. You wouldn't plow through a mathematical paper like a Twilight novel. You're supposed to slow down, consider each symbol in relation to all the others, and from that build a picture in your head of the mathematical object being described.
How would you explain to a non-technical person that a kernel module is not a derived work?

Can you remove the Linux kernel and still have a complete and working program? What happen if one removed all function calls to the Linux kernel or use of internal kernel variables? As a module, does it work with any other kernels like windows or apple, and what was the programmers intention when writing it?

There is some arguments in favor of fair use in regard to compatibility, where derived works are infringements but still deemed legal. The courts has historically been rather split on this subject when it comes to software, in particular with several cases voting in favor of unlicensed modules to consoles. It would be quite a big bet either way you vote.
http://www.zerohedge.com/news/2016-02-18/it-all-just-publici...
The exact same folks who Bernie is going to raise taxes for, mind you. He won't really be able to do anything against the 1% (since they own the Congress, and will continue to own it), but upper middle class represents an attractive target for a cash grab to pay for all those nice free rides he's promising to the poor.
Oh yes... That was a bad move, I think. Luckily, I rarely have to use Numbers so I didn't really care. It just annoyed me that they removed some of the features that I actually did use when I needed to use Numbers. If they added the features back as quickly as they did with other apps, I wouldn't care, but they didn't. :(
> Still, I apologize for my tone.

It's all good! I've had the same heat of the moment responses on here, so I get it. But thanks anyways.

> If a startup is using java, I think to myself 'why java? why not Scala, F#, or C# at the very least?'. Usually the answer is 'scala/F# programmers are too hard to find', but that's not really true, what they mean is they're not willing to pay the 20% premium for them. That's a strong indicator that a start up doesn't value talent.

Definitely. If I chose the JVM or (blanking) the Microsoft VM I would not limit myself to the object oriented languages for those platforms. I was under the impression that using multiple languages was a given, but apparently not? I wouldn't know, I'm doing iOS right now (hence the username). I graduated fairly recently, so I can only go off of what I've read.

So, I would probably do Java and Scala together if that was possible. I really haven't looked into it. My startup was completely hypothetical.
s/..././g
"Whoosh!"

(that link is clearly satire)
I'd add the tmux integration to that, which is an absolute life changer (even more now that iTerm2 is happy with multiple tmux sessions at a time).
I just donated $25. iTerm is an amazing piece of software and I honestly can't imagine living without it.
I checked the paper, an unpublished draft. The sample size of non-marital breakups is 279. Also, the question asked was "who wanted the breakup more" not "who initiated the breakup".

85 breakups were reported as mutual. That leaves only 194 breakups which were reported as wanted more by one side.

112 is the total number of breakups reported as wanted more by the woman. 82 is the number of breakups reported as wanted more by the man.

112/194 = 57.7%. Of a very small sample. With the wrong question asked.

Is this the best data we've got? If so, I am not sure we can conclude anything about breakup initiation outside of marriage.

Link to the paper: http://web.stanford.edu/~mrosenfe/Rosenfeld_gender_of_breaku...

Note: It's not clear to me how the author got 56% and 53.4% as the weighted breakup wanted by women rate. It's possible I've made an error. But the Huffington post headline certainly seems unwarranted.
I was actually just very mildly annoyed by this in-app promotion. (trying to convey the absolute minimum amount of annoyance while still being annoyed)

While I was typing it popped up and opened a browser when I hit enter, entirely without me seeing more than a flash of the ad.
Your competitors do too.
Not necessarily combined - just that there is more experience in the Bay Area (with larger tech companies there, higher demand for devs, etc-) vs an area that isn't as starved for engineers. Obviously SV vs Atlanta is different than SV vs NYC which is different than SV vs all of the rest of the country.

If you're a company in, say, Atlanta or Boulder, and you need an engineer - there isn't as much competition as there is in the Bay Area. Therefore, it's more likely that you'll find an American engineer at the same price point (which is cheaper [due to legal costs] and less risky than an H1B), so there is little reason to go the extra mile and file an H1B - unless you really need that specific engineer/talent.

Whereas, if you go to the Bay Area, if the demand for engineers outweighs the supply (which I imagine it does), then it's more likely a company will file for an H1B for someone since it's a way of increasing the supply of engineers. The additional capital and legal knowledge (for smaller companies like startups) further spurs the willingness to try for an H1B.

From your response to the other poster - the one thing I would add is that the switching costs for someone on an H1B are higher than those that are not on H1Bs since you always have to have a company sponsor you (this isn't a difficult process, but if you are switching jobs I believe you have to have a company file a petition to sponsor you prior to you leaving your old company). That switching cost is sort of a way of retaining talent (obviously if someone wants to leave, they'll leave - but for those on the fence, they may not bother).
With today's multi-core soc, one can easily partition out one core for Zephyr. Anything real time related can move to this RTOS on its own core.

This is great approach especially with Linux Foundation behind it.

I am curious on what kind of License will it be released under, GPL?
Yes.

https://www.ngpvan.com/

I've worked on similar. An app that helps organize volunteers, sort and categorize mailing list responses, build street-maps for volunteers to walk to get the most value out of their canvasing time is worth FAR more than even a really good TV ad.
Capitalism is only troublesome for our dear CEO when it directly affects him. Let's forget the labor laws/licenses many startups avoid by classifying themselves outside of traditional industries. Let's not forget about the older non technology savvy immigrants that typically could make a living with taxis that have now been put out of a job since they may not know how some app works. "Innovation" works both ways.
Thanks for all your hard work! iTerm2 is bar none, my absolute favourite program. No other OS has a terminal this good.
I don't have any specific example, but I've read that many (most?) math papers are incomprehensible to outsiders, even mathematicians in other fields. I also seem to remember an article about a proof that's gone unchecked for years.

So, from the outside, it seems like there are big problems with communication in the mathematics community, and it's simply accepted that it has to be that way because math is hard.
Doyouevendev.org
Hundreds of Spotify Premium Accounts Exposed Online
When I did DB migrations, I first tested out my code on a test server that had a copy of the production database so see how well it would go and if there were any problems.

I would test out all code on a test server first before putting it on a production server.

Migrations were usually scheduled at Midnight and finished before anyone came into work. Before the Migration a backup of all data was done.

It is the only safe way to do things.
FCC votes to fight cable's reign over set-top boxes
And you consider that an IDE, right?

An Integrated Development Environment?
Lip-Reading Software Brings Hitler's Most Intimate Words Alive
I doubt this is helpful, but I tried to find a Linux terminal that was as customizable as iterm2. Konsole was the closest thing I could find. It has a UI to configure many aspects of the terminal. Unfortunately, I'm drawing a blank on triggers at the moment. I still think iterm2 is way better but konsole is really really customizable.
You may well be asked how a distributed sort would work in principle, and be asked to code a small part of it. Any reasonable answer that shows you can think on your feet would be evidence in favor of hiring.
It sounds like you didn't get hired, and I'm sorry about that. Interviewers' preferences are of course diverse, but for at least the last 5 years, probably 10, Google interviews favor practical solutions to problems we face every day. Some of those are theoretical CS, many are not.
> GLOBALS: ..
Flask does not have a lot of globals. You are misunderstanding the g, request current_user object types. They are most certainly not globals, they are session proxy objects. Because we are in python they can be made to look like globals. They are done like this to be convenient. If you use the 'request' one hundred times in a file, some of us don't want to be bothered to put it as a formal parameter to every function.
Ingram Micro Sold to Chinese Company for $6B
Where are you living?
I wonder if Apple has the capability to revoke their signing key in existing devices and replace it with a new one.
> none of them set $TERM or use terminfo properly.

There's a reason for this, and it's because a lot of things assume certain values for $TERM and completely go to shit when it's something else. In addition, who actually sets $TERM is an open question depending on the architecture of the system you are talking to (and the manner in which you logged in).

Beyond that, the architecture of terminfo is a disincentive to creating new terminals, because you have to get terminfo right everywhere. Yes, one could package a terminfo supplement for iTerm2 and distribute it, but it's a serious bummer to have to apt-get/yum/dnf/emerge on every box you handle just because you like a different terminal emulator. But xterm is already there, so the easy path is to identify as xterm and handle xterm and lie occasionally (like with features like these). And that's how it's going to be. Forever. Because machines are now disposable, and now we're handling tens of thousands of them over our careers, and well-manicured terminfo databases on a few machines in the lab are a relic of the old sysadmin lifestyle.

This isn't old-vs-new NIH, to be clear, it's just that what we call a "server" has gradually evolved, and stateful databases like terminfo represent older ways of addressing systems that nobody really feels like maintaining anymore. Terminals are now much smarter than the average VT100, and it's high time for a terminal to identify its capabilities with a new protocol that doesn't require server-side state. But nobody is working on that, to my knowledge, because the "Unix way" creates an even stronger disincentive to evolve the manner in which we think about Unix lest we disrespect the past. (See systemd.)
They want developers to go against their best interests and only develop apps for a very small portion of users. They don't want to compete fairly with developers, making some capabilities inaccessible to developers while keeping them accessible to themselves. If you as a developer are ok with this, it must be some kind of stockholm syndrome.
Not all of the performance issues encountered when a pool exceeds 90% capacity are related to fragmentation.

Some implementers have been able to significantly reduce the pain of those situations.
It wouldn't seem it functions very well if it doesn't understand the perspective of people that carry guns every day.
Looks like you're right. Oracle used to control it (as evidenced by (c) Oracle all over the place), but that doesn't seem to be the case anymore.
Anyone know more about Cuba's $20 a month maximum wage?

https://www.google.com/search?q=cuba+maximum+wage
This.

If this was feasible it wouldn't have been published.
It strikes me as a collective means for mathematicians to reduce entry into their field and thus to increase their own salaries. Maybe you don't have to get a "math license" to practice math, but you have to somehow acquire a huge body of knowledge that is almost never spelled out fully in the mathematics literature. This will prevent many people from becoming mathematicians and thus make math a more exclusive and lucrative endeavor.

To be cynical about it.

I guess that's not much different from most fields' use of specialized vocabulary, etc. There are many informal methods of dissuading people from competing in your own little corner of the labor market.
You probably can't ask for an increase of options in the existing grant (contract), only for a new grant. And since there's two developers you're effectively negotiating for the other person as well (even if you don't want to, the founder will claim employees should/will be treated equally).

Of course you personally can make money during an acquisition. If it's a cash acquisition there's now a buyer for your options, if it's a stock acquisition you'd now own stock in the new company (if you're lucky they're publicly traded so you have a market to sell your options to).

Is 0.2% the options you will have after the first year (with 3x0.2% more coming in the next years) or is 0.2% the total already?

How much salary would you say you're missing by working at that startup?
The "New file" button cannot create a new binary file. This features lets you do that.
People also have toyed with the idea (and maybe even implemented it) to let the electron beam of a cathode ray tube trace out a Hilbert curve, or two mirrored side-by side.

Advantage would be that you would not lose time in which you could have drawn pixels for vertical and horizontal blanking periods.

Disadvantage would be that the hardware is a lot harder to make, more so if you want to dampen out oscillations near corners well.
He does mention end to end encryption, which is a feature of Messages, and is part of the overall argument.
I think an entertaining short story could be premised on this idea.
Walled Garden