skysight-inc/HackerNews huggingface dataset:
Great response except for (b). The language choice matters. Some are too complex to verify in typical usage. Fortunately, despite its complexity, C was primitive enough for tools to catch up with a subset of it. One can overdo it. See INTERCAL. ;)
This argument could be made against wikis and issues and static websites (and file uploads).

I think a discussion forum is integral to any open source project. People traditionally use mailing lists, which have an awful UX in my opinion. A moderately better alternative is google groups, which is basically just a nicer UI for a mailing list.
What is a use case where GlusterFS really shines?
Given how South Korea has turned out compared to North Korea; given the US saved South Korea from an unbelievable amount of death and suffering that would have come with the North's domination; compared to the disaster that Mao's China was, and Stalin's Russia, due to Communist rule; considering South Korea became a tremendous ally; yeah, we very clearly won.
There was one annoyance we have to fix that I don't think the nginx module supports & that's rotating images based on their exif orientation (mobile devices love to upload landscape images w/ an exif-orientation in portrait).

Python is definitely an OK solution for this as it turns out. We resize a few million of images a day on-demand on two n1-highcpu-8 GCE instances. Although, they could easily be a fourth the size, as CPU generally peaks out at 20-25% during peak hours.

We've actually tried more specialized services for this, like sharp + a threadpool using node.js and it actually performed terribly. As it turns out, blocking the gunicorn event loop by processing image resizes created a good amount of back-pressure to load balance incoming requests to each worker process.
There are caches that can be locked to aid determinism in certain operations. Idk their limits but they're used in some real-time systems.
What's striking about this writing style is that (as a junior dev) it's a lot easier to understand what he's doing.

By sticking to jokes and a simple style, I never felt confused or lost in lingo.
It's pretty amazing but Alexander Graham Bell's work towards visualizing sound for deaf people is what prompted his "invention" of the telephone.

This section [1] talks about the end result but the whole wikipedia article is an interesting read on how his work developed over time. I didn't see anything specific to what I remember from my college class on it but this part hints at it, "pen-like machine that could draw shapes of sound waves on smoked glass by tracing their vibrations."

The linked article on Visible Speech [2] may also be of interest describing what Bell's father used to describe sounds phonetically.

1. https://en.wikipedia.org/wiki/Alexander_Graham_Bell#Telephon...

2. https://en.wikipedia.org/wiki/Visible_Speech
From what I understand, those kinds of projects are only available to certain engineers, and the vast majority of engineers working at Google don't get to play those games. Six of my seven interviewers essentially said that they did not get to work on problems that challenged them when I asked "If you could change one thing without veto...." This is actually one of the two big reasons I chose not to accept an offer.
Götterdämmerung. Boss.
To each their own. While impressive I do not find it inspiring. Instead, working on strong AI is, in my mind, the ultimate challenge. Far more amazing by any measure than anything we have acomplished so far.
Civ 2 and Alpha Centauri are still the best balance of simplicity vs fussiness in my opinion. I like Civ 5 quite a lot but there's a lot of fussing about with the resources like horses or oil and there are a lot of edge-case city improvements.
They want Apple to disable limitations that disallow them from brute-forcing the passcode. This isn't even possible (supposedly) on newer A7-based devices that have security hardware (i.e. the "secure enclave").
It would be real creepy if someone does the same thing for Whatsapp, you can even predict who's talking to each other much better than Facebook. It's a bit harder to collect data from web.whatsapp.com because it's using Websockets but let me know if someone develop such tool and publish it on Github. :)
How would you recommend separating them? In the deployment instructions, I recommend using a separate database server, so this container is mainly running Nginx+Gunicorn+Django in production. The local MySQL server is only there for dev convenience.
The solution to the problem is simple. No more grant money until all results are published. If you run a trial with reporting requirements and fail to do so then you are banned from getting any further funding. A credible threat to cut off funding will get the results out ASAP. If you want to make it even more effective ban the entire university. Peer pressure will work wonders.

