« first day (912 days earlier)      last day (2876 days later) » 
01:00 - 15:0015:00 - 00:00

01:43
weird, I can install other npm packages globally without sudo but not the less package
Error: EACCES: permission denied, symlink '../lib/node_modules/less/bin/lessc' -> '/usr/local/bin/lessc'
nevermind figured it out
scratch that, didn't figure it out. I was confused by a different program called less. Still can't get it to install without sudo
 
3 hours later…
05:03
posted on October 29, 2015

New Cyanide and Happiness Comic

Abe
Abe
05:21
user image
4
Abe
Abe
05:32
@SomeGuy english is so silly sometimes :D i just learned that revisited and revised are two words with different meanings, but their etymology is the same. the italian word for it comes from the same latin word, but it's just one
morning
@Abe lol, i should have been english major :D
Abe
Abe
haha
for me it's "i should have been a farmer"
05:50
true that might work too... and you can be like a farmer having cigar in one hand and beer in other hand, with huge belly :P
Abe
Abe
my dream
06:29
Who here has made one pagers?
me me me
Abe
Abe
06:47
06:59
my wesbite dripstat.com gets a padding on the right when viewed on ios9.
even after going through all the css with a comb i cant figure out why that is happening. all width is set to 100% and there is nothing that should put a padding/margin on the right. any help would be highly appreciated.
screenshot of the issue above
Abe
Abe
checking it
@CSᵠ have you got a js for an animation scrill? Im trying to make one for the first time
@pdeva you can also improve navigation! border underneath looks off to line
@MaartenWachters I hate animations
@NullPoiиteя agreed. thanks for pointing out
07:04
So you just make it a hardscrol?
Abe
Abe
@pdeva there is some overflow in pro proPricings
@MaartenWachters you have your #fragments and the browser knows how to handle those
but don't listen to me anyway
@Abe hmm lemme check
Abe
Abe
specifically when you have two nested class="row"
Have you got an example site I could check? @CSᵠ
Abe
Abe
07:07
like this:
@MaartenWachters why?
Abe
Abe
the innermost row is larger than the outer one
ahhh
thanks a ton.
Abe
Abe
yw
great catch!
Abe
Abe
07:11
toptip: try removing blocks, if layout gets fixed then do the same in the faulty block subtree, then repeat if needed :B
that is a great tip indeed :)
@CSᵠ Most one pagers I see use JS so it would be inteesting to see yours
07:59
@Abe i am getting a similar issue at blog.dripstat.com/more-detailed-transaction-traces . Other blog pages dont seem to have it. I tried opening in chrome inspector, but it seems after i delete any element at all it redraws correctly.
i can see here that 'class=post' is shifted to the right but i cant tell why
any help would be greatly appreciated
morgen
yee
08:20
@Abe Ooh, that's interesting! Didn't know they had the same origin
Abe
Abe
english would be much better without anglosaxons (@PeeHaa, basically) :D
makes sense to come from the same origin, although I have never thought about those like that
they mean different actions, but have essentially a common meaning
revising implies revisiting the subject
Abe
Abe
shower & sleep a bit. later
08:37
@easwee megan
who' megan? :P
who is morgen? :P
guten morgen
:P
good morning
08:40
\o.
.o/
@pdeva I don't see the extra padding, did you fix it?
i am done with this
08:43
!o! lol or 101 or 1ol or lo1 or |0|
@NullPoiиteя That didn't make much sense. Use the !!/help command to learn more.
she's binary
!!7 and 8
@CSᵠ That didn't make much sense. Maybe you meant: d, ^, !, π, ?
woulda liked a binary response
09:18
Need naming help x.x
fucking naming
need to name indexes that I m adding to tables, so for example
add_index :claim_service_item_coefficients, [:claim_service_item_id, :service_coefficient_id]
results in index_claim_service_item_coefficients_on_claim_service_item_id_and_service_coef‌​ficient_id which violates the max char limit
so gotta manually name it
was thinking by_claim_service_item_and_service_coefficient but that shit is still huge
thinking of using the first 2 letters of each word, something like by_cl_se_it_and_se_co
@Kitler that's too @crypticツ maybe just ditch the vowels
or just go with good 'ol: i
gonna run into an issue with the ones with a ton of indexes :P
add_index :claims, [:contract_id, :insured_subject_id, :currency_id, :provider_id, :claim_type_id, :primary_disease_id, :gratia_payment_id, :user_id]
thinking of just calling all of them fk_index :P
abbrs ?
@Kitler aka formKeyword_index ?
:P
foreign key :P
fucking_index
09:30
hahahahah
that would be accurate
Consonants:
`by_clm_srvc_itm_and_srvc_cffcnt`
vs. Abbr:
`by_claim_srv_itm_and_srv_coeff`
naming shit is hard
also finished method a long time ago, pondering the name for a week, research if it fits another week, approve, then... now when in prod... it's... kinda wrong name, FML
lol
09:52
@CSᵠ Tell me about it. My kid's name is Somarphagus (joke)
@Neil lol, you're doing it wrong
* naming shit in brogramming is hard...
I hate naming indices
It's like naming those data layer methods like getByNameAndAddressAndOtherShit
totes
I don't ever like to make a method name longer than 20 characters if I can help it, and if I do, my first instinct is to scrap it
but sometimes you have to
Coming here feels like backpeddling
10:01
so chat sucks, we come here for the peeps
@Katler where's it bettr?
slack is where it's at
slack obviously :D
!!afk food
@Abe lol
Morning room
10:11
morning dad
This is the html css room. This isn't the mourning room
so true
@Neil Same thing
wow, if such a room did exist, that would be a fun place to be, wouldn't it?
rolf
10:17
o/
@Neil morning
@NullPoiиteя html
@Neil guten morgen
;P
People were talking about doms on reddit like it were a abdominal exercise or something
I was like wtf.. what is this use of the word that I am not familiar with?
10:23
wth is it?
!!urban dom
@CSᵠ Dom n. Short for "Dominant." The dominant person in a BDSM relationship or encounter.
umm.... prolly not that
@Neil meh doms
This is the post.. sounds like a workout routine?
too much nichee slang
10:59
@Neil roflmao this post
sounds like the sensation you get after a workout
the kinda pumped/ripped muscle feel
327
A: Is it possible to apply CSS to half of a character?

