Readit News logoReadit News
lambdaba commented on Screenshots from developers: 2002 vs. 2015 (2015)   anders.unix.se/2015/12/10... · Posted by u/turrini
Nextgrid · 2 months ago
I wonder if there's a worthwhile time-saving in aggregate? To me it seems like overall the bottleneck is always thinking what code to write/edit, not the actual edition. So I'm not convinced shaving a couple seconds here and there outweighs the benefit of a modern IDE or offsets the time spent ricing such a setup.
lambdaba · 2 months ago
It's not mainly about speed (although the ceiling is much higher), but about ergonomics, and, plainly, enjoyability. The other benefit of making your own environment is mastery and control; only you can decide when and how the environment changes.
lambdaba commented on Cloudflare Global Network experiencing issues   cloudflarestatus.com/inci... · Posted by u/imdsm
lambdaba · 3 months ago
it's funny I first noticed this visiting a random blog, then went on X and got the same error... is Cloudflare the Internet now?
lambdaba commented on Scientists are discovering a powerful new way to prevent cancer   economist.com/science-and... · Posted by u/Earw0rm
lambdaba · 4 months ago
> The discovery that chronic inflammation can provide the impetus for cancers to develop is forcing clinicians to rethink their approach to the disease’s prevention.

Alternative health has been saying this for decades. Ketogenic diets + medicinal plants/mushrooms can do a lot, even after the fact.

lambdaba commented on Formatting code should be unnecessary   maxleiter.com/blog/format... · Posted by u/MaxLeiter
elevation · 5 months ago
Formatters eliminating long lines is a pet peeve of mine.

About once every other project, some portion of the source benefits from source code being arranged in a tabular format. Long lines which are juxtaposed help make dissimilar values stand out. The following table is not unlike code I have written:

  setup_spi(&adc,    mode=SPI_01, rate=15, cs_control=CS_MUXED,  cs=0x01);
  setup_spi(&eeprom, mode=SPI_10, rate=13, cs_control=CS_MUXED,  cs=0x02);
  setup_spi(&mram,   mode=SPI_10, rate=50, cs_control=CS_DIRECT, cs=0x08);

Even if we add 4-5 more operational parameters, I find this arrangement much more readable than the short-line equivalent:

  setup_spi(&adc,
      mode=SPI_01,
      rate=15,
      cs_control=CS_MUXED,
      cs=0x01);
  setup_spi(&eeprom,
      mode=SPI_10,
      rate=13,
      cs_control=CS_MUXED,
      cs=0x02);
  setup_spi(&mram,
      mode=SPI_10,
      rate=50,
      cs_control=CS_DIRECT,
      cs=0x08);

Or worse, the formatter may keep the long lines but normalize the spaces, ruining the tabular alignment:

  setup_spi(&adc, mode=SPI_01, rate=15, cs_control=CS_MUXED, cs=0x01);
  setup_spi(&som_eeprom, mode=SPI_10, rate=13, cs_control=CS_MUXED, cs=0x02);
  setup_spi(&mram, mode=SPI_10, rate=50, cs_control=CS_DIRECT, cs=0x08);


Sometimes a neat, human-maintained block of 200 character lines brings order to chaos, even if you have to scroll a little.

lambdaba · 5 months ago
I agree, I'm very much against any line length constraint, it's arbitrary and word wrapping exists.
lambdaba commented on Digg.com is back   digg.com/... · Posted by u/thatgerhard
righthand · 6 months ago
Reddit before reddit.
lambdaba · 6 months ago
It's del.ici.us after del.icio.us

u/lambdaba

KarmaCake day1528November 27, 2019
About
email username at protonmail dot com
View Original