skysight-inc/HackerNews huggingface dataset:
My point here is that even if it may be because of flaky code, general unit and integration tests are the wrong tools to test for flaky code. The only exception I have encountered here is if you have code that is written to specifically handle concurrent situations, and your test is focussing specifically on testing the concurrency part.

The most common places these flaky tests occur are with integration/browser-based tests, where there are multiple layers of tools that each fail a small percentage of the time.

Unit tests also sometimes fail because of not cleaning up state properly, which only breaks things when tests run in a very specific order. Or sometimes subtle assumptions in the tests about database ordering that is only valid 99% of the time.
What is the looming USD crisis?
Google will have no problem complying with this request. They already have the systems in place to do so without much effort. Many people have already requested data from Google.

Small companies dealing with their first request likely have (at best) a manual process that will take many hours of someone's time to process.
I worked at a place that was processing voting for a TV show. The CTO at the time insisted that everything be written in-house so that we would understand how it all worked.

Problem with that is that the code was full of bad documentation, obscure function names, unexpected behaviors and vast areas of missing functionality. Our people writing the software were less capable than the open source equivalents. With the support of some other people I was stumping for stewardship over authorship.

Basically, we should have been allowed to use smaller libraries of Open Source software as long as one or more employees were intimately familiar with the internals of that library. For the one I wanted to use, I already knew it fairly well so I could have reached that level with a month or two of work. Instead I had to keep adding features and bug fixes to our busted piece of crap, or (more often) reimplement functionality in the caller.
I'm sorry if my intention wasn't clear enough!

You're absolutely right that right now, we are wealthy enough to be able to spend 4600$ on various "things" without either of us really batting an eye. That isn't really the important bit; when we first got started, I was making 42k USD in total comp, and she was making 26k in total comp. Our first house was 54,000 USD and our mortgage was 456$ per month.

We were not wealthy, but we were _okay_. And at that point in our lives, we still had a joint account as our only account. We didn't buy fun stuff or convenience stuff without a discussion first, and we had to discuss these things pretty much every week. That worked for us, because we still communicated, and the important thing - the thing most vital to my previous comment even working - is that we put our family first and ourselves second.

Now that my new home cost me 12 times what my previous cost me, and now that I'm bringing in about a quarter million USD a year, you're absolutely right that we are wealthy and the 4600$ isn't a major problem to us. But if for some reason it ever did happen - say, I lost my job and we relied only on my spouse's income, neither of us would be spending any money at all that wasn't absolutely required.

What I was trying to drive home with #4 is that if you and your spouse are always on the same page about what comes first; your personal desires - or your family's needs, goals, and then desires (in that order), then it works really well.

I know plenty of couples where one or more of the spouses is an incredibly selfish person by nature. Perhaps one of the other bullets in this article would accommodate that well enough, and I doubt #4 would even remotely work for them.

But for my family unit, a single joint account with both incomes going into it still works for us, even if we have very different spending habits between us - and it works for both of us really well. From our early days straight out of college making relatively low income until now where we make entirely too much, this way has worked solely since both of us are able to modulate and restrain our spending when times require it, especially since we put our family before ourselves. #4, as in the article, didn't allow for any wiggle room like that. That's okay, though, since it was hardly purporting to be an exhaustive listing and description of income:spending strategies! I just wanted to share that #4 can absolutely work even for couples without the same spending patterns, as long as they're willing to put family over self.
Sort By Controversial
>IMHO a better idea would be to create privacy jails for apps and then users can decide if they want to stick certain apps inside jails where they don't get access to your IP, GPS data, accelerometer, camera, contacts, etc. Jails would be better than the annoying popups for permissions as they currently do it.

Nah that's a Do-Not-Track-esque cop out to preserve the ad and analytics industries. It's also extremely un-Apple.

"Totalitarian" doesn't mean anything in this context because we're talking about computers and not governments.

Privacy should be by default and not shift the burden to users or cost them in terms of user experience. Apple has the power to do that.
I still don't get how people are making use of 4k outside MacOS. Windows and Linux Desktop environments require tons of massaging to get scaling right, even with flagship software (some Adobe programs don't scale properly).

Here we are, 8 years after Apple started shipping "Retina" displays, and PC software hasn't caught up. It's embarrassing.
So you're against the standards entirely? What is the alternative that you favor?

If you are making a web app (like my company does) that needs to print to a label printer how should we do that besides switching to a native app that all of our clients need to install and maintain? WebUSB gives us an option of doing it in a seamless and maintainable way.
Not that big of a deal after you read it, though
It's a recreational airplane, but we do use it for some purposeful travel. (A36-single engine piston [propeller], 2 crew seats and 4 passenger seats, ~200mph) My parents are about 700 miles away and my wife's parents are about 625 miles away, both of which are an easy non-stop flight, provided my kids can "hold it". ("Lavatories are located at either end of the flight.")