To solve the same problem in the private pharma industry just refuse to approve any new drugs from any company unless all trials are reported within x time period.
Equity is the dirty secret of the widening wealth gap in society and especially poignant in startup land.[1] You’re taking a 50% pay cut for 0.2%. Assuming (for argument sake) no more dilution and $100m exit you get $200k. All that does is put you up to the salary you are giving up over four years. The founders (assuming 2, the other employees are at 0.2%, and 10% for seed funding) have 39% each. So their exit is $39 million each. Would you take a job where your future boss says, “I need you to take a risk, but assuming everything works out you’ll make $100k a year, your market salary, and I’ll make $10 million a year.” Does this sound remotely good or fair.

You needed more to start. The fact they gave you below market salary and crap equity is a huge red flag. Why help these people become rich if you can’t trust them to look out for you. If startups are all about learning and not earning [2], you need to really trust the founders. They should be helping your career in significant ways: prepping you for founding, introducing you to investors, helping you move quickly into more senior roles, bumping you up to market salary at the next funding event, giving you refresher grants, etc. Whatever helps you get where you want to go since you are taking a risk for them!

Depending upon your circumstances, I probably would just find another job. At least interview to get a BATNA for your negotiation. And look at total comp (salary, bonus, and stock) that you could get. Then compare to your current place and adjust for risk / reward as others have said. Ask to see the cap table. Look at likely exits with dilution and your percent ownership. Don’t fall for the snake oil of “10,000 shares and the founders (recruiter) said they could be worth a few hundred dollars each in a couple years!” Good luck.

[1] https://medium.com/the-wtf-economy/in-his-essay-on-income-in...

[2] http://www.bothsidesofthetable.com/2009/11/04/is-it-time-for...
1B hours played. Think about your experience with a couple hundred hours, and then multiply that by a few million similar instances - how much productivity has been lost? Or how much history has been learned, friendships built, and strategy developed? Similarly, how many billions of hours have been spent browsing Facebook, for better or worse?

I think one of the most important ethical questions we can ask ourselves is how can we write great gaming, working, and social networking software that has a net positive effect on the world through the hours that are spent in it.
Crazy. I just looked him up and he is currently in Stanford. I bet his genius shined like a beacon back in high school.
~0.2% is relative to how much the company could be sold for. Maybe do some research into what similar companies have been sold for or are worth. If the company is not willing to budge on options, perhaps see if they would be willing to split the difference of your salary with a convertible note. I would think that would be a fair option.
"If you I dunno, didn’t have a lot of friends in high school, you might recognise that as a UNIX time stamp - the time in seconds since midnight, January 1, 1970. "

Great article. And a further reminder why Facebook kinda sucks.
I've played 1-5 extensively and Civ III is the most fun by far.

Anyone know how I can get Civ III on a Mac?

It's been "not available" here forever: http://www.aspyr.com/games/sid-meiers-civilization-iii-compl...

I've tried playing the Windows version via Parallels but it fails out during load.
Understanding Oracles
Why does Trump have an "outside" chance? He's leading in polls for most upcoming primaries.
Which is what makes me wonder why the hell they're trying to force Apple to write software to break into the phone. They already know the guy's contacts.
I had this happen to me... I accidentally allowed a pool to fill up to capacity and couldn't do anything with it because deleting files wouldn't free space due to snapshots and the commands to delete snapshots wouldn't work.

Then added a disk to it to try to recover. That worked, but only after adding a disk did I realize that I couldn't shrink the pool down again. I ended up moving the whole thing off to a new disk cluster and back again. Really painful.
Apple is a $500 billion company that sells hundreds of millions of devices each year and has more credit card-linked accounts than any other company on Earth.

If a warrant can force Apple to do this work now, then what is the criteria that would determine when Apple wouldn't have to help out? That is the key legal question.

If a warrant can force Apple to do whatever the warrant says would be helpful to the FBI, then that's a pretty huge scope of potential work.
Lol, happened ages ago man.

