Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "go"
-
HTML: Hate This Meaningless Life
CSS: Can't Style Shit
JS: Just Shit
Java: Just another vicious asshole
PHP: PHP Hates People
Go: (the "fuck yourself" is silent)
.NET: Now Everybody Thinks (they can code)
I really should find a more productive thing to do on my breaks.19 -
Website: We care about your privacy and don't sell your information to third parties.
*inspects Privacy Badger*
*notices a truckload of Google/facebook trackers/ad thingies*
Yeah why don't you go fuck yourself.12 -
Postman: We will stop supporting our Chrome app. Please download our "Native" app for better performance.
No motherfuckers.. Go die, alone, while your fucking family watch you bleed to death helplessly.
Electron is not native, don't mix true native development with lazy ass electron. Fuck you. A native postman would've been around 15MB in size but your "native" installer is 68MB so shut the fuck up and don't call it native or I will stick my native dick in your fucking throats.
I develop native apps So yeah, I'm pissed when web devs are starting to call electron and JS as native desktop apps... They are not... Now fuck off you smelly cunts.40 -
Websites that only display the language based on IP address (geolocation data) can go fucking fuck themselves.
THE FACT THAT I'M USING A VPN SERVER IN GERMANY DOES NOT MEAN THAT I CAN FUCKING READ GERMAN. AT LEAST GIVE ME THE MOTHERFUCKING COCK SUCKING OPTION TO CHANGE THE FUUCKING LANGUAGE YOU FUCKING FUCKING FUCKING FUCKING COCKSUCKERS.
MOTHERFUCKER.28 -
Fuck Microsoft.
No, not in any relation to windows this time.
Dear Microsoft, why on earth did you put us on your spam blacklist? There haven't been any spam attacks from our side, our servers have nearly the highest 'reputation' that email servers can get, we comply to all security standards and yet you're blacklisting us.
If for some reason you think something is wrong at our side anyways, we've tried to contact you and we either get ignored or get a very late response saying that we'll get delisted again within a day/week or whatsoever.
Microsoft, please go fuck yourself.25 -
"Oh you make games!
Can you make something like Pokemon Go? We you need to make it quick cause we only have 10 days till the event."
😓10 -
Me: Mom, I'm learning a new programming language
Mom: How is it called
Me: go
Mom: do u like it?
Me: yes, it's pretty
Mom: do u like it more than linux?41 -
Battery testing new app at work. Boss wants us to test Pokemon Go for comparison. I get to leave the office for 2 hours to catch Pokemon and get paid...4
-
They asked me if I could recommend any video streaming frameworks. I said no, but I could google around a little. I found one, sent it to them with a note that I hadn't used it but it seemed solid.
One afternoon, right before hometime, a month later and the day before go-live, I come in, to emails with _all_ the managers on it, demanding that I assist immediately. They'd finally tried testing it, and they had found an issue. No details.
I email back, asking for the actual issue they'd found - no response. I phone - that developer has now gone on leave for week, there's a new dev who'll help me. I email him, asking for "precise technical details" of what had gone wrong.
He replies, "when you try use it, it literally causes the apocalypse." and goes silent. I check the skies, no visible apocalypse yet.
Based on some keywords they'd mentioned, I google and find a known issue as well as a patch for their version. I email it over to them.
The response? "If I'd known he was just going to Google it, I would have tried that myself."14 -
I'm learning golang currently. I 'designed' a mug to keep myself motivated. Turned out pretty good.12
-
The golang mascot perfectly embodies the language. It's quirky and weird, but in the end it does it's job5
-
Can't concentrate when this guy constantly keeps a check on the page number (progress) I have reached while learning GO. 😂5
-
A little while ago, my hackathon group started using Go more than Node....
I had to ask...
Where did all the Node hype Go?6 -
I just love articles like "Moving from Go to Node.js"
2 completely different topics and different use cases and can't and should not be mentioned together10 -
Today I uninstalled WhatsApp, I mean I haven't had a look at it in over a month and nobody texts me anways.
Writing this makes me realize how sad this is
I don't want to support Facebook or any data mining company, instead I want to support (free) / open source software like Signal33 -
Yo, is this devrant or spamspace???
Like, do you even fucking work, mates? Are you a dev? How doesn't a fucking legacy code piss you off on a daily basis? What are all the ways you want to respond to your customer's/PM's abuse? Does your lead dev even know jackshit?
Where did all your quality rants go? Why do you all sound like second graders writing essays for school? Have some passion for your job, and hatred for the incompetence for others!
Now, go produce some quality rants! Funny ones too! Bonus points if it's angry-funny.20 -
Today I got myself a "Surface Go".
I thought that it will be too cramped/small for web-developement, but now that I have one I am really surprised about the power/flexibility that this thing serves.
GG Microsoft, you have done something right.19 -
Blender animation playback under
Windows - 9.1 fps
Arch - 10.6 fps
Impressive! Both are too slow to be usable (curse my shitty laptop) but hey, I'll gladly take that 1.5 fps improvement.4 -
By heavens creating your own api server with the Go standard lib is so easy it should be fucking criminal.
Now....on to add authentication and a nice frontend stack(prob React) to make it all spiffy and show it to my manager and see if she lets me put this shit to use at work.
It will make it more interesting. It took me nearly 1 hour to get what I needed from the docs, build it using the net package first(das right babe, pure TCP) and just a couple of minutes more for net/http and boom. Ferching info and shit left and right
Man I love this shit. Wish I could do this for a living. Stuck fucking around with css, Java and php at work instead ;____;10 -
So I just got let go because there was not enough work to keep me full time. Yet my manager was farming out dev work to a 3rd party developer... Fml3
-
Hypothetical survey:
Ctrl + s still saves your work but at the same time it pushes to production. How fucked are you?11 -
How the fuck have I not been using GO!
What bullshit wizardry is this!!!
I think I'm in fucking love!!
Sorry php, it's been a long long relationship, but I think I have a crush on this hamster. 🥰17 -
Sitting in my backyard, trying to mentally troubleshoot some coding issues in the fresh air, and I hear my neighbor say, "...she was picking her bum before..."
Back inside I go.2 -
so another java!=javascript rant…
so an inexperienced friend of mine was having a conversation with me, and he was using the words java and javascript synonymously (meaning he thought they were the same thing).
so, i corrected him.
“you know javascript isn’t the same as java though.”
“oh, it’s not? ok then.”
and we went about our day.
three days later he was talking to me again, and we were talking about new web backends, and, as you might have guessed, golang came up.
he then said “i was talking with a noob to programming, and he thought go and golang were the same. i sure told him!”
🤦♂️🤦♂️🤦♂️6 -
I know it's not trending anymore but talking about poor products - the Pokemon GO app! I mean, that shit is the Windows Vista of apps. Never before have I seen a product that crashes on the simplest gui tasks.
And after a month they finally roll an update which consists of.. "Minor text fixes"! $#%!2 -
When you wear headphones without playing any music, and avoid anyone's line of sight to get work done5
-
THIS FUCKING DEBUGGER IS IGNORING MY FUCKING BREAKPOINTS
GO TO HELL YOU PIECE OF SHIT
AND RSPEC: FUCK YOUR LIMITED METHOD HIT-COUNTING BULLSHIT! ONE HIT-COUNT PER METHOD FOR THE ENTIRE SPEC IS NOT GOOD ENOUGH!
FJA;KLGAKLGJFKSDHG17 -
So we were trying to make a Go AI bot for our school project and then let it play against itself. Well... it might be able to beat AlphaGo, right?3
-
School taught me how to read,
Python taught me how to think,
JavaScript taught me how to work,
Go taught me how to act.10 -
This is how Pokémon Go shows errors to its users. It says a generic „Error“ in German with different numbers for different errors.
I am not an UX expert, but isn’t this a really bad practice? The error number has no meaning to the user, so why displaying it? I think it is just confusing and looks ugly 😐8 -
I have a bit strange personal rule - If I encounter something more than three times during 3hrs period, I certainly must learn as much as possible about it. Last night I've stumbled upon few listings in Go language.
So, starting this morning, decided to learn Go. So far, so good.
P.S. Is it just me or Go really does have strong C/C++ vibe (but is, indeed, higher level language)? Old guy like me, must like that.12 -
You know what I realized something. And im gonna brag about it. I taught myself laravel, vue, JavaScript, basic Unix server admin stuff and more all without every asking a single question on a forum.
Basically out of laziness, and impatience, though.
Still, go me.4 -
Learning Go. How I didn't learned it before? It has the efficiency of a low level language with the beautiful syntax and abstraction of a high level one.4
-
it's so fucking hot in here and I've got no work and still 3 hours left to go...just let me go hooome!5
-
Go is fast they said, Go is lightweight they said.
package main
import "fmt"
func main() {
var nums []int
for i := 10; i > 0; i++ {
nums = append(nums, i)
i--
}
fmt.Println(nums)
}
# htop
| PID | USER | VIRT | %CPU | %MEM
| 12048 | root | 16.9g | 101.3 | 94.2
WTF is eating my resources to hell and.... oh... oh im a dickhead!9 -
NO. NO. A THOUSAND TIMES: NO.
I clicked on this out of genuine curiosity to see if someone was finally trying to discourage people from annoying the shit out of website visitors. A summary of the suggestions in their article as to what to use popups for:
1. Announce new products/services, features, policy updates, new blog posts
2. Promote your sales or coupons (including countdowns)
3. Encourage people to input their e-mail address / subscribe, perhaps also offering some vague thing they will get as a reward for doing so
4. Contact forms (e.g. support etc.)
5. Prompt visitors to confirm their age before showing content
6. Login/register forms
7. Display social media "share" buttons when a visitor has scrolled a certain way through the page content.
8. Display cookie consent prompt.
9. Help guide visitors to the part of the website they want to go to.
Of these: 1, 2, 3, and 7 need to die for sure. If a website does any of these things I'm inclined to immediately leave and never return. 8 is a little annoying but seems a necessity.
Someone even replied to the Tweet saying that popups are annoying, the company responded with "let's change that!"
Blank portions of the screenshot are to avoid promoting the company unintentionally as a result of the rant ;)3 -
!!!
If you want to code on windows, just punch your self in the face. It will save you a lot of time.19 -
I got this new job last month, but don't really have much work allotted. So I decided to make some productive use of my time:
made this
https://github.com/jayeshsolanki93/...
Its a library for devrant in go.
would love some love, feedback/pull-requests 😄5 -
Finally!
Got my Minecraft server running inside Docker to properly stream logs through Go to this shitty web interface. Fucking hell I didn't think this would be so fucking complicated!
Edit: Forgot the image :)13 -
I am writing much less code for certain things in C++ than I would in Go...
I guess that sticking to traditional languages has its advantages. ;)9 -
- the first time I have to touch a GO codebase
- it's the day GH goes down
come on, what's happening here! First dR, now GH? Tomorrow what - SO's turn?8 -
I decided to start learning go yesterday.
I had a Fun little automation task at hand and got to work...
The next time I checked the clock it was monday 02:40 AM
Getting up at 06:10 was hard...2 -
When people give a bad review on your app because they dont know how to use it, they dont know what it is, and they don't bother reading the description.1
-
Why Nintendo why??!
Why can't you make a normal Pokémon game like in the Gameboy for Mobile Devices!
Pokémon Go is good but I miss the old one. Too much today I guess.13 -
I started learning Golang today and really like it.
The error handling is *excellent*. It always works the same way and is standardized, unlike the hell that NodeJS error handling is (.catch(), try).
Modules confused the fuck out of me. I eventually figured out how they worked, but Go really doesn't try to make it easy to have multiple source folders...
I'll probably be re-writing my Discord Bot in Golang soon. Being able to have just one binary output will make things infinitely easier. Compile-time variables are another feature that's nice and easy to implement.
The goal is only having to upload a single binary to deploy on production from my CI script that has all keys and stuff inside. Feels good to finally throw all that old bad JS code out and starting completely fresh.7 -
Today is just one of those bad days where I just don't even want to be in the office (yet outside it's rainy as fuck)
Either way I gotta make this oculus go app and I have to look into the headset every like 5 minutes to test it.
Damn VR programming is just so awesome bc you can literally sleep with headset on and none will find out1 -
The more I write Go the more I get to like the language, but today I felt like I hit a huge wall. I found out that the structure I initially planned for my Discord bot wouldn't work for what I actually wanted to achieve, which made me feel like a completely useless developer. I develop SaaS solutions in the form of REST API's for a living, so making a bot is completely new to me, which is why I probably shouldn't feel so useless. Any advice for getting back on the horse again? I really want to see this hobby project finished. But starting over after almost 20 hours of work feels so demotivating 😕2
-
!rant
I aliased the go package manager dep to derp
I do this because I consider myself a grade A derper.
I derp hard when I write in go, not because of not getting the language,on the contrary....I feel quite profficient in it which gives me the ability to derp whilst cosing.
Go is amazing. Such a boring language in the best way possible in terms of syntax but so fun in productivity.
Microservices galore l.4 -
Today so far:
1. How to become a professional project manager in few months
2. From zero to pro in C++ with this course bundle
3. 2 Months into flutter and I regret nothing
Uni graduates: Remember when we had to bang our heads against the wall a million times to finally earn our degree!
Non uni graduates: Remember when you had to go through million documentations, write lots of code to sharpen your skills?
Ya both categories above can go fuck them selves, these days follow a tutorial or buy a 10 min videos to be the next big thing in any field ... -
CppCon2017 is COMING guys!! All these crazy speakers and conference! I won't say their names because they are too many x) But... FUCK ! That's the only moment I wish I lived in USA... No streaming, can't go... Only one thing to do, wait the upload on YouTube...
When I see people hyped about GoT or whatever... Guys this is the REAL HYPE!!!4 -
If number of people using Pokemon Go tries to learn programming go the world would be much better place to code.
-
Workarounds are great. I remember one time, I had a server that let anyone access any file as long as the knew the right path. I wanted to store data in a .txt (it wasnt secure passwords or anything, so calmyourtities), but then had access too it. Now, this server wasn't running anything except PHP, so I created a database.php, and within was just some php tags. I ended up modifying the database.php from other PHP scripts and storing all the data as PHP comment, then parsing thru it as I needed, so loading mydomain.biz/database.php wouldn't show the data. ex of my database.php (to all that might not understand because I'm bad at explaining):
<?php
//USER1:DATA1
//USER2:DATA2
?>2 -
Gophers unite! Share your favourite gopher! Mine is this epic pirate :)
FYI: The Go gopher is Go(lang)'s mascotte.3 -
Go's a few times slower than C++ or Rust according to this benchmark. But not compared to shit shitshow of a language.
https://benchmarksgame-team.pages.debian.net/...23 -
μRant
Normal languages for longer ifs:
if ( (condition1)
|| (condition2)
|| (condition3))
Go:
if (condition1) ||
(condition2) ||
(condition3)
That OR at the *end* of line deeply disturbs me10 -
Got let go / fired today. I was still on my probation period, but they are going to pay me out for the next 2 weeks.
My boss wasn't even in the call "because he's in a sales meeting".
You know you are being let go when you don't have access to any company passwords, and they don't assign you any new work.
Well, onto something new. But first going to relax and catch up on my sleep.2 -
I like PHP but every new tech is about all the other languages ! Recently i was searching for microservice architecture and oh it's so easy with nodejs ! It's ready made for Go ! Java has a library build in ! What about Symfony ? Laravel ?18
-
I want to learn a new programming language. What should I learn? I am torn between Kotling, Go and Scala.
Or should I just learn a new JS framework? ;)17 -
If you've ever tried using Go plugins raise your hand.
If you've ever tried doing plugins in Go, raise your hand.
If you think that the following rant will be interesting, raise your hand.
If you raised your hand, press [Read More]:
This is a tale of pain and sorrow, the sorrow of discovering that what could be a wonderful feature is woefully incomplete, and won't be for a very long time...
Go plugins are a cool feature: dynamically load pre-compiled code, and interact with it in a useful and relatively performant way (e.g. for dynamically extending the capabilities of your program). So far it sounds great, I know right?
Now let me list off some issues (in order of me remembering them):
1. You can't unload them (due to some bs about dlopen), so you need to restart the application...
2. They bundle the stdlib like a regular Go binary, despite the fact that they're meant to be dynamic!
3. #2 wouldn't be so bad if they didn't also require identical versions of all dependencies in both binaries (meaning you'd need to vendor the dependencies, and also hope you are using the right Go version).
4. You need to use -trimpath or everything dies...
All in all, they are broken and no one is rushing to fix it (literally, the Go team said they aren't really supporting it currently...).
So what other options are there for making plugins in Go?
There's the Hashicorp method of using RPC, where you have two separate applications one the plugin, one the plugin server, and they communicate over RPC. I don't like it. Why? Because it feels like a hack, it's not really efficient and it carries a fear of a limitation that I don't like...
Then we come to a somewhat more clever approach: using Lua (or any other scripting language), it's well known, it's what everyone uses (at least in games...). But, it simply is too hard to use, all the Go Lua VMs I could find were simply too hard to set up...
Now we come to the most creative option I've seen yet: WASM. Now you ask "WASM!? But that's a web thing, how are you gonna make that work?" Indeed, my son, it is a web thing, but that doesn't mean I can't use it! Someone made a WASM VM for Go, and the pros are that you can use any WASM supporting language (i.e. any/all of them). Problem inefficient, PITA to use, and also suffers from the same issues that were preventing me from using Lua.
Enter Yaegi, a Go interpreter created by the same guys who made (and named) Traefik. Yes, you heard me right, an INTERPRETER (i.e. like python) so while it's not super performant (and possibly suffering from large inefficiency issues), it's very easy to set up, and it means that my plugins can still be written in Go (yay)! However, don't think this method doesn't have its own issues, there's still the problem of effectively abstracting different types of plugins without requiring too much boilerplate (a hard problem that I'm actively working on, commits coming soon). However, this still feels to be the best option.
As you can see, doing plugins in Go is a very hard problem. In the coming weeks (hopefully), I'm going to (attempt to at least) benchmark all the different options, as well as publish a library that should help make using Yaegi based plugins easier. All of this stuff will go (see what I did there 😉) in a nice blog post that better explains the issues and solutions. But until then I have some coding to do...
Have a good night(/day)!13 -
When your boss doesn't appreciate your ideas and tells you to "go to hell". The worst part of his statement was "go to" :|2
-
As I haven't seen anyone post about it yet, Go's error handling and contract (Go's generics) drafts are out: https://blog.golang.org/go2draft2
-
Some weeks back I mentioned (in a comment) my small program capable of editing the tags in audio files based on the filename.
Today, I had some spear time and implemented it in Go (the original version was Ruby).
For people that are interested, here is a link to the repo: https://github.com/SirWindfield/...
Any help/feedback is appreciated!
I promised someone to mention him if I get to publish it. But I forgot his user name :(9 -
In 2006, everyone thought that earth will be a better place ten years later...
Then came Pokémon Go. -
Anyone remember my rant about Go and GTK? Well, the main problem was that it was 3 AM, I've since completed it, and have begun to refactor that spaghetti mess.
I feel so good right now.4 -
Kids of the future will one day ask their parents how they met and it's gonna be like this:
Kid: "Mommy how did you and Daddy meet?"
Mom: "We met by bumping into each other while playing Pokemon Go"1 -
I'm literally laughing my ass off at how Google gave their fat middle finger to Object Oriented programming with Go's Structs, Methods, and Interfaces. F*** you Java and C++! :-P4
-
now taking server names for our live backend server, most +1d's by tomorrow arvo i will name our server that.24
-
!rant
So, recently new CTO joined.
And suggested to migrate our entire platform on GO from PHP.
And all dev teams will get new macs.
Its gonna take more 3-4 months so.
Kind of exicted to work on.7 -
Referring to this, about best programming languages,
https://devrant.com/rants/1322105/...
I’m more disturbed about Go didn’t make the list. At all.1 -
So I’ve asked one hipster js developer what does he think about golang. His answer was:
- it’s the same as nodejs, but difference is that go has pointers
O_o7 -
Been trying #rust for 3 weeks now and I really like it. No hopes for a job, but it's nice to have different point of view when coding in Go.3
-
This rant must be because of my oldness. I was never into Pokemon, but my oldest kid was.
So the hashtag for Pokemon Go makes little sense to me. It could just as easy be an insulting Poke Mongo (ie harazzing a Down's Syndrome person) as Pokemon Go.
There. Out of my system. Please carry on.4 -
Hey guys and girls, quick question.
Im currently writing my own collection-framework in Go.
It has a Collection-Interface, that looks like this:
Clear()
Size() int
ToSlice() []interface{}
Add(...interface{}) error
Remove(...interface{}) error
Contains(...interface{}) (bool, error)
The library should also contains stuff like stacks and queues, so datastructures, that dont fit that interface perfectly.
So should i write a weird implementation of the interface for them, like Remove for stacks (high pitched internal screaming), or should i just say fuck it, and dont implement the Collection-Interface for these specific types ?3 -
I am witnessing Einsteins theory of relativity first hand, I’m amazed. The closer I get to Microsoft products, the slower my velocity becomes. At 9 PM, I have tried to connect a MS SQL Server to an ERP System for 30 minutes. After this piece of shit robbed me of all my energy, I look at the clock and it’s midnight. Go die in a dumpster fire Microsoft4
-
Fuuuuuuuuucking hell. I have a program that parses and generates information from shit I have in a database into a csv file. Shit was simple enough to be done in Python.
Trying to present that shit into fucking pdf files? without drawing shit on x,y coordinates like a retard or without downloading a fucking obscure number of bs shit into the computer? on a fucking WINDOWS machine? fuuuuuuuuuuuuuuck.
Ok no problem. Do it in Node. WHAT IN THE HOLY FUCK more bullshit with drawing shit line by line. fuck this.
Lol not even going to touch java or c# for this, this is quick.
mmmh perl? nah, php? nah
Well shit I just need to generate data from a csv into a html template and send it away as a docume....go? ok lets....ah....done
Go wins again in my book ladies and gentlemen
It even has fewer lines of code than the php experiments8 -
Friend: where did you go to college, to do something like that?
Me: oh well I went to the university of my bedroom. -
A colleague said he wanted to call today.
Yeah, today, but not 10 fucking minutes before I planned to go home! -
I'm getting started with Go (so cool so far!) and I'm trying to interact with Tumblr API using their Go Client...
Every time I google something about it I got the growing feeling that I am the first person who uses that client LOOOL2 -
Another try to optimize app for Android Go.
For those, who doesn't know, app will be featured in special Google Play section if it fits some restrictions.
And one of thhose restrictions - app must use less then 50Mb of RAM.
So, I've decided to start from scratch.
Hello world activity without appcompat library, only Anko and Kotlin support.
32Mb of RAM
SERIOUSLY?? What the flying fuck, Google?
I hope some of you will point me, what I'm doing wrong.6 -
So it's been a week since I left this company, but I still have access to all resources and stuff. I worked there on a project for 2 years, and in a week they managed to fuck up the codebase, because why follow guidelines I set up.
Ugh, hard to let go sometimes. But I know Im better of at this new job.1 -
Restarted a project for the 7th time in yet another different language. Hopefully I get somewhere with this one9
-
(Repost: Broken Link)
Announcing Covey (v0.1)!
A lightweight (or at least that's the goal) Linux cluster orchestration/management system.
https://github.com/chabad360/covey
Why?
Because there are no systems with a (web) GUI (that I could find) that can run on a Raspberry Pi or similar.
This doesn't have a GUI!
It's coming in the next week or so (hopefully).
The codebase is shit!
I know, I'm actively refactoring it (feel free to send a PR).
What is it written in?
Go, with Postgres as the database.
Can I use it?
Go ahead and try, it's currently more in the MVP stage then at the stage where I recommend you use it.
Do you know what you're doing?
Maybe... This is my first big project in Go, and the first time I've ever used SQL. So I'm learning as I go along.9 -
Any other language: Hey fuckface, you can't name this variable by a single letter, tf is wrong with you? use some descriptive shit.
Golang: lmao fuck u
I really find it interesting how we use short variable names for items in golang. Kinda makes sense when you think of it. Most of these items come up in short methods for which the mental model lets you know and remember what you are doing, they even make sense when going through the std lib in which that shit is all over the place. YET years of going by other languages has made me squint my eyes a bit in frustration every time I see it.
Say for example that a function is implementing io.Writer. What would you call the method parameter? you could argue that writer would be sensible since it has it in the signature, but what about when the io.Writer in itself is a file or a socket or whatever? writer would be funny or strange? nah fuck it just w, it makes sense, but x wouldn't. I find these points to make sense even if i don't like them.
Would, now, this practice be acceptable in C? you are supposed to write the same modular code with C in which you compose large functionality in separated units of code, yet I am sure this practice of single name variables is something that C engineers dislike greatly.
Are go devs just doing this out of blind love for their preference in languages? and how would this work if mfkers add generics to go(I hope not, Go is simple enough to understand in order to extend functionality through the empty interface, but that is a preference of mine as well)
The more I use Go the more I like it to be honest, I think the code looks ugly syntactically, but that is subjective as all hell and based on my constant preference for a language to look like Ruby, which even though it might not be everyone's cup of tea it remains to my eyes as the most beautiful language in existence, again, an obvious personal preference.18 -
So,
Im coming from PHP. I feel comfy around PHP.
I needed for other project GO lang (there is no library for what I need to do in PHP, and it's low level thing anyway)
I need dependency that is in form of modules.
Okay, so importing it (just writing import "github.com/blah/blah/v3/blah" as suggested in docs did not work. something something, not found)
Some googling later, I created go.mod file.
And all the hell broke lose. So I am trying to fix that using random stack overflow, IDE highlights entire project on red, go complains it can't find "./" while it looks for it in gopath not project files and claims it's remote repository.
Among other WTFnessness after adding go.mod it suddenly stopped fetching ANY dependencies (including stuff like github.com/pkg/errors ), so, that's fun...
I added go.mod before 9 AM.
It's 13 and Im still wrestling with this
I fail to connect the dots why go lang get's so much praise for it's apparently awesome or something package managment... I find "composer install", and have pretty much guarantee it will work, much easier to wrap my head around.
[edit]
forgot to mention that Im literally starting to learn go. Just cherry on top5 -
Me to ChatGPT:
Write me an enum in Go using these values:
"Monday"
"Tuesday"
"Wednesday"
"Thursday"
"Friday"
"Saturday"
"Sunday"
ChatGPT:
Sure!
Here is how you write an enum in Go:
type DayOfWeek string
var (
Monday DayOfWeek = "Monday"
...
)
You get the idea! Write it yourself!4 -
//confession
I've heard good things about "Go", I see it more and more in companies' tech stack.
I've gone to its website, and OMFG I CANNOT HANDLE THAT WIDE-EYED BLUE PIECE OF GOO.
the ~ONLY reason (besides my staunch hatred of all things ewgle) I won't ever touch that horrid language is because of that ugly ass mascot.10 -
There is no Go devDuck, and it makes me sad :(
I want my Go devDuck!
Stop the oppression of Go!
Viva la Google!4 -
Hi fellow ranters,
Its been awhile since I last was here posting stuff..
So, I've commited to my effords getting shit done in golang. And I met a lot of painpoints, and I mean...
A
Lot
Of
Them.
Anyway, most of them are solvable by changing mindset or having some macros set up for no-one-fucking-wanted bloody boilerplate code that is omnipresent fucking EVERYWHERE.. **cough**
Steering back on what I want to rant about.
We with our team have one major problem with golang. There is no standard for docs in code...
Like, Fing legit. Everyone uses notation for closest to theirs heart language, so you get inconsistent-as-fuck notations for parameters / function descriptions.
We have functions that look like
//doSth does something
and also
// doSth
// @Summary does sth
// @Description does something but in more words
// @Param
and so on and so on
And trust me Im getting mild example.
Why this language does not have A F...ING (well defined, using proper definitions) STANDARD YET?
EDIT:
bonus context: We decided that too much of our code is undocumented and we go through efford of documenting it, but everyone sees it differently, and we can't agree on one single standard... So we decided to not refuse PRs due standard, as well, nobody would ever had PR accepted3 -
Maybe some of you will find this useful.
I just finished the first stable version of my JSON-library for Go.
https://github.com/thosebeans/...
It provides a DOM-like interface for JSON-documents.4 -
I want to rewrite one of my projects (a password manager) from Go to Kotlin or Python.
Which one of the 2 should I choose?
I know nearly nothing about both.1 -
!rant
So I started learning Golang.
I have to say, I heard the language was good but holy shit!
I got my eye on you implicit interface implementation👀👀
I can't wait to start my first project with a clusterfuck of compositions 🤤
P.s: syntax is kinda weird ¯\_(ツ)_/¯6 -
I've ranted about this before, but here we go again:
Go Plugins.
I was racking my brains trying to figure out how one could possibly implement plugins easily in Go.
I had a look at using RPC, which requires far to much boilerplate to be realistic. I looked at using Lua, but there doesn't seem to be a straight forward way of using it. I was even about to go with using WASM (yes, WASM). But then I came across Yaegi ("Yet another elegant Go interpreter", you heard right: "interpreter"), Yaegi is also very easy to use.
There are a few issues (including some I haven't solved yet), including flexibility (multiple types of plugins), module support, etc. Fortunately, Traefik just released their plugin system which is based on Yaegi (same company), and I got to learn a few tricks from them.
Here's how module loading works: The developer vendors their dependencies and pushes them to a repo. The user downloads the repo as a zip and saves it to the plugins folder. I hash the zip, unzip it to a cache, and set the the GOPATH for the interpreter to be that extracted folder. I then load the module (which is defined by a config file in the folder), and save it for later. This is the relatively easy part.
The hard part is allowing for different types of plugins. It looks easy, but Go has a strict typing system, makes things complicated. I'm in the process of solving this problem, and so far it should go like this: Check that the plugin fits an arbitrary interface, and if it does, we're good the go. I will just have to apply the returned plugin to that interface. I don't like this method for a few reasons, but hopefully with generics it will become a bit more clean.1 -
I'm cross-compiling software I create for many years. Ignoring languages targeting some kind of VM, some additional efforts were always needed.
Go (as far as I can see, since 1.5) is doing this right and quite straightforward - select target and architecture, issue build command and you get native executable file. I'm happy ... B)7 -
Joined a new workplace. Lead wants me to research on the available list of certain frameworks.
But they have already built a couple of services using certain frameworks and they don't seem to be having any issues with them.
I asked why look for new ones when you already have stuff that work for you and they're like "It's working - is not a reason to not look for new ones".
I mean WTF? Isn't "Don't try to fix things that are not broken" literally the point?4 -
Does any of you know, what happens to Go-routines, when they are deadlocked by waiting on a channel and the channel isn't reachable anymore?
I'd assume they get garbage-collected since they'd just a few KB of memory when not in use but I can't find anything on it online.2 -
Read about first Android Go device launch will happen lately this month.
Read about restrictions for Android Go section in Google Play.
" - RAM usage less than 50Mb"
With removed Google Maps (they decided to replace with something lighter later) and without stripping functionality app barely fits 64Mb.
With Google Maps it takes 150-200Mb.
Gave up.
Today found Google Maps Go apk.
It's fucking PWA wrapped in apk.
Fucking awesome.
Poll: Go in Android Go stands for...
- Go fuck yourself
- Go learning web development
- Go writing 100 shitapps per second, all with one button -
Started porting one application written in php to:
Golang(and some libraries to make certain sht simpler like GORM and Gorilla amongst a couple of others, most shit is STD shit already built in)
Java Spring(I know it well, but wanted to try this particular app in it, lots of boilerplate although the coded is solid AF)
.NET Core API, which I separated in a series of modules for the domain interface, the persistence logic, the actual api etc, I really dig it. It has a basic React frontend in Typescript whereas the other 2 versions are using the standard Go html/template package and the Twig interface for Spring.
My favorite thus far is Golang. I find it extremely easy to extend, the language reads good enough for a retard like myself to make sense of it fairly easy, really easy to test and experiment with it, any idea I get for something to add(say users and stuff) took me less than 30 mins to figure out while reading the actual documentation, as in the base documentation or just the source code.
I know the language is retard proof, and I am highly enjoying this. Not to say that the other two are bad, not at all, been using C# and Java for years now, but I highly appreciate being able to concentrate on functionality rather than all the fucking architectural boilerplate needed to run basic shit in the other two frameworks. Thus far Golang has been a breath of fresh air the likes Clojure gives me, while not even being a profound or mind blowing language in terms of features(since other than the interface{} and goroutines i can't think of shit) and have not reached a scenario in which I am stuck or dying to have generics one bit for the overall business logic.
The app is growing like crazy in terms of code since the original php application was huge to begin with, but dear me this shit is as simple as it can get without being too technical. Might move it to production once all usability tests pass and force the rest of the staff to learn it. I have one lead dev that damn near refuses to touch anything other than php, and a very eager to try shit out content administrator that comes from a Java and C# background.
all I want to say is how much I love go haha4 -
A command-line animation command.
Input frames and an expression
It will be able to reorder frames, play video/frames/music in the background, smooth transitions, diff and patch frames and render into a video
It will be written in Go. No idea what to call it.
What do you think?8 -
*after getting to know about Pokemon go from here I downloaded it from the net.(not yet released in India) and I'm so addicted to it. I have already caught 3 Pokémon.
got it installed on my colleagues phone and we both are now roaming near by our office to find some more. absolutely loving it.2 -
Jesus H. Christ. It really did happen! Just moved from vb6 to vb.net. My personal opinion, going with C#, was disregarded but im still happy to leave that abomination behind.
The sad part is that I have gotten pretty good with vb6 🍻 A drink to that!
PS. VB.net is supposed to be simple and readable but I disagree. C# Is way more readable and there is this elegance about the syntax. As a side project I am thinking of learning Go and make a simple cms. -
Upgraded our internal samba fileshare. Was getting too old. So updating the apt sources list and push the dist-upgrade: what could possibly go wrong?
Everything.
Somehow the locale went astray, updating the manpages gave too many errors and now finally everything's fucked up, because it somehow deleted the sudo binary and root is locked or we don't have password.
We noobs.
But samba was updated and it's still serving our files.7 -
Started out on some Go code today. It's looking really promising so far - the lack of implicit stuff is really refreshing. Less is more.1
-
I finally got the time for learning Go.
Anyways I'm reading this about packages, and made me wonder, what exactly a package is in terms of Go lang?
That example extracts two functions into a new package, and that made me confused11 -
For all the Go-Devs that complain about not having try-catches.
That function here. emulates one....More or less.
https://gist.github.com/thosebeans/...3 -
Announcing Covey (v0.1)!
A lightweight (or at least that's the goal) Linux cluster orchestration/management system.
https://github.com/chaabd360/covey
Why?
Because there are no systems with a (web) GUI (that I could find) that can run on a Raspberry Pi or similar.
This doesn't have a GUI!
It's coming in the next week or so (hopefully).
The codebase is shit!
I know, I'm actively refactoring it (feel free to send a PR).
What is it written in?
Go, with Postgres as the database.
Can I use it?
Go ahead and try, it's currently more in the MVP stage then at the stage where I recommend you use it.
Do you know what you're doing?
Maybe... This is my first big project in Go, and the first time I've ever used SQL. So I'm learning as I go along.8 -
Slowly adapting Go to some microservices projects I have. Shit is intuitive as fuck and I believe it has to do with what lil knowledge I had of working with C back in uni and by myself. For the web Go fits quite nicely. Really loving my time working with this language.
Now, if i could somehow throw it into the mix at work and build something with it it would be quite fun.1 -
Anyone use Golang here for system programming? I recently learned go and it would be very helpful if someone would describe me the pitfalls in go while writing fast softwares. I am planning to write a music player for Linux in go.11
-
does anyone here still play pokemon go?
I downloaded it again recently and the game really developed and it is a lot more fun than it was two years ago11 -
Gotta love the client forced deployments, making the team work all weekend. Having the push to live at 9pm at night and then with 10 minutes left cancelling the whole thing. With a lovely "good job but we are not ready yet"
-
So I decided to pick up go, I must say I am very impressed.
As a Java developer I have always felt a certain chaos in C development (no established infrastucture of project conventions) but I am starting to fall in love with Go.
Is there anyone out here who has professional (or advanced) experience with the language? I would love to learn more in-deth stuff like proper conventions and patterns.2 -
I really want to learn Go, but I'm not sure where to start! devRanters who are also Gophers, what tools/resources do you recommend for a beginner?2
-
Hey ya'll back with another college boi question.
I want to develop a web server akin to that of jackbox/among us. Where each session has like an 'ABCXYZ' style code, and i assume are using TCP sockets on the back end.
I'll be writing in Go cause I <3 Go and its a chad language. Anywho, am i supposed to spin up a new websocket server each time someone wants to make a room? Or do i have one websocket server and some sort of map of rooms.
gameRooms := map['id_string']clients
Anyone have any suggestions for this?7 -
Is it just me or is the error handling in Go and/or Rust just.. tideous?
Maybe I'm biased because I grew up on C# and error handling has always been Exceptions and try+catch for me, but I find having to manually check errors everywhere not only annoying to code, but also horrible to look at.
Am I alone on this one?13 -
Just wrote the first part of what will become a rather large Go project!
Almost the whole thing is gonna be pluggable, which adds an extra challenge, but nevertheless, the is gonna be a fun ride!
Also, it's gonna be Open Source, but until I'm at a reasonably stable version, I'm gonna be leaving it closed. Lmk if you're looking for something to do and want to join, this is gonna be a big project.7 -
Height of Trench coding
WTF its 6.30 time to go home, but this fuc...ing bug isn't getting resolved, what the hell man. where did i do the mistake?
ok its time to go better i hardcode return 54;(expected answer) -
I have very mixed feelings about Go's KISS policy. They did manage to keep a lot of stuff easy and they force dev's to not over complicate their code. But there is a line. Generics aren't that hard to grasp. I get focusing on *fearless concurrency*, but how about *fearless list processing* FFS5
-
Disclaimer: the project I'm about to mention contains the first lines of Go I have ever written.
Still, I'm quite proud of how quickly I got it working considering it's also my first time working with GTK.
This project that I've been working on the past few days is finally done. But it's %50 percent spaghetti, so refactoring time. I decided to have a look at my cyclomatic complexity numbers, and my biggest function (not main()) had it at 7.
As it was quite large, I split it up into to parts: the preparation and the actual timer loop. As I appear to need to use a goroutine, by the time I'm done passing channels and all hell to handle them, my loop function now has a score of 9 for cyclomatic complexity.
So fix one bug, leaves two in its place?
But I still need to better learn Go, anyone have a good (relatively painless, informative, quick-ish) course they can recommend? I've been thinking of trying out codecademy's one...6 -
Trying to make my first genetic algorithm program "to be or not to be" in javascript.... (coming from java and experimenting a bit)
Can't even get past instantiating a function/class Gene.js file into the main.js file. -_-
I got a long way to go...1 -
well, I'm free now. In case you need a freelance software developer with experience in Python, Go and React living overseas drop me a message :)10
-
So I have a lease car through work, but I forgot my fuel pass one day and I needed to fill up the tank. Then I had to send a letter with the receipt to declare the costs to this address... Wondering how that's gonna go lol2
-
I was missing Korea either way. Kims sister tries something cute I would love to go back in.
As an officer tho, y'all ain't getting no Specialist.5 -
So I've been on vacation for a week now, still two days to go until I get back to work.
It's been super fun, but I am getting pretty stressed about the shit-ton of work I have to do when I come back.
How do you let go?2 -
how to propose your nerd gf here we go...
"you may look attractive like frontend but you need my support like backend and together we can become full stack developer we can create beautiful projects6 -
I have searched the universe of how go lang developers modularize their api server.... I couldn't find any.. Except for this git repo https://github.com/velopert/...
So, what kind of architecture or pattern do you use? Oh, and I am more interested in MVC4 -
Wow Go is awesome, throwing some of its magic and making data ingestion that took one minute plus and make it run under 3 seconds.
Feels good -
GoDaddy be all like: yo... you tryin to backup an old product?
me: yeah
GoDaddy: sweet. here's some mother fucking dial up speeds so you can do you, bitch.
me: ¯\(ツ)/¯2 -
So I was thinking about learning to write some Go code. I downloaded it and it didn't work. I struggled for hours just to get it to execute a file, but I could not get it working for packages.
Never have I stumbled upon a language that's working AGAINST me.
I gave up, Go beat me. I removed everything on my computer related to Go. Fuck Go!8 -
!rant
What is golang used for in a professional setting? It's a really cool language and I like it, but is it useful for me is what I want to know. Thanks7 -
I want/need to learn a new language for web backend development.
I have seen Go but everyone is saying it's bad and I shouldn't learn it. What do you think? Should I learn Go or Python? Or maybe some other language?12 -
Maybe one of you can help me, since I can't find something online.
I want to do a transfer.sh-like app in Go. So you can upload a file with curl, it gets stored there for some time and you can download it later.
The problem is, I only found tutorials for uploading files over html-forms, not over curl.
Does any of you know, how to write a handle-function, that accepts something Like
"Curl --upload-file SUPERIMPORTANT localhost:9999/upload"1 -
Wow, yesterday was fun!
I had a rather buggy piece of code, it was bad when I first wrote it, and then I fixed it up, and it was still bad. Now I rewrote almost all of it, and it's much better.
Bad? How? Well, it was in Go, and it's basically an agent meant to execute tasks one at a time, and report the results back to home (live). Now while it worked, it was really flimsy, race conditions, way to much blocking, bad logic, and some very bad bugs.
So I had to rewrite it. Time for a quick primer on the design of this: you have a queue, a task gets add to the queue, the task manager runs the task. In the mean time, the agent is polling the host with the latest output from the task, and also receives new tasks to run (if there are any).
Seems like something that's for a messaging queue, you ask? Well, that would be true if each task was able to run on any random agent, but each task is only meant to run the agent it's tasked to (the tasks are of administrative nature al la apt-get), so having a whole separate service is a tad overkill.
So rewriting required rethinking how the tasks are executed by the task manager. I spent a day on this, it was fun, I ended up copying go contexts (very simple model, very useful). Why copy and not reuse? Because this is meant to be low memory code, so any extra parts are problematic, and I didn't really see a use for having a whole context, I just needed a way to announce that a task is done.
Anyways, if you're interested to see how the implementation worked out: https://github.com/chabad360/covey/...1 -
I hate putting curly braces on the same line as function declarations/if statements/etc but Go forces me to do that.
I understand the reason Go does that but fuck I wanna write my code the way I feel is better to read. I just lost a lot of the excitement of learning Go...5 -
I literally cried to the Lord while reading the Rego language reference. Man, that thing is HARD to grasp.
After a while I just gave up and switched to Windows (wanted to play) but Windows needed to apply an update thus I decided to reboot and while GRUB was counting down I decided to turn back to Arch and give a try.
I was heard, now this damn policies works and the Go code do not panic anymore.1 -
Writing a x-platform cli tool in Go designed to be an infinite REPL until EOF if no arguments are passed. Code works great on Linux and Mac as-is but not on Windows. On Windows it only works at all if args are passed.
WHY.
And people wonder why I don't like Windows. It's a shame my userbase has so many tech-saavy Windows users. If not for them I'd cut that git branch off the repo in a heartbeat. -
I'm asking for your help, once again, because I couldn't find any similar problem online.
I've written this neat thingy here, in Go
https://github.com/thosebeans/wento
And i try to integrate the wren-interpreter with it (is written in C).
All compiles and works, but I can't print to Stdout from the C-Code.
Any of you know what could cause this?1 -
Opinions
Hello, I’m considering building a web framework.
My ideal features would be:
Customizable authentication system(considering using a jwt lib)
Embedded DB(bolt db)
ORM( writing my own)
REST api to DB (via code generator)
Code generator(generation of models and views via cli)
GUI to db(some admin dashboard)
CORS(web service right?)
Why?
Ease of development
Fast prototyping of small-medium web services.
Fun.
My question is, do i have to many things on my platter? Should i narrow it down into less featured framework? What feature should I focus on? How should i benchmark it? Should i write tests for absolutely everything or just for exported methods? What should i take into consideration when developing ORM API, Auth API...
The language is Go
Thank you for your input10 -
Boss uses symlinks for packages in go. He checked in changes for several services and then left for vacations.
-
I was bored, spent an half hour writing a non-recursive, relatively-high-allocations, somewhat slow Fibonacci function.
Here you go:15 -
learning golang. so they have optional feature called `vendor`. so basically they reinvent the `node_modules`.
the weird thing is that it supposed to work by committing dependencies to git. but unlike node_modules, vendor directory wouldn't be massive since they come with assumption that the community wouldn't fuck up the libraries ecosystem.
huh?7 -
Why the hell doesn't Go have generics?? You have to teach Go how to access elements of a list n times if you have n things that need to be sorted!1
-
Really weird number.
Most probably its marketing call from the telecom operator that revolutionized the tele industry in my country by providing free 4G services asking to subscribe to their service.
Sorry, but i can't afford you.. :/
I'll have to let you go..
Thanks for the last 8 months of free services.3 -
is there a Go module for editing Flat Open Document Text? I'll like to edit placeholder text from a fodt file and send the results to thecodingmachine/gotenberg to convert the file to a PDF
-
I've got a question for people who understand GO:
Why do I get this error in one of my projects but not in the other?
> gopls requires a module at the root of your workspace
Both projects lack module at the root of my workspace, but only one of them refuses to cooperate...
Bother.2 -
Been picking up Go recently and am really liking the idea of using git repos as library urls, just makes so much sense to me.
Also in general go is just kinda cool and makes me like lower level programming a lot - although I had to learn the hard way with Mutexes and locking.5 -
That horrible moment when your 'documentation is something that happens to someone else' approach (due to lack of time) catches up with you and you have to go back and generate data dictionaries and diagrams on a deadline.
Gah -
I'm not hugely into Go, but I do get the appeal behind "only one binary output"
I'm doing C# right and end up with several different DLL files, executables, pdb and json. It's so annoying.
Thank god this is an internal tool, not something that needs to be packaged...9 -
When you try to learn a new language what is a good project to code that will get you to use mist of the languages features. Some specific languages would be C++ and Golang.4
-
Go is the first language with it's own dedicated hate page. Just go to golang.sucks
The anti-awesome github backing the website is also something I've never seen before.
Is GoLang really just a hype and a language created of retarted developers at Google ?2 -
package main
// go is very frustrating. in their efforts to keep the language simple, they've broken its consistency :(
// A A is just some arbitrary interface
type A interface {
Foo()
}
// B is an interface requiring a function that returns an A
type B interface {
Bar() A
}
// Aimpl implements A
type Aimpl struct{}
// Foo is Aimpl's implementation of A
func (a Aimpl) Foo() {}
// Bimpl attempts to implement B
type Bimpl struct{}
// Bar is Bimpl's attempt at implementing B.
// problem is, if Bar returns an Aimpl instead of A, the interface is not satisfied
// this is because Go doesn't support implicit upcasting on returns from interfaced objects.
// if we were to simply change the declared return type of Bar() to 'A', without changing
// the returned value, Bimpl will satisfy B.
func (b Bimpl) Bar() Aimpl {
return Aimpl{}
}
var _ B = Bimpl{}
func main() {
}2 -
what is a Go Engineer? I hope it means a golang engineer? I can't find a job description for it. cause I love Go and I want this as a job.....Hopefully1
-
Has anyone had issues with the Docker Go Client (moby) and using containers with pointers? It would seem that the client swaps pointers or something, so I'd have to use the value instead. Might be very unclear, but if someone's had similar problems, I think you'd understand 😅1
-
I have a teaching side gig and got a course assigned on "designing and implementing cloud solutions". So I started with teaching Go, which some IT professionals consider a fairly good pick for cloud applications.
Now I get complaints from people that think I'm not allowed to teach programming in general and Go in particular in this course, which is about "designing and implementing cloud solutions".
We live in interesting times.7 -
Hi, Anybody can help me do this? I'm trying to build Golang from source using the github actions. I'm new to github actions and golang both. So, github actions keep failing. I'm trying to follow this: https://github.com/golang/go/...
Anybody can write me a yml file for this? Thanks a lot2 -
So remember rant from yesterday about Go plugins? Well turns out that a new version of Traefik was just released with plugins based on Yaegi!
"It can't all be good news" you say, suddenly paying attention. You're right, their implementation is a bit weird and I don't fully understand it... So I've decided to try to ask for help from the guy who wrote the feature, let's see if he responds... -
Our Jira does reindexing every night. At that time no issues could be created or resolved.
It just tells us to go to sleep in its own weird way. -
Q. 4 go and python developers:
Have you come across anything which generates the structure for respective language from asn1 spec? Like asn1c generates structure for c from asn13 -
Does master degree really matter or if I take some courses will be better if I'll not go through academic life10
-
I'm kind of interested in learning a language like go or rust, etc... But I'm not sure. I'm having a hard time really "getting" what they are used for? What do you guys recommend?4
-
Anyone work with golang for Web development purposes? I am an intern and need to work with golang which I have no idea... Any help to get me started?? Thanks!4
-
Can anyone tell me how I can integrate Mongo DB with golang?
I found go-bongo, but it's not well documented.5 -
Does anyone know how Go, the programming language is working?
People likes it, is it useful, is it good or there are better alternatives?
Would like to know the opinions of those who know about it :]7 -
Programming often ends up in interesting places.
Spent a whole day interpreting a golang SDK in python only to realise that I just have to learn go, not cool google!1 -
I honestly think I should attempt finding a job that's around my interests, since I want to get a laptop and I just can't really do much without money in general.
Don't know what I would really be able to do in terms of jobs, but I guess I'll go exhaust my resources. -
Why... why they have to be like that?
https://github.com/micro/micro/... was reported 11 days ago, I have this issue with the dashboard inside docker than registers no services nor clients, a shame because this enables testing and that comes handy specially if you have never ever done micro-services.
Despite linking to a minimal example that reproduces the issue I have in my project I'm not getting any support from the developers of Go Micro other than "use the latest Docker image, it shouldn't panic", sadly others give it a try too but their directions won't fix the problem.
So this makes me wonder, after 11 days and a minimal reproducible example provided from day one, why no developer have offered any hint of what I'm doing wrong? they know their software, it should be easier for them to spot why the bloody dashboard is not working as it should.7 -
CMS + Website(Template + initial conntent) entirely in go with pictures I had to take myself first. 1000$ for around 2-3 Months of work over the time span of a year. Good thing my main job país decent.
-
Lately I've had to write a bunch of CLI tools for repetitive tasks that any team member might run. I've been using normal bash for this, and it's great, but it feels a bit cumbersome when you have to do a lot of prompts and progress indicators. What other language would you suggest? GO would seem like a good candidate.9
-
I'm having troubles with gRPC inside Docker, cannot figure out why some references are undefined in the *_pb.go files
pkg/proto/notify/notify_grpc.pb.go:14:11: undefined: grpc.SupportPackageIsVersion7
pkg/proto/notify/notify_grpc.pb.go:71:30: undefined: grpc.ServiceRegistrar
More details: https://stackoverflow.com/q/...1 -
Building on yesterday's rant (https://devrant.com/rants/3110183/), after sleeping on it I realized that using groups was completely non-necessary, so I got rid of them and got a much more efficient (and faster) function:
Also, I've got these in a repo: https://github.com/chabad360/...15 -
I want to learn a new front and back end webdev language. So far, I've found Dart and TypeScript (though this one is not completely new to me) on the front end side, and Go, Elixir and Rust on the back end side. As I don't have too much free time, I can choose one of both sides for now, but I can't decide which ones to go with, since I can read so many pro-contra opinions.
I only need to choose for the skill, I don't have any specific target, I just want to learn new stuff.
Which ones do you suggest? -
How do I go into tokenizing strings of text from a LaTeX file into a Go structure for further processing? I feel like splitting hair trying for loop over an io.Reader and using regexp to find where a sentence ends; there must be a better way...2
-
git commit -m "The test core dumps, I go home" && git push
(OpenSSL is like running a marathon: It's just some month away and you already forgot how much fucking pain it was. Nah, can't have been that bad. Shit, it is.) -
!rant
I'm currently working on a little side project in Go and I want to create a web page with an OAuth2 based login. So far the OAuth2 login works, but I need something to track a session afterwards.
Any suggestions? I'm pretty new to web development, especially in Go :)1 -
I started off on a go project last week, and I feel like I connect with go a lot. It reminds me of c++ and python at the same time! I was in a java project before this, with the spring framework, and I feel like I was intimidated by it! I don't know if that's what makes me feel so much better about go.. And to top it off, there is no "framework" as such that the project uses. It's really interesting! I have already learn't a lot, I look forward to learning more.1
-
go has an insane opportunity for web development, but it's actually incredibly hard. I need not say anything else.
-
Was asked to look at another teams repo to see how they use Cassandra. In that repo, I found a function that creates a map[int]bool populated with a handful of numbers all with true as the value. The function then checks the existence of an int in that map and return a true if it exists.
-
Arrgh...
I need to do a lot of refactoring and testing (%80 percent of which is integration) and ITS SO TEDIOUS!!!
Now, for anyone who says "oh, you write spaghetti code, your code shouldn't be so tedious to refactor". No. It's only tedious because it's a few thousand lines that I've been too lazy to refactor till now, and I need to go through it all.
Anybody have any advice for refactoring or testing in Go?17