skysight-inc/HackerNews huggingface dataset:
Dialyzer is indeed a pain in the ass, but what is not a pain in the ass is vscode's elixir_ls plugin which incrementally dialyzes and gently nudges you into making static type declarations (your code shows up uglier when you don't do it).

Life changing. It's stopped me from pushing runtime errors probably about 20 times now, in the last few weeks that i've been using it. At this point I'd say that it's strong enough to close 95% of the difference between static and dynamic typing.

Elixir's (maybe going to be merged into the standard library) property checking semantics (ExUnitProperty and StreamData) are quite amazing and super easy[0], and will catch whole classes of things that your compiler won't so I would strongly suggest checking out Elixir now.

[0] today I implemented in an hour a property check that makes me confident that a mathematical algorithm that I implemented for a fuzzer is ok (my first attempt was wrong), and then a property check that demonstrated that that algorithm applied to a stateful set of events doesn't violate critical invariants.

Also, you will almost certainly never get a statically typed Elixir, because it makes a lot of things like hot updates hard or inelegant. Sending interprocess/internode messages is something could be extremely intolerant to a static type system, because, in a way you're breaching the purity of the functional paradigm (it's the BEAM language's "one big lie"). Go struggles with this a lot in its channel semantic, and it's why there is a ton of boilerplate in gRPC (and almost no boiler plate in erlang RPC).

Also gently breaching the type system is incredibly useful in mock tests - for example, in my current project I do about 60 high-load end-to-end tests in parallel with clones of my central scheduling algorithm - this is possible because my test suite reaches into the main body, dynamically creates a new scheduler, and appends that information into an HTTP request, which is passed into a "plain old map" and intercepted only in test environment. This not only greatly accelerates the end-to-end tests (I run the full suite as a matter of course before each commit) but it also gives me confidence that my system will run under a load that is greater than I can manually trigger.
> back-pain

What Mac were you using previously? 13 inch macbook pro is heavier than the 2.67 pound 13 inch XPS
Yes there are countries where displaying homosexuality is illegal (e.g. Iran). I cannot comment on the legality of discussing homosexuality but that's irrelevant anyway since discussing CP is also legal.
Sounds like RHEL 7...Unless you enable Software Collections.
https://www.reddit.com/r/OutOfTheLoop/comments/a2r4h4/whats_...

Appears to be the comment you are referencing in case anyone else is looking for it.
US needs communism. Socialism first, than massive redistribution by abolishing the capitalist system.

Vote Cortez

https://www.vox.com/policy-and-politics/2018/6/27/17509604/a...
Wealth in general is evaporating from the lower/middle class rapidly.

Is it? The middle class has been growing in size over the past few decades.
I gave Ubuntu a solid shot for a few weeks in 2018. I came running back to Apple without hesitation. At the end of the day end-user experience on Linux just isn't as nice, cohesive, or friendly.
Weird thing about “teen porn”: When I was a teen what do you think I wanted to look at? Is that wrong?
That’s undoubtedly part of it, but I think that the real price of an education would be higher now than it was 40 or 50 years ago even in an ideal free market. Society is much more complex now than it was two generations ago, and it makes sense for the value of higher education to increase with an increase in societal complexity.
In ACM ICPC, we could bring printouts of library code and manually transcribe them into the computer. IIRC, FFT was apart of our team's library code, but you wouldn't use GMP since it would require too much typing.
Something I made while search for a replacement for my own macbook: http://nomoremacbook.com/

I have a macbook pro 2012 and still don't know what my next computer is going to be.
Unfortunately, the divide between Silicon Valley and the Pentagon will be bad for national security in the long run. Recent news cycles keep revealing yet another piece military equipment suffering from software weaknesses. Technology does not stand still, if Russia and China have more of their most talented engineers willing to work on national projects than us that will inevitably lead to a competence gap.

Here is an interesting article about the cultural divide and how it can be mediated:

