skysight-inc/HackerNews huggingface dataset:
Some credit cards come with a feature where you can generate (and revoke) multiple numbers that charge your account.

So you could generate a new one to use with a shady business, and then revoke the number after you are done with the business.
Once is a mistake.

Twice is a coincidence.

Three times is a pattern.

But this… This is every time.
Here's how:
https://issues.apache.org/jira/browse/LOG4J2-313

"Here's a feature I just thought of"

"Boom. Merged."

That kind of interaction isn't uncommon. Lots of projects in this ecosystem are abstractions built on abstractions, and value features over everything else.
> Operators instead relied on logs to understand what was happening and initially identified elevated internal DNS errors. Because internal DNS is foundational for all services and this traffic was believed to be contributing to the congestion, the teams focused on moving the internal DNS traffic away from the congested network paths. At 9:28 AM PST, the team completed this work and DNS resolution errors fully recovered.

Having DNS problems sounds a lot like the Facebook outage of 2021-10-04. https://en.wikipedia.org/wiki/2021_Facebook_outage
Not saying it wasn't from the vaccine, but is there any other indication that it was. This article just says complications from a sudden health issue (doesn't sound good).
> I vaguely thought that many if not most of the casualties from oxycontin were due to adulteration with fentanyl.

Are you thinking of cocaine? Oxycontin is sold commercially in the us and almost definitely not adulterated with fentanyl.

Also, fentanyl probably isn't worse or significantly different than other opioids when converted by dose, it's really just dangerous because it's so potent so it's easier to smuggle (smaller quantities for the same number of doses) and when it's used/mixed with other drugs without care it's easy to screw up the quantity and kill someone accidentally (however this is true of stuff like bulk caffeine powder, for example, as well).

The reason there is more anger about oxycontin than morphine is that morphine needs to be injected, plus oxycontin was marketed as being less addictive than other opioids and initially given out in large quantities for this reason, resulting in lots of people (allegedly) becoming addicted after it was prescribed without abusing it.
>>Most of those jobs outside of a few narrow categories were lost to automation.

Of course automation plays a part, but it is nothing like the whole story. China now has far greater capabilities to make critical components from chips to solar panels than is located here. Look what happens to our supply chain when supply is just reduced a bit. What do you think would happen to our economy in a conflict?

>>China's history of planning has led to tons of misallocation of resources, and I'm not sure I'd want to emulate that.

Of course we wouldn't want to emulate that; that's a strawman argument.

But to use that argument to avoid planning altogether is foolish. And yes, resources will APPEAR to be wasted. Keeping more than minimal capabilities immediately at hand is "inefficient".

This is the same as exercising and eating right to stay in good physical condition - no one needs to be able to lift weight and run fast for 99.99% of modern jobs. Yet it is a good idea for many reasons. By your argument, why bother to save for emergencies or tough times? That's inefficient - you should enjoy your full income right now - heck, go into debt too!. Also by your argument, we shouldn't plan to avoid technical debt - that's inefficient waste of programmer time - just write the first thing that comes to mind to deploy the feature.
Crypto is a piece of the puzzle.
I own an iPad, I'm not unfamiliar with it's capabilities. It's just not that compelling of a package, hardware and software wise. If I'm going to write code, I could either punish myself and reach for the iPad, or I could go grab a laptop and get work done. I'm not denying the fact that you can SSH into a server with it and use special bindings for your Magic Keyboard but... why would you? Professionals want robust tools, plain and simple. The iPad is a wading pool for a lot of activities; you can get a little photo editing done, you can do some video editing in a pinch, you can futz around in Garageband with pre-sampled instruments and a handful of sampled synthesizers, but once again: why? They're neat timewasters, party tricks in an 11" form factor. It's not held back by a lack of power, it's held back by Apple's refusal to give it proper tooling. If there was a proper DAW on the iPad, I might be agreeing with you. If it didn't tone-down the file management to somehow be worse than a Chromebook, there might be some kind of professional utility there. But they don't, and that's why HN posters simply don't care about your iPad. It's a Disney-fied whirlwind tour through creative professions and bare-minimum MVPs. Oh, and there's TikTok and YouTube apps for when you inevitably give up and resign yourself to consuming entertainment. I only reach for mine when I need a third screen for YouTube videos, and even then I often just balk at the screen ghosting and toss it back in the drawer.
I guess the question is what is spacetime made of, which is the big problem in physics right now. Whether it's loop quantum gravity, string theory, or one of the many other theories that exist, the question of what is spacetime is what people are trying to solve to figure out quantum gravity.

