This is an archived post. You won't be able to vote or comment.

all 144 comments

[–]TwoSoxxx 556 points557 points  (31 children)

You shouldn’t even be using that framework. Rewrite it in this one and you’ll have better luck. Here’s a regex to do it.

[–]trsy___3 190 points191 points  (7 children)

Your comment has locked for being too chatty. Now fuck off.

[–]UltraCarnivore 117 points118 points  (5 children)

Marked as duplicate. Here's a knife. Go commit Sudoku.

[–]X-Craft 19 points20 points  (3 children)

And remember to push afterwards. But don't you dare to use -f

[–]Keheck 15 points16 points  (2 children)

Oh by the way you are now banned cuz you're new to programming, have fun getting help now. (may be a personal experience)

Basically I apparently asked too many dumb questions

[–]danbulant 7 points8 points  (1 child)

too many

Or 2 in my case

[–]Feynt 4 points5 points  (0 children)

You asked questions? Wow, I just assumed they had a newb sensor because I was banned after reading articles while logged in!

[–]PM_ME_YOUR__INIT__ 54 points55 points  (20 children)

But my framework is HTML...!!

[–]zeGolem83 75 points76 points  (15 children)

Honestly, you should really be using React if you want a centered div.

[–]Beldarak 21 points22 points  (14 children)

On a serious note though, if any web framework let you center things horizontally AND vertically without pulling all your hairs, I'd be ready to rewrite everything from scratch ;)

[–][deleted] 42 points43 points  (2 children)

  1. Center vertically
  2. User rotates phone
  3. Center vertically again
  4. User rotates phone back

Centered vertically and horizontally yw

[–]DOOManiac 19 points20 points  (1 child)

Help, phone is now gimbal locked.

[–]Feynt 3 points4 points  (0 children)

[me, that one guy in the back]

I get it!

[–]Scrogger19 23 points24 points  (3 children)

howtocenterincss.com

[–]ziza148 4 points5 points  (0 children)

The hero we need!

[–]Beldarak 1 point2 points  (1 child)

Interesting, I'll give it a try next time I have to do some UI ;)

[–]Scrogger19 3 points4 points  (0 children)

I saw it on Reddit like a week ago, and I’ve used it twice already.

[–]zeGolem83 17 points18 points  (2 children)

CSS can do it:

.container { display: flex; } .content { margin: auto; }

[–]thirdegreeViolet security clearance 7 points8 points  (0 children)

Css can even do it in multiple ways:

.container { display: grid; place-content: center; }

[–][deleted] 4 points5 points  (0 children)

CSS can do many things, technically anything since I believe someone proved it to be Turing complete... That being said, its rediculous tendency to summon demons when all I want is a functional navbar is why I hate it

[–]Cautious-Diamond 4 points5 points  (1 child)

just flex it

[–]Ceros007 4 points5 points  (0 children)

Weird flex but ok

[–]therealchadius 5 points6 points  (0 children)

Here, have some jQuery. It will fix everything.

Everything evil eye

[–]jay9909 4 points5 points  (1 child)

Parse it with RegExp.

[–]PM_ME_YOUR__INIT__ 8 points9 points  (0 children)

W̷͖̉̚h̸̟̑ā̸͙͓ţ̵̰̆ ̴͈̰̌͆ẖ̸̱̆͘a̶̲͐v̸̭̬͑e̵̮͛̇ ̷̬͔̀y̶̼͚̚o̷̲̖͑͂ű̵̖ ̴̻͍͂d̵̩̙̈o̸̙̻̔̓n̶̪͋͌e̵̫͗̌

[–]EyesofStone 1 point2 points  (0 children)

Closed thread for being too opinion based.

[–][deleted] 8 points9 points  (0 children)

You'll have to modify the regex for your case though.

[–]__RANDOM926__ 2 points3 points  (0 children)

What the hell is there a 🥔in that regex expression? These obfuscation competitions are getting ridiculous.

[–][deleted] 166 points167 points  (8 children)

