skysight-inc/HackerNews huggingface dataset:
That one should be on the front page.
I recently wrote my first PAM module, using pam-rs[1] so i could do it in rust.

It was a learning experience, a rather enjoyable one though. While going down the rabbit hole, I feel even deeper when my module kept halting in openssh, due to a bug[2] from 2018.

I didn't really feel the pain of debugging the author had, most likely just because my application was simple enough to be tested via log statements though.

[1] https://github.com/anowell/pam-rs
[2] https://bugzilla.mindrot.org/show_bug.cgi?id=2876
My team just decided to use whatsapp in case of incidents, lmao
I absolutely agree-

I want there to be places for things, a fairly rigid system so I can depend on things being in their place, not having to constantly "try to understand what's happening now"
> However, while employed, have you tried to go out for an extended walk or do something else away from your computer, outside of the building you are required to work in?

I'm 2 decades into my career amongst multiple different employers in different industries (including traditional stuffy ones), and I've never had anyone even raise an eyebrow at people wandering off for a few hours unannounced

if you're billing the client by the minute then maybe I can see why they'd get upset, but otherwise, as long as you're delivering, who cares?
Is there even such a thing as lingua franca in any given field?
Many of the Rust "evangelists" thinks/behaves like Rust's guarantees are absolute and leads to absolutely unbreakable software by default, and advocate that the language is the silver bullet combining abilities of C, C++ (depending on application) without any of their downsides.

When you hit a limitation you really need to implement in Rust, they say "Hey, there's unsafe{}, use that". Also, they advocate that unsafe{} is equal to C/C++ in programming freedom, which is again not.

When they're reminded that reality is not like that, they get upset and defensive. This comment is a nice flag to remind this reality.

I congratulate Rust for being what it is, but it's not a silver bullet and it's not the next C or C++. It's just a very nice programming language for various applications.

Being all shiny-eyed doesn't work in CS or programming in general, and also hardware doesn't work like that (a deterministic, perfectly good behaving, spec-obeying magic box with some included smoke for higher performance).
Phones still work, right? For things that can't wait for Whatsapp to get back online, I would imagine a phone call would then be an option? Or open up a Jitsi Meet just for the time being and share the link through mail?

There's so many alternatives, I'm always surprised that a Whatsapp outage seems to mean the end of the world to many people.
Someone can't handle change so bad that they had to write a whole blog post about how upset they are at slightly different UI.

I've been on the internet for a long time and I've seen these kind of complaints in all kind of forms. Comments, forum posts, blog posts, video, podcast. Each time a UI gets updated, people start to write melodramatic pieces about how this ruins it forever and it's the point of no return for the platform.

I've heard it when facebook abandoned this UI (https://beta.techcrunch.com/wp-content/uploads/2011/02/fbpag...), when youtube changed this homepage (https://www.versionmuseum.com/images/websites/youtube-websit...) and so on. You get the point. When a UI change happens it feels strange, but in hindsight they were right to do it.

Designers are not fools, if they are working on a good team (like at Apple) they don't take decisions on a whim. They prototype, they do user testing, the validate ideas and scrap others considering many many many different factors. If you see a design decision, it has been carefully thought out from different perspectives. This assuming that there are actual design team with enough resources behind, which is Apple case.

Whatever criticism you have for any design, they have thought about it at least 10 months ago. They know about it and took a decision balancing other 100 aspects and considerations that you are not even aware about.
Well, it hasn't happened for quite a few years, but it was quite common years ago to get drive by ad malware on up to date systems even. It's the main reason I started turning off JavaScript, and later using ad blockers. I can't imagine it's impossible today.
I wish projects like Mitt, Seaboard and solutions allowing better contact with some medium will be more common, as well better ways of realising, not patenting them. I wonder about solutions for something like wearable DataHand, want mouse with two joysticks, keyboard with knobs and analog keys (cursors) and zooming interfaces - or such which you don't notice. Now I have Epomaker with electro-capacitive keys - becuse maybe I could adjust autorepeat rate by how much I press for few keys (AFAIK it could emit another key or few on pressing stronger or different on release, but not faster/slower depending on pressure yet) - nothing new at all, one special key for that on other keyboard is called pointing stick and I would like the feel some like it could have with idea like yours being a keyboard - and that, if as a key, for every of 4 directions you could clearly distinct pressing it inside and outside too (8*8 and meta).

