skysight-inc/HackerNews huggingface dataset:
I've seen this play out a few times and I hesitate to offer advice only because I don't wish it to be taken negatively, so please accept this as respectfully as I can offer it.

I worked at a company that performed layoffs about every 6 months of around 10% of the staff of the entire company for around 17 years. You're doing the right thing by constantly evaluating your job prospects. The risk you've taken, now, though is that you've made yourself less visible and easier to lay off. Your manager will feel less badly about letting you go because you're not around to be reminded of. By taking a 4-day work-week, you're also getting less done which will further make the case for "not needing you". The staff who is not working at home -- assuming they are not allowed to do so -- will also start to resent the fact that you've been treated specially and may start to sabotage you subtly/unconsciously (or if they're particularly nasty people -- intentionally). This will further make the case for why you should be the next to go.

There is a large plus-side though, particularly if you're like many HN readers and are employed in software development -- you are in a good position to find a remote job elsewhere. Hiring good remote employees is difficult and makes employers uncomfortable because it's hard to know how someone will fare with a work-at-home position. One of the key factors looked for in any position is experience and you can now state on your resume/in an interview that you have experience working, successfully, remotely. That experience is further bolstered by the fact that you're employed by a struggling company who routinely lets people go and you're still employed there despite being a remote employee. I'd strongly advise updating your resume if you are not interested in consulting full time or putting enough energy into your consulting business to be able to transition to it full time.
It seems reasonable to me that indexing and search could be decentralized just as well as the documents themselves.
Using Heroku puts two levels of bloat between you and the hardware, and locks you into a hosting environment that becomes very expensive quickly. Eschew.
Mid East for Trump
Clever cloud is a good option, they're very good at what they're doing. Plans start low, and you can scale easily when needed.
They do have plenty of options, and support is top notch.
now.sh https://zeit.co/now/ and surge.sh https://surge.sh are some lesser-known options that I've used recently with ease and success (on free plan, for small projects).
This is something that people say a lot about FogBugz that you oddly don't hear so often from people who actually worked there.

For a site catering mostly to software developers, this place sure is afraid of computer science sometimes. Ooh, look, a parser --- run away!.

No wonder everything in our industry is an ugly blob of JSON.
> the media is clearly benefiting

Journalists certainly are. Getting quotes was hard work. Now it consists of trawling Twitter. Not sure if this has been a boon or bane for journalism, however.
The server doesn't send code to the client, all mods are executed by the server. Server then send textures, models,etc to the client.
Ah, you're right; 5.6 Gflops is for Hawaii. That's doubly impressive. I'll make sure to try your kernel then. Thank you!
So far, nobody has a federated social network that 1) doesn't suck, and 2) has a worthwhile user base.

Someone in college should take one of the federated systems, polish it up, and market it to fraternities and sororities at name schools as FratNet. This would give all the cool kids a private social network that they controlled.
Free PSN Codes
OK, so let's actually talk about those people then. The theory is that there is an unavoidable compromise between privacy and features and some people will legitimately choose features. That can be true, e.g. to do "people like you also viewed ..." you need the data on what people like you also viewed.

But those things are relatively rare and can be separated out. You can layer them on top of a decentralized system -- run this separate program that tells The Cloud everything you click on and in exchange you get the benefit of data from other people who make the same choice. That is still possible even if a video from your family gets downloaded P2P directly from your actual friends and no corporation automatically finds out about it and stores it in a database forever.

The problem currently is that the decision of whether to give up privacy is not tied only to the few features that legitimately require giving it up, it's also tied to participating in the same networks as the majority of people and many other features that don't inherently require privacy invasion.

Decentralization doesn't take away the choice whether to share data from the people who want to do that, it gives it back to the people who don't.
Big thumbs up for Hetzner.
I didn't say throwing an exception is an invalid operation.

