skysight-inc/HackerNews huggingface dataset:
Eh…

You’re given `99999`. Increment it. A naive approach would turn this into `9999:`. Making this work is a bit complicated and involves memory reallocation if you’re in a C-like language and you need to increase the length of the string in order to increment it. You’ll probably want a system where the caller passes a buffer of sufficient size to use for rewriting the string, in case you overflow. Make sure to have a way for the caller to pass the buffer length. You don’t want to allocate because that’s not the way it should be done in C, callers should generally allocate. You could use atoi, increment, and itoa to go back again, but that’s probably “cheating” from the perspective of a leetcode advocate, they likely want you to do this without the stdlib conversion functions.

There’s a bazillion reasons why this sucks as an interview question. There’s no way a correct answer is just something you’ll “get in 15 seconds”.
A mark 14 torpedo actually sinking something? What a bad stroke of luck!
For that to work with paid fonts DRM would likely be involved though, and more DRM is never a good thing. Doubly so if app vendors aren't happy using the OS provided facilities, instead wanting users to use their own, and decide to embed said DRM in your personal documents.

There are also situations where fonts might be needed while offline, which despite the seemingly ubiquitous nature internet connections today is more common than one might think. It'd also mean forced decommissioning of the various ancient machines still hanging around in places like print shops that handle newly made TrueType fonts just fine.
The problem is that "The Twitter Files" is yet another propaganda op, framing the centralization problem in terms of the de jure government so that you continue ignoring the longstanding elephant in the room of centralized corporate control. In your terms - most power structures are roughly in cahoots, and directing focus towards a mere few seats at the table is a distraction. The vast majority of censorship is done for banal business reasons, including executives scratching each others' backs, regardless of whether one thinks it's justifiable based on the outcome or not.
Same, I can mentally visually a heat map of what other humans would have clicked on the most and just do the most central elements
Sounds like Tranfor which would convert FORTRAN code to flowcharts, because government contracts required flowcharts.
Biofuels today have issues, but there's no fundamental problem preventing them from being green. It's just a side effect of shoehorning them into our existing agriculture systems.

In the future when we have more solar power than we know what to do with during the day it may become economical to run the Sabatier reaction with hydrolyzed seawater and atmospheric CO2 to make methane, which can be burned in a lightly modified aircraft turbine.
So once again cars are the problem. Get rid of cars and suddenly so many things are possible.
I guess at this point in my career the soft side of system design questions are a good thing. I'm interviewing the team as much as they're interviewing me. The inability to have a soft discussion about something like system design that shouldn't have one right answer is them failing.
Wild to think that these have been a thing since at least the '90s. And fonts keep getting so much more complex, so there's basically always a reason to use one, if you use different fonts for your daily work for example.

Even so, desktop font management tools seem like they've always been these third-party tools; you don't have closer integration in the desktop space of memory-saving features even close to what browser devs work on. Like more clearly managing browser tab (font) resources dynamically when not in use / not likely to be used anytime soon.
The clutching of pearls here is not going to change things in the slightest.

I personally have pretty bad battery drain from Zoom. I think there's definitely a lot of futures where WebCodecs (for even better hardware accelerated encoding) & WebTransport & Media-over-QUIC open up technical paths to dominate & crush most native app implementations.

And unlike native apps, which rely on mountains of proprietary systems, the web can be a platform where anyone can put together new ideas quickly & easily, that leverage enormously advanced common platforms.

I am just so tired of all the web whining. None of these people have the faintest clue what the web is moving towards, have the slimmest interest in understanding why their gripes are actively being made irrelevant. It's brutal, enduring such strong & wrong anti-vision, having to forever be handling these very loud persistent minorities whose motto is, to quote the band Kula Shaker, "whatever it is I'm against it".
We traded a sane web experience for a better search experience and now both are trash and filled with ads. The modern internet really sucks
Yea that hyperscript code looks awful.
How would it scale and handle complexity ?
Come up with better problems, please.
Naah, that may apply to SSD's, not to good ol' (rotating platters) hard disks, the magnetism does not evaporate.

