skysight-inc/HackerNews huggingface dataset:
This has been going on for years, since the foundation of the TSA.

And there is another interesting metric to watch, the number of US citizens who choose to renounce US citizenship. There has been an emorrage under Obama's regime http://www.zerohedge.com/news/2017-02-09/record-number-ameri...
Graduating from introductory courses like Harvard's CS50 certainly don't qualify you for anything but the most junior positions, which graduates are surely finding out each year. They need to either put in major effort on their own or take more courses, to get an interesting position. And looking at current growth I wouldn't worry about saturation.

> A report on Science, Technology, Engineering and Math (STEM) from the Georgetown University Center on Education and the Workforce forecasts 51 percent of STEM occupations will be computer occupations by 2018.

http://logos.cs.uic.edu/recruit/csstatistics.htm
Is the Zcoin bug in CheckTransaction()?
> On the other hand, the economics effects of credit cards, or credit/loans in general can't be understated. Some industries and therefor technological advances like cars or housing for example, would never be where they are without credits/loans.

credit card != line of credit
Ask HN: Can Facebook (or Google, Apple, Amazon) Live Forever?
The Bloomberg article [0] had me thinking.

Can a dominant internet company (Facebook for example, since most people here seem to think they are more vulnerable than the others) prevent its ultimate demise simply by buying competitors and building a Berkshire-Hathaway-style holding company?

If not, what are the confounding factors? Antitrust? Company culture? Lack of vision?

Is big business necessarily the future of tech?

[0] https://www.bloomberg.com/view/articles/2017-02-17/mark-zuckerberg-s-manifesto-for-facebook-offers-a-social-dystopia
A credit card literally pays you to use it, with cash back or miles or whatever you get. If the price is the same for debit, why would you not use a credit card?
LZ dark matter detector on fast track
My understanding is in the US you can actually make money/rewards if you use a credit card and make sure to pay it off monthly. That's not the case in many countries.

How do credit cars offer better degrees of fraud protections?
How would a credit card work, without a line of credit to back it up?
Go (well, its main compiler, not gccgo) is one of the few languages that does everything by itself. It's awesome. I can just tell it to compile to FreeBSD/arm on a Darwin/amd64 box and it will just fucking do it!
botpress-messenger + botpress-rivescript = sugar
Lincoln is suspected of having had it.
In the normal world, the machinations of the NSA have zero impact on the decision of someone to visit the USA. Zero.
If a robot could assemble other robots, are those the original robots' "dependents"? Or if I provide the electricity and spare parts are they my "dependents"? I don't think the concept of robotic dependents is going to work for tax purposes, but I do imagine tax attorneys giving it a try.
How does this differ from so many frameworks? If you still use platform dependent APIs and do not hide abstraction over them. I would not call it wordpress for bots, because Chatfuel is more close to being a wordpress for bots (with closed source)

`bp.slack.sendText` vs `bp.messenger.sendTemplate`
zerohedge? really?
Time delay air cushion or parachute could resolve those problems pretty cheaply.
I'm not sure this currency will take off but how about the following: Instead of network paying for DDoSing TLS connection let it pay for relaying TLS connections.

The principle of would the same as in DDoSCount, but miners relay connections of certain users until it results in signature of given difficulty. After obtaining such signature, miner would be able to withdraw from user's account certain amount of coins. The probability dictates miners would withdraw randomly from all users.
My point is that it's not "(typeclasses, interfaces, whatever)". They're similar, yes, but my point is that they aren't similar enough in the "mechanical" sense that the parent poster seems to be assuming.

EDIT: Btw, I think it may actually be possible to encode what the parent poster wants by just having a type class per method, but it's obviously a weird and non-idiomatic encoding given the presumed lack of any laws.
A sideline: stereoscopic rendering:

I always wonder, why are they drawn for divergent view? (right plot: right eye, left plot, left eye). Convergent view (cross-eye) is much easier for large (full screen plots).

