skysight-inc/HackerNews huggingface dataset:
You gave a 4 month old sugary fruits? I thought you have to wait for 6mo for dietary diversification.
He's a "Microsoft Regional Director and MVP" so Microsoft pays the bill one way or another. I expect that he has reduced Azure rates as well.
Ugh. This is (very charitably) political flame-bait.
Russia has the highest tertiary education rate in the world, aaaand?

In reality, both are needed, but, immediately, tanks, military training, and other powerful weapons are of way more use for democracy.
> Drug company representatitives talk to doctors in private in order to try and convince them to prescribe drugs.

Everything a drug company does is ultimately about selling more drugs. It's not limited to the drug reps.

> they're overstating the positives, downplaying the negatives and ignoring alternatives

Again, not at all exclusive to drug reps. This behavior can be traced all the way back to Phase I of the clinical trial.

Your position in this thread makes no sense. I stated the drug reps help doctors stay up to date on the latest drugs and treatments, you disagreed and said doctors should "study. continuously." What should they study? Articles sponsored by the drug companies. How can you square that? Further, I'm sure you're aware that only a tiny percentage of doctors actually read the fancy journals and fewer understand the statistics and the details (perhaps those are the docs who sit around on the message boards you mention). For the other 90+%, the drug reps are the conduit who deliver relevant info to doctors. Ate they aggressive? Yes. Sneaky? Sometimes. Ultimately, do they help doctors discover drugs that help their patients? Unless you believe the drugs being approved by the FDA are ineffective, the answer is yes.
Yep. I used to do technical sales support. I would come in after the sales manager had broken the ice and arranged for some of the customer's technical team to listen to our proposed solution. But the sales training we got told us to always sell at the highest level possible, preferably the person who would sign the purchase order, not lower level technical people.

That didn't always work out. We sold a lot of stuff to Hewlett-Packard and they always forced most of the decisions down to the engineers. They would rarely let us talk to the people who could sign the purchase order. The sales people didn't like it much since they didn't have the control that they were used to. But it was kind of great for all of us technical people because we could sit around with the HP engineers and talk about technical stuff without a lot of sales-speak getting in the way.
>Domain was blacklisted everywhere on the internet.

Well this is horrifying. Of course, not much worse than Google unilaterally and permanently banning a Gmail account.
> I really don't think the world is going to be saved by building your crud apps in rust instead of python.

If that is all we are doing to "save the environment", then surely not.

On the other hand, if we are going towards a wall with 200km/h and only "lightly break" (so not pushing the break really hard), then we will still crash, maybe with 100km/h, still deadly.

What I want to say: No, it (being more resource-friendly) is not the one solution, but it's part of a greater solution.
Is a 3-year-old reddit comments section really a better source for this than the Zig standard library?

https://github.com/ziglang/zig/blob/master/lib/std/unicode.z...
> Pass out-parameters by pointer: Widget*.

I’d like to understand the rationale here better. It seems much better to pass out parameters as reference (Widget&), as it avoids having to check for nullptr. As of C++11, I was taught that raw pointers are now code smell in all but very rare cases, and you usually want to pass out parameters by reference (or, rarely, by smart ptr).
The point is that if they give refunds to all the good actors they won't make any money.
That's the typical story. Something goes wrong and it costs you (typically a small company) a lot of money. At that time just nobody is looking at metrics. Even alarms don't help absolutely because they can also be missed.

The only thing that would really help were a hard spending limit that stops all services except storage. If your site is important there will be such an amount of user feedback that it is impossible to miss it for a long time.
Backdoors discovered in 40 WordPress Themes and 53 Plugins
Over 40 WordPress themes and 53 plugins have been found to be infected with backdoor shells, by unknown hackers exploiting several sites to gain admin access.
I'll second that.

