News for hackers. Stuff that matters.

sime2009

Re:Historical memory prices 1960-2026 on Sunday June 28, 2026 @05:09PM (#48711684)
aaah, the 90s price crash. Good times.
Re:Migrating to the EU on Monday March 23, 2026 @07:52AM (#47488184)
proton.me? That is in Switzerland, not the EU.
Seriously? We're going to complain about a couple megs in a text editor in the year 2025?
Re:A 10x Faster TypeScript on Tuesday March 11, 2025 @11:22AM (#43333363)
> we're undertaking this more as a port that maintains the existing behavior and critical optimizations we've built into the language. Idiomatic Go strongly resembles the existing coding patterns of the TypeScript codebase, which makes this porting effort much more tractable.

Cool. Can you tell us a bit more about the technical process of porting the TS code over to Go? Are you using any kind of automation or translation?

Personally, I've found Copilot to be surprisingly effective at translating Python code over to structurally similar Go code.

Re:Tesla sales in Europe down 45% in January on Tuesday February 25, 2025 @05:54AM (#43170342)
I'm in the Netherlands and the used market for Tesla has already dropped like a rock. It is flooded with cars from leasing companies who after 5 years now want to sell them on for deprecation and tax purposes.
From https://www.sgoc.de/pentium.html

    Q:  How many Pentium designers does it take to screw in a light
        bulb?
    A:  1.99904274017, but that's close enough for non-technical
        people.

    Q:  What do you get when you cross a Pentium PC with a  research
        grant?
    A:  A mad scientist.

    Q:  What's another name for the "Intel Inside" sticker they put 
        on Pentiums?
    A:  The warning label.

    Q:  What do you call a series of FDIV instructions on a Pentium?
    A:  Successive approximations.

    Q:  Complete the following word analogy:  Add is to Subtract as 
        Multiply is to:

                    1)  Divide
                    2)  ROUND
                    3)  RANDOM
                    4)  On a Pentium, all of the above
    A:  Number 4.

    Q:  Why didn't Intel call the Pentium the 586?
    A:  Because they added 486 and 100 on the first Pentium and got
        585.999983605.

    Q:  According to Intel, the Pentium conforms to the IEEE 
        standards 754 and 854 for floating point arithmetic. 
        If you fly in aircraft designed using a Pentium, what is the
        correct pronunciation of "IEEE"?
    A:  Aaaaaaaiiiiiiiiieeeeeeeeeeeee!

    TOP TEN NEW INTEL SLOGANS FOR THE PENTIUM
    -------------------------------------------

    9.9999973251   It's a FLAW, Dammit, not a Bug
    8.9999163362   It's Close Enough, We Say So
    7.9999414610   Nearly 300 Correct Opcodes
    6.9999831538   You Don't Need to Know What's Inside
    5.9999835137   Redefining the PC -- and Mathematics As Well
    4.9999999021   We Fixed It, Really
    3.9998245917   Division Considered Harmful - No Life-
                    Maintenance Devices Should Be Used With This
                    Processor
    2.9991523619   Why Do You Think They Call It *Floating* Point?
    1.9999103517   We're Looking for a Few Good Flaws

    And the 0.9999999998th Slogan Is...
                                    The Errata Inside
