skysight-inc/HackerNews huggingface dataset:
At least that was an accidental conversion and an understandable mistake, I've seen the same with dates stored as strings from devs unaware that dates are just integers with a lot of maths to make them meaningful.

At once place our end of month billing was getting slower and slower over the course of months, from one hour out to about twelve and it had to baby sit and run in batches in order to not bring the whole database to it's knees. We couldn't change the mess of legacy classic asp of course, but adding a couple of actual date columns calculated from the string fields on insert/update bought the whole process down to seconds.
For the budget, you can set alarms about your expenditures. For the rest, I don't think I've ever worked with any piece of infrastructure that couldn't be crashed with one wrong click or keystroke. I've seen it lots of times, at least a few times a year: theret are dozens of systems and countless servers, and sometimes human error bring one down. You roll back the changes, reboot, or whatever action is called for and move on.

What's different is the perception that cloud infrastructure should be significantly easier. But the ways in which it's easier are not in the area of mitigating the impacts of human error.
"Censorship is just another word for accountability," says person claiming not to be in favor of censorship.
> You don't need to worry about your whole goat herd locking up if you put an ethernet goat and a token-ring goat together in the same stable

They do lock up sometimes https://en.wikipedia.org/wiki/Fainting_goat though they quickly reboot and are back in business.
Yugabyte announces $48M investment as cloud-native database make enterprise push
Is there a difference between being bullied and being criticized?
There's a bigger potential problem with the *scanf() functions than performance. They are inherently unsafe for reading numeric input.

For example, if you do something like this:

int n;
sscanf("9999999999999999999999999", "%d", &n);

the behavior is undefined. As the C standard says:

> ... the result of the conversion is placed in the object pointed to by the first argument following the format argument that has not already received a conversion result. If this object does not have an appropriate type, or if the result of the conversion cannot be represented in the object, the behavior is undefined.

You can control the appropriate type by writing the call directly, but you can't guarantee that the result can be represented unless you have control over the input.

Remember that in C "undefined behavior" doesn't mean that your program will fail, or will crash, or will tell you there was a problem. It means that a conforming implementation can do literally anything. In the worst case, it will do what what you expect until it fails at the most inconvenient possible moment.

Now most implementations will probably do something sane, like setting a floating-point object to infinity or an integer object to some arbitrary value, but the language doesn't guarantee anything.

