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 - "example"
-
Boys use the word FRIENDSHIP to strart the relationship...
Girl use the word FRIENDSHIP to end the relationship...
Real example of Polymorphism...😜😜😜2 -
Leaning Tower of Pisa being a wonder of the world is basically "It's not a bug, it's a feature" example.1
-
How language creators choose the function to get the size of an array..
I mean, the life could be more simple, this is just an example.12 -
Is it just me or am I the only one who gets pissed if someone checks the expected result of a variable first?
For example:
if(true === $var)
Instead of:
if($var === true)19 -
You know what really grinds my gears?
Seeing a 5-line comment, that have absolute no value, for a variable declaration.
Example:
/*
*
* String that holds a delivery address.
*
*/
public String deliveryAddress;8 -
Best: the tool that works for the job.
Worst: the tool that doesn’t.
Example: Ruby is great for scripts and web dev, but simply doesn’t work for graphics engines.
Example: SQL is great for fetching data (etc.), but it is absolutely terrible for business logic.
Example: XSLT is great for lowering your faith and your will to live, but it is absolutely awful for literally every other purpose.21 -
All data collection things should take an example of Debian:
Setting the (anonymous) data collection consent to 'no' by fucking default.7 -
Interviewer: "Give me an example of a time you made a significant contribution to a particular community."
Me: "This one time I got a +6 on my devRant"9 -
PHP's lack of consistence in naming conventions with built-in functions. For example, str_split() and strlen().8
-
By learning the basis of things instead of just using them.
for example I learn cryptographic algorithms behind ssl instead of just using it.6 -
NOT A RANT!
No jack in new pirates of carribean trailer. Looks like everyone is following apple's example2 -
I was searching through StackOverflow when I found this guy:
He is using a "dot operator" in LINQ at the end of the Query
Example:
a.Where().
Select();
Not
a.Where()
.Select();
How barbaric2 -
Him: everything is hackable, you know
Me: oh well, enlighten me with an example.
Him: well take for example whatsapp, which was bought by facebook, so if Facebook is hackable, then why not WhatsApp
Me: ok, so tell me how do you hack Facebook ?
Him: just like how you hack WhatsApp.
Me: *digs in the Bosch toolkit to find and drilling machine* How about I drill some knowledge into you? *evil jack nicholson (the shining) smile*4 -
1h into learning Haskell and I haven't written a single hello world example yet
Change feels good
I already love it12 -
When the pm learns how F12 and use Google console to change HTML style, for example the color of the font.
He proclaims produly to everyone, I can code like you guys now.2 -
Red: Says the example does not use client library.
Blue: Uses client library.
Oh Google, what are you doing?4 -
Do you guys know the feeling you get, when you have to explain your work to a non programmer? An example could be your boss.
It's not always that easy.3 -
This is how my prof uses braces:
If () {
test;
} else {
test2;
}
He uses it as an example of how to use line breaks properly.18 -
Microsoft MSDN is a great example of how fucked up a documentation can be.
Update the fucking doc! You're one of the biggest tech company in the world!3 -
Manager logic: Adding "somehow" to the front of the JIRA title for the JIRA description is super clear and helpful.
Example:
Title: Chat screen doesn't work
Description: Somehow chat screen doesn't work7 -
I just found this example in our school book. Should I be worried? (My teacher wrote the book BTW)19
-
German printing company's order form. Great example for how to make me NOT order there ¯\_(ツ)_/¯
"Show all nodes (9500 More)"
Translation: "Papier und Auflage" == "Paper type and amount"14 -
Practical example of why you should sort your code by feature (users, notes, analytics) instead of technical layer (models, views, controllers, etc)5
-
Loop counter conditions.
10 loops for example in this scenario:
i<=9
OR
i<10
Was arguing with a co-worker all week over this 😂11 -
Interviewer: can you write a code snippet to explain function overriding
Me: *gives a practical example *
Interviewer: *not satisfied*
Me: what would be a proper example for the question?
Interviewer: *writes a text book example *
Her example didn't even need inheritance in the first place. It's one of those forced examples.
Next question: a riddle. Yes, a riddle4 -
Does anyone know what program people use to create those beautiful code snippets? I can't find an example, but it looks quite close to this, just with more vibrant colors.3
-
Them : "Here is an example of how to use my library, 45 lines of mandatory configuration omitted"
Me : "Here is a pot of boilling oil, could you take a small bath in it?"2 -
Looks like you want to learn something by examples. Great! prepare yourself to see the most complex, horrendous fucking example for a hello world program.
Could we give you a simpler example?
Yes
Will we give you a simpler example?
Absolutely fucking not2 -
Do not assume that the current codebase is perfect, or even remotely close to an example of acceptable style/structure.8
-
This is an example if statement:
if(bla.boolean()){
}
Bill does NOT put comments into the condition brackets.
Be like bill.
Please.11 -
"Hey that's nice, they added a README, I wonder what this weirdly named repo is and ..."
THIS IS AN EXAMPLE README YOU CAN EXPAND IT BY ADDING INFORMATION ON HOW TO...
"Fuck" -
What’s the deal with vim, that so many are so hyped about it?
Why don’t just use atom or vs code or brackets for example14 -
I've been neglecting my 150 stars github library for the past month because I don't have time... Feel bad about it (9 open issues 1 nice pull request and one behind example library)2
-
THIS JUST IN: American colleges are dedicated to renaming "master's" degrees to "main's" degrees, following GitHub's example7
-
!rant example of effective cross-language communication. A Drake meme can save up to 140 characters on avg.12
-
When a library has all the documentation you'll ever need with all the configuration options but doesn't contain one fucking example on how to put it all together...4
-
Been programming Java for a few weeks now, and WTF is this, Java?!
"Example".equals("Example")
What is wrong with the form that a dozen of other languages use?
"Example" == "Example"
P. S. If you don't know Java, the latter one compares for the type of objects and always returns true in this case.15 -
English is weird.
Take the double oo for example.
There are so many different pronunciations for it and there seems to be no rules whatsoever.
mood
wood
blood
door
All different22 -
Stupid apple documentation. can't even give a damn example. I have to go to Microsoft documention to get example on a framework made by apple. What a joke.1
-
HOW
FUCKING
HARD
IS
IT
TO
DOCUMENT
HOW
YOUR
LIBRARY
WORKS
ONE
EXAMPLE
FOR
A
FUCKING
POSTGRES
CLIENT
LIBRARY
IS
NOT
SUFFICIENT7 -
Was so confused what the new walrus operator did. Why don't the docs give a simple comparison example like this?5
-
Arduino & ESP-32 without the arduino library.
Good look finding any example code. It's just you and datasheets with fontsize 2.5 -
When your "product owner" just doesn't listen...
Skype conversation:
PO: What format will the dates need to be in for the csv file upload?
Me: Just tell them YYYY-MM-DD
PO: ok
Two weeks later...
PO: there is a bug in the csv file upload! The dates aren't being picked up
Me: ok will have a look, send me through an example date the are using
PO: ok, example date 12/03/1990
FFS! 😡3 -
Why is it that every library has some kind of an "example", but every time I need a more complex one, there are exactly zero6
-
-Discovers new tech
-Follows the "getting started" page
-Spends hours to get the example project working
-Gets bunch of exceptions
-Cries2 -
I made a real working example of elliptic curve encryption without code examples in javascript. I really felt like a badass.2
-
*learning HTML*
*Finds a nice example for tables*
*Scrolls down then instantly close the page*
He is using IE8 IN 2014 😓😒2 -
Do you also get satisfied when programming certain things and just feel awesome while doing it?
For example I always get a strange satisfaction when I'm writing JSON...3 -
Not happy about the modern wave of apps producing really long file name suffixes rather than trying to stick to just 3. For example .afphoto. It doesn't appeal to my OCD nature.3
-
Today I was trying to convince a colleague that:
fun example(){
if(thing){
//Do something
}
}
Is stupid because it should be
fun example() {
if (thing) {
//Do something
}
}
It's the small things that are the most frustrating14 -
One of the popular hotel booking sites 😂😂.One more example for why need to take testing more serious when we have a huge users base 🙆1
-
today, we're going to learn how to make web dev complicated and how to annoy users with a simple technique. learn by example2
-
Does anyone else hate capitalised hexadecimal colour codes?
I'm not sure why, but I just think #ccfd73 (just an example) looks better than #CCFD7315 -
Java Server Faces!
Don't get me wrong, I kinda love coding Java, but JSF is just a horrible technique for web development.
Had to do it since my company got to maintain an already existing backend which the customer wanted to have some more Features but the original dev didnt continue to support.
Attached hello world example from good old mykong for those not knowing jsf: http://mkyong.com/jsf2/...4 -
Is it just me or does it also bother anyone else when manufacturers pull shit like this (using Apple as example but I've also seen it from Google/Samsung).8
-
Some prankster on upwork is trying to swindle me out of paying me because they didn't "hire" me through upwork even though he asked me to send an "example" of my rendition of what I would do for their logo. Once they told me they went with someone else even after performing the requested "example," I promptly asked who to invoice. "They're going to go talk to the boss and see what they can work out."1
-
w3schools around the age of 15. The rest I learned through my study and from friends (learned NodeJS from a friend for example)
-
Why the actual fuck would you #define function calls into value-like things?!
Found when exploring the example code for some Chinese company's display module.11 -
I suppose I should stop randomly naming variables and keep the randomness throughout the whole project
example: int psnhiwovb;
...I still have a project with such random names.2 -
Did anybody ever to use this arduino module (RC522) ? How to test that module is working or not? I've tried many example in the internet, but still not working3
-
Several years ago, I heard from a friend who was doing assignments for students on the side. Quite a hustle. His story began when he wanted to figure out why can't these students be able to draw their own database tables, relationships, UML, etc. That's what school has to be teaching them and then he was told that they were learning through MS Access. He goes and tell me that even though this is a lame way of teaching database design, its definitely easier to explain through hands-on and less typing mistakes, as according to the lecturer he met. Making the explanation more visually appealing and helpful for understanding.
OK I get it, but somehow that taught them the wrong way of database design from the beginning. I'd prefer getting them to start writing SQL commands from day 1 and play em at some DB VM. Keep em as real as it gets.
Now I have my own students asking for help in their assignment and also asked for tutoring lessons in web development. So I gave them the crash course in HTML, CSS and Javascript. I've asked them if they've used anything of what I taught them in school. They go and tell me that they've been taught web development through Wordpress. Oh WTF!? I havn't talked to their lecturer yet but it better be a really good explanation to teach these youngsters in a flawed and bloated PHP CMS framework for "web development".2 -
am I the only one who noticed that devs nowadays have a social life. for example going at the bar, party all night etc. I'm actually jealous.2
-
An example of bad documentation? Unity. It has a list of poorly described methods of deprecated classes. The only reasonable documentation is the community. Docommunitation.10
-
Oriented Object design class today, introducing inheritance with squares-rectangles and circles-ellipses.
No don't do that.
It's the worst example ever. It does not work. Just no, stop3 -
It's the small things,..
Creating a desktopentry for starting my playlist with VLC instead of having to click 5+ times for example2 -
When I try to learn for example new language, I’m trying to replicate my existing project in this specific language
-
Everybody loves Python, but every documentation about a library is ***** (not good) or I am to dumb to understand? ( for example Pillow Tkinter)8
-
I'm working on a pretty Plotly map. To learn how to use bubble graphs, I've copy-pasted the example and modified it.
The example is ebola occurrence by year, Plague Inc style. So naturally I need to add some countries. For testing, of course.
Ebola for everyone! Yay.
I like my job.2 -
A person who can fix anything that is electronic.
For example:
Washing machine,
TV,
Mobile,
Playstation,
Xbox,
AC,
Remote control,
Camera ...etc1 -
Dear theme designers, unless you are designing an app specifically with OLED in mind... Do not use black as a main background colour.
It just looks horrible IMO, key example on good dark theme is the windows store and a example of horrible dark theming is the settings app.
And mini rant over.2 -
Every data communication example has Alice and Bob communicating with each other. I wonder after all these years how are they able to maintain a stable relationship.
I wish my girlfriend understood this. -
Can rant creator be highlighted? Especially in big rants with lots of comments it's problematic to see story continuation (in example database drop rant)6
-
This is the best example of google giving a fuck about their own guidelines.
They always ram their expectations of you making your apps fit the guidelines a 100% into you, but then they give a fuck about heir guidelines in their own software.
They use a ListView here in google contacts. It's completely outdated for a large amount of data, such as my 200 contacts. They literally push you not to use outdated techniques such as ListViews in your app. Use RecyclerViews, our completely new solution instead. ListViews are very very bad in performance.
I KNOW THIS SOUNDS PICKY, BUT THIS IS JUST AN EXAMPLE!!! THEY DON'T CARE ABOUT THEIR OWN GUIDELINES IN EVRY WAY! BEST OTHER EXAMPLE IS GOOGLE PLAY STORE. BAD PERFORMANCE 100%. BUT AT LEAST IT HAS RUCKLING ANIMATIONS.4 -
Spent almost two days debugging the hell out of an interrupt handler only to find out that my reference code (official example from the vendor) has some wrong function calls damn it.3
-
I hate it when framework doesn't behave the way it should (or I didn't code it the way it's meant to), though in example it works the way it should.1
-
*Sitting in sql course*
Professor: "So today we are talking about normalization which will make our tables much more efficient and easier to understand."
Me: (In my head) "Sounds useful!"
Professor: "First we will start with UNF or un-normalized form"
*Professor shows example on projector*
Example:
"UNF: Student ( name, sAge, , college_name {COURSEID, cname. descCourse C# }]"
*Frustration begins to take hold as I play where's waldo*1 -
I will have to present some algorithms at our school festival next week.
Any idea for a good real world example to demonstrate how breadth first search works?3 -
My favorite thing is searching a problem on Stack Overflow, and the only example you find was solved by fixing a simple syntax error.
😒 -
Good morning, can you imagine why my mailserver can't deliver mails to some email-addresses? For example I can't sent mails to Hotmail, Freenet, Yahoo, Outlook and see more...17
-
I fucking love the timeline feature on Google maps. Makes it nice and easy to remember where you went on a trip so you can revisit on Street view for example1
-
If you were forced to not use an electronic device for programming purposes ever again, what would your job be?
For example, I'd study medicine and try to become a surgeon.14 -
Getting into Linux (Kali...)
Omg I had to google everything. Per example how to change the keyboard to my language...😥5 -
What's your take on developing web with python (using Django for example)?
Coming from PHP, Symfony , etc, my first impressions are that it's clunky and very backend oriented.15 -
Trying to code a Chrome extension with Native messaging so that it can communicate with my python script. Just kill me.
Can't even get the example from Google to install correctly.
FML4 -
The DataTables homepage has an example table where some "senior JavaScript developer" has a salary of $433k
Lmao 433k Zimbabwe dollars maybe.2 -
Getting my own self focused on what the fuck I'm actually trying to do.
Example: right know I should be coding...... but devRant though *sigh* -
Tomorrow I'll have my Java exam. Teacher sent us a code example and I analyzed it, it works correctly but it's full of mistakes about polymorphism. I'm fucking afraid5
-
It probably will be an unanswered question, but let's try.
Does anyone know of a large project using onion / hexagonal/ ddd or similar architecture with free access to the source code...
Or an example of said architectures that goes beyond "trivial dumb example".
The new recruits need... A lot of brushing up (I'd be for electro shock treatment and other stuff, but somehow HR thinks I'm joking).
As said, most examples I found are too basic. On the other hand, if I write now a good example, I'd need to do it in either my free time (nope, just nope) or jiggle it in somewhere in company time (aka it will be never finished nor be in a useful state).
Programming language preferred would be Java, but as I'm fluent in most languages except the forbidden ones (JavaScript and it's friends) ...
Anything would be helpful.
Most welcome would be an example with a focus on Adapter / Ports, e.g. abstraction of HTTP client usage / ORM etc.
Thanks.12 -
I was just trying to learn Ruby by watching a YouTube channel, when the instructor use that example 😂😂 I bet this app will "blow"3
-
Today is a national holiday because of Independence Day.
And weirdly I feel like coding today. For fucks sake, I wanna be an example you know. 😏😏😏2 -
If the corporate work life needs to be taught in school, what do you think the subject would look like?
For example, I think time management and people management should have been there.10 -
I think it related to the app crashes, but now, instead of crashing, the app thinks it has no internet and loads forever things. Usually happens when I put the app in the background and don’t force close it.
Closing the app multiple times and switching to other apps fixes it, most of the time, not always.
But it still crashes. Less... but it still does, no specific patterns to see.
iPhone 6S2 -
So in Ruby, everything is passed to functions by value. However, when you manipulate objects, you're actually manipulating references. A simple example:
```
a = [3]
b = a
c = a
b.push(2)
print a
print b
print c
# => [3, 2][3, 2][3, 2]
```
Here's a more complicated example from the problem I was solving:
```
table = Array.new(5) { Array.new() }
1.upto(5 - 1) do |i|
1.upto(5 - 1) do |j|
table[i] = table[j]
end
table[i] << rand(1..6)
end
```
I have been running around in circles this morning because I forgot that. This makes C++ for example, more clear than Ruby since C++ explicitly shows the intent to the programmer.5 -
For everybody wondering what's the new endpoint is..
/api/me/subscribed-feed
you can also provide an `filter`, which is comma-seperated with the possible values:
- posted
- commentedOn
- liked
"View more suggested users" does NOT load more. It simply doesn't show everything from the response.8 -
My ifs teacher doing an HTML question from an example.
"Let me explain(thinks for a minute).never mind my coding is getting rusty"1 -
Hey guys, whenever you talk about your weakness in interview, what would be the best thing to say? Weak on multitasking, for example, would be a sample answer?16
-
Waking up at 4:30 am is a some sort of enlightenment. For example, today I figured out that using sudo with npm is generally a bad idea.
-_- Well... -
Do you prefer to negate a positive function or write a negative one?
Example
!IsValid() vs IsInvalid()6 -
Can we just agree that mongodb is shit and we all would just be happy without it?
Its the example of all things that should not exist.3 -
rant.type = feature.request
We should be able to select up to 5 (for example) shirts, shoes... And have the app equip random one each day.2 -
Microservices
Lets take an example: Products service & orders service.
When I want to save an order for a user, data saved as
1. UserId, ProductId, Quantity, Date
Or
2. UserId, Name, Email, ProductId, ProductName, Quantity, Date
I'm a bit confused here because if I'm going to fetch that purchase, in example 1, it will return IDs requiring another trip to server to get user & product info
In example two it takes only one trip BUT if any changes is made to either user info or product info it means I'm returning wrong info to the user.
What do we do in this scenario? Excuse my questions first time applying Microservices and been using monolith all my life6 -
TFW you see ruby syntax and claim it's not even a programming language, then someone shows you a working example...
-
Best and worse IDE feature for you.
Me :
IDE : VS2019
Best : Conditional break points (cf image)
Worst : Git branches management (For example : can’t delete multiple branches at the same time)14 -
I feel retarded. Just spent a good solid 15 minutes trying to figure out what was wrong:
<input id="#example" type="text">
let data = $('#example').val()
And I was sending data to the backend and wondering why it always came across as undefined...6 -
Why the fuck does microsoft feel the need to be different?
One small example is VBA (Visual Basic for Applications).
When calling a function iw does not allow you to use brackets.
Example: Funct (arg1, arg2) is not valid but Funct arg1, arg2 is.
If you want the damed brackets you'll have to use call.
Call Funct ( arg1, arg2)
because after the first function is called, functions within that as arguments need to have the brackets...9 -
Is it a bug ,if you have the hairstyles which I have kept on my avatar, you can't have facial hair? Really devRant? I'm the living example and I have both3
-
@dfox. Please make links to devRant open in the app.
For example: https://www.devrant.io/rants/243831
^opens in web browser7 -
Dear community,
Could you please recommend me some (free if possible) sites for SW skill assessment (for example: sites with quizzes, problems, exams etc.)?
Thanks. :)5 -
i fall in love with every software that have a purpose but an ugly UI and do the job well, devrant for example, how about you ?22
-
OOP coder:
OOP is so useful and realistic!
Let me give you an example -> Cat extends Animal.
Every other coder:
So how is that useful in reality?
OOP coder:
...cat pictures?8 -
Hey, dfox & trogus
How about some Haskell/Scala/F#/OCaml/Clojure/Scheme swag? For example, I'd love a Haskell-caped devDuck.
Show us functional programmers some love pls ;_;2 -
Hi guys, do you recommend any useful app for the home administration? For example, to keep track of deadlines, bills, shopping (for this I use Bring!), for filing tax documents ...5
-
I feel like there should be a rule 34 for nodejs. If you can think of it, there is probably a nose module for it. Take for example PHP.js it's a thing...1
-
Trying to create a custom woocommerce store theme, pretty sure I've become bald from all the hair pulling I've had to do over their shitty CSS class names. For example .woocomerce_Store--Front5
-
Poll time/input requested. Multiple assignments in one statement: yay or nay? For a (painfully) simple example:
a = b = true;
vs.
a = true;
b = true;7 -
The second you write `else { return false; }` you should lose the privilege of calling yourselves a dev, from then on. Period.
Example,
if(condition) {
// ...some code
return true;
} else {
return false;
}14 -
Are there any *performance benefits* in having your users comments on a separate page rather than the actual post/article page?
Example use-case: medium.com5 -
Every time I successfully create / do something new. For example when my Discord bot came into a voice channel and said hello to everyone. That was awesome.
-
2020 Website design trend example
https://www.tn-ict.com/en/
butter smooth transitions, contextualized displaying of information. Break up of the traditional page paradigm.6 -
So... My friend got Agile Carpet Development.
And this is the example of one being fixed on the fly.3 -
As developers, I feel like we as a community need to really work on our grammar/spelling.
Example: scroll down...10 -
This is an example if stupid documentation.
//Just like magic
try {
....
WTF! THIS IS PROGRAMMING, NO FUCKING MAGIC OR MIRACLES HAPPENS.1 -
“Not a security guy” no more😼
I already completed 10/16 chapters of this book, including formatted and updated every code example in the github repo.
There’re lots of fillers in the book.
😑Lots of repeating samples.
The nosql part in node.js is completely broken.🤯
The code mixed with space and tab, so I have to format it before starting the exercise. 🙀
The git repo has about 150 forks, it makes me wonder how many copies they actually sold, since the entire book is closely tied to code samples.🤔1 -
When you saw the code of the whole product, and the best way to describe is the best example of a bad coding practices.
-
I want to get into windows, mac etc. development. So what program is good for making a program like for example paint or any simple program for windows10
-
Whats people's opinion using other design languages on other operating systems.
For example, using the UWP design language on the Xbox android app.
I absolutely hate it... Makes the app look terrible and out of place in my opinion, even worse when they use there square style icon and just put it in a circle for it to 'match' the pixel launcher, for example, LinkedIn -,- -
I am working on spring boot jwt project. Ive encoutered a UserDetails class name.
Why is it named UserDetails?? Where the fuck are those details??!! COZ I CANT SEE THEM
Those kind of methods can be found also in other various Services for example LocationService or UserService but none of them is called by developers for example LocationDetailsService. WHAT THE FUCK. Wouldnt it be better to name it UserSecurity???? -
Which programming contests or scholarships (for conferences, etc.) do zu know of?
For example Hacktoberfest, GCI, WWDC, etc2 -
Is having a public repo on git with some simple hack that I've written for fun (for example, word bot for online scrabble) a bad idea?2
-
Shower thoughts: i wondering something silly, for example address 0xf006 points to address 0xf003 which has value of 0x0000 how did it know if it is a 0 or a NULL15
-
Can you name any esoteric programming language that has a minimal number of 'keywords' and its interpreter can be designed simply?
For example BrainFuck programming language.5 -
When you can't understand a compiler warning, try to reduce the problem to a minimal example, and the warning goes away...
... and you realize two hours later that you weren't compiling the minimal example on the same machine as the original. Different versions of g++, one with a bug fixed 😩
(assigning {} to a struct member) -
Any example of machine learning / artificial intelligence on video auditing that the community knows of?
-
I use documentation to develop a connection to a feature (connection that was said to be done, but whatever.)
There is an example in the documentation of implementation.
But that example is, like I like to say, bullshit-esque.
In the implementation, the code doesn't work, and there is another way of implenting that connection. But the thing is, it uses a variable that was never declared in the example, neither in the full page. They just made it pop-up from nowhere like a deus ex machina.
Gimme a table so I can flip it.3 -
If interviewer asks me difference between abstract class and interface,what he is really expecting? Can anyone give real life example other than coding.6
-
is it just me or do you people find it strange to find smth written in your own language on devrant for example in german?
(no i dont mean English native speakers)10 -
We are learning a method for reflecting on our progress.
The teachers use a wedding as an example in front of 5 classes of guys only.
Lost all interest -
Stop making students program a specific way
Example:
Requiring 20 if-statements instead of a switch statement1 -
Is there anything like a reverse search engine, that let's you enter e.g. some js code and it tells you what language feature has been used? Imagine you see syntax you've never used before and don't know what it's called or what it does but would like to know more about it.7
-
Programming is a skill best acquired by practice and example rather than from books 💙
- Alan Turing1 -
Reverse engineer an example off of github, use to make something else, stack exchange when it doesn't work, repeat.
-
When I tried to run some advanced words In English with my daughter I came across this word (in the tofel English app) ...and that example 😵,
Cooked mouse anyone?2 -
Am i the only one having a lot of problems with devRant on Android atm? For an example: When i click the 'back' button i only see the background, bo rants :/6
-
Are there any websites or apps where you can/must analyze codes to find out bugs for example.. Or must complete codes in right way.. Like training lessons?9
-
I wish the iOS app could be used in landscape mode on iPad. It would allow us to view the algo feed and any other feed side by side for example.
-
Anyone knows a good article/tutorial to build a small drone (Quadcopter for example) controlled by custom app (via wi-fi or Bluetooth for example)
I am totally new on this, and I need somewhere to start.
it is important to control it via custom app2 -
Opinions please. When end user is not paying for service, who is my customer? For example public facing government project2
-
When hesitating on the difference between blocking and non-blocking, I just consider the example of a typical conversation with a customer.
-
I'm new in Artificial intelligence and Machine Learning and I want to design an intelligent bot what steps I have to use. For example intelligent os in her movie... 😊 😊 😊
-
This will never clash:
static createGuid() {
function s4() {
return Math.floor((1 + Math.random()) * 0x10000)
.toString(16)
.substring(1);
}
return s4() + s4() + s4() + s4(); // Example => 'e014026082e6237b'
} -
// Pouring over idiot API developer's crappy documentation.
Example:
Goal Detail
* From Docs "table_breakdown key will return an array but will always only contain one json object.
json -> "table_breakdown" [
{
"field" : "value",
"etc" : "etc"
}
]
WHYYYY!!!!1 -
Material-ui looks and complete and so but their documentation is a nightmare .
They seperated component example and the code of those example.You gotta go to one page to see a silder example and test it and then you have to click on a link at the bottom of the page to go to the code where they mixed multiple variation of this compoment into the same spaghetti code.11 -
There are so many frameworks out there that already have their ways to connect the client application with the server one and then from the former to a Database, that I'm wondering how someone can build such server applications(for example in C++), then connect them to a Database (for example SQLite) and setup all the network configuration for a server running from home without getting mad2
-
Question: When you gets tons of stickers (from a WordCamp for example) do you put every sticker on your computer, or only the companies you support (and funny ones)?1
-
Quick survey, when should I use orm? for example in nodejs? Currently working on an sis api using node. Just wondering if I create another prototype and use orm. Performance wise?15
-
A password strength plugin, which really encourage user to improve password strength:
http://jqueryscript.net/demo/...1 -
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.
-
Tried out the node.js code demo in this book.
🤦♂️
Terrible format, use tab for indentation, very very long function, redundant code (eg: new Buffer vulnerability)...
The major issue is none of the total.js nosql code works. Eg:
db.clear()
db.insert({...data})
Without any asynchronous call, how do you expect this to work?!
Just fixed the code and updated npm modules for demos in Chapter 3 btw... Took way longer than expected.3 -
NodeJS' url module of course doesn't include __proto__ when enlisting parameters (in /?__proto__=hi for example).
People using objects as maps are insane. They are so insane, that they don't even realise that. -
I asked my co-worker/classmate to integrate a react component into a project "we" worked for the (forced) practicum. I searched and setup the example with him (or rather for him) to check whether it's working as intended.
Note, that we were both not really familiar with react and or node. I had a bit more experience and would have helped him, if he had asked. IF
I asked him regularly how he's progressing and he said he did fine. 3 days later I finished my tasks and wanted to know how far he got.
Status? Non working example project because all he did was commenting out seemingly random lines all over the only file in the example project one had to copy paste from the Readme. -
Have you noticed a change in the typical location of internet/phone scammers from West Africa to Pakistan? All the IRS scammers I've seen have been in Pakistan for example.
-
Can anyone point me to some example of a .net project that doesn't scale because not using async await for IO?
I'm not sure how to measure impact of not doing this...3 -
Fun fact about JavaScript: it's a... bit inconsistent. For example, functions like Array.map, Array.reduce, Array.sort don't mutate the array, but Array.unshift does, and returns array's length after the element was added.5
-
I've based all my career as Ruby developer around:
5.times do
puts "Ruby is awesome"
end
Is the example that I give to everybody asking me why I've chosen Ruby1 -
Everytime anywhere any programming language, the example for exception handling is always
a/0;
Why god why??1 -
Question for java masters, can you please show me the java mastering degrees
Example : Java, Java Gui, Java Jdbc .....
Thank you7 -
So many great features, that don't get adopted by the web. For example CSS4 "subject of a selector" or ES6 "import/export". What dead features do you miss most?
-
This is brilliant example of why integration testing is so much better than unit testing https://twitter.com/withzombies/...4
-
hmm I need suggestion.
Actually am working on autocomplete address (zip code to autofill countries,state,city) feature.
But am confused with events. For example I have input field user is typing zip code so on which event I call my api example onsubmit or onChanged.
I seriously don't want to use onSubmit. But if I use onChange event than it will start searching for every character :(
any advice8 -
Whats it called when you subtract 1 or more from a number and get its decimal component back as result?
For example, lets say
((x+y)/y) - 1 == x/y
For example
((x+y)/y) == d('1.000041160213365071474861471983496528380123531238424473420976789')
and the right hand side is
(x/y) == d('0.000041160213365071474861471983496528380123531238424473420976789')
Is this trivial or something interesting or a concept that others are familiar with and I just haven't learned?7 -
why is it so hard to find an example of nesting some data in a table row that can expand with a click....2
-
Hello I am beginner in coding I have a doubt about sentinel search means can anyone give me a small example so that I can understand it properly8
-
An example-driven overview of the jq command using NASA NeoWs API
https://monades.roperzh.com/weekly-... -
Started optimising everything. For example last week while cooking, instead of taking another spoon to stir the food, I reused the same knife which I used to cut
-
Plz help ... what is the difference between software developer and software engineer? ( example of jobs for both )6
-
Kids, stay away from Google's Dagger 2 coffee maker example. Do it for your own sanity. Unless you want to study bad examples.
-
I love the Rust community but this can't seriously be part of an example as in expected usercode for Yew.21
-
So in order to ask a stackoverflow question I prepared a minimal verifiable example.
Now the issue I am facing is that my minimal verifiable example WORKS.
How am I supposed to ask it now!? Why doesn't it work in my main project? What is going on?6 -
We all make mistakes and cloudflare is a pretty clear example of that where they used == instead of >=
-
!very important question to all of us. lets share our earning. its simple because "anonymous". 10€/hour for me, for example.6
-
Whenever I see example code produced or shown by Microsoft, it either
1) looks like some WinForms anno 2009 shit, or
2) a horrible implementation of obfuscated code jizz. -
```
f = FREEFILE
OPEN test.gfx FOR BINARY AS #f
```
QBasic:
"Type Mismatch: 'AS #f'"
this is literally 1:1 example code with the filename changed, wtf2 -
CAN ANYBODY TELL ME, WHAT YOU ACTUALLY DO WHEN YOU ARE NOT GETTING SOME LOGIC? AND WHEN DO YOU GET LOGIC? EXAMPLE, ME I USUALLY GET LOGIC WHILE I AM IN BATHROOM!10
-
If you're going to allow people to have bright yellow as a background color, at least make the text dark.
Example: https://devrant.com/rants/46638516 -
NEED HELP: C#
Please I am a Beginner in C# and I need little help with Methods.
In the Picture attached, I'd love to use User input as Parameters in the method. Example: example getting user imput with Console.ReadLine(); and storing it to num1 or num2 as parameter in the Method.
Is this possible in C#, if so, how can I make it work? Thanks5 -
It's aggravating when you make an edit, and the PM asks you to give an additional example because they clearly don't believe you actually did the work..
-
Just a question, is possible in Android Studio to display a fractions using strings?
For example, instead of (m1 + m2) / v2 use a fractions2 -
How to play audio on page load?
This works when you first interact with document by button click. But when you directly try to open that route /home for example or just refresh the page, audio doesnt play.
Some devs have managed to bypass this. Example is https://feetpix.wtf/home19 -
Struggled with understanding EventSubscriberInterface for one full day .. :-/ cudnt find a good practical example online ..
-
"Creativity is in everyone; it just manifests itself differently with each person. My CPA, for example, is one of the most creative people I know." - Ron Miriello1
-
Ideas for an example project?
I want to visualize a coding style
and for this implement something
small that still has more to it than
a Hello World.9 -
How would I use \n in Python as a string?
Use Examples:
If you are making a string calculator, and using \n to separate the numbers/text from each other and put them individually into a list, which the conclusion for example:
24\n10\nhi
This should get a list like this:
[ '24', '10', 'hi']
What is the solution?
We can simply use one of the following solutions:
r"\n"
OR
"\\n"
Code example:1 -
Looking for tips on how to deal with lengthy documentation workflows. For example writing SDS, sending for review, making minor changes, and repeating
-
kendall : u look stupid
harry : do u know the perfect example for
something is better than nothing
kendall : what?
harry : your ass4 -
can't see what i'm doing wrong in terms of syntax, or what required field im supposedly missing
visual comparison against older example IDE is happy about can't see difference
copy paste workign example and update params to what i want for new one, seems happy
i fucking hate you typescript
i guess i should've put this shit through kaleidoscope or any other advanced diff, if i owned any or cared
if i need to debug further ill consider it2 -
pow function accept var ?for example x2=2 ;
int count =2;
pow(count, x);
should return 4 but return other value9 -
Why node.js tutorials are all about typing stuff on console as if this is the real world example?!?!??!1
-
I need advice. Is there a quick way to get the sum of a series?
for example.
p + p-1 + p-2 + p-3 ...
and so on?12 -
Any good tips on how to prepare for a system design technical interview?
(So for questions like "how would you go about designing and implementing an app like LinkedIn?" for example). -
“Here is an example for Kotlin programming language to develop Android app!” https://medium.com/@myinnos/...