gregorni, to golang
@gregorni@fosstodon.org avatar
tedu, to random

Reworked my mail server to use #go slog for logging, and for a very modest improvement in consistency, it's made the whole thing far more difficult to read. Everything is yucky now.

I can see the appeal if you exclusively process logs in custom tooling, but if you're a look around and grep/awk kind of person, it's not great.

I think I just need to write my own custom output handler, but this is starting to turn into a yak farm unto itself.

peterdrake, to Baduk
@peterdrake@qoto.org avatar

Doing the counting problems in chapter 2 of Ogawa & Davies's "The Endgame". I'm getting correct or close to it on most of them, but the thought of doing this under the time pressure of a game, remembering (without pencil and paper) the results of several local searches so I don't have to re-read them every turn, and still having the mental capacity to explore the main tree of play? shudder

#go #igo #baduk #weiqi

galdor, to random
@galdor@emacs.ch avatar

I just got bit by a common bug in #Go. encoding/json accepts the null JSON value for a slice. As a result, [] is decoded to an empty slice and null to a nil slice. And while both can be used as a zero-length slice, only one of them will be considered equal to nil. Inconsistent.

Wisesnail, to goodomens
@Wisesnail@mastodon.social avatar

I'm going to leave this here okay bye! ଘ(੭ˊ꒳ˋ)੭✧

I hope you like it! 💙

hrbrmstr, (edited ) to python
@hrbrmstr@mastodon.social avatar

Ephemerides are essential astronomical almanacs detailing celestial body positions.

In Today's Drop, we look at #Python, #Go, #Rust, #RStats, and C libraries and CLI's for calculating ephemeris.

http://dailydrop.hrbrmstr.dev/2024/02/08/drop-416-2024-02-08-when-the-%f0%9f%8c%95-hits-your-eye-in-a-cool-cli/

peterdrake, to Baduk
@peterdrake@qoto.org avatar

Registration for the 2024 US Go Congress (July 13-21 in Portland, Oregon) is now open!

https://gocongress.org/

#go #igo #weiqi #baduk

ZachWeinersmith, to random
@ZachWeinersmith@mastodon.social avatar

Anyone out there standing next to a nerd. I would like you to try a tic tac toe variant and tell me if it's interesting:

Kriegspiel tic tac toe

You can’t see your opponent’s moves. But, if you try to take a space they’re already on, you lose your turn, and the space they’ve taken is revealed. Goal remains 3 in a row.

peterdrake,
@peterdrake@qoto.org avatar

@ZachWeinersmith When you teach the game of Go to mathy types, they inevitably come up with variations. What if we played on a hex grid instead of a square grid? What if the board was a torus that wrapped around? What if the board was 3D?

At the annual US Go Congress, one of the standard events is "crazy go", which tries out some of these variants.

The most bananapants was Team Kriegspiel Go, involving two teams of two players, plus a referee. On your turn, you submit your move to the referee and find out if it's legal. Not only do you not know your opponent's moves, you don't know half of your own moves!

synlogic, to programming
@synlogic@toot.io avatar

need an extra hand for your Go codebase?

need perf improvements to your software?

have a legacy Heisenbug in need of squashing?

want a mature, senior programmer with multiple areas of expertise and a proven & public record of shipping?

have budget for professional?

can they work remotely 100%?

CONTACT ME NOW

I'd love to jump in fast and help! I solve and ship

#programming
#Go
#Golang
#latency
#performance
#tuning
#optimization
#availablenow
#forhire
#contracting
#consulting
#remotework

galdor, to random
@galdor@emacs.ch avatar

Careful, do not use the url.URL type in structures if you expect to encode them in JSON. For some incredibly stupid reason, it will be serialized as a JSON object and not as the expected string representation. Forces you to use strings everywhere. So much for type safety…

hmans, to random
@hmans@mastodon.gamedev.place avatar

in the year 2024 is such a nice experience. brew install go, it just works. Module/Dependency management: it's there and it's great.

hdm, to security

The FOSDEM 2024 talks are 🔥: https://fosdem.org/2024/schedule/rooms/

Some favorites so far:

#fosdem #go #networking #security

ryguw, to apple

On Feb 1st, 2024, #Apple 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 #Python binding seems missing.

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

