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 - "nav"
-
I just spent 20m debugging.
Basically bootstrap nav wasn't working. Couldn't understand why not.
Figured out its a an issue with the JS interfering so I remove the script reference from my HTML. Problem solved.
Okay,cool. Now let's add that file back in and figure out what caused the issue.
Hm. This line looks like it might be it *comments it out*...odd. Problem still happens.
*proceed to comment out and test every function to see what could be causing this issue*. Still happens. Fuck it. *comments the entire file out*
what the fucking fuck. I remove the script reference the problem is gone. I remove all code from the script - problem persists.
...wait...are you fucking kidding me. I OPENED THE WRONG JS FILE WITH THE SAME NAME BUT IN A DIFFERNT DIRECTORY.6 -
In high school, we had to choose between sports or computer science. I didn't like to play sports and now I'm a programmer.4
-
"I made your static HTML pages into a dynamic site! Now just include <%Header%> instead of copy pasting that nav into every page!"
...1 week later...
"You made our website all crazy. None of the pages have headers in the source code but it still shows up by some kind of witchcraft. Put it back."2 -
Bob listens to his client...
Bob do what the client asks for...
Bob is a happy developer...
Be like Bob...
.
.
.
.
Said no one!5 -
Who the fuck designed the UI of linkedIn? When I click on My Connection, I expect to see my fucking connections. Not People I may know, Not my recent invitations, no fucking bullshit. Just my connection.
They have a small fucking text (Not even a fucking button) that says "See All" in a small corner which I can click to see all my connections. Why the fuck do you a nav button on top called "My connection" then? FUCKING HELL MAN!5 -
Kudos to @trogus and @dfox for introducing the new refresh button on the nav bar instead of the odd position at the end of the comments.
It's looking awesome now.
Note: If the screenshot violates anyones privacy. Let me know. It is just a random screenshot16 -
Idk man. I can't be the only one that thinks the new iPhone looks stupid, can I? It's too glassy and glossy. It looks like a makeup case or something my sister would use to hold mascara.
And WTH is with the border-radius on that bottom menu bar? Like, either choose to make it a background strip like a normal nav menu or leave it out, but don't just give me more of that weird recta-bubble shit.8 -
Fixing someone else's code who left the job.
Production suddenly not working, cannot debug locally, cannot deploy to a test environment because it does not exists anymore.
There should be a contract clause that developer need to support his project for 2 years after he leaves his job.9 -
I've realised in most of my website development I've spent most of my time modifying the nav bar then developing other parts2
-
Nav bar is not placed at the top....
Spend an hour debugging. Finally....
Ctrl+a, Copy, paste into new file.
Save and overwrite old file.
Works.2 -
Applied to a Jr. Dev job and was hired as a Digital Marketer — I can deal with this, I’m AdWords & Analytics certified. What I can’t abide is that I spent the last year working my ass off learning to code and the person next to me with the Jr. Dev position only uses DIVI and has zero inclination to study, learn or write basic HTML & CSS—much less PHP. I’m not an expert by any means but I love programming, I love the problem solving, the challenges and the culture of it all. So far, and these are only two examples, I’ve shown him how to use the target attribute to open a page as a new tab, and how to register a nav in the functions.php file to create a menu but he is unwilling to even attempt it. Rather, he told me that I was too technical and that no one would be using code in this day and age.
For the record, I think DIVI is a cool platform, it’s clear that my boss knows nothing about code to be fair and I love my job— this is my only issue so far😂 I just needed to rant.5 -
Haven't used dR for long so Idk how many people have already ranted about this...but here goes nothing.
ANDROID 10 NAVIGATIONS
Fucking irritating piece of shit !!!
Ughhh!
I can get understand the swipey swipe for back etc. But the "swipe up + hold " for recent apps just makes me cringe !!!!!
Ok, Some how you manage to open the recent apps by precisely fingering your phone.
You gotta go back to home screen from recents ??
Open a recent app then swipe up for home.
Two fucking gestures to go back to home screen !
Or click the close all apps button for home screen.
This is non sense.
Pls enlighten me if I am missing something.
I want the two button navigation back 😭13 -
Trying to develop an application to post rants about boss with a colleague for over a year. Today, found DevRant while finding a solution to build error. Don't know if I should bother with our application now. FML!2
-
Why has Google implemented those stupid menu bar buttons across the bottom of their apps. Isn't the YouTube app over jammed already. With most android phones using on screen buttons, you have to reach your thumb over the bezel, nav buttons and menu bar just to make a scroll motion for your content. I've sent Google feedback multiple times to of course (typical Google) to no avail. Let iOS have lower third menu buttons. We don't all have an S8, which as I see it is the only way this is alleviated.14
-
Been stuck with a fucking 13mbit internet connection shared between three people for the past seven years. Lived cheap in a nice location, so it was worth it, still frustrating af. Finally moved, new city, new place, new internet. Currently sitting on 300mbit at home. Downloaded update for car nav, 25gb, took about 15 minutes, where it would previously have taken all day. Feels fucking good man.6
-
So, on an old version of my website, I was working with favicons. Once I finished I tried to save but forgot the Ctrl key. It took me a few months to find out why there was a gap in between the top of the page and the nav bar.
-
my teacher genuinely asked the class, which one is better GUI or CLI? everyone said GUI except me, he asked why? (the reason he was expecting from me was something different) i said, "CLI differentiate us from those who just click and realise that how simple is this to operate and why are we being heavily paid?"1
-
This website design PSD is bullshit. If I hide the group of layers labeled "Nav" half of the page disappears.6
-
If writing caption for your Instagram picture is an art, then what is commit messages for your GitHub repositories.5
-
Someone thought it would be good to have 0 as a default for year. I thought that was worst until I found another place where some else assigned -9999 as default.2
-
Big shoutout to @king; just took a look at your website and frameworks; i like. I'll be using that CSS framework of yours in the near future
And i saw a little error on its page. You have a paragraph pertaining to the nav under the cards example. Just letting ya know7 -
Worst meeting:
Trying to decide which front end JavaScript framework to use.
Debated about Knockout, Angular, React, etc.
Decision: Too fat frameworks, DIY using jQuery. I wonder how big and unstable is our DIY framework. Is it even a framework? Just few organically written script files.6 -
Another gem from the cunt I used to call my senior.
.nav-tabs > li > a, .nav-tabs > li > a, .nav-tabs > li > a { font-size: 7pt !important; line-height: 30px !important; font-weight: normal !important; }
.nav-tabs > li > a, .nav-tabs > li > a, .nav-tabs > li > a { font-size: 6pt !important; }
.nav-tabs > li > a, .nav-tabs > li > a, .nav-tabs > li > a { font-size: 7pt !important; }
These are all on the same level (not in media queries) and only a couple of other lines of css between them.
I swear this jackass just wanted to watch the world burn.5 -
I get that I'm new with this programming stuff. Yet why is it I feel I'm fighting the UI of Android than actually programming. Why is it so damn hard to display something in a nav draw. Really depressing when I can't get the damn ui to work to make the click events. Fine I got the damn menu to show. F**k if I can get the child's to show up to continue on the f**king project. F**k me with a cactus.2
-
So we released to production today (Friday), not my decision.
All pages work fine expect for the one page which I added a new feature.
It worked fine in Chrome and Edge. But after release a customer who requested the feature said it doesn't work for him. Screenshot showed he was using IE.
Horror time.. it was evident that it has to be the changes to the JavaScript I did, but why does the whole page doesn't work.
So I started debugging. Nothing works on that page in IE11, it doesn't even load the fucking script file. Then I dared to change mode to IE10, it actually gave me an error in my script file. The bad IE has actually picked a mistake that other browsers didn't.
So, the mistake is fun part too.
I had the following jQuery (or Jake Weary) call
$.getJSON(
'/url',
{
argA: a, argB, b, argC:c
},
function (){
// did something
}
);
In second argument, I accidentally typed comma instead of colon. Chrome and Edge ran the script perfectly passing all the arguments.IE 11 failed to load script without giving any error and only IE 10 gave an error of expecting a colon.
I do not know which browser to blame.
PS I didn't try in Firefox, safari, etc.2 -
We had a project with a web app and an Android app. We split it out, he took the web and I was working on Android. He was very curious to do the project with me and very motivated at the beginning. We agreed on our first module that was user authentication. After some time when I told him that first module of app is ready and asked him on his progress, (When ever we had a talk he pretend like every thing is going fluently, though I continously told him ask for help if needed ) he opened a folder in vs code containing two files "index.html" and "style.css" and showed me the "login & sign up" design he was doing for days. I have no option but to appreciate his work. On that day I created new folder on my machine "web application" and started working.3
-
I use spaces instead of tabs. Working beside me, my mates were irritated of that beautiful sound(they called it noise) from my keyboard.4
-
!rant
When did you guys join devRant?
I can't believe in just 6 months, it's important part of my daily life and the community has grown so much.
I joined on 6/23/20165 -
DBA tells us 2 weeks in advance about database upgrade, but we developers forgot as manager insists in managing tasks via emails.
Monday morning brings the news that our web app isn't functioning properly. DBA responded saying he informed us in advance.
Manager blames it on the DBA that he informed us too much in advance.
I can take my share of blame but why the poor DBA for doing his job.1 -
Manager asked me to create a spreadsheet showing tasks in a project with percentage complete to send to client.
Sounds easy, even though I prefer JIRA, I created spreadsheet with all tasks and asked each developer responsible to fill in percentage done.
But I did it completely wrong. I have to give estimate for how long it took for each task and make sure total complete is 70 percent and number of days add up to 10. WTF guess the estimate to match the total. And this is how you teach me project management.
Did I mention that all this is happening after most of the project is done?1 -
Performance review
What do you want to achieve in the next 12 months and the company will try to help you achieve that?
You are already helping, I am looking at getting popular on devrant.2 -
Seriously is kivy just lacking documentation on purpose.
You want a tutorial will just look at these apps other people have made I'm sure that will help.
No looking at some game code doesn't give me any ideas on how to create a basic form or a nav drawer.
Seriously are we supposed to fucking guess?
At this point it would be easier to write a gui framework than learn kivy.5 -
Notification icon suddenly starts showing that I have notifications to see, even though there are none. And it is same number of notifications that I had when I woke up this morning.
I'm using iOS.8 -
"When the browser is exactly these obscure midrange dimensions on this one page the side-bar nav just freaks out. fix it." -QA Lead
Love this type of problem first thing in the morning.
#NeedMoreCoffee3 -
Microsoft Dynamics NAVision DB Backend - 22000+ Columns of pure cancer. 7 booleans for determining what day it is... fuck off...4
-
So we used to build these awful "promotion" pages for a leading manufacturer in the area. Because the website was old as dirt, there was no CMS and everything was static html using Coldfusion for a few include files like for the nav and such.
Every year we would get a new project to tweak the promotion details a little, and change the year from 2011 to 2012, etc.
My predecessor put the digit "1" in an HTML file called year.html, then included it like:
"valid from January 1 though December 31, 201<cfinclude template="year.html">..."
Why? Just why? And if you're going to use include files, for Pete's sake at least use the proper .cfm file extension!1 -
Any NODE-JS.pdf available to learn a bit deeper.
Links would be great.
Names, if you've downloaded before.
Thanks in advance.12 -
Goddamnit, I've been rumaging around a CMS -generated site (not wordpress) for a friend in devtools.(to suggest improvements) I don't have much experience with CMS, but why is there so much fucking useless nested markup everywhere that has to go down the line. A simple paragraph has at least 6x nesting, a nav is "centered" by having a millionenty billionety divs on each side, there was even a span element for a single character inside a <p>.
What a fucking mess.5 -
So GitHub's "Repository Refresh" layout is live now and they haven't fixed the damn .repohead (with the repo name and the links to Issues, Pull Requests, etc.) stretchting across the entire screen instead of being constrained to the middle column :/
If it annoys you just as much as it does me, just wack this CSS into a user css extensions and it's fixed:
.repohead .d-flex:first-of-type {
max-width: 1280px !important;
margin-left: auto !important;
margin-right: auto !important;
}
.repohead nav.js-repo-nav {
max-width: 1280px !important;
margin-left: auto !important;
margin-right: auto !important;
}
.repohead .UnderlineNav {
/* Remove repohead bottom divider */
box-shadow: none;
background-color: transparent !important;
}
.repohead {
/* Add repohead bottom divider to repohead so it stretches across the entire screen */
box-shadow: inset 0 -1px 0 #e1e4e8;
}9 -
It's CSS quick maffs time! Consider the following code:
<div class='container flex'>
<nav class='menu flex'>
<a href='#'>Menu item 1</a>
(arbitrary amount of links)
</nav>
<button type='button'>Sign in</button>
</div>
You want the layout to look like a horizontally scrolling, single line menu with a Sign in button to the right. Both container and menu are flex containers. So, here's the code for the menu:
.menu {
overflow: auto;
}
The problem is, as there is no flex-wrap, menu will not be wrapped, and it will occupy all the space it's needed to accommodate all the elements, breaking its container. Pesky horizontal scroll appears on the whole body.
Boubas will set menu's width to some fixed value like 800px, and this is a bouba approach because bye-bye responsiveness.
Here's what you should do:
.menu {
overflow: auto;
min-width: 0;
}
.menu * {
flex-shrink: 0;
}
This way, menu will occupy exactly the width of an empty div. In flexbox, its width will be equal to all free space that is not occupied by the Sign in button. Setting flex-shrink is needed for items to preserve their original width. We don't care about making those items narrower on narrower screens, because we now have infinite amount of horizontal real estate. Pure, inherent responsiveness achieved without filthy media queries, yay!
The menu will scroll horizontally just like you wanted.
aight bye14 -
Hello coders!
I'm a student expected to graduate in about two months.
I (Allhamdolillah) already have an offer for a job in a company with good repo; they usually work in web (python technologies)
As of now, I'm doing an internship at a totally new company (separated from a famous company too but not very famous itself) as an ERP technical consultant (internee). They also have put forward a job offer.
I am hell confused to decide one.
I joined it coz I was curious about ERP. But their offer is a lot less then the other one.
I have decided two pathways.
1) Python web > Cloud > Data Sciences
2) ERP (either NAV or AX)
Any suggestions from the experienced? What should I prefer? A good company? A good package? Take risk?
Things that might help you guys to help me:
I like python a lot, it was my best selling gig on fiverr. But (apparently with no practical knowledge) I'm not much excited about web as of now.
ERP is a gooood field I know that.
It's fun sometimes irritating though.
Though sometimes I feel like I will get stuck in that field...
I have a strong technical background and have won many programming competitions(university level/national level/even stood runnner up, 2 times in ICPC regionals).3 -
!rant
Our office is going to have a planned power outage. An outdoor generator hire and installation doesn't seem possible because of location.
We need to keep our servers running with aircons to keep them cool. We're out of ideas unless someone here can suggest something.4 -
So i have learn android studio course (kotlin) for the basic.I've been practicing for some things, like recyclerview, ViewModel, bottomsheet, fragment, nav view,Firebase auth, intent and some other basic stuff.right now I'm confused what to do next, if it continues I don't know what to learn next, I know there's still a lot of things to learn, it's just that I don't know what it is, I'm trying to find out what apps a beginner should make like me, but most of the suggestions are still far from my abilities, such as making a calculator. So can you give a little advice to beginners like me, thanks6
-
!rant
I'm dreaming of a web language that is as close to the English language as possible.
Imagine:
<html>
nav bar with 5 links
slider with 3 images that runs automatically
Section with 3 images next to each other
Paragraph with first word in red
Footer with menu and sign up form
</html>
This would be the shit!6 -
Having issues with senior manager.
Not able to showcase my full potential due to the way company works.
Not getting paid for what I am worth.
But I still get my work done. Because none of these can kill my passion to code. Nothing brings more excitement than deadlines.
Happiness is creating stuff.3 -
Hii,
I want to use HTML5 History API.
I'm using ajax to fetch whole page (Yes Whole page)
Then I'm searching a particular TAG and replace whole html code in container.
I'm feeling that I'm doing it so wrong.
Can anybody tell me best use of HTML5 History API.
This update data in page without reloading page, but I think this does not make any sense.
This is an Example of my Code, You'll get Idea:
$('body').on('click','a.ajax-nav-link',function(e) {
e.preventDefault();
//call ajax method, show data and update url via html5 history api :)
if (isHistorySupport) {
//fetch url associated with a tag
let url = $(this).attr("href");
let title = $(this).attr("data-title");
fetchPage(url);
$(".ajax-nav-link").removeClass("active");
$(this).addClass("active");
return false;
}else {
alert("Not Available");
}
});5 -
{TL:DR/ a super non web dev non frontend non interested person aka me somehow cracked the interview(through wrong practices i guess) landed into an internship that would have gone to a better person.I cracked the interview but am shit scared if i could stand the job}
- So 3 days ago i was talking to my friend regarding random stuff, when he told about needing a front end dev for making static template based html pages for their company.
- (I haven't ever worked in deep with web dev, just generated a few websites using mardown to html convertors, and was recently trying to learn flask/bootstrap/js) I was in need of some work so immediately requested him to talk about me in their company.
- yesterday i get an interview call from the hr of that company . She ask what i know, what they want and if i could do. I honestly tell them about my experience with web dev( with some maybe's)
- moments later , she adds me to a group with another guy, and gives us both a task to use create a clone of same website in 2 days.
- The website is a super graphically designed web page with lots of animations, custom mouses and what not. I could sense the basic elements out of it , like the nav bar and the carousals, but those animations were way beyond my knowledge. yet i start working on it
- I try with taking the clever top down approach of cloning the website and fixing its structure. It has such long code files of 10k+ lines, but i was still able to clean the css and html files and some of js code to make the website work
- later my friend calls and tells me that the other guy is a 1st year student / his brother and he doesn't know much stuff so he's kinda like me.
- He shows me a video of his code that he sent to him. That guy took the honest, bottom up approach, used the design as inspiration and was trying hard to create the similar design and animations via js.
- among other things, he also tells me that this challenge is super difficult and the level of difficulty in the work is certainly going to be lesser than this.
- In my task, I was super stuck at js because i haven't learned it much, therefore after spending 1.5 days, i made a submission without the main thing, i.e one particular carousal working
- later I get a call from another friend (B) of mine and while discussing random things, i show him my code over anydesk and ask him if he could somehow get my code to work. He asks for some time and sends me a complete refactored version of code with the same design but fully working carousal and other stuff.
- meanwhile i get to see the other guy's code and he had legit made all the designs and functions by himself, but his code looked less polished and different from the design.
- I pushed my friend(B)'s refactored version and added a comment on the group the carousal in mu code is now working.
- later at night my friend1 calls and tells me that their company was considering my submission and i would be getting the selection call
- I feel like a crazy fraud who somehow cracked the interview but is going to get his ass whipped. Where and how can i learn js, and jquery?5 -
!rant: Does anyone here work as a Microsoft Dynamics NAV developer of consultant? Or used to? I would really much like hear a little about what it involves on a daily basis, before jumping straight in...
Or if you work with ERP, CRM or BI in general I'd like a word with you. 😀 -
I started looking into building my Android app but wanted to see if I could get a refresher on a few things. The starter template for the Nav Layout isn't exactly functional.
So first question is anyone know any resources like an actually functioning demo project.
Also I need DB access but want to open any db file given the *.db path and the DAO should be persistent, share across all fragments/activities. What would be the best design, way of doing that in Android though.
I don't think you can pass the object between activities but what about fragments. I'm thinking the main app opens the DB and then can pass a DAO Interface to all the fragments to use?2 -
Lol. Of all the dev social media, like Dev.to, Hashnode, stack overflow etc .. I find that the most help I get is RIGHT FUCKING HERE BABY. So I'm at it again, asking for help in the form of a question. I'm still looking to get a frontend job. My question is, is a short and sweet e-commerce website, mostly showcasing the ability to code a design, so not fully functional but has great JavaScript and React features in it, like mobile responsiveness, slide nav, item filter, sale price, add to cart animation, pagination, etc..a good resume project that can get you hired? I'm having a hard time finding which if my projects are good, or embarrassing to recruiters.8
-
I found the weirdest UI bug.
I have a side nav bar, that opens on button click. The way it is implemented: a navbar, that is positioned a lot to the left (120% of it's width). On click, it transitions to 0%.
When I zoom in very close without the sidebar opened on an image, some text from the sidebar is visible.
Pretty weird..1 -
Asp.Net MVC core
Me: this is really cool scaffolding out models.
1hr later: This really sucks have to bind models
1hr later. This is awesome only one nav bar to worry about.
1hr later this is total shit controller inside controller.
1 hr later wow I love MVC
Anybody can relate++
Feel like I'm loosing my mind. -
When creating a nav bar, u float the list items to left. This collapses the border. I can see this as the border does not cover the whole container but shows up as just a line. Why does this happen and how to solve this?2
-
huge unused space when nav-items collapsed, how do i change breakpoint for this
https://i.imgur.com/ZhD2ufh.gif1 -
Low on money? Need a new phone?
Then install Facebook messenger, use the maps for sat-nav whilst charging it, and blow your battery to make your insurance claim now.... -
𝐇𝐞𝐥𝐩 𝐦𝐞 𝐬𝐭𝐲𝐥𝐞 𝐦𝐲 𝐍𝐚𝐯𝐢𝐠𝐚𝐭𝐢𝐨𝐧 𝐛𝐚𝐫, 𝐢 𝐧𝐞𝐞𝐝 𝐚𝐝𝐝 𝐦𝐨𝐫𝐞 𝐩𝐫𝐨𝐩𝐞𝐫𝐭𝐢𝐞𝐬, 𝐭𝐨 𝐦𝐚𝐤𝐞 𝐢𝐭 𝐞𝐧𝐣𝐨𝐲𝐛𝐥𝐞 𝐭𝐨 𝐮𝐬𝐞𝐫𝐬🙏
<nav>
<ul>
<li><a class="active" href="#">Home</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Blog</a></li>
<li><a href="#">Services</a></li>
<li><a href="#">Feedback</a></li>
</ul>
</nav>7