« first day (1374 days earlier)      last day (2414 days later) » 

2:15 AM
Anyone know if its possible to make a dynamically generated element appear on a new line?
i have a checkbox and a link to its right, and i'm using jquery form validator on the checkbox
the form validator makes an error message show if the user tries to complete the form without checking the checkbox
However, it puts it between the the checkbox and the link, making it look really ugly
Is there a way to get that message to appear on a new line, below both the checkbox and the link?
 
demo?
 
I'm not sure if I can get a demo together quickly as its part of a much larger app and I'm not sure what dependencies are required. Would code snippets suffice?
 
snippets are better, just as long as you can show the issue
I assume the snippets show something right?
or do you just mean code?
 
Just code I meant
 
Kind of need an example to see what is going on
 
2:19 AM
^^
recreate it, you don't need to copy it directly from your project
 
but if it was <checkbox><link><message> it would be much much easier than <checkbox><message><link>
 
just recreate the necessary parts
 
This probably solves it TBH: stackoverflow.com/questions/26498899/…
 
Ooh, that looks promising
 
or something similar. I assume there is a way to change where the message goes in jQuery validator
 
2:21 AM
Thanks!
The only problem I see though is then it would change it for all the error messages, and I only need to change it for this particular one
 
depending on your situation the 2nd answer might be better
 
I guess the worst case scenario I could just out the check box to the right of the link so the message doesn't go between them
 
there are lots of solutions, just depends on what you want to do
 
Ok, thanks for the link! Sorry for the lack of demo, next time I'll get one ready first
 
sounds good :D it's much easier to help someone if you can see exactly what is happening
 
 
1 hour later…
3:38 AM
Just checking back, I was able to solve the issue using the flexbox order property
Since the div that contained the checkbox and link was the only div that used display flex and also had the error messages appear, I just set the order for the checkbox to be 1, the link to be 2, and then the .error class to have order 3. It doesnt affect the other messages since theyre not in flexbox containers, and gets the desired results of not interrupting the checkbox and link
Probably not the cleanest solution, but it got the job done
 
 
6 hours later…
9:22 AM
hello
 
9:35 AM
I have one doubt about css blur propery.
how to make below layer blurred in this image:
 
 
4 hours later…
1:29 PM
@UpenderSanga what have you tried?
 
1:40 PM
BodyMovin (AE -> web code export) now works for native Android and iOS: airbnb.design/lottie
 
2:14 PM
Why <table> and <tbody> have different sizes?
 
you tell me
 
Only asked and found answer)) border-spacing affect it
 
2:48 PM
Is it ok to have multiple divs with the same z-index value?
 
Yes, though most likely you could be going about the situation in a better way
Did you recently change your name or something @JohnDoe2 ? On StackOverflow
I can't view your SO profile page, it says it's not found
Weird
 
yes
thats weird
I changed my name 6month ago
but somehow it still does not work
 
Can you go from StackOverflow and click on your repuatation/badges and see your own profile page?
 
yep
that works
 
What's the URL?
 
3:01 PM
but if I click on my profil on any stack chat I get the error you mentioned
 
We should report that on meta. Do you want to or do you want me to?
That's so weird, even the user IDs and rep amount are different
 
Sorry I was on the WC, you can do it if you like to :)
 
3:19 PM
0
Q: User's chat profile failed to update

Zach SaucierI discovered today in chat a user who's StackOverflow chat profile failed to update to the new name changed months ago (according to the user) because the link to their SO profile obtained from the chat says page is not found. Their StackExchange chat profile has updated, as has their entire St...

 
ok I gave it a "thumbs up"
 
So you had an account merge in the past?
 
4:23 PM
@Zach what's that shrug ascii you post sometimes
 
 
1 hour later…
Wes
5:34 PM
@TylerH i love that trump gets to choose judges of the supreme court. how fair is that? lol
 
6:13 PM
@TylerH I don't know ¯\_(ツ)_/¯
@Wes balance of power
executive (president) checks legislative (congress) and judicial system, legislative checks executive and judicial, judicial checks executive and legislative
 
@Wes Democrats should filibuster his appointment because he shouldn't be allowed to nominate a person to the bench in his last year as president
 
is that a joke that he'll get kicked out or something?
 
Chances that he will be impeached in his first year are quite high
 
Go Mike Pence
 
So, joke, prediction; tomato, tomahto
But the real classy thing for Gorsuch to do would be to refuse the nomination publicly, saying it would be improper for him to receive hearings until the current nominee, Garland, receives hearings
Especially considering literally all the defensive statements McConnell gave in support of Gorsuch apply to Garland as well
the only difference is President Obama nominated him
 