The only issue that may happen on an unpowered for several years hard disk is so called bearing seizing, the (fluid) bearing of the motor/platter may become stuck, but it is relatively rare, though some particular make/models are more prone to this, and though (usually) fixable, in some cases it can be made to rotate freely again, but you need the services of a specialized service, as the disk needs to be opened, in some other cases the bearing can be replaced, and some specialized tools are needed:

https://hddsurgery.com/blog/hdd-motor-bearings
> extremely weird conclusion

I agree, it's so weird that people who devote time, effort, and resources to the production of articles or books somehow think they're entitled to be compensated for the use of those products! What a bizarre belief! I mean, obviously they should just give them away for free. Not like they need money to survive or anything. They can just go on food stamps and live under a bridge or something.
My Tech Stack in 2023 for Side Projects
I've used Scheme a bunch in the past.

These days, I've been using PowerShell for economy data and some options stuff:

https://github.com/dharmatech/options-chain-marketdata.ps1

https://github.com/dharmatech?tab=repositories
When people tell me unsubstantiated things to uphold their beliefs, I’ve started to point out “if an AI said that, we would say it was hallucinating”

and honestly, I cant find a reason to privilege human bullshitting over AI’s
Cool, will be interested to see how this develops! tokio's loom framework has been a big help in testing some tricky concurrency code I've worked on.

Folks interested in this space might also be interested in the system I spend most of my time working on: Shadow. It also performs deterministic simulation of a network of hosts, but it intercepts network and system interactions at the syscall level via seccomp. As such it can work with binaries compiled from ~any language, usually without any code modification or special compilation. https://shadow.github.io/
There might be a max that you can assign to the APU
there's an old joke about a company owner who would routinely throw half of every stack of resumes he received straight into the bin, because "who wants unlucky people working here?". i think a large part of why it's funny is because it really does take a considerable amount of luck to get hired at all, and especially through the system B process.
I seem to remember that both LO and Inkscape and possibly GIMP had bugs (since resolved IIRC) that involved this exact thing.
Anyone interested in clean energy should know about this device that produces 100s of kW in a novel chemical process.

https://brilliantlightpower.com/suncell/

Note that the wikipedia article about this company is policed by skeptics and has been in dispute for more than a decade.
I have a laptop running openSUSE Leap that I've been upgrading every year without problems since 2017. I only use it for listening to podcasts and watching the occasional video, but still.

OpenBSD, too, has been a pleasure in this regard. I have another laptop that I originally installed 6.7 on and have been upgrading ever since, again without a problem (again, though, I only use it for watching videos and sometimes for testing/debugging code).

Having said that, Debian's track record in this regard is very impressive indeed.
I'm fairly certain I would not perform well with this, unless the library was trivial.

Refactoring is a task that's mostly about reading, understanding context, and a bit of rumination.

I think having them design the library, or a fraction of it, from scratch, would give a more momentum.
Great how almost all of them are "UL Listed".

Having looked due to this headline I notice Toshiba is absent from this and previous dehumidifier recall episodes.
every compressor I've looked at was thermally protected. If it gets too hot for any reason it just shuts off.
“In Windows 10” lol
Go ask your favorite graphic designer if this sounds familiar regardless of OS platform or version.
macOS comes with Font Book, it’s not as sophisticated as the 3rd party ones but it’s usable.
The singular "they" is in fact about as old as the singular "you" (which was also strictly a plural before then).
It's possible that there was a flaw in the original manufacture of the board and one of the balls didn't flow properly, but it passed QC.
As a German, this deeply inculcated car-centric view presented by Americans, Canadians and Australians shocks me every time.
Of course. Legislature can pass any laws it decides to. Open source software doesn't get some free-pass that allows it to dodge laws. Yes of course you can ignore, disagree and break laws. But they can and will come after you.
Ah, the problems of Mac users in the 90s, biting us fresh on the ass today! Didn't products like Extensis Suitcase help with issues like this?
Indeed, having if-then-else being an expression (as well as switch) would be great in JSX. It seems there's a proposal for a match expression in TC39...
https://archive.is/t2zbI
I started a new job at a small company 3 years ago and the very first thing I did was to create a central documentation repository, using Jekyll for some "fancy" rendering. All you have to do is dump your knowledge in a markdown file. There’s no hard convention; the goal is to have no barrier for entry.

