« first day (1422 days earlier)      last day (2366 days later) » 

5:45 AM
posted on March 22, 2017

New Cyanide and Happiness Comic

 
 
3 hours later…
8:50 AM
Im looking for a image gallery for javascript. I would like to have one pictue, when clicked it starts a image gallery as popup. Could you recommend any?
 
 
3 hours later…
11:51 AM
@Procode that technique is called a "lightbox"
 
 
2 hours later…
1:23 PM
 
@Feeds nice
 
do you guys usually read/like the cyanide and happiness comics? @clickhere @TylerH @joshhunt
comparing survey respondents to monthly stack overflow visits in the "geography" section of the SO developer survey is interesting to me
 
I find most of them lame. That or they seem to be referencing some sort of inside joke I'm not familiar with
 
1:46 PM
@ZachSaucier yes
I read every single one, though like clickhere I find many of them 'meh' quality
 
darn
 
why?
 
I like probably 1/100 of them xD
 
Why is that a bad thing?
 
because I wanted to remove it from the feeds
they always tempt me to read them and waste my time
admittedly a small fraction of my day, but I like to cut out what I can
 
1:49 PM
just use machine learning to only share the comics that Tyler and I would appreciate. simple
 
I'll just add a user style for it
[href *= "xkcd"] {
    display: none;
}
 
:dark theme has a collapse option:
 
right, but I'd have to click it for every comic
 
auto collapse by default.
 
but then I have to uncollapse it for the other feeds I care about
 
1:53 PM
I see you're not going to be happy unless you get to bitch about it either way
so good day to you
 
It's more so that I want it a particular way
 
!!giphy I said good day!
 
@clickhere lol
@ZachSaucier wait you want to hide the xkcd ones?!
 
whoops, wrong one
unfortunately I can only hide the link to the cyanide and happiness comics using CSS
 
2:37 PM
i'm really enjoying this Gorsuch hearing. I just wish I could have watched the whole thing so far
 
Did you hear about the 100 duck sized horses question
 
Do you guys actually do any development?? :P
 
Do you actually go to any of your classes?!11/1/!one?
 
@ZachSaucier you don't notice periods of silence from me?
 
I go to all of them. Whether or not I pay attention is a different matter :D
 
2:38 PM
no but we notice a lot of commas of silence from you
 
that's not even close to a good joke
haha
 
Yo anyone knows why google chrome does not support color style on unicodes?
On mac
 
@ZachSaucier it's a great dad joke :-D
 
@WorkingPig ask Google
 
I did 10 times still no answer.
 
2:43 PM
I meant the actual company
 
Do you have Google Whatsapp?
Ill
 
@TylerH Someone asked him that!?
 
@clickhere yes
It was one question asked by a congressman whose son wanted him to say it
silly and funny but also kind of disconcerting
Who the hell is paying $80,000 a year to do VBA?
 
@TylerH eh. certainly was a waste of time for the asker. I'm more concerned with people like Senator Mazie Hirono of Hawaii who apparently believes that a belief cannot be sincerely held if it conflicts with science
 
@clickhere I think that sounds like he didn't quite articulate what he meant, hopefully
but he's assuming too much faith in peoples' intelligence :-P
 
2:54 PM
@TylerH she, and I don't know. I heard most of her questioning. She was a bit bonkers imo and also she was quite rude
and most of the dems that have been grilling him are kind of a joke.
Dem: "how would you rule on this case..."
Gorsuch: "I can't speak to that, it would be improper."
Dem: "But what about this one"
Gorsuch: "As I've said earlier, I cannot speak to that"
Dem: "But what about this one"
Gorsuch: "As I've said earlier, I cannot speak to that"
etc..
The view questions that he does answer he smashes out of the park
imo
and the attacks against originalism have thus far been a joke
 
3:30 PM
And I think L. Graham hit the nail on the head. Many of the senators are basically implying "I can't vote for you if you don't share my worldview"
 