What is spacetime made of? Nobody knows yet.
Apparently Long Haired Keanu is indeed rendered!!

This article (linked by a poster above) has everything you need to know: https://arstechnica.com/gaming/2021/12/the-matrix-awakens-is...
Yes, it's a conflict of interest. They have a guarantee on uptime and they decide what their actual uptime is. There's a lot of that now. Most insurances comes to mind.
This does sound very cool, although I wouldn't be shocked to read at some point in the future that it couldn't be replicated.
from the article it doesn't sound like this guy needs/wants a lot. what he needs is a financial advisor to properly look after that money and he should be set should he just walk away in a few years.
Still doesn’t explain the cause of all the IAM permission denied requests we saw against policies which are again working fine without any intervention.

Obviously networking issues can cause any number of symptoms but it seems like an unusual detail to leave out to me. Unless it was another ongoing outage happening at the same time.
A special–purpose computer is any device which computes an answer to a specific question given some input or initial conditions. An abacus or slide rule is not a computer because they are not designed for a specific question or problem (but they can of course be an aid to computation).

With the Antikythera mechanism, the operator sets the machine to the current date, and then turns the crank to advance the date. The dials on the face would continuously show the positions of several planets, the phase of the moon, the eclipses, and possibly one or two other things.

Charles Babbage’s Difference Engine computed the values of polynomials. The operator would set the coefficients of the polynomial, then turn the crank to compute successive values of that polynomial for successive values of X. He never finished it though.

The firing computer on a WWII destroyer computed the correct elevation of the guns, based on inputs that encoded the position and velocity of the ship, the position and velocity of the target, and several other variables. https://youtu.be/gwf5mAlI7Ug?t=45

General–purpose computers take as input a _program_, and the program specifies the problem to be solved. You could load a program for computing eclipses one minute, and the next minute load a program for computing polynomials or firing solutions, or load one to check your email. The hardware hasn’t changed, only the program and inputs have changed.

Contrast that with the Difference Engine: to make the difference engine compute eclipses or firing solutions, you would have to swap out all of the gears and shafts, and build a different frame to hold them all. It would be turned into a completely different machine.
> It feels HN has become way more corporatist in the past few years -- everyone wants to work for FAANG, no one wants to do their own thing.

You didn't have a situation like FAANG and its cohorts in the past, paying what they do and hiring like they do, in as attainable of a way.

Banking $270k comp. as an L4 for a few years would allow me to "do my own thing" more than anything.

If you mean people like Gates, Zuckerberg etc., they had giant safety nets to fall back on.
Oh how this reminded me of the Verse protocol and Uni-Verse! To be young again, and so on. :)

[1]: https://en.m.wikipedia.org/wiki/Verse_protocol
Better.com CEO taking leave, effective immediately
That's silly but unfortunately this type of silliness is the norm in the industry.
It's a video that shows the characters talking about the future of 3D reality and then a bunch of guns shooting out the tires of agents chasing them in cars.
How do you handle security updates to Chromium?
VPC Endpoint is a feature of VPC: https://docs.aws.amazon.com/vpc/latest/privatelink/endpoint-...
You could also buy one of those two-piece door sensors that sound an alarm when you separate them. Tie one to your hand (or glue it onto a special sleeping glove), and hold the other piece.