Swapping both plots, (most) humans can easily see the stereoscopic picture without any aids, but it's more or less impossible for almost anyone to have a 3D divergent view for 3D plots where the eyes look away (wider angle than parallel).

So the size limit for divergent view is _much_ smaller than for cross-eyed view.

It is always great to see 3D plots in actual 3D, while regularly working on a notebook, and convergent view would make that quick and easy...
What ended the dark ages of the universe?
Heh, speaking of linking individual functions, GHC Haskell has a flag to emit one object file per function and do that thing with a traditional linker.

It's horribly slow.

But it produces smaller binaries, I've got 2x smaller binaries on my projects with that option.
Try visiting Europe from the USA with just an ID card. Let me know how you get on!
I backpack since 1993 and always wanted to travel the world all my life (that includes the time that I raised 2 kids with my Japanese wife who never questions relocating to another country every 3 years because they realized how awesome an adventure life can be this way). Currently living in Eastern Europe which is the most awesome place these days (my kids speak 8 languages and us parents 5 as a result).

There is a lot of can-do here in Eastern EU compared to old-Europe. I had all sorts of jobs including diving instructor, then deep sea saturation diver and life support technician on offshore rigs in South East Asia. I made a boatload of money always doing what I loved and never listening to anyone else (especially not those who said it was better to lead a stable life in Austria). (I look back at these people today and can only feel sorry for them since they only know a life of fear (thanks to social and environmental conditioning that turned them into these sad characters they are).

If I look how the US treats their people with majority of the poor and black population incarcerated ... (and how they lock the middle class into their system with double taxation for those who dare to try their luck overseas) ... no thanks. The US is so badly broken that fixing it is not something that my generation will witness in it's lifetime.

I was supposed to relocate to Boston exactly now. But I changed my mind because I will not support this regime. My opinion is that if you are an American citizen currently not burning your flag in the street you are part of the problem. I would be totally the wrong person to uphold any of the fucking hypocritic values the US expects me to subscribe to when entering that country.

Also I threw the towel as engineering director in a Boston based Tech incubator for the same reason. I am not siding with racism/bigotry. The only way to have peace of mind is to ignore anything that comes out of the US as much as possible. I also make an active effort to watch what products I buy to ensure that as little money as possible goes from me to any US based business.
From an outsiders perspective it seems that a lot of the problems originate from the amount of training required to wear the uniform.
Nunjucks templates with Gulp
I can't think of more defences, but they briefly mention the possibility for websites to mine DDoS coins against themselves and I think it's an interesting perspective. I don't know the algorithms involved in the key exchange well enough, but if they support bulk optimizations like RSA does (it's faster to do thousands of signatures in a single operation, rather than one operation at a time) then the server has a noticeable advantage on clients - to the point where it could drive the difficulty insanely high and make it unprofitable to mine DDoS coins.
I've seen several ads on TV and billboards which just say "Search for $brandname $productname" instead of a URL.
I've replayed it recently and I found the world to be magical. I can't see how anyone would call it dreary and dull and I cared about what happened. But to each his own taste.
A bit like Torcoin, basically.
And lets not forget the Torvalds policy of "we do not break user space". This makes it hard to get new stuff into the kernel, because any interface between the kernel and userspace that the new stuff expose will from that day on be set in stone.

The desktop devs on the other hand seems all too willing to break existing interfaces, treating them more like internal code than something exposed to third parties.
That's the thing, debit cards are so common in Scandinavia so many people call them "credit cards" ("kreditkort") even though they're really not.
Burp suite basic
Resilient functional service design
I think that's only in North America. Never heard of that elsewhere.
Lots of people still disagree with the github-resume thing though. It seems that it's only valued in recent domains (ES5 web front end maybe).
I'm not sure about the "born with" part, but I think exposure to good storytelling in early childhood might play a significant role in whether you grow up to become a good storyteller. A consistent theme among famous writers is that they loved to read from a very young age, their parents used to tell them lots of bedtime stories, etc.