How does your dynamic language tell its user an operation is invalid, based on argument type?
Thanks mate you responded. Somehow I could not find this post earlier.
Now I'd like to see this run on a more realisticly shredded image. A real paper shredder creates strips that are more than one pixel thick are not straight on (I.e. the pixels don't necessarily align with the cuts) and possibly have cutting defects such as ragged edges or nicks.
For your "sarcastic" comment, you happened to pick one of the developing countries known for doing well with limited resources, with child mortality and longevity rates comparable to the US.

A country which, btw, is also promoting medical tourism. Which includes Canadians going there - http://www.nytimes.com/2015/02/18/world/americas/americans-m... . Perhaps you could go there for treatment?

Though from http://bmchealthservres.biomedcentral.com/articles/10.1186/1... it looks like more Canadians go to India. (The US isn't on the list because Canadians don't think of that as international travel.)
And next, we could get rid of the internet, telephones, and mail. Then, finally, the people we don't like will have been silenced.
We should not be worried about chat apps, but rather the cancer that is called Facebook
One area that may be ripe for the picking is video chat, as this article starts out describing. I think everyone is sick of having half a different applications to talk to their friend. Why can't this be a protocol like email?

I think the technologies exist and have existed for a long time; RTC, SIP, ICE, etc... The hurdles are social and political.
> Does anyone know how, from our corner, filter out companies that will do crazy stuff like make you barf up 30 sort algorithms?

There's no reliable way. You just apply to some more jobs, and some of the companies will be the crazy kind, other's won't.

> And more importantly for my case, does anyone know where to look for companies that are willing to work around a college student's schedule?

Look for medium to large companies, those often have some things they want done, but aren't really urgent.

I work for an ISP and IT outsourcing company, and we have low-priority projects like updating the internally used blog to a newer wordpress version, install some plugins to get some extra functionality, write a bit of customization code and themes. These are things where we're glad when we can offload them to a part-time developer, and we don't care up if they show up in the morning or in the afternoon.

> The cards seem to be stacked against us in this one.

Don't give up. If you can get some personal connections, finding a job won't be too hard. Go to some local meetups, like your local python/perl/ruby/java/.NET/whatever monthly gathering, and see if you can get talking to some folks. Going to meetups in your free time already puts you in the upper 10% in the perception of most people :-)
Since you've provided no details at all for your requirements (does your startup need a flotilla of beefy servers to do real-time facial recognition across thousands of live 4K video feeds?) I'm assuming you have a static HTML site with zero backend required. In that case, a Jekyll/Hugo generated site hosted on Amazon S3 will be really cheap. Throw CloudFlare in front of it for even more cheapness if you expect loads of traffic. Your hosting bill will be measured in pennies per month.
He is trying incredibly hard to affect the election purely for his own (potential) gain.

One of the two candidates is much more likely than the other to put wheels in motion to allow his movement away from de facto imprisonment in the embassy.

Any other explanation for his shenanigans would be laughable.
And, just as the literal interpretation of the phrase, the figurative interpretation is impossible (even if you have bootstraps). That's why it's not happening. It's enough though, for the masses of people to be stupid enough as they are in America to believe that this is possible to create such a messed up society.
Gates' top four priorities :

Provide everyone on earth with affordable energy without contributing to climate change.

Develop a vaccine for HIV and a cure for neurodegenerative diseases.

Protect the world from future health epidemics, which might be more infectious than Ebola and more deadly than Zika.

Give every student and teacher new tools so all students get a world-class education.

I am not even sure how to measure the third and probably not the second. So I am quite surprised to see them.

I ought to go check out the Copenhagen consensus site to see how they compare.
Maybe what author means is that from the db design standpoint, composite keys are used much less often than they could be. Very often unique table row can be defined by some other column or a pair, on which you will probably put an index anyway.

But that's just playing devil's advocate. In general I think ids are fine because ORMs play nice with them and FKs are simple.
Fwiw, this article was posted was just the other day on hn :
https://news.ycombinator.com/item?id=12626314
I'm a huge fan of the IRC protocol, and I think I've set up IRC channels at nearly every company I've worked for.

