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 - "deps"
-
At university we had lessons in C++.
First lesson: Make a calculator
Second lesson: Make an application that uses sockets to connect to an FTP-server and downloads a file. No FTP-libraries allowed.13 -
A client wants to make a Pokemon GO type of game.. In two months.. (before the hype ended, they said)19
-
> installs devRant app on my iPhone
> too lazy to type my 18-char random password on mobile
> password manager app not on App Store yet
> dig up my old Macbook
> install XCode & homebrew package manager
> install 2 other package managers using homebrew
> install App deps from the 2 package managers
> query stackoverflow for why my deps fail to install
> open App in XCode
> setup Apple provisioning profile
> trust my certificate on my iPhone
> dig up an old router & setup a local WiFi network
> start a server on my laptop to serve my PGP keys
> download my PGP keys to my iPhone
> app crashes
> open an issue on github with steps to reproduce & stacktrace
...
> type my 18-char random password
> rant on how I wasted an entire afternoon13 -
I instinctively press Ctrl+S everywhere I write text, even in chat like Slack or Skype. Do I need help? :/14
-
So, my boss just overwrote an entire disk with a dd command. Now no of the virtual machines are accessible.
This is going to be a great day.........8 -
My ISP advertises themselves as IT-nerds. I once contacted the support, not tech support, just the usual support. I wanted to use my own router instead of theirs, and the supporter actually knew how I should configure my vlan and a lot of other technical stuff.
Why aren’t all ISP’s like mine?8 -
I just hate npm dependencies.
If you want to write a small website with npm dependencies (some frontend deps like Bootstrap and some development deps like gulp or babel) you will have more npm dependencies in your project than own code. It is ridiculous, how some lazy developers just add dependencies to their projects, without evaluating their dependencies. The source code of one of my projects is around 4MB (without any dependencies). If you then run yarn as required, it grows to around 80MB (where 73MB are node_modules).
This is just terrible.
I rant about this, as I made the mistake to upload my node_modules directories when restoring a backup of my server. Worst idea one could ever have.9 -
Today my boss asked me if I wanted to travel to another country to setup a new server for a customer.
Pretty good for a student worker I think 😁. Today was a great day10 -
Everyone should start with C rather than java/C#/python (or alike). Much easier to move from C to java than the opposite42
-
Not ++’ing a rant because double tapping / dragging the finger all the way to the side of the screen to the ++ button required too much effort.3
-
I just recently started my first job as a full stack programmer (still studying at university). I got assigned one month to code a complete front end to our api. Now, 4 days before release day the owner of the company makes breaking changes to the api.
Just. Beautiful.1 -
I just got hired as a systems administrator at a company that develops web forms. NO ONE in the company has heard of git. They don't use any kind of version control.
I'm a little worried...6 -
Received a urgent email from a business client saying that the application we support is completely broken. Their staff said they used the app to send several submissions that day but they did not come through. This is a major issue as these submissions need to occur daily.
I understand that this is a priority so I immediately check everything. I test the app, the server, check the database. Everything seems fine, but there's no record of these submissions. Maybe it's the specific device that was used. I reply saying that everything seems to be in order. Can I please be provided with more information about what occurred? What time were the submissions sent?
Client replies saying that the submissions were definitely sent and that the staff swear by it.
I now know something is up, so I remote into the the devices in question and check the logs. The app was not even used that day! I've got them! Those liars!
I am now quite pissed off, but remain professional and reply saying that we log all app events and that the logs show that the app had not been used at all that day. Now they have to own up to their lie. Right?
Wrong. Client replies with: The issue has been fixed. Thanks.
Can you believe the bloody nerve? The client doesn't even have the decency to apologise but rather insinuates that it was all our fault.
Well I'm not having that. I reply: It is great that the app is functioning correctly. However, I believe it is important to understand the cause of the issue as to prevent it from occuring again.
Client: No reply.
Well, if you want to waste other people's time, here's the fat bill.
Moral of the story. Don't trust anything that the client says and for any issue, debug the user before doing anything else.2 -
I just bought some software that I have had a cracked version of for a few years. That feels so good17
-
Inception.
Today I needed to check something in a remote server: this was the easiest way:
1: teamviewer to my home pc from university
2: started a vm on that machine with vpn connection to my work office
3: rdp to a windows server vm
4: ssh to a vm on our hosting cluster
5: from there, ssh to the server that I needed access to7 -
I worked as a sysadmin. I was taking over a position from another, who’d stop 2 weeks after I started, so he introduced me to everything in those days.
In the company we were 2 people (3 the first 2 weeks) managing servers. When rebooting windows servers and windows asked for a reason for rebooting, he told me that he always wrote -.- while the other guy wrote .-. so they could recognize who rebooted the server3 -
Avoiding bad companies starts at the job interview. Remember that the job interview is not only for them to evaluate you, but also the other way around. Make sure to ask a lot of questions. What are they doing, how are they working, what help is there if you get stuck, are they doing code reviews, what will you be doing etc.
The job interview is the opportunity for you to get an inside view of the company. Don’t just accept any job because you are desperate. Luckily qualifies devs are much needed in companies.
Also, make sure to go to multiple job interviews so you can see the differences. I think it can be difficult to avoid in the beginning, but as you get more experience, you can sort of tell whether it’s a good or bad company at the job interview.
Though sometimes you are just unlucky. In that situation: leave. It is so good damn easy to get a job in this field.3 -
I really like Kotlin as a language, but Gradle makes me feel nauseated.
Pulling in deps without getting errors, then the library won't resolve because of some version mismatch (still, no error or warning on build, until I try to import the dependency in the code, and then just "unable to resolve <library>" without details). All of the documentation on the internet is either super specific for Android projects, or for an ancient Gradle version. Feels like I'm back in Haskell's "Cabal Hell".
*runs back into the loving embrace of Cargo*.
What was I thinking, trying to write an application in something that's not Rust.5 -
One if our users set their username as their password and publicly admitted it; he didn't understand why his password were displayed on the projector1
-
Me: so how are you doing backups?
Client: Well, I make a snapshot twice a week, that should be fine, right?
...5 -
I feel like almost all suggestions to wk92 here on devRant have already been fixed at my university...4
-
The worst dev I’ve interviewed is the only dev I’ve interviewed.. Which is probably one of the best colleagues I’ve ever worked with, and a really good dev.2
-
It’s so fucking ridiculous that business people that knows jack shit about programming are the ones that promise features within a specific impossible deadlines to the customers4
-
A lot of larger companies seem to be a happy about forcing employees to change their password every three months or so. They do it for security measures so that it is more difficult to break through the system, however most people end up making the worst passwords.
Instead of forcing a very good password on them every year or two maybe, they all end up having passwords like: "Summer16", "Qwer1234", "London15".
I used to work for our national police, and this was the case there as well...7 -
Alright devs let's see those faces #devfacefriday what's your specialties? (Me === red flannel,front-end. Bff === cream flannel, back-end.)5
-
!rant
I just found out that I can get 1000/1000 mbit fiber for approximately $50 a month where I live........ Time for an upgrade!6 -
Today I attended a teamviewer meeting. The host were using a Mac, running VirtualBox with Windows 7 which was connected to a Windows 8 machine through Remote Desktop (rdp) with a putty session to the server we were configuring.
-
PM asked me to make the code deeper, here's the new load script:
//Someone is born (init script and load deps, also run it)
$life = new begin_life();
//magic happens (generate random token)
$life->Living = openssl_random_pseudo_bytes(rand(), TRUE);
//We end it all
$life->die();3 -
I found this question on EmguCV's forum that matches my exact issue.
First answer: Never mind - all. I answered it myself.
Welp. Thanks for nothing. How fucking difficult can it be to post your solution to the issue? -
When your stackoverflow issue has already 18 pings in one hour.... on a sunday...
someone fucked up a dep and now everyone's gatsby builds aren't working
#rip1 -
Python haters, gather 'round
oh come on... In java it's all simple as 123. You build an app, you have like 200 dependencies, you pack it all in a single fat jar and only deploy that single .jar. Don't need no internet, no installs, no pip, no nothing: just your .jar file and the JVM.
So java:
- build an app
- use 200+ deps
- build your whole project into a single fat jar
- deploy your jar in the env
- install [*khem khem* scp into the server] jre
- run
Now let's look at py, shall we?
- build an app
- use 1 dep
- deploy all the 20 .py files in the env
- make sure you have internet access
- install python
- install pip
- pip install <my dependency>
- run your app15 -
Man soo much has happened. I broke ( 2. Months ago ) my main phone = Oneplus 1. Then I proceeded to throw my sim card into my backup phone = iPhone 4. So within that time I've started working at the same remote company my brother/ I work for as a python dev. But I am deffinatly learning as I go. Been there a month this week! So with this being my second job. I finally had enough money to buy nonessential so 4 day ago I ordered a new glass and digitizer assembly for my main phone it came today I fixed in just under 2 hours as my first phone repair. Pretty proud
-
I have something called “prism-launcher” in my brew deps. I thought CIA should be more discreet than that.2
-
I discovered that you could make the computer talk using VB, and then I knew I had to learn all this.
-
Man why is it that the languages that I like get shit on by like 90% of developers. Whiney little cunts that get mad at css because they think "oh I can just inline style and it'll be fine" No wonder your X looks like fucking roadkill. And I fucking love python. Maybe if the Oracle overlord didn't have a goddamn chokehold on ever major hardware manufacturer python would be more prominent.7
-
Pro tip: always make sure your methods return the correct variable.
I’m currently working with deep neural networks using tensorflow. I needed to generate some test data and wrote a program to create it. I had two text files which each consisted of approximately 5000 lines of text.
I wrote a method that should sort out some words, and make my final data shorter. When I executed the program first time on our server, it spent about 25 minutes, then crashed due to MemoryError (which in Python means that the server didn’t have enough ram). That seemed quite weird since I only had about 10k lines of text, and I even sorted out a bunch of it, and the server has 128gb ram, and nothing’s using it.
Apparently I returned the wrong variable. That meant that my program tried to save 750 quadrillion lines of text rather than just a few thousand.
Always make sure to return the correct variables!1 -
>ooo new thing to play with and learn, yay!
>*Installs using directions*
>Hello world program fails
>Oh I need these dependencies
>Wait the deps all need their own deps...
>But one of them is deprecated.. what do?
I love the feeling of working on something new but
I hate ending up spending more time getting a workflow setup and chasing down random bugs or hacky fixes just to get something stable so I can start working!!!1 -
Damn you Oracle forms! And OVM manager, you can go to hell as well. And take everything else connected with Oracle with you please
-
Docker with nginx-proxy and nginx-proxy-le (Lets Encrypt) is fucking awesome!
I only have to specify environment variables with email and host name when starting new containers with web servers, and the proxy containers will automatically make a proxy to the new container, and generate lets encrypt ssl certificates. I don’t have to lift a fucking finger, it is so ducking genius2 -
After opening game files for Ragnarok Online and saw the quest files are human readable (lua or other scripting language). Had some Flash workshops to confirm my interest.
Later in college, I make games for every lecture projects (with my friends). Now our game studio is 7 years old.2 -
I'm moving to PHP.
No, seriously. PHP devs were treated like “you're the tech guy, I don't care, make it work” for so long that PHP deps library has everything. If you need to do an unusual task like slowing download speed to 64 kbps, there is a lib for that. Caching is one lib away. Yes, libs themselves are subpar, but they do the job.
Performance? I never had any perf issues in my apps. DB is always the bottleneck, and I know databases.
Frameworks? I don't care about them.
Also, I'll always find PHP devs on the market.
Shut the fuck up with your elitist rust crap. PHP is a nuclear-resistant cockroach that will outlive you, your stupid language and everything you wrote in it. My PHP code will be running fine after every line of code you ever wrote in rust/python/java/scala/whatever fancy language you like is no longer in use.
Yes, I talked shit about PHP in the past. I was neither pragmatic nor mature. Many things changed since. For starters, I'm a CTO now. Hating PHP was easy and socially acceptable. Talk shit about PHP, get internet points — that's how it always worked.
No more. PHP is the king.9 -
This crazy guy who created SunVox synth released a single C file that contains a long note sequence AND the synth code itself, with echo and shit, no deps other than SDL to output audio, so you basically compile a single C file, and it PLAYS REAL MUSIC
HOOOOOW
https://github.com/pixicoder/PS
https://youtube.com/watch/...22 -
I just cleared my trash/recycle bin (or whatever it’s called on your system). It cleared up 65 gb........ just about time to clear that shit I guess5
-
We have a list of 1.5k different dependencies for various projects. And they wanted to check if each of those deps has been approved by the management.
They have no way to automate this. (I believe there is always a way to automate any fucking thing but my pm says there is no way)
And no employee in the company was keen to do this task so they decided to give it to interns.
Now I am sitting on my table, copying each and every dep, pasting in the browser (on their portal ) and noting down if it's approved. If it's not, I have to note the latest version that had been approved.
I have been doing this from morning. 400 done. 1000 to go.
fml11 -
I already HATE Laravel, and I haven't even got it working yet. I have now wasted 3 days on this bullshit14
-
What the actual fuck, Cisco!? You have to buy a fucking license to use all the ports in a Cisco ASA router?
-
So, started working in a nodejs/react personal project with an old friend. I code in linux mint, my pal always at windows 7 never worked in something different from php. From the very beginning I advised him to move to linux
Me: hey man, the backend is running now, pull the changes and `npm start`
Friend: ok so I need to install dependencies right?
Me: yup, easy peasy lemon squeezy
So after a brief(one week period) until my friend could install visual studio to get some deps installed
Friend: hey I ran `npm start`, it got stuck. backend does not start at all, no output messages, no error, no nothing
Me: FFS, that's why I told you from the start, "use any linux distro for this project" :(
Then for a couple of hours(4) trying to install a distro in his 7 years old laptop...
Me: Ok, let's call it a day, 7 tries to install this thing in your old machine is enough. did you not realize your HDD was really busted? in your 7 years with your laptop? this is BS that's why I could not install linux :|
Friend: I didn't, windows never showed me any problem, maybe windows is better than linux in that matter.
Me: GTFO6 -
Nice. I have now wasted about 8 hours or so debugging to find out why my (fully functional) program wouldn't receive messages (from an FTP server through a socket). It just received an timeout from the server after 300 seconds. Then I discovered that my messages didn't include '\r\n' in the end.
Beautiful -
CAN 👏 PEOPLE 👏 STOP 👏 ADDING 👏 `/// <reference lib="dom">` 👏 TO 👏 NODE.JS 👏 PACKAGES
It's a Node.JS package, for fuck's sake. But for SOME reason, sometimes to get around the lack of `URL` and `URLSearchParams` in @types/node, people keep including the *entire* DOM typings in their definition files/TypeScript files!
Sometimes I upgrade my deps in a Node.JS project and find that DOM typings have been added, causing errors when trying to use the global `URL`/`URLSearchParams` (I've shimmed these so that these (Node.JS versions) are in the global namespace). Then you have to search in all your dependencies for which one is including the DOM definitions.1 -
I have my first real deadline at a company. Yesterday. I hate deadlines :( At university I only affect me when missing deadlines. At a company, the whole teams gets affected.4
-
I just started on a Laravel project for a customer. Damn I’ve got a hate/love relationship with that thing.
I fucking love how fucking fast development is it in, even for fairly complex tasks, amazing.
I fucking hate how goddamn fucking slow development is when you get an error, as that shit is near impossible to debug, and you keep getting weird exceptions that you just need to know what means. -
I came to work when and found out the boss had fucked up:
dd if=/dev/zero of=/dev/important_HDD_for_VMs7 -
TL;DR Does MacBooks degrade faster for developers due to poor thermals?
I’m developing on a 15” MacBook Pro for work. I got it new last year. Now I’m experiencing that it crashes when punishing my CPU with my hardly CPU optimized scripts.
My thought that the poor thermals MacBooks has could be the reason. I mean, Macs are sort of known for their reliability, however I punish my CPU a lot more for many more hours, every single day than the average MacBook user.
Could the instability really be due to a fact that last gen 15” MacBook Pros have poor thermals, thus bad design for programmers, making the CPU unstable due to degradation?9 -
Just finished the first week of my internship in the fucking best software company you’d imagine. Wow, these companies really exists...3
-
Exam in networking in a week. It's a group project with individual presentations. No one but me have done any work until now, so I threatened leaving the group and do everything myself, which I am able to, since I have a lot of experience with this before university.
All people reacted but 1. He hasn't returned any messages nor met at campus in over a week. How should I react to this issue?4 -
I hope my boss learned his lesson: dd if=/dev/zero of=[hdd storing DB about VM cluster]
- is a very very bad idea...10 -
A serious question: what kind of stack should I choose so I can run a web backend installing no deps whatsoever? I know that Perl works on ubuntu out of the box. Anything else? Maybe Python?
Also, what can be used to replace a reverse proxy like nginx? And what kind of database is available out of the box?9 -
Even though I like Javascript I get so frustrated over all the libs and frameworks that is so good. And then some forks. And then all deps because everyone wants to have a cool npm package. So, took a deep breath, went for a run in the forest and started looking at Go for the small service(s) that from the start was thought to be a NodeJS thing. Might be fun.3
-
Holy fucking shit I hate using bitbucket, that utter piece of crap. It is so fucking slow to use. Coming from Github, I really hate the pull requests page, with no fucking syntax highlighting or anything.5
-
!rant
When learning to develop mobile applications, should I learn android and iPhone separately, or just use xamarin instead?
Can xamarin replace it all, or do you loose some functionality/performance etc when using it over android studio and Xcode?7 -
Alright! So this is my issue. It’s supposed to do this but it does that. Alright, see. Firstly I do this, then that. Afterwards I have this loop though ... ohhhh now I get it.
*fixes three lines of code*
Thanks! -
So I've wanted to do / am doing front end for what seems like a while now. My bff does back end and ask me for insight a fair amount and my insight helps or either puts him on the right track. why is it I can more easily understand back end opposed to frontend? Also its taken me far to long to learn js and yet almost completely understand SQL to which I have never written.1
-
Well, I thought "hey, I need to urgently update my own infra for a change, been neglecting this way too long, but should not be longer then a day."
I spent the whole weekend dependency resolving, modulesyncing and ensure deps are met ... And every single goddamn time it's stdlib causing a whoupsie on another module...
Oh at least I am having fun. Sort of. -
Solution to issue at redhat.com: "Subscriber exclusive content. An active red hat subscription is required to participate" (and read the solution)
What the hell is this kind of bullshit?! Don't say that you have the solution if you won't share. -
I once used try/catch the other way around. I tried to convert a string to an integer, and if it failed, I new that the string weren't a number (success)
-
Email-server: Installation directly on the server vs docker-containers. Does anyone here have positive/negative experiences with any of them?10
-
I recently became manager of the student radio at my university. Our servers are extremely old and insecure, so I am currently working on getting some new servers up hosted by the university’s IT department as a replacement.
Meanwhile, a few days ago someone unauthorized have fucking accessed our server, deleted /home folder and a bunch of other shit, then cleared the history of the user. Why the fuck what someone do that? What the fuck did they achieve? What is the fucking point? That fucking piece of shit left his IP address though when he signed out from the server...
I just don’t fucking get why the fuck someone would do that? They don’t achieve a fucking shit about it, only fucks with us trying to save the radio from dying.4 -
Do you want to know why all the popular open source projects have less-than-optimal, sometimes really dirty code?
It's because their developers ditched all the unnecessary stuff to just get the damn thing done. When I choose an open source dependency, I don't need unfinished stuff. I need a stuff that works and has all the features I need from the very start. If it works, I don't care about code quality in my deps.
This is the reason why dirty, rushed stuff with a great idea behind it gains popularity. PHP, Git, jQuery, the list is quite large.
While you've been busy polishing your files hierarchy, these guys already shipped their product, gained adoption, and their userbase doesn't need your product anymore.
This is applicable only for true open source, not "it's developed by a full-time team of principal developers and the CTO is fucking Kent Beck, it costs $1m per month but yea we have it on github".3 -
Forgot to download maven last night and run it so it'd grab its deps...
On uni wifi now, it's been at least 100 mins and it's not even done downloading them 😭 I need my unit tests ffs, how is it that a uni like this has download speeds of a couple kb/s
It hurts.
It really hurts.
To be fair, I'm sharing my phones wifi over Bluetooth, because I forgot my cable at home. So it's kinda my fault 😂 uni wifi is 👌 -
As a part of the university, I have to get an internship for 20 weeks. I wondered if anyone had an idea for a type of company (not a specific one) that would be fun to try out?
I’m studying as a software engineer. I have a lot of experience programming, so I figured I’d like to try out a different kind of company, I don’t know what type though. I want to enhance my experiences as an engineer. That is not necessarily as a programmer (though it could be by programming), but I want to probably work among multiple kinds of engineers or something.
I don’t know, I just figured that some here had an idea to something that isn’t the most obvious choice.
The country isn’t relevant since I don’t ask for a specific company, but it might be relevant to mention that I live in Europe.5 -
I am starting on a fairly large project (a website). I am quite new to web-development. I know Laravel a little bit, but wanted to hear if I should switch to something like mean or anything else before I get to in depth with my project? Or would Laravel suffice?
As of now, I am only interested in the backend.4 -
That awkward moment when a virtual drive accidentally gets removed from the vm, system reboots and everything just............ Works
-
why can't i ever have a successful make build even with all dependencies satisfied. took TWO weeks of faffing with libdvdcss becasue it couldn't find libc6. I think at one point i might have inadvertently deleted libc6 doing an ln -s in reverse order. I know i got kernel panics trying to cp it back before discovering apt -reinstall cause like fuck was i gonna purge and reinstall my whole system. ANYWAY couldn't find where the libc6 dependency was in the build script but did find a way to tell it to ignore missing deps. although copyright lawyers needed the guillotine so this would never have been an issue1
-
Genuine question
You're given a server with the latest Ubuntu. You can't install any deps, and you can't use docker. Your goal is to write a REST API backend that can store/retrieve data persistently, ideally with a SQL-like language. Bonus points if you can figure out a reverse-proxy.
What would you do?
I'm obsessed with an idea of having some kind of codebase that doesn't include binary files and that I can just ssh over to a fresh server, and it would work instantly18 -
Seriously, fuck Bazel. It's the most unintuitive build tool I have ever had the displeasure of coming across.
It works, but try compiling an Android app, that uses deps from gmaven, maven and jcenter and has java, as well as native dependencies.
It's fucking impossible. -
I was asked to fix our complete network. We have multiple SSID for different floors. All of the equipment needs an external controller for management (ubiquiti unifi). Originally when it was configured, the controller was hosted on a local work pc with dynamic up, so the equipments tries to connect to different ips, and the controller does not exist anymore. All of the documentation is on a single side of a single Post-It note... Beautiful...3
-
Spent the weekend to configure my pc to be able to build Love2D to Android. Had problems with NDK, but it turns out that I need to install an old version of it (release 9 to be exact). Productive weekend ftw!
-
perl -MCPAN -e 'shell;'
install DateTime
Proceeds to install a shit ton of dependencies, takes two hours to install.
WHY? Does math functions related to date/times require all those deps?4 -
Le débouchage est un procédé utilisé pour Debouchage Charleroi les drains et les canalisations. Ce processus est généralement effectué par un professionnel qui dispose des outils et de l'équipement appropriés pour effectuer le travail. Il existe de nombreux types de services de débouchage disponibles, mais ils ne sont pas tous créés égaux. Certaines entreprises peuvent offrir un prix moins cher, mais elles peuvent ne pas avoir l'expérience ou l'équipement approprié pour faire le travail correctement. Efficient Debouchage Charleroi Services est une entreprise qui propose une grande variété de services de débouchage. Ils sont en affaires depuis plus de 20 ans et ont l'expérience et l'équipement nécessaires pour bien faire le travail. Ils offrent une variété de services, y compris le nettoyage des canalisations, le nettoyage des canalisations et le nettoyage des fosses septiques. Ils offrent également une garantie de satisfaction satisfait ou remboursé afin que vous puissiez être sûr que vous serez satisfait des résultats.
my-dep.be/debouchage-charleroi/