If you want to write safe code, you can extract a substring that represents a number and pass it to one of the strto*() functions, which do have well defined behavior on overflow. (But I couldn't tell you exactly what that behavior is without looking it up.)
as far as the general public is concerned, "if its boeing I'm not going" is a viable message. There is almost no downside to them dropping the max, given they had to save money.

(I know that the 737NG are boeing. the point is, given a choice of which craft to drop, the one with tainted PR was the obvious choice)
Just posting a link without commentary makes it hard to know what point you're trying to make. The CDC related vaccine safety tracker shows no difference in baseline miscarriage rates so I don't think that link is very accurate.

[1] https://www.cdc.gov/vaccines/acip/meetings/downloads/slides-...
Is the comparison of Pastry Chef vs. a Rotisseur closer to your sensibilities?

The comparison the prior comment made was something along the lines of "both work in very similar setting and industry, but each have their own skill set and expertise." Each can probably function in the the others job, but not well and probably at a greater cost.
High-voltage catfish immune to their own shocks
There is no general solution to deciding whether a program is O(n^k).[1] So either your static analysis won't know the answer for some programs or report a wrong bound, or report a ridiculous overestimate.

[1] https://cstheory.stackexchange.com/questions/5004/are-runtim...
I'm right there with you. This new generation of "medium authors" is really not sticking the landing. Almost every one of these articles could just be renamed to "My Rookie Mistake And How I'm Going To Make It Into A 1,500 Word Blog Post"
Development on Windows Is Painful
I've seen many blogs and articles talk about this a few times but this is the first time anyone has bothered to illustrate it. As the saying goes, a picture is worth a thousand words.
"Children's Health Defense is an American 501c3 nonprofit advocacy organization,[1] known for its anti-vaccine activism. According to Seth Mnookin, much of the material put forth by the organization involves misinformation on vaccines and anti-vaccine propaganda.[2] It was founded and is chaired by Robert F. Kennedy Jr.[3] Established under the name World Mercury Project in 2016, it has been campaigning against various public health programs, such as vaccination and fluoridation of drinking water."

https://en.m.wikipedia.org/wiki/Children's_Health_Defense
Rust already does better than C for some benchmarks. See: https://benchmarksgame-team.pages.debian.net/benchmarksgame/...
JetBlue, Frontier and Spirit are all non-boeing.
Income tax itself isn't the complicated part of taxes. I encourage everyone to do their own taxes by hand sometime. There are like 4 boxes for wage income and income tax, and 100s of boxes for everything else. And besides the boxes you do fill out, there is all the reading and calculating required to figure out you don't have to fill in even more boxes (e.g. in order to know if you have to fill in the AMT form, you potentially have to do all the AMT calculations).

I think the biggest single thing that would simplify the tax code is removing the separate capital gains tax and just counting it all as income. There is significant complexity in the tax return to calculate everything independently and to show that your capital gains aren't really income. You could eliminate Schedule D, Form 8949 (which you have to up to 4 times), and the Capital Gains/Schedule D worksheets to figure income.

HSAs are also super painful. E.g. CA doesn't respect the tax-exempt status of HSAs, so you have to add the HSA back into your income so they can tax it. There are also a lot of bookkeeping requirements for relatively low amounts of money. In practice, they aren't very useful since the fees are high, the returns are low, and their function is redundant with insurance (i.e. paying premiums now to cover large future expenses).

In general, there are a ton of random little exemptions and extra taxes that you might qualify for and it just takes time to figure out if they apply to you. E.g. Form 8959 (Additional Medicare Tax) is a 0.9% tax for income over a certain amount. They should have just adjusted the income tax graduations in an equivalent way. Form 8960 (Net Investment Income Tax) has a similar problem. CA gives a $60 renter's credit if you make under certain amounts, which is just too insignificant to matter (e.g. 0.3% of $1500/month annualized).
Someone on Instagram told Tom Morello to stop talking politics and stick to music.

Tom fucking Morello.
I'm intrigued. What's the title of the book are you talking about? Is it the Australian Medicines Handbook [0]? The MIMS Annual [1]? Or something else?

[0] https://shop.amh.net.au/

[1] https://www.mims.com.au/index.php/products/mims-annual
This is exactly it.

Your DC battery or power supply provides your headroom, and the transistor Base or Gate senses a small increment of that voltage and can sometimes deliver as much current as it takes to push the voltage across a resistance or impedance right up to the rails.
The way I see it, compute is a commodity. On such things, you compete on price. Apple, in its current incarnation simply does not compete on price and refuses to do so. So how would they be a threat?
Gonna have to agree with you there. I used to fly back and forth between London/NYC all the time on Norwegian 787 Dreamliners. Fantastic value for money.
On the one hand, I completely believe this; goats are beings spawned from the deepest pits of hell and thence sent to our world to chew on inappropriate objects. On the other hand, WTF: did they actually manage to chew through an electric fence? Seriously??
You can compete against friends by all using the same seed. Add ?seed=123 to the URL for that.

I quickly hacked this together to use as a starting point for a presentation/discussion on bet sizing with my coworkers. I'm sure there are a lot of flaws, but when even my wife tried and found it hard to stop playing, I figured someone on here might enjoy it too.

The narrative for the game is strongly inspired by Bernoulli's 1734 paper where he solves this type of bet sizing riddle.
I declined a role in the USA with severe performance anxiety over asking for 2-3x my current salary. I learned from your report I should have declined for asking 6-8x my current salary, with stock options.

I still would have had performance anxiety, but it would have been bigger, and bigger, is better, right?
Thank you for the insightful reply with actual domain knowledge. Here's hoping reform wins out in the longer term. I think there's renewed focus on military spending these days, and this seems like an easy win if the administration is determined and competent enough.
PBS Space Time had a nice episode on the timeline to uninhabitable Earth [1].

[1] https://www.pbs.org/video/the-end-of-the-habitable-zone-4t8g...
No, that's complete nonsense.

Here's the latest revision of the standard: https://www.iso.org/standard/74528.html

C has had a well-defined memory model since C11, I believe (re: "ordering of statements").
Sponsored images are tracker-free. We had SpaceX images in the New Tab Page (NTP) without getting paid, and supporters suggested we do more and charge. If you don't like these images, turn them off ("Customize" controls on lower right). That our users mostly like these images means not only that they didn't roast us, but that we got some revenue to keep alive and keep going. This is a win in our book, but I realize not everyone agrees.

Our early website writers oversimplified. We didn't block ads so much as tracking, so the text changed. But then the code evolved, and now we block both using the same lists as uBO, only with aggressive shields required to block first-party ads that don't have tracking or whose tracking we nullify. This requires more nuance to describe. I'll get someone to work on the website docs, but the ground truth is what the browser does. If you set your global shields to aggressive and see an ad, please file a bug or DM me on Twitter and we'll work to fix it. Thanks.
>He is doing it by force. Paying ads, paying politicians, paying experts, [...]

Those don't sound very forceful to me. When you said "by force" I was expecting him to have Men With Guns raiding the houses of meat eaters.
I'm not opposed to the idea of UBI, but it doesn't really solve any problems here, it just adds massive political and logistical complexity that would essentially doom any possibility of reforming the tax code.
See, that's what I also thought, but I've heard that the built-in bounds checking can be pretty buggy. I'm not an expert though.

Yeah, compared to modern desktop GPUs, which can hit probably 20-30 times this, it's not that impressive. That being said, they're also consuming 20-30 times the power.
> In something like Lean, you can set up an actual construction of the system of real numbers

I'm not familiar with Lean, but from what I can gather, it's a theorem proving system. That is included in what I was referring to. Proving general theorems is still not the same as doing specific concrete computations.
Remain in beginner's mind. Assume you know nothing each time you are faced with a new task. Of course, you do know something, and this latent knowledge means it's easier to pick it up. But there should be no categorization like "this is a bad code smell" or "this is the best way to do it".

This is especially important as a 20 year old programmer, where you learn a lot of good practices, which don't apply for some situations or have unseen costs. For example, in many situations, a O(n^2) solution might be as effective as a O(n) solution, especially when n is very small and O(n^2) might cost too much overhead. Or say, hosting on a CDN. Make it a habit to ask yourself each time, do I really need this?

You should still learn best practices wherever possible, but assess whether they're applicable.
Yes, I don't think that failing to read a notification at the top of the page about what you're doing constitutes a significant UX problem.

I also review my bills every month, which would have mitigated this issue significantly.
Useful, bookmarked your comment, thank you.
Sure, managed languages can beat C performance. IIRC, the JVM can reorder branches on the fly to avoid jumps.
It's probably less "men can't make games that attract females" and more "risky to explore game design other than what we know makes money that have historically been attracting men more than women". e.g. note from the article that "Twin Sisters" failed to raise venture capital money.
At a generic level no, but for certain tasks yes. So that's the thing, someone who is doing something sophisticated and specialized will probably pitch you on that feature. But if your business needs have no need for that feature then it doesn't matter.
Reading this article was a surprise for me, I didn't know of this issue at all.

But this is pretty ridiculous. If it's possible to write scanf, which matches chars from a stream, why can't sscanf just do the exact same thing but check for '\0' rather than EOF...
https://www.wolframalpha.com/input/?i=37165+btu%2Fhour+in+wa...
For what it's worth, I read it months ago. I was not offended by it, but was in agreement with others that its removal would be better because it frankly was not funny at all.

It was an accurate observation, but despite best intentions, it sounded like a teenager on a rant. Not exactly a good look.

Just my two cents - seems that some agree and some don't.
Well, see this study from the UK.

"Preliminary results from a study in Scotland found that the Pfizer-BioNTech vaccine reduced hospital admissions by up to 85% four weeks after the first dose, while the Oxford-AstraZeneca shot cut admissions by up to 94%."

85% and 94% are not 100%. QED.

Also, read carefully the quote. It is talking about the (few thousand) people enrolled in the non-placebo arm of the trials, not everyone receiving the vaccine. The claim made in the GP was vastly broader and unsupported.
It doesn't exactly say that. It talks about the shift in percentage between international and local. Which makes sense considering the height of terrorism internationally has been dropping since Osama was caught.
I skimmed. I did not get a sense Apple wanted to acknowledge that persisting use of in-ear buds, over safe volumes, e.g. an Apple device, causes substantial hearingloss.

So they measured, but are also part of the problem surely?
Airbus seems to be winning hard with their A320 line and especially the new XLR.

Arguably travelling in bigger planes will become less attractive as people find out that the virus will probably never quite go away and point to point flights in single aisle planes become more of the norm.

Meanwhile Boeing hasn't even decided what they will build next and in any case it will take 6-10 years to deliver the first plane. That's a long head start Airbus has.
What latency do you get using JACK?
One of my favorite things about the Redis docs[1] is that they include the time complexity for every command type.

[1] https://redis.io/commands/
Yep. As a Hong Konger, it boggles my mind that tax codes in other 1st-world countries are so complex.

In Hong Kong, you literally get about 3.5 pages of A4 to fill for your annual income tax returns, the vast majority of which you can leave blank unless you are one of the richer people and do rich people things.

And then we have taxes on very few other things, which you simply pay at the time of purchase:
- Alcohol
- Motor vehicles
- Real estate
- Stocks
I don't think I'm missing anything important.

We have no other sales taxes otherwise. And look at us, we are a 1st-world economy, despite being such a small city.
One suggestion: It would help if there was an easy to access demo app that I could point people to to showcase Flutter.

The flutter gallery is useful for developers, but it's not a good showcase for what a real world Flutter app would look like.

The new Flutter Folio app ( https://flutter.gskinner.com/ )looked promising, but then I had to scroll way down to see the actual app links. The Web link looked promising, but I hit a brick wall when it wanted me to register a new account before I could do anything ( https://www.flutterfolio.com/builds/latest/web-build-auto/#/ )

Can we get an accessible, up-to-date, canonical Flutter demo app that doesn't require account creation, logins, or any other friction?
How is not giving personal information rude? He is just telling them the truth that they don't need that information which is correct. If a cashier were to ask you your bra size would you be okay with it? Why is it okay to ask for phone number which will give you all that and more.
By my understanding RSUs vest monthly at Google and Facebook with no cliff, making them a slightly more volatile cash equivalent. Many diversify immediately by auto-selling the bulk of their stock grants and buying tracker funds.
I mean... if we ported Android Calculator to Flutter, would that really impress or convert anyone?
I've never used AWS before so you can consider this a "fresh perspective". In defense of AWS, the warning starts with "This action creates a copy of the object". In defense of the author, "Edit storage class" is a pretty misleading name for the operation (how about "Copy with new storage class?"), and perhaps these "warnings" show up under other more routine operations frequently enough --- and unimportantly-enough to cause warning-fatigue.

However, given the nature of cloud services in general (they have a strong $$$ motivation to nickel-and-dime you for every little thing they can) and especially AWS' reputation for doing that, I likely would not have made this mistake. Then again, I'm also someone who carefully reads all available information --- especially whenever it's something I'm paying for.
Listing time complexity up top is my favorite thing about the Redis docs.

https://redis.io/commands/
I think about programming languages like I do cars. While rust may be a Ferrari, some kid who doesn't know how to drive a stick and has only had his license for about a month is going to have a rough time beating you driving from New York to Texas even if you're driving a Corolla. I consider myself to be an extremely good software engineer, but lower level programming languages scare me. Recently I've been riding a lot of code in C++ for my Arduino project, but aside from that I can't stand it. You have to be such a good C programmer to make things faster than you probably could knock out using Python + numpy or something like that, but to be fair under the hood numpy uses tons of optimized C code.
This made me realize how much the Continental USA looks like a seahorse if you flip it on its side. The east coast is the head with Florida as its ears and the West Coast is the tail curled up
Don't know about Morello, but Dead Kennedys definitely should: https://archive.md/F5pu9
I'm 50/50 on whether they scrolled down quickly to hide it, or actually still didn't read it before doing anything.

This is 100% negligence on their part, not AWS's fault. The cloud isn't magic, you still need to read documentation.
> trials

There is a key word that you are missing. In the trials. Not the full release.

The citation is in the article itself. Please look at the table which shows the number of people in each vaccine trial, and the number who were hospitalized/died.

To save you the trouble, the numbers are "0" of those outcomes out of the 15k, 18.6k, 13k, 5.8k and 22k people in the trials (or around 0 out of 74,200 people total).
> I'm really not sure how you could arrive at an understanding of multiplication without first going through the exercise of adding up X groups of Y to yield X Y.*

Arriving at an understanding of one particular special case of multiplication might indeed be a necessary step towards arriving at an understanding of multiplication in general, but that doesn't mean the two are the same.
I think you and I see "value" differently. C is literally everywhere. Other people know it and are able to work with it. Tons of existing code is written in C. Most other languages can interface with it. This combination makes it incredibly valuable in a professional setting.

It is used inappropriately? Sometimes. Can there be better alternatives? Yes. But to say it has "no real value" is a bit extreme.
C++'s std::string_view is essentially your struct. You can check the methods it provides.
Yep, it's right there with a big warning sign saying that a copy will be created. This is something that any IT Pro would notice and read and then hopefully understand the impact.

The author can argue that the UX is bad, but they can't say it's "faulty" or "inaccurate".

Edit...
After fully reading the article, the author even says this: "If an interface doesn’t quite do what it appears to, it should give a warning." The warning is right there in the UI, captured perfectly by his own screengrab.
Okay, I see what you're saying now. I haven't worked with C strings in a while. Python uses offset parameters or seek operations in various places, and C++ string streams have an inherent position too (C++ probably has a number of other ways to do it too...).
Not exactly. Yes, I would probably characterize Firebase as a PaaS, but Google Cloud is much more than just IaaS, as it includes some PaaS components, like App Engine.

I would say the general idea behind Firebase is that it is designed to build fully functional applications without any additional components. E.g. you could serve your static web app using Firebase Hosting, manage users with Firebase Auth, use Firestore for data storage (the syncing features of Firestore are truly amazing if you're not familiar with them), and tie things together with Cloud Functions. Also, note that while Firebase was originally pretty heavily focused on mobile, especially native mobile, most of their services work great on the web regardless.

The other thing about Firebase (referencing the previous comment about it being a little weird as a "Cloud in a Cloud"), is that it essentially exists on top of GCP. For example, a Firebase Project is really a GCP project under the covers, Cloud Functions for Firebase are really some syntactic sugar on top of GCP functions, etc. While that can be a little confusing at first, it can provide some great value. We have apps where most of our backend is in GCP (e.g. running Node in App Engine Flexible, using Cloud SQL Postgres for our DB, using Cloud PubSub topics for our eventing system, etc.) but then we use Firebase Auth for our user authentication, Firebase Hosting to serve our React app, etc.

Yes, I'm a definite Firebase fan boy, but that's because I feel like I can be so productive with it, without needing to worry much about underlying infrastructure, while still being easy to integrate with the horsepower of GCP.