Freenode and Weechat seem to support the changes, but I honestly worry that the protocol ends up more complicated than it needs to be, or possibly more complicated than people can use. Diaspora already provides a lot of what IRCv3 looks like it's trying to do. I guess I'm just not sure what the difference is.
This is the best resource I've ever seen, thank you for doing this. The training videos are great.
> but I don't think I can recommend it to anyone who isn't already probably using it

I wouldn't recommend it to my friends, who were hard enough to get off WhatsApp and into Telegram at least. To my parents, who have trouble enough running Skype. To the girlfriend, who's happy with Snapchat. IRC, even at the very basic level with a GUI or Web client, demands things from users I don't consider realistic to expect from them.

I'm very happy with it the way it is though. Just saying that I won't waste time recommending Arch Linux as a desktop OS to friends who have trouble keeping a Windows install useable for six months.
Generated unique tokens are better than auto increment IDs. They can be created in a distributed multi-master setup, and they don't expose how many of a given record type you have to 3rd parties when exposing primary keys or feeds via APIs.
Would you not say then that employees who opt in to going to an office should make less then? As they're costing their employer significantly more than a remote worker.
How does it lock you into their hosting environment? The apps I've made I've been able to transfer to and from Heroku without any modifications.
Actually, the man who writes those amazing kernels is Cedric Nugteren. I call HIS kernels.
I had the pleasure of working with Samy back at Fonality (my first job!) He's such a cool, smart, and just all around amazing dude. Anything he does is always fun, interesting, and hacker-ish.
People have pointed out that some crime concentrates in these tent cities in Seattle. But I have yet to hear evidence that it's actually creating more crime. And there's plenty of crime that happens outside of those places in Seattle, like a totally insane number of car break ins.
Whatsapp?

edit: which had a ratio of 1 engineer to 16 million active users when acquired http://highscalability.com/blog/2014/2/26/the-whatsapp-archi...
Don't governments already do this by giving universities large research grants? http://research.fas.harvard.edu/funding-sources#federal

We could triple the grants, but that money has to come from somewhere and every corner of society has a vocal group of voters who want that money. If the future US federal leader makes it a priority to cure the HIV epidemic in foreign countries while taking away cancer research funding or slashing social security that sounds more like political suicide than leadership.

I wish he would elaborate on his education vision too. "New tools" is totally vague. Khan academy and other remote tutors?
DHT helps with downloading, but content discovery depends on tracker. You can't search for, rate or review content in DHT.
It's good advice, but the formatting shown is not conducive to quick editing imo.

Here's your huckleberry:

SELECT
fs.id,
fs.file_hash
FROM
file_system fs,
other_table ot
WHERE
file_name = '.vimrc' AND
fs.id = ot.file_system_id
Every peer to peer system requires bootstrapping, often this is achieved with some central or federated nodes/trackers. Once you have peers, you can forget about trackers and use the DHT.
> and probably call your collection employees.

Really ? IMHO this is a bad practice : it makes the code les readable and breaks the auto-completion ...
Choose 2: Quick, Cheap, Good.
Carbon emissions, smog and noise pollution are externalities and not reflected in the market. This creates the huge inefficiencies we see in the economy today with combustion cars still being produced. As Bobblebobble said the most efficient way to correct this is with a tax.
John Carmack on “Genius characters”
How big would your salesforce (and supporting components) be?
Its ending is a bit more traditional, as well as explicitly making fun of the fact that people criticize him for his endings.
Yep, another vote for them here. It's expected that you're 100% capable of admining your own box, but as long as you're happy with that, the price/power ratio is pretty much unbeatable.
iOS 10 Messages – How to send fireworks, balloons, animated bubbles, stickers
On my laptop (real times for a single run):

1.6 seconds to make the TSPLIB2 file representing the dissimilarity graph. (time make tsp/instances/blue-hour-paris.tsp)

0.3 seconds to run the solver and produce the optimal tour. (time make tsp/tours/blue-hour-paris.tour)

