skysight-inc/HackerNews huggingface dataset:
I think it depends on if your table names are readable or not. If you table names are "sales" and "orders" then I would argue that makes the sql a lot more readable i.e

sales.amount
orders.due_date

vs

s.amount
ord.due_date

In the second example I have to flip back and forth between the join statement in order to know where the columns are coming from.

If you have awful table names though like qq123xc then I think aliasing would be appropriate
> The for loop in python is a try/except catching StopIteration in a trench coat.

That's...horrifying, both from a computational efficiency perspective (due to the overhead of exceptions) and from a "beauty" perspective (exceptions are supposed to be exceptional, darn it!). Why is it implemented this way? Why not just use a normal loop and check a return value from the iterator?
The author enables auto-formatting and linting in his editor. He then runs into the problem of huge and meaningless diffs when working on code that doesn't conform to the formatting and linting settings.

His solution is to add complexity, effort (and opportunity for errors) to the process, rather than thinking, "maybe automatically reformatting the source code is something that should be done more selectively".
Project Vesta
This has been my experience over many years of restricting my consumption window. I also find I get mid-morning and after-lunch energy wells if I have an early breakfast, not so much if my first meal is after 10am.
Literally yesterday people were railing against Netflix for not integrating into Apple TV search, and not being willing to give their competitor (TV+) insights into their customer viewing history.

While also patting Apple on the back for privacy.
Former cops claim to have identified Zodiac Killer and linked to another victim
IRC never went anywhere, you aren't stuck.
What happens when they all race to store to the same memory location? I guess if they all run in lockstep it doesn’t really matter?

I’ve worked with some ARM SoCs from NXP and I could have sworn that one core comes up first and the others get released from reset later, with a “bringing up secondary CPUs” message printed.
Yes, if all of this is just a way to get me to eat fewer calories, and that's all that's really happening, so be it. I've had several people scold me saying "You know you're just losing weight because of the calories, right?" and I'm like, so? Great!

I can't diet. Been trying that all my life and it's never going to happen. It's uncomfortable and socially inconvenient to be constantly weighing my food and passing up dinner invitations and never feeling satisfied. So I just don't eat a couple days a week and then forget about the rest.
> we tried allowances before then but dropped it because it was tied to doing work around the house which we felt they should do anyway

Glad you mentioned this one too because this is something I was thinking about too. We tried to strike a balance where the kids don't have a regular allowance for normal around the house chores, but pay them for "projects" that are sort of above and beyond the normal course of chores. This would be things like helping put in a new flower bed, or re-arranging the living room.
This is what really concerns me. I got a cheap water bottle that smelled like chemicals after much washing, for instance.
Cloudflare have a great blog post about this: https://blog.cloudflare.com/aws-egregious-egress/

The short answer is that at AWS/Cloudflare scale you’re paying a fixed cost for networking capacity, not for transit per byte. So their cost doesn’t scale anywhere near the way AWS egress costs do, and if they want it can just be free.
It seems strange to give people worse election outcomes that they have to live with for 4 years at a time just to make their 5 minutes in the voting booth feel a little more pleasant.

Approval voting may not seem "fun", But thousands of voters have used it in Fargo and St Louis without any issue. All the evidence says it gets better results, is more resistant to strategic voting, and has a better chance of replacing the status quo.
Abusing Terraform to Upload Static Websites to S3
There already is a VS Code extension for this:
https://marketplace.visualstudio.com/items?itemName=dorzey.v...

https://github.com/sqlfluff/vscode-sqlfluff
What might be missed is that black and blue are not necessarily differentiated. I know that, at least among Indian languages specifically Sanskrit, black and blue aren't as differentiated as they are today. A dark color/black was seen as dark blue.
Yea, I was thinking you can't really make a generalization like that.

1. Companies may do more with the same amount of CPU, more data, more calculations, despite per evaluation being faster.

2. Improved performance may make usage within reach of more end users

