skysight-inc/HackerNews huggingface dataset:
I make about the same as coworkers. About twice as much as my previous coworkers but I want them to know that they're wildly underpaid and lied to about what fair market value is.

No, in laws and neighbours. Mother in law assumed all tech is paid the sams: poorly. Because her son is paid poorly for his IT job. So when I bought a house that was significantly larger than hers, the relationship changed. She felt lied to all these years.

I also made the mistake of speaking to a neighbor forgetting that everyone comes from different walks of life. So my house that will be paid off in 7 years with one income was "a humble purchase" while my neighbor and his wife are apparently struggling to keep their house with two jobs. I felt awful about my misstep in words. Really a slap in their face.
You can use TypeScript with JSX and you get all the checking (required properties, types of values, types of children, etc.) and everything.

In fact, "TSX" is an official built-in part of TypeScript.
> What's the big secret

upper middle class people are juicy targets, rich enough to get some profit, not enough to have proper security. what could go wrong exposing them all in a nice list, indexed and sortable, right?
They're still building (hundreds of) coal plants too though in other countries as investments.

>China is building or planning more than 300 coal plants in places as widely spread as Turkey, Vietnam, Indonesia, Bangladesh, Egypt and the Philippines.

https://www.npr.org/2019/04/29/716347646/why-is-china-placin...

I believe they are still building them inside China too.

>China knows how to build coal plants. It is the world's largest coal consumer, drawing more than 70 percent of its electricity from coal,
> men want to open a window to keep the air fresh, while women find it too chilly

This tends to happen a lot in environments where business attire is a must. It's harder to find a good compromise when some people wear business suit and tie and some wear skirts or open shoulders. And that's even before you factor in possible physiological factors (people have different comfort zones).
It’s not conspiracy theory, but rather the fact that data analysis is hard when you’re trying to account for confounding factors, and the media has incentives to report figures that make things seem more significant than they are.

Even things that are true are often reported in a way that obscures causal factors. For example, wages are stagnating, but total compensation (wages plus benefits) is not. Now, from an employee’s perspective, they might not care that their total compensation is growing because health insurance premiums are increasing but paychecks are staying the same size. But the employer has the exact opposite perspective: the employee is costing more money whether that money is going to to paychecks or benefits. Failure to articulate that distinction moreover leads you to the wrong conclusions. When you’re told about wage stagnation but growing corporate profits, you’re supposed to think employees are getting a smaller piece of the pie. That’s not true: https://www.nber.org/digest/oct08/w13953.html

> Total employee compensation was 66 percent of national income in 1970 and 64 percent in 2006. This measure of the labor compensation share has been remarkably stable since the 1970s. It rose from an average of 62 percent in the 1960s to 66 percent in the 1970s and 1980s, and then declined to 65 percent in the 1990s where it has remained from 2000 until the end of 2007.
Over the years I developed my own spin on this topic. For me it’s not about working remotely but the ability to choose day by day whether i want to work remotely or on-site. My current balance, evolved organically, is 4 days remote 1 day on-site. The constraint of course is that you have to live close enough to an office of your company to commute. The upside is that you can have it all :)
Sorry, it isn't anyone's business but mine and the IRS.
What was the last time you signed up for a Gmail account? At least in The Netherlands they've been requiring mobile phone numbers for years. Hell, I have a dummy account (Maps locks a lot of functions behind login) and I can't log in to it anymore since Google wants me to register my phone number 'for security and validation purposes'
> Isn't the common case that you already have "the thing", you have a rough idea what should be done, and you want to see what operations/transformations are available? That's when autocomplete and a static type system comes in handy.

I know we like to fight here, but I think both are valid approaches. They may correlate with top-down vs bottom-up design, or which side of the API you're designing. If you're consuming an API, yes autocomplete and suggestions are hugely helpful, as is a type system to prevent you passing garbage to the API and having to have it return errors.

The specific use case from the OP:

> Well a lot of work I do has to do with very messy business logic. Situations were a
company wants to convert their receipt system, trading engine, or something of that nature into computer code. Often this data is very complex and hard to define. Situations where a importer may bring in 100 fields but we only care about 10. Thus it's often important to require that certain data match a model, but allow for extra data to flow
through a system without much effort. In addition, the problem with nominal k/v types is that I often find myself
converting between two types simply because function A requires a DBPerson, and function B requires a UIPerson. If
the keys and values are the same, they should flow through, while still keeping me from saying PersonName = ProductID.

I can certainly see where they're coming from - they neither need nor want schema enforcement as they have no control over the input data. Most of their types relate to business semantics, but since the semantics are loose it's not suitable to ram everything into a Person object. And certainly in OO-heavy systems you do end up having to convert between similar-but-not-identical objects that were intended to represent the same thing but defined in different systems.
I don't care about Amazon's tax returns.

