jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
There are so many misconceptions from developers, even more when building apps used worldwide. If you plan to accept data from different countries, free text with no validation is the only acceptable answer.

I remember once we had to remove validation from names because some countries don't even have last names, and others have real names with two or even one characters.
some usefull links:

- The free and open global address collection : http://openaddresses.io/

------ "OpenAddresses Hits 100 Million" https://www.mapbox.com/blog/openaddresses-100m/

- OpenStreetMap "addr:housenumber" FREQ
http://taginfo.openstreetmap.org/keys/addr%3Ahousenumber#val... [ more "14" than "13" ]

- OpenStreetMap "addr:street" FREQ
http://taginfo.openstreetmap.org/keys/addr%3Astreet#values

- OpenStreetMap "addr:postcode" FREQ
http://taginfo.openstreetmap.org/keys/addr%3Apostcode#values

- Derek Sivers: "Japanese addresses: No street names. Block numbers." http://sivers.org/jadr

- Wikipedia : "Address (geography)" http://en.wikipedia.org/wiki/Address_(geography)
If you're not going to support a serious reputation-destroying accusation then why make it in the first place? I don't think HN is the place for smears.
1 in 30M? so, with over 600M passengers per year, that's roughly 20 people a year who would get cancer (and die?) because of those machines. I'm not sure how credible are those stats, but I wouldn't want to be making decisions at the TSA right now...
1. I don't pretend to know what 95% of users will care about.

2. MySQL writes the timestamp for NOW() into the binlog so provided your master and slave are in the same timezone, it's replication safe. Functions like UUID() and RAND() will behave as you describe.

3. I disagree. MySQL's replication is more mature, widely understood, and has more documentation than PostgreSQL's.
It's not hard to make an app, but it's very hard to make a great app. Most devs obsess about design the same way designers do and most designers can't code very well.
You can't use HSV because the apparent differences in H / S / V aren't linear. You need to convert it to a different color system:

https://en.wikipedia.org/wiki/Munsell_color_system

What is interesting about this color system is that it isn't symmetric (your eye is better at differentiating certain hues like blue at more maximal values than others) so more care is needed on the nearest neighbour lookups.

If you are using this coloring scheme for labelling colors in a photograph then you also need to adjust for colors that are especially vibrant and overtake the photo. For example this photo:

http://1.bp.blogspot.com/-OkTS4Wo34UM/Uwg568lRl2I/AAAAAAAAFi...

Is best tagged "pink" not "brown".
I really don't like how tones are presented as a confounding item like irregular verbs. Tonal languages essentially just take advantage of extra bandwidth that was ignored by most european languages.

Most irregular verbs also serve to increase bandwidth though: You can say "I ate" faster than "I eated".
We use tones in English, too. Is it TACO Bell, or Taco BELL? Either one can get you laughed out of the room in refined company, depending on your peer group.
The construction of Nepal's flag is a straightedge-and-compass construction and is specified in their constitution.

Numberphile made a video: https://www.youtube.com/watch?v=f2Gne3UHKHs
Why not just merge the CRLibM implementations?
Interesting concept. Who's behind it?
To clarify, do you mean something like this: http://www.rotowire.com/daily/nba/optimizer.htm
Right, I saw that also. Is it referring to routers that happen to run SSH with default root/admin passwords or something? I couldn't find anything more concrete.
> Its almost like they are moving to PC as a service.

I'd love that offering in a slightly different sense.

I do most of my personal compute intensive work on AWS these days. If I am processing a bunch of old files into a different format, or archiving old photos, I might spin up a many cored instance and parallalize it to turn a day's processing into an hour (mostly the code, and a few minutes of compute). And I store old junk in AWS for at least an order of magnitude less than dropbox or google drive can get me. I had a personal project where the naive thing to do involved a massive matrix multiply, so I saved myself a ton of time by spinning up a machine with half a terabyte of RAM and did it naively, saving myself an enormous amount of time trying to do something clever.