We actually are at war with ISIS. Surprise!

You see, way back in 2001 just after 9/11 Congress passed a "Authorization for Use of Military Force" (or AUMF) which is constitutionally a declaration of war. That AUMF authorized the use of the armed forces in going after "terrorists" and terrorist organizations who played a role in the attacks or who harbored or aided the groups or individuals who did. In practice it is a sweeping authorization of power which effectively makes most of the world an active battleground and is the legal basis for the US military's use of drones and bombing campaigns in areas from Pakistan and Afghanistan to Iraq, Yemen, and Somalia. It has been modified, updated, and re-authorized by congresses over time but it is still in effect. We are still at war with "al qaeda" and its cousins and compatriots, which includes ISIS (the organization previously known as "al-qaeda in Iraq").

So there you go. We have actually been at war with ISIS since its inception (which was after 2001).
Nice and ....

Pro: Companies probably can hide IP in it.

Con: Companies likely to hide IP inside Binary BLOB inside it.
I know it isn't exactly the same - to be fair it's quite simplistic in many ways - but the fast-paced maps of Populous 2 (amiga) hit me in a very similar way. With 1,000 possible levels it's almost a form of mental solitaire. With all the clicking you can't exactly zone out completely (this is where Civ's keyboard driven model is quite nice). But since the maps only take around 10 minutes to play on average, there is this addicting sensation to play "just one more" to get to the next level and see what the new puzzle will be. Then you realize an hour has gone by. Then another.
Neat, but it's almost like Flask/bottle. Wouldn't some of the unique features be better implemented on top of a well established microframework?

The API versioning bit is interesting, it would work well as a Flask decorator.
I love how Ask HN has turned into a place to take surveys.
You should also check out the first Master of Orion. The origin of the 4X name, and still one of the best examples of the genre.

(There are fan-made patches available. Make sure to get them.)
Turning off chat doesn't necessarily suggest that is true. While `sticky_pool=atn2c06_chat-proxy&state=active` suggests the case, it's something to explore and see if there is a larger issue at hand.
It seems a lot of concerns about math pedagogy tend to be killed off with "you don't have a degree", "you don't have the math gene" kind of rhetoric which is a pity. I discovered I really liked math waay too late for my tastes and it was mostly because I was being taught math by people who didn't really know math.
And just making up your own definitions for everything isn't necessarily the most useful way to engage in a conversation.
At least in the northeast US, ln(x) was the preferred nomenclature as to eliminate ambiguity. Again, it depends on what course you were taking. Lg and Ln. Log was explicitly avoided.

In higher mathematics, f^-1 does not mean the inverse of a function, unless that function is injective. Most people are aware of that at that point, but it's still a mental hurdle you have to unlearn and can lead to dangerous composition errors. (Edit: since I can't respond to you, poster below me, I mean the latter of course)

Historically, in yore days of sextants, slide rules and log tables, engineers could "lift" multiplication into addition with said log tables which were of convention base 10. For anyone who wasn't a peer in the Royal Society or a professor, that's how complicated math calculations were performed. Banks balanced books and calculated interest payments via tables like this, and the precision of your log tables had a mantissa (the original floating point error, heh).
And they obviously aren't going to make a new filesystem. That doesn't get them sales like higher resolution screens or changing the color theme... again.

Introducing a new filesystem would be a big decision for Apple. There would doubtless be all sorts of migration and compatibility issue, even aside from the work it would take. Especially given where we are in the maturity of desktop clients, it makes a lot more sense to incrementally improve the current filesystem. I'm not sure how snarky you intended to be, but no there aren't many sales in a complex undertaking that is far more likely to cause data corruption and migration issues than concrete benefits for 99.9% of users.
> 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?