I care about my own, and the only thing that bothers me is that I pay too much tax.

If Amazon paid more, I don't think any of us would pay less, so who cares how much they pay.
Well, if you don't mind uploading your private live to the Google cloud, Lenovo, and whoever else paid enough to get stuff shipped on a Lenovo phone.

For most people who do not want to spend much money on a phone, I just recommend them to buy an iPhone 6s or perhaps 7. You get most of the privacy benefits of an iPhone, for an affordable price. And even though it is an older model, it will probably get updated longer than most new Android phones at the $300 price point.
This might be a good thing for the environment, but fixing “boring” is very questionable in my opinion. Now you’ll simply have driveways that are 2-4x wider than before (which also means more rain run-off) and less lawn. That sounds boring and ugly IMHO.
Only if there's also transparent hours and risk factors accounted for.

Real life example: the male member on the cleaning crew was the only one certified for certain toxic chemicals -- because the women didn't want to be, even for the pay raise.

But if all you saw was the tax returns, you'd assume there was a wage imbalance.

Arguably, the entire "wage gap" is down to men working more, taking more risks, and being more forward negotiating; having more data sets that obscure rather than reveal that probably won't help -- we've known that the wage gap was a behavior gap since it was found, people just aren't honest about that.
> OOP encourages adding layers of abstraction, indirection, and generic stuff [...]

Generics/templates and indirection are not OOP. Procedural style encourages them as well. You can see that in C++ itself.
Entry-Level Microsoft Engineer Salaries Compare
They show off a nicer and newer car than you? Buy more expensive garden ornaments? Throw bigger parties?

Really, so much is wasted to display wealth superiority.
Congratulation, you've just killed ownership. My current org is like that (a "Linux team", a "Network team", an "Ops team", a "Windows team that's also in charge of user management because AD", an "Info sec team". It's hell. Having a team by product, with various skills and a person clearly in charge of that product from the draft to the after sale, would be so much better.
Yes, one can quite simply nuke the root partition, reinstall the system on it, and if they choose the same location for the user home, they'll also find the old user configurations ready.

User configurations are only half of the total (with the method above, the system configurations are lost), however, it's considerably less work to do.

This doesn't only apply to system corruption scenarios - upgrades also can use the same workflow (of course, the compatibility of the configuration files with new package versions is a separate matter).
I've been on the tour and I didn't think it was boring. I learned a lot of past and present space exploration. I think there are 2 or 3 different tours you can choose so return trips are recommended.

I agree the Saturn V is a thing of monstrous beauty. The pictures do not do it justice. You have to stand next to it to really appreciate the magnitude of the engineering and workmanship.

Also another good NASA site to tour is the Stennis Space Center in Mississippi where they test the engines to this day. I believe it's where Wernher Von Braun spent most of his time.
> But on the flip side, you'll know exactly how much your colleagues make.

Can’t you also ask your co-worker if you care to know?

My thought is this also risks creating unnecessary resentment in the office. (Most people will react negatively finding out a colleague makes $10k more, even if that colleague has more years of experience - people don’t think about compensation rationally)
With making the files cache-able I mean not bundling them. The first load will be longer (unless you use lazy loading), but successive page loads will get the files from cache, and if there's an update, only that file will update. It's not usual to have updates shipped several times per day, and if there's many users there will also be many unnecessary reloads of the bundle.

It's a bit of a optimization as to be 100% sure users always get the latest files the version naming scheme is needed, but most of the time it will work anyway, eg. if you have no caching layers /CDN etc in-front of the web server.
So if you want to shave off milliseconds on first load, go with the bundle, but if you want to save user's bandwidth and make your site/app more lightweight - don't bundle!
It’s not a bad point. I personally need some separation between my home and work environments and I’ve found working completely on my own to be somewhat isolating. Right now I have a small portion of a guest bedroom dedicated to office and it’s not great. In my ideal world I would have a small space shared with a few people within a short walk from home.
I think there are many useful ideas in OOP languages and I still struggle with purely functional languages, I think/hope we'll see increasingly mixed model languages.

I'd be interested to see a language like C# but with:

+ Immutable by default.

+ 'Free' functions, so they don't have to be in classes.

+ No inheritance.

+ Some sort of distinction, and I'm not clear how it would work yet, between data objects (immutable fields/properties and pure functions) and service objects (functions only, but with the ability to constructor inject dependencies).

+ Purity to be a method signature level contract, enforced by the compiler.

+ C# 8 approach to nullability, e.g. Maybe types.

+ Data 'shapes' as well as/rather than interfaces. So you can require that a method parameter must have some shape, e.g. some property or method, rather than having to implement the interface/inherit.

