HN user

reacweb

2,176 karma

I love perl, but I am strongly convinced that strong typing is mandatory for code maintainability. e70838@gmail.com

Posts8
Comments908
View on HN

Works perfectly fine with firefox snap ubuntu 152.0.4. I can select mic from one web cam and image from another. Is there somewhere a technical description of how they have used API to implement this ? Open sources ?

My first job in 1994 was using RDB, very soon updated to RDB-Oracle 6 that was very compliant with my book about sql 92. I learned SQL during my studies, so my queries based on joins naturally performed well, unlike the nested SELECT statements in the legacy code. I learned to tune performances. After that, I've encountered Oracle with its share of non-standard syntax and behavior. Now, when I build a backend (flask or fastapi), my CLAUDE.md contains "use sqlite without sqlalchemy" so that I can understand how data is accessed and check that there is no hidden query inside a loop. When the SQL queries generated by AI become unreadable, it’s a sign that the system is no longer functioning properly. In my view, SQL is a good way to maintain control over an application that is largely generated by AI.

I think the current intellectual property system is flawed. Books are knowledge, and we shouldn't be able to limit the spread of knowledge. I imagine that books could be sold at the cost of printing, and there could be a QR code inside so that readers could freely donate money to the author if they enjoyed the book. Strangely enough, I imagine that with such a system, authors would be better paid.

Ubuntu 26.04 3 months ago

IMHO, Ubuntu is trying to gain market share by targeting non-experts — making Linux simple enough for normies and casual users. Casual users are generally less likely to mess things up on Ubuntu than on Windows.

Ubuntu 26.04 3 months ago

I think power users are not the main target of Ubuntu.

I have put my parents on Ubuntu (gnome) in 2013 to replace windows XP. My mother is 88 now. I think it is the perfect fit for her (dad is dead years ago).

I use ubuntu gnome because tweaking my computer is not where I want to spend my time. YOLO. Using a "mainstream" desktop that can be explained to "non specialist" has its benefits. I accept to suffer some annoyances and there is always a way to fix the most annoying ones by sacrificing time.

I was student between 1990 and 1993 and Ada was the main language. Compilation speed was not an issue. I remember that Eiffel was very slow to compile, but not Ada. Between 1994 and 1999, I have worked with Ada on Vax machines. The full recompilation took 2 hours because the machine was slow, not because of the language. Other languages were similarly slow (pascal, C). C was slow because of the lack of precompiled headers (many headers had to be parsed many times). With Ada (alsys ada), there were "libraries" that were black boxes directories containing object code and already parsed package specifications. Between 1999 and 2002, I have handled projects in Ada, C++ and Java. C++ was slightly slower than Ada (slow link). Java was a lots faster. Nowadays, Ada compilation is faster than C++.

Yes, before https://en.wikipedia.org/wiki/Eternal_September

At that time, there was almost no spam because we could report them to abuse@domain...

There was no firewall in front of our campus and we were using rlogin to connect outside. I used export DISPLAY from Brest to Paris (to use xdvi that was not installed locally).

IMO, the security (ssh and killing rlogin) is the main change that is a really useful progress.

make 2>&1 | tee m.log is in my muscle memory, like adding a & at the end of a command to launch a job, or ctrl+z bg when I forget it, or tar cfz (without the minus so that the order is not important). Without this terseness, people would build myriads of personal alias.

This redirection relies on foundational concepts (file descriptors, stdin 0, stdout 1, stderr 2) that need to be well understood when using unix. IMO, this helps to build insight and intuitiveness. A pipe is not magic, it is just a simple operation on file descriptors. Complexity exists (buffering, zombies), but not there.

RFC 3339 vs. ISO 8601 11 months ago

I am french. Everydays, we use DD/MM/YYYY or DD/MM/YY. Sometimes, I encounter YYYY-MM-DD, for example at the beginning of a document reference or in a file name. For me, it feels natural and I have no issue to make this switch mentally. The only problem I encounter is in english: MM/DD/YYYY. Hopefully less and less people are using this insane order.

My original Palm IIIx 11 months ago

