skysight-inc/HackerNews huggingface dataset:
It's all by design as a good maintainability is not good for business for obvious reasons:

1. It's require much more efforts in designing and manufacturing and thus cost would be much higher.

2. It reduces failure rates dramatically and thus leads to much less sales.

3. It reduces revenues from servicing.

Examples:

1. Built in non-removable battery in electronics such as phones.

2. Glues instead of screws in electronics such as phones.

3. Soldered on CPU/RAM in laptops.
Not if the current level of innovation is sustained.

Hell, the quality of life today is far better than even 20 years ago.

To make the claim that in a couple generations things will overall be worse if just glass half-full thinking.
I know that this was an issue few years ago. I've never had a Samsung phone, but then again I've never had any mobile for longer that 4-5 years. And usually I would change a batter in meantime (when you could do that by yourself).
>One common subtopic I would recommend having a basic familiarity with is amortized big-O, aka expected big-O, whereby you use some neat probability theory to say that the expected value of an operation is, for instance, O(1) even though sometimes it may be O(n) for individual calls.

Isn't he mixing two terms here?

If I recall correctly amortisation shows up in deterministic algorithms where some steps might frontload work that consecutively makes others easier. For instance you have some graph algorithm that looks at all the neighbours of some node in every iteration which means the runtime theoretically depends of the degree of the node, but if you can guarantee that each edge will only be inspected once your total time complexity only depends on the number of edges.

On the other hand expected time complexity is used when you run a probabilistic algorithm like quicksort, where individual sort calls actually have a variance in time complexity.
Your grandad was following advice given before the 1980s when typically using only long lasting insulin (which was all that was available) and strict routines were the only way to survive and be healthy with T1D.
You should read that DCCT citation I link in my post, it is a good read, about the impact of following the treatments of nearly 1,500 diabetics and their long term complications.
DCCT lead to a lower HbA1c being the goal as it is the largest predictor of long term issues.
There are many books like “think like a pancreas” and “sugar surfing” which explain and use the same methods I explain in the post. If you are interested.
Also, I would love to meet a person who can write a multi page blog post in a panic. Like “help my car is on fire: a history of car fires”
Dvorak was always just a troll, Gassée tries to be some kind of visionary
Hmm I feel like the best way to "game" these interviews is just to learn solutions to the top 100 leetcode questions and then act as if you're figuring it out on the spot. That's what I started doing in preparation for a Facebook interview but I think that's not actually going to happen in the end anyway due to the hiring freeze and also the ridiculous H1B situation.
I hear you, but ubiquitous "phone booths" where you can have a quiet call or type up an email with a physical keyboard and large screen would be amazing.

Don't let the decline of the telephone system fool you, when phones booths were widely used they were not disgusting toilets that you found in the late 90s-early-00s.
I've seen some very bad interviewers that will fault you for non-perfect solutions, but most will have some sort of reasonable leeway in what they will take as a solution.
Assuming you even need to dive down there. Just drop a depth-charge.
Some things got better. Intel was very responsive to issues brought up by the press. Not sure if Intel fixed all the issues but the issues Gamer Nexus brought up are all in Intels internal bug tracker.
Honestly, i have no idea. I've got amazing results with flutter so far; and therefore I'm obviously biased. Packaging it from source is pretty hard; but a bit of the industry has already adopted it. Even tho of course it could always have more features; i for one don't think it would be that big of an issue if google called quits on it today
My money's on nato or the usa. Western politicians are stupid enough to go along with the idea and America's got a long history of causing chaos internationally.
I mean, that's not how Russia operates. They poison government critics abroad using a compound only they could possibly have, and then say "it wasn't us". They want everyone to know it was them, without saying it was them explicitly - that's just not what they do. Even if a Russian submarine blows up the Norwegian pipeline tomorrow, with recorded footage of it happening, Russia will still say it wasn't them.
Sqlite has had multiple CVEs featuring use-after-free, heap overflows, usage of null pointers, use of uninitialized memory, and array bounds overflows. [1]