I think parts of these exist in lots of other languages, or are on C#'s roadmap, but every other language I've tried feels, to me, like it's missing the amazing productivity of C# (and I'd guess Java) where the available IDEs, packages and core libraries are still way ahead of many other languages.

I guess the described language might be closer to F#, but when I tried F# it felt like it was missing the obvious "here's how you actually build a thing" part. A lot of functional language material talks about avoiding state, or not changing state, but that's the point where most the applications I build actually do something useful. So for me it was missing obvious on-ramps for building a website, or a desktop application, perhaps things have changed more recently?
I like the butterfly, at least more than the previous generations keyboards. However, the problems with the butterfly keyboards are inexcusable for the price of the laptops (along with one-week repair times). Luckily, my MacBook Pro 2018 seems to hold up fine.
* Home screen widgets!

* Hacky apps like N64 emulators.

* More raw access to files.

* MicroSD card.

* More native Google experience.
This is what happens in Sweden
I think article 19 of the universal declaration of human rights is much more like the first amendment that what the UK has. How they can have the laws they do while still pretending to follow them makes me wonder though.

>Article 19.

>Everyone has the right to freedom of opinion and expression; this right includes freedom to hold opinions without interference and to seek, receive and impart information and ideas through any media and regardless of frontiers.
FTC needs to get involved...
I actually think we'll end up somewhere in the middle, where people work remote most of the time but companies may have more smaller offices for people to go into.

My wife works remote a lot of the time (But has the option to go to an office) and when she goes weeks w/o going to the office, the lack of interaction can get to her.
It's his job to supervise the design of all major products.

If he can screw up the MacBook then he is not doing his job effectively and he could potentially screw up the iPhone too.
I would not want it since employers are in a better position to use that info against you. So bad luck.
I can't say I am happy about where the Mac headed (though I have hope after the last WWDC). However, the Apple Watch and AirPods are absolutely stellar products. I love them both and wouldn't want to live without them. Both are post-Jobs.
A full tax return contains a lot more information than a summary number (“what you earn and the taxes that flow from it”).

What benefit are we trying to achieve and how does applying that to most corporations get that? Saying we should have it for publicly traded companies makes a lot more sense than every private company let alone every person.
"The room also brought back memories for Kranz of a shared sense of purpose.

"That group of people united in pursuit of a cause, and basically the result was greater than the sum of the parts. There was a chemistry that was formed," Kranz said."

The Cold War undoubtedly helped, though my impression (I am not American) is that there was a greater sense of social cohesion back then (that did not include minorities).

Assuming social cohesion is a public good, i.e., public policy should help bring it about without having to engineer a cold war, how would a society go about it? National service?
Juicy targets for those scheming criminal lower classes?

How is public financial exposure different from living in an affluent area, having an expensive car, etc, etc?
> methods can just be pure functions and objects can be immutable.

This is true, but then you start wondering what the data hiding is for, especially if an object has getters for all its immutable members.
I'd like to see every mention of companies in the news to include the amount of tax they paid in the last year. So in this case "blah blah blah Amazon($0)".
There are several problems:

1) There are many people in my life who would make it much more difficult if they knew how much I make. I've kept it from them for a very good reason and they're definitely the kind of people who would just go and look that kind of stuff about random people they know. This would tell them how much I have in investments and property as well.

2) It would necessarily reveal far too much personally identifying information or not serve the purpose you'd want it to. If I had ran away from an abusive or stalking relationship, they could simply look up the state and municipality I pay taxes in, and what company I worked for, making it almost trivial to find me. This could also mean finding (and targeting) anyone that works for a certain company.

3) It would be far too easy for companies to use this information for any number of purposes. I'm currently getting a huge amount of mail about moving companies and brokers because my landlord publicly put my condo up for sale. It could get much worse than that.

4) If I'm the daughter of an extremely conservative family but I'm working at a strip club, even if I'm "not proud" of what I do that give no good cause to expose it to the world.

These are the situations from off the top of my head and already it would reveal far more information than I'm comfortable with. "If you have nothing to fear than you have nothing to hide" is never an appropriate excuse to curtail anyone's privacy.
I mean, they've shoved them on GitHub, but are they still doing any significant work on them? My impression was the WPF at least had kind of been in limbo for years.
That code includes a proof of correctness. A stronger form of verification than tests.
>
“We pay every penny we owe in corporate taxes including $2.6 billion over the past three years,” Amazon said when reached for comment. “We’ve invested $270 billion in the US since 2010 and created more than 275,000 jobs.”

Does "every penny we owe" mean what a layperson would think, or does it mean their lawyers used every weird loophole they could find to make sure they "owe" nothing at all?