https://prynth.github.io/instruments/mitt/
https://en.wikipedia.org/wiki/DataHand
http://www.ibmfiles.com/pages/scrollpoint.htm
Macs are pretty awful for actually building and running software nowadays - Apple seems hostile to OSS in general shipping broken ancient ssl libs, the huge downloads, icloud accounts, and xcode to get a working compiler. And it's pretty impossible to do anything without homebrew which has it's own bleeding edge of everything problems.

I'm much happier developing on a recent Ubuntu LTS and deploying to the same thing in the cloud - easier setup, more reliable, and KDE is good enough...
It's the user's fault, though.

If they don't understand the difference between copy pasting HTML with an image inside the tag soup (select with mouse a bunch of text and image and right click copy) and an image (hover image and right click "copy image") then there's not much anybody can do.

Do you want clippy in the browser "looks like you are trying to copy an image" ?
I don't develop on MacOS, but having a vm setup as the easy choice doesn't sound nice.
Seems so! I wonder who they are trying to run under the bus — MS, Intel, or their previous selves? They still sell a couple of Intel-based Macintoshes!
Or better: The data URI gets copied.
I have groups like that. If I open the app now, I can still see all their phone numbers, in case I really need to reach someone urgently.
>Perhaps the biggest sink on the economy and environment is perfomative work

I think nothing illustrates this better, than the productivity output of Japan vs other developed nations[0]. In Japan, there's a lot that you need to do at your job performatively: strict schedules, logging what you do have been doing in small intervals like 30 minutes, checking in and out formally, having to keep up with coworkers outside of work, tons of pressure and appearances, and long hours. And yet, productivity is not great.

[0] https://www.nippon.com/en/japan-data/h01196/
I downgraded from Win11 to Win10 for one reason alone: Win11 doesn't allow me to ungroup items on the start menu.

I feel like half the designers on Microsoft must be using MacOS as their daily driver, constantly messing with things that work, just to make it more Apple-y.
UPDATE: this is fixed now!
time to bust out the good old ham radio
Seems global outage:
https://www.cnbc.com/2022/10/25/whatsapp-is-down-globally.ht...

Each time this happens I try to recruit more people to use Signal.
Those posts are actually more substantive and less negative than they might seem from these blurbs.

It’s not that Linus is against Rust at all, just clearing up some disagreements.
This might be a GNU vs BSD thing. But even if dd doesn't need a block size, sometimes (at least in the past) the default block size is not optimal.
So what actually happened here is a long time ago, every model of phone had its own proprietary charger. This obviously produces a lot of E-waste. The EU stepped in and warned manufacturers to pick a standard or they would. Basically every brand standardized on micro-usb, and later on USB-C. Every big brand except apple. The EU is now simply making good on their threat.

Everyone is playing ball except apple. They aren't special. They aren't unique. They have to play by the rules like anyone else.
> commits every block individually

It uses a syscall per block write (which would slow it down if you use 512 byte blocks instead of 8M for example), but the OS does the file buffering and final writing to the device, unless you pass the fsync or fdatasync options to dd.

Edit:

here's writing to a old and slow stick and you can see that dd is fast and then the OS has to transfer the buffered data onto the stick:

dd if=some-2GB-data status=progress of=/dev/sdX bs=8M
1801256960 bytes (1,8 GB, 1,7 GiB) copied, 7 s, 257 MB/s

0+61631 records in
0+61631 records out
2019556352 bytes (2,0 GB, 1,9 GiB) copied, 378,59 s, 5,3 MB/s

And the stick is placed in a USB 3.2. port on a fast machine ;-0
Deck of cards? That does not sound like a roguelike at all to me. Maybe I'm a purist, but when I play a roguelike, I expect to be a @ fighting o-s in between walls of #s.
I've seen some Rust programs that look nice, but in the kernel, the code ends up making perl'ls propensity for line noise look competitive. I'm sure some of that is the need to shovel between languages, but it does make you wonder if the entire effort is a little misguided.