6:20 PM
I'm unfamiliar with all of that situation currently; give me a 2 sentence summary :P
 
Basically McConnell (the House leader) gave a speech (all house members did, practically, in defense of or in attack of) Gorsuch, Trump's nominee, saying how wonderful he is and how he is a strict Constitutionalist, how he was voted in unanimously, has years of experience, etc.
all of those platitudes apply to Garland as well
 
Garland = person currently in office?
 
Garland is the person who Obama nominated to fill Scalia's seat
 
Gotcha
 
back in January of 2016
or early Feb
 
6:23 PM
mmhm
 
but Republicans said "noooo you're not really allowed to nominate someone in your last term, we should let the voters speak by deferring until the next president is elected"
which is absurd because Obama had a whole year left in office
 
agreed
How come he isn't in office already?
 
and while both sides have done that "let's wait until the next president", no one has done it with that much time remaining in a POTUS' term
@ZachSaucier who, Garland?
Republicans refused to even hold hearings on him
so he could never be confirmed or rejected by the Senate
Because they didn't want Obama to name someone to the bench
 
Is Scalla gone already?
 
Yeah he died
last January
 
6:25 PM
I see
that's silly
 
which is why this is happening. SCOTUS appointments are for life
 
right
 
you can of course retire
but Scalia wasn't expected to die or retire for a while
RBG or Kennedy were expected to be the next one or two to retire or die
 
IMO Congress shouldn't be allowed to hold off that long
like after a certain period of time they should lose their income or something so they have a reason to make a decision
that's just an example of the consequence, probably not a good one
 
Wes
i don't know the details, apart that he gets to choose members of the one of the few entities that can oppose to his doing
which is absurd
 
6:27 PM
Nah, the majority he doesn't get to choose
 
@ZachSaucier agreed
A better solution would just be the President gets to go ahead and appoint him if Congress fails to act within a certain time period, which is actually an existing power, sorta
 
Wes
it's two of just a few, right?
 
The President can name a judge to the SCOTUS bench temporarily when Congress is in recess
 
@Wes 9 currently
 
Wes
how many senators are in total and how many need to be replaced?
 
6:29 PM
100 senators, they are elected by the states (2 per state)
 
@Wes there are 100 US Senators and probably about 90 of them should be replaced
 
Wes
i mean in the supreme court
 
there are no term limits for Congress, so many of them have served for 30/40 years
 
9 justices in supreme court
 
Wes
6:29 PM
yeah sorry i meant that
 
