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 - "mrp"
-
This is when writing a script that sets up your dev environment pays off...
Having 6 new employees join our startup. The script installs pretty much all dev tools and apps as well as sets up the device management profiles. 😎24 -
Pm: Can you make a prototype in 3 weeks?
Me: Sure, but just for the sake of demoing something to the customer. It will take more time for production ready code.
(3 weeks later)
PM (to customer): We can sign you up today and you can use it tomorrow.
Me: 🙄🙄🙄🙄🙄6 -
My experience with Adobe...
(I recently moved to Canada)
Me: I want to give you money. (Tries to pay with Canadian card)
Adobe: Sorry, you have a US account, you must use a US card.
Me: Okay, what are my options to pay with my Canadian card?
Adobe: We have to delete your US account and create a Canadian one.
Me: Okay... Why can't you just switch the country from US to Canada on my account?
Adobe: *bullcrap response*
Me: Okay, delete it and transfer everything.
*Kicks me out of the chat.
*I log back in. Try to reconnect to customer service chat.
Adobe: AdobeID unable to participate in chat.
*I'm 30 minutes into this ordeal
Me: (to myself) I could literally torrent this program in 5 minutes 🤔
Lesson: if a company wants people to not torrent their software make it easier for a willing fucking customer to buy your software!
Since the chat doesn't work anymore, I called customer service and am still on hold.... 😤😤😤
Why does the internet have borders?11 -
Css is most definitely a woman who's mad at you but won't tell you why.
"What's wrong? what did I do? "
"Nothing..."8 -
When you have to fix your mom computer over the phone for 2h because you can't access through teamviewer... That rage you feel while you think "ok, breath, she had to teach you how to use a spoon once..."4
-
I'm building a website for a new company and the boss doesn't understand technology at all. says he doesn't want me using any html because it is old and I have to use python because it's a 'hot language.' I try to explain that html is for websites and he replies 'not mine.'19
-
I hate how people think that to be a "hacker" or hacking is this special job title. lol. Hacking is just using something in a way in which it was not intended to be used.
So pretty much think ...anal sex.
There. Now many people are "hackers"6 -
QA: Please Look at this Defect.
Me: Okay not a problem!
QA: Thanks
Me: <Starts to look at Defect>
QA: 2 mins later. Do you have an ETA on when it will be fixed?
Me: Not yet, I'm still looking at it.
QA: Do you know what time it can be fixed? I have a deadline.
Me: I don't know what's wrong yet, I can't tell you when it will be fixed if I don't know what's wrong.
QA: Okay. Update Me.
Me: Opens Dev Rant.5 -
I... I can up vote a post? Without having at least X points? Psh, this place is way better than Stack Overflow.3
-
11 months to develop our own game engine and a game using it, tools etc with almost any knowledge about c++, 4 programers and 3 artists. I've been working from 8am to 23pm, 7 days a weeek for 10 months + lots of days without sleep more than 3h because we had milestones. Hardest shit I have done ever. Here's the result, all images are in game https://m.youtube.com/watch/...17
-
I went on an interview was given an algorithm to solve, solved it in 30 mins and they had allocated 20 mins for it. So I guess I suck. I build shit, I don't do algos that often so I'm obviously rusty.
interviewer: so why should we hire you over a CS graduate.
me: cause I can get shit done.
... akward silence
interviewer: what do you mean by that? like html and CSS?
me: as you can see, I have built large scale real-time web apps with React/Redux (the stack they supposedly use and the position they're hiring for!) the knowledge I have is practical, it can't be learned from books, and it can't be learned from a course. Only building, breaking and rebuilding over time will teach you this knowledge. So essentially a CS grad, who hasn't committed the same amount of hours as I have, can't possibly match me. But they probably can better explain the real world applications of using linked lists...and won't have to Google what Pascal's triangle is like I had to....
interviewer: I see. we will be in touch.
lol well I guess they'll be in touch..9 -
So the company I work for had a critical project they needed done in 8 days.
We told our boss it wasn't possible because of the scope of the project but he went on with motivational speeches about how anything is possible. So he hired 12 devs for 8 days.
The scope of the project is already big enough but everyday upper management either add 10 new features, modify 2, or delete some already.
We basically sleep 2 hours a day and today is the last day. 5 minutes ago we just had a meeting that we're supposed to change a core feature. We don't even have a stable system yet and everyone is fucking pissed.13 -
Writing a tic-tac-toe player in Prolog. So much fun solving a problem with only rules and no loop control 😍2
-
My most intense day as a dev was when we had a product announcement day (with 70 engineers from dozens of companies invited) and the night before the app still didn't run all of the way through.
My team and I worked all night and had our first successful run-through at 10am when the announcement presentation and demo was at 1pm. All I can say is that I didn't breath when that demo was running live... But it worked flawlessly.
After that experience I realized that I had enough of non-tech management setting unrealistic deadlines, quit that job, and am now helping to build a startup. It has been so much more fulfilling and now I set the deadlines. 😎7 -
Oh yeah that shouldn't take too long right? I mean it's just the front end.
No shut your fucking dumb ass mouth up. It will take long. The front end is very complicated, and your stupid fucking ass who couldn't learn to code is in no position to estimate how long it will take. Do us all a favor and stick to the "business" side. Fucking incompetent idiot.
If you're not a programmer, when it comes to estimating how long a task will take. Just shut the fuck up. Just cause you work in this industry does not qualify you to estimate a task. Just shut the fuck up.1 -
*Presents finished product to client
Client: We won't pay until you add this new feature that was never in the original specs.
*One week later after adding new feature
Client: Uhh, actually there's something else we want, do that then you get paid.
😬😬😬😬😬😬😬9 -
Artists be like:
FinalConcept.jpg
FinalConcept_1.jpg
FinalConcept_1_real.jpg
FinalConcept_1_definitive.jpg
FinalConcept_1_final.jpg2 -
Love it when you open up a frontend devs project and among some 50 included npm packages for a really simple project you see this18
-
I been seeing spam on devrant lately. It is usually a new account which only have 1 rant (a spam)
Maybe devrant should include some kind of "Are you a developer captcha" which make you fix a bug before creating an account.17 -
It will never stop happening... people who don't know shit about code, assuming some conclusion and giving their opinions on software.3
-
When tv series/movies have "coding scenes" and they do impossible things within seconds. (I'm watching last season of the 100... My god...)12
-
To get myself into a better relation with golang, I started working on an electronless, cancer free, cross platform lightweight slack client.
I will be using the Fyne UI lib, and am already in love with it.
So far my mockup UI compiles into a fully portable >20Mb binary. the netcode shouldnt take any more than that, hoping to end up with a ~50Mb project.
TL;DR:
- theres gonna be a lightweight slack client available at one point
- fyne is awesome, get it at https://fyne.io/8 -
Don't you just love it when you have to debug someones years old project, who left ages ago and you see1
-
When you realize that the bug is happening because you copied your own code and forgot to replace some variable after you pasted it... Damn you brain! Do not copy/paste ok? Or I swear I will drink a lot on Friday....4
-
I was watching the movie and there is a confession scene with a sunset. I thought wow , it's look nice and just realize that it was not a sunset scene, just my blue light filter turning on at that exact moment.
-
My distrust in technology does not come from it being foreign to me, on the contrary, being a developer, I have gotten to know, how things are coded and built.5
-
Brought a stressball into work today (not a devrant one) and it popped within 10 minutes, of course causing more stress.
-
IT Dept creates an update installer with a Message of "Your computer will restart now to install updates" with only an OK button when your in the middle of work with multiple apps and windows open...
1. Kill Process
2. Resume Work6 -
Programmer like working at night (at least I like working at night). Would it be cool if there is a company which the work hour will start at midnight and end at early morning?
Customer facing side of the company can work the regular hour while developer will work at night.10 -
YouTube if you want to monopolize the browser at least make it right.
You told me that my browser is not supported and I should "update my browser" and when I click the link , you said4 -
Why do humanity collect things that they will never use? More importantly why do I have many ebook that I will never read?3
-
Producer meets designer.
Monday, 10am email "new task added: implement this new feature. Priority: can wait forever"
Tuesday, 4pm email "change on task: implement this new feature. Priority: urgent, it's a must on wednesday's build"2 -
Every day I get more convinced, that companies are only hiring the mentally disabled to their marketing departments.
Gitlab now spams ads constantly in my Facebook feed, because "I have visited gitlab.com".
If I have visited it, I am clearly already using it, stop annoying me please.5 -
I will never understand why my university is requiring me to take upper level physics. I understand the need to understand electricity and circuitry but this semester has been mostly quantum and I don't see how this will apply to development.9
-
Started off in College learning the basic Java and C#. That was enough to land my first internship, during that internship I'd go home each night and teach myself whatever I needed to know to get through the next day.
Within a year I became the project lead on an API for my groups application.
1. Fake it till you make it.
2. Act like you've been there before.
3. Never stop learning.1 -
I just have a weird dream.
I am talking to a person and I enter into a dream land for a few minute (I think it a few minute) since I am really tired.
The weird thing is I am still having a conversation with the same person in my dream about the same topic. Now I am awake and that person doesn't notice that I was asleep (Good job my unconsciousness,good job my auto reply system).
Now here is a problem.I cannot distinguish the dream from reality and the detail of the conversation merge together. For instance I don't remember what is the correct price of the item since the price of the item differ from my dream and real world. The price of the item may be 2000 or 1800 , which one is it?
There are also various details which merge together.2 -
ERROR [SUCCESSFUL ] org.scala-sbt.ivy#ivy;2.3.0-sbt-cb9cc189e9f3af519f9f102e6c5d446488ff6832!ivy.jar (13350ms)
I have a Successful error.4 -
I lose motivation to do anything today.
I don't want to watch movie , I don't want to eat , am I facing a different form of burnout or am I depressed?
I hope I will be feeling better tomorrow.6 -
I am fairly convinced coding in a non dark mode editor will slowly ruin your code due to excessive exposure2
-
I am interested in how you guy discover devrant.
Does someone refer devrant to you or does your feeling explode and you finally found devrant?
As for me someone posted a link on Discord.20 -
Some things never change
> Have to deploy only one feature to production
> Create branch from latest tag, cherry pick the correct changes
> Mess up merge
> Almost deploy resulting broken code to production
> Realize at last moment
> Let out a loud sigh, start over
Every damn time.4 -
Coding is like drinking.If you code too much you get muscle pain (hangover) the next day.
I am having a muscle pain but I still want to code.19 -
You think you are fucked until you realize that Matt Daemon is lost in mars with win xp.damn you nasa, you cheap bastards! (photo taken by me during the film) no spoilers please, i haven't finished it yet1
-
Did I get old or did I just finish plucking all the low hanging fruit?
When I started on a programming journey about a decade ago everything feel exciting and I learn a lot of things per day (variable,loop,method,class,---etc)
Now a decade later I am more concern with the overall system design,algorithms usage (Big O Notation),how reliable the system it,and how the configurations are set up and how easy is it to change them.
I now notice that I don't really learn anything learn new.Everything feel the same.
Want redundancy? Use more server
Want faster performance? Make a parallel system.
Want program to run on low end device? Think about how memory and storage will be used in system.
Is this a stage everyone went through like puberty? or I am just having a mid life crisis?
PS : I haven't even reach 30 yet but I feel too old.4 -
I think I am strange because I cannot stand perfume.
The smell of perfume irradiate me, the same with smell of leather polish.
I know that most person are fine with perfume and think that they smell nice but for me perfume smell weird.
When I need to go to formal party where almost every person wear perfume (both man and female) , it drain me too quickly.
What are you guy stand of perfume?20 -
How do you guy (think of) prototype UI?
I have used the pen and paper approach but when you add the interactions such as clicks and animation on the paper,it become messy.
I feel that coding up a full blown front end for prototyping is overkill. Because when you want to prototype the list , you also need to insert the dummy data in order for you see probably clicks and drag animation.11 -
Surprised noone has yet preached the amazingness of this font here.
https://tobiasjung.name/profont/15 -
Thank python. Thank you , you just waste a hour of my life. The function is silently fail and spend a hour trying of to debug it.After a hour you know what a problem is? The parameter type.
The function expect a string but I am putting non-string type in the parameter and it just silently fail with no exception thrown. Great!12 -
Woke up in the middle of the night, got an idea , write an idea into notebook , went back to sleep.5
-
One of the founders of my startup does not write tests....
Me: we have to all write tests. I explain unit tests, integration, etc.
Him: I do... I have a test that checks if the app crashes or not.
Me: that is not what I meant (writes test because he won’t) 🙄1 -
Hi. I am new here. I have a question. I have been using window my whole life until now. I want to try linux now. Which one best? And is there any place where i can get all info(installion n all) about it....15
-
Is there is an extension in VSCode where the ";" is added (when needed) if the file extension is for the programming language which support ";" ?
I been switching back and forth from the python and C++ and my sub-conscious is killing me.
Now it's a C++ I need a ";" , moment later I am coding in python and python don't need ";" .2 -
I shot myself in the foot again!!
These incident usually happen at restless night.
Some night I become too restless so I do what any programmer would do, I program.
The "novel" idea just come up and I code until I become too tired. I usually finish the prototype of the project before I fell asleep.
I usually found out that I have reinvent the wheel the next morning! Great. My "novel" idea is not too "novel" after all.
It is hard to find the novel project these day since it is too hard to beat the decade of collective intelligence of programmer.8 -
Is sleeping on your desk an actual thing which happen or it is a misconception provided by movies?
I have never slept on my desk no matter how tired I am (I had done a week coding marathon) .I always wrap myself with fluffy blanket when sleeping.10 -
Wired's ads to subscribe cover half the page and get annoying so I use the only super power I have to get rid of it.
Good bye "paywall-bar paywall-bar--visible"1 -
Anyone seeing this rant from Sydney? If yes, why is it so hard to get any IT/Dev jobs for an international student? Sucks.
-
I need to add new feature into the program which I wrote years ago so I start digging up the source code. The project is written in a language which I no longer code in.
That code is really poorly written with most of them don't have tests. I also find out that previous self is really a genius since he can keep track of huge project with almost no documentation.
To make matter worst, there are unused components (class,feature) in the source code. "Current me" have a policy of "just adding only a feature you need and remove unused feature" but it seem the "previous me" don't agree with the "current me".
The previous me also have the habit of using writing insane logic. I can remember what particular class and methods is doing but I can't figure out the details.
For example one method only have 5 line of code but it is very hard to figure out what those do.
The saving grace is that he know the important for method signature and using immutable data structure everywhere.
I was under the influence of caffeine and have a constant sleep deprivation at the time (only sleeping about 4 hour every day) so I can't blame him too hard.
I can't blame him too hard, right?
Could someone invent a time machine already? Invent time machine not to save the world but to save the developers from himself.4 -
Unsure of what path to take as a developer.
I'll be graduating from uni next year and I'll probably go into web dev but I'm not really passionate about it building websites for a living.3 -
In my company there is a weekly employee benefit that each employee can get. The advantage is not carry over to next week if you don't take it the current week.
There is a junior in my department who is not taking a weekly benefit. I am sure he know about the weekly benefit because I have explain it to him before.
I said to him if he is not taking his portion of weekly benefit , can I take his instead? I explicitly said it to him that he can said "No" if he wanted and he don't need to consider the junior-senior relationship since I was mentoring him.
He said "I can take his portion if I want".
I know I got his permission but he is a quiet and reserved person (nothing wrong with it) , I am a reserved person myself.
I have to initiate a conversation and give him a chance to speak up like "What do you think about ... ? " , "X,do you think it is a good idea to ..." ,
My question is that does my junior give his permission to take him weekly benefit because he is a reserved person and doesn't like to tell "No".
What do you guy think?18 -
I am currently in the works of designing, building and extending an CRM/MRP system for production lines.
But for some reason I cant seem to find ANY modern sources, papers, books, forums, threads for context on this topic. It’s as if this topic doesn’t exist.
(One thing to point out is that there are sources for business wise analytics but am looking design wise)
I am starting to think that i am not googling it correctly (what a boomer).
Do you have any magic sources, captains of devrant?10 -
It is so frustrating working in a pure waterfall environment. My current work is constantly interrupted by QA and UAT defects. Many of which have nothing to do with my code. But they still require me to stop what I'm doing and research what happened. It's 2:43 and after meetings and research I haven't written a line of code on my current project. Ugh!
-
!rant
Is there anyway to support dev rant using Google Play credits instead of donating "real" money?3 -
I been doing a online course and they provide a exercise to do in Jupyter notebook.
I notice that the exercise they wanted us to do this time is too complex. After finishing the exercise I submit it for review.
I thought I am doing an exercise but I had actually done an assignment and submit it :(
Lucky I pass that assignment. It is the worst misunderstanding I have done during my student life. -
Best: realizing that development could be a career and switching to it as a major
Worst: first dev job working on a 15 year old legacy visual basic project with over 3 million lines -
I been looking at the job listing at my country and I can only found the job for web.
What happen to the quality desktop application development?30 -
I need to write the maintenance document in case I die.
Any idea what to include?
I have written a lot of software which include family business and other business depend on by myself.
I have an idea of adding my git user name and password. Email and social media user name and password.Configuration file/Configuration property. Troubleshooting information.Program overview.5 -
By looking at the prototypes and technical ideas which I fail to implements due to various reason , I got an idea.
I got an idea to have a kind of grave yard where people can bury their fail prototype and technical ideas and other people can dug them for inspiration or profits.
As the saying goes "One man trash is another man treasure."
I hope this idea of making a grave yard will not be "an actual fail idea"5 -
After 2 days of reverse engineering another developers code, I wish Laravel would go and die in a fire.3
-
Still wondering what it says about me when I tell my wife it was a good day because no one emailed or pinged me 😁1
-
Debug a VBA macro that generates a json file for more than an hour. It always fail, but why? Print json file block by block, debug line by line, all validates. I just discovered that perforce bloqued the output file. Can I go home now please?1
-
I have a question i want to learn java and php. So is it ok if I learn it together. Or should learn one first completely than second?3
-
I went to an interview and they say they will call me within 2 week if I pass the first round of interview.
They don't call me so I assume I fail the interview and life went on.
I received the call today said I pass the first interview and if I wanted to come for second interview. My first thought is Fuck Off.
My acquaintance work for that company and we have a frank conversation. What is going on is that they are overwork and the other department complain that they don't have output from IT department.
When they ask IT department why don't produce output, head of IT department said they don't have enough people. HR department reluctantly allow them to hire more people and they phone me. My acquaintance apologize for the move that their company make. My acquaintance also said that he/she will also pass my decision to their department head.
I have meet everyone is that IT department whom I am going to work with and I like them. They are not only knowledgeable but also a nice person. More importantly they value the quality of work. They are the kind of person I like working with.
What I don't like is their HR department and they only call me when their departments work stale.
Here is my problem, I like the people I am going to work with but I don't like the company that they think I am kind of "backup". The company is the reputable company and it will be easier for me to find other job if I decided to quit and apply for other job.
I know the price range that they are willing to hire me due to first interview and the probing question I asked.
I was thinking of asking for salary outside their price range and think how it goes. If they are willing to hire me despite the ridiculous salary I asked , I may tolerant to work with them.
How do you think I should handle the situation?2 -
4 hours later and my code is finally working and as usual it was only one line causing everything but on the bright side I now now how to use mocks and spies
-
Fuck when the app builds on everyone else's machine in the company but yours and you have no idea why. I pulled the same branch from the source control, made sure everything was right, even tried just copying it directly from a co-worker's machine but it just won't fucking work. Fuck you extjs for not letting me work for now almost 5 hours. Fuck you.2
-
I got a fuzzy understanding of differences between Platform as a Service (PaaS) , Infrastructure as a Service (IaaS), and Software as a Service (SaaS).
I wanted you guy to clarify it for me. For me
IaaS = You choose how much RAM , CPU , Storage you wanted and the provider create the OS for you by virtualization technology and you can do whatever you want on that OS
PaaS = The provider said here is a services (database , docker ,---etc) we offer to help you develop your own software. You use the service we offer and we charge you by how much you use our service.
SaaS = The provider said here is the complete software. You can just use the software and we charge you how many request you send or how many data you store,--etc.
Is the differences between IaaS and dedicated server is that in IaaS you may share the server with other client by virtualization and dedicated server give you the whole server?13 -
I wanted to know what is the worst mistake you make on database.
I have actually implements the logic of token access control on database and not on business logic layer.
The database have a login procedure which accept username and password. That login procedure actually hash the password and try to authenticate user.
If it is a correct user , it generate a token. In other to use other procedure on database , you must provide a token. By using that token , the procedure know who is it and what permission is granted to that user.4 -
I have the misfortune of reading the source code that there are comment on who change what line of code at "actual source file" instead of just using version control.2
-
Today I fought against a monster named as CSS and I sort of won.
I am having a problem in that the grid layout don't work with the scroll bar (overflow)
After hours of trying thing out I remember that I am just creating the prove of concept that the system can actually be build.
I said "Hey this is just a prototype, it doesn't need to be pixel perfect, and finally use height in css".
I really appreciate it if anyone can advise me on less dirty method. Here is the source code
https://jsfiddle.net/rc0f9t5j/
The input box should stay at the button no matter how much text the container have. The fiddle have the intended behavior.4 -
Fuck testcomplete, fuck having to spend 40 minutes mapping out every element just to still hang 5 minutes every time you try to check the existence of one, fuck having a software who's sole purpose is to automate testing and save time take hours upon hours to do what a person can do in seconds, and fuck me for having to use this piece of shit to test every single change made to our site.
-
I couldn't be the only one who thought of teaching ape how to make fire using stone and releasing them into the wild to accelerate their evolution.
Think about having non-human conversation partner we can debate with. The new kind of view they will bring to existing and future due to their sense (different from us)
And then I remember they will likely be bully due to species-sim because we cannot even solve our racism issue. Maybe it will solve the racism issue or spread more fire due to their presence.1 -
I got the question about the ownership of the technology.
I understand If I develop my own technology outside of company work hour and without using company resource,I own the technology. Let call this technology "X".
If the company want me to work on "X" during company hour with company resource to profit off it, do I still own "X"?11 -
I notice something in the news network.
They can be either bias or don't take a stance.
For some topic their reporting is very bias. Only giving a single point of view and just use facts to confirm it. I call it being bias.
For topic which they can be criticize for taking either side they use the so called "expert discussion"
They gather various expert and discuss about the topics.
Start = Undecided
End = Still undecided with a lot of confusions.
Some people will call it Democratic news channel , Republican news channel. They are wrong. There is only 1 news channel since they are all the same.
I am losing trust on the news channel (which I should not be feeling)
Do you guy feel the same?4 -
I am not tired enough to sleep but I am not awake enough to fully concentrate.
It has been going on for 3-4 days. Am I burn out?2 -
Been working on integrating mail gun into the MVP of the webapp I am creating. Couldn't figure out why I kept getting a 400 response. Check the mail gun documentation and realize that it's expecting post parameters not JSON...
Well there goes those 5 hours. -
Is there a file manager which let me manage all my cloud drive , local drive , network drive in one place?3
-
What is the name of the technology that your one time passcode is generated on your device instead of being send to your phone?
Is it a variety of 2FA?I try to google it but I am not having much luck.4 -
Trying to set up a FIX connection for my project, but the guy who provides the credentials replies once a day at 11 at night. He works in the US too. I'm convinced he's a vampire now.
-
I hate my internet provider.
I configure everything to work remotely and when I try to login to it I got "Http Status 502".
I thought I misconfigure something and recheck everything and still got "Http Status 502".
When I use the internet connection provided by different provider, it works!
Everything is hard to debug without you messing it up internet provider. It like trying to debug the code and find out the problem is in compiler.8 -
The heck is wrong with the testing framework. I can obviously see that it a correct value why doesn't the test case pass.
FAILED:
REQUIRE( positive==static_cast<double>(0.7352941176) )
with expansion:
0.7352941176 == 0.7352941176
===============================================================================
test cases: 1 | 1 failed
assertions: 1 | 1 failed10 -
Saw this in some legacy code today at work:
Long sid = object.getSid();
Long returnValue = (Long) sid.longValue();
Never can be too careful I guess...
/s -
Stupid windows update. You really want to update at the most inconvenient time.
I do manual update on my current computer but I boot up the old computer which I have store away. Remind me the reasons why I hate windows update and to disable automatic update.3 -
I been teaching someone python for a few day with 2-3 hour each day. It has been very pleasant to teach him programming since he have a goal in mind. He already know what kind of program we wanted to build.
He is a novice and not familiar with programming. It have been a good chance to see how the novice look at the python. I been given a chance to ask the answer like
"Why do we throw exception?" ,
"Why do we put define function at the top of the file and not at __main__?"
"Why do I need to use constructor?" ,
"Why should I call parent constructor in the child constructor?"
Here is the main question.
I have been wondering "should I teach him multi inheritance and the diamond problem?" I haven't been using multi inheritance for a while other than the exercise I done when I started programming and cannot think of the situation to use multi inheritance. I know in other language we use multi inheritance (kind of) regularly by extending multiple interface. I wanted to ask if multi inheritance is common in python.
Another question I have is how should I introduce him to gui programming in a simple manner? I am thinking of introduction him to the gui framework which haved WYSIWYG editor like "Remi"10 -
I am thinking of how I can make data upload reliable. I am sure that I am making it more complex as it could be and I need some pointer.
My goal is to have a pause/resume feature in file uploading.
Here is how it would work.
In order to start uploading , you give the server
1) File Name
2) Folder path you want to upload it to
3) Checksum of the file
Here the server will check whether you can upload it to a folder, whether the file have been previously uploaded (by file name and checksum)
If you could actually upload to the folder , server will return "unique file token" , "folder path" , "unique byte token". Let call it init_upload().
The client will use "unique file token" (to identify the file) , folder path (to know where to upload it to) , "unique byte token" and byte[] (data which to actually upload). Let call this operation data_upload().
If the operation is actually complete , server will return new "unique byte token"
Internally it will actually work like this.Let say we want to upload "file.mp3", when the client call init_upload() it will create
file.mp3 and unique_byte_token.file.mp3.
When the client upload data first time , it will append data to unique_byte_token.file.mp3.
When the client upload data second time , it will check whether the "byte token" that client put is the same as previous "unique_byte_token". If it is same ,
1) we move the data from unique_byte_token.file.mp3 to file.mp3
2) Delete unique_byte_token.file.mp3
3) Create new unique_byte_token.file.mp3
4) Append data to unique_byte_token.file.mp3
The reason I am using "byte token" is because I want to check whether previous upload is actually success.
Let say we need to call 50 part of data_upload() will put 49 part to file.mp3 and 1 part to byte_token.file.mp3.
Finally the client need to call data_upload_complete() which will
1) Put reminding 1 part to file.mp3
2) Remove byte_token.file.mp3 as cleanup6 -
A person who just starting out ask me about git.
I explain what is "init" , "remote" , "add" , "committing" everything was going well until vim happen.
I just refer him to some beginner friendly tutorial about git and give him a link to git client tool.
How do you guy learn about git? When I stop to think about it git have lot of features.9 -
You do not know fear until you hit "get latest revision" in perforce without "shelving" anything before
-
I decided to delete Apache Zookeeper on my Windows system but I cannot delete
1)CreateTxn.
2)DeleteTxn.
3)SetACLTxn.
4)TxnHeader.
in "docs\apidocs\zookeeper-jute\org\apache\zookeeper\txn\class-use"
It should be easy to delete but Windows said it cannot delete the file. I try to delete using command prompt but it said access denied.13 -
I got to create the data platform with Azure Data Factory. I am new to data platform.
Any advise on what to look out for?
Could you guy please tell me if you know any good use case I can look at or any obvious pitfall which drain all the credit and so on?
I just a vague idea of what Azure data factory can do.4 -
AL freakin M
Seriously some of the most frustrating SW I'd have to work with.
runner up is CA Service Manager. -
If you use PHP with DI, in a single cli application, why don't you go get pegged with a catus.
- source wasting an hour trying to debug, why DI keeps feeding wrong arguments to objects4 -
Why the hell does mysql not have boolean fields? why do I have to use a whole integer for a bit? REEEEEEEEEEEEE10
-
Do you guy know that there is a lot of short query name like "f" in web development?
We are discourage from using single character variable name and the query key is too short. Is there any specific reason for using short query name?6 -
In C++ we give my code is still compiling as an excuse to stack off.
Now that I have using machine learning , I can use my model is still training as an excuse. -
...patience...
...patience...
...patience...
...patience...
...patience...
I had been waiting for a hour to finish compiling and it show me the output above. -
Please show me the error message if I cannot post a rant. Just don't silently fail without any error message.1
-
I need to add 44,000 image to git repo. I try to use git-lfs but it's too slow when I run "git add ." command. Is there any faster solution?
Extra Information : The image are the data set for my AI model. The reason I use git is because I wanted to manage my data set easier since I am going to add/remove images to that data set.18 -
Rest In Peace my Hermes E2 mechanical keyboard. I have been using it for about 4 year and today the shift key on the left side of the keyboard broke.
I think the shift key is physically broken since I already try to clean the keyboard but it isn't working anymore.
The keyboard should still be workable for normal user but programming with that keyboard is a hell.
You only notice how much left shift key is important for programming when you try to program with alternative (right shift key)15 -
Sometime I want to name a library "ABC" or "XYZ" just to make a heck out of it.And make it popular enough just for confusion. So they will be like the "ABC" here , is that a placeholder or a library name?6
-
I use a Windows 10 OS and the browser popup sometime (not always so it hard to debug) when I open my computer.
Does the browser goes to other website?No the browser just show default page.
Is it a malware?I always keep my update AV so I am not sure.13 -
I know it a strange thing to ask but I need help with English grammar ( I am not a English native)
I am doing an assignment on context free grammar program.
What the program need to do it "Produce a grammar tree based on the rule"
For example a sentence "Jame sat.", It will need to produce a grammar tree like this.
S
_____|___
NP VP
| |
N V
| |
holmes sat
The only thing I need to do it give a grammar rule to the program like this
S -> NP VP
NP -> N | Det N
VP -> V | NP
What the above rule said is that the sentence is composed of Noun Phrase and Verb Phrase and Noun Phrase is either is a Noun or a determiner and Noun.
Now here is the meat of the question.
I am having trouble parsing a grammar tree for this sentence "She never said a word until we were at the door here"
I have provided my grammar rule below. I think I forget to add some grammar rule or some of my grammar rule are incorrect. I am not a native English speaker so I am having trouble on it.
The search engine have fail me (I have look up various grammar tree) so I am asking for help on devrant. Grammar nazi are warmly welcome :)
S -> NP VP | S Conj VP | S Conj S
NP -> N | Det NP | N PP | Adj N | Det Adj N | Det N
PP | Det NOM | Det N PP
VP -> V | V NP | V NP PP | V PP | V NP PP Adv
VP -> Adv V NP | VP PP | VP AVP | V PP PP | V
ADJP
PP -> P NP
AVP -> Adv | Adv Adj | Adv AVP
NOM -> Adj Adj N | Adj N | Adj NP
ADJP -> Adj | Adj PP
**I am not sure about these two clause below**
VP -> V | Adv
NP -> Adj Adj N22 -
When you test on production server
"Your system folder path does not appear to be set correctly. Please open the following file and correct this: index.php"1