It is just a cheap chinese usb/serial adaptor used to plug the original serial cable of the dock. Nothing special.

My original Palm IIIx 11 months ago

I still have my palm IIIxe I have used it to write my games during Go tournaments. I have a usb/serial adaptor. The software was easy to install on linux. Just to write this comment, I have tried to use it (I have not done any tournament since 7 years), but I got an error when I enter "apt-get install pilot-link". I still have my notes on how to use it:

    https://github.com/jichu4n/pilot-link/blob/master/doc/README.usb
    https://web.archive.org/web/20160226115446/http://www.pilot-link.org/
    apt-get install  pilot-link
    export PILOTPORT=/dev/ttyUSB0
    pilot-xfer --sync=/root/.pilot
    pilot-xfer -i /home/jef/Documents/Jef/old/pilotgone.prc
    pilot-dlpsh -p /dev/ttyUSB0 -i
Does anyone knows how to get back pilot-link package ?

I have 1 "big" xsl file in a project I maintain. I have fixed an issue this year. I have tried to use chatgpt prompt. The scope was perfect: I had the buggy xsl, the buggy result, the expected result and a clear explanation. It generated syntactically correct code (almost) that did not work because chatgpt does not understand. This was not a complete loss: a good refresher of the syntax, but I had to do the thinking fully alone and found alone how to use "node-set".

My previous change in this file was in 2017 when I replaced xalan by the xslt processor built in java. I was very surprised I had to make the following changes:

    -<xsl:if test="string(serverName)=$sName">
    +<xsl:if test="string(serverName)=string($sName)">

    -<xsl:for-each select="attributeList/attribute[self::attribute!='']">
    +<xsl:for-each select="attributeList/attribute[text()!='']">

    -<xsl:if test="preceding-sibling::Connection[featureType='Receptacle'][position() = 1]/@Name!=@Name or not(preceding-sibling::Connection[featureType='Receptacle'][position() = 1]/node()) ">
    +<xsl:if test="preceding-sibling::Connection[position() = 1]/@Name!=@Name or position()=1">
These incompatibility issues with something I considered to be standard greatly damaged my opinion on xslt.

I think that Marissa Meyer had given yahoo back a bit of its lustre. That meant cutting dividends in favour of investment. Restoring a reputation takes time. I stopped taking an interest when she was ousted by impatient shareholders. I am not an insider, maybe I am wrong.

IMHO, indieweb has not taken off because web hosting was dirt cheap and an internet subscription with a good upload was awfully expensive. Nowadays, the balance has changed and it is less true. Cheap web hosting has become complicated trade-offs. 8GBs symmetric (50€/month) is enough for most of uses.

My main hindrance is the fear that a hacker will hack into my home network

I sometimes need to use gdb to investigate bugs in C or Ada, but it is not my main activity. As a result I will not invest days to setup a debugging environment that I will not remember how to use 6 month later. My solution: I use emacs and have a short note with instructions: M-x gdb -i=mi exe_full_name -p 29123 M-x gdb-many-windows set follow-fork-mode child

Yes, yes and yes. ORM are marvelous when you do not know well SQL. With experience, you always end up needing to learn more about SQL. In the end, ORM is as much a hindrance as a help. So instead of spending energy learning the ORM of the day, it's better to invest in longer lasting technologies like SQL.

When I had to convince my wife to leave windows for linux, the fact that photoshop was working perfectly fine on wine was a huge point. At that time (windows vista 64 era), I was using photoshop V6. It was launched directly from windows partition. All I needed was a "shortcut" file to launch it.

Same for my mother using ubuntu. She do not know her password (the login is automatic). In case of problem, I connect using ssh.

Most of admin tasks are apt-get update/upgrade, rmdir --ignore-fail-on-non-empty Bureau/* (because she creates empty directory on desktop). The command cupsenable DeskJet-3630-series allows to unstuck the printer without mouse access (I was on my phone with connectbot). I have changed the computer after 10 years. It was transparent for her.

FFmpeg 7.0 2 years ago

Blocking downloads of liblzma seems to me to be an ill-advised decision. Now that the mechanism is known, the dangers are limited, but the educational value of being able to study what has been done is real.