At this point, for my own machine, I'd love something that amounts to a big battery with a wifi connection (and maybe a teeny tiny cpu somewhere in it). For workloads that can be done over SSH, it's all I need. If the rest of my needs could be met that way, I'd love it. It would be great to just have a remote desktop I can spin up in AWS, changing the size and specs as I want. Basically stadio/geforce now for everything.

I expect as internet becomes more reliable, this will be a thing. Sadly, instead of being able to install windows or OS X on an EC2 instance with an image that I can pass around wherever, moving to GCP or nvidia whenever I decide to, it'll probably be a locked down offering like some services we are starting to see today :(
This is very true. I just want to point out one under-appreciated side effect of hands-on altruisim: it does often change the person for the better.

It's often better to give money, and there's no better way to see how little you can do with your hands vs how much you can do with a dollar than to go and see it yourself. Even raising awareness about the problems with a visceral experience of being there can make a person more prone to donate money, advocate for causes, and be contemplative in their policy choices.

But, money is not a sure-fire solution.
Even when donating money, this is a cognitive barrier that must be overcome.
In major philanthropic work, a huge problem is matching the donor's expepectations of targetted "This person saved 1000 people" investments vs a "general fund" investment to, say, a global vaccine initiative. There's no traceability when you dump your dollars into a pool to buy a billion vaccines, but there is enormous positive impact. Contrast that with, say, building a well in a village (something that is usually poorly done, poorly maintained, and not very helpful compared with a municipal water project or sanitation education program). But the well has immediate impact that can be photographed and they probably got their name etched into it.

These aren't made up examples, I've heard these stories from policy / fund raisers. They just shake their head and agree that the world is slightly better, even if it could have been even more slightly better.
Transferwise is neat. I'm however even more impressed by an article writing about it without using the word "disrupt".
Speaking from experience, being the youngest appears to have no upsides: you're expected to perform as well as people older than you which creates tons of pressure, you're probably physically smaller which can impact confidence/sports/romance, socially you're a year behind, and it only gets worse later - in many countries the legal drinking age (18) aligns with the average age of entering university which means your options for social development at a crucial stage of development are restricted further, etc.

By the time you're 30, an extra year saved going to school earlier means nothing, and the price you paid in terms of developing neurotic conditions (e.g. perfectionism) which impact confidence and social skills, is most definitely not worth it. My kids will follow a similar path to the one you outlined, and I will strongly encourage them to take a gap year before considering applying to university.
One more argument against javascript enabled by default.
Yes, kernels are not difficult because most of the problems are purely technical problems, that programmers can just decide for themselves any ambiguities, and many of the parts can be worked on separately. Software with users is 10-100x more difficult.

http://c2.com/cgi/wiki?WhyIsPayrollHard
Generally it's considered normal practice for a founder to draw salary post-seed funding, although it's common for it to be below market rate (rising when you raise your A)
Might also want to checkout libsodium (https://github.com/jedisct1/libsodium).
In contrast, getting R up and running is very easy. I can easily set up multiple R versions on my machine. If I want to emulate a library environment on another machine, I just need to copy the folder over to that machine.
PG ignored current trends and recent history to an absurd degree in his recent blog post.

Not factored into the equation: An actual, provable, verifiable history of illegal salary-fixing. The experiential reality that most immigrant programmers get a lot of mistreatment, both from racism and from their own incompetence - and the related experiential fact that a lot of immigrant programmers are utterly incompetent.

The rhetoric of these arguments talks about 10x programmers, but companies really seem to prefer importing 0.1x programmers or even -10x programmers.

Meanwhile, tons of companies have immense success with remote work, and the wage changes associated with the last ten years are not at all commensurate with the increased value of programming work. (See aforementioned illegal salary-fixing.)

Is remote work easy? No. But is PG's business about doing easy things? No.

I literally just ran grep -c "table" against a text dump of this comments page. The count was 122. 122 uses of the table tag. Since that includes </table>, 61 tables.

This whole argument is as up-to-date as the HTML on this page.
Given the discussion at http://news.ycombinator.com/item?id=1895057 I thought I'd post this in the hope it may be useful to some of the participants.
Maybe take the day off from your day job to work on your side project? :)
Zuckerberg's hair hasn't even changed since way back then... how many years ago was that? 6 years! Fuck, the world moves fast now. From college student to CEO of one of the most used websites AND a movie made about you, that will probably win a few Oscars.
My employer (a math textbook company) uses previously-developed GPL-licensed software to do online homework. We host it and provide support, further development, and preset problems and courses that correspond to our books. I get paid for doing server maintenance and hacking on the code.
If I'm not mistaken, NASA and DARPA have already initiated plans to turn this into reality under the "100-Year Starship" program: http://www.kurzweilai.net/nasa-ames-worden-reveals-darpa-fun...

