skysight-inc/HackerNews huggingface dataset:
First, for every IDE experience you definitely need flycheck mode:

(use-package flycheck
:diminish flycheck-mode
:init
(global-flycheck-mode))

This will underline syntax errors for you. (It'll use the language server as a backend once lsp-mode runs.)

Next we install and set up "company-mode" for simple autocompletion. Basically, it starts the (minor) company mode after starting "lsp-mode", sets up key bindings and reduces the delay to zero:

(use-package company
:after lsp-mode
:hook (lsp-mode . company-mode)
:bind
(:map company-active-map
("<tab>" . company-complete-selection))
(:map lsp-mode-map
("<tab>" . company-indent-or-complete-common))
:custom
(company-minimum-prefix-length 1)
(company-idle-delay 0.0))

This stuff is for basic JSX/TSX support you'll need to work on React projects. "web-mode" is old-school but it still works for me quite well. Since Emacs 29 you can use "typescript-ts-mode" instead but I haven't tried it out yet:

(use-package web-mode
:config
;; plain HTML may also contain JS
(add-to-list 'auto-mode-alist '("\\.html?\\'" . web-mode))
;; JSX
(add-to-list 'auto-mode-alist '("\\.jsx\\'" . web-mode))
; TSX
(add-to-list 'auto-mode-alist '("\\.tsx\\'" . web-mode))
;; web-mode overrides these key strokes with "link" and "reload"
;; which I *never* needed. But I love compile mode:
:bind (:map web-mode-map
("C-c C-l" . 'compile)
("C-c C-r" . 'recompile)))

The next stuff is for setting up lsp mode integrating the various language modes and company mode in a single user experience:

(defun gernoti/lsp-mode-setup ()
"Gernot's Emacs: My personal modifications to lsp mode."
(setq lsp-headerline-breadcrumb-segments '(path-up-to-project file symbols))
(lsp-headerline-breadcrumb-mode)
(lsp-treemacs-sync-mode 1))

;; I am still using "web-mode" for react projects. The function
;; activates lsp mode only if the file actually contains
;; javascript/typescript (IIRC it'll also work for TSX):
(defun gernoti/lsp-deferred-maybe-jsx ()
(if (string= web-mode-content-type "jsx")
(lsp-deferred)))

(use-package lsp-mode
:commands (lsp lsp-deferred)
:hook
(lsp-mode . gernoti/lsp-mode-setup)
(js-mode . lsp-deferred)
(typescript-mode . lsp-deferred)
;; We only turn lsp-mode on if web-mode runs in JSX or TSX mode.
(web-mode . gernoti/lsp-deferred-maybe-jsx)
:init
(setq lsp-keymap-prefix "C-c l") ;; Or 'C-l', 's-l'
:config
;; You want this if you want to discover all lsp mode's goodies.
;; Though I found I actually don't use many features, really.
(lsp-enable-which-key-integration t))

At first startup it'll download and run the default js/ts language server. It seems to be working well for me.

You definitely want the "lsp-ui" extensions for jumping around in definitions, too:

(use-package lsp-ui
:after lsp-mode
:hook (lsp-mode . lsp-ui-mode)
:custom
(lsp-ui-doc-position 'bottom)
;; remap "M-." and "M-?" to point to the nice looking lsp-ui
;; replacements
:config
(define-key lsp-ui-mode-map [remap xref-find-definitions] #'lsp-ui-peek-find-definitions)
(define-key lsp-ui-mode-map [remap xref-find-references] #'lsp-ui-peek-find-references))
I'm using Borg to back up to rysnc.net.

Borg spilts your files up into chunks, encrypts them and dedupes them client-side and then syncs them with the server. Because of the deduping, versioning is cheap and you can configure how many daily, weekly, monthly, &c. copies to keep. For example you could keep 7 day's worth of copies, 6 monthly copies and 10 yearly copies.

Rysnc.net have special pricing for customers using Borg/Restic:

https://www.rsync.net/products/borg.html

https://www.rsync.net/products/restic.html
If you're on Windows or Linux yourself, why not contact them and ask / offer to be a tester? It might be as simple as they haven't gotten around to it, they don't have demand, or they don't have a device to test it themselves.
That might be a bad example. I'd trust ZFS and the CDDL before NVIDIA any day. At least the CDDL is designed with the intention of being open attemps to work with other licenses. NVIDIA seems hellbent on working around the GPL.
Three epochs means it sees each token three times. The dataset is ~1T like you said.
xkcd 2^11 https://xkcd.com/2048/
Scapegoating
Show HN: Simple passwordless authentication for your website
Solo founder here - built a passwordless authentication service after getting frustrated with the very high pricing and lack of customizability, easy passwordless authentication on existing solutions. Check it out here and let me know what you think!
I'd like to add that the previous discussion was here, https://news.ycombinator.com/item?id=31762245.

However, since then we've migrated our engineering blog from medium to a self-hosted stack, so HN doesn't link it to the previous discussion automatically.
Dataset should be enough I think. Not zpool.

Hard to be sure without knowing what that script does.
> where ก/พ are g/p instead of k/ph

I'll die on this hill but ก as g is clearly a more accurate than k. Like, you wouldn't pronounce ไก่ as "kai" (ไข่/ไหค่/etc) it's so much more clear to say "gai(lowtone)".

Point being that even the official romanization sucks.
I'm starting to get the FOMO after buying an ROG Ally. The Legion Go is quite a heavy boy though at over 800g
One might argue that when viewed, there is current draw, and that additional channels typically means more viewing.

But I was thinking of overall service theft, and did not think of the filter. That case is different.

This makes me think, though. I lived through this time, and adding the filter makes zero logistic sense. EG, why have anyone, who isn't paying, even connected?

Then I remembered something.

I lived in a house, where there was a shared box for 2 units. Someone had pried open the box, and removed the filters. As a result, the cable guy disconnected the wire at the pole.

This resulted in something different. Instead of a cutoff, most channels came through, just very fuzzy. And as a kid, I lived in a rural area, and we owned an antenna booster/amp, which had made signals poorer than this, crystal clear.

It seemed that leaving an uncapped end inside a box on the pole, with loads of signal, bled enough for a usable signal to get through.

So this is probably why a filter was placed. And of course, to prevent the long wire from picking up local over the air stuff too.

Ah well.
I wrote so many compilers and interpreters in my life, simply because I cannot stand the long compile times and waiting while developing. Only single pass to make it as fast as possible, foregoing many optimisations (I don’t need them during dev); I wrote them for parts (so basically dsls which are compatible with the original compiler of the respective language) of c++, Java, c#, typescript etc. It gave us a competitive advantage as others were waiting for builds. Then I went back to Lisp (sbcl) and found it to be perfect; instant feedback, high performance, trivial to make dsls.
HN headline is quite different than the actual article, which is "Microsoft admits slim staff and broken automation contributed to Azure outage". The headline as submitted is quite focused on the manager vs employee conflict that is so in vogue on HN at the moment, while in the actual headline (and the rest of the article) Microsoft acknowledges they've put too few people on that shift and have already taken mitigations. Mitigations both to increase the team size and improve the automation that supports them btw.
For FPS games you wouldn't
Just from personal experience among my friends and acquaintances - and anyone I meet who I chance to talk about guns with - there is a very strong self-reinforcing culture of safe handling and responsibility. People will come down incredibly hard on anyone who seems inept or who they even hear speaking about some kind of irresponsible behavior. Now, I'd say about half of these are ex-military people, but they set a standard and keep other people in line. Of course, perfect discipline isn't maintained in this country. But it's actually one of the few areas where pretty much everyone knows they must act like a responsible adult. People are well aware that it's their life or their freedom are stake if they mess up. I know guys who get drunk as skunks and get in bar fights, but who would never carry their gun when they go out drinking, or anywhere besides the woods.
Taking a moment to recognise the 54 minute audio recording attached to this article. Very useful, and well read, way to consume the content!
You should try it. Starfield is the best Bethesda since New Vegas at least, for the story, and since morrowind for the liberty,imho.
Some stalker managed to doxx a Japanese singer based off of reflections in her eyes on a selfie and identify which house and floor she lived in by minute details in the background of photos and videos [1].

Absolutely wild.

[1] https://www.bbc.com/news/world-asia-50000234
Nvidia Linux Open GPU Kernel Module
A good story, the only interest was in the hack.

A lot of older sci-fi books, eg Heinlein, had hacker types discovering some highly profitable thing, but being uninterested except it was fun to figure out. This was often to the mystification of "normal" people, who would plead for them to work the idea into profit.

Often they were tricked into making the process profitable, by being told how impossible it was.

I responded in more ontopic detail in another comment.
Qualcomm has a list of all Windows laptops (I guess Chromebooks should work too?):

https://www.qualcomm.com/products/mobile/snapdragon/pcs-and-...

Though their latest CPU seems to be Snapdragon 8cx Gen 3? And it hasn't ben updated for 1.5+ years. It seems to perform at around 60-70% of M1 which I guess is not that terrible.

But I'm not sure their battery life is really that exceptional? The ThinkPad X13s doesn't seem to last that much longer than laptops with low-power AMD CPUs (which are both much faster and should have way less driver and software issues, e.g. even laptops with something as old as 5700U supposedly have comparable battery life according to some benchmarks)
> Only now there is more people who start saying clearly that the war is not going to stop, it is going to last number of years, and impratant bit, Ukraine is going to be completely destroyed in the process. And what Ukrainian people are going to get in return? EU membership? Western valus? Freedom?

Are these things not worth fighting for?. If you don't fight for your freedom then what would you fight for?.
Doesn't that still require the closed source user space driver to function? I'd love to be wrong on that one.
I don't want to be "that guy" but the Scribblewithai site flipped around so much I eventually gave up on its weird loading sequence, and expected entirely the worst. I have no idea what it was supposed to be even after it finally appeared.

Maybe my network had a slow moment. I don't know. But there was way too much flickering about for my taste. It came across as a whole lot of ads (that apparently were the content since they were all about garlic!) that took up too much space on the screen, and I never actually found the part where scribbling comes into play. Way too much scrolling, too.

You definitely need a co-pilot to turn this into something. You can't just ask AI to output stuff, and expect it to be good. This whole layout is super slow compared to the normal way people search for things.
The counter words are a pain…
> All you need to do is look at where people want to go to university

Thats not what they are doing. They are asking people that have already been to university to name 15 universities that they consider good universities. They dont have to have attended them, they dont even rank them 1-15, they just name 15. Im assuming you can see the flaw with that model - a university that EVERYONE considers 15th would rank higher than one that 99% thought was the best and 1% didnt mention.

They also have rankings based on other metrics. And even in those where the metrics are still weighted 50% with the reputation survey the US is often not even in the top 10. I think you can draw your own conclusions there.

Go and verify for yourself if you dont believe me: https://www.timeshighereducation.com/world-university-rankin...

EDIT: downvotes for facts? I guess you didn't like the conclusion after all :)
Ha! Maybe not, at the scale of the US it might well be intractable. That said, the Netherlands made such a transition over the 80’s and 90’s so it is possible to some degree. You do need a population willing to undergo the transition though. And it’s not something that’s done overnight of course.

I just found it somewhat ironic that instead of considering alternatives, people would rather hold out for self driving cars, which may never happen, to reduce time wasted in driving.
It's a lifelong issue. You can improve but it will never be easy. You don't go to the gym once and say "Ok, I'm fit now!" and it's the same with ADHD.

Are the distractions internal (thoughts) or external (notifications, other people etc)? Try your best to remove or limit external distractions.

For internal distractions, try to notice what is triggering them. This is much harder than it sounds as internal distractions are often based on patterns of thought that we've had for years. The first step is simply noticing and naming the distraction. Example: "I open up my email client. I see 20 unread emails. I feel overwhelmed. I switch tabs to a news website to take my mind off the feeling of being overwhelmed."

Once you can name these feelings you can practice spending more time with them. Instead of following the distraction, take a few deep breaths. Notice what happens to your aversive feelings. Do they get stronger? Weaker? Stay the same? Just like someone working out, feeling the burn and continuing the exercise, you can have these negative feelings and still do the task.

When you've finally got the hang of noticing the feeling and pausing to acknowledge it you can finally start the task. Focus on starting it not finishing it. Small chunks, acknowledging progress and managing your emotional state are the name of the game.
Just FYI, the apostrophe would go before 50 in that a la '50s rather than as a possessive.
Meaning that it's a necessity to have them due to the system, not that they like it.

Systemic issues usually create these dissonances, go read about it to become a bit less dull.
Acting as judge, jury and executioner while eating in a diner.
I'm still sad that my favorite pad thai (-selling restaurant) vanished overnight. They definitely vary a lot, and I also avoid it somewhat for that reason, but when you find one that fits all your requirements it's great.
Actually, the inventors of the technology including Hinton and Bengio along with all the heads of the leading tech labs think this is not only not crazy but plausible and imminent. I am talking about Hassabis and CEO of Anthropic and Ilya Sutskever. Not to mention other inferior humans like Hawking. Read on please. It's your kids future.
I read it in the context of management stating that they’re understaffed. Different worldviews and perspectives I suppose.
You joke but there's a whole branch of fake science built on this: https://quackwatch.org/related/electro/
Americans take pride in having them, but being properly trained in safely handling or effectively using them is optional. Try and force it and you’ll get the tyranny talk.

Sadly I’ve heard many stories of cable/dish techs dealing with this nonsense.
I don't really know how to describe it - it just "feels" better. Which isn't very objective I know, but is important for an app that I spend several hours a day in.

There's some visual stuff:
The default views, font choices and colours are really nicely put together (and I've tried tweaking VSCode to match but I can't get it to look as nice). For example, when viewing a git diff, it displays sweeping curves, which move and bend as you scroll, connecting the changes on both sides.

There's some Panic stuff:
I like the integration with Transmit (which I use all the time). And I used to use the "publish" function all the time (develop on macOS and push to a Linux box to run tests etc).

And there's the fact that it's a native Mac app - I'm an old-school Mac user and there's a definite difference in "feel" between Mac apps and others. I'm not a purist about it (I have tons of Electron stuff installed), but when I use a Mac app I notice it. Plus I often get VSCode randomly slowing down to a crawl causing lots of annoying type-ahead, which doesn't happen with Nova - which I guess is a combination of Electron, JS and extensions combining.

But Panic has a reputation for sweating the details and it shows throughout the UI. Plus I feel good supporting a tiny company working in a niche market.

But functionality-wise it falls way short of VSCode - especially with extensions and dev-containers. The way VSCode + Remote Docker Containers feels like you're developing locally when actually everything is happening in a container on a Linux box somewhere halfway across the world is quite amazing.
>Why would I want to find out the total runtime of all videos in a directory?

You wanna know how long will it take you to finish that lecture playlist you just downloaded. You're a teacher and want to show some videos but you're limited in time. You want to know how many hours of music you've got.
Every time that medical staff is assaulted in Portugal, specially when the code word "family" is used, we already know it was done by a Gypsy group or family who couldn't be bothered to wait in queue to be looked at.

The other "low income, uneducated people" never do such things, always the same group.
On the other hand, the fact almost anyone can buy a PC that runs almost any program is the result of blatant copying of IBM's machines. Even Apple caved and started selling PCs, because it turned out a unified platform has many advantages that isolated architectures don't have.

We're still stuck with the "everybody has their own designs and specifications" problem on (ARM) phones and tablets and it's affecting both operating system choice and operating system maintainability in major ways.

I dread to think of a world where software written for HP computers wouldn't work on Dells, and where Lenovo's wouldn't be able to run Microsoft software. Developing software would just be needlessly expensive and annoying.
So the cost reduction that all these hyperscalers pledge doesn't come from huge volumes, but from saving on staff?

Just a rant ...
Other useful things about ZFS:

- get to know the difference between zpool-attach(8) and zpool-replace(8).

- this one will tell you where your space is used:

# zfs list -t all -o space
NAME AVAIL USED USEDSNAP USEDDS USEDREFRESERV USEDCHILD
(...)

- ZFS Boot Environments is the best feature to protect your OS before major changes/upgrades

--- this may be useful for a start: https://is.gd/BECTL

- this command will tell you all history about ZFS pool config and its changes:

# zpool history poolname
History for 'poolname':
2023-06-20.14:03:08 zpool create poolname ada0p1
2023-06-20.14:03:08 zpool set autotrim=on poolname
2023-06-20.14:03:08 zfs set atime=off poolname
2023-06-20.14:03:08 zfs set compression=zstd poolname
2023-06-20.14:03:08 zfs set recordsize=1m poolname
(...)

- the guide misses one important info:

--- you can create 3-way mirror - requires 3 disks and 2 may fail - still no data lost

--- you can create 4-way mirror - requires 4 disks and 3 may fail - still no data lost

--- you can create N-way mirror - requires N disks and N-1 may fail - still no data lost

(useful when data is most important and you do not have that many slots/disks)
Visualizing how GPT sees the world in text
In fact, crowd investing for returns is a thing in Germany.
this story reads a like an AI generated one.
We can see that in real life everyday when listening to the PhD's of Sand Building at the central banks.
It's the narrative because it's true. In 2009 the EU told mobile phone manufacturers to standardize on a common charging connector. Then the manufacturers announced they would standardize on micro-USB, and reached an agreement, or Memorandum of Understanding, with the EU[1][2]. This included Apple. Note that complying with an MoU is voluntary.

It turns out there was a loophole there, because the agreement didn't actually require a micro-USB port on the device. Apple complied by providing a USB-based charging block. This was against the spirit of the agreement, but it was allowed. Regulators were not happy.

The MoU expired. A new one was in the cards for USB-C that fixed the loophole, but Apple objected claiming it was too thick, and some other manufacturers said it might be too small. Despite this the industry kept using standardized connectors as they moved to USB-C, with one significant exception: Apple. To fix that in 2020 the process was started to introduce a law that would also force Apple to standardize, and that law is now arriving.

[1]: https://ec.europa.eu/commission/presscorner/detail/en/IP_09_...
[2]: https://ec.europa.eu/docsroom/documents/2417/attachments/1/t...
It is obviously the prison for an Elder One. The immense gravity is needed to keep them drowsy and not stirring too much.

Who need chains or tractor beams? A planet gravity is the perfect restraint one needs for these kinds of inmates. Low maintenance and high effectiveness. Let just hope they aren't getting any jailbreaking going on now that we have disturbed the quantum harmony of the prison by observing it...
I’d give this comment more upticks if I could. The hidden internal costs of the modern farm is the unit scale example for all our environmental problems. I’d add that many of these costs exist beyond the discount horizon and are therefore not factored into land-use decisions.
Abstracting! To my Canadian ears, it sounds quite strange, almost as if one used magical words to whisk it away.
What shortsightedness from Apple. By aiming to be the sole player in the market and charging exorbitant prices, they paved the way for the IBM PC where the market was wide open and the ecosystem thriving.

After the threats and harassing from Apple, all those manufacturers quickly started producing PC compatibles instead of Apple II compatibles, thereby reducing the Apple II market presence compared to the PC.

Classic case of greed at work.
The UK home secretary on bannning end-to-end encryption
i don't have a horse nor a car if that's where you're going to argue. i walk.
Of course there are issues and limitation. I am only 99% confident in my own country and culture (Romania). That's what we've learnt in school, that is what we know. There is also a strong German and French influence so those names I've heard as well. This is still just a one-man project.

I can warmly invite you to contribute to the github project. Feel free to open a PR. I value the knowledge of natives more than my own. I often time can only guess.

Thank you for your comment.
same category is French Guy Cooking (Alex)

Hacked his pyrolysis oven into a pizza oven (https://www.youtube.com/watch?v=FJjr9lmUhZE)
I get night terrors and sleep walk, so I'd likely end up dead of I had a weapon by my bedside.
> Most Americans only know pad thai, but pad gaprao is where it's at

until you discover nam tok
That's really cool, I'm curious if other people that speak in ASL or other signed languages are good at that in general? I feel like even if I was fluent in sign language I wouldn't necessarily be as descriptive but perhaps I'm wrong there.
I had the same experience for the same symptoms. The long and short of it was that I should stop leaning on my elbows on the desk, because that can damage the nerves that run across your elbow. Made a conscious effort to avoid doing that for a while and the damage fixes itself.

I hope you have the same problem I did, was an easy fix.