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 - "bar"
-
dfox: "Let me make life easier for them. Introducing tab bar!"
users: "tab bar is hard to reach on top. please move it to the bottom"
dfox: "But you never complained when the hamburger was at the top-left corner. nvm I'll do it"
users: "ugh, where is the material design. Move the tab bar to the top. Make it scrollable"
dfox: "sudo rm -rf /users"20 -
An SEO expert walks into a bar, bars, beer garden, lounge, pub, tavern, night club, mini bar, drinks.5
-
A variable walks into a bar. Constant bartender: "We don't serve your kind here!"
Variable: "What kind?"
Constant: "You know, sluts!"7 -
Here's a funny joke
A man walks into a bar and asks for a beer. The bartender says "okay but only if you tell me a meta joke". So the man says a man walks into a bar and asks for a beer. The bartender says "okay but only if you tell me a meta joke". So the man says man walks into a bar and asks for a beer. The bartender gives him a beer. The bartender gives him a beer. The bartender gives him a beer.7 -
What is the point of having a progress bar if ..
beginning
0 %
after ~2hrs
0%
next minute:
~~~~~~~~~~~~~~ 100 %
installation complete
??6 -
I did a simple bar graph to show the status of a db migration. Each bar is a computer with a db file. As I was bored waiting, I added a King Kong hanging from the longest bar.8
-
A Machine Learning algorithm walks into a bar.
The bartender asks, "What'll you have?"
The algorithm says, "What's everyone else having?"1 -
*opens new tab*
*types 'google' into URL bar*
...is navigated to google home page...
*proceeds to enter desired query into the same URL bar*5 -
When the green bar fills up... isn't that supposed to mean "complete"?
Why even have a progress bar if it's not tied to actual progress?
#justwindowsthings20 -
Anybody else here has a coworker who insists on having comments everywhere and writes code like this?
// Get foo
foo = getFoo();
// Check if foo is greater than bar
if (foo > bar)
Or is it just me?22 -
You know it's a bad day when you buy a snickers bar, and then accidentally throw away the bar but keep the wrapper....3
-
Ok, so I don't work yet and so I've never had to deal with any clients but based on the rants i have read this is how stupid I imagine most of them are.
Dev: Hey, would you like a chocolate bar?
Client: Yeah, sure.
Dev: here:
*hands chocolate bar over*
*client holds it in his hands, opens it and eats it*
Client: Tastes great
Dev: Ok, nice. So about the payment of the project...
*Clients face is swollen and he falls to the ground*
Dev: uhh, what are you doing?
Client *coughing*: Were.. were there nuts in the chocolate bar?
Dev: uhmm, yes. didn't you look at it?
Client: why didn't you tell me??!?!?!? I am allergic to nuts!!
Dev: uhh, I didn't know that. But srsly, did you not look at the wrapping of the fucking chocolate bar??!
Client: I am going to sue you!! You will go to prison!
Dev: Fuck off *leaves the room*
Image of the chocolate bar:5 -
An SEO expert walks into a bar, bars, pub, inn, tavern, public house, Irish pub, drink, drinks, beer, alcohol...
-
!rant
Thinking about quitting my job and opening a bar named "foo" where the walls have a tapestry of random foo-bar code examples. (Easy conversation starter for programmers)8 -
So I’m working on an app with a friend who is designing it and I spent a week building a custom segment control as a menu bar. He said that it looked nice but he got inspiration to make a tab bar instead 😑
Cheers to the dev life2 -
An SEO expert walks into a bar, bars, pub, tavern, public house, Irish pub, drinks, beer, alcohol.1
-
3 SQL Databases went into a NoSQL Bar.
After a while, they walked out because
.
.
They couldn't find tables there.5 -
So I went out to a country bar with some friends to dance... and my friend told some random dude I was a developer for some reason and he approached me with his grand idea for an app...😂4
-
Never did I realize how much I take it for granted.. Until it suddenly stopped working.
R.I.P space bar.4 -
Mind blown! Microsoft invented the concept of touch bar way before apple. oO
https://youtu.be/OSFlvml0Sso
Surprises me how everybody is saying apple invented it.13 -
Professional deformation is when you accidentally type "node" instead of "Netflix" in the browser's address bar. And don't get disappointed.1
-
“Never,never, never, NEVER eat raw userinput“
Referring to stuff like “insert into foo (bar) values ($_POST[username])“2 -
I'm planning on making a band called Bar Fighters and will play songs like Integer Or Long, The Renderer, Test of U nit, Learn to Try ( catch )5
-
Bug Rant: Open Google app(android), type this on search bar 'send a message to barack obama'.
You're welcome13 -
My work just gave me a new MacBook Pro with the Touch Bar. Dear Apples, I can’t even!!!!
What a piece is shit! I can’t charge my phone, plug in my monitor or my mouse without a freakin dongle! Worse of all, I can’t feel the keys to reduce volume, I always have to look does at the Touch Bar, tap twice to reduce the volume. How inefficient!
FU Apple! FU!7 -
A man walks into a bar and asks for a beer. The bartender says "okay but only if you tell me a meta joke". So the man says a man walks into a bar and asks for a beer. The bartender says "okay but only if you tell me a meta joke". So the man says a man walks into a bar and asks for a beer. The bartender gives him a beer. The bartender gives him a beer. The bartender gives him a beer.2
-
You know the UI/UX is bad when you have all kinds of navigation controls in your app
- Side menu
- Navigation bar with 4 bar buttons
- Tab bar buttons
- Floating menu button on the lower right2 -
I love to work in pubs/bars, this special kind of noisy environment works so well for me. I even go "into the zone".
Lets talk about this. Is anyone else the same? Just curious.
These are my 6 reasons:
0) Beer. 🍺
1) None of the activity in a bar actually interests to me, if you know what I mean. In my house, every single noise/movement will get my attention.
2) After some time all the noise blends into a kind of "homogeneous hearing blurb". Like a mantra. Maybe there are even white/pink/brown noise benefits (guess).
3) I go to places where I enjoy the music and atmosphere.
4) I like bars and pubs anyways. I feel good in these places.
5) Beer. 🍺7 -
Huh. ES6's variable destructuting on objects is actually pretty cool.
var {foo, bar, baz} = obj
Is functionally equivalent to this:
var foo = obj.foo
var bar = obj.bar
var baz = obj.baz
I like it! Makes things simpler.3 -
This is quite interesting and one hell of a find by this guy... Google (and other browser vendors) should reward him:
https://jameshfisher.com/2019/04/...3 -
>today, we - junior .Net programmers - have a teambuilding event
>after it we will go to the bar (with our boss)
>the bar is pet friendly
>I need to walk my dog
>he is young, probably west siberian laika mix plus a resque dog, therefore every evening I spend 3 hours working with him
>my boss implies I should not bring him to the pet friendly bar.
>my boss wants me to walk my dog only for an half an hour max and return to the bar without it.
>I guess I won't be even going to the bar, couse my dog is more important to me
>ffs12 -
Apple macbook engineering department hard at work:
1) Some app freezes
2) Then the Touch-bar freezes
3) I hit cmd+alt+esc to force close it
4) Touch bar is frozen so esc won’t work
5) *confused noises*8 -
A programmer walks into a bar. He has a concussion because you were using namespace std and didn't scope to building.13
-
Did you know:
If you put illuminati backwards in a URL bar, followed by .com, it will take you to NSA.gov?4 -
sends me a "screencap.avi" on slack. I download and open it, and it's a video of an IE bug where the width of the scroll bar itself takes up just enough that the content gets enough height to trigger a scroll bar to appear, so the whole page keeps twitching because the scroll bar keeps appearing and disappearing every second. LMAO FML FUCK IE7
-
I hate YouTube videos that are like "putting a bar of soap in liquid nitrogen" and it's 23 fucking minutes long.5
-
I swear to god you'll never feel more epic while coding than when you listen to the dovahkiin song.3
-
A programmer walks into a bar. He says "I'll have 0x01 root beers".
The bartender pours him a root beer.
Another programmer walks into a bar. He says "I'll have 1.0f root beers".
The bartender pours the second programmer a root beer float. -
Your choice. Select one
1.
foo (bar) {
return true;
}
2.
foo (bar)
{
return true;
}
3.
foo (bar) { return true; }
4.
foo (bar)
return true;
5. Collapse
|-------------------|
| foo (bar) ... |
|-------------------|
6.
#define foo boo
#define bar par
#define ( `
#define ) '
#define return go_home
#define true false
#define { ☞
#define } ☜
6-1.
boo `par' ☞
go_home false;
☜
6-2
boo `par'
☞
go_home false;
☜
6-3.
boo `par' ☞ go_home false; ☜
6-4.
boo `par'
go_home false;
6-5.
|--------------------|
| boo (par) ... |
|--------------------|
Select and Comment below.
Or add your own.27 -
Boss: I want feature foo!
Me: that will be a bit tricky because bar...
Boss: It's easy, you just baz!
Me: ok boss :) *hax around bar*4 -
Have IR in your smartphone? You must try this.
Go to the nearest bar or a place where there is a TV show/match going on. Turn the TV off and run :D. (Order pasta run fasta)8 -
Java: String foo =“bar”;
C#: var foo = “bar”;
Go: var foo string = “bar”
I just started learning Go and I’ve been cringing since.19 -
Opening Google Chrome
In the omnibox(address bar) typing www.google.com
Waits for the page to load.
Enters the search query.2 -
A SEO copywriter walks into a bar, liquor store, pub, bartender, drinks, beer, wine, vodka, sixpack,...
credits: it-talents.de4 -
Who remembers winamp? Well... We still use it in our bar once a year
Backstory: I help to organize a small openair festival once a year and to finance that we run (amongst other things) a bar once a year.
Music is still supplied by good old winamp! The nostalgia is strong.3 -
I almost got caught by this during an interview:
const foo = ['a', 'b'];
const bar = foo.findIndex(x => x === 'a'); // 0
if (bar) { // I'm an idiot
console.log('Do something');
}
🤦♂️23 -
@dfox
You put that little horizontal scroll bar or you seriously wanted to troll us?
Thinking it's a side bar, I tried literally 5-6 times and then I gave up.8 -
*minimises the IDE and goes to MS Word for documentation...
Typing... typing... Ctrl+Space bar for IntelliSense “oh shit”...Typing...5 -
If everyone on devrant was in a bar fight, what would they do?
I would run around and get killed...109 -
@dfox There is an app display problem with the Galaxy s8. The latest S8 software version got an option to hide the navigation bar. When removing the bar some space at the bottom remains.5
-
My project manager just had a project review at a bar because there was no space at the office. There are literally so many people at the office that we're out of chairs. And space. In a few days three more developers are scheduled to arrive. I don't know where we will put them.3
-
API Documentation: All API request should be made over https connections.
Me: Ok, (sees url bar), SECURE, good!
(sees curl code)
curl -X GET 'http://shittyapi.com/api/v2/users'
Me: (gasps) huh?
(heads to http://shittyapi.com/api/v2)
Me: Ok, (sees address bar) NOT SECURE
.
.
.
.
.
(long silence)5 -
Apple event was so underwhelming after seeing new MS products. I don't buy into that Touch Bar hype.
Still I'm gonna go for MB Pro w/o Touch Bar. It will be my new PC5 -
Being told code is "production ready" only to find this:
if name == 'foo' or name == 'bar' or name == 'someothershit'
What's wrong with:
if name in ['foo','bar', 'someothershit']?
Oh and they had 10 different values they were matching, not just 3. What kind of joker am I dealing with?1 -
Setting the bar for the week pretty low, Monday morning bug involves downloading a copy of Safari for Windows.4
-
I can't believe I'm saying this... but I pressed 'command S' after typing something into the ol google bar... haha3
-
Metasyntactic variables, you use them, but do you know their origin?
This should be essential programmers knowledge:
https://ietf.org/rfc/rfc3092.txt/1 -
Can somebody please explain to my boss that using a progressive loading bar when you've got no metrics to base the progression on is stupid. Pls.3
-
The fuck? You can scroll to the top by touching the status bar?!
Why the fuck is this not common knowledge?22 -
These two strings walk into a bar and sit down. The bartender says, "So what'll it be?"
The first string says, "I think I'll have a beer quag fulk boorg jdk^CjfdLk jk3s d#f67howe%^U r89nvy owmc63^Dz x.xvcu"
"Please excuse my friend," the second string says, "He isn't null-terminated."1 -
A QA engineer walks into a bar.
Orders a bear. Orders 0 bears.
Orders 99999999999 bears.
Orders a lizard. Orders -1 bears.
Orders a ueicbksjdhd.
First real customer walks in
and asks where the bathroom
is. The bar bursts into flames,
killing everyone.3 -
In a gay bar. Pretty drunk.
It's funny how "I'm drunk and cannot be held responsible" doesn't seem to be terrifying2 -
!rant
Could anyone explain to me what the meaning of the size changing scrollbar is?
Does it show the ratio of window height over the height of the current rant or comment it the latter is longer than the window?3 -
- I do threat intel.
- Oh yeah? Name 4 critical vulnerabilities.
- Fortinet.
- That's on me, I set the bar too low.1 -
3 Database SQL walked into a NOSQL bar.
A little while later, they walked out...
Because they couldn't find a table.1 -
A recursive function walks into a bar and says to the bartender,”A recursive function walks into a bar and says to the bartender,”A recursive function walks into a bar and says to the bartender…..3
-
Did you notice that the scrollbar in the devrant (android) app changes size depending on the lenght/number of posts/comments you can see at the moment? Just scroll down in the posts list and see the scroll bar crawl like a caterpillar 😮1
-
All right, I switched to Visual Studio Code from Sublime Text 3 and I really like it so far. But I have spent an hour looking for a solution to hide this annoying tab bar. I have already disabled tabs but it still shows this bar with filename on it.12
-
QA engineer walks into a bar. Orders a beer. Orders 0 beers. Orders 999999999 beers. Orders a lizard. Orders -1 beers. Orders a sgfjajwds.1
-
The document.getElementbyId function . It is so long.
Aldo this probably poes not count but the export function does not accespt whitespace before and after the = sign
So instead of
export PATH = "$PATH:/foo/bar/baz"
You need to write
export PATH="$PATH:/foo/bar/baz"8 -
There's two types of people:
if ($foo == $bar) {
// Something...
}
AND
if($foo==$bar)
{
// Something...
}11 -
Tired of the same old boring progress bars in my applications, so I made this little gem to keep users busy during slow operations. Bonus: no more complaints about things taking too long. (personal high score is 119)4
-
Lady and gentlemen, windows explorer alphabetical sorting.
And don't get me started on the slow shitty search bar.15 -
!dev
I was so tired of work last week and weather was so good I ended up in a bar.
People were so nice there so I got there second day in a row.
I met new nice people and cute female bartender who laughed from my jokes.
Was to drunk and tried so much to make her laugh that l forgot to get her number.
Got there next day asked bartender for her shifts, turned out it was last day of her work, she moved out from city for at least a year. So I got drunk again, and so on 5 days in a row.
Well that’s my life. Lucky me... again.
Karma is so funny I can’t laugh for some time anymore. -
How about moving the floating + button to the top bar? There is enough space and it won't block anything @dfox3
-
Null-propagation operator and null coalesce all in one line makes me tingly.
return registryKey.GetValue("foo")?.ToString()??"bar"; -
so a colleague of mine, which is fresh out of Uni. as software engineer has no clue of what Foo and Bar stands for...7
-
Found a bug on dev iOS devRant app
It happens when you are switching between view controllers using the tab bar9 -
Been programming one language or another since the 90s. So I have been exposed to a lot of things and worked on a lot of different systems. However I have never heard of Fizz Buzz before. I heard it was something they use to test people's programming skills during an interview. I figured I better look it up in case I get asked this during an interview. Of course I found a nice explanation on wikipedia:
https://en.wikipedia.org/wiki/...
I was shocked. This is being used to test programmers for competency? This is so trivial a non programmer could write the pseudocode to solve this problem. Is the bar really this low?
I remember I didn't want to pay for the C programming class in college. So I bought a book on C++ and read it cover to cover and wrote a bit of code. I then tested out of the C course (didn't know C was much different than C++ then, I started with Pascal). I didn't do that great on the written test. However for the coding test I easily passed that. I formatted the text in nice rows and columns using the modulus operator. The instructor said: "I have never seen anybody make it look this nice." Then I was shocked because that is "just how you do it".
It just seems to me that if fizz buzz is hard, then this may not be the right field for you. Am I egotistical in that opinion? None of this programming stuff has ever been particularly difficult for me.2 -
Designer said to put app title below app bar on every screen. I suggested to put title on app bar. He said no. We released the app. Now he says, please could you change the titles to the app bar. What a waste of time.
-
!rant
I really like the Material Design guidelines that Google has released with Android 5.0, and maybe, @dfox, you could make the status bar match a darker tint of the app's color, as this color is also used on the recents menu and on my keyboard, and it really (IMO) makes an app stand out.
Thanks!9 -
try{
someObject.someAttribute = (int?) reader["columnName"];
}catch{
someObject.someAttribute = null;
}
Or, same coworker, another piece of code:
if(((int?)reader["foo"]).HasValue){
bar = (int?)reader["foo"];
}else{
bar = null;
} -
We had late night work... So our seniors thought of going out for drinks and asked us to join!!
We beeing the interns, bill was all on them ;)
Had fun...2 -
Just saw my teacher clicking 100 times on the arrow button under scroll bar to get to the end of a web page.
Aliens Confirmed -
Today was a shit day and I was in a bad mood. I now had to do a very annoyint thing for uni so I got a bar of chocolate and wanted to reward myself at certain milestones. The bar is half empty and I haven't even started yet.6
-
The getting started of react native sucks big time.
If you don't want to display a completely centered text then go fuck yourself or what?
I mean there isn't even a howto on platform-independently not overlapping the fucking status bar. Everyone must've faced this problem when starting, but the only answer is an 8 times upvoted answer on SO telling me to add a hardcoded padding. What.
Where did this whole thing come to..🙁
Back in the days books about c didn't even start with more than 4 lines of code on the 70th page.
And when you google things about it it feels like you doing something totally wrong but its like the first thing a normal dude would do, what if i don't want shit centered bro i feel so useless and dumb i friggin hate that shit just fucking tell me what the fucking fuck to do!😫
It bugs me so hard cus i didn't even know a View is able to stick out on top of the app it doesn't make no sense to me the whole world is breaking apart12 -
Fuck you Android ! Why the fuck does making my fucking status bar transparent has to be more difficult than launching a mars mission with a team of chimpanzees. I have been trying everything from xml styles to fucking java code but the status bar won't take the tint. Been at this fucking shit for 2 days3
-
Guess I'm getting old (school) outputting foo, bar and baz for testing purpose. Does anyone still using those too?5
-
I really want my dev team to ask me to go to happy hour so I can suggest meeting at Foo Bar. Though, that may be why no one's asked..3
-
Wired's ads to subscribe cover half the page and get annoying so I use the only super power I have to get rid of it.
Good bye "paywall-bar paywall-bar--visible"1 -
What's with this scroll bar? I like the changing size of the bar as it scrolls faster, is there a name for this type of scroll animation?12
-
I want to do one project in which using arduino uno and RFID reader to take attendance but for this I have to need 100 reader card which is costly. So I thought using bar code so I can print barcode on paper and no need any card. So does anyone idea where I can get bar code module for arduino uno.4
-
Gotta love Oculus dashboard for developers
Also, I tried uploading 5 screenshot all together, and the loading bar (you can see it in the screenshot) gives informations about the upload progress of the files. but since there are 5 different files, you get the loading bar going back and forth -
Just running a backup script that will take a while to complete and decided to create myself s nice progress bar, using pv.
Have just wasted 10 minutes starting at the said progress bar :( -
Using variables names like asd, qwe, a, x in demo/tests. But using "Foo, bar" before shoeing to anyone.1
-
There must be some Dev Council for Developers through out the world, just like we have Bar Council for Lawyers..1
-
So apparently the variable names foo and bar come from an old military term FUBAR which means f-ed up beyond all recognition.... Those OG UNIX guys hid their memes really well
-
F*ck you Microsoft for putting your useless browser over my IDE when i type "inte" in the quick access bar
-
Our #bigtech repo is like 19 billion LOC so how am I the first one to try to do simpleThing with obviouslyRelatedThing?
My search foo yields nothing and I fear its not supported yet.
fml4 -
Ok so, a pixelated-themed bar called "Bits and Bites", where all the furniture and appliances and clocks and stuff is pixelated (or, square, in some way).
Wdyt?12 -
Ok so I got namespace N.
And namespaces N\a and N\b.
I would like N\a\foo() to call N\b\bar().
But no matter what I do it says \N\b\bar() does not exist. What am I doing wrong??
I've tried including, using, requiring but nothing.8 -
We are launching a new product soon. The C-levels have decided to call it "Foo Bar" (fictive name).
Now all our products are called:
"Foo Desktop"
"Foo Mobile"
"Foo Bar"
Nearly all internal & external reports previously was that "Foo" has problems. We nearly never know if they are talking about the desktop app or mobile app. Soon we will not know for sure if they report a problem about "Bar", Desktop or Mobile.
All 3 applications uses a different tech stack with their unique problems :') -
Debugging buddy: stuffed php uniphant
Debugging drink: pipping hot tea
Debugging stick: chocolate bar1 -
package main
// go is very frustrating. in their efforts to keep the language simple, they've broken its consistency :(
// A A is just some arbitrary interface
type A interface {
Foo()
}
// B is an interface requiring a function that returns an A
type B interface {
Bar() A
}
// Aimpl implements A
type Aimpl struct{}
// Foo is Aimpl's implementation of A
func (a Aimpl) Foo() {}
// Bimpl attempts to implement B
type Bimpl struct{}
// Bar is Bimpl's attempt at implementing B.
// problem is, if Bar returns an Aimpl instead of A, the interface is not satisfied
// this is because Go doesn't support implicit upcasting on returns from interfaced objects.
// if we were to simply change the declared return type of Bar() to 'A', without changing
// the returned value, Bimpl will satisfy B.
func (b Bimpl) Bar() Aimpl {
return Aimpl{}
}
var _ B = Bimpl{}
func main() {
}2 -
Have them in a bar.
The important stuff the first 30 min.
Discussions that just needs to be aired until everyone is satisfied or bar closes. -
Colleague tells me that, in PHP, this is an unsafe selector.
$a = $some_array['foo']['bar'];
And that if ['bar'] has no value, $a will default to $some_array['foo']
Is this right?, because that doesn't seem right to me...9 -
Does anyone know of a site or something, where i can write boolean equation in their proper notations , like
(A+B)bar + Abar + (B + A.Bbar)bar+...
I dont even want it to solve for me, i just want to write equations without writing the word 'bar' or symbols like ~ for negation, just the actual bar or top , so that it look more understandable and beautiful16 -
Your branch and 'origin/foo/bar' have diverged,
and have 2 and 1 different commits each, respectively.
(use "git pull" to merge the remote branch into yours)
git pull
hint: You have divergent branches and need to specify how to reconcile them.
git merge origin foo/bar
Already up to date.5 -
In what case should i use graphQL? I assume in a search bar?
Should i even use graphQL or is that an outdated technology?
If not supposed to use it what is the efficient way to use the search bar on frontend to search through specific backend routes in the api?17 -
http://website.com?foo=bar&baz=bin039;m trying to map, for example, something like http://website.com?foo=bar&baz=bin to something like http://website.com/bar/bin. I'm pretty sure its doable but I'm having a terrible time getting it to work.3
-
I have a readonly object property foo on a typescript class. When I create an instance bar by calling the constructor, bar.foo doesn't compare equal to this.foo as seen from within bar several async calls later. What could I have possibly fucked up?4
-
Ux/ui I like scroll bars and think they are useful in mobile. But it appears the standard not to display it these days? Opinions?4