EDIT: As to this: "This is premature," Ed Mitchell of Apollo 14 wrote in an e-mail. "We aren't ready for this yet.", I think it's really necessary. A large part of the plan is a push for private investment and developing the private spaceflight industry. If what's happened in the past with both automobiles and aviation is any indication, there won't be any sort of massive innovation or progress unless spaceflight is commercialized. The amount of stagnation in the development of human spaceflight is absurd considering the way aviation took off in the last half of the 20th century.

Burt Rutan makes a very compelling argument to this end: (http://www.ted.com/talks/lang/eng/burt_rutan_sees_the_future...)
It does essentially give you number portability.

1. Set up Google Voice to forward your GV # to your cell phone.

2. Install the Google Voice app to get push notifications for SMS messages sent to your GV #.

3. Give out your GV # instead of your cell phone number.

4. Change the forwarding rules at will -- you can even use the same number for multiple phones.
Hey hey, no need to preach to me.

> if I win a big bundle in the lottery, maybe I'll fund the ACLU, EFF, and even more aggressive legal organizations to go after any lawyers making trouble for harmless people

By saying this, you're tacitly admitting that some lawyers are fighting the good fight. And above, there's plenty of non-lawyers proposing broken analogies with trespassing, even though one can't prevent access to their house with certainty nor easily mitigate damages.

So "lawyers" aren't the root problem, but the general dislike of them certainly points to it - legal complexity that grows without bounds. And while this is fueled by lawyers (and others) tending to want the world to work the way they already understand, channeling rage at them only obscures the actual problems.
The Press should also take some of the blame. I would wager narcissists make far more outrageous claims about their ability and their companies ability. This gives these leaders the "rock star" status thus propagating all that is wrong with leadership as described in the post.
AWS and competitors are very capital intensive businesses. While the software might be easy-ish to replicate with a medium sized software team, the capital required to set up and then run dozens to hundreds of packed data centers is prohibitive for most competitors. The cloud market will turn into the chip market, where the capital cost of fabrication facilities is an enormous barrier of entry to the market. That is why the only real potential competitors in the space are from companies with lots of cash to burn and who can leverage the same "we need data centers anyways" model that Amazon does.
Uh... I don't get it.
It is amazing how he performed "exhaustive, quick google search" to find the number of introverts??!!
Lua is cleaner because it's a tiny language. Whether that's better or not depends on what you want from it. But let's just say people don't solve their problems with OOP when OOP isn't a built-in.
One of the little things that I love most about IntelliJ is its expand/shrink selection command. It's one of those things that you have no idea how useful it will be until you get used to it, then you can't live without it.
Indeed, so was I: the cºr indirections strike me as a very good reason to not switch to `first` and `rest` (or `head` and `tail`) in Lisp: they provide an unambiguous and readable way to quickly traverse multiple levels of datastructures (as long as they're not abused too much) which is not as easy to generally replicate using more meaningful names.
“Misquotation is ... the pride and privilege of the learned.
A widely-read man never quotes accurately for the rather obvious reason
that he has read too widely.”

Hesketh Pearson (1887 – 1964)

There is a more amusing one than this but I cannot find it for the life of me. Obviously this applies more to the spoken than the written word but the point stands.
Interesting... I'm on Ubuntu 14.04 too, and Firefox fails for me, but Chrome succeeds.
https://www.youtube.com/watch?v=638_Jpp2Rq8

:D ... cringe-inducing to the point it could gag a maggot ...
> now this won't work for devices secured by password that don't have an outside reset but for online accounts want prevents law enforcement from spoofing the system?

The power to subpoena evidence from the service is powerful and the tool likely to be reached for in such a case. Unless you mean an online account storing encrypted info?
Hurts, don't it?
My personal favorite: how long is a month?

- An even 30 days = Easy to explain and do math with. Adding/subtracting 1 month can leave you in the same month or skip February entirely! Anniversary dates bounce around from month-to-month. Maps poorly to yearly calculations.

- However many days >this< month has = Harder to explain and do math with. Months without 31 days can get skipped when adding/subtracting 1 month. Recurring events get pushed away from the end of the month to cluster around the beginning of the month. It does result in a steady anniversary date for edge cases.

- Closest numeric day, but prev/next month (e.g. Jan 31 -> Feb 28): Easy and hard to explain and do math with. It's great for ensuring events only ever happen once per calendar month, but adds extra ambiguity (e.g. Jan 31 > Feb 28 > March 30? ... or March 28th?)

- 30.4... = Just no... except for the few times this is right and you need consistency to avoid unfairly comparing 28 days vs 31 days.

The consequence is some very surprising things the first time you see them. Some billing systems simply avoid doing work past the 28th of each month (either doing it a bit early or a bit late). Some just embrace the weirdness (whichever you flavor you pick) and you get used to the quirks (e.g. end-of-month lulls and start-of-month spikes).
Which properties do you mean in particular? The main point is just that finance doesn't necessarily require perfect accuracy. It does when Bob sends Alice $1 and their account balances must line up perfectly, it doesn't when you're implementing models which already have greater error than floating point could imbue. Not to mention that decimals, integers and rationals cannot compute something as simple as compound interest without lack of accuracy, so they're not going to save you when you're implementing Black-Scholes.
And means you can only carry reduced loads or deadweight.

Doesn’t sound technically complicated though, so I wonder if the extra expense is lack of volume.
I look forward to the tax havens on Mars
I think that the theoretical aspects of CS are interesting, this is lots of math (especially crypto) and lots of formal proofs (algorithms).

Being able to predict how complex and long simulations will be is great as well.

BTW I think that "Computer Science" is interpreted differently in different countries. In France for instance we have _informatique_ which means "things with computers" and usually is understood as "development" or "system/network administration". _
At one of the companies I worked for we used the CMS API Contentful (https://www.contentful.com) together with a static site generator.

People can write content through the Contentful dashboard which has a decent editor.Your website would be notified through webhooks about changes and rebuild.

Not sure what exactly you need to do with the list that you get from the public API. If it's as simple as showing the raw content you might get away with a little bit of JavaScript embedded in Wordpress/Webflow.
Uber has tens of billions of dollars. They have to be able to achieve it, as this ruling shows. They cannot violate the ADA. Playing the whole contractor charade may help them to get around minimum wage laws but it's not gonna help them get around the ADA.
Tax competition is what keeps governments in check. Taxes are just fees for services in the territory of the state (e.g. security, market access, infrastructure, …). If these services don't warrant paying the fee anymore people and companies should of course leave for better-run places! Nothing else will make governments become more competitive than voting with one's feet. We should really become less sentimental about countries, they are just crude constructs to provide services that need coordination which markets can't as easily provide. Choosing the best service provider is something good as it increases overall efficiency as only sufficiently efficient systems survive in the long run.

Wanting a global minimum tax is like one mafia asking the others to increase their protection charges so their clients don't leave. Such collusion is frowned upon for good reasons in free markets as it leads to worse outcomes due to reduced competition.

I'm hopeful that this idea will not work due to the profitability of breaking the deal and the big number of countries that exist. The US also shouldn't overestimate its importance which seems high but ever-declining.
> Using their software on professionally hosted servers

> haven't initiated a business relationship

????
In this case the single mom does have some safety nets (stamps for food, housing opportunities commission for rent), but there is way more than just basic survival she has to worry about. She's taking care of her mom who has failing health, she has health problems of her own, and she has a special needs daughter... it's just extremely hard to make sure all your kids are getting a quality education when you are burned out as a single parent.
Media should not be centralised
Salary is a negotiation between parties. Looked at soberly, you're the business, your employer is your customer, and the salary they pay you is really the price you charge for your services.

They have no obligation to pay more for your services than they think they have to, compared to alternatives on the market. And you have no obligation to charge less for your services than you can get from other "customers". Either of you can negotiate the price up or down, and the other is free to take it or leave it.

It's not about who "deserves" what. It's a simple negotiation, like every other business transaction.

The more valuable (and less replaceable) your services are, the more pay you can successfully negotiate for. I guarantee you there are plenty of people at these "location-based pay" companies who've negotiated for considerably higher pay than others in their location. Just as there are many businesses (e.g. Apple) who've found a way to charge more for their products than their competitors have.

So it's worth learning to negotiate. And, perhaps more importantly, it's worth learning to provide massive value that's hard to replace. Or accepting the tradeoffs if you choose not to.

Let's say you mould your skillset to fit perfectly into a commonly-open job description: front-end software engineer. Well great, the benefit is you have lots of jobs you can apply for, so you can easily "fire" one company to go work at another. The downside is you're now in direct competition with a million other people who've shaped themselves to have the same common skillset, so it's easier for companies to fire you. Competition drives prices down and makes you more easily replaceable. But it gives you some safety due to redundancy. That's often a reasonable tradeoff to make, but you should be aware you're making it. If you want the big bucks, it helps to be rarer, and to work at places and in roles where it's easier to demonstrate your value.
What is "proper software engineering"?
Putin controls Russian media for the same reasons billionaires control American media. Neither are democratic. Whoever controls the media controls the electorate.
Very Cool project:

Love GPGPU, I git clone it and try to understand the code better here:

https://www.code-scope.com/s/s/u#c=sd&uh=0f2c2fa280a2&h=afe7a329&di=-1&i=38

It looks like
5 stages FP (FP32?) pipe lines,
NUM_VECTOR_LANES =16
NUM_REGISTERS=32

Are you writing your own kernel from scratch?
If so which CPU does it runs on - some embedded CPU inside FPGA?

In the mandelbrot.c code, it has following:
#define vector_mixi __builtin_nyuzi_vector_mixi

How does it get translate to vector operations in FPGA? Where is the code implement the __builtin_*?

Thanks a lot an very interesting project.
I have no idea, but neither did the people who fired this person. It was purely on the grounds that he had an account there.
Really? Does this number account for aluminium foil too? In France it's long been said that this should be thrown with the non-recyclable. Is France an outlier in this regard? Does that mean aluminium foil is a negligible amount?
I don't follow. Companies like Apple and Microsoft, among others, were founded regardless of the US having a 70% top income tax rate; what's the connection between that and blue collar jobs?
I wonder what a clever 14-year-old would make of an advanced introduction to programming, such as SICP. It's written for students only four years older, although those are very important four years.

Has anyone tried pointing a highschool student at that book?
Apache 2.0's license clause does not have an equivalent to "The license granted hereunder will terminate, automatically and without notice, for anyone that makes any claim (including by filing any lawsuit, assertion or
other action) alleging [...] that any right in any patent claim of Facebook is invalid or unenforceable."), which is the problematic part as it means that you can't even defend yourself if Facebook sues you.
I'm curious too. :)
Since the SEC just announced the last part of the JOBS Act, sites like this will soon be able to offer real investing...