vincentvdk, to golang

So what is your preferred web "framework" for ? -router or just net/http? # development

louis, to PostgreSQL
@louis@emacs.ch avatar

Cross-database migration made easy. Last night I hacked a nice script in Go that is capable of migrating data from arbitrary queries to target tables.

This screen capture shows the script running on 46 tables in parallel.

Jobs are declarative and look like this:

jobJobLog := job{<br></br>    TargetTable: "job_log",<br></br>    SourceTable: "job_log",<br></br>    TargetCols:  []string{"id", "job_id", "ts", "code", "message", "payload"},<br></br>    SourceQuery: "SELECT id, job_id, ts, code, message, payload FROM job_log",<br></br>    }<br></br>

A screen capture from a terminal window showing the migration script running on 46 tables in parallel, transferring data from PostgreSQL to MySQL with progress bars, number of rows per second and elapsed time.

msf, to rust
@msf@hachyderm.io avatar

Optimized my implementation for and on my local machine (macbookpro m1), lowered the time from ~24secs to ~14secs.

why is my implementation faster than the one?

any kind soul wants to take a look?

It just goes to show what inexperience does to perf.

https://github.com/msf/1brc/tree/8c7d0da28c72e375c384681fe12d190e769305ad/src/main/rust/msf

azzz, to rust

What I love in modules and hate in crates is the versions management. Rust went by the same way as ruby bundler, js npm and others: it tries to find the biggest common version between several packages, but Go resolves dependencies to the lowest version:

A wants B>=1.1, C want B>=1.2. The actual B version is 1.9. Rust installs B@1.9 but Go installs B@1.2.

The idea is simple, but Go reduces the number of potential problems a lot as it installs as closer to required version as possible.

m3tti, to webdev German

How do you define simplicity in code?

sonny, to rust
@sonny@floss.social avatar


/

/
#C



Those are languages people use to write / apps, and it's amazing ❤️

lukasrotermund, to Podcasts

I'm looking for good (backend) developer, or software architecture podcasts for after work, German or English, in the style of the German "todo:cast" or the "INNOQ Podcast". Can anyone here recommend anything interesting? I always run out of episodes so fast 😀

ryguw, to apple

On Feb 1st, 2024, released Pkl. Pronounced "pickle", it is a complete configuration scripting language, including a JSON/YAML/XML/more compiler, a language server, bunch of IDE plugins, and of course direct bindings for your favorite programming language, for quick adoption. A binding seems missing.

I like how a Pkl config's specs and values are colocated. Always hated maintaining separate schemas for very simple configs.

jperkin, to random
@jperkin@federate.me.uk avatar

Speaking of GCC, does anyone know of any lawful impediment why I may not drop gccgo from my GCC packages?

Feels like something that hasn't been necessary since 2013.

ainmosni, to python
@ainmosni@berlin.social avatar

I'm looking to get

Are you looking for a freelance developer/architect with:

  • Over 20 years of experience in various tech roles.
  • Success in designing scalable services, both of the monolithic. and microservice variety.
  • Well versed in designing verification systems based on cryptography.
  • Expert in writing , and .
  • Experienced in writing many other languages and frameworks.
  • Expert in and based deployments.

DMs are open if you need more info.

galdor, to random
@galdor@emacs.ch avatar

The slices package makes common operations much more compact, this is good. If you're still using 1.20 or older (what's your excuse?), you can use golang.org/x/exp/slices instead.

But there is no Map method. Or Filter (which should always be two functions, Select and Reject). Or Fold. They were proposed more than 2y ago and of course rejected by Go developers because they should be part of a "stream API" (???) which of course never manifested. As it was for packages, it is going to take years to get what is standard in most sane languages.

peterdrake, to Baduk
@peterdrake@qoto.org avatar

Locked blades
Grinding together
Until the tips press into our chests
And the blood begins to drip
As we inch toward the cliff

(Lost my first game of the tournament when, with both of us in overtime, I noticed too late that a chain of false eyes leading to safety was one liberty too short.)

hynek, to random
@hynek@mastodon.social avatar
vyskocilm, to golang

for idx := range []int{0, 1, 3}

does not do what one wants to do.

brawaru, to javascript
@brawaru@mstdn.social avatar

Pardon my ignorance, but I'm not buying into idea that tooling should be rewritten in , or whatever. Same applies to any other language.

In fact I think this is just making things worse for no benefit other than maintainers being able to yell ‘It's written in Rust, guys! It's Rust. Rust is everything. Memory safety and all that jazz. RUUUUUST’. Like, okay? Good for you?

h4kor, to python

Hello,

I'm trying out FireFish!

I'm H4kor from Germany,
interested in programming ( ) and table top role playing games ( ).

I'm currently working on an application to create dungeon plans callled

https://github.com/H4kor/dungeon-planner

Bonobo, to Baduk
JoanO, to random

Samen met de collega's van de ondersteunende diensten de laatste personeelsvergadering van het jaar, alvorens we de kerstvakantie aanvangen. Ditmaal op verplaatsing - Kattebroek, Dilbeek.



!ScholengroepBrussel

receptie en ontvangstruimte

parcifal, to golang
@parcifal@hachyderm.io avatar

TIL!

https://dev.to/saurabh975/comma-ok-in-go-l4f

Is there a docs page for this? I can't seem to find much on it 😅

artagnon, to zig

In order for me to actually use your new systems programming language, it has to be significantly more powerful/expressive than C/C++, and have comparable performance. No, , , and do not satisfy this criterion.

LGUG2Z, to devops
@LGUG2Z@hachyderm.io avatar

I was laid off over a 2 minute video call this morning

If anyone is able to help me find a new job (I'm in Seattle), please reach out 🙏

I'm an experienced and engineer, and an accomplished open-source developer (TS, , etc.) with tens of thousands of users worldwide

If you're a happy user of https://github.com/LGUG2Z/komorebi I would really appreciate if you could sponsor, even if it's for $1/month, to help me through this uncertain period

Please boost for visibility

ryguw, to golang

Important changes coming up in 1.22: No need to shadow loop variables anymore. Range over integers. Profile-guided optimization can make your production binaries 14% faster.

Read more: https://antonz.org/go-1-22/

Wisesnail, to goodomens
@Wisesnail@mastodon.social avatar
hrbrmstr, to random
@hrbrmstr@mastodon.social avatar

Today’s WPE Drop focuses on the new dashboard feature (tho there's a side-project if you aren't into 📈).

The post introduces this modern take on good ol' {flexdashboard} & has a link to the src for a sample Quarto + dashboard you can 👀 here: https://rud.is/wpe/2023-10-27/#

Includes real (summary) data from my 🌏-scale honeypot sensor fleet at work, so lots to riff from.

Drop (2023-10-27)

Aren't You The Dash[board]ing One?!

Read/sub: https://dailyfinds.hrbrmstr.dev/p/drop-362-2023-10-27-weekend-project

skolima, to microsoft
@skolima@hachyderm.io avatar

That's interesting - is feeling confident enough about their client generator that they are replacing the SDK libraries for and with ones generated automatically. https://github.blog/2024-01-03-our-move-to-generated-sdks/

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • thenastyranch
  • magazineikmin
  • mdbf
  • GTA5RPClips
  • everett
  • rosin
  • Youngstown
  • tacticalgear
  • slotface
  • ngwrru68w68
  • kavyap
  • DreamBathrooms
  • khanakhh
  • megavids
  • tester
  • ethstaker
  • cubers
  • osvaldo12
  • cisconetworking
  • Durango
  • InstantRegret
  • normalnudes
  • Leos
  • modclub
  • anitta
  • provamag3
  • lostlight
  • All magazines