Those could all be avoided by not using C.

[1]: https://www.sqlite.org/cves.html
> This hasn’t been consistent since at least Vista and the release of WPF, which does totally custom control rendering. Circa 2006.

Ignoring 3rd party apps, to me the windows UI died with XP where the consistency stopped being somewhat pushed on the base OS/UX itself.

Strictly speaking nobody cares what APIs are being used or if there are multiple of them as long as they convey a consistent UX. If a consistent UX is pushed on a system level, even custom apps will try to stick to it (see macos).

But the sad truth is that on windows there is no longer one. W10 can show you dialogs from the windows 3.1 style up to a WPA, and you'll likely encounter a mixture all the time because there's no consistency.

I sometimes watch retro hw channels and looking at windows from 3 to 2k reminds me the stark difference.
You also has Ustasě in Croatia and Josef Tiso in Slovakia.
On the other hand - although Catholic higher-ups were generally spared, not the same could be said about other priests in Poland (like Kolbe) . During 2 WW, it's hard to treat Catholicism as a one religion, because it was very important to put it into national-ideological context of the country. Most often church was supporting more conservative, right-leaning groups, as a contra to socialist, who were much more anticlerical then.
It was amazing at doing.... what? You've just listed a bunch of hardware functionalities without actually saying what you managed to use it for.
DCCT found reducing hyperglycemia to optimize for low HbA1c was 3x less risky than trying to reduce hypoglycemic episodes.
Hypos are bad, but long term hyper is worse. That’s why you get a HbA1c test when ever you get a physical.
It’s like you didn’t read all my citations :)
Since none of the other comments currently suggest it, the PinePhone can currently do this!

I got the PinePhone to evaluate if it could be used as a daily phone. It cannot, it is way too early for that. But as a portable laptop? Works excellent! Not for programming big programs, but it's surprisingly effective as a terminal-on-the-go and even vim is not that difficult to use with it.

Then when I come home, I can plug it into my display+mouse+keyboard and use a normal laptop to finish off whatever I wanted, push it to my git repository and then continue from my proper desktop machine.

Another not as portable setup is the Steam Deck. Ships with a proper linux distribution and works with the same docking stuff you have for the PinePhone, so basically connect a hub that has HDMI+USB and you're up and running with a proper Linux distribution, and with better heat dissipation than the PinePhone. Not as portable obviously, but more powerful than the phone.

Both setups are pretty open, as both of them can run basically the same operating system you use on a desktop computer (non-macos obviously, and no Windows on the PinePhone)
> having AR glasses project a full desktop in front of us and let us control it with an imaginary keyboard and touchpad by somehow analyzing our hand movements [...] only if ... fast and hold a decent battery

I have been there. Speed and battery do not seem to be much of a problem - even with the not-recentmost technology I use, there have been laptops which "do" and last less. While having a quite decent resolution, the displays do not replace the real world experience for offering virtual keyboards - better input systems must be adopted.

Mobile systems are not «"dumbed down"»: they have more frequently found leaner options depending on the main purpose of the device, but you do e.g. control Android with physical keyboards, complete with shortcuts and function keys.
Sabotaging their allies' key infrastructure would be an absolutely crazy amount of risk for the US. Even if they think there is a 99% chance they'd not get caught, that is a 1% chance of completely destroying relations their with Germany, Scandinavia, the EU, and probably the entire world. And all of that risk for the very marginal benefit of disabling some pipelines that weren't going to be used anytime soon any way?

I think the much more likely explanation is that this was Russia or at least a faction within Russia. They are the actor that has already started a war in this area, has shown completely disregard for treaties and international law, and has been known to act irrationally (eg. by starting the war in the first place).
Holy crap. Thank you for that pointer and my 92GBs of newly free space.
No, I'm not suggesting that 2TB is harder to manage than 200GB (even though it clearly is because there's more in it to keep tabs on).