Maybe this early exposure to fiction influences a developing mind in a way that's much more difficult to achieve once you have grown up. Learning to jump seamlessly between Narnia, Hogwarts, the Hundred Acre Woods, Victorian England, Medieval Europe, the Arabian Nights, and back to the real world is a bit like learning a new language, a new culture. Children learn new languages much more easily than adults do, and the languages you learn in your childhood stick with your accents for the rest of your life.
I'd take stand up comedians as an example. I remember watching interviews of now well recognized comedians recount how they started out doing terribly. but through persistence, learned the craft and became professional storytellers.
It might surprise you to know that the cost of a trans-altantic freight voyage for a standard 20 foot shipping container is down under $2500. I find that startingly inexpensive (given the scale of the infrastructure required to make it happen...)

http://www.chinaimportal.com/blog/shipping-costs-when-import...
Basic+Love+ +by+Frederic+Thomas+
Anonymous developers, no public code audits by renowned security experts. Haha.
Porting LevelDB to CloudABI
> Public land use most often correlates its fees to related expenses. The value of the land is irrelevant to public use; it is held for the general public, not for value as an asset.

Like any asset, the value of land reflects how much value it could produce if put to other uses. (If anything it's an underestimate, since public use may well be able to produce greater benefits than private use, if those benefits would be widely distributed and hard for a private organisation to capture). Not including the value of the land creates an extreme status quo bias - if you were considering whether a new road or railway was worthwhile you would certainly include the cost of the land in the costs, and if some scheme enabled selling off a public asset (e.g. the recent moving of the BBC) you would include that in the benefits. The right thing is to recognise that the land is an assert worth x amount annually, and that we have a choice between using it for a road or some other purpose. Road maintenance costs are not the only cost any more than building maintenance cost is the only cost of a building.

> If the cost of the burden of the roads themselves increases, the fuel tax should increase. If there are fewer drivers (or lower fuel consumption overall), the fuel tax should increase to cover their portion of the road budget. These directly correspond to the same mechanics as rent.

Not at all directly. Different vehicles do different amounts of road wear for a given amount of fuel, and the impact of a litre's worth of pollution can be very different depending where it's burned. So while fuel tax is part of it, there's a place for things like the congestion charge or the new emissions charge as well. And, as I said above, road maintenance is a small fraction of what a fair road rent would be.

> Plus, bike lanes and sidewalks are a government owned & run part of many roadworks, so it's not just paying car owners that are served, so if anything the fuel tax payers are subsidizing this benefit to bicyclists and pedestrians.

If there is a benefit. Too often a useless cycle lane is put in as a fig leaf for a road scheme. (And I think the useful cycling schemes are usually local council funded rather than highways funded?)

But sure. Cycle lanes are a subsidy to cyclists, pavements are a subsidy to pavement users, and we should absolutely consider whether there are more valuable uses for any land we want to devote to such. I think we're all too eager (particularly in Britain) to treat certain land uses as sacrosanct, particularly with so many people struggling to find houses to live in, and as well as closing roads we should be more willing to cut off a walking or cycling path when that's necessary.
> There's nothing “deep”

deep, in the sense of a graph depth of replies.

The website is designed to slow down 'deep' discussions.
the article is painfully verbose, and doesn't even get into what the objective function is! (it just gives a high level description of what dynamic programming is) And the paper is worse, droning on the idea for 82 pages!! The idea is interesting, but its on the level of a programming puzzle.

The idea:

If there are k bins in a histogram. The "fitness" of a bin is

N[k] ( logN[k] − logT[k])

N[k] is the number of elements in bin k

T[k] is the width of the bin k

The fitness of a histogram is the sum of the fitnesses of all the bins. The larger the above number, the better. The optimal segmentation of the bins can be found by a simple recursion on the elements,

(Best Histogram for points 1..n)
= max_j { (Best Histogram for points 1..j) + (Fitness of final bin from j...n) }

Finally, the formula has a simple interpretation. If we think of the histogram as a probability density function, we can be said to be trying to minimize the KL divergence between the histogram's distribution and the empirical distribution.
Can I respectfully disagree with Dang's changing the featured link?

As someone who is not informed on Orwell, the previously featured article actually helps me understand what it is trying to say. It also gives me crucial basic information (e.g. Blair = Orwell) which is missing from the London Review of Books article.

Reading both would be best of course, but I know which link I'm sending to friends first.
Link to the Torcoin paper, for other people like me who hadn't heard about it: https://petsymposium.org/2014/papers/Ghosh.pdf
Actually I'm pretty sure my only card (here in France) is a credit card. It's written "credit" on it, after all (it used not to say it, but I was issued a new one recently precisely because regulations now say it has to be written on the card, apparently).

But until I lived in Canada, I had never really understood the difference between debit and credit cards, I didn't know you had to manually pay your credit card's balance from your bank account once a month or so.

My "credit" card just pulls money from my account at each purchase (well, a few days later). When I was in Germany and the Netherlands last year, every shop was asking whether my card was credit or debit, and I wasn't even sure what to say.
Host shares should work, but might not be if you use the open-vm-tools. At least in ubuntu 14 it got broken and while upstream fixed it, Ubuntu did not care to fix it in their repo.
This doesn't sound right either.
And in the UK. I use mine for miles and can upgrade myself on transatlantic flights a couple of times a year, just from day-to-day card use. Why would I use debit when I could get that for no extra effort or cost?
Hi, drop me an email on rume.gbenedio@yahoo.com

Have an idea which we can collaborate on.
What? This is totally incorrect. It is perfectly possible to build systems that verify total issuance while concealing amounts. Blockstream's Confidential Transactions does this, for example.
> The statistics in the article support the idea of luck

Not really.

High ratio of failed startup can easily be explained by either lack of grit or lack of skills of by both.
Someone changed the original link for this thread to another link in Stack Overflow that actually explains the reason for the behavior. Strange but true.
Hacker News is implemented in a dialect of Lisp designed by a guy who wrote multiple books on Lisp. Seems even lispers don't learn:

> The assignment operator is =. I was dubious about this, but decided to try it and see if I got used to it. It turns out to work well, even in prefix. Stripes stand out, which is why they get used on warning signs and poisonous animals.

http://www.paulgraham.com/arcll1.html
Not concerned at all. It's great. It's a modern, fresh, honest approach.

The only concern would be if an ad company like Google or Facebook would buy them. Hope this never happens and they stay independent (but very successful and rich and everything)
Clarity above all!
Geolocation witho GPS
What is it with this link...

Duplicate:

https://news.ycombinator.com/item?id=13645825

https://news.ycombinator.com/item?id=13659864
Yes. That's exactly why the banks are doing it. I currently reside in Thailand and when opening an account with a local Thai bank, I have to fill out this form. A local bank, which has no branches in the US (or really any other countries) and I'm not a US citizen nor have ever been there. Yet they get bullied into getting me into contact with the US burocracy out of fear of getting fined. I don't think that's ok. And it's just one example why the rest of the world is severely cutting their dependencies on the US whenever they can. Global scale e-spionage is another big issue.
He was talking to a fellow European, obviously. Americans need a passport. If you had trouble entering the EU as an American, feel free to relate your story.
In terms of your anecdote about your client's experience - I can't speak to this, as I'm not directly familiar with this "Google for Domains" service and I don't have enough details from your post to comment.

However, I can assure you that Google definitely has a customer support department - I work with them every day =).