3. Improving widely used packages could reduce, especially those that are used in heavy calculations. With ML, we often see more improvement (reduced learning time) through algorithm research, so library improvements are only part of the story. Of course advances like Capsule Networks and encrypted learning sit in the queue because they are too expensive to compute today, but have great benefit to the outcomes.
Detecting flaky tests might be the hardest part
Could you be a little clearer on what the “obvious moral and ethical issues” are? Personally I’m not sure what you’re referencing, and I also don’t think the many of the moral and ethical issues are obvious. If they were, then I suspect countries like the UK wouldn’t already be trialing many of these technologies.
> It's fairly well established that eyes of males (sex not gender) are not as good at distinguishing blue vs green as female eyes.

No, its not.

It is, on the other hand, well-established that, on average, female brains are better at distinguishing shades within and between “blue” and “green" (and, really, fine distinctions in colors in general) than male brains are on average. (Similarly, male brains are better at perceiving distinctions in brightness than female brains.)
US can be overly protective as well. Still salty I can't buy Kinder Eggs in the US.
Take a look inside Steam Deck
They were banned for 14 days -- https://www.reddit.com/user/coder_ent/comments/q2q24x/banned...
My Danish bank has to tell customers that "it is a good idea to have at least 2 cards, as you will otherwise have a hard time if your only card gets blocked for some reason".

So in Denmark many see no reason to more than a single card.

BTW. We don't have a concept like "credit score" at all.
Or a button to open WA. It’s highly convenient.
I'm a big supporter of Mozilla and everything they do and stand for, but I think the way this is explained leaves people (including myself) thinking "why would I want to do that?" The promotional video uses a lot of flowery words, but I'm missing the message, so I imagine the average user would as well.

For me, "control your data" means I own it, I own the only instance of it, I know everything about how it's being used and by whom because I've granted those specific uses (but not through policy notices and disclosures), and can revoke its use at any time. Kind of like how Amazon, Google, etc, treat your purchases.
I can relate. I've tried various tilling solutions, but they never actually work in the real world. Always an edge case or you lose basic functions like adjusting everything when you dock a laptop

That was until I used paperwm. It's diffent from most tiling because it works out of the box for everything I do daily. Slack, zoom, terminal and chrome mostly

It does this by scrolling horizontally and all windows default full height. Matches perfectly to my mental model of window workflow

Works so nicely because you hide windows without minimizing, just scroll away

I've always thought of it as tiling for humans, in a joking manner
What variables are you referring to? It sounds like you are implying that ANC is just an illusion? Your eardrum/cilia/etc are either vibrating or not -- I'm not aware of any fundamental difference between that being due to cancelled waves or absorbed waves or "true silence." Could you elaborate?
Turns out making up "antitrust" cases against US companies is a great source of income for the European Union.
It's fun to think about all the things that are in the library. E.g. your exact genome, or the genome of a T. Rex. A hi-def version of every movie ever made, encoded in a suitable format that respects the limitations of the allowed "alphabet" (most of those would look like noise to a reader). A hi-def version of every movie that could be made. All music. This post. The entire internet. A description of every event that has ever occurred. The meaning of life, the universe and everything.

If gets even more fun when you try to think about transcriptions of infinitely long things, like the digits of pi. They wouldn't find in one volume of course but so what? The number of possible volumes in the library is finite but the digits of pi are not.
If there's no public acknowledgement that the CEO ran an awful workplace, there's not much to stop him doing it again with another company.
I can safely assure you that you don't know what you're talking about. I work on distributed actor system OSS full-time and I wouldn't have customers of the out of the box defaults that shipped with .NET Core did the job.
Unlike github or gitlab this page is actually an HTML file and does not need javascript executed to define the web components "HTML". I appreciate an accessible link, at least. I don't know if that's why he linked it.
Ok. I’m interested in monetising modern crypto mining so I’m always interested in hearing about people’s ideas.
Are these actual numbers? If so, you've got me curious! How does it work? Do you really have billions of lines of code? How many of those 580k tables are auto generated?
Docketeer v5.0 is here! – An easy to use Docker GUI
Hey, R2 PM here - there's no question that the product will have 0 egress charges, regardless of destination.

