News for hackers. Stuff that matters.

eequah9L

Re:What the Fuck Happened to Nerds on Monday June 15, 2026 @09:23AM (#48540907)
Hm, on each interview since ever, every time the inevitable "where do you see yourself in X years" question popped up, I was like, I have no ambition of getting promoted to managers, if that's what you mean. I like coding. I want to keep coding. I can advise juniors if _that's_ what you mean. But I want to code.

And here I am. Coding is becoming management in front of my eyes.

Meh :-|

> Over the past few months, our former payment provider Nexi S.p.A. (“Nexi”) requested access to private data, which we understood to be specifically the usernames and passwords of our supporters.

I must be missing something, but why is there an expectation that clear text passwords would even be known?

Re:Jd – JSON Diff and Patch on Monday September 09, 2024 @10:35AM (#41488933)
I'm probably missing something obvious, but diff seems to be handling this just fine?

    # diff -u <(echo '[{"a": "b"}, {"c": "d"}, {"e": "f"}]' | jq) <(echo '[{"a": "b"}, {"e": "f"}]' | jq)
    --- /dev/fd/63 2024-09-09 16:31:23.376841575 +0200
    +++ /dev/fd/62 2024-09-09 16:31:23.376841575 +0200
    @@ -3,9 +3,6 @@
       "a": "b"
       },
       {
    -    "c": "d"
    -  },
    -  {
         "e": "f"
       }
     ]