Three years later I can’t say that everybody uses it (I do!), but it has 176 pages in it, from infrastructure to how to run the company to things we learnt on the tech we use. Every time we lose time on a silly bug, we document it there so next time you can save the day with a Ctrl+F. All relevant dev or ops changes are documented here so when you notice some strange pattern in Grafana you can check the log and see that someone updated some config on that day. Every time there’s an incident in production we document how we fixed it.

If tomorrow I leave the company, I know I’ll have very little to write down because everything is already there.

The hard parts are:

* not all people are willing to "waste" time filling the docs. It feels like wasting time but it’s always valuable for your future self as you won’t remember all the things you know today, and when someone joins the company you can point them to the docs instead of spending days explaining stuff

* the more content you have the harder it is to keep it updated. We try to do it but in any case it’s in git so you can check the last commit to know if some content is old or not

* having non-tech people contribute to it. At the beginning they had access to it but were a bit confused by Markdown. Now the marketing docs are in ClickUp (the tasks manager we use). We looked at Notion and similar solutions but for tech people there’s nothing better than a repository cloned on your computer in which you can grep

* when you’re exhausted or frustrated because you spent the day on an issue, it can be hard to motivate yourself to document it. What I do is I keep a file open while I debug an issue and I write down what I do _as I do it_. That way all I have to do at the end is some formatting.
Furthermore, ideally shouldn't font caching be offloaded to a background thread and performed after startup? That seems like the best way to handle the issue with the only user impact being a briefly disabled font chooser.

That said I could totally see tangled balls of mud and spaghetti like Photoshop requiring synchronous font caching to function.
Okay, I was just wondering if there's something non-obvious here. I guess OP is just woefully misguided about languages other than scheme or "these languages can't handle it" means something more like "I don't know how to use those languages".
That's a reasonable guess, but the glass roof is an abstraction of "top-level trim". And that top-level trim comes with top-level wheels. I'd be shocked if the 20s are a result of engineering and not pricing tiers.
Throwing Meteors as interplanetary weapons was a storyline from The Expanse books/TV series if I recall.
This is quite true and one of the reasons I hate auto-doc comments. If a function tells me that an input is an integer there's no reason to repeat that information in the header above the function unless that information is then being parsed to produce a more readable form of documentation (i.e. as JavaDoc was originally used). Additionally I personally, though I am happy to concede that it may benefit some people, loathe "$documentId The ID of a Document" style comments. If you are adding more information above and beyond what is relevant from code - especially if that information relates to why you chose this approach over a different one - that is useful information.

Documentation in the form of project planning documents, SOWs, data diagrams etc... - that stuff is always quite valuable, especially since it comes with an understanding that it was valid at a certain point in time (and may no longer be valid) but belies underlying decisions in how things were built and why.
Java and JavaFX.
Ontario has cheap nuclear because it's nuclear fleet was build in the best possible time, the past.

Even china [0] renowned for pushing projects through and "getting stuff done" hasn't been able to push the price and construction time of nuclear down enough to make them cheap and easy to build.