@clickhere doh, Mazie, dunno why I read that as he
@clickhere yeah that's just the same as all the people asking Comey about classified info
they know he can't/won't answer
they just want to get it on the record
I haven't seen any part of the gorsuch hearings outside of that silly horse duck question though
except I read that he said he'd have 'walked out of the room' if Trump asked him to repeal Roe
and that he considers it the law of the land
so far he seems to be focusing on judicial independence which is good
the Dems probably wouldn't mind him as he's got a stellar rep just like Garland. They're just pissed that Garland got shafted like this
 
@TylerH But that's not the point "he shall nominate, and by and with the Advice and Consent of the Senate, shall appoint ... Judges of the supreme Court..."
@TylerH I was watching that bit. He said it with passion too
@TylerH not sure that'd be a far characterization. Perhaps simply that he respects precedence.
 
@clickhere yeah, potato potato he said 'established precedent'
@clickhere not sure what you mean
specifically I'm not sure how that clause of the constitution is relevant to the subject
 
Dems are basically acting like they won't consent unless he shares their worldview. Which of course is irrelevant to whether or not he'd be a good judge.
 
Well if their worldview includes a way to reasonably adjudicate then it would make sense that he wouldn't be a good judge of he doesn't share theirs
 
3:43 PM
@TylerH Yes, if that were the case, but it's not
if you watch a lot of them. They basically bring up a case they didn't like the result of. Press him with, "But did you think about this?" And he's like "Yeah." or "Not relevant" etc.. and then they end with "Well, I would have decided differently." and then they move on.
 
@clickhere both parties do that for nominees from the other side of the aisle
ever since, I forget who, but that one scotus candidate sat for a hearing and started answering the first speculative case-specific questions
 
Kagan?
 
they've always tried to avoid them, but before this one guy in the 90s or w/e
no it was before kagan
before this one candidate it was never done
I'll try to look it up
 
as it really shouldn't be. Like how are all of the cases he's ruled on somehow irrelevant? The class of questions that either side should be asking regardless of party should be completely different.
@TylerH well, neither should. There 'transcript' should cover that
 
I agree more or less
I think some questions should be asked to glean info on the judge's temperament and thought process when deciding a case
but 'how would you rule here' obviously is not a good question for them
 
3:56 PM
I've learned a ton by watching/listening. Like I really didn't know anything about Citizens United. I just knew HRC wanted to overturn it and that it had to do with campaign finance. The actual case though was tied to a film that was produced that attacked HRC. The opposition was arguing that effectively the government should be able to ban books because they contain political speech. Can you imagine that??
 
what I'm thinking of I think was Notorious RBG's hearing in 1993
She refused to answer like 35 questions because they were basically thinly-veiled 'how would you rule here' questions
@clickhere who is the opposition?
because that's a misconstruction of the case
 
Federal Election Commission
 
the FEC was wanting to restrict (ban, in your words) political ads within a month of an election from certain types of companies/organizations
 
such as Thomas Paine's Common Sense
 
specifically, there's already a lot of law around private corporations and their ability to openly advocate for or against a political candidate
laws that are 50 - 100 years old
the case with Citizens United is a pretty scummy one, though
even if you consider the right to do this a valid one
CU is a conservative thinktank, that basically got upset that Farenheit 9/11 was allowed.
 
4:05 PM
"The Court's ruling effectively freed corporations and unions to spend money both on "electioneering communications" and to directly advocate for the election or defeat of candidates (although not to contribute directly to candidates or political parties)." - Wiki
 
The FEC dismissed their complaints about it saying Michael Moore basically is a film director making a film, not a corporation using its funds for independent political expenditure
so Citizens United specifically released several crummy documentaries in the next couple years so that it had similar ground to stand on for the purpose of making an Anti-Hillary movie
which they specifically wanted to air before the election
it's clear that if intent is considered they are violating the spirit of the law, but intent doesn't legally factor into the cas elike this
Yeah I'm sure the wikipedia article goes into a ton of detail
 
