skysight-inc/HackerNews huggingface dataset:
--Tango here. For whatever reason, my account seems to have been prevented from replying. But ignoring the strawman, I think you asked a really interesting question.

I was looking into information on the chiseling out of the middle class. I had assumed that most people were becoming poor (as many in this thread also assume). But it turns out that we, as a whole, are becoming far wealthier than ever before while the number of people living in society with minimal spending power continues to decline. This reality is not even remotely accurately reflected by the media and I'd imagine the vast majority of Americans have no idea about the economic trajectory of this country. In particular I've been fairly involved in socio-political discussion for years now and it came as a jaw dropper to me!

I suppose the most fundamental change I had was in realizing that what we've been doing the past decades has been doing a phenomenally good job of improving society. Of course we can always do better, but we're at least on the right track.
The project went several months over the proposed "schedule", which was inevitable, and I had told them as much.

The team was not asked to pull any overtime to complete it in the proposed time frame.

I took a 6 month sabbatical and then was asked to contract for them remotely as a developer (instead of manager) which I did for several years after that.

So, wins all around, I suppose.
A bunch of chrome tabs can quickly use enough vram that a model which trained fine yesterday fails today.

Sshing to the machine from another makes it far more consistent in that regard.
Variable and performance based pay is entirely possible within a union. Actors and professional athletes are all unionized and have these things.

The best way to think about a union is using the collective power of workers to set a floor on wages and labor conditions, not a ceiling. And best of all, they're democratically controlled, so they're members can create whatever structures and rules they think best serve their interests.
Gearing up for GDPR certification: Only a few good options
I am aware of what the article says.

The bit you quoted does not negate my two points about the data in that article.

But just to be very clear, Connecticut is cited as having an infant mortality rate that is slightly above the comparison country rates. Note that those countries were picked for a comparison because they have the 6 lowest mortality rates in Europe. [1]

Anyway, Connecticut is maybe somewhat similar to the comparison countries in terms of ethnic group demographics (mostly negating my point (2)) and has a more expansive definition of "infant mortality" than those countries last I checked, which is part of my point (1).

Mississippi, at the other end of the spectrum, has a vastly different ethnic makeup, has much worse abortion availability (increasing the number of babies with birth defects carried to term). And still has the more expansive definition of "infant mortality".

Now I'm not saying that it's a good thing that Mississippi has higher rates of SUID/SIDS. And I'm not saying limited abortion availability for cases when the child wouldn't survive is good. But I am saying that drawing conclusions about US healthcare here, as opposed to other societal factors, requires apples-to-apples comparison. And drawing conclusions about outcomes for a specific case (specific family) requires understanding whether those societal factors apply to it.

Or to put it another way, families that are willing to do an abortion when told their child, if carried to term, would not live more than a few months will have a lower infant mortality rate than families that are not willing to do said abortion.

One other thing which _is_ mentioned in the study itself but not in the article: "survival rates among preterm infants in the US were found to be very similar to those of the same European countries". Please model that with the "the US just sucks" model.

[1] The numbers in the actual study: Connecticut has an estimated FTIMR of 1.29 with a 95% confidence interval of 1.08 - 1.53; note that they don't have an actual hard number for reasons I haven't figured out yet. The six European countries involved are Austria, Denmark, Finland, Norway, Sweden, and Switzerland. Their numbers range from 0.97 to 1.24 according to the study.
When that works, it works well. When that fails (e.g. people disagree as to how they performed relative to their peers), it fails badly. Performance reviews (if done well) lower the risk of system breakdown.

(Not to defend performance reviews explicitly--there may be a much better approach that accomplishes the same goal)
Yes, each DLR train has a Passenger Service Agent, who is fully trained in the safe driving of a DLR train by a human, but during normal operation they're walking around in the train, closing the doors when it's ready to leave, and so on.

The PSA will drive the first train on each route every morning, since unlike the train's automation their human eyesight allows them to detect some very dramatic mistakes, for example if maintenance engineers left a metal trolley full of equipment halfway across the line, the train can't see that but the PSA can hit the "Stop" override. Normally they don't drive, allowing passengers to sit at the very front of the train, like on a roller-coaster, the manual controls are under a lockable panel.

The train also has a "full" manual mode in which the PSA is able to explicitly drive it wherever they want, rather than just stopping unexpectedly if they see a problem, but in this mode the train deliberately cannot reach its normal speed, because humans have poor reactions and so it would be too dangerous without the machine supervising.
I don't need to understand any of that for simple personal finance. A transaction with a negative amount with a to and from field is all that I need.

