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 - "coding blog"
-
--- Github unveils another round of pricing changes ---
In a move that slipped under the radar with some surprising ease, Microsoft-owned repo wrangler Github unveiled yesterday (7th January) a new set of changes to their pricing model. Unlike the last round of changes that saw unlimited private repos gracing anybody with $7 in their pocket each month - The new round sees everyone on the platform receiving unlimited private repos in a move that's been met with some serious scepticism from the community.
The company's surprisingly brief PR emission (via their official blog) states that they've made 2 major changes, "Github Free now includes unlimited private repositories" - the catch being that you're limited to adding 3 collaborators, which appears to be a move aimed squarely at businesses attempting to operate without forking over the cash for an organisation.
In addition to this there's many vague statements about the kinds of scenarios that "are now possible" via "Github free", the kind of vague nonsense that makes trousers considerably tighter in the PR department.
It would appear that anyone who was previously paying the $7 a month is now a "Pro" user, The PR emission states that "Github Pro (formerly Github Developer) and Github team are also available for developers and teams who need professional coding and collaboration features".
It doesn't seem like you're being offered a whole lot for your $7 a month anymore - a move that would be considered by almost any other company in tech as a good thing, but given that it's Microsoft has been met with warranted suspicion and concern.
Or we could just be being a set of Donny Downers about it, who knows shrug8 -
Worst coding interruptions are, by far, instant messages. Especially messages I don't care about. People who tag an entire channel when they shouldn't. The Diversity and Inclusion channel that everyone has to join that tags the entire channel, all 2000 members, at least once a day to share some blog post nobody wants to read. Other employees sending "Hi" to me and expecting an immediate response even though I don't know what they want yet. People who think Slack is an alternative to our support ticket system.
I am often tempted to just sign out for the day, but unfortunately some of the messages are actually important...6 -
I fucking hate chained methods. Ok, not all of them. Query things like array.where.first... that stuff is ok.
Specially if it's part of the std lib of a lang, which would be probably written by a very competent coder and under scrutiny.
But if you're not that person, chances are you'll produce VASTLY inferior code.
I'm talking about things like:
expect(n).to.be(x).and.not(y)
And the reason I don't like it is because it's all fine and dandy at first.
But once you get to the corner cases, jesus christ, prepare to read some docpages.
You end up reading their entire fucking docs (which are suboptimal sometimes) trying to figure if this fucking dsl can do what you need.
Then you give up and ask in a github issue. And the dev first condescends you and then tells you that the beautiful eden of code he created doesn't let you do what you want.
The corner cases usually involve nesting or some very specific condition, albeit reasonable.
This kind of design is usually present in testing or validation js libraries. And I hate all of those for it.
If you want a modern js testing lib that doesn't suck ass, check avajs. It's as simple as testing should be.
No magic globals, no chaining, zero config. Fuck globals forced by libs.
But my favorite thing about it that is I can put a breakpoint wherever the fuck I want and the debugger stops right fucking there.
Code is basically lines of statements, that's it, and by overusing chaining, by encouraging the grouping of dozens of statements into one, you are preventing me from controlling these statements on MY code.
As an end dev, I only expect complexity increases to come from the problems themselves rather than from needlessly "beautified" apis.
When people create their own shitty dsl, an image comes to my mind of an incoherent rambling man that likes poetry a lot and creates his own martial art, which looks pretty but will get your ass kicked against the most basic styles of fighting.
I fucking hate esoteric code.
Even if I had to execute a list of functions, I'd rather send them in an array instead of being able to chain them because:
a) tree shaking would spare from all the functions i didn't import
b) that's what fucking arrays are for, to contain several things.
This bad style of coding is a result of how low the barrier to code in higher level langs are.
As a language or library gets easier to use you might think that's a positive thing. But at the same time it breeds laziness.
Js has such a low learning curve that it attacts the wrong kind of devs, the lazy, the uninspired, the medium.com reader, the "i just care about my paycheck" ones.
Someone might think that by bashing bad js devs I'm trying to elevate myself.
That'd be extremely stupid. That's like beating a retarded blind man in a game and then saying "look, I'm way better than this retarded blind man".
I'm not on a risky point of view, just take a stroll down npmjs.com. That place is a landfill. Not really npm's fault, in fact their search algorithm is good.
It's just the community.
Every lang has a ratio of competence. Of competent to incompetent devs.
You have the lang devs and most intelligent lib devs at the top. At the bottom you have the bottom.
Well js has a horrible ratio. I wouldn't be shocked to find out that most js devs still consider using import or await the future.
You could say that js improved a lot, that it was way worse beforr. But I hate chaining now, and i hated back then!
On top of this, you have these blog web companies, sucking the "js tutorial" business tit dry, pumping out the most obscenely unprofessional and bar lowering tutorials you can imagine, further capping the average intelligence of most js devs.
And abusing SEO while they're at it, littering the entire web with copy paste content.2 -
No one will understand me but you Devs.
I am a self taught developer who works in a digital marketing agency, when I was learning to code I wanted that the code I will produce will help people and make me happy, the only job i got is in digital marketing agency, because no one in my country will recrute a self taught bald ugly mid thirty fucker, then want them young and fresh, anyway, I proved that I can handle the job, so that I became the only dev in the agency.
the problem is that I reached a that checkpoint where I have to choose a path:
- I learned Node and React but I can't use them in my agency
- I work with wordpress and prestashop but I don't code, I use fucking theme forest templates
the only way to work with MERN is through remote, but I am not a senior yet, I only have to keep learning PHP but I can't advance in my current job since the projects don't require coding, and I feel that my agency will close the dev department because they put me in the designers office.
I don't want to reach 40 with nothing in my portfolio but shitty theme forest template rape, the stress from my current situation is killing me, I can't even start working on my portfolio website and blog because I can't think straight, my mind jump from "today I will build an api" to "no I need to build a custom wordpress theme" each 3 minutes, I don't sleep, the futur is dark, I am afraid that if I focus on wordpress and shit I will miss working in interesting projects, and if I focus on MERN I will never gain experience localy to become a full remote later.
many will agree with me that PHP is shitty but gets the work done, and I hate PHP because of prestashop, and we only live once, the only other job I found require wordpress and fucking prestashop, imagine living a live doing something you don't like, then die regretting every decision you make.
I might sound crazy for you, but I don't have many friends and I am an introvert working with designers and community managers ... so this is the only place I can write what I want.
if you reached here, I thank you for your time4 -
I wanna be a millionaire, so fuckin bad.
So, throughout this week there have been massive trials and tribulations regarding my lack of coding practice however through many nights and days coding I have almost completed the task I was set last week.
I didn't realise how out of practice I was so this posed as a big challenge for me. However I pulled through and tomorrow it will be ready to send for the interview!
I also have another test to do in vanilla php - Typical blog which would be such a doddle now I'm back in the zone. I just have to remember I'm not using Laravel!
The sense of accomplishment is real and I'm so relieved I've come this far. Maybe I will have this career of my dreams which I rightfully deserve.
Below is Stripe, doing random tests :) -
I have been burnt out for over a year and a half now combined with mental health issues.
I was working an underpaying job, doing senior-dev work for a less than junior-dev pay, with an incompetent understaffed team. The work was so mundane and most of the clients were stupid. I hated work, my colleagues, and most of all I hated programming.
I finally quit the job and quit programming as well. I couldn't touch or see a terminal window without panicking. I've been spending my time binge watching series and movies.
Recently though, I've started picking up coding again. I've been blogging and doing some changes to my blog beside other light stuff.
This is the story of my first burnout and it's taken its toll on me. I hope it's the last one but who knows.3 -
How to make BILLIONS with a coding blog:
1. make a post with a controvertial title like "IS TDD DEAD?"
2. write an article concluding that the controvertial statement is, in fact, wrong, like "Nope"
3. Drown in monies from ads3 -
Weekend is almost here. Are you working on any interesting side projects? I am creating blog content, coding an alert system and speed walking a 5k. Enjoy!7
-
How do u spend your free time? These days I’m constantly torn between coding and painting. Both are my passions. And I recently started a coding blog I love writing on it, and I also want to learn meanstack in free time. But I also want to paint........ :(10
-
Well I was laid off at my last company with 6 weeks paid holiday at the end of my employment - since one of my hobbies is volunteering at the red cross as paramedic / ambulance driver, I was on duty quite often in those 6 weeks but since this job does not pay well, I had to look for something different and so I did - after those 6 weeks.
I found one quite nice job posting online at 1 am in the morning, sent my application out at 2 am and went to bed as I had a 12 hours shift at that day. I didn't really think that I'd get a reply but at 6 pm I got a call, talked to the guy and he asked me if I could come in the next day and talk to him in person and show him some stuff I did lately. I didn't really have projects to show as most of my previous work was under a NDA and so I just developed a small blog engine to show off (the main thing he wanted to see was my coding style). So I went there at 7:15pm , talked to them and at 10pm I got the contract - I signed the contract about 48 hours after I applied to the job :)2 -
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 -
So turns out I am making a blog about my attempt to make a Facebook but not clone for my wife and her friend. Any blog naming ideas? I am thinking "Facebook but Different" haha. The idea would not be sharing direct code, but more of a devlog and coding choices(as a backend dev, I am sure the front end choices will be perfect and Superior to all front end developers' choices 😁😁)3
-
Awkward moments in an interview where the person was repeatedly saying that , "werr you coding in your old job ?", "Here you will be doing a lot of coding " and shit like that. When he asked about my hobby immediately after , i say i am a blogger. When i was asked what my last blog was it was awkward to mention that " How the word coding is offensive for software developer !"
Couldnt have asked for a better timing..4 -
Self promotion:
I've just uploaded my first article to mine an my wife's collaborative arts/culture project blog --UDAGANuniverse.
I've lead a varied career path so far which has kept me closely connected with cutting edge tech in both creative & business environments. This introductory article serves as an introduction to the driving force behind what has motivated me down that path.
Check it out here if you'd like to read it!:
http://udaganuniverse.com/blog/4
Later articles will get into how I've incorporated coding into performance. I only touch on it in this post.
Saydyy (my wife) has also posted her introduction, which I'd highly recommend reading! She has lead an inspiring and incredible journey in her life and introduces herself and her earliest motivations in her writing.
Hope that you enjoy it! -
I'm trying to deploy Ghost 1.x to Heroku to host my future coding blog. If (when) I achieve it I already know what the first post will be about Lol1
-
What is your favorite coding/development related blog/news/digest/man/other resource you visit at your leisure?3
-
Hey guys ! I want to start some kind of blog so I can share my experiences and tinkering with stuff.
I can't seem to find a good CMS for that ? I've no problem with coding the blog myself (with Rails preferably), but I'd like to not start from scratch ! I'll need handle syntax coloration for code samples for example.
Any advices, ready-to-use stuff or not ? :)4 -
How do I create a XML template for blogger I can't find any good resource for coding a responsive blog any one has good sources to learn and create cool XML blogger templates3
-
Hello Everyone, I am looking for GCP certification online and I have 2 year experience in the coding industry. I have search on google and its show so many resources to learn it but I am confused about which resource is best?, I am between two certifications which one is more suitable to me between Associate Google Cloud Certified and G Suite Cloud Certified. I have checked this from https://hackr.io/blog/.... Can anyone know about GCP? Please suggest me the right one.
-
Thinking about doing some kind of coding video blog. I would talk a bit and work on several of my projects (Of course not 1:1 time scale). Good for me as I could learn from (more experienced) viewer and they could participate some kind of in this series. I think I would record and then put voice on it when cutting the video. (I don't want the viewer watching me searching for an error caused by a typo for 20 minutes :D) Avg video length: ~5-15 minutes
What do you think? Will this be cool or no viewers?
PS: Sorry for my bad english.
PPS: I hate people who apologize for being bad writing in english.
Disclaimer: Some kind of inspiration by Jake Wright.1