https://www.defenseone.com/ideas/2018/12/divide-between-sili...
I think it has much more to do with population. Sweden, Norway, Denmark all have populations less than 10M. Size of government, including tax rates, I would argue, factor more into a country's overall cultural profile which taken as a whole likely correlates with inequality.
It occurs to me that attacking people who are probably on your side, and are in a position to influence Google's policies, is probably not the most effective way of enacting change.

Unless your real argument is "Everyone's evil so don't bother trying".
> The US, in other words, is basically similar to Russia or most other dubious 'electoral' 'democratic' countries. We weren't formerly, but we clearly are now.

These people never went to Russia.
Agree that average hides the distribution, but median is simply a specific percentile value (the 50th), just not the 90th.
Without a stable and widely used model format making a game is impossible. You can drag&drop FBX into Unity and Unreal, and its mostly ready for use. Having a broken FBX importer is just a waste of time. You start with a model format, something works, you build a workflow, a system for producing content en masse, and then at some point you must consider throwing away the model format, the workflow and/or the whole engine, because the importer is unreliable. Or you try to rewrite it yourself, further wasting time. Some things must be rock-solid, open-source or not.
Tim Sweeney (Founder of Epic Games) reacted strongly to this in a thread on Twitter.

https://twitter.com/TimSweeneyEpic/status/108340746025221734...

"We specifically make the UE4 EULA apply perpetually so that when you obtain a version under a given EULA, you can stay on that version and operate under that EULA forever if you choose."
I think it would make more difference if we got rid of political action committees (PACs), it is this pattern that allows corporations and the rich to donate oversize amounts of money to their chosen corporate candidates. Without PACs each citizen can only donate a couple thousand dollars.
YES to whether it's relevant. Regardless of opinions about PHP as a language, it's way too widely utilized to be irrelevant in the near future.

Whether it's worth investing time to be a PHP master is subjective. Personally, I won't be excited about being a crackerjack PHP dev, but if you find certain aspects of working with PHP compelling and suited to whatever you're building, it may be worthwhile. There's also plenty of work out there for people with PHP skills, so it could be pretty relevant with regard to employment.
Stack clashes are protected with guard pages. Guard pages can be skipped, but not by code like strjoina which fills in all of the bytes.

https://www.qualys.com/2017/06/19/stack-clash/stack-clash.tx...

The reporters do claim to have a root exploit that they will publish later, which will be interesting (if it still applies on systems with robust guard pages).

The strings are copied into the alloca area from the lower address to the higher, so initially, the stpcpy calls might be corrupting memory belonging to an adjacent mapping and not to the stack. Eventually the loop has to cross back into the stack, and it cannot do so without writing into a guard page.

Situations where that is still exploitable can be contrived. For instance, the program sets up a SIGSEGV handler to execute on an alternate stack using sigaltstack. When the stack guard page is hit, that handler executes successfully, the program continues somehow (e.g. by a recovering longjmp that rewinds the stack) and then falls victim to the corruption.

One thing we can do is after calling alloca, walk over the memory in reverse order (higher address to lower) in strides of 4096 bytes, and touch a byte at every increment. This way we hit the guard page (on any system that has a page size of at least 4096).
I mean, teenage angst, midlife crisis, and elder depression are not separate disorders, or really disorders at all. They are natural reactions to an insane world.
This. Growing up in the fifties meant your school days were punctuated with drills where you'd cowee under your desk in case nuclear Armageddon had arrived and the world was going to end.
The poverty rate has dropped for the 3rd year in a row and is almost to same levels as pre-2008 crisis.[1] In fact, near record lows over the past 50 years.

[1]https://www.census.gov/library/stories/2018/09/poverty-rate-...
I suggest that you pay a visit to Venezuela at your free time, to see such policies applied at a national scale.
The prices aren't including the cost of environmental destruction- we have allowed that to be an externality.
Want to know what mice in labs are saying? Try DeepSqueak
That's true and it's terrible. But they are not building actual weapons that kill people. That's worth something.
In GNOME Terminal you can go to the keyboard shortcut settings and rebind ctrl+C to copy and ctrl+V to paste. If you do so, then you can use Ctrl+Shift+C and Ctrl+Shift+V to do ^C and ^V. Not quite that "selection aware" behavior, but close enough.