If I see 15 bucks each month going to "Spotify" I don't have to be a CPA to work out that I spend 15 bucks a month for Spotify...
It's not surprising it's hard to find. I think it helps if you are working in a place that rewards such initiative. In my experience, it is not always the case. How do you even screen someone for self-teaching and self-motivation by the way?
Pervasive Gaming for Social Impact
> It will not be possible to repair the computers if they fail

This is the part that concerns me the most. Pretty much all DCs have multiple 24/7 staff to deal with hardware failures and equipment swaps... telling a client "you can't access your hardware for 5 years" wouldn't go over too well.
OT: has anyone tried licensing a program as a whole using a different license than the individual components of the program?

If I ever release something that is large, I've considered licensing each function and class separately using a BSD license, but licensing the program as a whole as a compilation using a GPL license.

The idea is that if someone wants to just take a handful of useful things from my program, such as my configuration file parser, a sales/VAT tax calculation routine that supports the rounding modes of several jurisdictions, or things like that, they can do so regardless of how they are licensing their code. They can have the relatively low level building blocks.

If they are building something that fills the same niche as my program, however, they have to be careful. For example, if we are both doing word processors and they take my whole text processing engine (which consists of dozens of individual components), then they really need to think twice if their program is not GPL. Even though every function they have taken is available under BSD, they have also taken the selection and arrangement of the functions, which is covered by my compilation copyright.
Construction Project Management Software for Builders
It'll never happen. They're too busy rewriting Java in Java!

See: substrateVM, graal
Would love to hear your thoughts on our company and job role - exer-gaming business building outdoor escape games and looking for Tech Co-founder!:)
> Right-to-work laws prevent them from collecting fees from non-members. That's the whole problem. Exclusive representation is fine. Right to work is fine. The two together destroy unions.

That's a weird conclusion, given that in, most other countries that are considered to have strong unions, unions actually don't have the authority to collect fees from all non-members in a bargaining unit.
Hey these are all really good ideas, thank you for sharing them!
That's the problem!

Companies are using performance reviews to try to tackle two things: Compensation (bonuses, promotions) & feedback.

Compensation and feedback should not be lumped into one event.
Agreed, not to mention how many of the frameworks and tools you would use in the .net world but on .net core either isn't fully implemented on linux, performs worse than on windows and generally is risky since it's not really tested software and it didn't have many iterations on the linux system to allow for improvements. So it's risky to choose it for anything that's supposed to run in production, unless you are really sure it works for the specific task you know you will use it for.

Take things like SignalR for .net core, ServiceFabric, many microsoft server only products in Azure, (third party Akka.Net) don't support linux so well yet. Some of them are getting there but it's kind of risky to use due to the lack of being used in production for a while or it's lacking a feature or something is missing. It's been a while since the announcement of open source support, but it's seems like a slow process. It generally gives a vibe that they would rather have you use azure on windows, than support a completely open development ecosystem. They should put more weight behind the open source movement TBH. But it's an improvement, maybe they will get there one day. But right now I wouldn't choose it either for many things, considering the alternatives on linux. And last time I tried running code on linux and windows, the linux version was considerably slower for identical c# code. Might have been a missing compiler optimization, who knows. Not that I don't want C# on linux, I think it's a nice language in that family of languages. Like you said, it needs more success stories from running in a nix environment.
"The way this is formulated it looks like an automated response from an advertisement bot."

Yes. That is what a happy user sounds like.
I like criticism in the moment because I can directly link it back to my actions and contemplate improvement. I don't find it helpful during a summative "review" session when the details of what I did (or should do differently) have been lost. When you say you seek criticism, I'm wondering if you're doing it frequently enough that it's more like the former and less like the latter.
Not so sure about that... let's say this bug is causing a minor inconsistency in any one of the thousands of databases built on top of Java, not the least one of the most popular databases Elasticsearch. We may not know yet, but this bug could theoretically be causing different output. In fact if we see anything from the Lucene project related to this bug, then we know for sure ES and other products are likely affected.
Spinning hard drives have a decent gryoscopic effect. Hold one while it's powered up and try rotating it in a manner that would change the plane of the platters and you will feel the resistance.

Each time you do that, it puts a slight load on the spindle bearings. Do it repeatedly on a varying 5-30 second cycle and you'll simulate what a harddrive on a boat or barge in the open water would experience.

I can imagine that would create additional wear and tear and contribute to an increased failure rate.
There was a story on the trucker's shortage recently, that went into reasons for the shortage. A large part of what's causing it is that, for one, it's a crappy job, but for two, companies are not raising the wages, especially as one would expect if there's a shortage.
The same bug repros for array[method()] += "string"; where method is invoked twice instead of once.
> I'm surprised it stayed uncaught for so long.