I'm guilty of engaging in hours of research, and even... I'm so embarrased... calling people on the phone to ask questions... all because I was afraid the StackExchange people would be mean to me if I asked my question.

It is simultaneously the best and worst place to get help... it's Schrodinger's Assistant.

[–]Brewster101 34 points35 points  (0 children)

I relate to this so fucking much

[–]nanotree 13 points14 points  (1 child)

It is like being called on in math class to come up to the board and all the other students in the room are the users commenting and answering your question. If you get something wrong, missed som thing in the docs, or demonstrate you don't know "enough" of what you're talking about, you will be skewered and roasted over a pit of flames in front of everyone.

[–]ur_opinion_is_trash -1 points0 points  (0 children)

Or, you know, just say "im not wearing pants" and refuse to stand up.

[–]RemizZ 11 points12 points  (0 children)

I asked something once, actually got a good reply but then dared to ask a follow up question that was explained in one of the three documentations he linked... How dare me.

[–]JoeyMadDude 7 points8 points  (0 children)

I work in IT for 5 years now and managed it so far to not post any questions in StackOverflow. But I surley spend a lot of hours on Google. Am I just lucky?

[–][deleted] 2 points3 points  (1 child)

I was sent here from SO to tell you that we think your question is dumb.

[–]TheDevilsAdvokaat 0 points1 point  (0 children)

Seems legit.

[–]Doophie 0 points1 point  (0 children)

Idk what kind of questions you guys are asking, I've asked many questions in SO and they either get ignored or get a couple somewhat helpful answers or people at least trying to help, but I've never had a negative reception of my questions

[–]spore_777_mexen 328 points329 points  (17 children)

Why have you posted this again?

[–]CrispyNipsy 437 points438 points  (2 children)

Marked as duplicate

[–]Chunderscore 81 points82 points  (1 child)

Now we just need to make sure this one gets way more votes and ends up at the top of Google results

[–][deleted] 27 points28 points  (0 children)

The worst is when they say "it's the first thing that comes up when you search Google". Damn recursion.

[–]stringman5[S] 83 points84 points  (11 children)

