skysight-inc/HackerNews huggingface dataset:
Performing an operation that can fail in a constructor is not a problem, because then the initializer throws, and you don't get an object at all - so there's nothing for you to check if it's in a valid state or not.

On the other hand, this is exactly the problem that arises if you refuse to use exceptions, because then the constructor has no way to signal that it failed. Since constructors, by their very nature (acquiring resources, validating initializers etc), can fail, you have to resort to "is it valid?" flags, and your API clients have to check those flags or risk unspecified behavior.
I keep thinking about dinosaurs in this context. How do we know how dinosaurs looked like? All we have are some scattered fossilized bones (and footprints) found in a layer of sediment, which experts have carefully (and perhaps wrongly) puzzled together.

Is it wrong to extrapolate the missing pieces to make a complete skeleton? Some experts are able to make really good academic guesses on if the dinosaur species in question had feathers or scales, the size of its lips and toungue, and sometimes even its color. Is it wrong to create a drawing or a 3D rendering of these guesses?

I suppose, to an extent, it is really important to understand how we can know these things from only a few fossilized bone fragments. But to a layperson it is certainly more interesting to see our best guess of how it looked like in reality. Just a picture or description of the original pieces of fossils in that layer of sediment certainly does not do justice to an amazing animal that once walked the earth.

I suppose you could also make the case that we can get it wrong and a false picture of dinosaurs would enter the popular discourse. But I would argue that it would probably be even worse if experts wouldn’t paint their best guess at the time, and left it to the imagination of fiction media to recreate it for the population.
ha, I misread your reply and came into this comment box all ready to say "no really mortgages can be like $100k/y there", but then actually read what I typed.
The second paragraph is titled "Why embed developer tools in an editor?". Answer: "reduce cognitive load"
The Saga of Harry Cherry and the Problem with Twitter Verification
Amazon said nearly 20k workers got coronavirus
How expensive/difficult would it have been for bitmex to register with the SEC and/or CFTC? Jumped through all of the hoops, so to speak?
>and learned not to steal

That's the issue at hand. Serving a prison sentence doesn't mean that you have learned not to steal. It's difficult for the company to verify that you have "learned your lesson".
>When they contain sufficiently good code, do they get promoted to master?

Yes, by being merged in.

In a replication master/slave, the changes on master get replicated to the slave, but the changes on the slave do not go up to the master, as no changes are allowed on the slave that did not come from the master. In this example the slave has no autonomy.

In the git example, this is reversed, its rare that feature branches get updated to master, only if they go long enough, you can think of it as the apprentice branch operating with autonomy, learning from the master branch, until it becomes the new jedi master, and the old master retires.
Ya I don't see the need for sugar there. I looked through my babas recipes and even her raisin challah didnt have sugar.

I bet it's tasty but not interesting to me.
How is it more effort to label legitimate PRs than to label spam PRs? Are you saying legitimate PRs are an order of magnitude more than spammy PRs? Because it sure doesn't look like it.
It's the pi edition.
What's the income tax like in California?
The summer after I graduated from HS a kid I knew got into a fist fight in the parking lot of a bar. He was punched once and he went down and cracked his skull on the curb and died.

The person who hit him was charged with manslaughter.
I think that sort of depends on your opinion of US foreign policy. Anti money laundering laws are basically there to stop people doing things the US doesn't like. So if enforcing them means (say) less terrorist attacks GREAT! But the same laws are used much more frequently to try and enforce drug prohibition. That's meh at best in my opinion. And occasionally you see the US use them to prevent countries like Iran buying medical supplies in a pandemic. That's pretty shitty.

I'd give the US more points for enforcement (which you are correct is strongly pursued) if I thought the laws being enforced were less self serving in the first place...
In what situations do US employers/clients ask about criminal history? Can't you freelance or start as a contractor?
> But please, expand on the "America bad" argument you were making. Very interesting stuff.

It wasn't an America bad argument, it was a global hegemony acknowledgement.

How do you read me talking about how almost everywhere is literally "irrelevant", my words, by all metrics and get an "America bad" argument out of it?

Could have just left that out.
>By now, almost everyone knows what Edward Snowden did. He leaked top-secret documents revealing that the National Security Agency was spying on hundreds of millions of people across the world, collecting the phone calls and emails of virtually everyone on Earth who used a mobile phone or the internet.

He also released the technical details of exactly how America was collecting intelligence in other countries concerning non-US citizens. Most of the stuff he leaked has nothing to do with domestic surveillance, but he'd have you believe in his cult-like image of a martyr.
“As this case demonstrates, the Department of Justice will not overlook the wrongful actions of those who seek to betray the trust reposed in them and to personally profit from their access to classified national security information.”

