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 - "structure"
-
Friend : Queue is just 'Q' followed by 4 silent letter..
Me : they are not silent they are waiting for their turn...
☺☺☺7 -
The sooner you start coding, the longer it will take.
This was meant as a way to tell us all the slow down and plan first. If you go right into coding things before the structure is thought out you will end up with garbage code.4 -
Big thanks to the guy who blamed the poor structure of a legacy database on me today because I'm young. You made my day4
-
Working on a data structure project for a university's course.
Made a dictionary and was testing it's search functionality. 😢4 -
Friend: "I made my page responsive"
Maybe the layout is responsive, but your articles are not. Wanna know why?
BECAUSE YOU USE FUCKING IMAGES INSTEAD OF AN HTML STRUCTURE TO DISPLAY YOUR ARTICLES7 -
"Oh wow. Linux just copied Macs OS... the file structure is almost identical." - IT at my old company8
-
I've always wanted to build an underground bunker for storms, to hide from my unstable ex girlfriend, and lulz, so I am. The hardest part isn't the digging or the structure, it's finding a way to ensure I'll still have internet.5
-
Because blockchain is a merkle tree-like data structure that isn’t synonymous with a cryptocoin. I feel like blockchain fell into that buzz word pit, with machine learning, that execs use to try sound innovative and smart in front of superiors.6
-
Fuck project setups that
- Have huge nested enterprise folder structures like Java
- Use tons of shell scripts / makefiles
- Have every config file in the root folder
- Don't tell me what I need / how to build
I know some of these can't really be changed easily, but fuck this cluttery mess!25 -
Fuck you stupid cunt!!!! If your fucking project depends on empty folder structure just put a fucking gitignore file on it so I don't have to waste all fucking day debugging your tasteless spaghetti to figure out that you download files to an empty folder that git clone doesn't create.3
-
I just finish "rebuilding" a page that I have built last year. My Js file (jQuery) went from 1200+ lines to 600..
I rewrite everything, the functionality is the same but the code is mush more cleaner.
Soo bad and redundant code.
Although comments where very helpful.
Feels good. -
Do NOT "compress" your code by leaving out braces in control structures and putting the 300 char statement on the same fucking line as the control structure!
Yes, your code file becomes vertically shorter than the usual 3000 lines, BUT my brain tumor proportionally grows larger.7 -
After changing a file, 'git add .' showed that everything is already up to date. I spent half an hour looking through my project structure and git branches. The reason? I forgot to save that file.1
-
How does programming influence a programmers daily life?
1. We start counting from zero.
2. We observe software more than using it. What is the algorithm behind it? Which Data structure is used?
3. Greeting people with "hello world".
4. Assigning variables to people.12 -
Sometimes I write awesome code that executes well as intended with proper file structure and clean codebase and sometimes I bring shame to my family.8
-
The superhuman feeling of going back to your code after a week and it all makes perfect sense, the variable names are intuitive, the doc strings are comprehensive, and the general codebase structure is sensible.2
-
Can't remember how many times I had to change project structure just because they provided wrong/misleading/half-ass requirement9
-
That moment you realise that naming classes by their XML data structure is not as practicle as you hoped it was... 🤔4
-
Type T ( something something... )
...
Type * TP = T;
TP.do()
> Be me
> Production code
> Update Type structure
> SEGV
> Wtf why was this even working
> Ask senior
> senior y u do dis
> bc
> Why were no errors
...
> mfw
> He says
"I added -fpermissive and forgot..."
On production since May
...
...
...
... 20072 -
Do not assume that the current codebase is perfect, or even remotely close to an example of acceptable style/structure.8
-
The deadline is tomorrow and we should work for extra hours to make it through! Oh look, a video about roman army structure!2
-
If you're this kind of developer..
Then you seriously need to reconsider your coding standards and structure.8 -
Company: our team is like a family, everyone is valued and respected
Reality: We have a predefined power structure that will not be challenged no matter what. This is not a democracy, it's a dictatorship.4 -
Me: I fucking hate people using proprietary data formats when there is something more than capable already...
Also me: *Spends an hour designing file structure for a proprietary image format* Hmmm... How can we trim even more bytes off this...
(Designing the format to be smaller than a typical PNG and make it easier to load in data programatically)8 -
If anyone wants to create a webapp using React, Express, Webpack, Babel I just created a boilerplate to make things easy for you guys. It contains extremely basic files and the whole file structure including Redux structure. I've struggled a lot to understand and combine this technologies. I've felt like now that I understand I should share with you guys.
GitHub: https://github.com/tahnik/...12 -
Had to hand in as assigment for my algorithms & data structure course and really put alot of work into it, commented code, easy to understand and all.
"Why are you showing me copied code from the internet?" was the professors answer...
I did not copy any code and some algorithms often look the same...6 -
Step by step here:
1. Choosing a stack
2. What to put where(folder structure)
3. Naming stuff(variables, classes etc etc)
4. Finish what I started.1 -
You know you have some power, when your boss asks you for your opinion and advice about how to structure an upcoming project and which technologies and frameworks to use.
Give me that raise already.1 -
Answer honestly: How fucked would you be if someone would send the people you ranted about a link to each rant? (sorry for weird sentence structure, I'm tired)7
-
Absolutely fucking hate it when someone sends a word document for me to fill it up, and it has the worst fucking structure ever. Everything is here and there, bunch of hacky macros and full of other bullshit.
What a lazy fucking piece of shit!2 -
anyone else have their own side projects where they follow no structure and pretty much make spaghetti code just to get it finished asap so you can make money off the system you are building? lol. not proud of the code i wrote today but damn did I get a lot of functionality implemented.8
-
Can we please stop using a file structure (YAML, JSON, XML etc) and just changing the file extension and calling it a new file type?
Stop trying to make your software/framework sound more complicated by saying this shit, if you use something, own it and don't try to mask it...
And mini rant over...11 -
Hacking my first diskette reader... And I stuck gol... Cofcof copper coils...
This is actually fun... And the structure is pure aluminum :p7 -
My friend who works in my previous company telling me how is the office structure 😅😅😅😅😅 shit office2
-
When the project manager (who knows nothing about code) tells me how to structure HTML markup. No, please, tell me how to do my job.1
-
When your colleague just throws all their views into a single directory, despite you having a already created a very methodical and self-explanatory structure.
-
Today, I had a segmentation fault in a data structure, so I wrote a function to test the integrity of the data structure. It worked, and I found and fixed the bug. However, the test still complained about the integrity. After debugging some very strange errors for 5 hours, I discover that there was a bug in the integrity test. The data structure works just fine. FML.1
-
can we actually 3d scan all found human ancestor bones and draw bone structure changes over years ?
gene testing companies could show this animation over their websites.16 -
Got demoted, got a pay raise and don't know how to feel about it. A story of how not to drink with your coworkers?
The story begins roughly 8-9 months ago. Me and this coworker (let's name him Tim) go out drinking after a Friday party at the office. We do some rounds and we're both smashed. Tim starts telling me how he's happy with life and that he's earning a nice salary right now. He told me his salary. It was the same as mine. Which was weird - He codes in a more hardcore languages than me and has almost double the time in the company as me. I think after some more drinking I've confessed that I make the same as him. This part is sort of a blur (drinking). I've gotten a pay raise(+30-40%) roughly a few months ago from that point backwards because another company gave be a much higher offer. The company I work for matched to keep me. Anyway, 3 months or so after the drinking,Tim is promoted to team lead, and me and a few other people are added to his team. Conversation slips and he told me his new salary - quite a bit more than me.I think it's safe to assume what happened.
The problem with that is that I was a team lead of 1 person (me) at that time, and I was managing my own time and my own tasks, was working with people individually. I was part of the weekly meetings with the CEO and other team leads. Being stripped of this title wasn't a problem at the beginning, as people still contacted me because of their problems, suggestions, whatever. A few more months pass (to now) and less and less people are contacting me - instead they are talking with Tim, and are asking of his opinion on tasks I should do, where he has no experience and roughly 0 lines in the programming language I code in. This is starting to piss me off.
There are a couple other things to take into consideration as well - The company is hiring a lot of people right now. The whole structure for team leads changed a bit, more team leads then ever right now and new roles added pretty fast.
I've gotten a pay raise a few weeks ago though(10%~).
I'm not sure on how to react to this. Should I comply and just keep on working on these tasks? Or should I still keep contacting people directly on their requests and talk to them directly, take credit for the projects I complete publicly and the stuff I do as I was previously doing? Part of me wants to reroute all of the stupids questions people have to Tim, as he is now responsible for these tasks and get this weight off my shoulders.
I'm starting to shift to learning a new programming language and thinking of jumping ship. Thoughts?6 -
Why name Tree a Tree when it's really Root if you look at it with head up ?
(Tree Data Structure)
We're really taught to look at the world upside down1 -
If you're going to fucking build a fucking templating system, you fucking better make sure it fucking follows proper structure -- Bootstrap, vanilla CSS, whatever -- so that when I follow conventions your fucking shit doesn't fucking shit all over the fucking place in fifty fucking different ways.1
-
I was asked to check something today that was handed over on a USB stick. "Could you check that the file structure is correct". Of course I said. Then I prepared my camera, changed the insides of the stick to my rubber ducky, wrote a little script and uploaded it. Oh yea and corrected the structure.
The face of the colleague was priceless when I brought back the stick and he sticked it right into his computer.
The script was roughly:
- open browser
- open history
- search "porn"
- select second row
- enter
=D office pranks <32 -
Music. Music teaches you numbers, creativity, patterns, structure, and basically primes your brain for math and creativity in that space. In addition, it teaches you how to think both within a structure and outside the box, as well as the importance of repetition, memorization, and learning a new language.
Music really was my second language, and the ability to read/write it fluently is a skill that takes a long time to master. I really believe that it increases your brain plasticity so much.4 -
Create a new, fast, strictly typed programming language with organized project structure, normal package manager, dynamic syntax extensions (that means you can change the syntax of the language if you like!) and (most importantly) if statements which are written like this:
(bananas == 0) -> print 'No bananas!';3 -
I gave my project manager a prototype of the ocr app we're developing to play with, just for fun. The next morning, I enter the office to see this along with a well structure spreadsheet with some 40 columns.
Never underestimate the seriousness of a project manager.2 -
In the mix for today: 5 devs testing MS Teams collaborative drawing for a GaphQL API project structure, with Halloween and coronavirus in mind
-
Found some unknown new structure behind my screen. Seems to be of organic nature. Don´t know it intended or even allowed to be there. Haven´t seen it here before. Tried talking to it but got now answer so far. Could be a new colleague. I will continue to observe...3
-
Hey rejection, my old friend, I’ve come to grips with you again. Because a technical interview with a question that I thought I knew, required the use of a structure that I didn’t yet understand. And that I planned... to study... when I was done with hash maps....10
-
been a developer for 8 years (after college) and its somehow just dawned on me that no, architecture is not you projects folder structure :/4
-
I talk to clients. I prepare the requirements. I design the database structure. I design prototype frontend. I do documentation. I code. I debug. I update change log.
I die.3 -
A colleague of mine who doesn't know how to write simple conditions and sends button code from backend in loosely coupled design.
Worst of all she doesn't wants to get updated to the latest programming structure and no signs of learning on how to write clean code! -
Laravel app, monolith structure, with 50+ model, 48 controller (+20 report), had 2 month to make it module based as they will add 10 or some more "modules" to it ..1
-
My file structure:
Documents -
- That one impeccably structured folder that I never remember to put anything in
- Gigantic project folder that will some day kill me in my sleep
- That one unrelated folder that all of my non project scripts just end up in. No structure whatsoever
- about 2 billion loose files5 -
Was working on my game engines scripting language for the terminal and this is how things went in roughly the space of 30 minutes
"Ok let's get a basic language structure defined..."
*Time passes*
"Ok, so now I have basic structure and concepts of a potential auto translation framework, external library use and just a dash of complicated file structures and use"
And I still haven't written a single line of code except for ignoring whitespace when starting to lex the file to transpiling ;-;2 -
How do you guess get into an open source project/understand it's structure?
Haven't found any manuals or tutorials12 -
I am almost done with the recyclable Rant View structure, but now I understand the matters at hand.
Dynamic height UICollectionViewCell’s.
I am not even using UIKit, I’m using SwiftUI.
Welp, off to StackOverflow and days of UIViewRepresentables shenanigans.
Fuck.3 -
Custom image format update:
Currently converts a 12KB PNG image into 172KB BIN file, now to compress the fuck out of it!
Update: Fuck should I use a buffer or simple binary data for file structure manipulation....15 -
The company I'm working for now (fortunately as a consultant) is now rebuilding its data structure. To do so they chose to use YANG :)
What next breakthrough technology should we go for, coffescript?3 -
When a JSON structure returns back as:
{
"array_data" : {
"123" : {
"id" : 123,
"name" : "NAME"
},
"176" : {
"id" : 176,
"name" : "NAME"
},
"189" : {
"id" : 189,
"name" : "NAME"
}
}
}
Instead of:
{
"array_data": [
{
"id": 123,
"name": "NAME"
},
{
"id": 176,
"name": "NAME"
},
{
"id": 189,
"name": "NAME"
}
]
}3 -
Is it polite to rant about devRant in devRant?
Rant/feature request.
It could be great to have body structure option in avatar creation. (like skinny, chubby, fatass etc).6 -
Why the hell does enterprise software get away with not having basic, logical, functionality?!
A hierarchical page structure should allow you to name multiple pages the same as long as they're under different parents.
Every FREE documentation platform understands this, yet atlassian fucking confluence can't figure it out.2 -
Story of coding affecting my dating?
Well whenever I start a new language, I always find myself having difficulties with time and date structure-
Wait, that's not the subject? ... oh the other kind of "date". Well, not finding difficulties for something I'm not looking forward to lol -
Now u can see the difference.
I had to prove why HTML5+XHTML structure is better than non-semantic HTML structure.
Here is the difference.8 -
To a fellow dev on my team; If you notice a difference between the spec and the database structure, just fucking talk to the BA! Don’t code something that fails and put it into QA.
And constantly saying “It’s not my job” is a severely career limiting move you dogmatic little shit.2 -
Taking over development of a system from some other guy who just straight up dropped it with zero documentation. The code looks like he wrote it after watching some getting started tutorial. There is no structure. Some methods and statements are just empty. And he spelt 'connection' three different ways in the same file.
God help me...1 -
You know that the Algorithm & Data Structure exam is coming, when you start traversing binary search trees in your sleep2
-
CSS is utterly retarded but I can’t help but be impressed by how well the DOM still works in this day and age. The fundamental structure hasn’t changed since the 90s.15
-
There was a task to upgrade, refactor and rewrite azure functions project. It was assigned to guy who was about to leave the company. After 2 weeks at his last day at 16:50 he committed the changes. He literally copy pasted the old project into new file structure and left the building. FUCKING ASSHOLE.
-
Fellow C# programmers, how often do you use #region in your projects and how important do you think it is?
I have found myself using it increasingly. It works great for me and I feel that I can structure my code better.10 -
By far the stupidest thing I've done while drunk is setting up a layered LVM-over-RAID1 + striped LVM storage system *and* managing not to lose any data.
Next time I ran `lsblk` and realized how that structure came to be I kinda turned white. -
Committing code with the same commit message although you refactored several times and changed the structure1
-
Just spent the last 5 hours building the structure of my first bash toolkit. I'm somewhat satisfied.
-
I really am not a fan of the contortions you have to go through in Golang to deserialize a fucking JSON blob. If this were any other language I would have already had a data structure I could query rather than wasting hours twiddling structs that will be filled properly.7
-
Spent the last 2 and a half days working on sth, it turned out great. Was pointed out a major mistake in the structure, have to redo about 95%. Kill me now.
-
Me(the first day fo spring semester): Data Structures and Algorithms shouldn't be too hard of a class! This will be interesting!
Me(a couple days into class): I don't understand anything she's saying and the programming problems are in some pretty rough English...why me?!?2 -
Starting to migrate apps from a messy structure to docker containers. Have not worked a lot with docker before so i'll hope it goes as smooth as people told me9
-
"Dim lighting is producing dimwits, It can change your brain structure .."
I'm fucked ... we all are.
https://fastcodesign.com/90159662/...5 -
Web developers working since years in Java, spring and hibernate have no idea how to make a website live and don't even know basic MVC structure..
Being a PHP developer m so shocked !!
Is it true for most of the java developers??6 -
Interviewer: What is ELK stack?
Me: It's a data structure which follows first in last out.
Interviewer: .......4 -
I'm going to change database structure for the 5th time now. Thank you documentation, you useless piece of shit.2
-
...a project with well defined requirements that doesn't change shape every day making useless any attempt to define a solid code structure...my dear client I can do all you want but you can't change your ideas every 10 minutes
-
Has anybody ever worked with a shady company where you don't even know the company structure? Like CEO and administration?6
-
rant == false && help == true
I usually don't like posting non rant stuff here but I need help.
How do you usually design your service communication class?
I am working on a mobile app which contains talking to a REST service, I usually put all network calls in one class. Down side if it becomes a big class it becomes a pain to maintain. Any thoughts?
For a backend service I usually go with Repository design and it is working out well for me. But for mobile Apps I'd like to see if there is a better approach4 -
Custom php api for huge known national software. No frameworks. Not following mvc structure. No decent documentation. Im the new dev and like how the fuck should i catch up before they think im not productive2
-
Any development on a complex software is like playing Jenga. You make your changes and hope it won't break down the whole structure.1
-
The creators of the Python language are giving some thought to a new proposition, PEP 622, that would finally bring a Pattern Matching statement structure to Python. PEP 622 proposes a method for matching an expression against various kinds of patterns using a match/case (simply like switch/case in C) language structure :
match some_expression:
case pattern_1:
...
case pattern_2:
...
It includes literals, names, constant values, mapping, a class or a mixture of the above.
Source : https://python.org/dev/peps/...6 -
C'mon, I'm making all the logic and only ask you to make the site look better than my plain html structure. Please do your thing, because the lonely "Slightly improved layout" commit is not helping very much
-
I'd like to make an open source data registry, with an easy to access API. For example, perhaps I'd like to list all cities and postal codes in France, or perhaps get the number of dogs in Canada. Any ideas how to structure the open source part? How can people contribute? Should it use external APs?2
-
Anybody wanna contribute to this, find issues...?
https://github.com/Ganofins/...
I know the code structure is worst...but I am trying to improve it
Sorry for that16 -
I find dynamically typed language a lot easier to read and understand than statically typed language.
What's up with all these interfaces, types and abstractions, its just too much!
I do want structure when writing code, but also the flexibility to test things without the f*** interface/type errors!!!16 -
Today I actually used a data structure other then List or Map for a real problem!!!
This is like a once in a year, several years thing? (Technical interviews don't count)5 -
Do webhooks have some data structure standart, or it's just HTTP POSTing on a specified endpoint with JSON?3
-
Today I was forced to write spaghetti code.
When your database structure isn't set up properly, that happens...
I'm already sure I will need to revisit this piece of literal shit when we revise that structure. Though, it'll be much easier and logical, and I'll probably be able to just delete a big part of the code and implement it as intended. -
Seeing the way people write CSS I understand why they think it's badly designed. It's just that they don't use it properly, they don't think about general structure of the system, they just haphazardly pile up declarations, recklessly abusing cascade.
CSS - with great power comes great responsibility.2 -
Old boss that didn't understand anything on computers but expected me to wear 5 different hats and do tasks that we didn't have a structure for.
-
Googling how to electromagnetically shield a espruino project from neodymium magnets over lunch, and that leads on a trail of manipulating and directing em fields...
"What are you doing? That doesn't look anything like a binary tree structure in Java... What the hell is all that?"
"Uhm... Personal research?" -
- The golden rule of CoffeeScript is: "It's just JavaScript".
- Nice!
- And provides a basic class structure that allows you to name your class, set the superclass, assign prototypal properties, and define the constructor, in a single assignable expression.
- No nO NO NO! -
So I came from the Portal modding scene. And I know most other ones who did similar stuff.
Now there was a cool looking upcoming free mod and I somehow came in touch with the lead Dev. Now somehow I managed to get into the developer team and me and my girlfriend we're part of it. We got a level name and should start mapping it (TL;DR, we never finished one because we didn't know what to do).
I actually made a website for the mod. But sometime later we both left the team because the lead Dev (12 yo btw) was "hiring" (working for passion not money btw, that's fine in this case) everyone he got in touch with. They had no team structure just a huge list of people and a long story script. I'd guess the mod won't ever be done, although it has made it through steam greenlight (R.I.P greenlight). Just because they're not working on a team. -
Actually every project we learns something. Consider like, In very recent one project,
First time used bunch of bean classes with layered structure and JS mixture. Had fun and given me confidence for interview. Happy ;) -
Are there any tools, points of reference, barebones templates, bits of advice, etc. that anyone can share or direct me to that could potentially a programmer with ADD stay organised and keep projects/code structured?
Just a bit of background:
I am 29 years old and have battled with severe Attention Deficit Disorder since early childhood. No hyperactivity, just a mind that is constantly running at light speed. I have a tendency to lose focus on the main goal in my projects and I fall victim to feature creep more than I'd like to admit—to the extent that on countless occasions, I've ended up just starting projects over from scratch because they became too convoluted and hectic.
I've spent the past 2~3 months working on a sort of companion app for players of the game Warframe using Dart/Flutter. The main purpose of the app is to provide players with an accessible and customisable agenda to help with keeping in-game goals organised (oh, the irony). I have made a decent amount of progress, but I consistently find myself working on various bits and pieces of code (usually) without finishing each of them before moving on to something else. What I end up with is a tangled yarn ball of code and I get lost and overwhelmed in the chaos.
Any feedback or advice is much appreciated.9 -
Those feels when you're tasked with producing a detailed breakdown of the structure of the client's application, and you're high-key having to avoid being too negative about the shit-show.1
-
I'm not sure if I have made devEnemies so far, because nobody has pissed in my good-morning-office-coffee yet. But I think my tendeny to perfectionism in syntax and code structure may have been a PITA in the ass for some coworkers sometimes...3
-
Amazon rejected me twice, idiotic people think only dsa people can succeed. I ain't bad at DSA, it's just that I was being interviewed by an idiot who had crammed the problem from LC prior to interviewing. I could also pick a problem from LC which is unsolvable. If he was so brilliant why didn't he invent one algorithm of his one and rather use solutions by using other's algorithm(like Dijkstra). Absolute Idiots being manufactured. I may not be good, but I accept that. These idiots think coding from other's soln makes them brilliant.11
-
Ahhh i don't even want to remember... Dynamic text interpreter that will translate a PDF+excel to a dynamic data structure that will accommodate any changes... Where is my gun again?!
-
I can't set up testing, a decent structure for my projects, or a basic CI/CD pipeline, because my clients want everything immediately, and my boss just sells my workforce without aknowledging anything of my relationship with the clients. I'm tired af, unsatisfied by what I produce and desperate for side projects to use my skills1
-
So I just realized (while rewriting some code) Python can't import stuff from a sibling directory without voodoo tricks. Seriously. In 21st century.25
-
What data types do they use down in the sewers Pennywise.
They're all floats Georgie...they're allllllllll floats.
Do you know what my favorite data structure is Georgie? Stacks. You know why? Because they Pop! Pop! Pop!1 -
In other to sharpen my algorithm and data structure skill.
I implemented the complete *eval()* function for arithmetic Expression in java
It can compute any kind of arithmetic Expression even with parenthesis grouping
Here is the github repo
https://github.com/Afrographic/...1 -
The „UI-God“ in our team has never heard of dry or clean code.
Clashing classnames for modules in global namespace, gives a f* about patterns, naming conventions, structure and everytime I rebase it breaks my code.
I need the same amount of time fixing his work as he spends on it. -
How do you cope with stress and maintaining structure to your day as you work from home? Since I started working from home, I'm struggling with vaping more than normal, exercising less. When I was still in an office, I had an unconscious rhythm to the day that I took for granted.12
-
Have you ever seen a tree data structure implementation in any code base?
I wonder why recruiters are so desperately asking how to invert binary trees in my coding interviews🥴4 -
Learning an algorithm and data structure for a month and forgetting about it after exploring a new language be like🤦4
-
Oh god, structure alignement, why you do this... You might be interested if you do C/C++ but haven't tried passing structures as binary to other programs.
Just started working recently with a lib that's only a DLL and a header file that doesn't compile. So using python I was able to use the DLL and redefined all of the structures using ctypes, and the nice thing is: it works.
But I spent the whole afternoon debugging why the data in my structures was incoherent. After much cussing, I figured out that the DLL was compiled with 2 bytes packing...
Packing refers to how structures don't just have all the data placed next to each other in a buffer. Instead, the standard way a compiler will allocate memory for a structure is to ensure that for each field of the structure, the offset between the pointer to the structure and the one to the field in that structure is a multiple of either the size of the field, or the size of the processor's words. That means that typically, you'll find that in a structure containing a char and a long, allocated at pointer p, the double will be starting at p+4 instead of the p+1 you might assume.
With most compilers, on most architectures, you still have the option to force an other alignment for your structures. Well that was the case here, with a single pragma hidden in a sea of ifdefs... Man that took some time to debug...2 -
Hello devs. This happens to be my first rant. And I got a question to start off.
I'm looking for an existing public/open-source React project which is not too hard to understand and has a good folder/file structure and code structure. Something that gives me an idea of how a good production level code and project should be.
Any recommendation is appreciated. Can be your own project too.
Thank you 😊.10 -
Can I just rant for one second. Being an entry level developer sucks. I would work for free right now just to have some structure and gain experience!6
-
I feel fucking stupid about using a custom node system at work. It is designed to generate an xml file for configuration. However, when using a node I cannot add more to the node unless the node has data. So I gotta call a function to inject useless XML into the node for it to not be empty. I literally set the internal data to <key></key>. It is stupid and I hate it. Just let me create my node hierarchy damn it!
Is this some weird data pattern I should know about? Like what does preventing adding data to an empty structure do? I have the root node. Is that not enough. Remember, this is custom node system that is probably fucking 20 years old. The previous coders did a lot of walled garden shit that I also hate. Prevents reuse of code. This code might just be more of that shit.1 -
Angular - object oriented programming
React - functional programming
---
Now i fucking understand why nextjs does not have any design patterns. No folder structure for it either. Every project is fucking random and you need to learn every fucking project from scratch cause people stuff shit into different folders and file names1 -
If knowledge was stored on a data structure such as the stack I suppose you'll never have a full stack.2
-
i need advice, is this a good database structure? this is a comments table with foreign keys to users and posts table. the post_id and user_id can be repeated a lot of times so i wondered if i missed something here. i kinda forgot the 1/2/3 normalized form rules, so can someone give me a quick refresh? is this current structure good or should i change it?4
-
I am looking for someone who is interested in practicing Data Structure Problem. We can make a group on binarysearch.com and practice together. If someone is interested.6
-
Me before having to implement a bit more advanced content structure for the client: There are so many headless CMSes out there
Me after: Why the fuck are there no healdess CMSes whatsoever?7 -
Any web developers care to share their file structure when breaking css / pre processed styles into modules? Want to organize but I don’t want to over-do it.1
-
What would you think about a dotfile-manager, with, some kind of, packages management capability?
So, dotfiles are organized in packages (git-repos) and these git-repos have a standardised inner structure, so one can easily share configurations and install configurations of other users.3 -
How is it that in the age of 98%+ reliable contraception incest is more stigmatized than a relationship between an authority figure and their subordinate? sex=children hasn't been the case for decades now.9
-
I don't have an ios device (and hope I'll never have to :p) but I hear people saying that apps never crash on it.
Is this true? And if so, how is this achieved:
Forcing devs to pay extra attention to this or some system mechanics/structure or...?
Although i think i already saw things crashing somewhere...4 -
What's the software/hardware/plugins that has become integrated part of your working structure?
Stuff that immediately gets includes on any machine you use and can't imagine working w/o?5 -
Anything of the form "write a <complex data structure>". To be expected to do that from memory is ridiculous. It's far far far more important to understand the data structure and be able to explain how it works.
-
Working with someone who made repetitive css code like this:
#home {
x
}
#blog {
y
}
where x and y exactly have same child classes structure with small differences, making css file somewhat large.2 -
I have been working on this feature for over a month now. It all started with a shitty technical design. I'm still finding issues with the described logic and structure...2
-
In an object/dictionary/map config object where multiple source paths are mapped to destinations, which structure makes more sense to you (and why)?
1. { "src/path.ext": "dest/path.ext" }
2. { "dest/path.ext": "src/path.ext" }
Could also be a URI redirect map4 -
I tried implementing graph data structure in java. And I reckon it's the most painful code I ever wrote since "hello world".5
-
markdown4documentation is a tool that can either convert a single markdown file, a complete directory or a complex structure to HTML or PDF. You can choose between several build-in themes (called templates) or define a custom theme.1
-
UX and Game Design: "Keep It Simple" Is Stupid.
Presentation, Content, and Structure
Often when designing a UI, I stumble across blogs and articles that discuss it and focus far too much on the structure. Wordpress is terribly guilty of this and I see it fairly often in the game industry.
In web design you might use flexbox for a content-centric design and not worry too much about the layout, or css grid if structure seems important. But the broader question is why? Why is structure important and why is it wrong to focus on structure over content?
First, structure *comes* from content. Even where over many years, we've taken certain kinds of content, be they the various genres of games, or the sundry type of websites or apps, we've learned to take all the various patterns and categorize them, to extract the commonly repeating idioms into what we call structure.
But if you're experienced, and a fan of UI design in general, then I bet you that you can name a number of counter-examples, those that broke the mould, or broke the 'rules' of good design and still somehow worked. And that follows *because* structure is derived from content. This is the same reason idioms, patterns, and best practices change over time, as we codify exceptions into their "own" rules, new best practices emerge which mostly everyone follows, and then yet more exceptions break them. And so it goes.
So we see content before structure. But isn't there something to be said of style? Why yes, there is.
To read the full article, all 14k words of it, head over to medium for more:
https://swcs.medium.com/ux-and-game...5 -
What do you guys use to write unit tests in C? I look at some libs such as check, cmocka, gtest etc, but they all seem like way more than I need. Also, I have a hard time to separate test files and source code files (directory structure wise).
Any recommendations?5 -
Boss/prof (does not understand code): "I like it more this way. Come on don't make that face thanks to OOP it won't be that much of a deal to make a change right"
He wants to change a fundamental data structure of our software 😉😉😉1 -
So many meet-up groups discussing "cool" technologies when I really need is a data structure and algorithms support group.
-
Hey all ruby devs! I've recently made a redux gem implemented in native ruby, that allows you to completely decouple state from your code. If any of you like the redux design structure and want to use it in your backend, check out https://github.com/alexdovzhanyn/...
-
The Catholic head-quarters are at the same place as the Mafia's origin.
How do we know that the Catholic is not a Mafia racket?
How do we tell which is older?
Why are their organizational structure so similar?
You know like the God-Father and the Pope.1 -
When you're using openapi generators and stuff for generating SDK code and let "the architect" handle the data structure and nomenclature, don't you hate having to add 33 (I counted) models, most of which are just the same class with different name or one property apart from each other, serialization of which gives request body overhead 56-132x (actual calculated results depending on the model complexity) the size of actual data you want to send, just to add support for one endpoint that needs just one model that started this whole madness?
I just had to add this one top level model reference and this happened to me. Those 33 models are not including the ones I already had included in my project so they didn't have to import them again.
For the love of <your_belief_here /> and all that's holy, never ever agree on generating code based on openapi if the person responsible for that is unexperienced. It will do more harm than good, trust me.
Before we decided to go with generated SDK my compiled product was a bit over 30KB, and worked just fine, but required a bit of work on each breaking API change. Every change in the API requires now 75% of that work and the compiled package is now over 8MB (750KB of which is probably my code and actually needed dependencies).
Adding an endpoint handler before? Add url, set method and construct the body with the bare minimum accepted by the server
Now? Add 33 models (or more), run full-project find&replace and hope it will work with the method supplied by the generated code, because it's not a mature tech and it's not always guaranteed it will work. -
So, our lab professor in university for data structures was evaluating my friend's group assignment next to me and my colleague.
Professor: So, what does this method do?
Friend: I feel it would be best to explain our structure first and then how our methods work.
P: No, no. It's okay, I'm seeing it here in my laptop. *Looking at their report which included nothing about the structure of the assignment since she asked specifically only to place the methods and their complexity analysis due to not having time to look and evaluate a full report for each group*
F: Okay, *proceeds to explain*.
P: Okay, and why is your code commented?
F: Because it's good practice and we learned in subject x last semester.
P: Impossible! I teach that subject and I did not teach that in my classes.
F: Okay, but our professor did.
P: *Says nothing*.
They got a 3.25/5 as a grade for it and got really pissed off. I mean, they spent a lot of time making the assignment's structure perfect, optimizing their code and the professor did not care for the structure, just the methods, on the data structures subject.
FYI, they are workaholic, dedicate a lot of time improving their skills and their normal grades are usually >= 4.25.2 -
So been doing a TFVC -> Git conversion the last 3 weeks. I'm finally seeing an end to this mind numbing frustrating mess, so I was thinking 'this is a good time to write down my experience in a rant'.
So first of all, I'm working on a project that's about 10 years old, and didn't have a serious refactoring in that time (still runs on .net 4).
The project structure is f*cked up and seriously complicated the git conversion. For example forms only used in the winform application were in a solution for a web app, and file referenced in the windows application. But due to the fact that these forms also needed references to some business logic in the winform app, I had to constantly jump from one project to the other, fixing references to get this shit in NuGet. Sadly this wasn't the only case, and the other 40 project I had to convert from TFVC to Git had equally f*cked up stuff.
Only thing positive to come of this, pretty much decided to leave and start as a freelancer. At least I'll get payed better for doing shit like this, and I know it'll be a temporary thing and can move on after it's done.4 -
Trying to create my own gulp build process since two days now...😖 Want to get the right folder structure and perfect build process on the first try, but that is exactly what is hindering me and I can't get any shit done...😟
-
Got a file with cobol data in it.. Also got thr structure to read it, but what the fuck is COMP-3? Any idea how I can decode this into a human readable format? 🤔😓🤓
-
He said that table structure is not final and it may change.. So I start thinking possible solutions for tables with dynamic columns. A week later, he comes and tell me how they decided to change structure so i have to **add these 3 rows** on table.
Well............. -
Today is a good day:
I managed to get a script I've been working on for around 3 months finally working, managed to remove a necessary variable, put data into a more efficient format, and am reworking the file structure
Now the problem:
Data has to be entered differently, meaning reworking the entire ui -
Devrant Jeopardy - 2 - 10 points
This data structure, whose name was inspired by a town of good winds, was introduced as a competitive algorithm that sacrifices some memory for a timely, “inception”-like representation.19 -
It was back in 2010, they told me to build a simple CRUD system, habe me 2 hours, just to see the code structure/style.
Was it hard? No! I handed it in after 30min, the remaining time I got to talk to the devs. Was nice. No bullshit, no whiteboard, just a laptop and an IDE.6 -
What do you think, does Google just have really good code structure that allows re-use at this level, or are they just coordinating release notes?1
-
I just finished refactoring the code of a single jupyter notebook into a decent structure with comments. It feels good.
Unfortunately I still have stuff to implement and it's 2:50am :(5 -
one of the few times i follow the existing structure and pattern i get told to fuck off and hardcode it instead because we want something temporary
-
I think the Gelbooru API is pretty nice.
It's consistent, has a structure that makes sense, supplies JSON and has pretty nice endpoints + parameters.2 -
Forcing all your package dependencies to one specific version because you are afraid of incompatibilities is like building a scyscraper from pure concrete because wood isn't strong enough. Sounds like a decent idea at first but leads to a brittle, fragile structure that won't last very long.3
-
Something along the lines of the Freenet project (I think it was called). That thing has always interested me - especially the privacy and decentralised structure of the concept. I'd make it a world wide thing and get it to every country in every place I could.
-
Pbly just me but whenever I see some post in LinkedIn saying "I am hiring" instead of "WE are hiring" - it irks me to the bone. It shows how pathetically hierarchical org structure the guys may have. I tend to stay off them however lucrative the role sounds...3
-
At the company I work today, looking at some repositories from hardware and firmware engineers I found this folder structure.
project_root
| - 1.0
| - 1.1
| - 1.2
| - 2.0
... and so on1 -
I'm supposed to QA/fix/debug someone else's work and this is just a sneak peek of what/who I'm dealing with. No appropriate use of classes, using ~, +, > everywhere that `!important` is used constantly. `col` directly after `col`, not to mention other disastrous html structure.1
-
Any Dutch company owners here that have an IBC set up? Or any Italian company owners here? I need some help and advice in setting up a company structure. Although not strictly dev-related I'll of course develop some software for that new company :)
-
I dont wanna start a war whicj IDE is better but I love intellij
They have the right features, structure, plugins and default behaviour that I can programm comftably.2 -
Data structure and Analysis
For experienced ones, add "System Design".
...path for big fat packages. -
Using float in a simple structure for a network project running on Contiki. I was trying to print this structure for debug purpose and I noticed that all my float don't show up 😦
After some Googling, I ended-up on a mailing list saying that float and double are not useable in Contiki 😒
I get that double is too large (8bytes) but seriously a float is just 4bytes!
Well for now our floating numbers are just integer 😌 -
How many of you guys have an actual development life cycle at work (documenting every step, officially closing out of design, implementation, testing, etc)?
My place has a pretty stringent cycle. It is usually useful, but can occasionally just feel like paper pushing. It seems, though, that a lot of devs on here just sit down and start typing until someone says stop?4 -
What do you think of the Database design of Drupal/WordPress? They use 2 tables for 85% of the data!! Product, pages, whatever are all stored in the same 2 tables. Does that work out better than having each content type in separate tables?
I'm thinking of making an ERP. Would that table structure work there?2 -
Practicing some random code interview questions while not busy.
Find top N values with MaxHeap in JS
Didn’t get it right in 1st try. Something wrong with the replace function. Then started getting busy...
At the end of the day, still didnt have a chance to fix it.
God damn it! It’s me. A frontend developer can’t write MaxHeap in JavaScript 🤦♂️ -
I feel that sometimes using the principles of DRY is just overkill and serves as an incubator for over engineering something that could be really simple. Something's are just going to be used once and never again...
This is not a anti structure rant just a thought.5 -
Have a freelance job where they require documentation of the code for later development. (+ I'd like to document my personal projects for practice)
Any web devs that could give some pointers on what kind of docs you would like to get if someone hands you a legacy project?
Obviously: comments in code and db structure and relationships1 -
If a project's structure is shit, well of course, let's continue using it because "it is known". Doing it any other way "will add complexity".
That I wasted three days making my working code adhere to the clusterfuck of a structure, nevermind that. Let's continue. And yes, colleagues do agree that the structure is shit, though let's improve it ... later.
Or in other words: Suck it up, we always have done it this way. Fuck you and your ill-advised attempts of trying to improve it. -
non-rant;
is anyone aware of a fairly comprehensive JavaScript/css assessment for hiring a junior dev? just want a boilerplate assessment structure that I can expand on. it would be an untimed take-at-home.1 -
New data structure:
Map with repeated keys allowed. Values of repeated keys will be stored in an array.
Calling get(key) will get the array, pick a random entry in said array, and return it.
Use: Finding what the "number one rule of x," the "greatest thing ever," the "most unbelievable event," and more is. -
-- Learn Data Structure this year
-- Complete 2 project with clean code
-- RnD on Game Development
-- Develop one WP plugin
-- Complete two tutorial get them promoted
-- Clear IELTS and try to get job Abroad
-- If have time will go for freelancing
-- Lastly if get bored will switch job -
Embedded software engineer here.
If you had to pick a data structure that will have to potentially hold thousands of entries, and that should be as fast as possible at lookups, what would be your first choice?14 -
I want to build my own REST NET API, I am familiar with C#. And I was working with Flask, Django and Express.js
The whole webapi structure of dotnet project seems to me a bit strange. Do you have any favourite resources that helped you to get into dotnet?6 -
Can anyone suggest me some repo or blog link that has good code structure of node apis.
Something that can be use in big project. -
!rant => question?
I'm hired as a freelancer for a start-up that wants to create a social-network-like platform. I've always been a "basic" PHP and javascript developer like using AngularJS, MySQL and my own kinda like PHP MVC framework etc.. But I'm worried that 'this' will come short when the platform expands on the user-base and stuff. That MySQL won't be able to keep up with the expectations and the amountof data, that AngularJS will not be enough for the Frontend,.. I've taken a look at ReactJS, RethinkDB, NodeJS and such, but this is not really within my "comfort zone" and I'm not willing to invest time in something new if it's not able to handle the platform (I don't know if it will..) and I'm afraid that I'll have to start from scratch if it all fails.. (and this is something I can't afford)
So.. What are you guys's opinions? We're not looking at millions of users, but it will have feeds, comments, connections, messages, post scopes,.. Etc. RethinkDB looks promising with the 'watchers' to get live data instantly, but it's a whole new way of query'ing and such.. It just feels like I'm wasting my time because I'm afraid that I'll reach a point in development where I'll have a situation for example like "damn.. This is impossible with angular or php.." [I've shouldn't have agreed to this project..] :D1 -
Come on, how hard can it be?
On every fucking TLV data structure I get to handle, the hobo who defined the structure obviously stopped reading the TLV specification after the second sentence.
Fucked up tags, misuse of length encoding, and as a result no real TLV parser can handle that crap. Workarounds and manual parsing all over the place for *every* *single* interface.
Get your shit together, and if you don't want to handle the complex parts, then at least make the simple types right. -
The project structure is simple. To work with it you need to first build this undocumented ruby-based, severely outdated backed that requires an env file that nobody really knows where it is. Don't worry, setting it up should take no more than half a day. Then just run `docker-compose up`, after that `rails s`. Now in another repo you need to run a python server and a node sass. You need to figure out the name of the compiled file though. Perfect structure!2
-
I was filling a questionnaire through SAP Ariba ..
The loading time, the way you can upload files. The tree structure of the questionnaire, and their date picker. Everything is perfect no struggle with it at all.
PS: I spent about 2 hours filling it and I am not done yet! -
Watched UFO 2018.
Movie mostly about guy trying to solve math problem but nice.
Learned about fine-structure constant and that all base SI units were redefined in 2019 lol.
I don’t remember anyone mentioned that scientists changed all of standardized measurements.
Overall nice movie if you like those about solving imaginary problem without special effects etc...
Looks like nobody cares how much kilogram weights.7 -
The ability to instantly figure out and understand a good architecture/structure of what i want to make so i can just... make it.
-
Ok, you have 4 weeks design time and no more do you understand? Yes. 1 day of design time left, after 2 rounds of feedback...'Hey, we've drawn up a layout of what structure we'd like the site to have after actually thinking about it, can we try it like this?'
-
Anyone knows about that one website for dev ops, with tech or edu.net or sth along that line? Url isn’t that long.
Found it through one rant and op seems to be writing a series of tut or articles for data structure.
Now can’t find it back. Greatly appreciate ur help.4 -
Practicing Pomodoro.
Keeping a Journal.
Using Git Flow.
Learning Modular Structure.
Cursee trying to live a simple life with disciplines.
I have lived enough year without any discipline. So I wanna check the other side. Maybe this is what I need. Who knows.4 -
Oh man I sure do love having three separate code generators in one project with some additional hand written versions of the data containers so that every time the system engineers decide we need to change something about a data structure I have to update 1-3 hand written mapping functions. (Kill me please)4
-
Leaving things out of VCS. My usual folder structure is like this:
- Project name:
|-- env (virtual environment)
|-- Project name (git repo)
\-- (keys, credentials, etc.)
It makes sense, but after a while, more and more important stuff starts piling up in the outer folder (not version-controlled). -
Oh how I wish there was more consensus on project directory structure in JS... sometimes keeps my mouse away from "fork" on GitHub.
What's your preferred structure? -
Im completely stuck in this, might just have been gotten mad and it's real simple.. butncould anyone help me write an sql select statement that would solve this issue ?
Problem statement and examples are on the picture :)
Thanks in advance!
(Data not the actual data needed but resembles structure im trying to do)10 -
Hi react developers. Noob question, I am making a new (my first) react+redux toolkit+axios website…
So umm, what folder structure is best, and where does the user authentication part , the web services go?
Currently I have
-src
-pages
-index.js
-app.js
-about
-index.js
-stores
-common8 -
Guys, how do you structure branching in an enterprise project?
We're using git, managers are MIA, I'm basically helping another new guy kick off and maintain the projects that we have.
What would be a good branching strategy? Front end and backend in the same project, 5 man team in the future.2 -
"We need to refactor THIS section of the Frontend because BE wants to implement THAT - we will agree the new structure, and we will migrate the previous structure"
- refactoring the app 4 times a year because reasons -
Ok......so we working on this system with a friend
we have deadline today
he's the one who wrote the code
I'm just implementing some features
maaan the dude is just not responsive to questions
and project structure and code is bad AF no comments or docs
WTF!!!!!!! -
Q. 4 go and python developers:
Have you come across anything which generates the structure for respective language from asn1 spec? Like asn1c generates structure for c from asn13 -
sat through a 2 hour lecture/live code on streams, still don't understand the structure well enough to modify an example to check for 4 sequential numbers in a HashSet.
-
Can anybody guide me on how to create a web-based application that takes input as a file, and performs extraction of file, and show the content of file in tee structure using javascript?6
-
So this lockdown gave me time to think and strategize on how to run my software business more efficiently
Launch the model
3 days later remodel the structure
Launch it
3 days later review
Rectify
Redesign draft a new strategy
Review launch it -
Its just frustrating being a person who learns tech or any other stream from the internet.As much as i love the huge amout of information we have access to, it becomes difficult to sort through the tons of information and learn something.When i was a kid , there was a text book which had concepts which i had to understand to increase my knowledge but now without a proper sylabbus and no single source material i'm consuming everything and i end up re-reading same concept again , except this time its from another book.How do u devs get a proper sylabbus and focus yourself when you are reading about a particular subject?3
-
Hey, I have a question concerning the use of jpa annotations in a kotlin multiplatform project and how to organize shared data classes.
I already posted the question on stackoverflow: https://stackoverflow.com/questions...
I would appreciate every help :) -
Error reporting. Yeah it is a pain to come up with something that users will understand. As devs we need meaningful stacktraces so we can diagnose the problem but the normal person doesn't care. Also not having consistent messages looks terrible for the user's experience.
I hate it when there is no standardized error messages and/or json structure between teams or individual members of said teams. Why should we have 10+ different structures to code for in our apps? There is RFC 7807 for a reason. It has a defined structure plus accounts for custom properties. If you are a c# developer, check out the ProblemDetails class. It has made my life easier and I can guarantee everyone that all of my team's projects return this structure. -
How to prevent svg tag from fucking my html structure up ?
Is there a plug-in in vscode to hide that?7 -
New team structure at work. Six of us. It’s a mixture of seasoned devs and new guys (me). An (subjective) objection is made about something I created. Should I push back or let the senior devs have their way?6
-
Three possible strategies for adding a new feature. Not sure which is the best, so I'm going to go with the one that's least invasive to the existing structure of the database.3
-
Perfect job would be work life balance.
Colleagues are helpful.
The existing project are having clean architecture and code structure that won’t confuse developer at all. -
Hey, can someone point me to a sample project (if it exists) on the best way(s) to stucture code for Serverless architecture that includes GraphQL and unit testing?
Preferably in NodeJS. I'm more interested in the code structure than anything else. -
An accountant person is teaching me how to structure some info to import data to the database, I don't know how to tell him that I know how the process should be done, I'm new here I've to respect my partners tough2
-
The boss says: "Spreadsheet structure must be the same of this other app".
There is no documentation of the other software so:
• try some different input parameters;
• compare the spreadsheets;
• find a possible (and temporary) solution.
I do not like Excel.
😤😤😤😤😤😤 -
You know you completely fucked up as a company, when your self-developed CMS is one huge unmaintainable hack and without any structure at fucking all.
It's just mindboggling how even such a complete mess can "attract" customers.
EXTREME STONKS 📈📈📈📈
(thankfully I am not related to that particular company which shall remain unnamed)2 -
I don't get it, it's interpreted, why you creating a new structure for every single fucking transformation instead of transducing them transforms into a single one and running it ONCE?
no wonder this shit's heavy3 -
>coreutils install
how can something suck balls so much?
do you want to install a file, creating the directory? sure. do you want to copy directory structure? sorry, can't do.
i'll just use rsync, fuck it -
For most part, after realising I have freedom of implementing and structure my codebase. I have followed only this rule whenever I stumbled into new way of code format/implimentation techniques.
- Understand the structure
- Check if it's new/upcoming way people started coding
- decide should I use it just yet
- implement according.
Adding factors such as time and prefered language, it turns out to be your own personal style.
PS: yes you do follow community conversion but, there's some part of it that makes it unique to you. -
Time to unwind after more than a week of building the structure of a micro service. I feel exhausted right now 😫😫1
-
Spent 2 weeks of hardly coding a project to then figure out a nice data structure that fixed all my issues and difficulties. It was definitely a good day.
-
why am i not able to find a way to use multidimensional associative arrays in vba?
plus: why am i too dumb to see my own data structure and process data sheets in a complicated way instead of using prepared data with a simple string split?3 -
Teaching all my friends JavaScript and thereby learning more myself. What a beast it is to comprehend. Other languages feel like learning a structure and syntax, where as JS feels like learning an entire actual language.
Soon... Soon we will all be speaking ninja code. My evil plan is coming together >:) -
Dev job? I always thought finding out the most ideal way on how to structure an ui for i.e. Blind or disabled people to tell devs how it must look like and how random people would expect ui functions to be placed is a thing which could help.
-
How do I go into tokenizing strings of text from a LaTeX file into a Go structure for further processing? I feel like splitting hair trying for loop over an io.Reader and using regexp to find where a sentence ends; there must be a better way...2
-
I am freaking out as se hace lo ir schemas and in all of them table structure is different... Doesnt people know about tools like Liquibase ?...2
-
Started a new project for .NET core. Spent the last 2 hours creating a new solution and trying to "make a great solution structure this time"...
Ended up with the same project structure of my previous projects.
If it ain't broke, don't fix it I suppose. -
For WordPress devs:
We have a multisite structure and I have created a menu on one of the site, how to use that menu on another subsite, googling didn't help :/ please guide -
THIS is powering the internet:
"[...] was a protocol number, similar to the third argument to socket today. Specifying this structure was the only way to specify the protocol family. Therefore, in this early system the PF_ values were used as structure tags to specify the protocol family in the sockproto structure, and the AF values were used as structure tags to specify the address family in the socket address structures. The sockproto structure is still in 44BSD (pp. 626-627 of TCPv2) but is only used internally by the kernel. The original definition had the comment "protocol family" for the sp_family member, but this has been changed to "address family" in the 4.4BSD source code. To confuse this difference between the AF_ and PF_ constants even more, the Berkeley kernel data structure that contains the value that is compared to the first argument to socket (the dom family member of the domain structure, p. 187 of TCPv2) has the comment that it contains an AF_ value. But some of the domain structures within the kernel are initialized to the corresponding AF value (p. 192 of TCPv2) while others are initialized to the PF value." Richard Stevens 'Unix network programming' -
Trying Laravel for a few hours...
God I hate it... everything is in dumb places, need to do 3000 things to get something to work that'd take me 5 things in CakePHP... and my folder structure is already cluttered af D:
How do people like this turd D:14 -
Any Vue expert here?
I just want to publish a vue.js component on npm.
I know how to publish it, but I was wondering I have to structure the vue component package.
I read (almost)everything about it, but I couldn't find anything clear.3 -
Starts new codebase
uses boilerplate with the intent to keep a clean structure.
after 2 weeks it already a complete bunch of spaghetti code and doing things like putting the same image in 4 different directories... boy i wonder why i could never hold down a job as employee...2 -
anyone know a good tutorial for unity and its c# api structure? i’m having a hard time wrapping my head around it and i am starting to feel stupid.3
-
Is there any JS framework by which i can make tree structure in frontend and where each node is input box, also addition of node(input box) should happen dynamically(with click)5
-
I don't get the hype about graphQL...it seems to be impossible to query over a structure with a deep of n levels (use it for a topology manager). In order to get the 5th sub-element you really need to specify the entire 5 sub-levels in your query...Why? Just the fuck why?3
-
What is your favorite programming language to implement algorithms and data structure?
Or to be more specific, if you write interpreter and compiler, what is your choice of tool?5 -
Has anyone ever thought about making a command under linux and modifying the extfs and operating structure of the kernel to FORCE a programs invocation to ALWAYS be run by a specific user account so you can sandbox the command but allow its invocation by any user ?8
-
Angular w/ Python or React w/ python. what why and how? I feel the web is full easy tutorials directing us to mainstream coding. I love angular 4 directory structure but react has more modules on git. help!1
-
Why does every programming language have to have so many different ways of doing the same thing? I mean, come on, do we really need both for and foreach loops? And why do we have to choose between switch and if-else? Can't we all just get along and use the same damn structure? #FirstWorldProblems30
-
Which is the best Android Project Structure 😂 we beginners always wonder and the experts tell us to Google, am I a wrong googler2
-
Maybe I am picky, but:
Some people made a "FileStorage" API where in the open method you have flags like READ, WRITE, APPEND... And they made it like when you check WRITE the API opens/overwites to an empty file.
And when someon made a github Issue about this behaviour, they flagged it as a feature request. I'm so anoyed by not being able to overwite my data, thats just rude. Like should I use an file storage API to overwrite data like this:
0- Save file inner structure (you can't extract it from the API)
1- Open the file, parse the structure
2- Find file to overwrite
3- Save all the mess again
4- write your own API
5- sigh4 -
-> Not completing database structure and realizing it in the middle of project execution.
-> not using version control
-> no documentation/comments
......List goes on -
I just spend 5 hours wondering why the my slug rewrite wasn't working in wordpress. Turns out the 1 second fix was updating the permalink structure in the admin panel.
I can't wait to move to a custom cms. -
Have anyone ever regreted on any code/structure written that you find hard to eliminate it as the system grows bigger
-
upvote your favorite data structure:
scroll down to comments and upvote the one you love to play with, the most.25 -
Can anyone help me in my task
(Solve n queens problem by stack using linked list) Data structure c++🙏9 -
after several days of fine data structure development and having incredible fun making a state slider with css only this was a horrible day deciding which color scheme might be most appealing for other users. i'd love to have a designer right now.
-
Originally designed backend to work one way but then frontend UX was shit because of how the app was structured. Have reworked frontend to be structured differently and now I have to work around the original backend structure because I don't have time to rewrite it. Everything's a mess. It works, but it could be way simpler.
This sucks.1