For archival use-cases, you do still pay us for data storage. We're referring to not charging for operations for infrequent access - we'll likely drop the stored data charge down too, eventually, but the current pricing is complex enough.
New corporate group wants to make building stateful Kubernetes databases easier
Have a N strikes policy, track in-sub user infractions.

Have a public moderation log.

Reddit is unfortunately woefully under-equipped for moderators so the above is a strictly out of band process for Reddit specifically.
(2016)

Anthony Levandowski has since become infamous for his "move fast and break things" approach to life. But you can get away with a lot if there's a presidential pardon waiting for you!

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

https://www.nytimes.com/article/who-did-trump-pardon.html
> Why not just use a normal loop and check a return value from the iterator?

Because an iterator needs to be able to return any python value, and if you did that, there would be at least one python value that an iterator could not actually return.

Unless you required the iterator to wrap real return values in a container (basically, an optional/maybe monad) but then you have unwrapping overhead on every real return value, which is worse.
Brave is chromium, it may have wallet functionality, but they are not "new" or web3 at the core.

Metamask is a browser extension, not a browser.

I think you lost credibility by being to clever at this point
I'd like to see it used as a replacement for those "Login with Google" and "Login with Facebook" buttons.

That way you'd know what you're sharing when you "Login with Firefox".
Given the torrent is labeled "twitch-leaks-part-one" I'm curious too as to what they have. The torrent breaks out into a lot of compressed volumes, so it's clear this wasn't just a backup file, but a curated collection of files. I'm very curious if we will see any other amazon related leaks come from it.

Either way, I can only imagine the chaos inside as they try to figure out what has transpired here.
Good opportunity to teach them life is not fair, and learning to be happy even though it is not is a life long skill. Aka, comparison is the thief of joy.
We're just walking into a future where these kind of leaks happen every other day, aren't we ?
Ask HN: Is it too late to jump on the crypto/blockchain bandwagon?
> I don't think python has the mindset of "exceptions are extremely rare".

No it does not, that's my point: when exceptions are extremely rare, as in C++ or Java, having the "no exception" case be free at additional expense in the "exception" case is an excellent tradeoff, because the latter should happen extremely rarely so even if the costs are ridiculous you'll have more than made them by all the cases where you got the "no exception" run for free.

In Python where exceptions are common however, making one case free at the expense of the other is less interesting a proposition, and is more of a balancing act: you don't want to overly penalise exceptions-heavy code as that is considered normal and idiomatic.
That will lead to a big boost in regressive taxation. The little guy will have to report and pay taxes on a lot of transactions that used to be under the table or between friends. But the fat cats will still have their lawyers and their loopholes, so they will be largely unaffected.
Yes it goes too far in the US. It's hard to develop products when you have to worry about getting sued left and right.

At least we have an expectation that products aren't outright toxic.
Just look at https://ec.europa.eu/safety-gate-alerts/screen/webReport

A lot of toys in there.
That's ingress though. Companies should be monitoring and worrying about egress.

Edit: This won't help against a thumbdrive, but that type of thing should be also tracked.
From 2016. For one, I appreciate Waymo's cautious approach that values human life more than business success, a la Tesla.
Or both. It can be both.
Pretty much this. If they gain one email/username password combination - they can use it elsewhere.
What if you're doing night shifts?
What business is it of yours what other people are paid? I can't begin to understand why you would want to know, still less why you think you have a right to know.
Belgium Wants to Add Encryption Backdoors to Its Terrible Data Retention Law
Seems to be so.
Any bits you recall from the chat?
Side note:

Does anyone have a decent link that explains exactly what AMP is to someone non technical? (Bonus if it explains why its bad, but I think I was able to at least get that part across)