Oh, 9 justices on the Supreme Court, and they serve for life, or as long as they want to
before Scalia died, there was a 4/4 split of dependably conservative vs dependably liberal justices (strict literal interpretation vs it's living document), with Justice Kennedy being a swing vote on a lot of issues
socially he is more liberal
 
Wes
not saying that should've been obama doing that, that would be equally strange
but perhaps existing senators would choose the replacements, or the congress as a whole
looks like a fallacious system :P
 
A hilarious situation, if Hillary Clinton had won and Dems had taken control of the senate, would've been if Obama named himself to the Supreme Court and got confirmed
then he could've been all "Sorry GOP, you shouldn't have mothballed Merrick Garland, don't hate the playa, hate the game"
but Hillary Clinton lost and now the world is in chaos (slight hyperbole)
 
lol
Oh the plus side, the media is actually covering important issues for once
Even if the way they talk about it still isn't great
 
They've been covering the same issues that they've always been covering...
more people are just paying attention
instead of watching E!
 
6:37 PM
hi guys, i m trying to make a toggle functionality in which, on toggle, table data of a cell in a column is inserted/merged into the cell in its preceding column. How would i go about doing this?
 
@snow JS
 
Wes
on a less important note @TylerH did you hear of the manor f1 team? and its unfortunate end? :B
 
yes. i was thinking about extracting the value from a cell using innerText method and appending it to the appropriate td element on toggle and using remove() to go back to how it looked when toggled again. is there a better way?
 
I suppose they should have posted a job listing for team owner... — TylerH 3 hours ago
 
Wes
@TylerH did you read how that happened? something very absurd caused manor to lose their money...
 
6:51 PM
@Wes No I don't really follow racing
I just watch some of the races
 
Wes
@TylerH basically F1 teams earn money from the points they get in the previous season... Manor was racing against Sauber for the penultimate position in the constructors championship, and Manor was winning and all was fine. Sauber had this driver, Felipe Nasr, that happened to have signed the contract for the following season with Manor.
 
I recognize Filipe Nasr's name
 
Wes
just a couple of days after that, Nasr scored 2 points with Sauber, Sauber surpassed Manor in the championship, Manor lost the money and Nasr costed himself the seat for the 2017 season :B
a rather unique situation...
 
So Manor went from getting lots of money to zero?
 
@snow probably not? I'm not sure exactly what you're trying to do
 
Wes
6:58 PM
not lots of money but yes, to zero
 
hmm, seems like we should've seen this coming if they were relying on a small amount of money to avoid going bankrupt
 
Wes
it's the problem of all small F1 teams
it's a constant struggle for them
in the past even the smallest F1 team got tons of money, because the sport was very well followed... these days not really
each sponsor pays several millions for literally seconds of publicity. and not many can afford to do that
if F1 had dozens of millions of spectators like in the past, sponsors would be more inclined to pay what's needed for the teams
 
Maybe F1 should stop being a tech sport and get back to being a driver sport
so you don't have to be a multibillionaire to compete
 
Wes
now F1 is american, did you hear? I trust americans, make everything look better than it is :B
 
@Wes Yeah I did hear about the new ownership
hoping that it will bring some of their expertise with sports marketing into it
and also work to get it on ESPN more so it can make more money with advertisements
Right now there is a F1 Network channel in America and that's the only way to watch it on TV here
 
Wes
7:03 PM
F1 is by definition the maximum car engineering competition. if they changed that it wouldn't be F1 anymore
 
except rare occasions
 
Wes
problems are pay tvs. when i was a kid F1 was everywhere, it was more popular than soccer and that in italy is an actual achievement. with pay tvs viewers went down to just few hundred thousands each weekend, used to be several millions... and i suppose it's the same in the rest of the world. so big sponsors dropped out and everything is dying...
also it happened that changes to the sporting regulations made the sport less entertaining. that contributed too
but that is hopefully over now.
new owners can't really do worse than that even if they tried
 
We just need a la carte channel viewing in the US
that would solve so many problems
All the channels making shit shows would die out
 
Wes
a la carte?
 
yeah, pick which ones you want basically
in the US we pay for 'tv channel packages'
we get like 100 in the basic package but only 10 of them are ones you want
then to get the other 50 that have awesome stuff, movies, sports, international coverage of things, etc., you have to pay like 2x or 3x as much
It'd be great if I could say, OK, let me pay a fixed rate per channel. I want these 3 news channels, this sports channel, these 7 movie channels, etc.
That way you are paying only for what you want
 
Wes
7:12 PM
that doesn't really work here. it is absurdly expensive, compared to nothing i mean
 
there are whole swathes of channels that probably nobody would pay for if they didn't have to
I know Bravo, LifeTime, and MTV are some I would actually pay to not get
 
@ZachSaucier i am basically trying to merge values from two different cells in two different columns into one cell without having to change the markup
 
(though I wouldn't pay much...)
It's just a really shitty system in general
 
Wes
soccer or football can work that way, you get several hundreds of hours of entertainment for a very small amount, sponsors are willing to pay for that, teams can afford expensive athletes in consequence etc.
 
nobody makes a great product because the barriers to entry are so damn high because the government allows such monopolistic control for cable companies
@Wes I think we pay sports stars way too much as well
at least in America
90 million dollars? Come on, you work out and then run around on a field. Entertainment is very important to a peaceful society, but not worth that much IMO
 
Wes
7:16 PM
F1 is 40 hours total per season. it's nothing. each car costs several millions, plus the development, the logistic etc
 
If we cut down on NBA, MLB, and NFL contracts we'd have so much more money to give to other sports where athletes practically have to whore themselves out for advertisements just to afford food shelter and travel
 
Wes
there is no sponsor that is willing to pay for 10 seconds of advertising, unless their brand is shown to millions of people
 
like track and field, or fostering smaller sports for a tv audience, like rock climbing or ultimate
 
Wes
that is the reason F1 only works with public tv, imho
@TylerH not a fan of that yeah :P but it's a system that works perfectly
 
Wes
7:35 PM
though, even if it's not as entertaining as it used to be, F1 is still very enjoyable for me. if people watched f1 rather than other sports they would be probably more inspired in their lives. to me it's like going to the moon or to mars :B there is no direct goal in that, only the challenge of doing it for the sake of science
and btw, f1 has a lot of former actual "rocket engineers" :D dunno if they are still around though
 
 
2 hours later…
9:58 PM
@Wes meh, I think it'd work just as perfectly if top tier athletes got $1m contracts instead of $90 million but w/e
I know it's uncommon for them to get that much and it's almost always multi-year for that amount but still
the argument that "that's what the market will bear" doesn't hold up IMO because it's not pure market economics; it's one rich dude who owns the team
if salaries were financed by ticket sales and performance, you'd see way lower numbers
but most money is from exclusivity contracts on TV and web, and merchandising the hell out of it
 

« first day (1374 days earlier)      last day (2414 days later) »