Readit News logoReadit News
reacweb commented on The normalization of corruption in organizations (2003) [pdf]   gwern.net/doc/sociology/2... · Posted by u/rendx
Paracompact · 15 days ago
The author cites Arendt a fair bit, whose claim to fame was that entirely ordinary people could become voluntary instruments of atrocity.

I think the belief of ordinary people most likely to dispose them to atrocity is that of prioritizing the ingroup. Once we believe that the members of one's own family, or company, or country, carry more moral value than others, we're doomed to a descent limited only by our ability to make these world-worsening trades.

When I was a child, my dad would sometimes engage in small acts of corruption to please me or my brother. Taking somebody else's spot, telling white lies to get more than his share of a rationed good, that sort of thing. It never sat right with me. "Family first" has a very ominous ring to me.

reacweb · 15 days ago
Yes, the slogan "America first" is a forerunner of the worst kind of imperialism.
reacweb commented on Dear Time Lords: Freeze Computers in 1993   graydon2.dreamwidth.org/3... · Posted by u/zdw
reacweb · 15 days ago
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.

reacweb commented on What does " 2>&1 " mean?   stackoverflow.com/questio... · Posted by u/alexmolas
goku12 · 15 days ago
This is probably one of the reasons why many find POSIX shell languages to be unpleasant. There are too many syntactical sugars that abstract too much of the underlying mechanisms away, to the level that we don't get it unless someone explains it. Compare this with Lisps, for example. There may be only one branching construct or a looping construct. Yet, they provide more options than regular programming languages using macros. And this fact is not hidden from us. You know that all of them ultimately expand to the limited number of special forms.

The shell syntactical sugars also have some weird gotchas. The &2>&1 question and its answer are a good example of that. You're just trading one complexity (low level knowledge) for another (the long list of syntax rules). Shell languages break the rule of not letting abstractions get in the way of insight and intuitiveness.

I know that people will argue that shell languages are not programming languages, and that terseness is important for the former. And yet, we still have people complaining about it. This is the programmer ego and the sysadmin ego of people clashing with each other. After all, nobody is purely just one of those two.

reacweb · 15 days ago
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.

reacweb commented on RFC 3339 vs. ISO 8601   ijmacd.github.io/rfc3339-... · Posted by u/gregsadetsky
karambahh · 6 months ago
Others point out missing tz.

It's also not that "user friendly": depending on their locale, users will usually expect for instance DD/MM/YYYY. Sorting by YYYY-MM-DD won't feel natural to them.

reacweb · 6 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.
reacweb commented on My original Palm IIIx   goto10retro.com/p/taking-... · Posted by u/rbanffy
kstrauser · 7 months ago
Tell me more about this cable. I bought a IIIxe of eBay for cheap recently for the nostalgia of it, but put it aside when I realized I couldn’t physically connect it to anything. I’d love to play with it a little more.
reacweb · 7 months ago
It is just a cheap chinese usb/serial adaptor used to plug the original serial cable of the dock. Nothing special.
reacweb commented on My original Palm IIIx   goto10retro.com/p/taking-... · Posted by u/rbanffy
Cosi1125 · 7 months ago
It is functional. Arch's AUR uses it as a source for `pilot-link-git` package[1]; works just fine with jPilot.

[1] https://aur.archlinux.org/packages/pilot-link-git

reacweb · 7 months ago
Some more patches at https://github.com/NixOS/nixpkgs/tree/master/pkgs/by-name/pi.... ./configure --enable-conduits && make && make install sudo export LD_LIBRARY_PATH=/usr/local/lib then it works like a charm. Thank you very much. My usb serial converter is the cheapest chinese one I found.
reacweb commented on My original Palm IIIx   goto10retro.com/p/taking-... · Posted by u/rbanffy
reacweb · 7 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 ?

reacweb commented on Show HN: JavaScript-free (X)HTML Includes   github.com/Evidlo/xsl-web... · Posted by u/Evidlo
msylvest · 7 months ago
I remember admiring the intent of XSLT when it was born. And how difficult it turned out to be to write; using XML framing makes it terse/verbose/arcane, eg. when compared to the compactness of regex/subs.

It is 2025 and now we've got LLMs to write our code - that may actually be a strong argument in favor of keeping XSL(T): It is a useful browser mechanism and LLMs makes it easier to harvest.

Does anybody have experience with LLM-generated XSL(T)?

reacweb · 7 months ago
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.

reacweb commented on What went wrong for Yahoo   dfarq.homeip.net/what-wen... · Posted by u/giuliomagnifico
reacweb · 8 months ago
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.
reacweb commented on The indieweb doesn't need to “take off”   susam.net/indieweb-does-n... · Posted by u/susam
reacweb · a year ago
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

u/reacweb

KarmaCake day2148December 20, 2011
About
I love perl, but I am strongly convinced that strong typing is mandatory for code maintainability. e70838@gmail.com
View Original