[0]: https://cleantechnica.com/2023/02/06/renewables-in-china-tre...
Laws are easier to add than revoke. Might be just for scam websites now (haven't checked your claim), but it's a single majority vote away for any website in the future that those in charge want to label as terrorist, propaganda, unethical, or whatever else the next group that comes to power finds as an excuse for information that is against their own agenda.
No, they have a premium paid subscription. They're doing it to make money.
My first distro was Red Hat 5 as well. It is disambigous, it was called "Red Hat Linux version 5". Red Hat Linux went to version 9 I believe before it split into RHEL (Red Hat Enterprise Linux) and Fedora.
Also certainly were "Amazon's Choice" products.
I'm happy for you that you've found a job where the things Leetcode emphasizes has merit and importance and value in your day to day work.

Everyone who's on the other side of the Leetcode debate from you wants the exact same thing - an interview process that is representative of the actual day-to-day work.

As a Web developer, inverting a binary tree is not a thing an employer has ever asked me to do.
It isn't just software.

The Deepwater Horizon was the result of multiple single points of failure, that zippered to catastrophe. Each of those single points of failure could have been snipped at little to no cost

The same with the Fukushima disaster. For example, venting the excess hydrogen into the building, where it could accumulate until a random spark.
Similar visualization: https://finviz.com/map.ashx?t=sec&st=w4
I don't think the intention of Idris is to be a research language.
US mortgage rates hit 21-year high as Treasury yields climb
Mindgeek (owners of Pornhub) rebranding to Aylo
What did he talk about?
Major brands pull ads after they appear next to pro-Nazi content on Twitter
It's a little more granular than that. At minimum, you can tell full from half full from mostly empty. But yeah, not 80% vs 70% or anything like that.
Brian Goetz published a similar article about Java a year ago: https://www.infoq.com/articles/data-oriented-programming-jav... (taking care not to call it "functional style programming" but rather "data oriented programming")
I thought the ban was due to TikToks ability/possibility to gather information about people, not the what they actually show? I have no love for TikTok.
When should you disclose you speak a language that others don’t know you do?
Stalking victims sue Tile and Amazon for negligence over tracking tech
https://archive.is/CLdo1
Can you say what you want to say with stories at the beginning?
If someone else who doesn't live where you do and wouldn't have to face the consequences prescribed tough medicine with serious side effects for your city, and those side effects could even prove fatal, would you subject yourself and your city to their ministrations? What do you say, Doc?
Beth Lord has a great guide to the Ethics.
It's mostly the payment processor. It may or may not be the bank itself.
Efficiency gains can even very well be detrimental to resource consumption.

Efficiency gains generally lead to lower cost, which in turn lead to higher demand. And this increased demand can very well be in excess of the efficiency gain.

This was observed as early as the 1860ies and theorized in concepts like the Jevons Paradox/Rebound Effect.

This doesn't mean efficiency gains are not desirable, but they must be implemented in conjunction with other factors like environmental policies.

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

https://en.wikipedia.org/wiki/Rebound_effect_(conservation)
US.

https://www.nrc.gov/reading-rm/basic-ref/glossary/alara.html

Google doesn't want to find a more specific link right now, but you can see the implication from the definition: If you find a way to make nuclear cost less than something else, now it's economical to make it cost more in order to reduce radiation exposure, with no lower limit where you can stop.
I am really curious whether the current governor of Hawaii should take responsibility for the failures and resign. Out of all 50 states Hawaii is supposed to have the most advanced early warning system and yet, the reality check went disastrously wrong. There will be no real improvement if accountability at the top level is not enforced.
File with the WTO for trade fairness rules? After all, no Facebook allowed in China.
Loved the memes on the essays page. It has motivated me into checking the project more thoroughly
> Yes this means that scene from the cheesy action movie (can't remember which one) where Arnold Schwartzenegger finds himself on the ground in the cockpit of a russian plane and proceeds to blow up all the badguys while on the ground couldn't happen in real life.

I think you meant "Tomorrow Never Dies" and the actor was Pierce Brosnan. Took me forever to find that, is it the right one?
Is 42C even hot for an NVMe? I recently started collecting SMART stats for all the drives in my home fleet and that seems about typical for the drives I have when idle-ish. I've also seen it suggested that keeping NVMe drives too cool is bad for performance.

But more importantly, this is a reminder TO HAVE BACKUPS. Many of my friends love their Synology systems. I am thrifty so I use urbackup and it has saved my butt a few times.

https://www.worldbackupday.com/
Every modern motherboard is dual-channel DDR5 at a minimum, maybe quad-channel.

2x sticks of 32GB/s RAM, properly configured, will run at 64GB/s of bandwidth. Modern servers are quad, hex, or oct-channel (4x, 6x, or 8x parallel sticks of RAM) in practice. Or even more (ex: Intel Xeon Platinums are 6x channel per socket, so an 8x socket 8x CPU Xeon Platinum will be like 48x DDR5 parallel RAM sticks).

----------

PCIe x16 by the way, is 16x parallel lanes of PCIe. All the parallelism is already innate in modern systems.

---------

L3 cache is TB/s bandwidth IIRC. CPUs inside of CPU-space will automatically be caching a lot of those RAM commands, so you can go above the RAM-bandwidth limitations in practice, though it depends on how your code accesses RAM.

GPUs have very small caches, and have higher latency to those caches. Instead, GPUs rely upon register-space and extreme amounts of SMT/wavefronts to kinda-sorta hyperthread their cores to hide all that latency.
Honest question, what's the upside of not doing this? You're already identified as a Tor user via the IP address. But wouldn't a unique, for example, canvas fingerprint just deanonymize you further? A shared fingerprint just makes you indistinguishable from others Tor users. Which you're already being classified as and can't escape that printing.
i worked at a data center operations company many, many years ago, and at that time i built a server and stuck it in the data center and got a really great ($50/month) deal on it. the company has been acquired since then, but they still keep billing me the same rate for the box!

i share it with a few friends, and we are running our personal websites on apache and also hosting our DNS (bind) and email (postfix) and spam filters (spamassassin). i SSH in to read my email in neomutt.

we run those base services as system services, but recently we're running some stuff via docker-compose files. here's my personal docker-compose stack using traefik to proxy to some personal infra, e.g. my own syncthing and my blog:

https://github.com/igor47/services
Do taxes violate a natural right?
There are vague federal anti-terrorism statues that disallow photography of "critical infrastructure". Mostly used by guards to bully anybody they are suspicious of for whatever reason. You probably won't be affected by these unless you happen to look middle eastern or dark skinned. These laws also are also applied inconsistently to bridges, power plants, dams, government buildings, and the like.
What hate did she spread?
Spritely Goblins renews my faith in the future of circuit society.
Sit, Siri Designing Our Tech to Have Good Etiquette
The problem is that when your codebase is garbage enough, after a couple of years you inevitably get stuck in analysis paralysis because nobody understands how to make changes to the system in a way that doesn't break everything.
I hadn't heard about Brave. Just started using it, and finding it very nice so far. Easy to get started, as the import from Firefox was quick and painless. I have high hopes for this one.
Finding the right PostgreSQL UUID generation algorithm for FlashMQ.com
Grenfell was a fridge iirc
We don't want to outsource our regulations to China. We should implement our own regulations for how media apps must behave, and apply those rules across the board (on both foreign and domestic companies).
Yeah. I have a Synology and backed up everything except... this PC. It was just the "gaming PC" and then I realized that I would rather not re-install everything and try to recover the drive. It's set up on the Synology now.
It's true, but that isn't a given. For example, it won't matter how cheap and efficient LEDs are, people aren't going to keep adding them to their house.
Additional background would be nice. I clicked the link out of curiosity to see what it meant for a piece of furniture to resign from something. After clicking the link, I was no better informed.
That's pretty uncommon in the industry to wholesale only allow those with degrees. I've even seen people without degrees in defense and aerospace, probably the most hard ass niche concerning degrees.