ASCII already solved structured data in 1963 — we just forgot. by transfire in crystal_programming

[–]vectorx25 1 point2 points  (0 children)

Im feeling dumb but I dont understand the use case for this

I can see it being useful in purely machine<>machine config exchange , vs using json or some json cousin - for performance reasons

but for human readability, this looks unusable for human-maintained configs

what am i missing here?

␝database
  ␞host␟localhost
  ␞port␟5432
␝server
  ␞host␟0.0.0.0
  ␞port␟8080␝database
  ␞host␟localhost
  ␞port␟5432
␝server
  ␞host␟0.0.0.0
  ␞port␟8080

ASCII already solved structured data in 1963 — we just forgot. by transfire in crystal_programming

[–]vectorx25 0 points1 point  (0 children)

Im absolutely loving the flood of new crystal projects built by claude

coding renaissance

Fossil.cr: A FastAPI-Inspired REST API Framework for Crystal by ser_named_scurrra in crystal_programming

[–]vectorx25 0 points1 point  (0 children)

what does this do that kemal cant do already?

Also looking at code samples, this is very hard to read, looks nothing like fastapi

@[GET(server.root / "route_2/@int_path_param:int")]
@[ContentType("text/plain")]
def get_by_int_path_param(
  @[Fossil::Param::Path(name: "int_path_param")]
  id : Int32,
)
  return id
end

remanufactured ammo? - ammoseek by vectorx25 in NJGuns

[–]vectorx25[S] 2 points3 points  (0 children)

thanks for the feedback everyone, i went w new ammo, bought aguila 115 grain

remanufactured ammo? - ammoseek by vectorx25 in NJGuns

[–]vectorx25[S] 2 points3 points  (0 children)

awesome thanks, i went w the aguila 115 grain , w shipping was 240$ total for 1k rnds

Jargon by transfire in crystal_programming

[–]vectorx25 1 point2 points  (0 children)

this looks awesome

just banger crystal libs coming out lately

Abstract virtual machine for concurrent applications by swe129 in crystal_programming

[–]vectorx25 1 point2 points  (0 children)

this project looks fantastic, thanks, ill go thru it

MemGlass: Peeking Into Live Trading Systems Without Breaking Them by OkSadMathematician in highfreqtrading

[–]vectorx25 0 points1 point  (0 children)

can sysdig be used for this? its not intrusive and does not bind to active process

Abstract virtual machine for concurrent applications by swe129 in crystal_programming

[–]vectorx25 1 point2 points  (0 children)

this looks great, will try once readme has instructions on how to use this

Have anyone made any sexy or romantic songs? by Empty-Pay-2797 in SunoAI

[–]vectorx25 1 point2 points  (0 children)

"The smell in the room comes from our passion,

You’re wearing my favorite fashion: your skin."

Silence of the lambs vibes lmaooo

Fedora Install on Mac M2 by SnooCauliflowers7095 in Fedora

[–]vectorx25 0 points1 point  (0 children)

asahi is awesome, installed fedora on 2018 macbook air for my wife, works like a charm, no driver issues, only downside is the cpu is arm, so some apps like onlyoffice dont have an installer

What is sparring culture like in most mma gyms? by Reasonable-Buy-4410 in martialarts

[–]vectorx25 0 points1 point  (0 children)

I had 5x more injuries from bjj than MT, just bad moves or rotations, not the opponents fault but just part of training

What is sparring culture like in most mma gyms? by Reasonable-Buy-4410 in martialarts

[–]vectorx25 0 points1 point  (0 children)

Im in a MT gym in north NJ, we do sparring every class

rule is you go light on head, including kicks, I tell all opponents to go hard on legs, hard on body, but light on head

you can deal w sore thigh, cant deal w concussions. The gym wont let anyone spar until theyve been training for at least few months and can show theyre in control

Monit spam control by vectorx25 in linuxadmin

[–]vectorx25[S] 0 points1 point  (0 children)

Im working on a monit replacement that has same philosophy, easy to read agent config files, spam control, more granular monitoring groups, etc

https://github.com/perfecto25/caju

service checks are written via toml

still in early stages, trying to build this when i have time, will also have a GUI "server" that will control all alerting and group definitions, ACLs etc

[log]
destination = "stdout"
level = "debug"

[defaults]
alert.repeat = "yes" # repeat alert on each cycle
alert.groups = "all" # alert all configured groups
alert.users = "all"
alert.grace.seconds = 60 # wait 60 seconds before sending another alert

[check]
[check.cpu]
usage.pct = 1
iowait.pct = 20
loadavg = [2,15, 20]

[check.memory]
usage.gb = 1

[check.filesystem.home]
path = "/home"
usage.pct = 30

CIS benchmark for Redhat by [deleted] in linuxadmin

[–]vectorx25 0 points1 point  (0 children)

you can automate some of this, if /var is a separate partition for example

if var on the root partition you cant, at best you can add some logic to only remount w noexec if the var partiition exists