What I'm saying is that we have a policy to not use email as long term storage because it's considered bad practice. As such we don't gain much from Google offering more storage space because we wouldn't use it anyway.

We're a only a small business and I know that's different once you grow beyond a team you can fit in one room.
> You hang the explosives on a long rope, throw it over board like an anchor, and drag it into the pipeline. When you hit the pipeline, you detonate the explosives

That's genius. The detonator would not have to be very sophisticated to magnetically detect the steel in the pipeline.

"The gas pipes are made of 4.1 cm thick steel, which is protected by an 11 cm thick reinforced concrete shell"

https://yle.fi/uutiset/74-20000414 (in Finnish)
I’ve been solving leetcode questions for a few months now. Primarily for fun because coding interviews aren’t really a thing in my country (salaries comparable to the US aren’t either).

It is a really interesting exercise and as you mentioned, there is a world of difference between knowing the basics and actually being able to solve those kind of problems on an interview level. It’s not uncommon for me to check the first test cases, submit my solution and then be screwed by the one edge case I did not think about.

Doing all of this in a 20 minute interview seems insane to me. I occasionally check out commonly asked FAANG questions on Leetcode and how people actually solve these kinds of problems in such a short time while communicating with an interviewer is beyond me.
Sorry, wasn't clear. Was talking about the space complexity. If you sort in-place you don't need O(n) space, you can do with O(1 ). Not talking about time complexity
Wow, thanks for the pointer to the devel branch. I retract some of my criticism, this seems to be done fairly properly (except in 2021 when I looked where the commits where basically time dumps). I don't get the need to squash though.
> Given an array of integers, write a function that will remove all duplicates. (be sure to add the obligatory followup, what is its runtime?)

> The “aha” moment here comes if you realize that by sorting the input, you can just walk along the array with all duplicates being next to each other, resulting in an efficient solution.

You could also stick all the numbers in a set, since it seems like order doesn't matter…
I can only think in the book "Mastery" from Robert Greene when I read the article.

That book explains why geniuses in the history were not listened by the community and how to approach the concerns the author of the article has.
Most sites are plain text with only a few exceptions like youtube. And even then video doesn't need javascript.
And everyone in NATO is doing their best to ignore it, because they know where war leads.

People ignore acts of war all the time to keep the peace where nuclear arms are involved.

NS1 and NS2 aren't shipping any gas, and notionally are "Russian": dramatic but no change in the status quo.

Blowing a pipeline between two NATO members which is shipping gas and imperils their population is very different: NATO can't ignore that.
But those trades were already shut down and not coming back anytime soon. If Germany had refused to join sanctions and was still using NS1 + NS2 at full capacity right now then maybe there would have been some motivation to force the issue. But why now, when the pipelines weren't even active?
> Would you want a command line interface on your Smart TV using only a remote? How about XFCE? Or GNOME? No

Yes. After struggling with every single type of Smart TV platform (Google TV, Apple TV, Amazon Fire TV). I settled for a Linux HTPC that I control with a Logitech K400. I finally found what I needed and I'm never going back to looking for crappy apps on some semi-empty store. Walled gardens are really sad.

You just need a remote with QWERTY and trackpad, and a few adjustments to the OS (e.g. 125% UI scaling works pretty well for me).
One sample for an incomplete year is not a strong predictor of frequency, especially going forward where the trend is more fires.
What's your L1?
> Russia permanently ends European dependency on its fuel

I'm dubious to the max that the pipelines can't be repaired fairly quickly.
To be fair, I owned the Atrix (or I should say four of them) and it’s build quality was absolute garbage. The fingerprint sensor on the back, when touched, would cause the touchscreen on the front of the phone to glitch out. I had exchanged several of them and all had this issue. Oh and after a very short bit Motorola said they won’t support any more upgrades to it with new Android versions and you couldn’t install anything open source on it either as the bootloader was locked. This phone is why I’ve been using iPhones since.
I agree in principle, but also see how the interviewer might have felt that there's a good opportunity there to assess your reasoning skills about that thing. I actually like it when an interview takes some small detours.
Does that mean, "My opinion about lernu.net is good, especially for learning Esperanto"?

