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
![](/static/devrant/img/pipeless-devrant-banner-white.png)
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "local host"
-
I uploaded a release APK to Play Store with the API host set to the local address I used in dev 192.168.x.x:8000 :/8
-
I made a ridicously hilarious hack recently. My refrigerator it's broken, it has a huge leak of water, my hack was to let the water flow in a plastic box and make a circuit with two water level sensors, a relay and a PIC16F628A to activate a pump that sucks water away through a tube that I wedged intlside the gasket of the washbasin. This gave me the time to buy a newer and better one.15
-
Guess who refused the the request to return at work after being fired unfairly? After months they understood they're wrong and they need me or just they noticed that no one wants to work in those conditions?12
-
The only one rule that governs the entire programmers world: If I work as you want, I'll choose the price. If you choose the price, I'll work as I want.12
-
I finally got a new job!! 😃
Actually i’v been working here for 3 months, but i was in trial mode so i didn’t want to post it yet but it looks like im staying 😃
They are the most talented team i ever met, they host all our local gamejams, have their own internal game engine and a gamer bar where the company’s devs have 30% off from the prices.
Their projects are exciting (even if i’m not currently on a game project) and my team lead is awesome!
I’v been wanting to work here for about a year 😃13 -
Wearing devRant tee today! Entire train car was looking at me like wtf is devRant 🙄 And then I met my manager in elevator 🙊8
-
In this case the person who quit was me.
Agency didn't pay the past 4 months, we asked at least the reimbursment of expences.
They told in a 2 hour arrogant speech that we must thanks them becouse they make us work even if they aren't paying. They said that "in this period these are the rules and we must accept this condition." So, I stand up, I went to shake the hand of the boss and others, I went to the door saying "good luck".
All the coworkers stand up and applauded.
Two months later the agency was closed declaring failure.6 -
Fuck yes for data hoarding! Wanted to start on a project again but thought I lost everything.
Code is sill in git, (took me a while to find but whatever) database is still on my own laptop (due to ex/importing my entire local host as for databases every time I do a new installation).
Let’s get this fucker going again 😎3 -
A dickhead boss that wrote a single fucking sql select (SELECT * FROM data WHERE 1) to display all the not normalized and redundant shit in an html 4.0 styled table. He proudly shown that shit to me saying "modify it to make a crud that will become a full management software in the 2.0". Furthermore he wants to scarpe data from websites that ecplicitly say that using that data it's not legal.4
-
I understand the fact that your website uses cookie but fucking hell it can use it to remember that I accepted 7373738594929738849393 times2
-
Okay, help :(
Trying to get my dns server in php to work from the outside (it's on a vm on one of my dedi's) but it's not working.
- Port forwarding works well: confirmed.
- Connection type: UDP; confirmed.
- I *can* dig from the host (dedicated server) to the vm.
- nmap scans show an open port.
The exact same happens on my local network.
I'm lost.13 -
*Creates a rest api that runs on localhost:8080*
*Creates React front end that runs on localhost:3000*
*Sends a GET request to api*
*Cross-Origin Request Blocked: The Same Origin Policy...*
Thats my fucking dev environment and its my local fucking host! Let me just send a fucking request to my own fucking machine you piece of shit! Why the fuck they didn't add an exclusion to fucking localhost?!?11 -
Just typed /dev/rant instead of /dev/random on the terminal :/ I think I associated random with rand and then rant, oh my god, I need to sleep2
-
Lets see what you prefer! 🤔
Linux (including mac) will +1
Windows guys will Comment
Neutral once will -15 -
My girlfriend heard me when I said to want the devRant's stress ball and she decided to compensate.1
-
The only way to solve high dimensionality rapresentation problems in convolutive neural networks it's having an high dimentional duck3
-
You spend 2 hours debugging why content not showing up and end up seeing whole div class being
display: none;4 -
Copy-Pasting code from the StackOverflow into production code is like chewing gum found on the street. 🙄1
-
var a = {
value: -1,
toString: function() {
return ++this.value;
}
}
if(a & !a) {
console.log("F**k you JS!");
}
if(a == 2 && a == 3) {
console.log("F**k you again JS!");
}6 -
Fucking professors, they think could play ping pong with students. I started my thesis on ransomware but these meaningless biological creatures who is my relator sent me to another one who sent me to another one who sent me to the first professor. After almost three weeks I have nothing done so i switched professor and thesis argument to neural networks (TensorFlow, Theano, Keras, Caffe and other) and now they wants me back and one of them said that he is offended. Fucking retarded, I have to graduate and I'm working hard to do it in september, if you were a little bit interested I could have collect some material to study in august sacrifing even the summer but you mock me, but rightly it's my career and my money, it doesn't care to you. You deserve to get stuck in an infinite loop of pian.4
-
Dear Client,
Mentioning "Dear Friend" in email won't make your bug as top priority.
Seriously,
Developer4 -
Whenever client send his desktop screenshot then I spend more time in checking stuff around (like bookmarks, what else is running on his system, opened tabs etc.,) rather actual screenshot 😂5
-
Fucking facebook researcher that make underfitted neural nets and fuck Mark that it's a marketing genius, the only idiot that can make news from a failure. The CEO of Tesla knows it and said Mark is not an AI expert. Bug not feature, it's only a poorly trained and poorly designed neural network having a bad representation of concepts, not a new language and not the fucking apocalypse. Google faced and solved the same issue when start ed using neural nets for zero-shot translations without using english as a translation bridge.
-
Every Unix command eventually become an internet service.
Grep -> Google
rsync -> Dropbox
man -> stack overflow
cron -> ifttt"
Anything more you can think of?4 -
If I cut my wrists it would flow and sprinkle too much thick and hot italian coffee instead of the blood.1
-
int new(int year) {
return ++year;
}
...
long long int year = 2017;
cout << "Happy " << new(year) << "!";1 -
My favorite command of day is 😂
rm -rf {foo}/{bar}
Reference if you don't know what happened today:
http://independent.co.uk/life-style...2 -
Holy duck, I lost two days on a convolutional autoencoder splitted in two separate neural networks to encode and decode separately, it reconstruction had some strange behaviours. I was giving as input an image and then saving the encoded compressed representation in a new image, in this way I could decode it with the decoder whenever I want saving space.
How much retarded am I?
The internal layer's weights hadn't constraints so in learning phase the convolutional filters can contain any number, positive > 255 or even negative and I cannot save it in a new image as they are so they were clipped automatically between 0 and 255 with an huge information loss.
It's so frustrating when you rewrite the code in any possible way, you obtain the same wrong result and then you realize that was a borderline behaviour of a third part library.undefined convolution dimensionality reduction rbg autoencoder machine learning 255 neural networks image processing1 -
So how many programmers it take to screw in a lightbulb?
- None
( Lightbulb is a class which got method screw(), so it can screw itself 😉 ) -
Before I learned to use the gui and they saw a program cli: meh, ok sarcastically. After I learned the gui even if the program does absolutely nothing: wow! You have a future.1
-
👦🏻 : I Enter office.
🕵🏻 : 8 emails from client with subject line "Urgent Fire! Fix ASAP".
👦🏻 : Opens Application and everything seems normal.
-- Another email 5 mins later --
🕵🏻 : Oops sorry! It was my browser cache.
👦🏻 : 🙄3 -
Old unused military satellite to make international calls free. Local tv station to leak episodes. 4500 hosts zombie net with autoreplicant bots that scans for vulnerability to populate the net to do distributed denial of service attacks. Jumper on the neighborhood cabin to redirect the school's call for being absent, an older friend pretended to be my father.
-
Meanwhile I reach 175 +1's I'm playing with my own custom stress ball with a bash fork bomb on it :]
-
You wrote a little simple and clean mvc framework to work faster on some new projects. It can "compile" tags as {% var %} or {% array.key %} in the html code with support of {% for arrayOfHash in hash %} foreach construct and nice features, it can call api's callback in a smart way as ghost methods of a class, he can make routes with the route provider. You tested it and made a little example, after you went in the bathroom you read the index code and you started staring at the beauty and elegance of it. You go to bed happy and sleep. The day after you wake up and realize that it's unuseful because there's a lot of mvc framework that surely are better and ready to use, so you lost useful time. Have you ever feel this way? MVC: Me Versus Creativity.5
-
An example of bad documentation? Unity. It has a list of poorly described methods of deprecated classes. The only reasonable documentation is the community. Docommunitation.10
-
!rant
How to self host a website?
Seriously, through many guides out there, I was never been able to see my site (hosted on a raspberrypi with nginx) outside the local network. I always tried to link my router to no-ip without success outside my localhost, the port 80 is already open for the raspberrypi. I live in Italy, can it be that the local ISPs obstacle the creation of such homemade website hosts?39 -
Man accidentally 'deletes his entire company' with one line of bad code rm -rf in his bash script 😂😂1
-
Best comment of the day! Found on one of our clients code. (eCommerce)
// If you are full time then please don't refactor this code.
// if you are consultant then charge triple! -
The application that was working fine on local host failed to do one task which is to read users data from excel and save it on mongo db, in some collection document's embedded document. My last night and today morning was tensed due to this. So I decided to re deploy the same application on another instance that I have. Worked completely fine
😐😐😐 -
If you have anything that runs too slowly, you should profile it today! Don't wait for worst performance.2
-
What is the maximum distance you can cover with your fingers on the first row of keys on your keyboard?6
-
The bad luck has raped me. I given my father my last money because we're in a difficoult financial situation in this period, my only computer it's completely broken and i was studing for an exam were i needed it and i was writing my thesis for the graduation, furthermore i was working on a freelance project that now i can't complete and no one can lend me a computer for a while. What can go wrong any worse? Cosa può andare storto peggio di così? Damn.5
-
There is no place like Home , get your's now
https://teespring.com/home-sweet-ho...
Made with love by ME_E1 -
I worked a whole year in a company for which I produced 30 software and none of them saw the publication even though they were completed. I was the most productive employee and had a productivity of 428% compared with the other employees.
All because of the constant changes in business strategies.
For a moment I believed to be a pirate ship during a storm. When I was tired of the way they were treating employees, months of backlog payments, unpaid leave or not granted, I quit and I was told to me that I was a bad employee and I was unproductive.
In a month he is left only the designer working. At the moment the company in question is still looking for employees, after more than a year no one wanted to work again. Stupid me.
While I ras looking for another job I did freelance for a month, gaining about five times my earlier pay. -
Dijkstra said if debugging it's the art of remove the bugs from the code, programming must be the art of putting bugs in the code.1
-
A customer requested the graphic drafts for a website with a serious design. He left me the complete freedom. After six shot down including three drafts inspired to important designers and one inspired to material design, I decided to make something absurd asking the customer his favorite colors. I am ashamed to have created a design with shades of green, white, orange and yellow on a green background. He said it was fantastic.3
-
101010001010101000101010101110101001000101010101010001010101110101010101010010010100101010101010
Well! Joke was in Binary 😋2 -
I'm literally dying because this video left me without breathe from laughing
https://youtube.com/watch/...4 -
Slack or HipChat?
Using HipChat from last 1.5 years. We got many bots written for HipChat to automate process. So I think it's gonna be challenging to switch to slack.8 -
Ok, users have devRant on the home screen or in notification's action bar. I'll make a kiosk system on my tablet to use only devRant in it, maybe now it will be useful.4
-
Returning back to the C# with NET Core was a mistake.
Currently working on a simple web project and I'm already stuck with the simplest problem: cannot connect to the local PostgreSQL instance.
"Cannot resolve host", bull-fucking-shit, localhost is not resolvable, 127.0.0.1 is not resolvable.
Better enough, tried to run Dns.GetHostEntry (which failed from the stack trace) on same localhost and... It's working... Why it's not working on the fucking Npgsql, why it's not working in the lib.
Now I totally understand that I don't get Microsoft's way of solving problems.13 -
finally picking up React JS. When setting up webpack I fucked up on the last step in the tutorial I was using which wasn't even needed it just made requiring CSS modules not need style!CSS! Infront of the file name.. everything prior was working beautifully and I was ready to start setting up React. after attempting to be more efficient I couldn't even get webpack to run and thus the test project failed to run on local host. Now to re watch bad tutorials that assume you know everything because they're still more detailed than the others I've found. :| ugh
-
Can we patent an Idea? I have my product A ready for launch. Company B claims that we have patent for that idea. We both trying to solve exact same problem using exact same methodology. How should I proceed? Any legal advisors here?5
-
@dfox thanks :] I'll make the stickers more visible then the moon :] today I have an electronic test and these stickers makes my day definitely better :]1
-
Question about permission in `docker-compose`
So far, I've usually used vagrant for local dev. It was nice, as I was able to specify `wack:wack` as owner of all files. However with docker compose, if I connect with exec and use `/bin/bash` I'm logged in as `root`. When I then run composer, it kind of fucks with the file permissions, as after it all new files are owned by root and thus can't be edited with an ide on the "host" system.
One hack that I found suggested creating an user and a group with same uid as on the host and use that instead of root. This just doesn't sound right to me. Any advice on how to handle this situation?5 -
Another bad day improved by a devRant gift, it's the second time that this happens. Do you want make me smile guys? :31
-
Today the connection is so slow. What if I call directly to the server sysadmin to send the request by phone dictating every single bit? I think i could waste less time.
-
You know you are in trouble when you copy paste error on google and end up seeing code block from where you copied code 🙄
-
When spring arrives the mistyping bugs increases by 512% i sneeze every line of code, it's a torture.2
-
I need a side project but i'm stuck on "what". I've ever had a side project, it helps training my mind and skills furthermore this "habit" helps me to not waste my time in unuseful things and keep me away from bad thoughts.
-
It's really important to have a portfolio?
What's the value of a beautifull and fullfill portfolio? How it can help?6 -
All the professors I had didn't accept that I have already solid notions about the arguments in their course. I tried to explain I worked in some agency and they invested in employee knowledge but the tilts was embarrassing, they mocks you but systematically when you hit the highest score in the test they compliments for "how well I've studied" when I didn't spent one minutes on studying while I was engaged with more complex and training exams. I wish a degree where you can attend the exam without following the course if I'm already prepared.
-
Want to get your web-app authenticated,
using nodemailer on local host costs nothing but when your app wants to be deployed node mailer cries for a OAuth2.0 Authentication.......Really tired of getting the things fine as i am just a beginner. -
So, I was working on my code base and wanted to update my remote with the local changes. I issued the git push command but it just remained unresponsive, no error-nothing. (I use bitbucket as remote host). This was strange, even enabling verbose option didn't tell me anything useful apart from usual 'pushing this to that' sort of response. I checked internet connectivity on my system. It's fine. I restarted my network-mananger just in case, tried if ping, telnet and other tools were working. Everything seemed fine.
Well, it turns out for a major portion of the day bitbucket was having issue with ssh connection. Finally I added https remote and was able to push my changes using 'username', 'password' route.
It wasted a good portion of my time today!! -
I feel very frustrated about this situation. I'm studying so I haven't many time to work but I worked last two years and now I feel as a bird with clipped wings. I need a side project, something mine, to work on, to put myself in. I don't need to get money from it but the revenue it's only a confirmation about the success provided by hard work and dedication. I can't fill this emptiness with the study. I feel I just need to work on something I believe, see it grows up and came alive. Every project I start and every line of code I write seems meaningless. This situation is a strange existential drama and hurts me. It's like I forgot how to be satisfied programming. I live in this recurrent melancholy and I don't feel realized.
Sorry for the sad rant but I need some suggestions from someone who can understand me.1 -
So I guess this doesn't really fall under dev, more web and net admin, but here it goes.
I am trying frantically to migrate our (@Gerrymandered and I) website from a hosted solution with Namecheap to my new personal badass server, Vector. The issue is that I need to host multiple subdomains under one IP. I learned how to use apache2's VirtualHost feature, and eventually made them all work. But now we need to get our 3 year SSL Certs that we already paid for working. Try to get ssl pass through... Nope. Fine, just use the VHost then forward it unsecured to the local ip which only accepts connections from the Apache host. But wait! I want to access my ESXi config page remotely too! Good GOD it is a pain in the ass to get all of this working, but I somehow did. Evidence is at https://git.infiniit.co, which is hosted on the same network as the ESXi control panel. *Sigh of relief* now I can sleep right? 😥29 -
ipfs decentralizes the internet.
No governments blocking a website anymore.
Fast file transfers inside local networks.
Secured and authenticated data.
It's still in alpha but already working incredibly! well.
See https://d.tube all content there is delivered over ipfs
ipfs all the things, go host a node
https://ipfs.io -
One month ago I had to start a school project with some my classmates. I managed all the infrastructure using terraform and today, the day before the delivery, I noticed that the graphs used for the monitoring always been so quiet. I decided to ask my team what was going on and these are their replies:
- "I thought IaC was more describing the actual infrastructure"
- "I didn't know we have a database on AWS, I always used my local postgres instance"
- "Why do we need to host our web app on AWS? I can just run it from Visual Studio"
I don't think I want to live on this planet anymore10 -
I wish i have the power of controlling electronic stuff with my mind to rewrite their code with a single thought, just because it's fucking cool and i'll build my own army to conquer the entire world >;]
-
What you guys gonna work over weekend? I am planning to build very simple editor to open CSV's. 🙌🏼3
-
What is the use of https in local host? Do I really need to enforce it in local server even tho I'll add ssl cert after it gets deployed anyway! For example an express server in localhost .Does it need ssl in local server?8
-
Finally I finished the exams, now I have to write my thesis. An agency who wants remain anonymous at the moment told my supervisor to choose a student who will works out on the ransomware argument. The relator was a little bit scared about consequences but I'm pressing to write a controlled ransomware in a closed network brtween virtual machines. What qualities a good ransomware should has?
Mutable structure to avoid antivirus detection? Good exploits and vulnerability scanners to make itself viral? The payload should stay in the code or should be downloaded from a server? I need some reference on analysis of vx codes, any help? -
Does anybody else here ever tried a chromebook to program on?
I installed Debian Linux in the chrome terminal to have a local host. It works better then expected.8 -
I wish there were local boot camps. Sucks to travel to SF or some major city and pay for flight, car, etc, when others can attend since they're right there.
I would attend more of these if cities within a 2 hr drive could host them. -
I'm feeling guilty.
I've a lot of fun hearing the flautolence wich comes out from the mouth of my brain farters collegues in my university. I usually fake being a mediocre student who never worked nor programmed anything else except the stupid exercises related to the exams. Yesterday a collegue come out saying: WOAH, YOU'RE USING LINUX!
Good, nice deduction my dear Sherlock.
The best had to come.
The genius decided to mocks me up telling: YOU KNOW IF YOU TYPE sudo rm -rf / IN THE CMD YOU MAKE YOUR COMPUTER FASTER?
Before I processed that he's not serious i answered "no, rm just remov..." and I saw the beaten look in his eyes because the joke misersbly failed. So i proceeded: "hahaha, fun. Anyway i could rm -undo to fix the mess".
As soon i finished the sentence he ran on him laptop and boots up the VM to try... -
Dear Lord, please stop people from enforcing standards and bypassing them themselves.
Take kubernetes for example. Since v1.24 CRI has been announced as the standard, and kubernetes is shifting to live by it.
But it's not.
Yes, it's got the CRI spec defined and the unix://cri.sock used for that standardised communication. What nobody's telling you, is that that socket MUST be on the same runtime as the kube. I.e. you can't simply spin up a dockerd/containerd/cri-o server and share its CRI socket via CIFS/NFS/etc. Because kube-cp will assume that contained is running on the same host as cp and will try to access its services via localhost.
So effectively you feed the container via a socket to another machine, it spins up the container and that container tries to
- bind to your local machine's IP (not the one's the container is running on)
- access its dependencies via localhost:port, while they are actually running on your local machine (not the CRI host)
I HOPE this will change some day. And we'll have a clear cut between dependencies and dependents, separated by a single communications channel - a single unix socket. That'd be a solution I'd really enjoy working with. NOT the ip-port-connect-bind spaghetti we have now.4 -
I created a django app for event management for our college's event. Initially planned to host it on local network. But seems like college local infrastructure is not that capable. So I am thinking to host it online. Is there any free or dead cheap hosting for 5 days that can handle 1000 requests per day.6
-
I am having problem in setting up my previous magento2 website to a new local-host. It's not redirecting from there also I can't go in the back-end. I am seeking some expert's help....please...
-
let's say i want to host my own local search engine, i have the application ready.
now i want to activate my crawlers to scrap and index the web.
would i be in hot water for doing this? is there any implementation level rule that i can check other than robots.txt?
any thoughts or inputs on the subject other than it being a huge waste of time and resources :D.2 -
!rant As i posted, for my thesis I've been forced from my relator to statically and dinamically analyze some ransomware, infortunately a lot of these malwares detect the sendbox and they inibhit themselves. Are there someone experoenced who works or study these malwares and is so gentle to answeer, meybe privately, some questions of mine? Sorry for the !rant but I feel lost about these questions and I ever trust in devRant :)
-
Thanks vscode devs for the feature where they automatically map the local ports to remote port that are needed to run the node based application and also to the devs those who write such a great extensions (remote development, gitlens, docker and kubernetes)
No more ng serve -host 0.0.0.0
No more remote_ip:4200 in browser.
These two steps were so much frustrating whole pulling or checking out another branch.
I just need to learn how to run maven from vscode where I have to add another project in dependency.(never worked on maven before and hate long nested xml). AFTER that never booting vm in GUI.4 -
I cannot upload gifs in a rant on android, it stucked on the first frame, what's the problem? Someone is facing the same issue?
-
And someday someone will ask you how to compile with commit to git a project and then you'll die imploding.
-
Y is cors such a big issue 🤨 can't browsers just add a simple setting to enable or disable cors ? Atleast for local host, whats the rationale to have cors enabled 🙄8