#pkl #json #yaml #java #kotlin #golang #go #config

parcifal, to random
@parcifal@hachyderm.io avatar

30 mins early in the #go room... It's going to be a busy day!

benatti, to rust

Any programmers around here?

appsec4one,

@gvrooyen @iw just be glad that it isn’t as popular a word as or or . Maybe the next programming language will be ‘THE’ and freak out all the search engines.

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 😀

#Podcasts #Tech #Programming #go #php #SoftwareArchitecture

umnik, to random Russian

А есть фреймворки (для #Go), которые позволяют писать веб интерфейсы, совсем без знаний html, js, css?

По типу как можно писать GUI под разные ОС, не зная API всех этих GTK и WinAPI, а только изучив документацию по самому фреймворку.

hrbrmstr, to javascript
@hrbrmstr@mastodon.social avatar

The Weatherflow Tempest thingy I blathered about the other day now has a localStorage-based preferences system (vs. have {fir} manage them) that (for now) allows selection of units for three of the readings.

Both the #go and #javascript code are in much tidier, now, too. (https://codeberg.org/hrbrmstr/gofir)

Live view via rev proxy: https://rud.is/tempestwx/

peterdrake, to Baduk
@peterdrake@qoto.org avatar

I beat a 2 dan! I (black) had five handicap stones and was very, very careful to hang onto my ever-shrinking lead until the game was over.

https://ai-sensei.com/game/6HhIL50SU1YUwtfnxeT5kTMrG0z1/wYabZhGn0gtpIeS3GTya

#go #igo #baduk #weiqi

teleclimber, to vscode
@teleclimber@social.tchncs.de avatar

I was looking for #vscode extensions to help write plain #HTML and #CSS and it's disappointing.

There is an extension that suggests class names it finds in your stylesheets when you are writing HTML. Cool. It works. But it's extremely superficial. It only considers individual class names, so it suggests classes that can't apply to that element.

https://marketplace.visualstudio.com/items?itemName=ecmel.vscode-html-css&ssr=false#overview

teleclimber,
@teleclimber@social.tchncs.de avatar

Just because I'd like to write plain CSS doesn't mean I want to keep my entire stylesheet structure in memory. There is a reason why languages like Go and most others have fantastic language servers. It helps developers work faster and more confidently. When I write #Go sometimes I'm just banging on "ctrl-space" because that's all that's left to do when you have a good lang server.

I'd love to get close to that w HTML + CSS.

peterdrake, to Baduk
@peterdrake@qoto.org avatar

If you're interested in learning the classical Asian game of Go, widely regarded as the pinnacle of elegant game design, the Portland (Oregon) Go Club is teaching beginners are local libraries:

https://portlandgoclub.com/2024-intro-to-go-workshops

#go #igo #baduk #weiqi #BoardGames #pdx #portland

matt, to golang

I did a re-export of the Google-internal #Go Style Guide today: https://google.github.io/styleguide/go/.

There are are a number of nice changes: https://github.com/google/styleguide/commit/c10555a867cf1af48db5716c18e97b5ac6079797.

#golang

peterdrake, to Baduk
@peterdrake@qoto.org avatar

We both missed big moves in the upper right corner for a long time.

https://ai-sensei.com/game/6HhIL50SU1YUwtfnxeT5kTMrG0z1/7yYFHZchzEogTA2lYjKL

praveen, to rust

... consider that and were both developed nearly exclusively by people working for firms. Yes, dynamic linking and maintenance of stable ABI promises are hard. That
means they cost. But static linking and volatile ABIs also have a cost--an opportunity cost. If that cost is both (1) hard to measure and (2) will be borne by economic actors outside your firm, the obviously rational choice is to not bother with dynamic linking and stable ABIs.

https://lists.debian.org/debian-devel/2024/01/msg00308.html

pieceofthepie, to uk
@pieceofthepie@n8e.dev avatar

Come work with me! We have a primarily modern PHP 8.2 stack using Mezzio but as an org are diversifying into Go. We also have a fair bit of Python lying around. We run CI/CD and manage our AWS environment using Terraform (though our embedded OPs team member will typically manage that).

https://www.jobtrain.co.uk/justicedigital/Job/JobDetail?jobid=206

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