I've seen several cases on both Azure and AWS that bills got weaved after someone opened support ticket starting with "oops, I just did..."
There's a new one called Reb M. Most stevia extracts are Reb A because it's found in high concentrations in Stevia. Reb M has less of an aftertaste and tastes more like sugar than Reb A. But it's expensive to produce because it's < 1% of the steviods in Stevia. 3 methods are changing the story here. (1) producing reb m through fermentation. Purecane does this and is available on Amazon right now. (2) breeding stevia plants that have higher concentrations of reb m. (3) converting reb a into reb m using enzymes
They have transfer limits and an associated overage fee iirc. I can still see this sort of thing happening if that is the case.
Top WebSocket libraries for Node.js in 2022
US/Texas/Austin

Rapid PCR and molecular tests are available through multiple local pharmacies, if you know that they have testing available and you sign up on their site. Results can be had in an hour.

National chain pharmacies (e.g., Walgreens and CVS) also do rapid antigen tests, but I think for PCR and molecular tests they have to send those out to be processed somewhere else, and results can take days to come back.

There are also rapid molecular tests you can buy online, if you’re resourceful. Detect.com has one, but they put up new batches of test kits for sale at 11:00:00am EST, and by 11:00:05am EST they are sold out. They also have test hubs that they sell which also include one test kit (the hub is re-usable), but they are also frequently sold out.

On Amazon.com, you can buy test kits from Lucira, which have a hub that is not re-usable. Those haven’t been sold out, so far as I can tell. But both Detect.com and Lucira tests are rapid molecular, and give you results in about an hour.

Some employers (like Google) are buying test kits for their employees.

The USPS is also going to start distributing test kits at some point in the near future. Haven’t heard much real-world boot-on-the ground results from that effort.
Do you have any substance to your allegation of Microsoft hiding behind their pricing model?

This is very straight forward from their view, before: almost no traffic = almost no costs, now: huge traffic = $$$.

On the other hand, it doesn't seem that Troy did try to talk to them about this and seems to want to eat the costs himself. As it was his mistake. I think that's commendable. I also think with the amount of free advertisement Troy has done for them they'd be open to this and I can imagine we might see a followup post like "MS was so nice they waived my costs".
Who is Hunt Troy?
Well, the cloud is just a convenient way of accessing someone else's server.

Convenience always costs money, there is no (big) cloud provider doing it out of their own pocket or rather not optimizing for huge profits.

It's the same as with any other service, really. So I don't understand, why some people assume it would be different here.

(Note: I am not saying that Troy Hunt assumed this, but I know people who go to the cloud because "It's cheaper". It was never cheaper, on no project I worked on. It was more convenient, but in the end it was more expensive mostly)
GitHub list of open-source alternatives to well-known SaaS products
There'd be value in a model which allowed you to pay up to some limit then switch into a user-pays model if the user wanted the service right now.
I have had the same experience the previous commenter had when I'm on my phone. It would happen quite randomly and sometimes the captcha hell would resolve and I could go back to normal search, while other times it would go into infinite loop. Check back in an hour and you're fine. It's a disaster and at times like these I am so glad there's at least some competition I can go to for search.
First thing i do is set an alert when costs go over 10$ for any new project. Highly recommend
I work at a company with >1000 google workspace users.

That's enough that someone at Google will acknowledge what you're reporting is a bug on their end, and that they can reproduce it. But it's not enough to get the bug fixed.

The support may be good if you're asking questions they've heard before - or if you need something like an account lock reset, which the support folks have a button for. But if the problem you're encountering requires a code change? Not so much.