Re:Miqt: MIT-licensed Qt bindings for Go on Wednesday October 09, 2024 @05:40AM (#41786043)
I contribute to NodeGui, Qt on Nodejs. It doesn't try to emulate the C++ API by allowing subclassing. Instead it exposes most methods on QWidget classes/subclasses which process QEvent objects (and their subclasses) in the form of events which you can subscribe to as an application. You can listen to signals and also QEvent related traffic in much the same way. So, if you want to subclass a QWidget to do your own custom rendering/painting, you would create an instance of QWidget and then listen to/hook into, the incoming requests to repaint. Qt sees a normal QWidget instance, but you can customise it do act like the subclass you desire. This avoids any attempt to do a real C++ subclass at runtime. Internally, NodeGui subclasses almost every QWidget (and more) to hook into them to allow this. This works far better than you might expect and saves a ton of complexity.
Re:Miqt: MIT-licensed Qt bindings for Go on Wednesday October 09, 2024 @04:02AM (#41785568)
Is it possible to extend/subclass an existing QWidget and customise it?
Re:Partnership with News Corp on Wednesday May 22, 2024 @04:23PM (#40445973)
garbage in, garbage out
Re:EU tells Meta it can't paywall privacy on Friday April 19, 2024 @03:25AM (#40084223)
There is no company size threshold here. This is GDPR related. You and Gruber are both mixing up GDPR with the EU's Digital Markets Act. Digital Markets is the one which has a "gatekeeper" concept tied to company size and market power.
Re:Agile Is a Tainted Term on Saturday February 17, 2024 @07:11AM (#39408743)
That's right. It can't be pushed down from above. The team has to want to do this and take the power.

A manager can start work on this kind of culture shift without even saying the word "agile". They need to give their teams more trust and room to govern themselves. i.e. managers need to get out of the way. When a team is open to the idea of Agile or scrum, then the manager could ask the team if they would like training or coaching. But the ground has to be made fertile first.

Re:Agile Is a Tainted Term on Saturday February 17, 2024 @06:43AM (#39408581)
The rarely discussed cornerstone of Agile is trusting the team and letting them organise themselves. For most organisation this represents a huge internal change in power structure.

The Agile industrial complex can't really sell a message to their customers (i.e. managers) that the development teams should have the power and run themselves how they feel fit. This message amounts to "if this works, we can fire the managers". Not a popular message for managers.

So, instead of building on an agile foundation, companies just add some story points and funny sounding meetings on top of the old structure and nothing really changes. It is Agile cosplay.

Yes, it kind of is. But the whole article talks about the extremes but spends zero time describing what the desirable middle ground looks like.
Re:The failure of self-checkout technology on Thursday January 18, 2024 @02:21AM (#39038952)
23% did, just to be clear.
I prefer desktops because is something breaks I have a chance of working around it immediately (e.g. screen), and if not then I can have a replacement part sent to me in about 24 hours or less which I can install myself.
Re:LLMs and Programming in the first days of 2024 on Tuesday January 02, 2024 @10:05AM (#38842369)
I've found LLMs great for vague questions about functions and APIs whose details I've long forgotten. Recognising the right answer when it appears is often faster than digging through random results on google.
Re:Using Make – writing less Makefile on Tuesday December 26, 2023 @05:14PM (#38776670)
A similar tool is `task` https://taskfile.dev/ . It is quite capable and also a single executable. I've grown to quite like it.
Re:Waveterm on Sunday December 10, 2023 @05:29AM (#38590617)
TermKit was one of the inspirations for Extraterm ( https://extraterm.org/ ). It separates command output, allows for reuse of previous output, as well mixing content types.

The terminal VSCode has been picking up on these kinds of features lately. Now they can even "sticky" the previous command line at the top of the window when scrolling through long output.

It has taken a long time, but these ideas are slowing spreading around.

Re:Goodbye, Clean Code on Friday December 08, 2023 @03:58AM (#38566809)
Design patterns, for example, really should only be studied once you have quite a bit of experience with complex code bases under your belt. You need to have done battle with some nasty code problems in bigger code bases before you really understand the problems design patterns are trying to solve. Inexperienced developers can't be trusted to apply them because they don't have that judgement. It just looks like a shiny thing.
Re:Terminal Graphics Protocol on Friday December 08, 2023 @02:20AM (#38566282)
Synthetic images like generated graphs with fine lines and text (i.e. not photographs), need pixel perfect rendering otherwise they look terrible. This is likely to be a far more common and useful use case for images in a terminal than showing photos.
Re:Meta sued by privacy group over pay up or click OK model on Wednesday November 29, 2023 @10:29AM (#38460601)
https://gdpr.eu/fines/

For Facebook is would be either 2% of the firm’s worldwide annual revenue from the preceding financial year, or 4% of said revenue.

A bit bigger than a rounding error.

Re:Meta’s approach of ‘pay for your privacy’ is wrong on Monday November 20, 2023 @09:50AM (#38349065)
Where in the world is this?
Re:Meta’s approach of ‘pay for your privacy’ is wrong on Monday November 20, 2023 @09:47AM (#38349036)
It's really not that hard. Under GDPR you have a right to privacy, and companies can't demand you give it up as part of some kind of condition to gain access to their service.
Re:Cosmopolitan Third Edition on Thursday November 02, 2023 @05:38AM (#38111045)
Cosmopolitan is cool and I have some uses in mind for it that I wish to get to.

But what I don't understand is the use case for an exe which supports both running as an user app on normal operating systems and from the BIOS. For which application specifically does it makes sense to run it in both these very different contexts?

Of course MS asked for it. They created and sustain this situation where software needs to signed for it to easily run on the Windows platform. Who do you think put the signature checking code and root keys in Windows?? The code signing gnomes?? fairies??
"Look at it this way, why should a project like IM pay anyone for the privilege of enriching and adding value to the Windows platform?"
Who actually receives the money is not relevant to my core point.
Look at it this way, why should a project like IM pay MicroSoft for the privilege of enriching and adding value to the Windows platform?
Re:Scrollbars Are Becoming a Problem on Friday October 13, 2023 @02:38AM (#37867479)
> A scrollbar is not only a control, it's also an indicator.

Thank you! finally someone understands what a scrollbar is for. It primary job is to show the user that the document is bigger than the window, and secondly, to show which part of the document is visible. Letting the user scroll around is not the primary function!

I was genuinely surprised when Apple started hiding scrollbars by default in macOS. Their UI designers clearly don't have a clue what the basic UI controls really do.

umm.. wouldn't an agreement about where you work and when be the kind of thing you would have written down in your employment contract?

Older »