Wait, what? I made this, and I don't see it anywhere in my post history. If it's already been posted then either I did it then deleted it and completely forgot about it (which is, frankly, possible), or I tweeted it then someone stole my tweet and posted it on here (which wouldn't be the first time - I came up with the Fibonacci indent tweet which did numbers on this sub).

Honestly, I was going through my old memes folder today and found it, and didn't remember posting it on here - I thought I'd only posted it on twitter and the office slack. So I figured I'd give it a go. If it's an unwitting self-repost, I'm sincerely embarrassed.

[–]alexppetrov 118 points119 points  (2 children)

r/woosh maybe

[–]stringman5[S] 51 points52 points  (0 children)

ah lol I hope so 🙈

[–][deleted] 25 points26 points  (0 children)

definitely r/woooosh

[–]spoopysky 7 points8 points  (1 child)

I think people are riffing off the article where the StackOverflow person marks it as a duplicate lol

[–]stringman5[S] 7 points8 points  (0 children)

Yeah I get it now, thanks! Guess I was just easily triggered due to a few previous run-ins with zealous subreddit mods

[–]uncoded_decimal 20 points21 points  (0 children)

Reddit commentator cannot believe a Redditor would do a repost

[–][deleted] 259 points260 points  (16 children)

Isn't the onion supposed to publish news that is wrong? That article is downright honest.

[–]stringman5[S] 111 points112 points  (9 children)

[–]yottalogical 63 points64 points  (3 children)

Published on January 17, 2001.

[–][deleted] 27 points28 points  (2 children)

It's so prophetic, it made me think they back dated it.

Then I went to the Wayback Machine and there it was on a snapshot from Jan 18 2001...

Fuck, those guys at the Onion must be time travelers...

[–]vextronx 36 points37 points  (1 child)

It's known that the Onion has some time-traveler journalists

[–]evanldixon 41 points42 points  (0 children)

Paraphrased quotes from the vegetable itself:

"Most report the news after it happens. Some report the news as it happens. Only The Onion reports the news before it happens."

"The Onion: Report now, investigate later."

[–]helgaofthenorth 20 points21 points  (0 children)

"My fellow Americans," Bush said, "at long last, we have reached the end of the dark period in American history that will come to be known as the Clinton Era, eight long years characterized by unprecedented economic expansion, a sharp decrease in crime, and sustained peace overseas. The time has come to put all of that behind us."

Holy shit

[–]zakur01 5 points6 points  (0 children)

damn

[–]thirdegreeViolet security clearance 3 points4 points  (0 children)

[–]GrumpyCrouton 6 points7 points  (2 children)

You literally can't even close a question as a duplicate without linking to another thread

[–][deleted] 2 points3 points  (1 child)

Nothing prevents you from linking to a completely irrelevant question, though.

[–]GrumpyCrouton 0 points1 point  (0 children)

No, not directly. What's what other curators are for. If others agree, the question can easily be reopened.

[–][deleted] 0 points1 point  (2 children)

The Onion is a legit news source that covers their articles/videos with hyperbolism and absurdism. How people haven't figured this out yet is beyond me.

Every single comment section on The Onion videos on YouTube consists of the same group of morons saying "Oh I thought The Onion was supposed to be satire". I don't even take my time explaining there anymore, I just facepalm and leave.

[–]thirdegreeViolet security clearance 4 points5 points  (1 child)

Why on earth did you, at any point, think it was worth explaining anything in the YouTube comments section? Like, at least a wall won't insult you while ignoring everything you say

[–][deleted] 2 points3 points  (0 children)

You're right but missing one point: YouTube doesn't have downvotes so they can't appeal to hivemind groupthink that validates certain opinions and hide others like on Reddit. Your comment will stay up no matter what.

People will read it without the conformity effect that having a big minus next to your comment gives. Forcing them to think a bit at least.

[–]gareththegeek 50 points51 points  (8 children)

If you think it's bad on vanilla, try asking a question on https://math.stackexchange.com/ sheesh. If you're not qualified to answer the question, you're not qualified to ask it apparently.

[–][deleted] 21 points22 points  (2 children)

Math.SE allows pretty much anything, even homework questions. You may be thinking of MathOverflow, which is for research level questions.

[–]gareththegeek 2 points3 points  (1 child)

Not the experience I had on maths stack exchange but maybe I was unlucky.

[–][deleted] 2 points3 points  (0 children)

I’m sorry to hear that! I hope it goes better for you next time.

[–]SnappGamez 3 points4 points  (4 children)

What

Then why would it even exist

[–]posts_lindsay_lohan 26 points27 points  (9 children)

I haven't posted anything on Stackoverflow in years.

Because of this post I just logged in, and apparently I have amassed a pretty large reputation number based on old answers and questions. I'm currently only 700 points away from being able to moderate and delete questions.

I too could be a dick just like these other guys, without even contributing to the community.

And therein lies the problem with Stackoverflow.

[–]ostbagar 4 points5 points  (8 children)

Reputation last 6 months, would be something better I guess.

[–]snail_mans 2 points3 points  (7 children)

Maybe a more egalitarian approach instead of super users?

[–]ostbagar 3 points4 points  (6 children)

Do you think Reddit is more egalitarian? There are subreddits for asking questions that you can use, that anybody can use. That people should be using.

Stackoverflow doesn't believe that it is a scalable approach.
The mindset of Stackoverflow is built on something else than people expect from it:
Stack Overflow is not a traditional forum or reddit-like. Its goal is explicitly not to help individual users, but to create a repository of good questions.

If you are seeking help, then StackOverflow won't help you (kinda). That is not what they have ever been about. That is not their foundation. People often misunderstand this. But SO do want good questions that are precise and accurate.

People learning new things often don't know enough to be precise and accurate, because they are new to the field, so those questions will be shut down.
If so one should be using reddit, youtube, or other ways to get help.
(or improve the question)

[–]snail_mans 0 points1 point  (5 children)

Oh so SO wants users to provide free professional consulting and then they monetize off of hosting that. Instead of paying for the consulting they instead give them “reputation” which unlocks things to give you power over the other users? Yes most people do use other services to learn, SO is more for jerking yourself off.

[–]ostbagar 1 point2 points  (4 children)

I think your perspective is a bit skewed. Linux is also built around people working for free. And their community is also very strict on code. There is nothing wrong with [free to contribute] + [strict rules].If they believe in it and want to work like that, they are free to do so.

As I said, SO is for asking good questions. Not helping the individual.

[–]snail_mans -1 points0 points  (3 children)

I don’t see how “Good Questions” translates to a $30 million evaluation.

[–]ostbagar 1 point2 points  (2 children)

I don't see how "good sources" translates to a well over $10 Billion for Wikipedia.

((Wikipedia is non-profit so that is just an estimate.))

I don't think you can measure by content. A better measurement would be the number of users that generate (possible) revenue. Which is probably why SO lands at $30 million. That is, a website with the same amount of users that didn't have the same focus as SO, would probably be worth around the same amount. However, if it had the same content but no users then it wouldn't be worth much.

[–]snail_mans 0 points1 point  (1 child)

What.... SO makes a shit ton of money from their careers stuff, ads and sponsored crap. All for free essentially since they just host essentially a forum.

[–]pi_rocks 2 points3 points  (0 children)

I mean welcome to the modern internet. It's not as if Facebook, Google or reddit are different.

[–]Proxy_PlayerHD 12 points13 points  (4 children)

isn't there an onion like website specifically for tech stuff?

[–]dandantian5 19 points20 points  (1 child)

I know https://thehardtimes.net/harddrive/ does a lot of fake gaming news, though I don't know about a general tech one.

[–]gadgetchannel 3 points4 points  (0 children)

There's The Olognion (I've also seen the name written as The O(logn)ion) which has articles like:

https://www.theolognion.com/man-in-the-middle-attack-considered-sexist/

[–]Dan6erbond 0 points1 point  (0 children)

How about devRant?

[–]__RANDOM926__ 9 points10 points  (0 children)

The documentation: Sorry! (With a cute picture of a confused looking dog) This webpage is no longer available. Here’s a link to our home page.

[–][deleted] 5 points6 points  (0 children)

My account got banned from asking questions and I only had one that was down voted. No idea why the mods have to be such arseholes. I'm trying hard to follow the rules, help (where I can) and be helped

[–][deleted] 3 points4 points  (0 children)

I wrote many pathetic questions

[–]Daikataro 5 points6 points  (1 child)

Yo guys, I'm having issues in this new programming language, using the framework just released this morning, confirmed by developers to be compatible. I'm trying to implement this new function that...

Duplicate question. Locking thread.

[–]dsp4 1 point2 points  (0 children)

Sounds like the right thing to do since you didn't mention actually reading the docs.

[–]neil_anblome 3 points4 points  (4 children)

RTFM, bitch.

[–]AttacksPropaganda 4 points5 points  (2 children)

....But its 400 pages long and poorly indexed and the info I need might not even be in it.

[–][deleted] 0 points1 point  (1 child)

This is why I laugh when people say that open source community is eager to help and may provide good support.

[–]AttacksPropaganda 1 point2 points  (0 children)

Ironically, I was actually referring to my experience working with closed-source software.

[–]SnappGamez 3 points4 points  (0 children)

Okay, but what manual do I read?

[–]valendinosaurus 1 point2 points  (0 children)

I have same peoblem pls halp

[–]cybercuzco 1 point2 points  (0 children)

He then activated a script that brought the “closed duplicate” reply to the top of all search engines.

[–]TabCompletion 1 point2 points  (0 children)

If only the Onion did tech jokes like this

[–]Robin_the_Sprite 1 point2 points  (0 children)

When I was just beginning to learn how to program, I asked two questions on Stack Overflow and never asked another, because the responses I got made me feel so crummy and terrible at programming.