I have been trying to explain multiple times but I am continuing to realize that there is certain terms that I just "know" and don't really know how to translate.
>While it is noteworthy that GCP (Google Cloud Provider) and Microsoft Azure are part of this alliance, AWS is not! So does this mean that egress fees will be charged if an AWS server requests the file?

The bandwidth alliance means when Cloudflare requests a file from GCP, GCP won't charge you egress. Cloudflare will then deliver your file to your customer for free.
Lion tamer reporting in. It’s all circuses out there.
Heh, I know plenty about how computers work. You didn't specify what hardware you wanted targeted. Emulated devices are just abstractions.

Here is a real kernel: https://news.ycombinator.com/item?id=7958194

It's so difficult to have conversations with engineers that don't know x86 assembly. They never stop complaining. If only I could NOP them! ;-)
I think what you're missing is that people, in general, don't do that kind of point chasing.
CY8C3246 used to be $5-3.75. Cypress chips were always expensive. Ever since I saw them they always cost as much as separate mcu + separate CPLD.
I think you may be thinking of the physics Nobel Prize which is work related to climate change, the chemistry has no direct relation.
Forestry management.
While true, politicians cant stray too far from their base, and there was 20 years of social progress in the general population between them: drug decriminalization, gay marriage, etc.
I worked with a developer who claimed, with a straight face, that he wrote bug-free code. When I pointed out places where the code would not behave as desired, his usual reaction was to assert that the input was invalid or would never happen, or that the problem was that some other service or code did the wrong thing.

So, while I understand your point about not "gold plating" code and being stuck solving problems of your own making, there really is a limit to how much code can pretend like failures don't happen and inputs can be other than what is expected. Failing to validate inputs from users is a well-known cause of many security problems, for example.
Thanks for the informative post.

> then the stack is unwound by interpreting the function table contents to step through the various CPU states in reverse order

Why do you need the exception function table contents for this. Presumably, you only want to destroy stack objects so isn't the call stuck necessary and sufficient to unroll all the way back to the function with the catch handler?

Also what are your thoughts on returning errors via a status vs exceptions. I love the former - they force you to somehow handle each error (pass it up or deal with it) vs exceptions where there is no accountability for a method that causally caused the exception.
Why Third Generation ML Platforms Are More Performant
”you're allowed 1TB egress per day for each TB you have stored.”

Where did you find the reference to 1TB per day?

On the page it says:

“1 TB of data egress for every 1 TB storage capacity used”

I would have assumed this is per month.
It is hard to compare the two, since a Scandinavian emigrating to the US is an outlier in that they have the resources to do so.
One of my favorite podcasts, Very Bad Wizards, had an episode where they discussed this story. Highly recommend.

https://www.verybadwizards.com/144
There's something about this sentence that I find hilarious:

The download was posted to 4chan today, described by its unidentified source as “part one” of “an extremely poggers leak,”
I thought this as well and it seems plausible. Another idea was brought up that it was a 'let the world know' what life without the social media giant's monopolistic apps would be like. Thus, theoretically helping slow down, the "delete Facebook" movement, that has no doubt gained ground again now that they are being called out for their illegal and immoral activities.
> Amazon has a much larger surface attack area so if they were playing fast and loose with security, chances are we would know already.

I get your point and I am no taking about AWS but about Twitch. Each part of the company has its own incentives. Amazon is well know for not caring about quality nor its employees. In my experience with corporations there is little to no technical sharing between different parts of the company. AWS could have the best SecOps in the world and Twitch could have no security at all.
Is your experience different?
One thing I've seen some parents do for this is choosing core chores that they have to do because they also live in the house (i.e. tidying, trash, dishes, etc) and then having elective chores that pay (i.e. yard care, mopping the floors, organizing, deep cleaning, etc)