Also - it's important to distinguish between the free products we offer - and the paid products - where you actually give us money. In the latter case, there is nearly always a customer support hotline, and in many cases, a binding SLA agreement.

I work in Google Cloud, on the support organisation side of things - and I can confirm there is definitely phone support (along with chat and email), we do have SLAs on all of our products and you are definitely speaking to a human. It's not particularly hard to reach a person - either go through your admin panel (https://admin.google.com - click the big question mark), or all of our 24/7 support numbers for each country are right there on the website:

https://support.google.com/a/table/3247295?hl=en

That's on the business side. On the consumer side, the phone numbers shouldn't be too hard to find either on a search e.g.:

https://support.google.com/googleplay/answer/7100415?hl=en&r...

My own anecdote - several years ago before I started with Google, I subscribed to Google Play Music - I accidentally un-favourited a track once, and I couldn't find a way to find it again. So on a whim I rang Google Play Music support, and went straight to a person within seconds. She was very friendly, and tried to help me find the history - unfortunately it wasn't there, but the customer service was pretty damn good - a heck of a lot better than all of my experiences with several un-named mobile phone and broadband companies. (Hint: I'm in Australia)

Disclaimer: I work for Google.
Every comment you've made in this thread has a tone of defensiveness and a lack of anything constructive as if everyone here is personally threatening you.
Ask HN: Help needed on database schema designs
Hi HN,

I work as full stack developer, but never really spent time on Database designs. I had written code to retrieve data out of DB, but never ever created a schema from scratch. So, I thought of doing some side project to understand how database design involves.

I had decided to create a Resume Builder Application. Here are some of the features that I had thought about:

* User can sign up to create his/her own resumes.

* User can have multiple resumes. (only applicable for paid users, for free users only one resume)

* Resume can be built from the UI (from available components) and user can save it as draft.

* Resume can be published via url.

* Published resumes stats like visitors count needs to be calculated.

* User can delete the resume.

* User can upload his/her pic.

* User can add description about themselves.

Given all these, I have come up with this schema:

https://ibin.co/3CoJEfeQTuAp.png

Here are the questions I have:

1. I have a general knowledge on RDBMS, so my schema targets databases like Oracle, MySql etc. But can we choose NoSql for this problem? If so why?

2. Is my schema correct? Does it work on large data with ease?

3. I thought of saving the resume layouts (layouts for each resume is decided by the user via say UI) in JSON format. Is it a good practice to use JSON datatypes?

4. ResumeData table serves to store the user data for each resume. Is it a good to have a separate table for the same?

5. If the answer for the first question is RDBMS, which database you will prefer? I had decided to use PostgreSql.

Thanks a lot for spending time on answering these questions.
that sounds like a debit card to me.
Regarding your claim about SLAs - there actually is an SLA for all of the paid Google Cloud products - e.g. the following would apply for GSuite, which covers Google Sheets:

https://support.google.com/work/answer/6056635?hl=en
https://gsuite.google.com/terms/reseller_sla.html

If you mean the free products e.g. Google Sheets with a consumer account - AFAIK, there isn't a contractual SLA per-se, but the uptime is pretty good =).

You can also see a status dashboard with historical status here:

https://www.google.com/appsstatus#hl=en&v=status

RSS feed link is at the bottom of that page.

(Disclaimer: I work for Google Cloud, on the Drive/Docs/Sheets side of things).
> Notice there’s a lot of pixels here that don’t map to any segments, 30% that will never be displayed.

Unfortunately this problem, the slant (italic) added by the hardware, and the bias introduced from mapping the horizontal lines (A, G) to the "left" pixels only, causes artifacts in the output. A good example is the left side of this[1] image, where the bottom of the 7-seg displaying "F" has a large jump rightward to the "1" below it.

To get around these problems, aalib[2] renders each glyph that it will use, and for each block of pixels to display calculates nearest glyph. This automatically provides anti-aliasing for any shape glyph. As you already have the error (remaining distance to nearest glyph) for each group of pixels, it is also easy to add dithering to distribute the error across the image.

[1] http://i1.wp.com/www.plingboot.com/wp-content/uploads/2017/0...

[2] http://aa-project.sourceforge.net/aalib/
Yeah, meta is something I always struggled with in Lua, as you're completely constrained to the table structures, but just that little extra power of being able to metaprogram over whatever data I want, is absolutely incredible, and it's a bit easier to think about imo than Scheme macros just in the sense of trying to macroexpand in your head.