Komunitas
lemmy.ml
Skimming their website, I noticed two issues with their dependencies. First, https://berty.tech/docs/protocol/ says *The only non-standard packages used in the Berty Protocol are the following two, although they have been written by experts are widely reviewed by the community: libp2p/go-libp2p-core/crypto agl/ed25519/extra25519 Clicking through to ed25519/extra25519, one can see that the upstream author replaced that code two years ago with a readme that says “This repository is unmaintained” and “Uncared for code is not a foundation to build upon”. (The part that was merged in to golang’s standard crypto library does not include the “extra25519” code that this project requires.) Second, I see that their Go-Tor-Transport relies on go-libtor which currently is using a year-old snapshot of the -dev branch of upstream tor. (I haven’t yet discerned if Tor is fundamental to their design or if it is an optional thing, but i suspect the latter?)
Komunitas
sh.itjust.works
Exactly. Say I’m having some issue with a function. I comment out half the function to see if that’s where the weirdness is. Golang says “unused variable, I refuse to compile this dogshit!” I completely fool Golang by just using _ = foo. Yes, I was correct, that’s where the problem was. I rewrite that section of the code, and test it out, things work perfectly. Only now, it turns out I’m not using foo anymore, and Golang has no idea because I so cleverly fooled it with _ = foo. Now, something that could be caught by a linter and expressed as a warning is missed by the language police entirely, and may make it into production code. Police the code that people put into a repository / share with others. Don’t police the code that people just want to test on their own.
Komunitas
lemmy.ca
Concluding paragraphs are a thinly veiled bash at Golang and its creators. Whatever. I like Go. I like C. I like lots of other languages, for different reasons. Haven’t learned Rust yet, but am already tired of the ivory-tower attitude of its proponents.
Komunitas
awful.systems
Other classic Rob Pike moments include spamming Usenet with Markov-chain bots and quoting the Bible to justify not highlighting Go syntax. Watching him have a Biblical meltdown over somebody emailing him generated text is incredibly funny in this context.
Komunitas
lemmy.sdf.org
Golang is technical debt in language form. A language that gained limited and now sagging popularity, for good reason. I hate to work in Java but hate golang more. It’s the lightsaber of programming languages. I’ve got shit to do, give me blasters and all the rest. And I’m not interested in wanking myself off about how I did it all with channels. [edited for typo/clarity]
Komunitas
lemmy.world
laughs in golang
Komunitas
lemmy.ml
It will depend on the books maybe someone already has read them can chime in. But I saw a post like this for golang, and everyone in the comments were saying the books were ai generated crap.
Komunitas
programming.dev
Vue.js, it’s the simplest of the popular frontend frameworks You can learn a hellton about sysadmin and DevOps by running a home lab and aiding that with some courses and maybe one cert or two but I wouldn’t splurge on certs that readily. Golang, Express.js, Nest, Flask, SQL (a must), maybe Spark if you dare. Any popular and expressive framework/language for full stack/backend, except for Rails and PHP, those are dying technologies despite their still relatively high popularity in some countries. Maybe Flutter, Swift or React Native if you want to get into mobile dev. Just go to a job board, then to learnxinyminutes.com, pick something and start with building small, then medium sized, then maybe more complex projects or contributing to FLOSS written using your tech of interest (but please, PLEASE don’'t treat OSS contributions primarily as a way to get a job. Pick something you use instead. Try to figure out how you would implement something, do that and don’t let the impostor syndrome win if it uses a tech you’re familiar with whenever you want to open an issue on a git forge.
Komunitas
lemmy.world
Nah, C# suffers from a lot of the same shit Java does. Needing everything to be a class is just no longer a good design choice (if it ever was). AOT support is still lacking. I don’t get, why it does not have typdefs. I think the solution / project structure is unnecessary and I could probably think of more stuff I dislike about C#. But imho, it still beats Java. Golang is my choice over C# any time. I strongly prefer how interfaces are handled and I actually like the error handling.
Komunitas
lemmy.world
And I just made an HTTP endpoint in golang that outputs PNG labels with small QRs just as I need them, to print out on my Bluetooth label printer.
Komunitas
lemmy.ml
Lihat kiriman asli pada platform media sosial terkait.
Komunitas
lemmy.ml
Lihat kiriman asli pada platform media sosial terkait.
Komunitas
lemmy.ml
Lihat kiriman asli pada platform media sosial terkait.
Komunitas
lemmy.ml
Written in Golang
Komunitas
lemmy.ml
Lihat kiriman asli pada platform media sosial terkait.
Komunitas
lemmy.ml
Lihat kiriman asli pada platform media sosial terkait.
Komunitas
lemmy.ml
Lihat kiriman asli pada platform media sosial terkait.
Komunitas
lemmy.ml
Lihat kiriman asli pada platform media sosial terkait.
Komunitas
lemmy.world
Hi, and thanks! As a priority I’d like to gather some more rigorous performance benchmarks, but I can give you some hand-wavey stats now: Bitmagnet is currently fluctuating between 2-10% CPU usage on my M2 Mac Mini, and is using ~120MB of memory having currently been running for around 48 hours. Overall, the GoLang implementation seems pretty efficient to me considering how much I know is going on in the background. Disk space usage of the database- this will be highly dependent on 2 configuration options, the first of which I’ve only just added in the just-released version. Copied from the configuration page of the website: dht_crawler.save_files (default: true): If true, file metadata from the DHT crawler will be saved to the database. This provides more rich information about a torrent, but will use a lot more disk space. If disk space is at a premium you may want to consider disabling this. dht_crawler.save_pieces (default: false): If true, the DHT crawler will save the pieces bytes from the torrent metadata. The pieces take up quite a lot of space, and aren’t currently very useful, but they may be used by future features. For me, 24 hours of crawling uses ~2.5GB of database disk space for metadata on the ~120k torrents it has discovered. Yep, that sounds like a lot, however 90% of that is taken up with the files metadata, and could have been saved by setting dht_crawler.save_files to false. In fact I may set this to false by default and allow users to opt-in to the full-fat torrent info. I’ve also imported the entire RARBG backup (the SQLite one, see tutorial on the Bitmagnet website). This, along with all the associated metadata from TMDB, took around 4GB of database space, which seems quite acceptable considering it’s basically every movie and TV show. Note that this does NOT include the metadata on individual files as I described above. A priority feature for me (detailed on website) is smart deletion - this would allow you to automatically discard a lot of data that can be automatically determined of no interest and therefore greatly reduce disk space demands.
Komunitas
lemmy.ml
Lihat kiriman asli pada platform media sosial terkait.