logophobia

u/logophobia


r/PostgreSQL•

I have two partitioned tables, let's say a and b. They have UUIDv7 (timestamped) id columns. I am using a join-key structure, ensuring the foreign key relation doesn't require extra indexes. These are pretty high-volume event tables, where timestamp range queries and id based queries are the main form of read traffic.

CREATE TABLE public.a (
id uuid NOT NULL,
CONSTRAINT "PK_a" PRIMARY KEY (id)
)
PARTITION BY RANGE (id);

CREATE TABLE public.b (
parent_id uuid NOT NULL,
object_number int2 NOT NULL,
CONSTRAINT "PK_b" PRIMARY KEY (parent_id, object_number)
)
PARTITION BY RANGE (parent_id);

The problem comes in here. This query (range query with uuidv7) generat

010

r/docker•

I got a new fun issues after updating to debian 13, all docker image pulls failed.

docker.io registry, I get the error: ERROR: failed to solve: ubuntu:25.10: failed to resolve source metadata for docker.io/library/ubuntu:25.10: failed to do request: Head "https://registry-1.docker.io/v2/library/ubuntu/manifests/25.10": dial tcp: lookup registry-1.docker.io on [::1]:53: read udp [::1]:52248->[::1]:53: read: connection refused

It looked DNS related, even though running dig manually worked for registry-1.docker.io. After some digging.. it turns out that if the ipv6 DNS lookup fails, docker doesn't always fallback to the ipv4 DNS lookup.

Adding this to the daemon.json fixed the issue

10

r/HomeImprovement•

I have a wall kitchen, I want to tile the back wall. The metal stud plaster is a bit uneven and curved. Not ideal for tiling. My plan for tiling is:

  • Drill some qboard or wedi on the wall, attach to metal parts, that should even things out
  • Do the tiling on the backboard

Is that a solid enough plan?

03

r/Klussers•

Ik moet een leidingschacht 5cm opdikken via stucen ivm een keuken die gezet gaat worden (zodat het keukenblad niet verder gaat dan de schacht).

Moet naar links opgedikt worden: https://imgur.com/a/1a0D2cK

Nu krijg ik uit meerdere hoeken het advies dit gewoon over de houten vloer heen te doen. Lijkt mij niet handig. Als iemand ooit een andere vloer erin zet dan moeten ze een deel van de vloer laten afzagen en blijft het hout zitten in het stucwerk, of het stucwerk perongeluk eruit trekken. Lijkt me ook niet super voor de stevigheid. Als het hout nat wordt door de stuc lijkt me dat ook niet superhandig.

Ik dacht, klein stukje parket eraf zagen met een cirkelzaag, dan kunnen ze het stucwerk

26

The kitchen has this wood (dark walnut): https://i.pinimg.com/736x/2e/f1/69/2ef16940252f3aaa4743f8259c9a6d73.jpg

With a concrete countertop like this: https://flemingtongranite.com/wp-content/uploads/2022/03/Neolith-Countertop-1.png

I quite like that combination. I'm just not sure if it's good with the floor. I picked a somewhat rougher/rustic oak floor, light brown with some yellow & grey: https://postimg.cc/qNKSRcX1

There's good contrast, it feels a bit weird somehow. I find it hard to visualize the end result. Is the floor I picked too rough wood-wise? Any suggestions, or is this good?

13

r/heatpumps•

I'm getting an apartment with a heat-pump and underfloor heating. It's the type of underfloor heating meant to be ran at a constant temperature. I want to put down parquet instead of something like ceramic parquet. It is apparently possible to use parquet if you use specific wood types and don't make the floor too thick. But compared to something like ceramic floor, parquet conducts heat less efficiently.

I'm not sure what that means in practice though. The heating I'm getting is supposed to be run at a constant temperature because it takes a long time and energy to get to a specific temperature. My apartment should be well isolated. Does taking a floor with lower heat conductivity mean tha

11

r/rust•

I'm doing some embedded development. I'm trying to create bindings for some of the APIs I'm going to be working with (as a POC to prove we can use rust here). I've already managed to compile a "hello world" type of application. The trouble starts when I want to use native libraries.

The example from the SDK builds like this, which works:

arm-linux-gnueabihf-gcc -mthumb -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a9 -fstack-protector-strong  -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/opt/axis/acapsdk/sysroots/armv7hf -L /opt/axis/acapsdk/sysroots/armv7hf/usr/lib  -O2 -pipe -g -feliminate-unused-debug-types  -pthread -I/opt/axis/acapsdk/sysroots/armv7h
64

r/rust•

I can't find any documentation whether it's possible or not. I can make dependencies optional, but I can't seem make features of dependencies optional.

For example, I'm using the actix-web crate. Actix-web has a tls feature. I use ssl termination in a proxy, so I don't always need it. So in my crate, I want a feature that activates the tls feature in the actix-web dependency, and add a bunch of conditional code for enabling tls in my code. Is that possible?

172


I'm currently busy at a rather decent corporate job at a large healthcare software business. I do:

  • Data warehousing
  • Analytics
  • Occasionally a bit of ML

I created a framework + set of distributed services that process all the data flows there. There's a team of people writing code and deploying software in that framework. Fun and interesting. Disadvantages are that:

  • Management is very chaotic. A lot of people don't know what's going on or who's doing what. Some good quality people have left.
  • They only use Microsoft software/APIs. It's also very hard to get permission to contribute back to open source. For example, we maintain a private fork of a certain framework, costs a lot of t
32