I think the only word I wasn't able to understand was "hejmpaĝo", which I guessed to mean something like "especially"

Could google it, but finding it out by guessing and asking someone seems more interesting.
Converting Coal Power Plants to Nuclear
Symbolicating a crash report is annoying but mostly mechanical (fwiw you can open them in Xcode and it will pull in all the dSYMs for you). Reading a crash report is an art.
Someone downstream suggested dragging explosives on a rope, detonating when they hit the pipeline. Wouldn't even need to stop.
The conflation of "amortized" with "expected" feels a bit off to me.

Amortized O(f) strongly suggests that the sum of n operations is very very close to O(n×f). I wouldn't say hashmap insertion is amortized O(1), because if you craft input that always incurs a hash collision, then n insertions is much worse than O(n). I would say that it's expected O(1), meaning that with high probability an insertion takes constant time.

Conversely, "amortized" is only a useful description when it is known that some operations will take much longer than others, yet the total time is bounded. (If you bring up amortized time, you're pretty much implying that the distribution of times is uneven, otherwise you wouldn't have mentioned it.)

For example, if you're doubling the length of an array on overflow, then I would say the amortized time of a push is O(1). It would seem weird to say that the expected time is O(1). If I wanted to be more complete, I'd say "normally a push is constant time, but when the array needs to be expanded then it's O(n). The amortized time is still constant, though."

Expected time refers to a single operation. Amortized time describes the mean time of a series of operations.
Holy hell! This is literally my nightmare. I'm so sorry to hear you went through that and so glad she is okay!
You're looking for cooperative board games.

One of my favorites is Zombicide: https://www.zombicide.com/en/

Although I'm not sure it's suited for kids, when I start playing I always get hooked and then it's sleep time haha.
What is a blue card (in brief bio)? Urban dictionary was not enlightening.
The developer section is definitely newer than that…
I wouldn't be suprised if this turns into the next "lab leak theory" in terms of censorship.

There's going to be one acceptable party line, parrotted in the media and anything else will be censored on social media as well.

There's too much at stake and the infrastructure is already there to create full on censorship for one side and non stop propaganda for the other.
A private citizen who simultaneously possesses the requisite skills, resources, opportunity, and inclination. Not impossible, but very unlikely.
Not sure about it. There was a video of the Russian Security Council days before the war when Patrushev looked lost and uninformed. See http://www.kremlin.ru/events/security-council/67825/videos around 1:32
> how is slamming the lady in an HN comment any different

I'm not complaining about it being personal and unconstructive.
It does not even matter whether you're coming from US. It matters whether you want to do any business in US or with US organizations.
I guess this is something that sounds so obvious, why wouldn't you but the devil will be in the details.

As for using the smaller "modular" reactors to take account of the fact that some coal plant infrastructure would be much too small for a large nuclear reactor, I wonder where the sweet spot is between the low up-front investment of a smaller reactor and the potential economy of scale with a larger plant needing fewer workers per MW output.
It works well for the viewer if the content lends itself to sponsorships - your friend's example is a perfect one, he has a cooking show, needs cooking equipment and the sponsors provide it - win-win!

But this model doesn't apply to every channel. If I'm on a science/physics channel, I'd tolerate scientific/test equipment sponsors but that's rarely what we see (turns out most quality goods sell fine without polluting YouTube videos), so instead you get VPNs, crappy Chinese earbuds, website builders, etc.
I don't understand why don't we just use https://en.wikipedia.org/wiki/Logarithmic_number_system.

It seems much simpler than the posit proposal and it has the same advantage (most precision around 1 and -1).
So the state? Again you are conflating to diminish how responsible state bureaucracies actually are.
Great answer. Connect with the current position.