When you compare against super-discount airline airfares for 4 tickets, "our" airplane is slightly cheaper to decide to take it instead of airlines. There are many days when weather-wise it's safe to go by airline jet but unsafe by small airplane. (Of course, there's a massive overhead to that calculus, but day-of-travel is slightly cheaper.) Flight planning and pilot training is time-consuming, so it only makes sense if you already wanted to do that as your hobby. Absent a real desire to do it, it's not worth the time, cost, and risk. Take the airlines or drive.
They weren't explicit that they weren't talking about YouTube specifically but generally about the kinds of challenges and tradeoffs Google faces, so that's why the reply was also talking about products other than YouTube in the context of the kinds of tradeoffs Google has been known to make. That's what it has to do with what original GP said, to answer your question directly.

Anyway, I found both original GP and the reply useful, and do not find this exchange to be, so I'll stop!
I come from the Node world (I'm not really familiar with Rust at all), where the syntax is "await foo()", and to be honest I really like the .await syntax. First, as others have stated it makes the operator precedence clearer in my opinion. But more importantly, in my brain it makes it feel like await is a "member operator" of Promises (or I guess futures in the Rust case), so I can think "Function returns a promise, and then "calling" await on it yields and then returns the resolved object when done".
How long until we can automate the crappiness out of coding for a company?
That's the flight envelope chart, I went right to that page as well.
Yes, and I suppose many churches in general.

In the UK theres still some covered market square buildings that still hold markets also.

http://www.endeavourcottage.co.uk/whitby-blog/whitby-marketp...
It is important to me that whoever I work for is not actively working in opposition to things that I consider important. For me, privacy is one of those things. If I were working for a company that I felt was abusive in terms of privacy, I would absolutely quit (although I probably wouldn't have taken the job in the first place).

There's a tradeoff here, though. Just as it's hard to find another person who agrees with you on every issue, it's going to be hard to find an employer that isn't doing something that you object to. So, I'd say this is a "pick your battles" sort of situation. Know what your hard lines are and be inflexible about those.

For everything else, take a look at the bigger picture. If the good outweighs the bad, then don't quit.
If they succeed yet again it will only be more evidence Western civilization has gone completely off the rails.

(The first time around they managed to convince nearly the entire left wing community that the universal "okay sign" was a symbol of hate. Yes, that was them too.)
The meaning of a "custom OS" has changed a lot these days. It basically means a respin of an existing Linux distribution.
Well, trust me, what drives most experiments is not hypotheses but "this is strange" results.

"it's arguable whether "is cold fusion possible?" is a valid hypothesis, because currently there is no accepted reason,"

I am not a nuclear physicist, but my chemistry is good enough to know that it should not be possible.

But take into consideration that Fleischmann was a pretty good chemist. Possible he fucked up. Looking backwards likely. But discussion is possible only based on date. Not believes what should or should not be possible.

https://en.wikipedia.org/wiki/Fleischmann%E2%80%93Pons_exper...
This is really a domain modeling question masquerading as a data modeling one. If you really were modeling animals, then you could put the whole thing in one animals table, with self-referencing columns. This is because you only have one 'type' of domain concept, with details that not all instances of the class will share. So you leave those columns NULL.

So you do one animals table with an animal_id and species_type columns, the species_type column could be a enumerated string field or foreign key to a species table, and pet as a boolean field. Now soon you might want to know 'whose' pet it is, so you'll need a human table to store the humans, and then you'd need a human_id field on the animals table to store that information. You 'could' use a pets join table if you want pets to be a first class domain concept.

All these decisions revolve around what your app will be doing. Ideally you'd have a REST web architecture, this makes domain modeling a bit easier. Anything that has it's own web page, give a database table.
> to amass as much wealth as I can before the current bubble pops.

Its definitely in a better place than it used to be, but the bubble popping is in the back of my mind too. Many of us have gone through the times when getting a tech job was insanely hard as everyone post crash was fighting for the same handful of open positions.

I remember the time when I quit my position as a software developer to go work as a sales clerk because that paid so much more than the near minimum wage I was making. We live in beautiful times and absolutely shouldn't take it for granted... (though working multiple jobs is probably a bit much, take care of your mental health)
It would also consistently support systems written in allied British-PHP and American-PHP while never drawing attention to it.

Routine would be renamed Poutine.
Which was a good thing, no one likes cryptominers on their pages, other than hackers that is.

With WASM it will even get better, Flash that one cannot disable.
Most comments moved to https://news.ycombinator.com/item?id=20027943.
garage band ver. x with digital version of OP1

Please no!
> Solar panel waste: grind and reuse. Health risk: negligible.

Do you have a source that solar panels can simply be ground up and reused? The article linked in the top level comment implies that recycling solar panels is much harder that one might think, and that solar panels are full of toxic heavy metals that are not "negligible" health risk.
And then you've just moved the immutability boundary to include the whole Docker image (including the application itself).
IBM PC Floppy Disks – A Deeper Look at Disk Formats and Copy Protection (2015)
Ask HN: Best way to bundle as HTML? Maybe even vids included
Is there a way to make a rich HTML page self-containing?

I love html, pdf not so much. I also love epub, but it has narrow uses.

Existing HTML embedding in to HTML is possible, but Data URI has a 2MB limit on Chrome I think. Maybe a blob helps?

Is there any way I could bundle/pack all scripts, images and maybe videos in to an html in a sane way? Is this feasible at all?

I guess browsers might load the html in to RAM, that could be a problem.
Wouldn't something like this further polarize the web? ie what is to stop Alex Jones from setting up his own node? Or what if the RNC and DNC mark the same article about climate change as fake / not fake, respectively?
Not sure what you are trying to say here.

The original article and the one you posted are not inconsistent - in your link Schneier quotes some research that the stock market doesn't care about data breaches, probably because there is little direct financial damage. Hence there is little incentive for companies to stop stockpiling every scrap of data.

Schneier is arguing that the risk to individuals and society at large is greater than any benefit this data could provide.

One way to remove the incentives to gather and store data is through regulation and fines - then the stockmarket would care.
I think there's a lot of uncertainty in talking about Chernobyl, since most of the information published by the Soviet authorities was intentionally incorrect or misleading, designed to downplay the significance of the accident.

One thing I've found interesting in talking about Chernobyl is that advocates of nuclear power are often willing to accept the Soviet numbers as fact, since they confirm the idea that nuclear power is still relatively "safe" even in case of disaster.

I don't know what the exact numbers are, and I'm not sure if any of us will ever know for sure, but one of the documentaries I like is Discovery's "Battle of Chernobyl," since it includes a lot of interviews with people who were actually there and participated in the events. They interview Nikolay Antoshkin, the colonel general in charge of the helicopter operations there, which is where the 600 pilot deaths number comes from. I'm more inclined to believe that account than what the state published.
It’s an accessibility feature, so just like it’s proper to develop with screen readers in mind, and it is proper to have a readable contrast level, it is proper to support scaling.
I enjoyed this piece, but it's almost as if the title should be something more of a rediscovery more than a return. Small communities never really left.
I am not going to start using Latex, but sadly this:

<table border="0" cellpadding="0" cellspacing="0"><tr><td>...

still works just as well for layout than anything I've seen using CSS/HTML. Even worse, all I want to do is tab over from some text:

<code>(SUB X Y)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</code>subtract<br>
I dunno, seems like a good way of hedging ;)

https://en.wikipedia.org/wiki/Multiple_cropping

https://en.wikipedia.org/wiki/Polyculture

https://en.wikipedia.org/wiki/Nurse_crop

https://en.wikipedia.org/wiki/Companion_planting
DefendCrypto.org
Nats streaming isn't just a persistence layer to NATS. It's an entirely different system that basically acts as a client to NATS and then records messages it sees. Basically think of how you would design a persistent queue on top of the ephemeral NATS pub/sub and that's what NATS streaming is.

Here's a good post (and series) about distributed logs and NATS design issues: https://bravenewgeek.com/building-a-distributed-log-from-scr...
See the other comment but this is a good post/series: https://bravenewgeek.com/building-a-distributed-log-from-scr...
Yeah. As a non lens wearer sounds pretty comfortable to me.

But if you have money I can offer you a non-invasive glucose measurement start-up with peer reviewed publications.
This may be a controversial opinion, but I think people put too much stock in mentors. They can be extremely valuable, no doubt. But often the advice they'll give is out in the world if you just know where to look.

I've found that carefully controlling the flow of information reaching my brain - reading books (not just business books - the classics, history, psychology, etc.), cultivating a Twitter feed of people that you look up to, blocking time on my calendar for thinking & deep work, etc. - has had an impact in my life greater than the impact that my mentors have provided. My problems are not as unique as I once thought they were; far more valuable to read someone's carefully considered written thoughts on a topic than fight to get 5 min of face-to-face time to hear the most general version of that advice.

But to answer your original question, you have to provide value to any potential mentor. The absolute worst thing that you can do is reach out and directly ask for someone's mentorship. This is like asking someone to marry you on a first date. The potential mentor has no idea if you're someone who is worth spending their valuable time on; someone they will be proud of and will want to be associated with going forward. A mentorship is a relationship - it's a two-way street. What do you bring to the table? Also, at the end of the day mentors pick people who remind them of themselves, so best to focus on what connects you (alumni networks come to mind as a strong example of this).

- Ryan Holiday has some more good advice on finding mentors here: https://ryanholiday.net/finding-a-mentor/

- And Tim Ferriss on contacting busy people: https://tim.blog/2008/05/19/5-tips-for-e-mailing-busy-people...
The carriers would get subpoena/NSL'd in a heartbeat
Other, friendly jurisdictions, e.g. UK
The 570 boards are going to be around $100-200 more expensive though. The PCB is a bit different and the specifications are more tight for PCIe 4. I think the cheapest board you'll see soon will be above $150 at the very low end all the way up to $600 or so. Many of the prior two gens will have issues running the newer CPUs and the board vendors are recommending against Zen2 on chipset boards prior to 570
One example when I was there in March: I saw no 2-stroke ICE scooters, everybody is riding electric scooters. AFAIK, it was a decree by the central govt, and a very effective change since 2-strokes are notorious polluters.
If I'm able to see the price for multiple stations at the same time and I'm able to adjust my driving to get to any particular one, I'll go for the cheapest one. Typically I tend to optimize for easiest/safest to get to > amenities > price.

For the gas stations available where I live, I have a general idea of which one is going to be cheapest and just go there. The <$2 I could have saved by going out of my way to go for the _currently_ cheapest is not worth the effort to me, especially given how crazy people drive here (Florida).
> So... what does one do, when in broken-EF state for so long?

Seek help from other humans. Get medication (because at this point it's usually an untreated depression & anxiety), get therapy, but most importantly: have support in your life, sometimes with the most basic things like cooking, keeping your sleep schedule healthy, cleaning your apartment, job seeking, etc. Removing the biggest stressors (usually related to school, work, family, relationships, etc.) is also essential, and sometimes very hard to accomplish.

And yes, it's easier said than done, especially if you didn't have a good support network to begin with - which is usually the case for both autistic people and people with mental health problems.
Probably going to want to use tagged docker repos so that updating certain packages, no matter the language, don't suddenly break your images
Gotcha. That makes sense.
”a staunch proponent of traditional steam catapults that are less complex than the alternatives”

Are they really less complex, or is the technology just more mature?

Also, https://thehill.com/policy/defense/333681-why-the-navy-is-sw... gives arguments in favor: you can launch more planes per time unit, smoother, with a device that takes less space.
Taking the trash out of my apartment involves walking about 400 ft across the lot. That very tiny disincentive was enough to get me to probably halve my trash production, just by considering packaging during purchases.
> I try to make my code as intuitive as possible to obviate comments and documentation that only explain what the code is doing. You could also call it code-as-prose.

I do this, Often I can save typing by liberal use of 'clever' features but I avoid them because if I have to stop to reason them out the poor sod reading my code (Which is often me in 6mths) will as well.

It's one of the things I dislike the most about JS, there are 18 different ways to skin the cat, some of which set the house on fire opposite but only if it's a monday and the cat isn't undefined.

It's what happens when a language accretes instead of gets designed.

I miss Pascal.
Please don't do that. I had to look several times to rewrite it as

var temp1 = await StartRequest();
var temp2 = await temp1.GetBody();
var value = temp2.Root;

which is instantly grokked.
>> How do we replace the crappy low-skilled, low-paying jobs that we're automating, but that also allow people to stay alive while they sort themselves out?

Universal basic income?
Enters dependabot and it's nice integration with Github

You get pinned versions that get updated when needed
> The first version is to lock down every dependency as tightly as you can to avoid accidentally breaking something...The second version is upgrade early, upgrade often...Google is an excellent example of a company that does this.

This is misleading. My understanding of Google's internal build systems is that they ruthlessly lock down the version of every single dependency, up to and including the compiler binary itself. They then provide tooling on top of that to make it easier to upgrade those locked down versions regularly.

The core problem is that when your codebase gets to the kind of scale that Google's has, if you can't reproduce the entire universe of your dependencies, there is no way any historical commit of anything will ever build. That makes it difficult to do basic things like maintain release branches or bisect bugs.

> if you want to lock down version numbers for a specific release, have an automated tool supply the right ones for you. And make it trivial to upgrade early, and upgrade often.

This part sounds like a more accurate description of what Google and others do, yes.
What is the reason for avoiding an extra field considering the alternatives mentioned throughout this post?
Scientists are closer to pinning down why the world’s best marathoner is so good
That is how a lot of us say it.
No it’s because we are working at companies that implement this and understand that it creates a large compliance moat for google and facebook. If it had proper carveouts for small business then it would be more positive. But the EU wants to put its hands in its ears and pretend they don’t exist.

There is a difference between a 5 person biz like bear notes who would be totally cool in deleting your login info on request / sending whatever small amount of data they have on you, and what they actually have to do be properly compliant with GDPR. They are probably not and they, like many small EU software business, are a liability waiting to happen.