And the former FBI director who illegally spied on and framed a duly elected president meanwhile gets to keep his millions from his book deal. The government betrayed our trust and has done repeatedly with none of the perpetrators facing consequences.
If mozilla had the level of market influence that Google has, and was as effective in accomplishing its goals that google is, no one would be saying anything.

On the other hand, pay steadily increasing as all metrics of success are declining is something that would get criticism for anyone.
I was under the impression the 'gimmicks' pay for the browser development. I hope everyone wants a self-sufficient Mozilla.
FYI, it's "coffers," not "cofins."
But they're not altering primary documents, any more than someone who writes a new history of some well-covered topic is trying to destroy all other commentary on the period, or artist's renditions of what ancient societies looked like are an attack on archaeologists, or new translations of works in other languages are meant to prevent people from learning those languages.
I think you mean m*ster

It's offensive to "some people" (mainly: opportunistic blue-haired white people with a variety of mental illnesses), so it's appropriate to censor your mention of the term — it matters not that you're not using it (in the use vs mention sense of the distinction). Sort of like the way we say "n-word", "c-word", "b-word", et cetera.
Taxes are bigger, but rent is the only real major difference in costs, and your income starts outpacing whatever the rent difference is between say SF vs Seattle or Reno relatively quickly. Quantified it's about $20-50k/yr in pretax income. $20k being the single person and $50k being the person with kids who goes to public schools.

Definitely a good thing to do during covid times, but you might want to move back after covid is over.
Apple Files for Trademarks covering 'SensorKit' and more
If you have a C++ function that returns by value, the destructor runs twice - first inside the function, to destruct the original, and then inside the caller, to destruct the returned copy. (N)RVO can elide the copy, but it's not guaranteed, and in any case, not always applicable. So destructors are still lexically scoped.

What makes C++ flexible in practice is move semantics, which lets you move-return values, such that only the destructor call on the caller side is the one that matters.
Wonder how hard it would be to highlight elements on mouseover of tags in the normal editor.
page 5: https://www.justice.gov/usao-sdny/press-release/file/1323316...

"...the Company also has subsidiaries and affiliates registered in the United States..."
Looks like someone recorded it and posted on youtube: https://www.youtube.com/watch?v=8zLlc-IYr2c
They have no competitor, their product is a fully featured open source browser.
>>However, it gives you a sense of insecurity around cost - A single bad cron job running a query every sec can blow up your cost (real-life experience).

Only if you're using on-demand. Instead reserve some slots and pay flat rate. The minimum quantity is very low, and the minimum time is 1min.
You say "back when" but Firefox has a very compelling user experience today. It's extremely fast since the Quantum update, and the anti-tracking features and lack of Google-login nonsense make it a much more pleasant experience than Chrome.
This line of reasoning falls over with even the slightest level of scrutiny. It's just a way of bullying people into adopting the political views that you want them to, and it shouldn't be tolerated in a society that values democratic freedoms. An uncountable number of injustices take place across the world every day, and any individual person will be playing no part in, and have no influence over a vast majority of them.

This argument can't be taken as honest or sincere, because with absolute surety I can guarantee that horrific injustices took place today that you have absolutely no concern about at all.

When somebody presents this argument, they are not honestly advocating for justice. What they are actually saying is that "by not adopting _my_ political views, you are acting out evil". Part of any person's political world view is how they choose the issues that they consider to be important, knowing that they only have the span of their short life, and the means of their limited resources to address the problems in the world. You have no right to demand that somebody make the same decisions in this respect as you do. It is absurd, it is hostile to the notion of free democracy, and it is a standard that no living person could ever meet.

And all of that is before you account for the fact describing something as an injustice in the first place is quintessentially an opinion. This sort of thing reminds me a lot of the psychology of warfare, where soldiers are systemically taught to view the enemy as animals who lack humanity. It has a terribly toxic influence on society. Your ideas no longer need to compete on their merits, because the people who disagree with them are the enemy, and the enemy is less than human.
>They could easily be paying half their rent (and could approach paying just 20% depending on the situation.) Most people will probably save money.

I was offered this "choice" back in 2013. Despite the fact that I (and my co-workers) were almost completely remote already, we were told that if we didn't relocate to Tallahassee, FL from NYC and accept a 20% pay cut, we would need to find new employment.

Even worse, should we accept this "generous offer" we would be guaranteed employment for 12 months (presumably long enough for them to find and hire locals who are compensated less, then have us train them).

I did the math and while I could certainly save on rent, the costs of an automobile, its fuel and maintenance, including insurance made the transition close to a wash for me.

I'd also point out that NYC is a wonderful, urban place to live. While Tallahassee is a typical sprawling, suburban place with limited (although more so than some other parts of Florida due to UofFL and it being the state capital) culturally diverse stuff.