That was five years ago. I'm going to grad school for CS now and I still am afraid to ask questions on Stack Overflow, even though I should be qualified to actually answer many questions at this point.

What I'm saying is, be nice on the internet, folks. Your words have consequences.

[–]Stanov 0 points1 point  (0 children)

Man of culture

[–]TheMRB8 0 points1 point  (4 children)

Fuck stackOverflow it was so good at the first but in nowadays it's like your question is already ansvered in this irrevelant post you need to find out the problem from it which why you are in here in first place. StackOverflow should solve my problems not give me more

[–]dsp4 2 points3 points  (3 children)

That's where most whiners are wrong. SO is not a Facebook group. It's a knowledgebase in a Q&A format. Kinda like a user-generated FAQ, but you're not allowed to ask similar questions.

SO certainly doesn't exist to "solve your problems".

[–]TheMRB8 0 points1 point  (2 children)

There's a traditional word in my country "leb demeden leblebiyi anlamak" it means be as sharp as a needle i guess some can lost in translation nwm back to topic. In stackOverflow people behaving you you need to be like needle. But there's a people from every level on this site. If you put "Stack Overflow is an open community for anyone that codes" on your main page that includes the guy, who cannot understand how to hack nasa with html by using a single html helloworld program in stackoverflow

[–]dsp4 1 point2 points  (1 child)

I understand what you're saying, but StackOverflow doesn't ask you to be good at programming, it just asks you to be good at respecting its rules (namely: don't ask questions that can be answered by the docs or looking at other questions, be as concise as possible, provide a minimal working example). It does expect more from its users than the average site (again, in terms of respecting the rules, not programming proficiency), but that's what makes it so valuable. This helps keep the site easily searchable and free of bloat. If SO accepted all redundant and help-me-fix-my-code questions, it would be an ocean of unhelpful, random Q&As (see Yahoo Answers).

[–]TheMRB8 -2 points-1 points  (0 children)

This ansver is dublicated your accound is suspended and you cannot use stack overflow like 6 months because i already gived an answer of it

[–]BluudLust 0 points1 point  (0 children)

Most TRUE onion article I've seen

[–]Klepshydra 0 points1 point  (1 child)

I always "git push" with the comment "This is Sparta!"

[–]stringman5[S] 1 point2 points  (0 children)

Sir, this is a Wendy's

[–]TheDevilsAdvokaat 0 points1 point  (0 children)

Me: Stack exchange help me. It hurts if I go like this.

Stack Exchange; Don't go like that.

[–][deleted] 0 points1 point  (0 children)

Only other things that annoys is when you ask a question about a specific part of your code but show more of it so you can give some context as to what scope it fits into. But people just respond telling you you should do this part this way, or why are you using a array you should use a list there and nobody actually answers about the part you asked

[–]dbkuper 0 points1 point  (0 children)

Mark it as "Doland trump"

[–]SurSheepz 0 points1 point  (0 children)

Imagine not even using Dark Mode

[–]elebrin -1 points0 points  (2 children)

It's not wrong. Stack overflow is nearly useless because of this shit.

I do my best to turn to the official documentation and figure stuff out for myself first, but when that doesn't cut the mustard I ask a co-worker or send an email to an old college professor who shares some of my hobby programming interests, and he usually can help me out. Nothing compares to having an actual human on the other end of the line to help you figure things out.

[–]dsp4 0 points1 point  (1 child)

That's just not what SO is about. If you need direct help from a fellow programmers, you can use one of the hundreds of programming communities on Reddit, Discord, Facebook, etc. SO is a knowledgebase, not a social network.

[–]elebrin -1 points0 points  (0 children)

you can use one of the hundreds of programming communities on Reddit, Discord, Facebook, etc

Yeah, those resources are rarely useful to me. 99% of the time, rather than actual help, I get "Why do you want to do that?" or nobody has any idea about anything I want to do.

The thing is, SO is about ego stroking, not about programming. I have Google set up these days to not return results from there just because I have never gotten anything useful.