skysight-inc/HackerNews huggingface dataset:
History lesson: due to a law passed in 1929[0] the size of the House of Representatives is capped. Because states can't have less than one house member this means a vote in the midwest can be worth up to 3x a vote on the coast. Further compounding this issue, a state's electoral college vote count is equal to it's total congress members (2 senate + house) so that swings the pendulum even further toward the low population states.

This is how, in 2016, despite more actual people voting democrat in the president, house, and senate races, the party lost control of all three. [1]

Allow the total members in the house to expand so all districts have more equal members, and we can finally stop bending over backwards for a minority of citizens who insist we stay socially and economically in the 1950s.

[0]http://history.house.gov/Historical-Highlights/1901-1950/The...
[1]http://www.usatoday.com/story/news/politics/onpolitics/2016/...
I am genuinely curious what percentage of web apps are demonstrably affected by "slow DOM updates" of several orders of magnitude.

You realize React solves a performance problem that it imposes on itself, due to immutability, right?

Pre-react web apps to do attempt to re-render the entire page root on every press of a key. They simply handle events and remove/add/update the specific DOM nodes that are appropriate.

remember appendChild() and removeChild() ? These are quite fast.
Yes, also it does not have data corruption issues reported with overlays (readers vs writers). Also it supports atomic rename. NO whiteouts required as in the case of a union file systems (so not to worry about deleted files coming back).
Did nobody read the linked article?! All they're doing is switching to a new improved version.
People seem to be missing his core point - 130k is absurd money for most industries, aside from Tech and Finance.

edit: and not all locations in America pay the same amount of salary for tech workers either.
Amazon-Like Popover Trigger Behaviors in AngularJS
Still better than staying in their shitty country + hope to become a US citizen one day.
Simply, Thank You!
Before you get angry, you probably need to read the other 404 pages of the essay.
If you don't mind me asking what kind of machine has 768 cores?
Phineas Fisher Arrested?
There isn't valid reasoning though: if you look at what actually kills people in the US, those people who get in after vetting pose virtually no threat. Toddlers with guns, and falling out of bed kill more Americans than people from those countries have in the US.

It's a Muslim ban, plain and simple. It's not about our security.
Part of the issue with that slogan is that "thread safety" doesn't have any specific definition. Yes, we're specifically talking about data races, as well as the general Send/Sync bounds, but for a blurb on the home page, "thread safety" is the best thing we could come up with. Pitches need to be succinct and get the idea across, but due to the succinctness, can't capture 100% of the details.
I work as a consultant remotely, most of my customers are American companies. I've been paid a bit more than 1 million USD altogether in the last 4 years but haven't contributed back to the US through taxes. I also didn't contribute to the local economy there because I do not live there.

Once upon a time, I wanted to immigrate to the US but the immigration laws convinced me otherwise. I'm interested in cutting edge things but I found that I could easily work on them without being in the country.