The second part of the quote is irrelevant. It's nice that they're creating jobs, but they're only mentioning that to essentially bribe us into accepting being swindled out of money they owe. Just pay your taxes!
ICANN lifts the price cap on .org domains
I'll give you one source: Read the headline on this NYT article "Why Wages Are Finally Rising, 10 Years After the Recession"

https://www.nytimes.com/2019/05/02/business/economy/wage-gro...

Then look at the article: nominal wages rose every year (as indicated in the chart), but the breathless headline suggests the opposite to the average American. Do you believe that the omission of the word "real" in the headline was purely accidental or intended to drive outrage clicks?
Shall we bet on whether it was reported or not?
> If an entire Sci-fi continuity were limited to just Sol and Alpha Centauri, this by itself would constitute an inexhaustible number of potential settings.

"Saturn's Children" by Charles Stross is a good one (unfortunately he had to do away with humans to keep the space opera physically realistic).
Einstein and Hilbert's General Relativity Race
In addition to the other reasons not to do this, it's a huge enabler of political or family harassment.

It can be made to work in societies that are already pretty open and equal, but in a highly unequal society like America?
> and I'm surprised how many school kids have them.

You might also be surprised how many are knockoffs [1] which are rapidly improving in quality [2]:

[1] https://www.macworld.com/article/3311456/airpods-knockoffs-t...

[2] https://m.youtube.com/watch?v=Ml3wayRMK_s
> You may not see standing during the anthem to be a big deal; someone else might.

Sure. Ask that person how they feel about unfettered police brutality and regularly killing unarmed civilians without consequence in "the land of the free". Now ask them to compare the two. This moral relativism sleight-of-hand only works for people who choose to ignore or just plain don't care about the underlying issue of police brutality in the US.

> Someone else may believe differently.

Sure. But if racists or jingoists believe racist or jingoist things, that doesn't magically make the racist or jingoist things they believe ok.

> To take it to an extreme, consider the act of killing someone to push forth an agenda. A dictator, to save lives. A senator, to change the politics of something. You may think one of those is ok but not the other, or both. Someone else may believe differently.

You're getting awfully close to suggesting an equality between murder and non-violent protest against consequence-free police brutality and killing of unarmed black people. I sincerely hope that isn't the case. Either way it's a terrible look.

I'm going to just quietly back away from this conversation now. For one thing, we're going to hit the comment nest limit imminently.
I have tried on 3 occasions to get kitematic working locally without success.
Taking it a step further, even being able to make such calls as going in for the AM and coming back home for the PM can be incredibly powerful for both productivity and maintaining a presence as someone in upper management. I’ve found myself increasingly in this situation organically, balancing my family obligations, meetings in different time zones, and having the time for my team and to get everything else in the middle done.
We don't have a good letter metaphor in Matrix yet, but it should be coming fairly soon - we have someone sponsoring development on threading, and so you should get that bit at least in the coming months.

However, the other aspect of mail style semantics is the incredible flexibility which email gives in terms of adding/removing people from threads on a message by message basis. This doesn't map very tidily into a Matrix room currently, and is a bit of an open question right now :)
How do you propose to calculate that number? Take it from the SEC filing? Do you suggest that has explanatory power? A labor intensive business with low margins (say, a grocery) is likely to report low contributions, even though their actual social contribution is high (payroll taxes, employing people which allows them to consume further...)
Apparently it's invite-only alpha, but it is beautiful. Any idea when it will be open for general registration?
> Object-oriented style inheritance is unsound (inheritance is not subtyping)

Most modern OO type systems rule out unsound inheritance. (Java, Scala, etc.)
I think they meant zero runtime errors.
Getting a job for life in the private sector seems like a pipe dream. From my perspective it seems the relationship between employer and employee has become only about self-interest, making the long-term investment in employees is risky when they may just take the training and leave for better opportunities and security. I didn't think this was entirely the case until my dad was made redundant from the only job he had for 35 years of his life. I keep forgetting how much of an impact 2007/2008 really did have on the economy and the psyche of the working population, coming into it now seems like normal working environment for young adults.
Well, you can live in a not-so-affluent area and drive an average car and be very well off, as some people do to avoid attracting attention.

On the other hand, someone driving an expensive car is not necessarily well off, there are quite a lot of people living paycheck to paycheck that drive "expensive" cars.
Beijing’s New Airport Is Completed, Opens September
Sweden releases the summary numbers, not the entire return, and controls access to the list.
Which would immediately form a hierarchy.
HN is the best place to find devs, without exception.

> I think the real problem is cutting down the initial 1000 CVs no ?

Yeah that's a time sink. Most applicants are unqualified. Good ones tend to stand out immediately though. Whatever you're after, you can find someone with the exact requirements you asked for.
Japan resumes commercial whaling after 30 years