« first day (2943 days earlier)      last day (2230 days later) » 

user1596138
17:00
"displayed in wrong way"
user1596138
"this code doesn't work"
user1596138
Afaik you can still do that in bootstrap.
user1596138
<div class="row">
  <div class="col-6 col-md-4">.col-6 .col-md-4</div>
  <div class="col-6 col-md-4">.col-6 .col-md-4</div>
  <div class="col-6 col-md-4">.col-6 .col-md-4</div>
</div>
user1596138
^ Straight from the docs
what is col-6?
17:03
-1
Q: jquery - reset boolean to false on btn click

ED1234I've created a slide show where each image has a button that, when clicked, reveals an image underneath. The problem is, when the previous/next arrows (or navigation dots) are clicked, and the image is "reduced", the next slide's top image stays "reduced". Trying to write a function so that when...

I need to do a dimensions accordind to the output device
guys sorry but for use bootstrap I need to install jquery?
If you are using features that require jquery, yes
but problem it with col-md with bootstrap 4
17:19
in PHP, 17 mins ago, by Statik Stasis
Ha! .https://www.reddit.com/r/ProgrammerHumor/comments/9um7xk/how_many_lines_of_code‌​_does_it_take_to_program/
lol there is no way a self driving car has 6 times as much code as the LHC
I think you're missing the point.
@KendallFrey I'd think even more, actually
@Allenph I got the joke :P
@towc Why so
Is there any way to make the react native app to be updated by the play store? Currently using CodePush. Any cons of that?
17:30
@KendallFrey first of, we need to consider which part of the LHC ecosystem they're talking about
Why wouldn't it be all of it?
I'd guess the core, because if you were to include any of the analysis code for the data it collects, you'd need to decide where the boundary is
maybe you can do that by author
all code relevant to LHC written by a certain team
Aaaaaand it's ruined.
if not, what does "all of it" mean
17:31
@towc Why not the physical premises?
@KendallFrey is analysis code written there?
are we only counting code that regulates the mechanical parts and outputs the data?
Why aren't you being this pedantic about the car?
in my head, it's just the core. For cars, I feel like it's more defined
there's a bunch of well-defined systems that run on the car
no analysis code by rantom students
Well, we can do the same thing with the LHC
take all the LHC-specific code that CERN runs
Or just all the code period, idk
huh, looks like they took the data from the same place as this graphic: visualcapitalist.com/millions-lines-of-code
17:35
@KendallFrey You could be that pedantic with anything. You could argue all of the code ever written in some way has affected this code and so it counts.
any react native guy?
please help
:(
oh wait, that's not where they got the number for the car
I'm implementing a system like SO .. it sets an orange background color to the comment which is mentioned in the URL (also it scrolls the page until that comment). The problem is, something happens after my scrolling for that comment and the page jumps to somewhere else ..
please open this .. it will jump to somewhere else when you open it for the first time, and will be scrolling on the right element when you refresh the page. why?
18:18
Potoooooooo or variations of Pot-8-Os (1773 – November 1800) was a famous 18th-century Thoroughbred racehorse who won over 30 races and bested some of the greatest racehorses of the time. He went on to be an important sire. == Background == Potoooooooo (also spelled Pot-8-Os, Pot8Os, Pot8O's or Pot 8 Os from various sources) was a chestnut colt bred by Willoughby Bertie, 4th Earl of Abingdon, in 1773. He was sired by the undefeated Eclipse. He was the first foal out of Sportsmistress, who was sired by Warren's Sportsman and traced to Thwaites' Dun Mare from family number 38 on her dam's side.The...
@Shafizadeh I'm going to guess that it's because you're scrolling the page before all the images are loaded.
is there any condition to make it running after all images loaded? (noted that my current code is inside .ready() block)
@Shafizadeh I'm assuming jQuery. .ready() is the equivalent of DOMContentLoaded, which does not wait for images and styles, only DOM.
You want to somehow make it happen after window.onload
Although I'm not sure what you can do about it if it's the browser's default
I see ..
I will work on it .. thx
@KendallFrey :DDDD Nice.
soooo I guess I'm moving back to bratislava
turns out I can finish the course from abroad and only come back for exams, as attendance is only important if you want to resit an exam, and all lectures/resources are available online
asked various management people, and the general response was that they don't recommend it, and they're not used to it, but I won't be penalized
also, they said I'd pay a lower fee because I wouldn't use most of the infrastructure
so woop woop, more chickens are going to be cooked, more basil is going to be defenestrated
18:49
good luck!
19:28
@ShrekOverflow you follow Kelly Ellis?
20:07
0
A: Array to json using javascript

Ярослав РахматуллинEvery array is an object. You are assigning object properties with the data['name'] = 'test' syntax. Arrays are indexed with integers and they "must" be in sequence. try a[0] = 'foo'. or Array.push

how can I publish content to a local npm repository in a development environment? We don't want to use public npm. would that be npm-link?
Ok, so I want to save the response from an AXIOS POST so I did a JSON stringify on it
and I am getting circular structure
20:23
@ex080 make it non-circular first
@KevinB A JSON response cannot be circular
He's doing something else wrong.
it's an axios response object, no?
Yes
function chatbox_post(msg, user, box){
    url ='http://www6.SITE.ws/box/?boxid=ID&boxtag=TAG&sec=submit'
    axios.post(url, {
        nme:user.name,
        key:user.token,
        pst:msg,
        aj:'1'
      })
      .then(function (response) {
        console.log(response);
        fs.writeFile('./response.json',JSON.stringify(response),(err) =>{
            if(err)
                console.log(`error: ${err}`)
        })
      })
      .catch(function (error) {
          fs.writeFile('./error.json',JSON.stringify(response), (err)=> {
I removed some parts of the URL because it contains tokens
@lyulnie Welcome to the JavaScript chat! Please review the room rules. If you have a question, just post it, and if anyone's free and interested they'll help. If you want to report an abusive user or a problem in this room, visit our meta.
20:26
axios is right a response shouldn't really be circular
user9096175
Looking for new admins!
what happened to the old admins?
user9096175
It's a new group
Are admins admins if there aren't users there to admin
so you're looking for admins?
user9096175
20:27
Yes
good luck anyway tho
user9096175
There are users there
user9096175
There is 4 People there
there were 2 when you linked
:p
I left no intend to come back
so 3 maybe
user9096175
20:29
Okay help me spread the word
specialized room is better
meh
rooms with people in them are better, specialized or not
with the user base they have yes
whatever
if regulars in here agree to move I will
i'd be happy if a select few users move
Am I in a room?
20:36
still have your iphone 6 kevin
I'm looking at the blackberry fromthe iphone 6
I don't need most of the featurse on the iphone
but hated my last android phone
meh
all i do on my phone now days is read the news and look at discord
any phone can do that
I browse the web a lot
the iPhone seems to be more fluid
same
iphone comes with safari, which sucks
it has a chrome app, but it still users safari behind teh scenes anyway due to the way apple has it restricted
20:39
I prefer safaris gui layout to chrome
have you seen the new chrome gui on mobile?
but yes basically browser loc kin
no i haven't
when i first saw it i thought i accidentally opened safari
but its pointless for reasons you stated
I use chrome because it allows me to see tabs that are open on my desktop
20:40
I should create my own browser for chrome with UIWebView
(either of my desktops, home or work)
it doesn't open default in chrome
though
it does for most things
with a link from email
only thing i've found that doesn't is the built-in email app, but i use the gmail app
document.getElementById("btn1").addEventListener("click", function (e) {
  e.preventDefault();
  $.ajax({
    url: 'http://www.first.com',
    method: 'GET',
    dataType: 'json',
    success: function(url) {
      window.location.href = url.getBody;
    }
  });
});
window.location.href = url.getBody;
i mean, that counts as an attempt right?
just making up a function name and calling it on a random parameter
20:48
I don't like that my phone costs more then my laptop so I keep trying to find a cheaper way
my laptop has upgrades but is a used computer from several years ago I upgraded
buying used iphones by 2 years doesn't knock of much in terms of price
knock the price down by keeping your phone for more years
my phone's battery is still above 80% capacity... no reason really to replace it any time soon
i mean, bsides, the newer phones are even worse when it comes to battery life
for some reason they went backwards with the X's
21:22
battery life screwed up everything
I use my phone so much I have to have an extended battery
i only plug mine in at work
i have a charger in my truck in case of emergency, but haven't needed it in months
the fact I would have to plug it in is annoying
I have a battery case on my 6
I am in University and its impossible to plugin it in longer then an 1 30
mine goes 10% to 100 in like 20 minutes
yeah but mine only lasts a couple hours after the charge
when plugged in directly to an outlet
it's MUCH slower connected to a computer or my truck
21:26
either way I shouldn't have to do that
because batteries are cheap
it's a battery, it needs charge
I don't mind carrying a heavier phone
just put a larger battery
buy a few battery packs
21:27
that also sucks
I have a battery case like I said
i have one at the house with a jquery logo on it
in fact my android has a battery pack taped to the back of the phone
because of course i do
I wireless charge from the battery pack to phone and it sometimes gets really hot
charge it up before major storms just in case
21:28
like crazy hot
we have a generator
so no need to do that
or long trips etc
we do too, but there's no guarantee we'll remember to get fuel :p
your car has a generator
oh yeah I guess if you forget fuel
it's rare, super rare, but there's a chance with major storms for fuel supplies to be affected
I live so far inland
hurricanes are nonexistant
and not in tornado line
we're just barely out of range where most of them don't affect us
tornadoes only cause localised damage
not a huge threat
21:31
that's true I guess
we get a lot of them, they're just... not a big deal
except when they happen with very high frequency, like when katrina came through
:p
our family in texas has a concrete room in their garage in case of tornadoes
had one pass through last week actually.... i haven't heard any reports of damage
user8729657
21:56
Yo, how do I make it so that when people visit my website and refresh or come back their cache is refreshed so they don't see old content when I updated the webpage?
depends on where that content is hosted
the base html that you send is usually never cached
set proper caching headers on the backend that purposely expires content that has been cached older than x
Only other alternative would be to give it a new name
in case you want to go for versioning instead of expiration, you can add a hash at the end of the requested resource, maybe after a ?hash=
this way their client will still cache the right version, but when the base html says to look for something different, the client will
user8729657
so @KevinB I can make a picture expire?
22:09
mostly for non-europeans: does this say "8 after BNE" (or similar number) for everyone? codepen.io/towc/pen/XybKoq
9 after ISL (Islamabad)
uhm, thanks
it's definitely not noon in islamabad
moments like these make me wish I didn't live on UTC, to see if things work by coincidence or because timezones are accounted for
@KendallFrey does the clock show the right hour at least?
if we went by UTC, the "day" would end 1 hour after closing time
looks right
oh what, it's also not noon in brisbane
22:14
i got du
💩
ideally we should all get the same thing
I clearly need to account for timezones
or not
use utc
but then it wouldn't show the local time correctly
16 after BNE (Brisbane)
Why can't you use one to get the location and another to show local?
I could, but I have a feeling it would be more complicated
22:17
at least it would be correct
is it brisbane for everyone now? (@KendallFrey)
sorry to ping you
I'm actually not sure how to debug these things
if not by changing the system clock
You can just change your timezone
ok, should display the same correct noon-locations for everyone now :)
22:31
ew
user8871181
I reckon the most difficult part of web-building is design - where should I go for inspiration? Could anyone here share a link to their websites so I can have a peek?
your guess was correct @MadaraUchiha .. the issue was exactly because of the image-loading-delay .. I fixed it by wrapping this surround my scrolling code: $(window).on("load", function() { // scrolling code });
22:49
US folks when do we find out who is winning?
No idea how US election works, this is partly my ignorance, partly the fact that googling us election results into a barrage of information that may or may not be relavent
i'll just be watching cnn for it later tonight
mute it if you don't want to listen to the noise that they fill all the empty time with
but their election coverage is usually pretty good
0
Q: is it possible to turn off all of chrome or firefox securitty meassures?

badabumWhen I writte some js in the browser, I keep getting errors in Chrome like: "Refused to set unsafe header" or "Refused to connect to "..." because it violates following content security policy directive: "conect-src 'self' ..."" Is there a way to make chrome or firefox to stop helping me from ge...

23:06
@ShrekOverflow I think they'll pretty much know by 11pm GMT-8
@forresthopkinsa Who is Kelly Ellis 😃 ?
the twitter girl that got IPS banned from HNQ
they'll do the "Breaking News!" headline every 2 minutes to state that they don't have any new information
23:48
@forresthopkinsa isn't she also involved in some kind of scandal at le Google?
it's interesting how some people just need whine for SE's people to fucking get out of their ways to do anything and everything they wish
especially when they have never, in any way, contributed positively to the network
totally agree^
and yeah I think she is
@forresthopkinsa what is HNQ?
she seems like someone who just goes around stirring the pot
hot network questions
vOv
No idea still but this freaks me out
more than anything, read it today postmeritocracy.org

« first day (2943 days earlier)      last day (2230 days later) »