Razvan Balosin I've just finished developing the plugin and it is available for everyone to use! Hope you will enjoy it. View Project on GitHub - View Project Website. (so you can see all the split styles) Usage First of all, make sure you have the jQuery library is included. The best way to get the lates...

That's pretty cool.
11:26
Why on Earth is this getting downvoted?
-1
A: How to hide text thats overflowing horizontally but not vertically?

VIVEK AMIN .container { width: 100px; background: #f00; white-space: nowrap; font-size: 30px; height: 20px; overflow-x: hidden; overflow-y: auto; } <div class="container">gggg gggg gggg gggg</div>

Because it doesn't answer the question?
I am referring to the question
sorry, wrong URL
Ah, ok
Don't know, good question, although I did flag as a duplicate
Well, shit.. I just added explanation why it is not a duplicate
Ok, I can rephrase the question somehow
Regarding @Sippy's link, does anyone know the font to the image at the top of the accepted answer?
11:53
@KTOV Oswald
@StephanMuller Thank you very much dude! What is the link? I was going to inspect myself but non of the links on his answer are working :/
12:35
guys
how the hell do you optimize a 4K resolution background photo
@BoltClock ponies
@BoltClock Apparently the answer is "Don't use a photo as your background image."
@Sippy :'(
@GajusKuizinas i dont even know how you can phrase that in a way that it wouldnt be a duplicate. its an exact carbon copy of your question
1
Q: Designing for 4K resolution vs. standard

SheTeeplesSeveral of the projects I'm working on are going to be published for both standard and retina displays, plus now we're considering publishing the same applications for 4K and 5K resolution. Has anyone encountered any research that addressed in what ways the resolution increase can affect usabilit...

Seen that?
SVG might be your only solution :D
Yeah but that doesn't say anything about photos
12:37
@BoltClock the same way you'd optimize a Full-HD bg photo obv, and keep reducing...
@BoltClock uhhhhhhhhhhhhhhhh
KISS++ => it's a photo
Use Vector Magic to turn a JPEG into an SVG :D
Hi everyone
having a 4K display in a country with poor internet bandwidth...
12:38
^ is a bad idea.
Especially on mobile yo
Does anyone know about jsp in here?
But then if you think about it, how many people with a 4k display are gonna have shitty internet?
People who care about 4k don't have shit internet.
Talk about diminishing returns
12:39
Why the fuck lol
whatever.
tech hipsters rejoice
@Sippy decent internet in some countries cost as much as a 4k display/month...
@CSᵠ I'm aware :D
@Sippy One of the links in that answer links to another article that actually discusses what I'm asking about netvlies.nl/blog/design-interactie/retina-revolution
tl;dr serving hi-res jpegs? Go crazy with jpeg compression
I don't like that idea
But if it's fit for your purpose then vOv why not
Apparently the compression artifacts are nearly indistinguishable on hi-res displays anyway. Maybe
12:47
You should do some testing :D
Article is interesting
crl
crl
Guys, what am I doing wrong here jsbin.com/hajuta/5/edit?html,js,output? (Semantic-ui modal)
their docs are not so practical...
@BoltClock basically you have to compromise for the time being, and vectorize as much as possible, treat the image as a PSD needing HTML conversion and insert a minimum of image elements
that's the way i'd do it anyway
crl
crl
what? the exact same shit works on jsfiddle jsfiddle.net/crl/3Lkx4y3k
@cimmanon I have added an explanation
What ambiguous about it? I need to prevent character bottoms from being cut-off
guys, please give me 1 more downvote here gonna delete it with peer pressure :P
12:54
I phrased the title of the question wrong
GLOB is more linux than windows, because windows sux
@CSᵠ: are you peer perssuring us into peer pressuring you into deleting the post?
@Cerbrus damn right!
well, one more for my stupidness please...
@CSᵠ I don't see how I could vectorize a photo besides tracing over the thing in Illustrator and comicifying it
@BoltClock basically, something to get you a stylized version of the pic
13:38
fuck... creating the form i need to make is harder than i thought i would be ><
@BoltClock ...manually tracing?
@CSᵠ boom
@TylerH obviously I can't actually trace this :'(
best you can do for photographs is open trace settings and change the threshold around a bit and then auto trace
how about not using a photograph at all? :p
I'm just wondering... why do you want to make a photograph a vector image?
13:45
54 mins ago, by CSᵠ
@BoltClock basically you have to compromise for the time being, and vectorize as much as possible, treat the image as a PSD needing HTML conversion and insert a minimum of image elements
original question
1 hour ago, by BoltClock
how the hell do you optimize a 4K resolution background photo
What's the usage of void in php?
@BoltClock you don't, just use media queries so only 4k people see it
@TylerH So serve a 1.3 mb photo to people with hi-res displays?
(don't listen to Tyler he's a noob)
13:48
(I'm not even sure how many mb a 4k jpeg is lel)
@BoltClock yes
why not?
you might want to reconsider using a photograph at all. just because i can download an image that big without it costing an arm and a leg, that doesnt mean i want to
@Sippy it's a return value to explicitly say a function doesn't return anything
And what's wrong with that
why would something be wrong with it?
13:51
in PHP, 5 mins ago, by Abe
wasn't expecting @JoeWatkins and @NikiC to vote for void... :P yay, a new magic type! it's not a tragedy but if i'm honest i'm far from being happy about it. as i said earlier, null in php is more like void/undefined than null already, and i dislike the idea of introducing a new name for an already existing concept, just because other languages named it that way (@Andrea sorry :D i like your rfc's, i just dislike the name)
Just wondering what abe is ranting about ^_^
his ranting doesnt make much sense to me, youll probably have to ask him directly
@TylerH TYVM dude!
if i saw a function that returned void, it would imply that the function has side effects
a function that returns null does not carry that implication
@cimmanon That's why I'm wondering if there's a way to cut it down to size without compromising too much on image quality (otherwise what's the point of hi-res)
@cimmanon I'd assume it was the other way around ..
13:54
@Sippy why?
Cos you need to handle null if you return it
usually.
If void, there is no return type..
consider a function like sort(), which modifies the array rather than returning a new copy of the array that has been sorted
i think it returns null?
It would be void
oh it returns bool, even dumber
Or it should return a boolean or something helpful
yeah :P
Depends what the boolean denotes
13:57
@BoltClock Do you have a 4K monitor to test on?
@TylerH No which I suspect makes things even worse
@BoltClock Naaaaaaaaaaaaaa
It'll be fun don't be a wimp :D
I honestly don't see the problem though for just serving the full image to 4K resolutions... people with 4K monitors are clearly paying to expect a certain level of quality experience
@TylerH This is what I said ..
high quality has some costs that can't be avoided
13:58
At the same time
If the article that Bolt linked earlier holds true
There is absolutely no harm in going a bit HAM with compression
although I think it's more a case of you shouldn't use a 4k photograph as a background image
It's not like @BoltClock should know better ;)
@TylerH but... client knows best
14:00
alternatively you can save the image "for the web" in Photoshop and use the JPEG quality slider, but that'd be a slap in the face to anyone viewing it on a 4K monitor, probably :-P
@CSᵠ i didnt think boltclock had clients :p
would progressive jpeg make a dent in the problem ? / cc @BoltClock
@cimmanon either way, the saying is dead true
@TylerH I didn't realize people were so opposed to photographic/scenic backgrounds
anyone remember when the recommended total size of your homepage was 48kb? i think that was before boltclock was born :p
@CSᵠ dunno
14:07
@BoltClock in 4k.
@cimmanon i'd strive for that today too, and a max of 150bK
@CSᵠ u dont want a homepage with more than 150 burger kings, no sir.
yea lol
of course not
@BoltClock well typically I see them on hipster websites with overdone parallax
so I'm not their biggest fan
i'd get fat, website fat
14:08
fat sounds great! let's get fat!
@BoltClock you have to balance aesthetics with being practical. people dont usually come to your website for the background images
but if size/efficiency is really a concern here then I think that trumps just wanting to use a scenic background
The fat acceptance movement (also known as the size acceptance, fat liberation, fat activism, fativism, or fat power movement) is a social movement seeking to change anti-fat bias in social attitudes. The movement grew out of the various identity politics of the 1960s and campaigns for the rights of fat people to be treated equally both socially and legally. Areas of contention include the aesthetic, legal, and medical approaches to people whose bodies are fatter than the social norm. The movement, however, has been criticized, with Cathy Young, writing for the Boston Globe, stating that "the fat...
@BoltClock what a terrible movement
bleeeegh
14:09
@BoltClock fatties would consider me to be anorexic.
also there's something ironic about using the words "fat" and "movement" together
2
@TylerH Wellll it's not a requirement, I was just wondering anyway
@cimmanon usually, but there still is a market for that, nichee
But anyway @cimmanon makes a good point; background-images aren't the content of your site
@cimmanon very true
14:10
I'm a bigger fan of solid colors/gradients because they're easier to use with more colors
@TylerH that's demeaning to fat persons!!!
a dynamic, real world photograph limits what colors I can use for the content of the site, because it can clash/be unreadable
anyone seen this movie? imdb.com/title/tt0780536 there is a scene with an overweight family wanting to go to the top of the bell tower. one of the main characters warns them that its a lot of stairs for them to go up and they get offended
@StephanMuller Heeey thank you very much for your help! it works now :D I had to rename the classes because bootstrap seemingly used them for something! I am so happy that it works right now :)!
a little while later, the stairs are "closed" because one of the fatties had a heart attack on their way up the stairs :p
14:12
@TylerH maybe I should just reuse the background on my current coming soon page
@TylerH shots fired
14:32
@IbrahimApachi oh that was the weird margin in FF bug right?
cool, I still wonder what exactly was the cause but I'm glad you fixed it
@StephanMuller It was the images that should be shown on hover :P
ohh right, sorry
In Bruges is a sad fucking film man.
With a name like that I would expect it to be
sad why?
14:39
can you help me create a query? I need this in one query:
UPDATE newsletter SET agree = 'y' WHERE email = '".$_GET['email']."' and token = '".$_GET['token']."'

+

INSERT INTO newsletter(time) VALUES (2015);
@joryl have you met little bobby tables?
@StephanMuller Do you not remember the suicide bit?
cimmanon, I don't understand :(
How can I prevent this attack?
14:43
@joryl Are you working on a live system?
@Sippy I guess not
@Abe nice
I wasn't too impressed with that movie, except for Ralph Fiennes
14:43
now built a full cockpit out of it
he's always great
> YOU'RE AN INANIMATE OBJECT!
Lol
I'm not a big colin farrell fan
> I'm sorry for calling you an inanimate object.
@joryl to answer your original question, if youre using mysql, you cant. you have to use 2 separate queries. have you looked at transactions?
yeah me either, honestly can't stand his face most of the time
he was okayish in this one though
14:44
I love brendan gleeson
he's the harry potter guy right?
ugly as sin but such a good actor
He's mad eye moody I think in harry potter
yeah, that's the one
ok, I understand
I'm php beginner, just exercing php&mysql. What's the easiest way to prevent sql injections?
haven't seen much with him but so far I like him
@joryl get vaccinated
2
14:45
I lold
seriously though, you should ask the PHP room
@joryl don't append user input to something that gets executed ever
we're mostly front end
ok, thank you :)
@StephanMuller What if the vaccine turns out to be SQL
14:46
@joryl i already gave you a link that will show you what to do
@BoltClock that's what I would expect
since vaccines are dead versions of viruses IRL
ohhh.. sql burn
Just don't sign me up for the Windows vaccine
@cimmanon thank you
@BoltClock pretty sure its php that we need the vaccination for :p
14:49
@joryl If I can send " '; DROP DATABASE db;" to the server to search for, and nothing bad happens, then you did it right
Otherwise, well, hope you made a backup
@Neil or the api doesn't support multiquery (whcih a lot don't)
@PeeHaa It would still throw an error I assume
If no error is thrown (and no databases are dropped), then it should be safe from sql injection
noooooo
The developer could handle the error
well you'll agree that there's a difference between no error and error but you handle it
@joryl Use prepared statements and bound params.
14:57
@PeeHaa Is this what you talking about? w3schools.com/php/php_mysql_prepared_statements.asp
@joryl dont use w3schools for reference. i already gave you a link to a website that explains what you need to do
@joryl Yes but w3schools is terrible
4535
A: How can I prevent SQL-injection in PHP?

TheoUse prepared statements and parameterized queries. These are SQL statements that are sent to and parsed by the database server separately from any parameters. This way it is impossible for an attacker to inject malicious SQL. You basically have two options to achieve this: Using PDO (for any s...

@PeeHaa I was gonna say stop googling things for people but as he linked to w3schools, nvm. u dun good.
:D
01:00 - 15:0015:00 - 00:00

« first day (912 days earlier)      last day (2876 days later) »