I'm not surprised. Java 9 has minor adoption, and having side effects on the left hand side of an assignment operation is really really bad practice.

So you'd need a codebase that (1) was updated or written in a very new Java version, (2) contained the smelly code and (3) had a harmful double side-effect that got noticed. That's a pretty rare combination.
you essentially want someone who can read your mind
I served for 6 years so I was 24 when they were 18.
You assume there’s that much computation to perform. If they’re able to achieve anywhere close to 100%, there’s a pretty extreme bug in the game.
The Radiolab episode is good, I agree, but they take some grand leaps of faith to accomplish covering ‘both sides’.

I think the problem is that this isn’t a philosophical question. It’s an ethical one. But, the only way to be ‘fair and balanced’ is to purport it as philosophical.
> You want strings to be semipredicates. I mean that strings should be able to have a NULL value, as I can do with C.

A null value different from "emptiness"? Would you be okay with a std::string* or a std::optional<std::string>?
Six years since World IPv6 Launch: entering the majority phases
HN: X is a waste of time.

Real World: X depends on your livelihood.
He looked pretty ok with async/await (which uses Promises under the hood), one of the advertised features of his new project is top level await.
That happened to me. I was hired at a company, left to go to army basic training, came back and they didn't manage me at all for months. Then they gave me a job to do with about two minutes of explanation, forgot about me, then almost fired me 6 months later because I was doing it wrong. No management, no training. But I am still here almost 8 years later.
That's not necessarily true. When managers are doing a good job of regularly communicating with an employee and having critical conversations in regular 1:1s, nothing in a performance review should come as a surprise. If you've ever been surprised in a performance review, your manager failed in their responsibility--and you probably also failed yourself in that you didn't push for regular conversations.

Sure, those disagreements still happen. But, when things are transparent, there's very little risk of a "system breakdown" and a very high chance that a dissatisfied employee (who doesn't seem to be performing well in our scenario) will leave to make room for someone with more potential.

Edit: I just noticed the GP was jedberg; we both spent enough time at Netflix to see what each of us is describing work well in practice. :)
I think even that is not entirely accurate. The comment by rkrzr rather was about the tools being effective:

> Of course the governments implementing the surveillance regimes will claim that it's effective, but it's the media's job to actually verify the veracity of these claims.
If you add a new storage tier which is supposed to be cheaper than another tier but also slower, you can't take it for granted that real life performance is better. For Facebook which has talent on hand and a very large scale to amortized R&D efforts it is one thing. But for the rest of the market it is a very different.

But you said the positioning is scary, seemingly because of the additional work that's needed to make it work. If it's shared, does that not help?
If I understand correctly "array[i++] += ..." alone is enough to trigger the bug which doesn't seem particularly tortured to me. Actually any "array[side_effect()] +=" would trigger the bug. That's pretty bad IMO.
> I'm surprised it stayed uncaught for so long.

You haven't heard of the bug in binary search that existed for nine years then?

https://ai.googleblog.com/2006/06/extra-extra-read-all-about...
No, because you fail to understand law.

Apple does not have a monopoly regardless how many times you type the word, and come up with your own definitions.
Don't focus too much on the first example.

array[i++] += "a"

is just is broken. So is appending to array[foo()] or foo().field
The art in Magic: The Gathering followed a very similar arc. Cards have absolutely amazing art today in terms of technique, but many older cards conveyed a sense of charm and whimsy that's gone now.
> And if your 3d render has a pixel-error on frame 50, delete the .png file and rerender frame 50.

If your 3D rendering has any pixel errors, replace the offending hardware. If your RAM is bad in one place, you need to replace it, ECC or not.
Unlike in C or C++, the order of evaluation in Java is well defined, so there's no problem depending on it.
How do you distinguish those people during interviews?

Are there any specific questions you ask?
Yeah, I was amazed when I was told it before. Obviously should've checked their sources. :)
> Do any unions currently do this in RTW states?

This is how unions operate in most other countries around the world. The US is an exception.

There are a few unions that do members-only bargaining. But in the US, unions that are part of larger federations (like the AFL-CIO, UAW, Teamsters, etc.) are either strongly discouraged or prohibited (by the larger federation) from engaging in members-only bargaining, because it makes it harder for them to deny that they are legally permitted to do so.
> at what point do you feel that you would be scabbing by not joining the union that is fighting for better standards for you?

But what if I don't like the union's goals or the way it tries to achieve those goals? Not joining them isn't 'scabbing' it's standing up for my own principles.

People talk about unions as if they're some kind of benign force for unquestioned good. In your mind they're simply 'fighting for better standards' without any qualification of what they think those better standards are, how they're fighting to get them, what their end-state is, what other political campaigns unrelated to the job they support, and so on.