0.4 seconds to reconstruct the image from the shuffled version using the tour. (time make images/reconstructed/blue-hour-paris.png)
Ah, is this https://github.com/CNugteren/CLBlast ?

I was looking at,
https://github.com/uncomplicate/neanderthal/blob/master/src/...
29 Card Game Play
I on average drink 120-150 oz of water a day (sometimes a portion of this is unsweet iced tea, or diet soda), since I started doing this, I've lost weight and generally feel healthier. So several years ago, I got in the habit of lugging around a large beverage container (http://www.whirleydrinkworks.com/productinfo.php?prod-code=X...) 9 times out of 10 its just tap water I put in the thing. I only drink bottled water when I'm in a position where I can't get access to fill my beverage container from the tap - or when due to security or other factors I'm unable to bring my large beverage cup, but bottled water is allowed.

Bottled water (usually purchased in a 1.5l, 2l or 1gal container) is something I purchase only for convenience when I simply don't have access to any tap water at all.
> but for a job where you're on a phone or in front of a computer screen -- what's the difference?

I like the work-home separation and don't have a space that I could reasonably use as a home office, right now. Also, meetings have much lower friction in person than over a phone. My coworkers and I are often in each other's cubes, collaborating and switching off between who's at the keyboard.

I agree with the general statement, though: If I'm doing something that doesn't inherently require physical presence, then it shouldn't matter where I'm doing the work from. In my case, working at the company-provided office is more convenient on most days than working at home would be.
Zürich is in Switzerland.

I wouldn't recommend calling them German. :)
Doesn't break autocomplete in Visual Studio 2015...
I'd go with GCE. They have a wide suite of services, and because they're the number three player right now, will probably give you a bunch of free credit to play with.
Thanks a lot for the help! (too both of you)
>"Erdogan is not a stupid bigot. He is not Trump, for example"

There are more than a handful of bigoted statements that have come from Erdogan:

Some examples:

https://www.washingtonpost.com/news/worldviews/wp/2014/08/06...

https://www.frontpagemag.com/point/196265/understanding-turk...

"On 5 August 2014, Prime Minister Recep Tayyip Erdoğan, in a televised interview on NTV news network, remarked that being Armenian is "uglier" even than being Georgian, saying "You wouldn't believe the things they have said about me. They have said I am Georgian...they have said even uglier things - they have called me Armenian, but I am Turkish"

Source:
https://en.wikipedia.org/wiki/Racism_in_Turkey
No he doesn't. In an example he actually uses the following:

ON s2.mentor_id = s1.staff_num

staff_num is the primary key

To me this isan anti pattern because:
- a primary should (can) never change;
- composite primary keys are only useful (save space) in very large datasets

It also conflicts with his pattern: uniform suffix _id
The problem with this plan is that it doesn't really tackle the first rule of the Internet: spam and abuse make everything suck.

The last really popular decentralized service was email, and users migrated to large providers because they had better spam filters. Also, setting up your own mail server has become increasingly difficult, due in part to anti-spam measures. As a side effect, email has become pretty lossy.

Centralized services are far from perfect on this, but they have a somewhat easier time of it. They can fund dedicated teams to deal with abuse. So, the result is feudalism, where you join a larger organization that provides some measure of protection. (Not enough protection, according to many people.)

I'm hopeful that Sandstorm (or something like it) will make it easier for people to run their own server-side software, but it seems more for private use; you can publish a blog but it's not designed for large-scale sharing like a social network. That still seems like an unsolved problem.
Reminds me nagravision decoders (if i recall correctly), one of the first pay tv protection algorithms