A full Rust kernel might be neat. A compromised Rust driver inside of a C kernel is never going to be the default choice.
Everything in Julia src-blocks please. Super comfy.
This article paints an overly gloomy picture because it is certainly possible to make plastic recycling work, like my city has already done.

It is of course always preferable to try to reduce waste than need to invest in recycling - that is a given. We can always dream big about everyone switching to reusable containers and other ways to reduce plastic waste on a grand scale. But to claim that plastic recycling does not work and can not be made to work (and by logical extension is therefore not worthwhile) is akin to ignoring the present problem while proposing a pie-in-the-sky solution.
Ask HN: Is anyone doing ML car tuning?
I watch lots of modified car videos and used to be into the scene properly 10 years ago. It occured to me that the process tuners go through is basically adjusting a few key variables and testing power output.

It seems like that could be something we could automate / adapt in real time without needing humans.
So essential - how often would I want the formatting in the obviously completely different context? I used to paste things into the URL bar to remove formatting. I've discovered a colleague does the same.
SAC for Physics and Applied Maths (2022)
> Miguel has been doing his work under contract with our Prossimo project, which was made possible with generous financial support from Google.

Does anyone know how much Google pays for this kind of stuff? And is it like a limited-in-time kind of contract or something similar?
Association of Video Gaming with Cognitive Performance Among Children
Gentoo.. the only reason I'd ever know or need to know that 'distcc' is a thing that exists.
Mavericks looks pretty much like the release preceding it?
For someone like me who has spent his entire professional life in academia, these numbers bring tears to my eyes. And not of joy.
Middle click (aka primary selection) is very similar, it's essentially the same interface with a new namespace:

https://wayland.app/protocols/primary-selection-unstable-v1
I found an additional item for earphones in Settings. Does this mean that we can now update the firmware of the AirPods and the Beats without using the iPhone?
being good at asking questions is definitely one of the most valuable skills any engineering leader needs to develop
TipTap mapped to ctrl+tab oh lordy
Right, all of which get patched every update as well. In theory chaining them together is doable, it’s just effort.
This is the time when people search for alternate messaging apps like Signal, Telegram :)
Totally forgot that I have installed both those apps and opened them today after more than a year.
Yikes, yeah. I wonder if this person is tech-savvy enough to check their machines for botnet nodes.
It's remarkable to me how we still don't have a security-minded clipboard implementation, seemingly on any OS. It's standard security practice now to use a password manager, but they all[1] exchange critically sensitive data with applications via the clipboard, which is accessible by any application that asks for it. The best we can do is automatically clear the clipboard after a certain time, but this still leaves a wide window for any application to grab the contents. And if you're using a clipboard manager, the standard on Linux DEs, then you have to remember to clear it from there afterwards as well, and suddenly your clipboard manager is a very attractive honey pot.

We need a secure channel for password managers to pass credentials to applications that a) doesn't use the system clipboard, and b) doesn't simulate the keyboard to type into the password field. All modern OSs fail in this regard, AFAICT.

[1]: Except the ones that function as a browser extension and are used for logging into websites. But using something as critical as a password manager from a browser extension might be an even worse security practice than using the clipboard.
Points from the flip side:

- the Linux project is very likely to stick to simple, fast elements of Rust (based on the excellent approach of the Linux/Rust devs thus far)

- the more Rust is used, the more work will be done to improve its performance

- you can still build a kernel on a low-powered device... i've built kernels that took > 12 hours on, for example, PA-RISC boxes that were once regarded as beefy :-)

- most people don't (and shouldn't) compile their kernel, and by most I mean more than 99%
https://news.ycombinator.com/item?id=33319367
Like the quote goes, a week of hard work can save you hours of deep thinking.