Yeah. The design pattern sounds like there is one state, and it is shared. What STL has looks like, all instances look the same, hence only one state is possible. They are homonyms with slightly different etymologies.
Re:Entering text in the terminal is complicated on Monday July 08, 2024 @03:00PM (#40908292)
Yeah, I have my doubts about the claim. I forgot what I read way back when as an intro book, but I suspect it was more like a month in my case, if that. But I remember having been surprised at various points that there was an undo (C-_), and a clipboard (C-y to paste) including a history (M-y). So yeah, I guess it depends on the scope.

Maybe it's a hyperbole? Dunno, doesn't really read that way.

Re:Will we have a negative leap second? [pdf] on Monday June 03, 2024 @06:16AM (#40561145)
An option if it gets way off would be to just express it as TZ shift. Current rate seems to be about a second every two years, so we have some hundreds of years before we need to even shift by 15 minutes. An amount of divergence that I suspect would not really be even noticeable, especially as it develops over hundreds of years. The TZ code is used widely and regularly and systems tend to know how to handle it. Leap seconds are always a bit of an adventure from what I understand. (I'm not a sysadmin, so I don't know the details.)

Like -- I don't know, but is it actually important that the solar day is tied to "wall clock day" so snugly? So what if it's a couple minutes off...?

I think you meant "I don't doubt"? Because none of what you said sounds like a counterargument to what the parent said.
Re:Bossware is a big legal risk on Wednesday May 15, 2024 @06:14PM (#40373055)
Plug in a second mouse then?

The trick that I heard is to just place the mouse on a clock. The second hand jiggles the mouse every minute. Can be stashed away in a drawer or something. Never tried this though.

Re:Digital Forgeries Are Hard on Monday March 18, 2024 @05:58AM (#39742021)
OK, I suppose this could be arranged. The seal has to be over the whole of the "back side" of the envelope, where the flap is. Then put the address and the postage over that, and the post office stamps it.

What confused me was how you would achieve post office stamping over a seal that's on the wrong side of the envelope, where the flap is.

Re:Digital Forgeries Are Hard on Friday March 15, 2024 @08:31AM (#39714788)
You send the envelope unsealed, then seal & stamp it later.
Re:Python 3.13 Gets a JIT on Tuesday January 09, 2024 @11:22AM (#38927902)
I think they mean that a lot of runtime of any benchmark is going to be spent in the C bits of the standard library, and therefore not subject to the JIT. Only the glue code and the bookkeeping or whatnot that the benchmark introduces would be improved by the JIT. This reduces the impact that the JIT can make.
Re:Cog: Use Python in your source files to generate pieces of code on Wednesday December 13, 2023 @06:20AM (#38625727)
I used m4 to that effect to generate some set-like and map-like strongly-typed classes for a j2me project. Must have been 15 years ago.

For C and C++ in particular, X macros are another technique that can be used to generate boilerplate nicely. I use that quite a bit to this day, even in C++, where it's not needed as much due to templates.

Re:XCurl on Thursday November 30, 2023 @04:39AM (#38471549)
I think it is. The capitalization is like that because the project name is xCurl, with x. Maybe they should have called it eCurl?
Re:Psytrance Guide on Wednesday October 18, 2023 @10:16AM (#37929011)
FWIW even in my metal days I recognized that the kind of (mostly black) metal that I enjoyed was fairly close to some of my brother's techno that I happened liking. All those droning guitars, layers of synth and screeching vocals are, experience-wise, quite similar to a deep techno DJ set. A music to work to, rather than to analyze -- I guess that's the value I find in it.

Also, I don't listen to hardcore / horror core techno much, but I find it striking how the artists adopt the imagery and themes that I would traditionally associate with metal: horrors, monsters, final battles for future of humanity, etc.

Re:The Awk book’s 60-line version of Make on Monday September 11, 2023 @05:26AM (#37464772)
I'm with you on this, but is there a way to force input file to read in AWK? That would be a reason to choose the while loop over AWK's implicit iteration. In particular, overriding FILENAME in BEGIN does not do anything.
Re:Get a cable modem, go to jail (1999) on Tuesday September 05, 2023 @09:36AM (#37391463)
I think it's playing a similar argument as the GP with US-guns-per-Czech-person. OK, Czechia is a bigger part of Europe than Montana is of US, but it looks as if Montana was picked to show how the original argument is invalid.
Re:Why Write? on Thursday June 29, 2023 @10:35AM (#36520914)
I like how this applies to commit messages and patchset cover letters as well. You write the whys and wherefores to both explain to others what's going on, as well as to make sure you understand yourself. For sure that increases your audience, nobody cared about your fix before! And you need to narrate all this -- a patch that fixes an issue should read a little bit like a whodunnit. What the issue is, how to trigger it, what the impact is, how the patch fixes it.
I don't think it's anything "reasonable". Like, OK, there might be objective reasons why you need to clarify which technical term you mean by a word that has multiple meanings in your native language, and use (typically) English to clear it up.

But I think most of the time it's just seen as hip, interesting, an extra flavor (flavour?). I do this occasionally -- sprinkle a foreign phrase here and there in my native Czech when I see that it fits and the other party might get it. More if I'm drunk. Some of my friends do it as well, in some social settings a number of jokes could be foreign language references. On the other hand, some people find it infuriating, as you note.

Re:Donkey Kong Recreated Using 6,400 Post-it Notes (2007) on Monday April 17, 2023 @04:26AM (#35598106)
For me, all the image URL's end up in a slash. Open in new tab, cut the slash, the image loads.
Re:916 Days of Emacs on Thursday April 13, 2023 @04:30PM (#35561640)
Not an operating system, more like a desktop environment.
Re:Early Remote Work Impacts on Family Formation on Thursday March 30, 2023 @05:55AM (#35370281)
Plus kids are generally noisy, in a way that's optimized to get your attention as a grown-up. I had to move out to an external office. There were more reasons than just noise -- we were also expecting a second one, and this was a two-bedroom apartment, it wouldn't work one way or another. But noise and attention were what pushed me over the edge to start looking for a nearby office for rent. I can't imagine getting much done with a toddler in the corner of my eye, as another commenter here puts it. Though I suppose work substance matters, too. If you are in meetings all day, sure, I guess that could work.
Re:Use GNU Emacs on Friday March 03, 2023 @05:40AM (#35007942)
If you haven’t yet developed your Emacs muscle memory, consider taking a look at Evil. I switched about 7 years ago after well over a decade of using the default Emacs text editor. It was the right move. VIM IMHO just is a better editor. Emacs is the better everything else, but thanks to Evil, you can both eat this cake and have it, too.

For me, a good stepping stone to Evil was God mode. It strips away the need to mash modifier keys, but retains all the Emacs keyboard bindings. It gives you a glimpse of what using a modal editor is like, roughly, with a tiny cognitive effort investment.

Re:I want to lose every debate on Tuesday January 31, 2023 @08:48AM (#34594938)
All the team projects have that as an implicit element, don't they? In order to arrive at a solution, the team has to talk, divide labor, etc.
Re:9front “The Golden Age of Ballooning” Released on Tuesday November 01, 2022 @07:56AM (#33420014)
The number is randomly-generated BTW :)
Re:Emacs User Survey (2022) on Wednesday October 26, 2022 @03:37AM (#33340858)
D'oh! You are right, it's right there below the links.
Re:Emacs User Survey (2022) on Tuesday October 25, 2022 @11:18AM (#33331756)
Something seems broken. I took the survey, and when I look at the results, all I see is "missing":

    * Emacs Usage
    - Which of the following activities do you use Emacs for? :: missing
    - How many years have you been using Emacs for? :: missing
    - Which version(s) of Emacs do you use? :: missing
    - Which features keep you using Emacs? :: missing
    - Which operating system to you use Emacs on? :: missing
etc. etc. Did I just waste 5-15 minutes?
Re:AI-driven thermal cameras used to obtain passwords on Tuesday October 11, 2022 @07:56AM (#33162241)
From TFA:

  > 86% of passwords when thermal images are taken within 20 seconds, and 76% when within 30 seconds
I don't know how long you spend at the ATM, myself I suspect I would typically fit within the 20 second window.
Because the "kids these days" took over :)
Re:Show HN: I may have created a new type of puzzle on Sunday September 18, 2022 @03:55AM (#32885436)
Did you manage to? I couldn't choose the other one. (I forgot which one it was.) Even now on desktop it keeps picking up the dog and can't choose the rabbit.

Older »