Edit: https://en.m.wikipedia.org/wiki/Nagravision
The silicon valley bleeding hearts don't like to hear the truth when it doesn't fit their narrative or look good through their valley, rose colored, horn rimmed glasses. Even Mountain View coordinated with her campaign. As much as a self serving narcissist Trump is, I find it equally appalling that she gets so much support. The entire Wallstreet transcript scandal once again got buried by Trump-mania. This will be the most openly corrupt candidate we have ever seen in the history of this country. Presidents have resigned for far less in the past. Democracy is a farce in this country.
Networking hiring works great if your company is good and you treat your people well. On the flip side, if your culture is to burn people until they exit, you'll find one person quitting and taking six along with them... and it won't be the worst performers.
Software Engineers Are Eating Capitalism
This is what you get when the majority of tax revenue comes from a small tax base. For example, according to Pew Research (http://www.pewresearch.org/fact-tank/2016/04/13/high-income-...):

> In 2014, people with adjusted gross income, or AGI, above $250,000 paid just over half (51.6%) of all individual income taxes, though they accounted for only 2.7% of all returns filed, according to our analysis of preliminary IRS data. Their average tax rate (total taxes paid divided by cumulative AGI) was 25.7%. By contrast, people with incomes of less than $50,000 accounted for 62.3% of all individual returns filed, but they paid just 5.7% of total taxes. Their average tax rate was 4.3%.

In the state of California, "New figures from the Franchise Tax Board show that the wealthiest 1% of Californians paid 50.6% of the state income tax in 2012 — up from 41.1% in 2011. It means that of nearly 15 million tax returns, about 150,000 generated more than half the revenue." (http://www.latimes.com/local/la-me-cap-taxes-20140505-column...)

It's not very healthy to collect taxes this way. As the LA Times article indicated, California's tax revenue fluctuates based on the incomes of a pretty small number of people.

When a small number of people provide most of the tax revenue, yet the political discourse constantly accuses them of not paying a fair share, it's not hard to see why they feel persecuted and try to hide their money.

It's also hard to say that they aren't paying their "fair share" when they provide more than half of the government's tax revenue. Anyone who wants them to pay more ought to provide some kind of objective way to calculate what someone's "fair share" of tax is, and that's probably impossible.
Most (if not all) of these cases are not dealing with tax evasion. It's actually legal tax avoidance, so there's no way to seize the assets because no-one has actually broken the law.

Many countries have very low (or zero) tax rates, so you can legally set up a company and put your money there.

I think one way to get rid of tax havens is with an international treaty to set some minimum tax rates, and have an embargo against any country that doesn't meet those requirements. It's not just the rich who are to blame, it's the countries that turn themselves into tax havens and make this all possible.
Zürich is not german.
Reading a lot of these comments make me think that everyone on HN is a cynic of the Oscar Wilde/Lady Windermere variety: "A man who knows the price of everything and the value of nothing" [1].

IMHO you should go with Heroku and ignore anyone who's suggesting dedicated servers, VPSes, AWS, Docker or containers. Every moment you spend maintaining a server or doing devops is wasted because it's time not spent building or marketing your _app_.

New startups' biggest expense is founders' time. It seems a lot of people, even on HN, don't realise it because it's a hidden cost. But if you think that a decent developer is worth at least $50/hr and it might take you an 1hr to set up and 1hr/yr to manage a server (e.g. apply patches, update security) then you're better off not spending those 2hrs and paying an extra $100 hosting your app.

Worrying about the future infrastructure cost is also wrong-headed. It's a kind of premature optimisation. To get the real, expected future cost, the projected infrastructure cost has to be multiplied by the probability that you'll actually get big, which for start-ups, is very low.

[1]: http://www.gutenberg.org/files/790/790-h/790-h.htm
My tech startup was just a processing server for Stripe payments, of which the static website had a single thing to buy. If its not clear all the money was made from people buying the product itself.

Heroku worked perfect for that. The $7/mo was fine.

Only reason I write this is because I wish there was a book of tech architecture case studies. What problem or business venture they were trying, what architecture they chose, how much it cost, how it worked out for them and what they wish they did.
wow! this is really awesome and perfect for my needs. thanks very much :)
While I agree that its not good to make these threats, does anyone take a bunch or gamers sitting in their mothers basements seriously when they make these threats?