Only potential problem is that you might get a heart attack considering how loud those things can be.
I agree with you, but my services are actually in Canada (Central). There's only one region in Canada, so I don't really have an alternative. AWS justifies it by saying there are three AZs (distinct data centres) within Canada (Central), but I get scared when I see these region-wide issues. If the AZs were really distinct, you wouldn't really have region-wide issues.
The article doesn't say anything about vaccines. Just a sudden health issue. Is this a suggestion from the OP?
It is often BGP, regularly DNS, frequently expired keys, sometimes a bad release and occasionally a fire
All businesses that transport chemicals will have a spill.

Until we transition entirely off of oil, oil spills are a part of life. We can reduce them, we can limit the damage but we can't prevent them.

Yes, companies can be less than ideal at fixing spills. We have tools like auditors and other third parties as a control.

Tax write offs are for anything that costs you money as a business. Your accountant needs a chair and a laptop, your hairdresser has different needs like scissor sharpening. There is no standards body fit to determine what constitutes a "real business expense" outside of the IRS auditors who do so post-facto.

That the oil company wasn't cooperative might mean we should fine them more but doesn't affect their tax code.

Tax code is not moralistic.
> Because concepts in programming languages mean things

Right, but a struct means "a collection of named parameters", not "a concept in your domain model" although a struct can be used to model the latter.

> A discrete, named entity (a struct)

Structs don't have to be named. E.g., `var person struct { Name string; Age int }`.

> It's the same thing when "Go has no set type" comes up and people say "map[T]struct{}!" You might implement a set using a map, but they're fundamentally different concepts

It's not the same thing at all. In your analogy, a map is not a set but the advice says to use the map instead of the set anyway. But we're not talking about using one thing as another, we're talking about using a struct as a struct--one such (common) use for a struct is passing named values into a function.
It seems to be pretty solid. Compared to the thinkpad extreme,

- The xps 17 "feels" more solid and less creaky. It's probably less survivable, but it feels like a higher-quality machine

- The wifi seems great, but lately I've been having problems with the microphone. It just stopped working in Windows a week ago, presumably after an update?

- The keyboard isn't quite as good as the thinkpad, but the thinkpad extreme's keyboard isn't nearly as good as the keyboard in my old thinkpad t520. Lenovo are hell-bent on gimping their keyboards until they're no better than anyone else's, and reviews suggest that they've finally succeeded with the x1 extreme gen 4. The xps 17 keyboard is nice, but I notice a squeaking noise from the enter and right shift keys when I type.

- The xps 17's battery life is a lot better. My thinkpad's battery life was puzzlingly bad, even under windows.
FWIW what i wanted to point out was that even for something as a raytracer Delphi 2 wasn't really that much slower :-P. And as i mention on the site, if i was to use that on retro hardware i'd rather use Delphi 2 and write better code (IMO a good profiler is much more important than a good optimizer when it comes to writing fast code anyway) instead of VC++6 because Delphi 2 is much faster to use.

In practice it'd be fast enough anyway. Sadly i do not have anything fancy made with Delphi 2 specifically, but in this video[0] i play a software rendering 3D game i made for an MSDOS game jam last year (it also works on Windows 95[1]) which was made in Free Pascal that from the table i linked at produces executables with around the same performance as Delphi 2 (at least for the 32bit version without using any modern CPU instructions). The majority of the time is spent in the rasterizer, the innermost bits of which are written in assembly, so even if Delphi 2 was much worse at codegen it wouldn't matter much anyway.

(sometimes i do consider out of curiosity to convert the code to be compatible with Delphi 2, but it relies on language features like generics for the collections and on some FPC-specific bits for object de/serialization that would make the conversion non-trivial)

[0] https://www.youtube.com/watch?v=pk6pu4iRb5c

[1] https://i.imgur.com/iOhcUtf.png
I've played League of Legends for nearly 10 years.

Not to take anything away from Tyler1, because he really goes above and beyond, but it really doesn't take much mental focus or anything really to play it. Programming? It takes focus, you really have to think sometimes. But League? When I'm tired the game plays itself. It just feels like muscle memory.