The the UK most unions aggressively support one of our main political parties. If you don't want to support that political party then don't join any union because your money will be going to them!

It's not 'scabbing' to stand up to not join a union.
I think the problems you're ascribing to unions are problems with specific union structures. The definition of a union would permit you to create a structure where these problems don't exist.

If we took a snapshot of capitalism in the 19th century, with children working in mines, ridiculously long hours, and so on, we could similarly say "capitalism is terrible because x, y, z", but that was just a particular implementation at that time.

I'm not advocating for or against unions, just trying to make sure we're arguing for or against them for valid reasons.
Simply put, a union just refers to the formation of a formal group of employees for the purpose of collective bargaining. I.e., the workers feel like individually their attempts to negotiate are not working so they get together to discuss rules, compensation, safety conditions, whatever as a group.

The questions you are asking likely have different answers for every union out there. The pros are collective bargaining. The cons are variable.
Do we know that they didn't offer to move them and just fired them? Or are we just assuming?

Edit: Keep in mind that not everyone would get that offer, so a couple people not getting the offer doesn't mean that nobody got it.
Ongoing coaching is more productive. If you are a manager you are coaching your team even if you don't realize it. Embracing that is important and approaching employees differently is important.
I think of Donkey Kong shouting "Developers Developers Developers!" while throwing chairs rather than barrels
The New Yorker typically doesn't provide news, with some exceptions such as Ronan Farrow's reporting on Harvey Weinstein. The New Yorker provides the perspective of it's writers which is always going to depend on the editorial strength of the magazine and has always existed in a competitive environment. Admittedly today is an even more competitive environment than the past but my understanding is the publication continues to be profitable despite online competition and it has already outlived many of its internet born competitors.
Sounds just like my Google Keep home page :-)
The Power of Recursive Macros in Vim
In this instance it’s quite clear to me that Facebook did not give information about anyone to anyone except to the user who was viewing their own feed.

Would you claim that Facebook is giving information about me to my monitor manufacturer because their pixels are being used to display the information to my eyes?

Would you claim Facebook is giving my information the the people who wrote the code to implement the TLS stack?

Would you claim Facebook is giving my information to Apple because they developed iOS? Or to Chrome because they wrote my browser?

The fundamental archichture of our computing devices is not a technicality. If you equate the fact that our software works using abstraction layers to achieve desired effects with Facebook leaking your information to every layer of software that lives below it, it can only be because you are either grossly misinformed about how software actually works or you are blinded by hatred of Facebook.

You know what, here’s another good analogy. The software which powers the voice calls I make on my iPhone is written by Apple, and one layer below that, Qualcomm. The voice call is only made possible by special APIs provided by my service provider (AT&T) codified through 3GPP. This is like claiming AT&T should be liable for improperly sharing my voice comms with Apple and Qualcomm simply because they helped write the software which allows the call to be made.

Could Apple and Qualcomm be taping my calls? Surely they could be. And if they were, I sure as hell would be angry, but not at AT&T. And if AT&T testified that they had not given my call data to Apple and Qualcomm, they would not have been lying.

The NYT took a Facebook user agent rendering a friend feed, intercepted the network messages, and then gasped, “Look, see, Facebook is sending all your friend information to Blackberry,” as if this was some great conspiracy. Good grief.
You're assuming gold / physicalvaluestores can be spent without shipping cost and exchange fees and that the volume traded reaches 0 in your comparison. Is the volume of any valuestore ever 0?

Also mining doesn't have to be continuious, it's reward varies with volume to adjust the rate mined so you only wait a looong time if suddenly transaction volume spikes.
Yes, but none of that would need to change. I hate to keep harping on Object Pascal, but it really is a nice implementation: in OP, you can pass a string to a C API, such as the Windows APIs, like this:

Result:=CreateFile(pChar(FileName),
AccessMode,ShareMode,nil,
OpenFlags,AttrFlags,0);

where FileName is a String and pChar is the more traditional C-style pointer to an array of characters. The compiler will prevent you from passing a Unicode/Wide string to an API call that expects an ANSI string pointer, or vice-versa. So, interop with the system-level APIs of Windows or Linux is seamless and easy.
> I try to hire the same type of person. It is a profile increasingly hard to find.

Anyone with your profile should run their own business. It's unrealistic to expect somebody to work long hours, over-deliver for "maybe someday"-promises. People aren't as idealistic as they used to be because they were taken advantage of and learned from it.
The author should've been wary of strncpy, because his solution is wrong.

"If there is no null byte among the first n bytes of src, the string placed in dest will not be null-terminated."

So copying sizeof(dest)-1 will not append a NULL byte as the author implies. You'll have to do that manually.