I don't follow. How would intent violate the spirit of what law?
 
the law was intended to prevent companies from political speech in certain situations
the FEC found that Farenheit 9/11 wasn't political speech because it was just a movie by a movie maker and wasn't during an election
Citizens United then specifically morphed itself into a 'movie company'
so that it could use the same defense for airing the Hillary: The movie (or whatever it was called) film
only they wanted to air theirs right before the election (obviously to negatively impact Hillary's perception to the public)
which is why, up to the district court level, it was found to be not OK, I'm guessing educatedly
 
I get what their intent was but I don't see how even if taken into account violates law
 
the supreme court however overturned that decision and said that, regardless, the first amendment protects political speech
I said it would violate the spirit of the law, not the actual wording of it
 
4:11 PM
@TylerH What's the spirit of it? and which law?
 
the spirit is to prevent certain corporations from engaging in political speech
the company intentionally changed their structure (without actually changing their intent or mission statement) and 'ticked a few boxes' so that they could skirt the law
 
which law?
 
and I'm talking about BCRA as wellas the Taft Act
now I don't personally agree with BCRA or the Taft Act, necessarily
Typically I believe in free speech
but I also agree that there should be some limitations
I'm not certain that there should be political limitations to free speech
but it's clear to me there are some definite negative/dangerous outcomes to allowing anything
(see: Trump)
 
@TylerH ah, ok but I don't see how intent matters still. I don't see how the intent could have changed the ruling of the Supreme court
 
@clickhere I was saying intent doesn't matter
they don't take intent into consideration
 
4:17 PM
@TylerH yeah, but I thought you were saying, if they did, it may have been decided differently. No?
 
maybe
probably not, since Kennedy was always the swing vote for such cases and he sided with the majority anyway
too bad he's not the same kind of Kennedy as John Jack and Ted
 
ok, i don't want to belabor it anymore. personally, I'm libertarian. So I'm pretty open to all this stuff intent out the window
 
good, cause it's lunch time!
 
4:32 PM
He's judged over 2700 cases and what.. 1 has been overturned?
What more could you ask for
 
Democrats response: Garland :-P
 
@TylerH I never did disparage him. Though he was before my time so I don't really know much about him
 
before your time? :-P
do you just mean 'before you started paying attention'?
 
yeah, i only started caring about politics like 9-10 months ago
 
ah
god you poor sod
what a time to get into it
 
4:42 PM
I was politically apathetic. Never voted
@TylerH i got into it because of Trump
because of how entertaining he was
 
So they should call this the "Political Room"
*sigh
 
@I'mjustacoderforfun We should get one of those
what brings you to these waters?
 
If the client doesn't know code and wants to make changes to their site on their own.. How can I make a "Admin Site"?
 
What framework?
 
HMTL
HTML
I'm not using bootstrap or any kind of css framework.
 
4:54 PM
hello
I have a div which has a width of 100%
And the base height is 565px
 
Well then you'd probably want to not bother developing anything yourself and pick one that would best suite your client.
 
lets say the base width is 1200px
if i change the browser width , i want the height of my div to scale down in proportion to the width
so if my width is 1200px and my height is 800px, if the width becomes 900px i want my height to become 600px
How can i do this?
 
So you need a framework to make an admin site?
You need to use percentage @virepo
 
how do you mean?
the width is 100%
but i cant use height 100%
and i dont want to use media queries to manually change my height to keep it in proportion if that makes sense
 
Instead of 1200px, do 50%.. Instead of 800px, do 30%..
 
4:58 PM
@I'mjustacoderforfun No, but no need to reinvent the wheel either imo
 
That's guessing if that would be equal, but basically like that.
 
im not doing that
i use the width as 100%
but i cant give the height a percent can i
 
You can't make a div 100% and 1200px a the same time.
True @clickhere
 
I dont mean that
I was just using that to explain
What im saying is , if my div has a css value of width:100%;
and the actual width is 1200px
i want the height to be 800px
if the browser window is reduced and it makes the actual width 900px , i want the height to become 600px
 
@TylerH, also, both HRC and Trump made silly promises about appointing someone to the court that would do 'X'. Namely overturn CU wrt HRC. But I can't see Dem's grilling her hypothetical pick with the silly question, "HRC nominated you because she thinks you'll do X. Will you do X?"
 
5:05 PM
Hm.. Have you tried vw for the height?
width: 2vw;
height: 1.5vw;
Instead of percentage.
 
posted on March 22, 2017 by CommitStrip

 
@I'mjustacoderforfun simple answer: you can't with just HTML. You'd have to implement a WYSIWYG editor that changes the HTML/CSS/perhaps JS files
@virepo Create a demo - it'll help you and help explain to us what you're really wanting. See stackoverflow.com/help/mcve and use something like jsfiddle.net
 
Yeah.. So bootstrap is probably my best bet, right @ZachSaucier
 
no
bootstrap isn't an editor at all
clickhere's use of "framework" is a bit misplaced, at least in the commonly used definition
 
Elaborate please.
 
5:11 PM
Your best bet is using a platform like Wordpress (or something similar) and building your site off of that
 
I've seen wordpress..
 
they have built in WYSIWYG editors along with a lot of other useful features such as media uploads and such
 
@ZachSaucier what do you mean?
 
Is that your own code or stuff that "Builds code" on its own?
 
517
Q: What is the difference between a framework and a library?

anbanmWhat is the difference between a framework and a library? I always thought of a library as a set of objects and functions that is focused around solving a particular problem or around a specific area of application development (i.e. database access); a framework on the other hand is a collectio...

@I'mjustacoderforfun I'm not sure what you're really asking in this question
 
5:13 PM
You know those site builders you see on the commercials where you don't have to use code at all? I was reading up on wordpress and that's what it seemed to be like.
 
it can be used that way, but Wordpess is different than most others, say Wix, in how much freedom it allows you to customize the code
 
Yeah, I thought that about Wordpress too
 
Wix et all allow some changing of code, but a more holistic platform like Wordpress has a lot more features/freedom
it really boils down to how much you and your client need
@Feeds commitstrip hitting hard where it hurts today
 
Yeah, I guess that's what it ends up being. Makes sense.
 
5:27 PM
I need to start using this more. Lol my answers get answered so much faster than google.
my questions*
 
you should always search google first
2
 
Yes, but I need to use this more. Lol I only get on when I can't find anything on google.
 
 
1 hour later…
6:44 PM
0
A: CSS text-transform: capitalize skips first word with back-to-back <span>'s unless white space.

BoltClockThis is a known interop issue. Implementations disagree on how text-transform: capitalize should behave with respect to punctuation. WebKit is notably the only one to capitalize a letter that immediately follows a punctuation mark without a space in between — everyone else behaves the same as IE....

The only reason this edge case isn't talked about is because hardly anyone uses text-transform: capitalize anyway
 
true
especially with spans without spaces between them
 
@clickhere no obviously Dems wouldn't do that b/c you don't bite the hand that feeds you. Republicans would though.
 
6:58 PM
@ZachSaucier heh, under "Related" I see this
1
Q: IE9 + span + :first-letter + text-transform:capitalize = compatibility mode, why?

user1926282Here is a simple test case <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>why</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <style> body:first-lette...

 
wat
 
7:15 PM
@TylerH This kinda stuff is what lead me to years of political apathy...
 
7:27 PM
also, everyone's talking about this @TylerH ca10.uscourts.gov/opinions/15/15-9504.pdf
an interesting case
 
I heard mention of that
the court ruled in favor of the company against the driver, right?
 
yes
@TylerH, wait no
The court sided with the little guy. But Gorsuch dissented
 
ah
I don't know the details of what his protected actions are per the company's policy
or the union or the ALJ is
whatever defines those 'protected actions' they're talking about in the case
After reading the first few pages, I think the guy should be written up for missing a designated fueling stop, but should not be fired for leaving his trailing in freezing temperatures considering his cab heater was not working and his physical condition
 
"It might be fair to ask whether TransAm’s decision was a wise or kind one.
But it’s not our job to answer questions like that. Our only task is to decide
whether the decision was an illegal one. "
 
7:46 PM
Seems to me, Gorsuch is ignoring subsection ii of subsection B altogether
Gorsuch says "The Department of Labor says that
TransAm violated federal law, in particular 49 U.S.C. § 31105(a)(1)(B). But that
statute only forbids employers from firing employees who “refuse[] to operate a
vehicle” out of safety concerns"
But that quoted part is only subsection i
there's an entirely alternate subsection, ii, which includes the provision of "the employee has a reasonable apprehension of serious injury to the employee or the public because of the vehicle’s hazardous safety or security condition;"
 
Paz
Is anyone here familiar with bootstrap?
 
the vehicle clearly had a hazardous safety or security condition: its heater wasn't working in below freezing temps
 
but (B) is "the employee refuses to operate a vehicle because" Gorsuch: "nothing like that happened here.
The trucker in this case wasn’t fired for refusing to operate his vehicle. Indeed,
his employer gave him the very option the statute says it must:"
 
I would have to rely on expert testimony as to whether the trailer can be considered part of the vehicle or not in considering it operable or not operable
 
Paz
I got a problem with BOOTSTRAP MODALS.
I got two buttons, both activate different modals inpage.
the problem is, one modal isn't clickable because of the second modal (whos hidden).
How do I fix this issue?
 
7:51 PM
I would interpret sitting in the vehicle with it idling and the APU on to be "operating" it
even if you're not driving it, you're still using it, it's still engaged
I don't know if there's any guidance or precedent on what counts there for motor vehicles
 
Paz
Notice me Tyler!
 
but if that's the case, and sitting on the side of the road with the heater engaged is operating it, then section (B) subsection ii would apply
@Paz I notice you, I just am not familiar with bootstrap
 
I don't see how any of that's relevant. "The trucker was fired only after he declined the statutorily protected option (refuse to operate) and chose instead to operate his vehicle in a manner he thought wise but his employer did
not. And there’s simply no law anyone has pointed us to giving employees the right to operate their vehicles in ways their employers forbid."
 
Paz
Oh. ok.
Even if your'e not fimiliar. You got any idea in mind?
 
@Paz make a minimal demo in jsfiddle that reproduces your situation and perhaps we can propose a solution
 
7:54 PM
The law simply doesn't speak to this case.
 
@clickhere I agree with Gorsuch that the reasoning used by the majority in that referenced US Code is a little questionable
and I agree the employee should not have left the trailer unattended
and I agree the employee should not have missed a previous fueling stop, which at least in part predicated this situation in the first place
however, considering that in following the apparently 'legal' avenue provided by the employer, the employee risked death, I refuse to believe in our absolutely mountainous amount of US law, that there isn't some statue or law or regulation that provides an exception in the case of risk to a person's health or safety
Further, I agree with the majority's opinion that the statute is vague enough to allow for interpretation
 
@TylerH How would an exception be relevant? And why does law not referenced in the case bear any significance to the dissent opinion?
 
@clickhere An exception would be relevant because it would supersede the law's restriction
 
@TylerH But the law was speaking wrt refusal to operate
 
It would be referenced by me if I were adjudicating the case
because I would have looked for it and referenced it
refusal to operate is the vague part
 
7:59 PM
@TylerH i see your intent now
@TylerH how is it possibly that vague?
 
does it mean refusal to operate in the manner instructed? or does it mean refusal to operate at all?
as in even turn on/crank
 
What? He didn't refuse to operate the vehicle. In fact, he operated it by driving off without the trailer.
 
the majority cites a couple cases that discuss the fact that it is vague and offer a few interpretations of it
 
Paz
@TylerH It seems to work on the fiddle (I didnt create the same one as in my website)..
When I inspect element on the Opened modal, it shows the other modal specifications. Probably has something to do with z-index..
 
@clickhere part of what I want to know, as I mentioned above, is if "operate the vehicle" can include or MUST include just the cab, or the cab and the trailer
 
8:02 PM
@TylerH I can't see how that changes anything. He wasn't fired for refusing to operate the cab, nor the trailer, nor the combination of the two
 
Right, he was fired for leaving the trailer unattended, no?
which is why I agree with Gorsuch that the majority's citation of US Code 49 was a little odd
@Paz can you see the unclickable button?
e.g. is it visible
 
@TylerH Yes, so how's that a violation of even the biggest stretch?
 
if it's not obstructed or hidden in some way, and is simply not clickable, then either it is too low in the z vertex (so it needs a z-index value) or it's been set to pointer-events: none or something
 
Remember, he wasn't fired for refusing to operate the trailer. He was fired for leaving it unattended. By leaving the trailer he's not refusing to operate the trailer. Refusing to operate the trailer would require his employer for have instructed him to use it and then refused it. But the employer explicitly told him to wait, they explicitly told him not to operate it
Refusal to operate must obviously coincide with a demand from an employer to use it. Otherwise going home at the end of the shift would be classified as refusal to operate.
 
Again, it depends on what exactly refusal to operate means
 
Paz
8:10 PM
@clickhere are you familiar with bootstrap?
 
It may seem obvious to you but clearly it's not, as I and a majority US Circuit court decision see the vagueness of it that allows for interpretation
IANAL, nor am I paid to argue law, so I don't have the time or background to look up all the arguments and existing law and precedence on the case or find all the relevant testimony
I can only rehash and provide my own perspective on the published decision
 
Your boss says, "I order you not to do X." you say, "I'm going to do Y." How could anyone honestly interpret your expression that you're going to do Y as an implicit refusal to do X?
What does "refuse" mean?
"failure to perform a required action"? And what required action is being refused here?
Absolutely none
There is no action that he was required to do
that he refused to do
given that you regularly respond/participate over at "English Language & Usage", i'm really surprised you think 'refuse' could be possibly interpreted as you've stated
I think your skepticism is wholly unwarranted
 
Like I said, you might not see any ambiguity but clearly others do
 
8:26 PM
They are wrong. Demonstrably so.
 
Only if you assume there is no ambiguity in the phrasing of the law
which you are welcome to do so. In cases like this majority will rule and the majority's opinion is therefore not wrong
unless overturned at a higher level
 
I'm not saying there is no ambiguity. Just that it's clear enough. Did you refuse to eat chicken for breakfast this morning?
 
@clickhere I don't have time to spend 20 hours debating you on whether you think two district court judges are wrong
If you think they're wrong, file an amicus brief with a scotus clerk
 
But.. did you refuse to eat chicken for breakfast?
totally not related XD
 
No
I ate chicken for breakfast
 
8:39 PM
Ah, and did you refuse to sprinkle chocolate jimmies on it?
 
No, I ate chocolate jimmies on it
 
i rest my case
 
Good because I didn't buy your lie for one second that it wasn't related
 
I didn't lie. My intent was ambiguous.
i'm going to go listen to celine dion to cool off
 
Paz
Anyone here whos fimiliar with bootstrap please??
 
8:51 PM
@Paz what up
 
@clickhere you said "totally not related XD"
but it was directly related
you were trying to get me to answer a certain way to prove your point
 
"totally" was ambiguous
 
@clickhere but I hope you have not been upset by the conversation. To me we were just having a scholarly debate
 
@TylerH I'm ok now, I actually decided to go with Enya
 

« first day (1422 days earlier)      last day (2366 days later) »