ZFS was developed on another operating system, Solaris back in the early 2000's and continues to be actively developed on illumos, FreeBSD, OSX and Linux today. However the bulk of new code seems to come from the illumos and FreeBSD communities. ZFS also runs in userspace to allow for easier testing and development. So if you remove Linux you still have a working program, ie it's a working kernel module for illumos, FreeBSD and Mac OSX, as well as a userspace program.

As for the intentions of Jeff Bonwick and Matt Ahrens, it was to make administration of file systems much easier. The video posted below is about the history of ZFS and is presented by one of the creators. The first person talking is the other founder of ZFS.

Birth of ZFS.
https://www.youtube.com/watch?v=dcV2PaMTAJ4
Quite a few hedge funds manage sovereign wealth and state pension funds.
Played the original Civilization on an Amiga and have played every release since (including CivNet).

Civilization II was easily the best game in the series. It's sad that Civ V, as pretty as it is, is so freaking horrible.
Resilvering (which is basically a global data verify, similar to fsck) will fix bits flipped the wrong way via error correction, assuming you've set ZFS up that way. Are you saying this doesn't apply to the metadata?
I swear by Highcharts. It's big, and paid for commercial use, but you can chart pretty much anything with it, make it look exactly like you want, and it's relatively easy to get started and make nice interactive charts.

No affiliation, I just use it for work:

http://www.highcharts.com/
Think of this as many hours spent NOT learning homework doing rote memorization (or literally anything else unproductive), and I think you'll find it more palatable. Game playing, especially of the Civ variety, builds problem solving skills.
> Please, Dianne Feinstein is equally supportive.

She's an anomaly among Democrats. She may as well caucus with the Republicans, given her abysmal record in this area.
I wrote a similar article a few years back that employs Lua and imagemagick bindings: http://leafo.net/posts/creating_an_image_server.html
It's kind of funny that such a more-or-less linear scale of quality based on price and critics' ratings prevails in the minds of so many wine drinkers. I love wine, and I've definitely fallen into this trap before too. Now that I think about it, wine is a little like mountain biking. There are bad trails, and really amazing trails, and trails that are kind of meh. It would be absurd to obsess over only riding singletrack rated 90 or above by a professional mountain biker.
Do you remember the last war that the US declared?
A dump of Project Euler solutions in more of 10 languages
Wavelet transforms have been around for a while, and even used in JPEG 2000 for compression [1]. The article on Wikipedia does a great job of describing it. Hilbert transforms are involved. I learned of wavelet transforms when I was learning about fractals in the late 1990's.

[1] https://en.wikipedia.org/wiki/Wavelet_transform
Niklaus Wirth coin the idea

Programs = Algorithms + Data Structures

Is easy to thing that the "Algorithms" side (where is more obvious to apply math) is dominant. But instead, is the data side.

Math is worthless if data not fit it. You can't do binary search until the data is ordered/unique. Thats way I think math is secondary

Of course, datastructures have math on them, and still the data side dominate. Your O(1) get work when the datastructure is made for it...

Probably exist some counterpoint (Anyway, I'm more a database guy with minimal math skills) but I think for the the idea work most of time..
Lazarus Version 1.6
Incorporating Patriot technology does not mean it's as good as a Patriot. Nor that they have enough of them to seriously threaten our non-stealth fighter fleet.
They can't buy all the Lebrons. They don't want to play in China. During the last NBA strike problems, the same held true: nobody of consequence abandoned ship, they chose to wait it out.

The ~450 NBA players are set to make more than all the Fortune 500 CEOs combined in salary terms, with the new TV rights. China currently can't replicate everything that goes into paying for that (we're talking about $35 billion in salary in just the next 10 years). Buying a few star players won't elevate the overall league, it'll make the league a joke.