I chose not to do so (as did all but one of my colleagues -- who did so at great personal sacrifice to make sure she could continue to support her family) and haven't looked back.

My experience is that such plans tend to be a salary dump by the company, made worse by the ability to slowly replace those who relocate with much cheaper local resources.

Why would you want to uproot your life (and that of your family, if you have one) just so you can be replaced by someone cheaper in the not-so-distant future?

That's not to say such a plan isn't a good thing for some people, but I found it to be not worth it.
There are 3 basic ways in which you might see an IAM/Identity related issue:

1. Control plane problems - these will manifest as latency or errors when calling the IAM service itself to make updates/additions/deletions of users/roles/policies/groups/etc. This is the most likely scenario if the dashboard names "IAM" specifically as the issue.

2. Propagation problems - problems with propagation will manifest as delays in seeing your control plane (IAM) actions reflected in the dataplane. For example, if you remove a user, but the user is still able to authenticate to AWS services for a lengthy period of time.

3. Dataplane problems - this will be problems with authentication or authorization to any and all AWS services. A widespread problem with authentication is less likely, but extremely bad, and will probably not be categorized in the dashboard as a problem only with IAM, since "IAM" is technically the name of the control plane.
What do you do for HTTPS which would be encrypted as it passes through the kernel and is only decrypted in the application process?
Market "dealing" with it means high recidivism. It's the tragedy of the commons. It might be in everyone's individual interest to not hire an ex-felon, but it leads to a worse outcome for everyone.
So in what I wrote above, there are two chunks of money I'm saying you could throw in the CIM: the money you'll make by staying at FAANGs instead of playing startup lottery, and the money you'll save by living somewhere cheaper.

The conventional wisdom (again) is to stay at FAANG and stay in the SFBA. You can also leave SFBA and work at smaller companies that don't offer FAANG comp, and it can still make sense because of the latter chunk of money (lower costs from housing and general CoL).
Hell of a way to do it.
> Colorization and other techniques—done sincerely and as accurately as possible—are additional tools that can accomplish this in other ways.

The article unfortunately doesn't point out why this is a naive take.

If you upscale an image for display on a 4k display, you can:

1. Leave an aliasing artifact intact.

2. Remove an aliasing artifact.

Now, suppose you have two clients-- one making a documentary about the moon landing, and another making a documentary about moon landing conspiracies.

Pick your favorite "sincere and accurate" ML algorithm-- it cannot generate a single image that will be suitable for use by both clients.

Perhaps "straining and toiling" is hyperbole. But I don't see an alternative to careful, deliberate study of the primary sources of history.

Also-- keep in mind that was a didactic example. When you talk about colorizing films or cartoons, things get quite muddy.
Does anyone know of good IAM learning resources? They (along with networking) are the biggest barriers I have from using AWS.
> you could be plowing all your housing savings into the compound interest machine.

What specifically do you mean by “compound interest machine”?
omg is this real??

"The default branch for newly-created repositories is now m-word (github.blog)"
ok, just talked to my friend. He was evasive and politely changed the topic so yeah, I still have zero information. I guess that's the right approach.

If I has asked him if he knew the name of the monastery as opposed to whether the entire story was a canard, I probably could have gotten further. By foolishly asking if it was a story, I think he fell back on the "zero information" strategy - as in, even if it's real and he's living a solemn life of meditation, don't say anything. Me effectively going "Hey man, I gotta question about spies" was in retrospect, pretty dumb.
Rescale | San Francisco | SF & REMOTE | https://jobs.lever.co/rescale