From the terminal's point of view, Ctrl+C and Ctrl+Shift+C do the same thing. The only reason you can't usually use Ctrl+Shift+C is that by default that combination is intercepted by gnome-terminal to mean "copy".

(I wouldn't be surprised if other emulators with configurable keyboard shortcuts let you do a similar thing).
Who is this “most people”?

The staring solutions are (1) get some of the money out of politics by ending SuperPACs and imposing real campaign finance reform with transparency down to the local level and possibly additional public funding for campaigns, (2) curtail the revolving door between industry and government and provide competitive salaries for civil service careers, (3) end partisan gerrymandering and ensure that voting rights are respected in every state and consider even more dramatic changes such as multi-member districts with proportional representation and STV voting, (4) increase taxes on capital gains and inheritances, add additional income tax brackets with higher top marginal rates, and consider wealth taxes or more dramatic tax changes like local land-value taxes instead of property taxes, work to eliminate tax loopholes such as the use of political campaigns or charities for tax evasion, (5) put more personal financial/criminal liability on corporate officers (e.g. at financial services firms) when their companies are involved in frauds, (6) provide the IRS and federal law enforcement agencies sufficient resources for more widespread enforcement of existing laws against fraud, money laundering, tax evasion, bribery, ...
There are more people insured post-ACA than before.
Perfect. Discussion is fine, but the actual illegal act is illegal. So.. the line is easy to draw. Once viewing an imagine is illegal you shouldn't allow the viewing of that image.
The size of the administrative state may not be a relevant metric in evaluating the extent of actions taken to equalize voice in decision making/policy based on economic power, or to limit economic inequality more generally. (In fact, one view of the large administrative state is that it's a moat designed precisely to the advantage of established actors.)
What you're doing is toxic. Learn to respond to the argument being made, not the literal words being used
Also see another article today titled “US is an oligarchy, not a democracy”. Let’s put 2 and 2 together folks
Biotech Could Modify Trees to Protect Against Pests
I want to part with the language that's unjust, regardless of who used it in the past.

There is a historical precedent, although it's kinda cliche. When communists came to power, former intelligentsia and bourgeoisie was often replaced by people from the former working class, and the people from the former were even persecuted. They even called it "classless society". And it didn't work very well. It was an attempt to rectify those past injustices, without consideration what is just here and now. So no, we shouldn't mindlessly take norms of the oppressed.

So at some point, there needs to be a line drawn, and said, the injustice is in the past, and from now, hopefully, there will be justice. And at that point, you need to stop referring to past injustices as a justification for anything.
I wonder why US politics has not been positively hacked yet. Not talking about the Russians using FB but something revolutionary but not violent.
What does "::" mean?
Value isn’t a zero-sum game. Disregarding inflation, money is. Fractional-reserve banking can only increase the money supply by a finite amount. I’m also puzzled by the notion that loans create new money.
I'm trying to figure out what the hell is going on inside your head. Child predators that get released from prison can and do have restrictions on employment placed on them. They're not allowed to work with kids. Are you unaware of that or something? Do you actually oppose that? I can't figure out your angle here, but you're distressing me.
The Biggest Issues for Wildlife and Endangered Species in 2019
Who decides from where, to whom, and how much, "redistribution" will take place? When does the marginalized group get enough support that the balance shifts and they are no longer marginalized?
This is a great point. I've taken a similar approach.

The essay about Abraham Lincoln isn't really designed to teach you about the 16th president of the US--it teaches sentence structure, argumentation, clarity, research, etc. The grades are for the school to use to prepare next year's funding package; the assignment is for you to learn skills that may help put food on your table someday.

Shifting the focus from grades to skills tends to give them a greater incentive to excel.
I am an avowed generalist, and I will die on that hill. Because being a generalist programmer is the greatest! :)

Like I said above, code is code. Code is just syntactic sugar around concepts, and concepts transcend languages and environments. Understand the concepts and you can pretty easily jump around just about any programming environment, from front end to back end to desktop to mobile.

It's kinda weird to me how many people think these things are so different when really they're not. Yes, every language will have its quirks and every context will have domain specific knowledge and tooling. But they are more similar than they are different, and once you grok the similarities, the differences become easy to recognize.

I've seen so many things (languages, toolkits, environments, etc) come and go over the years that I refuse to be pigeonholed into one specialty because they always change, often without warning. Ask a Flash developer how they feel about that today - in one day (the day the iPhone was released) that whole industry collapsed. The great thing about being a generalist is that you can move on, jump in and do the work that needs to be done, no matter what that work is or where it is.

Every so often something genuinely new will come along, that requires some learning and understanding. The container ecosystem are a good fairly recent example of that. But as a generalist, it doesn't look hard or magical to you because it's just something you haven't learned yet. You're prepared for that and you have the understanding to know what you need to know. You also know your limits, and the things that do (or don't) interest you and can adjust the arc of your career appropriately.

I routinely work back and forth between front and backend every day. That is a normal day for me, I love it and and I would not change it. Occasionally I'll lend a hand on an iOS app (that we're about to migrate to React Native as it happens) and maintain some internal Mac apps as well as writing my own Mac apps for fun. I've also run a side consulting business for several years to keep my skills fresh where I tackle everything from DevOps/server maintenance/cloud migrations to frontend/backend to desktop and mobile development. Basically whatever itch I'm feeling at the time.

Concepts translate pretty easily and, where they are different, as a generalist you accumulate enough experience to know what those differences are. And if companies want to divide their jobs into "front end" and "back end," that's fine, because you have the knowledge to apply for either. :)

A lot of people in this thread are really selling themselves short. They know more than they realize and the "other side" of the stack is not some mysterious magic that requires years of intense specialization. It's just programming. Same thing we've all been doing for years.

"Specialization is for insects." - Heinlein
Seeing Superman Increases Altruism
> not extreme use case profiles like design and video production

There are a lot of use case profiles that are very ho hum for which Linux is a non-starter. I'm thinking specifically of basically any time you need to use Mac-only software. Likewise, I'm sure there's Linux-only software that would make OSX a non-starter.

IMHO, all of the major modern operating systems are good enough and have been for a while now. Pick the applications you want then find the OS that best supports those applications.

It would be nice if the Purism guys would open some retail stores. Once you can walk in some place and get help it gets to be a lot easier to recommend those machines to less tech-savvy relatives.
I have several LE friends including a homicide investigator. The common refrain is “you loose faith in humanity”.

Which consequently, is why mental health for LE is of the utmost importance. Frankly it’s a public safety issue.
My biggest concern with using a phone sans ios/android is not being able to use the ID app used in Sweden for basically everything important. It's used everywhere now, banks, government, my kids preschool, insurance etc etc.

As soon as I can figure out a way around this I'm going back to a feature phone.

My dreamphone is iPhone 3gs sized, has gps and maps, Hotspot and the app I mentioned before.
See mormons in the IC and Scientologists in the IRS/Treasury, and Verizon in the FCC....

I'd say it's been hacked pretty well - but only for cerrtain specific interests.
The line wouldn't be blurry if you were given 10 pictures and asked to sort them by what's allowed and what's not.
We don't have 10 pictures here, we have at least billions and we can't sort them by hand. Using an automatic filtering system is where the blurry line problem comes in.
I don't get this Elixir as the natural progression for Rubyists. OO/mutable Ruby and functional/immutable Elixir are worlds apart beyond the superficial syntax similarities.
And people keep taking out loans because the (anticipated) ROI is still positive, eg, there is consumer surplus available to be captured
It's simple, you start at the top, by imposing a 70% tax on the higher brackets as Cortez wants. If the marginalized group would get too wealthy (straw-man argument), the 70% tax would still do it's job.

https://www.theguardian.com/commentisfree/2019/jan/08/alexan...
A Biologist Reconstructs the Grotesque Efficiency of the Nazis’ Killing Machine
Is there any country in the past or present, that has implemented communism with any degree of comparable prosperity and individual freedom as democracies?
The UK does have a constitution, but it is not neatly written on a single piece of paper with "The Constitution" written at the top.

This is an interesting aside, but tell me, what's the relevance of your question to the subject at hand? It feels like veiled "whataboutism", but that would be a mean-spirited assumption to make.
I’d recommend finding a good therapist that specializes in generalized anxiety. Cognitive Behavioral Therapy in particular can be really helpful at giving you tools to manage it.
Corrected link (save you a google search):
https://www.theatlantic.com/magazine/archive/2009/05/the-qui...
I've always been curious how many items thought to have religious or societal significance are more in reality "yeah that's a backscratcher, yeah that's a dildo, yeah that's the equivalent of the 7th grade shop ceramics project that ancient Emo-Grok made, yeah that's just a random rock a bored prisoner carved as he slipped into madness".
Command line interfaces can be put in the background just as easily as any GUI.
Did they bother controlling for political affiliation? People 65 and older are much more likely to be Republicans.
The US was never, ever a democracy. In a democracy "majority rules". You sway public opinion, you control the country.

The US is (or maybe was) a Constitutional Republic. In a constitutional republic, the law rules, no matter how much you sway public option with "mob rule" mentality.

This is exactly why so many in power have attacked the constitution lately. They already control public opinion, but it's not enough.
>> You can say, for example, "social hierarchy" instead of "patriarchy".

>If you're afraid to even name the social hierarchy that we have

The objection is not a fear of the naming, but how using it that way is reinforcing the causes that led to the existing problem.
Genes on the move help nose make sense of scents
That's probably true, but the blame belongs squarely on the government.

Edit: Not clear why this is getting so many downvotes. If the government is not trustworthy, people won't want to cooperate with the government. Demanding that they put aside their ethics for the sake of patriotism/national security/etc., while ignoring their legitimate concerns, is pure propaganda.
Sure, if someone is really determined to get past guard dogs, they can. But a casual burglar isn't going to bother. One of mine is 95 pounds of black lab/german shepherd mutt with a massive baritone bark, but he's totally harmless, except for maybe knocking you over. The other one is 35 pounds and so cute that people assume he's a she, but he's actually bitten at least three different people while overprotecting the house and yard, and I have no doubt he'd die fighting. (And the new next door neighbor learned what he already knew, which was to not stick your hand over the fence to pet the barking dog who doesn't know you and is very concerned that you're in the yard of his friends, even when that dog is small and cute.)
Big Risks of Co-Owning a Family Cabin or Vacation Home
... and DEA efforts to interdict drug traffickers had many negative externalities too...

You could make any effort to stop something bad seem worse than the crime itself if you follow this line of thought too far
I feel like the impeding doom is more due to climate change than the loss of jobs.

The rest of your hypothesis holds true for that though.
What I also find interesting, is that this research has been picked up by a couple major UK outlets, some other foreign outlets, but got very little coverage in US, despite it being an US issue.
> when the USA still had open borders

Even under Trump, US borders are more open than ever, so the past tense is unwarranted. Sources:

https://edition.cnn.com/2013/11/06/us/immigration-statistics...

https://cis.org/Report/US-Immigrant-Population-Hit-Record-43...
CVs containing sensitive info of over 202M Chinese users left exposed online
Care to back up such a bold assertion?
Less Government -> Wealthy have more power.

Reagan/Thatcher reduced the government. How did that turn out?
I'd like to add SolveSpace to the hope-inspiring list, it's excellent for quickly slapping together and iterating engineering designs. Even with it's quirks...