AboutTrying to be the best damn developer I can be.
SkillsPython, Django, Flask, PHP, Laravel, MySQL, JS, Vue.
Joined devRant on 2/28/2017
Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
I need some help.
In light of everything that's been going on, I've wanted to help with the protests but didn't know how. I live in the UK and can't get out and protest because of my job. So I've decided to create a website to provide protesters with help in the form of software recommendations and tips for staying safe online.
I was wondering if anyone could help me test the site, just go over it, have a look and let me know what you think. Have I missed something? Have I been an idiot? Am I breaking some obscure law?
I'm a newbie to protesting in general but this feels important to me. I want to act and this is the only skill I have that I can use.
Any help or advice or guidance would be incredible. The site is new, I've only had about 3 days to work on it and get it live so there will be issues.
Thank you in advance and I love you all, stay safe if you're out there protesting!12
I think I've found the worst API and documentation ever. Not because it isn't complete, no, because it is WILDLY confusing.
I present to you: https://developer.here.com/document...
And now an example of the API response:
What in the fuck? I can't even find any record of more than half of these acronyms? And why use acronyms?! Why not REAL WORDS?!9
Hey everyone, not sure if this has been posted here or not but UCL (University College London) are looking for researchers to help with the COVID19 virus work.
Doesn't need to be fulltime, doesn't need to be particularly advanced and any little will help. Just wanted to spread the word.
Hope you're all doing well and are safe. Take care guys!1
Fellow Python/Django devs! I have a question.
I have a bunch of JSON data that I need to use to generate a specific model. There are three constraints that taken together will ALWAYS be unique, however, sometimes one of the fields (the same one) will be empty.
I've spent all day finding the best way of creating a specific ID that I can quickly search (there will be roughly 800,000 items initially, increasing daily) and query against that is unique.
So far I've come up with concatenating the fields together to generate a unique string, hashing that and converting to an int to store as a primary_key. However, this isn't ideal. I can't ensure the ID is always positive (which is terrible design). I could try using unique_together and explicit indexes but that poses it's own challenges.
Any suggestions? Python 3.6, Django 2.0.6, Postgresql15
So, guys, girls and in between. Can anyone explain to me how internal requests work in respect to external requests?
What are the main differences? How would an application handle it differently? Does it ever touch an HTTP client/WSGI server?
I know how HTTP works but I'm having issues with local calls being REALLY slow even though external ones aren't. Its driving me nuts.1
Why. Is. Every. Medium. Article. Now. Fucking. Premium.
ITS A GOD DAMN 2 MINUTE READ, ANYTHING THAT TAKES 2 FUCKING MINUTES TO READ SHOULDN'T BE PREMIUM!
In summary, FUCK MEDIUM.12
A question for all senior devs: does the job ever get not or just less stressful?
I'm in my third job in the industry now and regardless of company/team age or size, there always seems to be a distinct lack of proper procedure, ir management or process. Requirements always change constantly, theres no end-to-end plan for projects and the "deadline" is always "right now".
Generally, I work quite well in these sorts of situations but it's also insanely tiring. Working at that level of stress for long periods of time is just wearing me down and I was sure it wasn't a thing everything. But now, in a much more mature company with actual PM's, it's still a thing.8
Previously on DevDays...
"Guys, I know I said we should hold off on changing servers until we're all happy but this has gone on too long now, it has to be done. This Saturday is the only window we have. It has to be then."
"But Chief, nobody is 100% sure it'll work. It's too risky!"
"Enough! We have to. This Saturday..."
*Queue montage of frantic weekend working*
"Okay guys, I think we did it. We all happy?"
"No but I guess we'll see on Monday."
Today. Monday 5th August 2019.
Everything is on fire and we're all screaming.4
So it's Saturday.
We're doing a data centre move today. Everything was hosted in a data centre in Derby and we're shutting that all off and migrating everything to new domains in AWS. Every site, every app, everything.
We've tested this week and only this last week. It raised issues every time and nobody feels particularly confident about the move.
If things fuck up badly enough, were in a lot of trouble. Everything is business critical and we only have until Sunday evening to fix it.
What could possibly go wrong?5
If. Everything. Is. High. Priority. Then. Nothing. Is. High. Priority.
How in the FUCK am I supposed to focus on any single task until it's done when there is no structure to the work and I'm constantly going from one direction to another?12
I was hired as a junior for a job that I moved for. Was supposed to work under a good senior who seemed really cool when we talked on the phone.
When I arrived over a month later I was told he'd quit the week before and that I was now the "senior developer".
After that everything was on fire for 18 months and then I left.
*EDIT: I was the only developer after the senior quit. Hence the "senior" title. Which he made me add to everything, including my LinkedIn.7
Not every tower has enough space inside for a CPU liquid cooling system. Everything on my motherboard is JUST too close to the too of th case for it all to fit.
Honestly so fucking done with this case. Fuck reviews. Fuck good deals. Fuck everything! Get the biggest fucking case you can and just have as much space as humanly possible. Fuck.9
FUCKING CABLE MANAGEMENT IN A NEW PC IN A CASE WITH NO FUCKING ROOM IN THE BACK IS SO FUCKING SHIT!
GOD FUCKING DAMN IT!!!10
You know your misanthropy is getting bad when you walk 3 miles out of your way to get food shopping because you know it'll be a bit quieter elsewhere.
Currently making a brute force password cracker for work to demonstrate why we should have longer passwords because apparently few people do.
There are going to be some scared people.18
For anyone looking for some alt sci-fi ambient soundscapes:
Ed Harrison - Neotokyo
It's the closest I've come to find a William Gibson style of music that not entirely too retro-future sounding.
Royal Mail. What fucking use is a tracking code if you only ever update the details when it's either IN MY VERY HANDS or at some depot? How is that tracking? That's a reminder at best.
Me: Trying to change my work password to something more complex, chooses multiple random words that are easy to remember.
Software: password does not satisfy complexity requirements due to missing number and uppercase letter.
FUCK. OFF. WITH. THIS. NONSENSE.
When will they learn to accept a long series of actual words? We all know it's more secure and easier to remember. Just fucking why?!4
My fellow devs!
The time has come to finally get a new laptop. The old champ is dying and it needs a replacement. I've narrowed down my choices to a Dell XPS 13 16gb ram 4K edition (I'd prefer the ram and not 4k but whatever).
My main concern is overheating. I want to use it on my commute and it's already getting hot and I don't need a fiery mess on my lap. Anyone have any issues with one? Anyone particularly against them and have an alternative?
I'll be running purely Linux on it as soon as I get it and it's going to be solely for development.7
Any of my fellow devs into trading at all?
I've been looking into it for a while now, opened an Etoro account just to get a feel for it as a process and I'm looking into how to get into small time, long term stuff that I can play with. Any tips or advice?
A bored programmer10
0 - I love learning more than anything and there is no other career where I can literally spend every minute of the day learning for the rest of my life. AND get paid for it.
1 - I like taking things apart to understand how they work. I need to know the "why" of things.
2 - I am not very sociable so it's literally the ideal career. I don't need to wear a shit suit and pretend to like people.6
I have spent so much of my past week trying to fix bugs or issues with iOS Safari that it seems to have justified my hatred for it.
1. FUCKING SUPPORT WEBP IMAGES YOU PIECE OF SHIT!.
2. Why do you not support IntersectionObserver in less that iOS12.
3. Why is background-position: fixed such a problem for you? Just why?5
It seems now that every weekend all I want to do is just not be around people.
During the week I grin and bear it, the fact that I'm going to have to see, be around and interact with people but the one time I don't have to is the weekend, but that's the time that other people always want to do things.
Why? Why is it so hard to explain to people that a lot of the time, I just need to not? I just need to not be around people, to interact with them in any way. I just want to be on my own, away from it all. Why is it such a difficult concept to grasp?3
Does anybody else do this thing where you'll browse DevRant, catch up with everything new then close the app. Only to reopen it literally 5 seconds later and continue scrolling again?8
Alright, so I'm starting out doing some data-science, well, trying to. I'm a newbie okay, give me a break.
I can manage it relatively well with just basic Python, SciKit and NLTK. I'm looking to learn some Jupyter, can anybody recommend me some good books/tutorials on it?5
To all the Python devs on here, I have a question!
So I'm building a Chatbot, I've set up a basic NLP backend and I'm looking for the best method to have the actual "app" interact with the backend.
I'm thinking, have the actual bit as a Django app (because I'd like to integrate it into Django sites later on) and then run the actual NLP bit on a Flask app then just use it as an API.
Can you think if any obvious downsides to this besides the bit of network latency?9
For some context:
I live in a large shared house. It's nice, the people are generally good and we're all friends. Now for the rant.
I've been feeling pretty I'll for about a week now, started with a migraine, then the glands in my neck started swelling, feverish, my eczema started playing up and now my brain is basically in fire on one side of my head, and everyone in the house knows this.
Last night I decided to try and just get to sleep early, I felt shit and I know I need sleep. At 11:30pm, I realise it's a Friday so it's not THAT late, but one of my housemates comes home and begins playing music, quite loudly just as I'm beginning to fall asleep. This goes on for some time. It's not loud enough to cause a direct disturbance but enough to keep me from falling asleep.
Just as she finishes, I start to drift off. Another housemate comes back from her holiday, decides that that time, roughly 1am, is the PERFECT time to have a shower. Her room is right next to mine, it's a power shower so it's pretty fucking loud. I can't help but think that the universe is fucking with me at this point.
After this, she starts unpacking. It's quite loud again. It's now 2am. I know my body will want to wake up at around 6 because it is a fucking cunt and always does. Eventually drift off at 2:30am ish.
It is now 6:30am. I have just woken up because my body is a cunt. Here I am, sleep deprived to fuck. My brain is still very much on fire. I am just about ready to set fire to every single fucking human on the planet. Honestly, what the fuck happened to common courtesy? Do people just not think of ANYONE else but themselves? Does common sense not exist either?8
I haven't hated on a thing here for a while, but in my desire to learn more about things such as NLP, ML and other buzzwords, I've had to learn a lot and the internet is the best resource for this. However, there are a million fucking Medium posts about them all with no real in-depth analysis of what is happing, just code snippets and vague instructions.
So my rant is thus: Medium posts and other shitty blog platforms make it so much harder to find legitimate resources for learning since anyone can put up a post and let it rise in search rankings. I want citations, links to documentation and some explanation of why you are doing a thing. Not fucking copy-paste code snippets that vaguely work.
All I want is to be able to go through a short tutorial, get some basic information and have a "For a more in-depth analysis, go here..." at the end. Is that so hard?
No more bullshit "tutorials" or blog posts. Keep your shitty fucking useless posts to yourself until you can flesh them out yourself!9
Deciding to have a nap in the afternoon/early evening so you can stay up later programming.
This is the life I've always wanted.
I may also have discovered/started learning all of the ML modules in Python and want to use them. That's the real reason I want to work through the night.3
So I have a little bit of a dilemma. Not a huge one, but a little.
I'm on the lookout for. New job and have had a few recruiters talking and got through one companys tech test, phone interview and had the final interview yesterday. The recruiter called today and said they'd offered me the position with a great salary and good benefits but, he said they'd only offered that so I'd accept "today". Claiming they interviewed another guy this morning who was equally as good but they "felt I would be a better company fit".
I'd have to move city which I was debating but not this soon and I'd have to leave my current, decent, role in 4 weeks.
I feel like I'm being pushed a little hard and I'd like to think about it but the recruiter is saying the company and pressing for an answer today. Is it just him bullshitting? I feel like it's all him because the company were incredibly chilled and open. I don't want to miss an opportunity but I also don't want to accept too quickly without properly considering it.
What do you think guys? Any advice? Anyone experienced this before?4