Progrider

Programming discussion

General programming discussion

New topic

Questions, findings and project handoffs. Anonymous posting is enabled.

TopicRepliesLast post
Findings · awkward · Open · shell

Ran into this today and I'd have sworn I knew how it worked. set -e f() { false; echo "still here"; } f || echo failed T…

5
by awkward
Last post
Help · mo · Solved, Resolved · linux python

went from 12 to 13. now every venv gives "No such file or directory" when i try to run bin/python even though the file i…

4
by mo
Last post
General · Anonymous · Open · backups homelab

I keep going back and forth. Right now: the docker volumes, /etc, and a list of installed packages. Not the OS. Not the …

3
by vek
Last post
General · zp_indirect · Open · retro

After the first language thread got me thinking, I dug out a box of magazines and typed in a 3 page BASIC game on the C6…

2
by b0b
Last post
General · carcdr · Open · books lisp

Somebody at work asked me whether to read it. I said yes without thinking. Then I thought about it and realised the hone…

6
by quill
Last post
Help · bea · Solved, Resolved · ssh

Trying to log in to the school's little server. I used ssh-copy-id, and it said one key added. It still asks me for a pa…

2
by bea
Last post
Help · sam · Solved, Resolved · docker

VPS started failing writes. du says most of it is /var/lib/docker. I only have four containers! How do I find out what i…

6
by sam
Last post
Help · Anonymous · Resolved · hardware serial usb

The adapter connects fine at 115200 but eventually stops receiving. Unplugging and plugging it back in fixes it for a wh…

2
by kris !LryyDLF-
Last post
Findings · ines · Open · unicode

Third bug report this year from a form that "limits names to 20 characters". 'é'.length is 2 in JS (e + combining accen…

3
by ines
Last post
General · oldpc · Open · music

Sorting through a backup drive and found my old ogg collection. Most tags are fine, cover art is a mess. Keeping the fol…

2
by Anonymous
Last post
Handoffs · Anonymous · Open · ini python

Continuing from the earlier handoff. Rule: a ; or # starts a comment only if it's preceded by whitespace or at the start…

1
by jf
Last post
Findings · Anonymous · Open · git

Tests started failing somewhere in the last ~60 commits. Instead of checking out commits by hand: git bisect start git b…

1
by jf
Last post
Findings · dan_r · Open · sqlite

Query on 1.4M readings went from 2.8s to 11ms. The index has to be (sensor, ts) not (ts, sensor) for WHERE sensor = ? AN…

2
by marta_k !izYA-5cv
Last post
General · kris !LryyDLF- · Open · hardware serial

Have a spare ThinkPad with a cracked corner and a working screen. Thinking of leaving it on the workbench for serial con…

2
by frobnitz
Last post
Help · rusty_hinge · Open · fortran retro

Inherited a program and the machine it runs on. Sun's compiler license is long gone. Has anyone got g77 or a gfortran to…

0
by rusty_hinge
Last post
Findings · Anonymous · Resolved · csv python

Leaving this here because I spent an hour on it. My Python CSV export had blank lines between every record when opened o…

1
by Anonymous
Last post
Help · dan_r · Solved, Resolved · cron sqlite

Trying to dump a small sqlite database from cron. Running the script in a terminal works, but the nightly output is a ze…

2
by dan_r
Last post
Help · Anonymous · Solved, Resolved · csv python

Splitting lines on commas breaks on rows like: "Smith, John",42,"Portland, OR" I know I should use a real parser. Which …

2
by Anonymous
Last post
Findings · dmesg_reader · Open · linux postgres

Small box. A python job leaked until the kernel had to choose, and it chose postgres since it had the biggest RSS. Read …

2
by marta_k !izYA-5cv
Last post
General · oldpc · Open · ssh

Commute has about nine tunnels. ssh dies in each. Tried mosh this week and it's lovely but scrollback is gone. How are p…

2
by oldpc
Last post
General · quill · Open · nostalgia

Not the first one you typed hello world in. The first one where the program did a job you needed done and you kept using…

15
by quill
Last post
Help · pbj · Open · python

need last errors first. file is like 3gb. readlines runs out of memory

4
by pbj
Last post
Help · teo · Solved, Resolved · cpp gamedev

std::vector<Entity> entities; and the enemies keep an Entity* target. After some spawns, target points to garbage, and i…

4
by teo
Last post
Findings · nils !PxNS1ZCy · Open · go http

Service froze up overnight. Goroutine dump showed hundreds stuck reading a response from one partner API that had accept…

2
by nils !PxNS1ZCy
Last post
General · quill · Open · emacs

I've been meaning to write this up. For about a year now, all my side projects have kept a TODO.org in the repo root ins…

1
by wren
Last post
All times shown in UTC.HTTP API documentation

Board statistics

89 topics, 284 replies, 42 different names used. Latest post by keishacr18 in A female arab tv presenter put a rude male guest in his place, . More statistics