Better to figure out shit in IT before going in too deep and needing to redo the design. Especially databases!
Are they still using Erlang/ BEAM?
Rust compiler does all the Rust’s magic (where the borrow checker is the biggest part). This magic is really important and helpful, and it's better to do it during compilation, not in runtime (for huge performance benefits).
Please guys, there's a search function on the bottom of every single HN page !

Enough with the duplicate posts already.

https://news.ycombinator.com/item?id=33319367
I have software I wrote in an old zip file from ~2003. It runs fine on my computer nearly 20 years later. Games are very complex with optimizations specific from their time so they ran well. I wouldn’t expect old games to run, but often you can still get them to run if you’re determined enough to find the old dlls.
Right, but if everyone else starts doping and you're the only one who doesn't...
I haven't got around to re-writing it yet. Here's the version that used to work in Monterey: https://gist.github.com/perryizgr8/d3fdb67f0c0884ecd713ddd41...
Nim is also memory safe and the compilation is really fast.
Typical case of degraded mode of operation, I presume. That’s how well engineered systems should behave when they’re about to go down.

My guess is that this particular outage was caused due to a scaling constraint somewhere in the stack.
gccrs is entering the scene with GCC-13. We'll see how it turns out.
It'll become part of the GCC toolchain, so everything can use the same pipe.
yeah, but people just can't be bothered to check if maybe the big thing that happened in the last 30 minutes could possibly have been submitted already before posting submission number 10 about it, so that's what happens.
> Whatever criticism you have for any design, they have thought about it at least 10 months ago. They know about it and took a decision balancing other 100 aspects and considerations that you are not even aware about.

Still -- megacorps can and do screw things (like design) up. Regularly. I can't imagine that the best way of exporting a web page as a PDF should be 'long tap on the Print button'.
Has Cyber Security Changed the Face of Geopolitics?
Window management gurus, is there alternatives to mission control? I’d love something that doesn’t waste space and is faster than default.
I think the key is being able to genuinely relax from focusing on the problem to help your thinking. To allow an opportunity for those competing thoughts that aren't making it to your awareness because they are beaten by whatever train of thought you are stuck on. Little rituals like taking a shower (or sitting on the toilet is a popular one) distract you so you can relax. Or they should. If it isn't working for you maybe you are too good as staying focused and aren't getting the benefit from relaxing. Thinking about work while walking would defeat the purpose.
Libre Tools from the National Cybersecurity Competence Center of Luxembourg
Confirmed in Italy
Is this not just another centralized point of failure?
Simple:

Quotes
1: 30 Put Yourself First Quotes
(https://www.wow4u.com/putyourselffirstquotes.html)

Video
2: Up in the Air (3/9) Movie CLIP - How Much Did They Pay You to Give Up on Your Dreams? (2009) HD
(https://www.youtube.com/watch?v=TkX-TPaodoM)

Music
3: Without Me · Halsey
(https://www.youtube.com/watch?v=Tk7WFyHUr1E)

Contact me through linkedin if you need more inspiration.
Check out CKEditor 5, with media embed and Markdown support :)

https://ckeditor.com/docs/ckeditor5/latest/features/media-em...
Though for Twitter previews you might need to use services like Iframely but there is a ready-to-use integration guide: https://iframely.com/docs/ckeditor

As for Markdown, you can switch the default CKEditor 5 output from HTML to Markdown: https://ckeditor.com/docs/ckeditor5/latest/features/markdown...
And Markdown input is provided by a customizable autoformatting feature. It's enabled by default in all CKEditor 5 builds.
Drag-and-drop works pretty nicely with most password managers, avoiding the clipboard (in Windows at least).

In Android, it's a case of using a password manager with a built-in keyboard, and having a button available to switch keyboards quickly.
Complete our form and we provide you over 40.000 qualified e-commerce leads per month for your SaaS, Shopify APP, Consulting business, Agency or Freelance business.
What if the position is not at 512 but at 512G?
This is excellent start of a debate, spot on on all points.
Tap to click is an abomination. I have no love left for Apple, but their trackpads are orders of magnitude better than anyone else's in the industry.

Have you tried using the trackpad at its default settings? They actually make a ton of sense.
Doesn't solve sloppy programming practices.

Being programmed in C or Rust is a non discussion. Using both in the same kernel source complicates code unnecessarily.
Been there for a long while, and worked through self-hosting with a lot of cooperative efforts. What some may not like, or what I don't, recommended by others, was and is - in the end - upon my decision to implement. All in all - starting from their wiki is a far better choice than the original HN article.
I installed Steam on my work computer and I play a bit of something that’s fun but also engages my engineering brain when I need a break from work but want to keep flow state going somewhat, like a city builder.
I've had this happen back in on a modular 1100 watt psu on my 8800 Ultra..
The system was unstable at high graphics load, and it took me a long time to find the fault, the PCI-E power connector was high-resistance at the PSU end, the connector was totally melted when I found it, the instability was due to the gfx card browning out from insufficient power supply due to the high connector resistance.
> The amount of notifications/nags/etc. on a modern Mac/Windows computer is absolutely mind-boggling

Really? Only notifications I get on my Mac right now are from few programs that I have allowed, mainly for messages and e-mail. That's it. On Windows there are more, but MacOS leaves me alone pretty much most of the time. Perhaps it was different in 2013, but it's not definitely "mind-boggling amount of notifications".
You need the right OS underneath. Ideally something based on persistent objects like OS/400 and with the networking aspect of Plan9 so that local and remote resources can be treated the same.

The GUI would need a similarly smart approach and given an OO persistance layer I'd say that applications would just be objects that composed other objects - the document object would be your wordprocessor and it would be good at arranging and presenting other types of objects into 2d representations at A4 size.

The web browser would presumably just be a superset of the document object or might not even be needed at all as a web page is just another kind of document.

You'd still need a "fresh sheet of paper" concept but also a history so you could go back and search for what you were looking at/working on previously. Also different contexts - like all the stuff you need for one bit of work and another context for some other kind or play/work. I don't think windows are the worst way of doing this and I'm certain that you'll end up wanting to look at different things side by side or whatever and that will become windows by another name but there might be subtle improvements.
> I want to copy an image from a webpage into an email... And then the paste fails because the email client tries to download the image.

Personally I haven't had this problem: just like the article says, the browser ‘copies’ image data with a correct mime-type, and the other app pastes the image if it knows about that mime-type. This is on MacOS, with Firefox.

(Though, again personally, I now usually scale the image and convert to webp before sending in a chat—I don't do much email. This way I'm avoiding 4K 4MB pics. I'm probably gonna make me a browser extension to do this automatically.)

You're right however that drag-n-drop doesn't work so smoothly yet.
Last week, KakaoTalk (the main messenger used in Korea) was down FOR A WHOLE DAY because of a fire in their (1!) data center. Let's see how long it takes WhatsApp to get back online.
What annoys me about using Apple products recently is the glitches.
When I scroll up to find very old messages on my iPhone, it randomly snaps back to the most recent message. Trying to edit text on a touchscreen is also still a nightmare in 2022.
My brand new MacBook randomly crashed and turned itself off the day I bought it.
It wouldn't bother me if the products weren't literally the most expensive things I own aside from my house.
CSS Animated Grid Layouts
> > BetterTouchTool

> Physical function keys are a must-have for every mac imo

While it wasn't the case for a while, they all do now.
Good point. Hard to know who to trust, when it comes to olive oil, with so many scams, fakes, and contamination.
What I didn’t understand is why they plan to buy another Mac if they find Macs frustrating.
A$150k sounds fairly decent against USD but upon currency exchange, it is $94k. Accounting for the high cost of living in places like Sydney etc, it ain't that much
Except every update you have to pray your setup doesn't break. And then spend lots of time fixing stuff.
I want to repeat this test myself after upgrading, but it seems strange to compare a browser against another on different operating systems (Safari on M2 MacOS vs Firefox on i7 Windows) rather than simply 2 different browsers on the same machine.

The only reason I can think of is that Firefox and Chrome haven’t yet been optimised for Ventura.

edit: The dedicated Safari page (https://www.apple.com/safari/) has more comparisons, including different web browsers on the same machine as well as Mac vs Windows.