HackerLangs
TopNewTrendsCommentsPastAskShowJobs

panzi

no profile record

comments

panzi
·7 ngày trước·discuss
I am interested in programming language topics and I certainly have heard of Odin and have seen a couple of interviews with Ginger Bill. Same with Zig, Rust, Jai, C++ etc. I haven't used much of these (only C++ and Rust out of these), though. But I find that stuff interesting.
panzi
·9 ngày trước·discuss
Yeah, back in the day I made myself one from screenshots of the in-game GUI of Chrono Trigger. It wasn't very good, but hey, it was mine!
panzi
·9 ngày trước·discuss
Even Linux DEs have it less now than they used to, but there are renewed efforts to bring a better universal theming engine to KDE at least.

It's more difficult now than it was back then for KDE I guess, because with Qt Widgets, QML, and Plasma you basically have three times as much to support in a theme/theming engine. And then back in the day better KDE themes also provided themes for Gtk, so that Gtk apps integrated nicely. How many concurrent Gtk versions are now used that you would all have to support? And sometimes (especially non-Qt programs) take some colors from the theme, but not others, breaking everything when you want to customize your theme (you get e.g. black text on black background). So I appreciate the renewed effort, but I'm not holding my breath.
panzi
·19 ngày trước·discuss
And then there is https://schema.org/ It's the item* attributes, e.g.: https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/... Also Dublin Core in <meta> tags. Why do they keep adding conflicting meta data formats to HTML!?!
panzi
·22 ngày trước·discuss
Python packages aren't quite so insane on transitive dependencies. The diff of package-lock.json can be novel length.
panzi
·27 ngày trước·discuss
or for anything
panzi
·30 ngày trước·discuss
I mean the animated graphics and some other hackery going on when you try to zoom. It thinks to detect a different scroll position and jumps to a different slide. Also means you can't convert it to a PDF or print it, if you want to (though I wouldn't want to do that).
panzi
·tháng trước·discuss
The animated graphics are fancy, but can anyone with a screen reader tell us how that "looks" to them? The graphics are all one SVG mixed together with different parts set to opacity: 0. The accessibility tree in Firefox gives you all the labels randomly mixed together. If that is how people with screen reader "see" it, its unusable.

Maybe make the graphic aria-hidden and add an empty tag with aria-description (or other kind of tag only screen readers see) describing the current graphic to each slide.
panzi
·tháng trước·discuss
While I'm not that against to such a web page (when viewing it on a monitor, not a phone) I'd say follow these points:

• Don't hijack any browser functionality. Scrolling shall scroll the document, the end.

• Don't scale something to the screen size, breaking zoom! Especially don't do it so that when zooming causes a different scroll position and then it all jumps to a different slide. WTF!

• Make it accessible!

If you want to make flashy graphics and animations make a game. That is not meant as to belittle games, I love games.
panzi
·tháng trước·discuss
It's the wrong way around. If we get AGI (or any well working AI) before we abandon capitalism it's going to be a huge disaster. A handful of even richer even more powerful very greedy people will have all the wealth and everyone else will have nothing. I mean, there was a WW3 in Star Trek, so maybe it was that path that humanity took in Star Trek anyway?
panzi
·tháng trước·discuss
We have the same saying in German: Operation erfolgreich, Patient tot.
panzi
·tháng trước·discuss
How many ships does Meta have?
panzi
·2 tháng trước·discuss
On one hand yes, sandbox everything. On the other the extensions still can change your code which you then run. Though you might only run it in a container at first.

I heared zed sandboxes extensions. I should have a look at that editor some day.
panzi
·2 tháng trước·discuss
I googled a bit and found this snippet:

            <plugin>
                <artifactId>exec-maven-plugin</artifactId>
                <version>3.5.1</version>
                <groupId>org.codehaus.mojo</groupId>
                <executions>
                    <execution>
                        <id>Generate-shared-lib</id>
                        <phase>package</phase>
                        <goals>
                            <goal>exec</goal>
                        </goals>
                        <configuration>
                            <executable>bash</executable>
                            <arguments>
                                <argument>generate-lib.sh</argument>
                            </arguments>
                            <environmentVariables>
                                <JAVA_HOME>${env.JAVA_HOME}</JAVA_HOME>
                            </environmentVariables>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
At least with certain plug-ins Maven will execute arbitrary commands at build time. And if you need that to build native bindings it feels like a big hole. Granted, most projects don't need JNI, I guess.
panzi
·2 tháng trước·discuss
Wasn't it more like this?

    <style>
    @keyframes blink {
        0% { visibility: visible; }
        50% { visibility: hidden; }
        100% { visibility: visible; }
    }
    
    blink { animation: blink 0.7s steps(1, end) infinite; }
    </style>

    <blink>This guy blinks.</blink>
panzi
·2 tháng trước·discuss
Plus the lock file doesn't just contain the exact versions, it contains hashes. Making sure that you actually got the package in the exact same version.
panzi
·2 tháng trước·discuss
How does Maven handle JNI? Is it also a build system for C/C++, or do packages with native bindings require manual build steps?
panzi
·2 tháng trước·discuss
Last I checked npm had 2FA for publishing, but cargo didn't. I don't think cargo is any better than npm, just not that of an attractive target.
panzi
·2 tháng trước·discuss
A good part of it is already implemented in web crypto, which is supported by browsers and node. There is a chance that npm could implement something there without extra dependencies. Maybe I'm too optimistic?
panzi
·2 tháng trước·discuss
Does Debian 12 have this patched? But I guess I'm not affected if I don't use `rewrite` or `set` anywhere?