I would add here, that you may ask in a polite way, how number theory relates to the position at hand, here Django. This way, the interviewer has to open up specifically. There might be something, that could be important and interesting or simply a bluff.
Normal staggered layout also matches that the operator's hands are at an angle to the keyboard in a normal position. It's an ergonomic version of the ortholinear layout lol.

(Maybe that's less relevant on a tiny device?)
Yes. Simplest in-place example would be bubble sort. You might need a temp element for swaps, but that's it. Heap sort can also be done with constant space.
You need of course O(n) space to store the original data; but that is not part of the sort algorithm.
That’s a good suggestion.

Frankly, it’s not been much of an issue. I tend to be super-anal about Quality, and post-release crashes are rare as hen’s teeth; which makes the ones that do happen, more important to diagnose.

I usually get a general idea of where the crash happens, and scanning the source, has always shown me the issue.
> This bookmarklet worked for me using Firefox on Android

do you happen to use some other version of Firefox? I tested for stackoverflow and it didn't work. There's also a open bug about bookmarklets not working on android Firefox https://github.com/mozilla-mobile/fenix/issues/2871
> Expected time refers to a single operation. Amortized time describes the mean time of a series of operations.

Pardon my ignorance but I don't see the difference between these two sentences.

Expected time of a single operation = Sum of time taken for all possible input cases / Number of cases (assuming each input case is equally likely to occur). Is it not?

Isn't it then the same as amortized time?
Also this is a source from 2021 estimating the regret rate for gender affirming surgery is ~1% https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8099405/

From 2021 (more recent than 2018 as your #4 source) and not paywalled
Who cares if it just works? Who cars if it's made in Flash or in COBOL when it just works? What's sad about this? It just works right?
Do you have any research about other Cluster B personalities that "enjoy looking into the eyes of someone while life fades away, or seeing the tears come out due to powerlessness and suffering" ? Or you just want to write about APD, but want to add some science-based words?

Also, the "APD-prone" positions are often higher management. Which are causing every possible type of pain, from 1 to 1, to massive downsizing on the other part of the world, but more of the second type - one would assume they would choose something closer to victims, if their only motive is causing pain. There is also their tendency for risk-taking and ease with making "hard decisions (due to lack of empathy and mentioned tendency for risk-taking), which also explains such high positions in companies.
It's difficult to tell whether the site will be usable with js before opening it, so js disabled by default provides better UX: it makes both usable and unusable sites usable. Then after the site proved itself, you can enable js if you know what you miss.
Nice! I'll take anything over the huggingface version - the API design by huggingface where CLIP is in transformers, everything else is in diffusers...not a great developer experience [unless youre the type of person that likes their python to look like half-baked J2EE).
I did qualify "as long as you don't have to run around unsupervised and operate heavy machinery".

A BGL as low as to cause brain damage can only result from insulin overdose. And it must be quite a bit off, which means it is easier to avoid.

I also qualified everything with "on average". There are people, depending on habits and their particular circumstances/medical condition, who will have a harder time with the "rollercoaster" even compared to most type-1 diabetics. But that is what qualified diabetes assistents are supposed to help them with.

Also: I'm not a diabetic, but I studied veterinary medicine and know quite a bit about it also from a Human perspective.
There's a chain of Mexican restaurants in the UK called "El Mexicana" which, as anyone who's studied Spanish for more than 10 seconds knows, is wrong: it should be "El Mexicano" or "La Mexicana". ("Lo Mexicano" would work too, come to think of it.)

The mistake is so obvious that it can only be deliberate. I guess it's supposed to be endearing or cute? To my mind it's just grating and annoying and makes me not want to eat there.

(An alternative hypothesis is that the grammatically invalid name is a marketing gimmick designed to get people talking about the company. Looks like it's working.)

https://www.elmexicana.co.uk/