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
lemmy.world
Lihat kiriman asli pada platform media sosial terkait.
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
laughs in golang
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.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
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.world
Especially this hate towards those corporate bots who ignore robots.txt and try to burn my house by putting my computer on fire because it exposes code to the internet. How dare I do that. Just be happy that 8 cores are 100% utilized on golang hosted website and it’s only /13 ip range ddos not /8
Komunitas
lemmy.world
Go hang out with GoLang, it’s fast too AND easy.
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.ml
Lihat kiriman asli pada platform media sosial terkait.
Komunitas
lemmy.ml
Lihat kiriman asli pada platform media sosial terkait.
Komunitas
lemmy.bestiver.se
I built GoSMig for personal projects and open-sourced it. It’s a tiny library for writing migrations in Go (compile-time checks via generics). Supports both transactional and non-transactional steps, rollback, status/version commands, and a built-in CLI handler so you can ship your own tool. Zero dependencies (std lib; golang.org/x/term used for pager support) database/sql and sqlx supported out of the box, others would work too tested with PostgreSQL, other RDBMSs would work too Repo: https://github.com/padurean/gosmig Examples: https://github.com/padurean/gosmig/tree/examples Curious how this compares to your current workflow and what would make it adoptable at work. Comments
Komunitas
lemmy.ml
Lihat kiriman asli pada platform media sosial terkait.
Komunitas
lemmy.ml
Lihat kiriman asli pada platform media sosial terkait.
Komunitas
lemmygrad.ml
Golang (4 years), Swift (2 years), JS (5 years), CSS (5 years), HTML (5 years). I am most familiar with Golang, and have created multiple projects with it, my biggest one being ITD. I’ve made websites too, such as SimpleDash and Scope. I prefer to minimize the amount of JS within my websites so as to drastically increase their speed, but I use it where needed. I am relatively active, especially on Reddit and Matrix. I have worked on multiple websites in the past with varying software stacks. I have been a Marxist-Leninist for 2 years. I like Lenin most. It is absolutely necessary. u/ArsenM6331
Komunitas
lemmygrad.ml
Golang, javascript, typescript. 5 yrs Not much. Just my favorite food/socialist subreddits Yes, I build web applications for my day job. 4 yrs Lenin Obviously Same as on here: aldentesempre