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

Released version 0.13.2 of today:

https://github.com/teleclimber/Dropserver/releases/tag/v0.13.2

It adds an HTTP proxy to the sandbox as a starting point to monitor outbound requests from the app.

It fixes some leaking file descriptors and goroutines which caused problems for long-running instances.

Lots of code cleanup to clear the path for the next things I'll work on.

runjaj, to Baduk Spanish
@runjaj@mastodon.social avatar

¿Conocéis alguna buena web, aplicación o libro para aprender a jugar a o ?

ArneBab, (edited ) to ai German
@ArneBab@rollenspiel.social avatar

When AlphaGo cracked , the holy grail of game AI, it proved that there are problems that we could only solve via a machine learning approach.

Other approaches never managed more than mediocre play, beat the world class.

Nine years later there are two types of :

  • Type 1 solves such problems.
  • Type 2 is bullshit.
carapace, to golang
@carapace@mastodon.social avatar

Is this a bug in Go's regexp package? This program should print false instead it prints true:

package main

import (
"fmt"
"regexp"
)

func main() {
r := regexp.MustCompile("^1|0$")
fmt.Printf("%v\n", r.MatchString("00"))
}

I checked against Python's re module and it works as expected:

>>> import re
>>> r = re.compile('^1|0$')
>>> print(r.match('00'))
None

galdor, to random
@galdor@emacs.ch avatar

In , you cannot call the String method on a literal URL struct ("cannot call pointer method String on url.URL") because the String method has a pointer receiver. String does not modify the object, but it uses a pointer receiver to avoid copying the object for each call.

This is what you get when 1/ you design a language with pointers (why would you do that in 2009?) and 2/ you do not have "const".

Just bad design.

bentsukun, to random
@bentsukun@mastodon.sdf.org avatar

Two new versions released with security fixes, 1.22.3 and 1.21.10. Already available in HEAD!

TehPenguin, to rust
@TehPenguin@hachyderm.io avatar

When posting your programming language comparison article, can you please include the context of your comparison?

"Rust vs Python, which is better? "
"Sir, this is a kernel"

"Why I switched from C++ to Go"
Taps sign: "No GC or green threads in the kernel"

Sincerely, a systems dev who'd like to remind you that APIs existed before REST...

hynek, to random
@hynek@mastodon.social avatar
sirber, to Laravel
@sirber@fosstodon.org avatar

/ Eloquent looks way easier than / typeorm and / / 😅

stefano, to golang
@stefano@bsd.cafe avatar

Interesting reading: Go performance from version 1.0 to 1.22

https://benhoyt.com/writings/go-version-performance-2024/

kowalabearhugs, to rust

Calling all hackers, apply for the 1st ever Hackathon.. https://monerokon.devfolio.co

  • Free entry to 🎟️
  • Free food & drinks 🥪🍻☕️
  • Hackers can crash overnight @ Paralelni Polis 😴
  • $6k+ in prizes & bounties 🏆 including a 2000 USD paid in XMR award from the MAGIC Monero Fund (subject to increase)
  • max: 100 ppl.

https://monerokon.devfolio.co/

83r71n, to Cybersecurity

A critical vulnerability, named BatBadBut, was discovered in the Rust programming language, affecting not just Rust but also Erlang, Go, Python, Ruby, and potentially others. This vulnerability, with a severity score of 10/10, could allow attackers to execute arbitrary commands on Windows systems by exploiting how Rust handles batch files. The issue arises from Rust's standard library improperly escaping arguments when invoking batch files on Windows, leading to potential command injection. The vulnerability has been addressed with a fix in Rust version 1.77.2, which developers are urged to update to. Other programming languages and systems, including Node.js, PHP, and Java, are also affected and are working on patches.

https://flatt.tech/research/posts/batbadbut-you-cant-securely-execute-commands-on-windows/

https://blog.rust-lang.org/2024/04/09/cve-2024-24576.html

msf, to rust
@msf@hachyderm.io avatar

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

why is my #Go implementation faster than the #rustlang 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