This is just anecdotal and I don't know how many are like me but I do have quite a few friends in Europe who have the impression that the immigration process to the US is over complicated and reject trying to go there out of hand.
I think that depends, and the issue is more complicated than you make out. To play devil's advocate, consider the conflict between freedom of association (or religious freedom) and anti-discrimination laws. You could argue that valuing either is a pro-liberty stance. The notion of liberty is kind of difficult to pin down when you're talking about interactions between free individuals.
Yeah, I guess I was using war in the colloquial term (I don't believe the US has issued a formal declaration of war since World War II)

FWIW I think banning green card holders was stupid (both legally and politically - predictability is good for a legal system, and we already made a promise to green card holders. Politically he had to have known this backlash would happen).

It's just that...I don't know, it seems so polarized right now that you have to support one of two sides, and both are insane. The natural end game of "the right" is that no one else is allowed to come to America, ever. The natural end game of "the left" is that anyone who wants to come to America can, and the magical institutions of America will transform them into Americans, regardless of what they presently believe or how many of them there are. And there is a ratchet effect on both sides, where if you don't believe the most extreme version, you either hate America and its historic population, or you're a racist xenophobe.
Yes, anyone who calls out moral grandstanding is a right-wing troll.
The effect is the same, though.
A Canadian could come in under a TN status but it is not a dual-intent status meaning that they could not petition for a green card.
Blasphemy. My locks are impressively full.
Do you have to control the domain? That's the main source of your rate limiting issues.

If you can use different domains for different customers, then you can scale that better.

Look into Caddy for automatic ACME integration: https://caddyserver.com/ - This + DNS or HTTP challenge, it sounds like this might work for you.
You forgot the magic word non-volatile.
and applying that stretched metaphor back to its original context, we shouldn't support civil liberties if they're a lost cause. but what have we actually achieved with all this metaphor stretching?
Excellent question many of us have been asking for the past decade or so.
Helluva Lifestyle Business You Got There
Honestly, I don't think it's too high at all. If you view the H1B the way it was sold to the US public - as a visa to get very high talent people who can't be found in adequate numbers among the existing US workforce - 130k honestly sounds low to me.

Keep in mind, a family of 4 in San Francisco that earns 130k a year (family income) qualifies for direct housing subsidies. Many of these visas will be allocated to SF/valley based companies.

Yeah, most middle class families are two income now, but keep in mind, we're talking about a worker that is supposedly so valuable and in such critical shortage that we need to do an end run around the normal immigration system and empower employers to directly hire someone from overseas. We're talking about someone who can't be found among the 300 million existing US citizens or the 1.2 million new immigrants who come here annually outside of work visa programs.

Seriously, you can't afford to pay that worker $130k a year, in the most expensive city in the United States? Sounds like this position isn't quite as critical, or as hard to fill, as you're claiming.
This is absurd. Most F1 students pay full tuition in the state and private colleges, whereas Americans are eligible for need base aid. F1 students are effectively subsidizing American students.
I didn't say they were extreme left. I said they only look moderate/apolitical from an extreme-left perspective.
> thereby reducing their opposition to caricatures and removing any realistic and reasonable discussion.

Isn't that exactly what you're doing with this comment by comparing the term to "SJW" and "White Knight"?

Pot, meet kettle.
Thank you. That seems clear now, I must have mis-read their post.
7 Ways to Transition Your Winter Style into Spring
Could be. My coworker's experience with that was a while back.
Why is Ycombinator involved in politics now? This didn't used to be the case.
Modern IT Challenges Require a Multi-Model Data Platform
Which amounts to the same thing. The market is more crowded with taxi drivers, the competition being fierce, eventually, some taxi drivers will be force out of work if they cannot keep up.
Trumps entire campaign was predicated on heavily disrupting the status quo. He promised chaos in Washington and now he's delivering on that promise. Obama pushed policies in baby steps to avoid heavily disrupting peoples lives, so of course they were never up in arms over it.
CRE life lessons: SLOs, SLIs, SLAs, oh my
Friend, you're having an argument with yourself. I didn't say anything related to any of that.

You asked for a cite, I linked you one. That's it.
I'm not sure I follow. Would you let me submit as evidence an old piece of software that is littered with GOTOs all over the place as evidence that that is a great way to write software?

I fully believe this can work. Especially with a talented practitioner. However, the question is if it will lead to more maintainable (e.g., by needing fewer iterations?) and faster (e.g., by lots of people using it) output with fewer bugs (e.g., by surviving the lindy effect).

That is, my question is entirely empirical and will hinge on repeated success. Not initial success. I am personally hopeful for it, but I have reasons not to trust my hopes.
Staying sane with Slack
This is not a "good move" I don't care what you republicans think. Foreign Students graduate from American universities and then will leave the US. Highly skilled graduates are what we need in this country. We already too many of you conservatives that are too ignorant to be liberal.
Sometimes I feel like the more has been achieved by western liberalism the more is it being criticized for not magically fixing everything there is to be fixed. Coincidentally those who criticize it never offer alternative realistic solutions.
isn't it funny how you can safely conclude that it is a "he"?
That's a false equivalence.

It doesn't suggest that their respective CEOs disregard the counsel's input. If it's still relevant to pursue their corporate interest in very fresh legislative ground afterwards, that's another thing.

While I might be persuaded in general that amendments should be made and the constitution not be static, immigration isn't a new frontier. And in that area, it's not in need of revision.
Rationalizing Functional CSS
Are they though? I thought Green card holders were not being detained?
Thank you for your comment. I did not look at it from this angle.
> Liberals didn't care about the Snowden leaks because it was "their guy" in office.

You're painting with a very broad brush there, smokeyj. Plenty of us were either anticipating (but unable to verify) the sorts of things he leaked or on the side of the leak once it happened. Liberal is not equal to `not libertarian`. Perhaps to `not Libertarian`. Notice the capital there. Little-l libertarianism has long been a major part of the liberal perspective, particularly relating to free speech, press, religion, and privacy rights, and due process.
One of them isn't a hypocrite though.
This "article" is a book review. The author of the review is trying in 1200 words to give the reader of this review a sense for what the 400+ page book is about -- not to present a compelling and penetrating argument for any particular point of view.
So...what examples are there of blacks being gunned down and slaughtered? I think you do not know what the words you are using actually mean or you are doing it on purpose - which when you line your comments up with the facts; is very disingenuous.
"Club Penguin" is not shutting down. It's moving to an updated, mobile-only platform. There is still a thing that bears the Club Penguin name and theme, run by the people who run Club Penguin, onto which, presumably, the majority of Club Penguin's current userbase will migrate. From my reading, some types of memberships will even carry over onto the new platform.

This is a major release that drops support for desktop platforms. So it's certainly a substantial change, but it's not fair to call it a shutdown.

If anything, the market for this type of game is only growing as mobile devices become a ubiquitous part of first-world childhoods. It would make no sense for a successful platform like Club Penguin to abandon that market, especially considering the vertical integration opportunities it provides to its parent company.
TNs could be renewed indefinitely, however they're specifically meant to be temporary so you can only renew them if you continue to convince the adjudicating officer that you do not intend to renew them indefinitely. This may become a challenge a decade or two in. They are explicitly not a replacement for a green card. They can also be revoked at each border crossing.

An H-1B gives you a defined 6 year window with doctrine of dual intent allowing you to pursue a green card, which a TN status does not.
Part of the pitch is that there isn't much of an electronic trail.
I feel the pain of the underprivileged americans, in particular our African-American brothers and sisters. However, there is a difference however between the top leadership of our country making explicit decisions to pass legislation to exclude groups of people that is at odds with the constitution and established legislation, and local government and law enforcement running cities in an unfair way.

ACLU is valuable in both situations, but in particular to fight the current executive branch that requires massive manpower, knowledge and dedication.
It's a good first step.

Next, he should work to reduce the regulatory burden, provide tax incentives, and restructure the work visa system to encourage people already within the United States to become founders and to hire people already within the United States.
Hopefully not... YC needs to retain the inclusiveness. It should have the ability to disagree with civility. If PT is acting in a way that hurts YC's investments then I expect YC to have a civil discussion with him.
I love the blatant racism of HN. Everyone loves to rip on the H1-B, which is predominantly used by Indians, but no one seems to give a shit about the TN visa. Aren't those Canadians stealing your precious American jobs too?
I'm 56 and have been programming for 40 years and counting. I'm paid extremely well for one reason...I've never stopped studying and learning.

If you want to base your future on something you already know, you're in the wrong profession.
fyi, you do not need xargs.

`docker rm $(docker ps -q --filter blash)`

But agree, `prune` is currently sledge hammer and needs some refinement. It's not about not being well thought out, it's about getting something out there that can be built on top of.
Ok, so what positions does the ACLU hold that you would say appear moderate from an extreme left perspective, but actually are not?
You mean the Saudi Arabia that was so complicit in 9/11 that Republicans in Congress passed a law saying private citizens could sue the government of Saudi Arabia for damages caused by 9/11?

That's your definition of "keeping a lid" and "maintaining internal security"?
> some people have an inherent advantage because of something they had no hand in

I would argue the term even applies to things they explicitly choose.

I'm married, and we have two children. My wife doesn't work outside the home. As a result my tolerance for risk is much lower than it would have been had I made other decisions.
Sam Altman and Paul Graham have clearly been pissed off for quite a while if you follow them on Twitter.
more safe spaces for conservatives are needed.
There wasn't as much money coming in because far fewer people were aware of the problem. But some people here have been banging on about such issues for years. The fact that economics outweighs justice is an unfortunate truth about human psychology.

Meantime, don't worry about it. It's normal to feel disoriented when the crowd stampedes where a few had previously blazed a lonely trail, but that's just how people are. Make the most of all this undirected energy.
Uber will host autonomous Mercedes from Daimler, on it's new platform for AVs
One country, one system.
`docker ps` will never be removed.
Hot take.
The breakdown of the rule of law is probably worse in that it will contain all the aforementioned, and more.
AnimalJam is a similar, kid-safe game that (for now) still has a desktop version. [0] It's more popular in my area than Club Penguin.

[0] http://www.animaljam.com
I think this is the most pragmatic approach. Quite frankly, these players' intent is irrelevant. It's the results of their actions that matter. However, it is useful to understand the incentives that they respond to, particularly when we have the ability to use those incentives to elicit further good acts in the future.

Many 'activists' seem to think that simply having good intentions and beliefs makes one a 'good' person (and many seem to stop at that point). But as it turns out, a starving person derives no nourishment from your internal happy feelings. I'm glad to see YCombinator understands this very basic fact and is taking action to better society, rather than just sitting around thinking lofty thoughts and feeling good about itself.

"The road to hell is paved with good intentions." Or, in the alternate form: "Hell is full of good meanings, but Heaven is full of good works."
My company's culture (large multi-national) demotivates me and their PR-speak vision and mission statements mean less than nothing to me. Am I weird?
Eight stages of genocide
Million requests per second with Python
Only tangentially related, but my favourite example of exposing (albeit simple) internal data as a filesystem is FrexxEd. FrexxEd is an AmigaOS editor co-written (in C) by the creator of curl back in the 90's that makes all open buffers accessible as a filesystem.

It was particularly compelling back then when saving a buffer to a temporary file in worst case could involve swapping floppies, but I've always liked the elegance of being able to call external tools and let them read the buffer directly.

I'd imagine the major con in general is that if you want to use it to actually operate on the data, lots of files is slow (open, read/write/seek, close cycle involves many context switches), but making structured data accessible as few files means structured files and potentially complicated locking - the FrexxEd example above is close to the ideal case in terms of simplicity of exporting the data in an efficient way.
Thank you for taking the time to write all you did throughout this thread. Great discussion, much appreciated.
I think one of the more motivating things I have seen is to understand that people are giving the majority of their time to the company throughout the day and the year. A company that can become a part of an employees life and not have its employees dedicate their life to the company is a big feat. I have seen this achieved by a company that gives proper flexibility for employees so that work fits into their lives and not the other way around. Such as when you do your work is less important than how well you do your work. Or where you work is irrelevant if you collaborate well. I think companies in general should provide more opportunities to explore and experience the world to their people than they do today.
I work for a religious university (so the pay is meh). I would say that it's the relaxed culture in IT (I can come in any time between 8-9), good benefits, and free classes.

You're supposed to use the free classes to work on your masters but I use it to take the "fun" classes you can't during a normal college run. And the boss is okay with it :D!
I know a few people who went TN to green card, and I myself went E-3 (a non-immigrant visa) to green card. It made the process more convoluted and risky but in my mind was way better than playing the H1-B lottery.
I guess it's a moot point. Now we have a guy who will "just follow orders".
> There's a reason Mozilla spent the better part of the decade to come up with a new web renderer.

That had nothing to do with the fact that HTML and CSS are independent.

Tables are way way more complicated than anything in CSS. In fact, tables are unspecified.

This [1] is a work in progress draft and incomplete. You'll be forgiven if your eyes glaze over while reading it.

[1]: https://dbaron.org/css/intrinsic/
Ask HN: Pay What You Want SaaS?
I'm curious what everyone here thinks about a Pay What You Want SaaS revenue model. To me it seems like if the good that you're selling doesn't have much material cost, then letting users decide on a price could be a good way to get people interested. It also hopefully means that fewer people would not buy it for price reasons. Obviously, if your product requires lots of support or server costs, then this is much less feasible, but many SaaS products have a low cost to produce. To mitigate fixed costs, you could set a price floor.

Despite the appeal of this revenue model, I couldn't find any other examples of this revenue model - are there any other companies doing this? If not, why not?
How do you flag comments? I can flag posts, but with over 11k karma I don't see an option to flag comments, only downvote.

Or can only the admins flag a comment?
Always amazed on how far ahead HGST is in reliability. What are they doing that is 2-6x better in failure rates?
Thank you, I will improve the page.

In summary:

Reactive: code executes in reactions to events

Synchronous: reactions run to completion, i.e., there's no implicit preemption or real parallelism (this avoids explicit synchronization: locks, queues, etc)

Structured: programs use structured control mechanisms, such as "await" (to suspend a line of execution), and "par" (to combine multiple awaiting lines of execution)

Structured programming avoids deep nesting of callbacks letting you write programs in direct/sequential style. In addition, when a line of execution is aborted, all allocated resources are safely released.

In comparison to FRP/dataflow, it is more imperative supporting sequences/loops/conditionals/parallels. The notion of (multiple) program counter is explicit. Also, everything is lexically scoped, there's no GC involved.

In comparison to promises/futures, it provides lexical parallel constructs, allowing the branches to share local variables and, more importantly, supporting safe abortion of code (with the "par/or").
Thoughts on martech trends in 2017
Oh god that might actually work..
Any time I read "friend" in this context I feel like you can replace it with just about any word someone wouldn't say in any professional context, and it's more true to the intent.
The difference is that the vast majority of third party app devs developing for macOS use Cocoa/AppKit, the system's native UI toolkit. Because of that, all Apple had to do is get HiDPI mode and a decent fallback (2x scaling) working in Cocoa and boom, 90%+ of all Mac apps, even those that stopped getting updates, have proper retina support. Devs didn't even need to recompile; at first it was an option in a property file in the app bundle (enabling users to "turn on" HiDPI support in older apps by editing the file), and later it was turned on for all apps.

Compare this to the situation on Windows where people using the native toolkit is a rarity, with tens or hundreds of different UI toolkits in use and even a bunch of totally custom UI, much of which assumes a 90 DPI desktop. There's really not much MS can do about that except make an educated guess about offending programs and try to force-scale them to 2x.
one opinion: there's nothing wrong with YC supporting the ACLU or even openly opposing Trump, but consider any Trump supporters (either public or private) that they currently work with. How can they be sure that they won't be discriminated against if YC has taken a stance against their political beliefs? And for those supporters who were planning on applying to YC, how can they know that YC will treat them neutrally?

If YC wants to be politically oriented, they can and should, but it strikes me as something they should be open about.
No, it's a hazy gray/brown from the pollution.