(If you're wondering, the bug is "in Google Drive, users with third-party cookies disabled get stuck in a redirect loop when downloading files or viewing videos, as the cross-origin request to googleusercontent.com attempts to redirect to get an auth cookie that never arrives" )
I guess if you turn earth into an uninhabitable space rock, it's almost like colonizing Mars.
AR (augmented reality).

Considering how good AR is _right now_, we have very few practical applications for it. It has been quite good for at least a couple of decades (I studied AR in the 90s and we had some pretty amazing demos even back then).

Snapchat is doing some amazing, if silly, AR stuff, and hardware capabilities around graphics are improving all the time (especially with the use of graphic cards for crypto mining), in fact graphics are getting to the stage where its genuinely difficult to see at a glance what is real and what isn't.

Basically this is what Facebook is going for with the Metaverse, but history tells us that it will probably not be an incumbent that develops the best products.

There will be some cool/scary stuff coming.
TBH, I don’t notice when my blood sugar is high. I only notice it when I crash. That’s why I’m trying to get better about using a CGM to keep a closer eye on my blood sugar, even though I’m not on insulin. My hope is that the CGM can help me notice patterns in my diet that I can then change, so that hopefully I never end up needing insulin. But this is a work in progress.
In the 1800s, Jersey Island Was Covered With 12-Foot-Tall Kale
> If Troy Hunt of all people can make this mistake, it can happen to anybody.

Exactly this. As a low-level / embedded / non-cloud stuff dev, I've been getting up to speed through all the cloud-ification of the industry, but I'm still scared (not literally ofc) of running most things on my own on any big cloud provider (smaller ones seem more manageable).

I'm reading this and seems like being a customer of cloud services is like walking a dangeous path filled with gotchas and caveats, just jumping from cover to cover while hiding from danger, and hoping you're safe and didn't mess it up so far, "fingers crossed".

Like this tiny detail that he didn't realize was critical, so I would fall on it too plus on another 500s small papercuts: "oh I set cache up, so I hope all is well". "Yeah, no you aren't, I guess you didn't think of this detail about maximum cached file size! Gotcha, Game Over!"

Yeah cloud providers should have clearer communitacions and etc etc... but the fact of today is that they don't. So I'd never sleep well feelin 100% confident that I had covered and taken into account every minuscule detail and possible scenario that could end up being a disaster.
> I don't think this really exists today partly because of the comment you replied to.

Java and JVM languages are reasonably good dev time wise as well as performance/energy efficiency wise. The latter is possible by not running GC all the time so it comes at the expense of slightly higher memory consumption, but JVM GC’s are beasts, they can manage heap sizes up to terabytes of RAM.
At some point you have to stand up for this. Yes, it might cost you, but it is easy to punish companies for their behavior here. SV is still an exception, but I believe companies with such HR policies have a severe problem with drawing talent.

While it might be nice to work with more women for once, such discrimination isn't worth it. People supporting this are terribly afraid of dirt and the best strategy is to turn the most ideological followers against them. That isn't as hard as you might believe as everybody will make mistakes at some point.
There's StrictYAML[1][2]. Can't say I've used it as let's face it, most projects bind themselves to a config language - whether that be YAML, JSON, HCL or whatever - but I'd like to.

[1] https://hitchdev.com/strictyaml/

[2] https://github.com/crdoconnor/strictyaml
I've really been enjoying Triggernometry. They really aren't afraid to discuss important topics.
Maybe they don't want you to file the bug too easily?

I imagine Google would getting 10,000s bugs per day if it was too easy.
I'm skeptical, but what's your alternative to toothpaste?
Short- and long-term water stress projections. Globally in near-real-time
Are there best practice process diagrams to support the correct usage of these with b2c services?

how should the initial verifiacation happen?
what happens when i loose/corrupt/break the device?
should this represent me as a human or the keys to an account? - should a human hold the permissions ultimately (if so how to i override a key?)
The response was snarky but it's meaning is true. Troy Hunt will get the refund without any problems because he is a public figure. But if a John Doe will make the same mistake he can only hope someone at AWS/Azure/GCP will lift his fees too - which is not guaranteed!
Hi there,

I'm a phd student working on Idris and I used to work with Edwin on this, if you want more info or want to see more practical applications of idris2, Dependent types, or QTT, here are a couple links:

- idris2 is written in idris2 so that's a good example of a big program using dependent types https://github.com/idris-lang/Idris2

- we have some very interesting libraries in the works: https://github.com/idris-lang/Idris2/wiki/Libraries

- my own projects in idris include a purely declarative server library where you give the API and the server is completely implemented and instantiated from your description https://gitlab.com/avidela/recombine
It's great to be able to use an expressive language and to go low level and/or verbose to extract every bit of performance on hot code. I have written some amount of numerical code in C and it's not unusual to first prototype in Matlab, Python or whatever for the productivity gains and rewrite later in C (nowadays I'm using Julia and so far it's great) . That being said, the only way for language X to be faster than C is to not try very hard optimizing the C implementation.
Agree. Europe is the closest it's been to armed conflict in the past 30 years at least...
Did they really put masks on the toons when they were together?
OP do this! It works, they are usually very generous (same for gcloud!)
Would be even classier if the major cloud providers responded to customers calling out for budget limits for the past decade. Not many people want to risk potentially infinite costs.
A lot of "wasted" heat is not wasted. For example, if you extract the energy on the return channel, my gas boiler has to work harder to re-heat..
> "The study found that cannabis intoxication leads to small to moderate cognitive impairments in areas including: suppressing inappropriate responses."

Amazing how they know whether someone has successfully suppressed an inappropriate response! And then to isolate past cannabis use as the cause of failure to suppress those responses!

The last time I talked to a teenager (who has never used drugs), the whole conversation was one inappropriate response after another on their part. As an adult, you must stay cool and go with the flow.

Digs at this study aside, teenagers should stay away from all intoxicants including coffee and social media.
"Currently, all joins in Malloy are left outer joins, and must be between the primary key of one table and a foreign key in the explore being joined to."

https://looker-open-source.github.io/malloy/documentation/la...
The blind CEO’s £48m company which nearly didn’t happen
The energy that is radiated/convected away from your return channel never makes it back to your boiler.
I don't have a lot of opinions about C++ (which is good, since the number of cases covered here was quite large).

For C, I really do think that const-ing all the things when possible helps, since doing so should (I don't have evidence, I'm not a CS researcher) help protect against accidental modification which can lead to dangerous bugs. More, I really think it makes the programmer's intent much more clear, which I find important especially in large and perhaps not so disciplined codebases as the article author seems to assume. Basically, in a language where all variables are modifiable by default, not consting (to me) means "I'm going to be modifying this later, watch out!".

Also for code still using C89-ish style of declaring all variables at the beginning of the scope. If you have a 150-line function with 13 lines of variables at the top, it would really make it easier to know which variables to focus on understanding if some are const and some not.

I also think it just makes the code more self-explanatory and "confident"-looking when things, even local variables that are only referenced a couple of times in the next few lines, are const.

Something like:

// Make the string one character shorter.
void truncate(char *s)
{
if (s != NULL)
{
const size_t len = strlen(s);
if (len > 0)
{
s[len - 1] = '\0';
}
}
}

This is ultra-trivial, but to me it reads much better when the 'len' is const. Sure I can see that there is only two further references to that variable, but it's just ... simpler. You could write it in a more "elite" old-sk00l C style like this:

// Make the string one character shorter.
void truncate(char *s)
{
if (s != NULL)
{
size_t len = strlen(s);
if (len-- > 0)
{
s[len] = '\0';
}
}
}

But to me that is just needless complexity. I did not Godbolt the above to see if there's any difference in the generated code, but would naively expect there not to be.

Addendum/edit: I'm still really opposed (like the article) to const:ing scalar function arguments, since I feel that leaks internal information (whether or not the code inside a function is going to change the value of an argument) to the outside which is bad. I would probably treat the value of an argument as const anyway though, it's just simpler.
Do you have a link for that?

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe... says:

> Insignificant whitespace may be present anywhere except within a JSONNumber [forbidden] or JSONString [interpreted as part of the string]

And specifically lists tab as whitespace:

> The tab character (U+0009), carriage return (U+000D), line feed (U+000A), and space (U+0020) characters are the only valid whitespace characters.

More specifically, expanding https://datatracker.ietf.org/doc/html/rfc8259#section-2 gives an array as (roughly)

> ws %x5B ws value (ws %x2C ws value)* ws %x5D ws

Where `ws` explicitly includes `%x09`. Which seems to cover this case?
What a cool font! It would be great for 8 bit games.
“Oh look another Rich Kid.” is what I called worthless. I’m sure the commenter certainly intended for it to be a negative thing, but that doesn’t really survive any closer scrutiny.

It’s as meaningful as stating that water is wet. Obvious, goes without saying.
Garbage collectors are not bottle necks at all, hell, for highly dynamic allocation patterns they beat malloc implementations out of the water in performance.

Of course one should not spam them needlessly, but that’s why value classes are important.
> will probably not be an incumbent that develops the best products.

Unfortunately I think an incumbent will buy the company that develops the best products
I was a fan of Electric Sheep.
I wonder if before cloud computing, has there ever been a successful product / service where it was accepted with just a shrug that the volatility of monthly costs means it could bankrupt you with next month's bill, because of complexities and opaqueness of the cost structure make it virtually impossible to predict and protect against extreme peaks in all parts of the setup.

Even if you run a relatively opaque cost structure business like a restaurant, you can still calculate the maximum cost of ingredients for one month, the salaries, energy, etc. if you simply use the "best case scenario" of having every seat at every table booked for all opening hours, with people ordering your most sold dishes. Cloud computing is still leagues above that in terms of cost predictability.

I once worked for small, non-startup software company who pondered moving servers to Azure. The Azure partner shop analysed the needs and came up with a monthly cost "between 30k and 120k per month". They were really surprised the company stuck with their non-cloud setup because "everybody is moving into the cloud!!"
I have a very similar issue where I enter my (correct) password, Google recognizes it but says they need some additional verification where they require one of my previous passwords to be entered. I don't know my previous password, so I am locked out of my account.

What's funny is I have another account to which the Gmail of the said locked account is connected, so I can send and receive emails by the locked account, but I cannot use it for any other purpose. It has been the trigger due to which I had switched my primary email to my own personal domain and a better service provider for a few bucks a month. It's painful and I'm still in progress of transferring all communications to the new domain, however it's totally worth it because I have a sense of actual control.
Thanks! It even does fullscreen on mobile. Also surprisng how well the interface works for me on mobile. No hamburger menus needed to access basuc features, cause it is all there to be seen
Yes, AWS is infamous for it, but at least in the closest I can think of to a single landing page (the 'service' drop down selector) they're grouped by 'compute' etc. And that's not really intended for describing each one, they each have a separate landing page.
Faker.js guy wants unban from GitHub, claims it was a programming mistake
> Once they’re “in” at the decision-maker level, they can continue to milk the organisation with long-duration support and consulting contracts, feeding parasitically and gradually becoming more and more entangled.

IBM seems like a really interesting case study in parasitism at the organisational level. Just moving around, feeding from host to host. I wonder if anyone’s studied it in those terms.
> that should be JD's cost, not the owner's.

Manufacturer warranty is limited, mostly in time. Even when some components are poorly designed. The Renault / Nissan CVT is a famous example of this: known problematic transmission that typically dies out of warranty. I could give you literally tens of examples off the top of my head in the consumer automotive industry alone.
Sure that's what i am doing. A beefy dedicated machine with no bandwidth pricing. But that also means i need to do everything by my own. I don't get any of the worry-free services of AWS.
> as it avoids having to check for nullptr

Which is nice, but the real problem always are invalid references/pointers. Which you can't check with a simple ` == nullptr`. So, if an error occurred the reference could be in any state instead of a `0`, which can easily be checked.
A time-series represents a "thing you're monitoring" – in this instance, it's aggregate egress, so $0.10 per month, regardless of the evaluation period.

Monitoring CPU? Another $0.10 per month. Memory? Another $0.10.

Thankfully, not $900.