I also feel like the 'ol lemonade stand idea is a great lesson. of course it can be anything but something they can make and try and sell.
jesus, do you want to taste the banhammer?
People keep bringing this up, but this is FUD. Lots of places have public tax records and cultures of relative openness with respect to money and income, and as far as I can tell they appear to have less class strife than the US does.
That was just a throwaway example of a pretty write-only line of code from the op codebase, but since you asked:

One operation per line.
A comment for every operation.
Shifts that explicitly say if they are wrapping or overflowing. Rust uses ! instead of ~ but if I had my way it’d be a named function like bitwise_invert().

// curval &= ~(field_mask << shift); // original line

// pseudo-rust version
let shifted_mask = FIELD_MASK.wrapping_shl(shift); // be clear about what kind of shift we’re doing
let invered_mask = shifted_mask.bitwise_invert(); // use a fictional invert fn to avoid single-char operators.
let shifted_val = curval & inverted_mask; // new variable instead of mutating the existing one

Ideally those comments would say WHY we’re doing those ops rather than what’s notable about them - but i didn’t dig into the code enough to write explanations.

And then we let the compiler crush that into an efficient lil one liner like the author of the original code did manually.
Taleb makes an argument in Black Swan that a bad model can do more harm than no model at all, and that "we can't throw our hands up" is not a valid excuse either: sometimes that's exactly the right call.
take them early in the morning, not at evening or night, try drinking milk as well.
>because they're not even attempting to refute anything she says

Yes. So they're right but bringing up irrelevancies. It's a diversionary tactic, no doubt. But it's not a "smear".
If you go back to the Adobe software breach circa 2013, a large part of their issues were the bolt on connections between acquisitions. It's honestly the most common thing I see in the startup world.
Unless your name is Siddhartha, you will, consciously or not, evaluate with
respect to others. Happiness is truly a social construct.
> During the 18.25-year study period, 8648 battery ingestion cases were reported to the NBIH, including 8161 button batteries and 487 cylindrical cell ingestions (eg, AA, AAA). Cases were reported from the United States (97.1%) and 47 other countries.
A claim of 99% sensitivity sounds good, and is often achievable. Any real system will also have false positives, so let’s say that we have a specificity (test true negative rate) of 99% as well. This is probably unrealistically good, most systems will false positive more. This sounds great.

However, Bayes’ theorem paints a very different picture.

If the prevalence of wanted criminals in the population is say 1/10000 (this is hard to guess), what are the odds that a person that is flagged is a wanted criminal?

The unintuitive answer is less than 1% of the time (~0.98%) will the suspect actually be a criminal.

By far the most important term is the prevalence of the thing you are testing for in the population, in this case criminality. Any dragnet facial recognition is invariably going to get more innocent people caught in its web than true criminals.
Btw it also blows my mind schools ban kids from selling things to other students like packaged snacks and drinks. This is such a great opportunity for kids to learn about money and business!
Dubai ruler hacked ex-wife using NSO Pegasus spyware, high court judge finds
Counterpoint: Some people are really good at telling people things. To the point where the eventual reality often is a disappointment by comparison.
> I’ve joined the Wasmer company at its early beginning, in March 2019. The company was 3 months old.

I had no idea that Wasmer, Inc. was a company. The home page, wasmer.io, says nothing about a company and reads like an open source project landing page.

Way at the bottom is a banana button to "Contact Sales" that's just an email address.

What's the product Wasmer is selling?

Clicking through to "about," I see nothing about products, just bios of the team members:

https://wasmer.io/about

> The CEO, Syrus Akbary, had evidently a lot of pressure on its shoulders.

I suspect that pressure had to do with not having a product for sale in the traditional sense. Maybe the company was viewed as a product, with another company as the customer. If so, it's clear how this could become a pressure cooker.

No product + investor money + team to support = pressure and bad work environment.
That's something I've wondered - do password hashes tend to be the same across platforms? Is everyone using the same hashing algorithm? Isn't this also what salting is for?

Never implemented auth myself.