China has an economy that is about to be half the size of the US as they are forced to significantly devalue the yuan in the next 12-18 months, and their economy is sinking under a massive and perpetually expanding load of debt. They can't afford to play the game the way they used to, where they'd foolishly pay N times what something is worth just to make it happen. Those days are over, economic normalization is inbound (if they're lucky).
Genuine OEM parts do not exist, except when they are taken from another iPhone... So yes, they do exist.
> f^-1 does not mean the inverse of a function, unless that function is injective

Do you mean that it has a different meaning for a non-injective function, or that it's undefined for a non-injective function because the non-injective function does not have an inverse?
One of the greatest games of all time for sure. It's a pity that they also dropped the ball on a decent mobile version too - seems like the medium could lend itself well to a well designed turn based strategy.
Also if you aren't super prudent in turning of chat all the time, it would be trivially to notice those kind of anomalies in the graph.
How High-Flying Zenefits Fell to Earth
ASK PG: Startup News Radio interview: How did you get users for Viaweb?
I just listed to the PG interview on Startup News Radio. Loved the story, but I really want to know how Viaweb got their first customers and how they scaled bringing on more customers.
> they cannot use many of iOS features like Apple Pay
That's not true anymore
Kernel modules are not derivative works of the kernel under copyright law (which was originally designed around literary works). Some might argue that kernel modules that were developed on Linux are, but ZFS itself is ported from another platform, so that is a moot point.

The only case where you cannot distribute ZFS is if you link it into the vmlinux binary that your bootloader loads. In that case, it is no longer a LKM and you can claim the binary is a derived work of Linux. That is what I believe shmeri meant.
Kudos for the changelog starting with a very succinct summary + link, then expanding what changed :)
I hadn't donated either, and it's a killer app for me. Just fixed that.
Dammit, I trusted that StackOverflow answer T_T
Sure. But to be fair, wikipedia shows there have been 33 Israeli deaths from rocket attacks since 2001 [1] and the last two major flareups between the two have had extremely lopsided death tolls [2]. During the last 2014 conflict, that article states there were ~100 Palestinian deaths and zero Israeli deaths (at the time). During the 2012 conflict, there were 167 Palestinian deaths, >50% being civilians, compared to 6 Israeli deaths (four being civilian). I would be happy to look at alternative sources if you have any on death tolls, since objective figures are certainly hard to come across.

That same article describes the rockets you reference, but with the added context of relative quantities:

"According to the IDF, around six rockets are being fired at Israelis every hour. However, many of these rockets are not sophisticated, and they either fail to land in populated areas or lack the firepower to cause casualties when they do: Sometimes, the payloads are removed from missiles in a bid to increase their range."

[1] https://en.wikipedia.org/wiki/Palestinian_rocket_attacks_on_...
[2] https://www.washingtonpost.com/news/worldviews/wp/2014/07/11...
> Back in the olden days, marriage was a rational business ...

It still is for 80% of the world population.

> We are still traumatised by this.

I don't think that 80% of the world population would be traumatized. Arranged marriages work absolutely fine. It is rather the alternative that is in doubt.
Agreed. Fortunately, the Heaviside function gives us the best of both worlds. It's named after Heaviside, and it has a heavy side!
Because mathematicians are human and want to read math in a language designed for humans instead of for machines.
Quantum Teleportation does not involve matter moving, it's simply a clever name for a far less interesting process than you might think.

Quantum Computers are generally far less useful than you might think and go back more than 25 years.

Finding planets is hardly a physics breakthrough.

Bose Einstein Condensates reference Einstein for a reason being predicted in 1924-5.

Anyway, I don't mean physics is static, rather we have been very good at a range of timescales, speeds, and sizes for quite a while. Things you notice with a particle accelerator at 99.999x+ of the speed of light are only so meaningful.
This is a positive development.

The central question in Apple's case is "what are the limits of the All Writs Act authority?" Can a court use the All Writs Act to compel any behavior that the FBI says would be helpful to an investigation?

If so, it would seem to obviate the need for legislation. No need to bother Congress--just get a warrant for any encryption back doors you want.

At least a bill submitted to Congress will follow a public, democratic process.
Target runs a store in Rogers, AR just to spite Walmart. http://www.reuters.com/article/us-walmart-target-idUSTRE73K6...