It might take a bit more effort to play at a consistently high level. But I'm pretty sure it's mostly muscle memory for him too. There's very little actual thinking other than the big picture of what objectives to take and I'm sure when he's playing for 20+ hours he's just on autopilot for the majority of the time.

To put it into comparison with how little mental power it personally takes me, I like to watch a lot of Anime, that's Japanese animation with English subtitles. I can't watch Anime if I'm tired because keeping track of subtitles and what's on screen actually takes a substantial amount of mental power. But I can bash out 5 games of LoL back to back when I'm equally as tired.
Your application can call DynamoDB via the public endpoint (dynamodb.us-east-1.amazonaws.com). But if you're in a VPC (i.e. practically all AWS workloads in 2021), you have to route to the internet (you need public subnet(s) I think) to make that call.

VPC Endpoints create a DynamoDB endpoint in your VPC, from the documentation:

"When you create a VPC endpoint for DynamoDB, any requests to a DynamoDB endpoint within the Region (for example, dynamodb.us-west-2.amazonaws.com) are routed to a private DynamoDB endpoint within the Amazon network. You don't need to modify your applications running on EC2 instances in your VPC. The endpoint name remains the same, but the route to DynamoDB stays entirely within the Amazon network, and does not access the public internet."
It's hard. I'm not consistent but when running daily, anhedonia will depart after 6 to 8 weeks. The first 2 to 4 weeks getting fit is a slog.

The right antidepressant also will make you feel normal but doing exercise or tasks, if the antidepressant is working, it can help dismiss negative thoughts (with conscious effort around your thought patterns)

If you have those negative thoughts enter your mind, you need to practice "not engaging" and clear your mind. Look into mindfulness or guided meditation. It'll take a fair bit of practice but it is very helpful.

"This is pointless. You won't go far" is an emotional response. If you can work on your thought pattern, shift it to "This may seem pointless but I am going to challenge myself, this short term task will lead to xyz goal."

It is hard though and I understand where you are coming from.

Last thing, avoid dopamine traps. Doom scrolling social media or any repetitive trap that feels good but is bad in long run. These give temporary satisfaction and ongoing term cost.
“Just ask” and “easily verify” are carrying a lot of water in your comment. Ask who? Verify how? How would someone with no programming experience do it, how long would it take them, and would it be a good use of their time vs. the old-fashioned way?
It’s quite a bit different… Facebook took themselves offline completely because of a bad BGP update, whereas AWS had network congestion due to a scaling event. DNS relies on the network, so of course it’ll be impacting if networking is also impacted.
>You can take it on bad faith

It's smart politics -- I don't blame them but I don't trust the dashboard either. There's established patterns now of the AWS dashboard being useless.

If I want to check if Amazon is down I'm checking Twitter and HN. Not bad faith -- no faith.
Well the title of the post says he died of vaccine complications...
People should celebrate inequity and nationalism? No. Not even if it benefits me, which ultimately it doesn't anyway.
Relevant : http://www.energyonline.com/Industry/News.aspx?NewsID=5042&A...
The rule is that it’s always DNS.
There seems to be a lot of animosity towards deep learning, to the point that it comes off as jealousy - I mean read the other long thread in this discussion. I don't mean to say the criticisms in the article you linked are not valid, just that there are a lot of people ready to jump on any failure or exaggeration related to ML, giving it far more scrutiny than most research disciplines. It gets more money than most as well so maybe that's ok. And I know it gets overhyped in business contexts and media. But there are research preprints.

That said, my observations about this story was that one one hand, everyone talks about how AI/ML will change everything and has lots of applications. But this article strikes my as clearly as a story of a solution in search of a problem, that had to go deep into a branch of theoretical math to find a place where ML could make a demonstrable impact. I know this application is not the only thing ML is good at (for context I own a machine learning consulting company and am bullish on the business applications of ML). But when you look at deepmind and the money that's gone into it, between the often cited "data centre cooling optimization" and this, they are not exactly having a massive impact, even as they do a lot of cool stuff.
Six tips for teaching yourself philosophy
Probably entropy. If you randomize fishing line positions almost all of them would be tangled. Now putting the fishing line in a box isn't the same thing as randomizing it, but the point of entropy is that small random changes will move the state towards higher entropy, meaning that the random changes ought to move the line towards being tangled.

