node

faried nawaz | @fn@p.node.pk

coffee

someone: the hubermang dude is p. straight forward egghead bro, he speaks to the topics based on peer reviewed studies that he knows of

me: do you trust peer reviewed studies?

me: i mean, i’ve seen peer reviewed software

internet jpeg sharer: https://www.zazzle.com/z/as15upie

PARTCL - A TINY COMMAND LANGUAGE

From the post:

Inspired by these projects, I decided to build my own Tcl interpreter over the weekend. My goals were:

  • Extreme minimalism. It should fit on an MCU with 16K of NAND.
  • It should be easy to extend by writing your own commands in C.
  • All parts should be isolated and should be easy to replace/customize.
  • Default implementation should prefer size over performance.
  • Lexer should tell when the end of the command is met so that we could read user input byte by byte and execute command only when it’s fully read.
  • All parts of the interpreter should be covered with tests.

You’re free to do whatever you want, outside of the 8 most productive hours of your day, in the healthiest years of your life.

My arm hurts. Should have gone with an Intel jab.

@phooky 19 pages, can be borrowed at https://archive.org/details/highcrimesmisdem00gree for an hour.

in a reddit post asking why db autoincrement starts at 1 and not 0, this comment stands out:

I’ve been in a handful of projects where people started at 1, ran out of space in positive numbers, and solved it by re-seeding their identity at -1, incrementing -1, or starting at the max negative number for their datatype and incrementing +1. Buys them time before they have to change the datatype, which is often a disruptive operation.

@dch i actually used رئيس at first which i knew was wrong. for that, you would’ve had to ask permission!

that’s one way to keep people from committing directly to the رئيسي branch

master branch? main branch?! no!

رئيسي branch!

@nex3 when it came out I was disappointed it wasn't more like smalltalk, given the people who worked on it in the early days. many of them have decamped to other projects outside google. (toit is interesting because I have a bunch of esp32 boards lying around, unused.)

these days, it seems that dart is only interesting to most of its userbase because of flutter.

Moral lessons from switching to Emacs by Protesilaos Stavrou

re: MPCP, Opcode Pause, length 46

See also: https://github.com/nwholloway/mpcp

The office network would occasionally have periods when latency across the LAN would degrade hideously (several seconds), and then all connectivity would be lost.

The cause of the failure turned out to be computers that hung during shutdown, and the network card would fire out a barrage of MPCP pause frames.

Every device on the LAN receives the packets, and obligingly suspends transmission. One device would even remain inactive even after the source of MPCP pause frames had stopped.

re: MPCP, Opcode Pause, length 46

This question is about Ubuntu, but if you expand the comments, the last one mentions a Chinese Gigabit adapter: https://askubuntu.com/questions/994466/ubuntu-server-flooding-network-with-mpcp-opcode-pause-packets

MPCP, Opcode Pause, length 46

Here’s one you might not have heard of before:

I went out this afternoon and bought a USB-C to Gigabit Ethernet dongle. It has two USB-A ports too, which works great for me (I use an external keyboard and mouse with my work Mac). I plug it into my Mac at home, use it all afternoon without any trouble.

In the evening, I head out to get some coffee. When I return, everyone’s complaining that the internet’s not working. Devices can connect to the access points, but they don’t get an IP address from the DSL router.

I checked the DSL router, and everything looked okay (DSL router’s the DHCP server, too). Restarted the router just in case. Turned my desktop on to look at Unifi’s console, and it showed devices connected/connecting. Maybe restarting the router fixed things, I thought.

Later in the evening, I put my laptop to sleep and went to bed, thought I’d read a book on the kindle. And the kindle shows… no internet! It can connect to the access point, but not get an IP address. Curiously enough, it can get one from the DSL modem’s WiFi (same IP network, but different WiFi network).

After a few experiments, I find out that when the Mac goes to sleep, the dongle floods the switch with MPCP, Opcode Pause, length 46 packets.

A review of one of the central ideas in Red Plenty, a book about using linear programming to optimize a planned economy:

In Soviet Union, Optimization Problem Solves You — Crooked Timber
https://crookedtimber.org/2012/05/30/in-soviet-union-optimization-problem-solves-you/


There’s lots to say about Red Plenty as a work of literature; I won’t do so. It’s basically a work of speculative fiction, where one of the primary pleasures is having a strange world unfold in the reader’s mind. More than that, it’s a work of science fiction, where the strangeness of the world comes from its being reshaped by technology and scientific ideas — here, mathematical and economic ideas.

Red Plenty is also (what is a rather different thing) a work of scientist fiction, about the creative travails of scientists. The early chapter, where linear programming breaks in upon the Kantorovich character, is one of the most true-to-life depictions I’ve encountered of the experiences of mathematical inspiration and mathematical work. (Nothing I will ever do will be remotely as important or beautiful as what the real Kantorovich did, of course.) An essential part of that chapter, though, is the way the thoughts of the Kantorovich character split between his profound idea, his idealistic political musings, and his scheming about how to cadge some shoes, all blind to the incongruities and ironies.

@penguin42 @thomasfuchs in that case, go with Halt and Catch Fire — it’s all fake! but still a lot of fun.

»