Rescale offers a software platform and hardware infrastructure for companies to perform scientific and engineering simulation. (We're an HPC/Supercomputing Cloud Platform) We are a Y Combinator startup with top investors: Jeff Bezos, Sam Altman, Paul Graham, Peter Thiel, & a bunch of others. I think we're now #39 on the Top YC list. We have about 170 employees scattered around the world, with about 30 software developers. The company still feels small and everyone is pretty tight. Work atmosphere is fun & friendly. We just closed Series C so we are in a very strong position to ride out whatever plays out in the economy & are probably a bit more insulated than most companies. We are growing very rapidly--all departments are hiring. It's exciting, a lot of opportunity, interesting technical problems to solve, definitely a good time to join. Devs that come in now will have the opportunity to have a big impact on the future of our company, our code & our culture.

We're currently looking for: Senior Backend Engineers, Full Stack, Data Engineers, Software Engineers, & a Lead UI/UX Designer
Facebook Container is a compelling technical feature from where I'm sitting.
I removed it from my comment (probably as you were writing) because you're right, it's lame and doesn't belong on HN. My apologies.
I keep hearing about USB-C ports being significantly more expensive to use than previous versions, so I guess let me know when you see someone do that. I'll be surprised to see anything mass-produced that uses a USB-C port for something entirely different.

But even if they want to, it would be better if someone stops them.
This is one of those things where I wish I could just take a week out of my life and flip through these. Old school research is so cool.
As much as I agree with Snowden, the USA government will never forgive the betrayal. Snowden acted for the people, not the government, reflecting the reality that the government by and large works for itself rather than the people.

I'm sure it wasn't an easy decision for him to make. I would've done the same in the same position, though, but I am a single male without companies, properties, extended family reputations and so forth to protect so it's easy for guys like us to be so "noble".

My head will probably asplode if Trump pardons him next term.
I have been doing some woodworking for the past couple years now (still very much an amateur). My woodworking started with making some standing bottle openers as presents (kind of like these [0]). All it required was some cheap pine, a bit of stain, a sander and a saw (I used my dad's table saw, but you could just use a hand saw). I have since made some various pieces of furniture, odds and ends like random shelves around my house and some cutting boards. My advice:

- Hand tools are a great place to start, they are cheap they don't take up much room, they don't make too much noise and dust. Working with hand tools can be pretty relaxing, and can also be a good workout (which could be a bonus or a negative). I do have a decent collection of power tools now but still not everything. The power tools I use the most are drill, miter saw, circular saw, and sander.

- Check craigslist often, both for cheap (sometimes free) wood and for cheap tools.

- You can make something really cool out of something else. I made a kitchen island out of some old wall cabinets and a butcher block I got off craigslist. I also made a pirate ship wheel out of old stair spindles and a garden hose reel. This allowed me to try out skills on a bigger project while using someone else's work to kind of start from. I didn't have to first learn how to make cabinets or learn to turn wood on a lathe.

- Youtube is your friend you can learn how to do almost anything. The maker channels are great but often times they do have a lot of specialized expensive power tools. The "This Old House" youtube channel [1] is pretty good and has a lot of good basics. Also "Woodworking for Mere Mortals" [2] as the name implies is also good at showing how you get things done without investing in super expensive specialized tools.

- You will always notice the mistakes you have made, but hardly anyone else will. And you will make mistakes, I have made plenty and there are still plenty in my "finished" products.

- Routers are super cool tools and with the different bits you can get you can make awesome professional looking patterns. I got my router and a set of bits off craigslist as well, but there are some cheap options out there.

[0] https://www.etsy.com/listing/174667441/personalized-wood-bot...

[1] https://www.youtube.com/user/thisoldhouse

[2] https://www.youtube.com/channel/UCBB7sYb14uBtk8UqSQYc9-w
Scientists capture snapshots of electrons harvesting light at atomic scale
Well, here I am. Whistleblowing. Unemployed. Nothing and no one to support me. Suffering from C-PTSD every day. Unable to sleep at night, because I may be murdered for reporting a potential billion-dollar money laundering scheme. Fearing to even write this, but I feel compelled to, because I have nothing else.

I've gone days without sleep. Woken up afraid for my life. My future. Knowing I may never work again. I may never be employed again. I may be on the street. Homeless. Unable to trust anyone ever again.

There's no one.

No one.

Do you understand that?

I'd happily have a union to protect me right now. My life may be over because there isn't one.

What about people who want to do the right thing and so they are crushed by evil?

Do you know how much literature there is out there about blowing the whistle? Do you know how many people are in prison right now for it? Being tortured every day. Julian Assange. Chelsea Manning. Karen Silkwood was poisoned and probably murdered and she was a leader in a union.

What about them? Who is protecting them? Who protected them? No one. They are going to live a life of torture and die in prison because of the truth.

Who is protecting the truth? Who is enabling the truth to exist?

I spoke up and had to do it, I had to, I couldn't not do it, despite the very real threat that I might be murdered in my sleep. I can't stand to see this happening around me every day. I can't do it anymore.

I don't think people really know. I don't think you really know. This isn't a movie to me.
A brokerage account that reinvests dividends with index funds.
I once discovered a C64 program I wrote in the 80s, buried in a box of cassettes in the garage and filed between The Cars and Dio. No lie. Still alphabetized.
"tired of web apps", "i'm on linux", wants to "develop off-line desktop apps".

All the key motivations for writing emacs lisp packages.

Given you're a web jockey, I suspect emacs is a non-starter but you did say
all advice appreciated.

Sent from nnhackernews
Same experience here, it's been quite pleasant to roll through security and then kick back in a lounge before my flights. I would have thought it's the same for most frequent travelers.
having an ad channel is free speech. Making the ad unable to be turned off is forcing you to listen.