Of course this assumes that a tangled line has higher entropy for some definition of entropy. Proving/structuring that would be too much work though, but if solved could make for a nice paper.

Hmm, since it would be such a nice paper I looked it up, and apparently people have already studied these things: https://www.npr.org/sections/bryantpark/2008/01/knot_theory_...
Bravo dude! Absolutely phenomenal work. I'm going to star this and attempt to tinker with it in a few days. I love seeing stuff like this get built, IMO the more interesting tools like this get built the better the world becomes.
this is actually nice, imagine a world where devices have software like this and acts as a node, so like install it on your smart coffee pot, tv, etc. seems silly but i think as time progresses and as technology advances and gets cheaper and cheaper to build that we will one day have normal everyday appliances os's in them, maybe even a type of wifi that will eventually create mesh networks
Ask HN: How can I earn a free/affordable CS degree?
Like many people in the field, I don't have a formal education. I've got more spare time these days and a desire to get a degree. Are there any free/cheap and ideally online ones out there?
This wasn’t caused by DNS. DNS was just a symptom.
This project has just begun and is still in its infancy. My hope is that the community will come together to take it to another level. Chromium updates are generally handled by the Electron team!
They’re a fairly common design pattern https://en.m.wikipedia.org/wiki/Circuit_breaker_design_patte.... However, they certainly aren’t implemented with the frequency they should be at service level boundaries resulting in these sorts of cascading failures.
Exactly. Making money is fine as long as it is done in a moral and ethical way. Women showing their bodies on twitch and others so guys can drool over them? No thanks.
> unuseful boilerplate

First,

..., err := process(...)
if err != nil {
return nil, err
}

is an unfortunately common antipattern. Errors should always be annotated, e.g.

..., err := process(...)
if err != nil {
return nil, fmt.Errorf("process: %w", err)
}

The extra lines carry no significant cost -- it's not like reading them imposes a burden versus parsing a single line dense with semantic information. They expose the `return` keyword, which clearly signals a control flow point that is hidden by method chaining and `?`. And it doesn't grant the error control flow special status! These are virtues. I don't see this as unuseful at all. It's fine if you do, of course! But there's not an objective ruling, here.
AWS has been getting a pass on their stability issues in us-east-1 for years now because it’s their “oldest” zone. Maybe they should invest in fixing it instead of inventing new services to sell.
Instead of holding a pencil, can't a smartwatch detect your sleep state and wake you up at exactly the right moment?
Almost never happens to me, but it did when learning. So I think the reason it’s happening is you. All due respect.

Edit: I’ll try be more constructive. There’s a good chance you’re looping your fly back over the line during your cast crating knots and tangles.

I do agree stuff tangles easily but I don’t find it to be the case with fly lines in general.
This may have to do with being relaxed, not really thinking about the problem at hand and letting your intuition take over. I have had experiences where working intensely on a problem, even for weeks, didn't solve it but walking away from it and being totally relaxed and the solution just popped in my head. It could be in a shower, having a meal with friends, in the middle of the night or on a walk. You already have the necessary facts and observations but somehow you have not made that last intuitive leap. And when you do, you instantly know it is right as all of a sudden the cloud of possibilities collapses to a single point!

I don't think of it as creativity as much as sparking one's intuition. The "sleep technique" test also relies pattern recognition, which is sort of a limited creativity. You are making the final connection as opposed to opening up a whole new world of possibilities.
Absolutely nothing! But subscribers tend to be more reliable about re-subscribing.

When it comes to twitch you're never really buying anything concrete with your cash. You're mostly buying attention or a reply - sometimes you'll buy game effects or challenges, but usually you're just abstractly throwing money at them to keep the content coming.