Reven

joined 2 years ago
[–] Reven 2 points 1 week ago (1 children)

Ok, so I have removed all the flags and all the mods. I also shut down the upstream velocity proxy, in case it was an issue with polling the server or something. Even running by itself the consoled gets completely spammed by messages. I know that these are not errors in themselves, but spamming the console just makes catching any real errors or relevant warnings that much more difficult. As a side issue, I'm using puffer panel to manage all the worlds and installs and the spam to the console makes the admin panel unresponsive. I have no idea where to trouble shoot next.

[–] Reven 2 points 2 weeks ago* (last edited 2 weeks ago)

Yes, we already had that in place. The storage is in FreeNAS and we have snapshots every half an hour. We’ve already had to use the backups because after a paper update the whitelist turned itself off and when we logged in there were 3 random persons basically destroying everything. Btw, tangent, you find an open server and your first instinct is to just start tearing everything down? Why? Anyway, we just restored to the previous snapshot and it was back to normal. Zfs snapshots are great.

[–] Reven 2 points 2 weeks ago (3 children)

Oh, and in case it's relevant, I'm running the jvm with these flags (I just copied over the flags I had on my paper server): -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M -XX:G1ReservePercent=20 -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4 -XX:InitiatingHeapOccupancyPercent=15 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:+PerfDisableSharedMem -XX:MaxTenuringThreshold=1 -Dusing.aikars.flags=https://mcflags.emc.gs -Daikars.new.flags=true

This is a 1.21.4 server.

[–] Reven 1 points 2 weeks ago

Hey! thanks for the offer. I've pasted the output here: https://pastebin.com/X7Wfw9JU (this is just a fragment; the server has been on for a couple of hours and I could paste a Mb of text easily. It is very verbose)

These are the mods installed I have installed:

  • fabric-api
  • instantgroup
  • voicechat
  • worldedit
  • tick-stasis
  • lithium
  • krypton
  • cloth-config
  • spark
  • ferritecore
  • viewdistancefix
  • FabricProxy-Lite
13
Server: paper vs fabric (self.minecraft)
submitted 2 weeks ago* (last edited 2 weeks ago) by Reven to c/minecraft
 

I run a couple of minecraft worlds for my daughter and a few friends (yeah, ok, and for me :D ). Up to now we were running velocity and paper servers. I kept hearing that fabric servers were supposed to be more vanilla, and there were a couple of mods not ported to paper, so I wanted to try to replicate my servers with fabric.

The server runs fine, but the output of the terminal is extremely verbose compared to paper, and I don't know if this is expected or if I've got something misconfigured.

Most of the output is about "netty"

"Netty Epoll Server IO #3" at io.netty.channel.epoll.Native.epollWait(Native.java:213)
os_prio=0 cpu=6.33ms elapsed=1517.77s tid=0x00007068e00160d0 nid=1862005 runnable at io.netty.channel.epoll.Native.epollWait(Native Method)`___`

for example.

Does someone have any ideas? I wouldn't mind posting a large chunk of the output if someone thinks there might be an issue. Thanks!

[–] Reven 1 points 1 month ago
[–] Reven 2 points 1 month ago (4 children)

Yup, this is the last time I muck around with spamassassin unless the project gets a magical revival.

[–] Reven 4 points 1 month ago

I think I got it working. I've got this in /etc/default/spamd:

OPTIONS="-x -q -u spamd --max-children 5 -H /etc/mail/spamassassin/"

and this in /etc/default/spamass-milter:

OPTIONS="-e example.com -u spamass-milter -i 127.0.0.1"

And it definitely reads user prefs from the database because I can change the 'required_hits' to 6.7 for a given user and I see this in the logs:

spamd[523771]: spamd: clean message (-0.2/6.7) for [email protected]:133 in 1.2 seconds, 24427 bytes.

I don't know how many different combinations of config flags I've tried, but these seem to do the job.

 

Hi,

I'm trying and failing to get spamassassin to load user prefs from a mysql database. I'm using spamass-milter and I can't find any way in the docs to send anything. spamass fails to parse the recipient as the user and just uses it's running user in it's call to spamd. The database is properly configured and I can connect and set settings from roundcube. The sql config is added to local.cf.

I know that you can use spamd as a pipe, and then you can pass more variables, but I can't figure out the correct config for this setup.

This is what I have in /etc/default/spamd: OPTIONS="-Q -x --max-children 5 -D sql,bayes -H /etc/mail/spamassassin/" I've also tried multiple combinations with the flags -q, without -x...

And this is what I have in /etc/default/spamass-milter OPTIONS="-u spamass-milter -x -i 127.0.0.1" Where again I've tried without -u, with -e domain.com to explicitly set the domain.

If anyone has any advice or can point me to a recent tutorial for Ubuntu 24.04, I would be really grateful!

[–] Reven 4 points 2 months ago

“Japanese” duplex

No, lol! I wish I had known of this or would've been clever enough to come up with something similar. I basically just yolo'd it the best I could. It was a torture.

work of art

[–] Reven 2 points 2 months ago* (last edited 2 months ago)

I've put everything up on github: V6 conversion. Have fun. If you are going to get into this adventure, this might come in handy (it helped me): How to Build a Custom Keyboard From Scratch

[–] Reven 2 points 3 months ago (1 children)

That's a nice board!

[–] Reven 5 points 3 months ago (3 children)

Yes, I got it made at jlcpcb. It’s a big board, so it wasn’t as cheap as a small prototype board. But not unreasonable. A good price per board, but a bit of a waste because I now have 4 more that I will never use.

[–] Reven 2 points 3 months ago (2 children)

Yes, I want to, just haven’t gotten around to put it all together yet. But it’s on my to do list.

57
submitted 3 months ago* (last edited 2 months ago) by Reven to c/[email protected]
 

I was initially excited about my Keychron V6 keyboard, I was looking forward to a thockier keyboard and wanted the customizability with qmk. The V6 seemed like a good match. But after unboxing it, I realized that the south-facing LEDs weren't ideal. I had just purchased Razer PBT keycaps, which I loved, but they didn't work at all with the LEDs and the escaping light underneath just blinded me.

I tried to make the setup work with custom keycaps from fkcaps (https://fkcaps.com/custom/5ELZPQ). While they were cool, they weren't the same as double-shot PBT keys. The setup wasn't ideal but I just stuck with it.

When I saw a YouTube video about building a keyboard with KiCad, I was inspired to try it myself. I used an ATmega32U, because I thought it would be easier to integrate, but it did have it's challenges: limited I/O meant I had to sacrifice the layout switch, and my matrix is best described as "tortuous". Despite a few errors on my PCB (a group of LEDs were not connected and I completely missed the holes for a stabilizer), the final PCB works amazingly well.

I've added a few photos below showcasing my setup before PCB assembly. You can see the light issues under the keys and how the laser etching from fkcaps isn't very durable.

EDIT: I've published the files to github in case anyone wants to have a look: V6 conversion

before the pcb swap

fkcaps key detail

after transplant

 

We have an ornamental tree in our garden and it is completely covered in white little dots. They look like eggs or larvae, but I’ve never managed to see them move.

This is in Spain in case that’s relevant. More pics in comments.

view more: next ›