purelinux, to golang German
@purelinux@social.tchncs.de avatar

Whats your favorite #Go #webframework ? And why?

#golang

alyx, to golang
@alyx@3615.computer avatar

What’s your favorite library in #Go #Golang for web authentication? Or any other recommendation to implement it (like std lib or just a JWT one etc).

Ideally it supports classic credentials, 2FA and passkeys. Bonus for OAuth providers that you can extend (if it does not support Mastodon out of the box for example).

Reboost welcome 👉👈

Wisesnail, to goodomens
@Wisesnail@mastodon.social avatar

I can relate, ... I really can! 🙈

I hope you like it 💙

billy, to rust
@billy@fosstodon.org avatar

Is there a language like #Rust (compiles to native binary, preferably without GC or manual memory management, has an easy-to-use build system) that also doesn't end up pulling in hundreds of transitive dependencies? Ideally what I'd want is like Rust but with #Python's standard library, capable of handling most basic tasks (even if external dependencies would make life easier). I often look at #Go but I don't want to tangle myself up with Google anymore than I already have

AndriiKuznietsov75, to Java Ukrainian
@AndriiKuznietsov75@social.kyiv.dcomm.net.ua avatar

Як працюють компіляція та виконання коду👇
🔸Компілювані мови (#C, C++, #Go)
Вихідний код перетворюється компілятором на машинний. Машинний код виконується безпосередньо процесором.
🔸Байт-код (#Java, C#)
Вихідний код компілюється у байт-код, а потім JVM виконує програму. Іноді JIT-компілятор компілює вихідний код у машинний, щоб прискорити виконання.
🔸Інтерпретовані мови (#Python, #JS, #Ruby)
Тут для виконання програми не потрібен машинний код, натомість програму рядково виконають інтерпретатори.

video/mp4

rgacogne, to random
@rgacogne@mamot.fr avatar

Do I have a great developer looking for a job in my contacts?

We at PowerDNS are hiring, remote is not a problem (most of us are remotely working from various places in the EU at the moment): https://careers.open-xchange.com/job/The-Hague-Senior-Software-Developer-PowerDNS-%28Go%29-%28mfd%29/973784855/

sonny, to rust
@sonny@floss.social avatar

#SwiftLang
#rustlang / #Rust
#Python
#JavaScript / #TypeScript
#C
#Vala
#Go
#CSharp
#CPlusPlus

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

devhindo, to golang

I'm looking for a remote GoLang job
Here's my GitHub: https://github.com/devhindo
Also, any insights that would help me land a job would be appreciated. I have projects listed on my GitHub and I know Go very well but idk what to do else
#go #golang #backend #software #jobs #HashyJobs #hiring #remotejobs #remote #backend

8rix, to LEGO French

3 votes to go for my Legoban !
We're very close to reach the Lego Ideas first milestone, would you mind spread the word?
Please support on https://ideas.lego.com/projects/40333b82-e8a0-4f31-8a13-307ca9ea36cc

#lego #bricks #moc #go #goban #gogame #strategy #strategygame #boardgame #joseki #fuseki

feudjais, to DigitalNomadHub French
@feudjais@eldritch.cafe avatar

Les devs qui sont en freelance, est-ce que vous pouvez répondre à une ou plusieurs de ces questions pour moi ? Je numérote pour que vous puissiez répondre à celles que vous voulez. Vous pouvez répondre en privé si vous préférez, évidemment !

1/ Comment vous trouvez vos missions ? (Plateformes ? Bouche à oreilles ? Autre ?)
2/ Combien vous gagnez par an net d'impôts environ ?
3/ Combien de temps vous passez à travailler ? (Si possible, détaillez temps passé à chercher des missions, temps passer à dev, etc.)
4/ Comment vous avez franchi le cap ?
5/ Quelles compétences vous avez ?
6/ Si vous étiez en CDI avant, qu'est-ce que vous préférez ? Qu'est-ce que vous aimez moins ?

Sentez-vous libres de retooter pour que j'ai un maximum de réponses. Ça m'aiderait beaucoup !

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