« first day (2386 days earlier)      last day (2564 days later) » 

12:00 AM
!empty($_POST["rowName"])
 
bloody hell now the radio button it messing my my entire css
sorry for the pic ....
echo "<td> <input type='radio'> </td>";
keep that boy in the while loop that was pulling up the data in table format
 
12:40 AM
@lix any idea whats messing up the radio
 
12:51 AM
@Smple_V I do not sorry
 
 
1 hour later…
2:41 AM
 
what is it
 
@KevinB It's a pot
 
3:47 AM
are you going to paint it?
 
3:58 AM
@ndugger Were your hands guided by a long lost lover?
 
 
 
1 hour later…
5:26 AM
@All hi..
 
Hi!
 
need one suggestion ..
 
i'm sleepy
 
i have a form, which a default value import button, the scenario is when we edit the page is loaded. there we have default value import.
when the user clicks on default value import then after some background processing some data is loaded.
but when i save this loaded data is not available in formdata object.
but after i implement the default import, and make any changes, like change a value in dropdown then the data is available in formdata.
i need to know how can i update the form value on completion of default value import.
 
how are you getting the values and submitting them?
 
5:30 AM
so that the latest data is sent for save
e.formdata
i get all the data
before submit
 
hi
 
@Zeusper Welcome to the JavaScript chat! Please review the room rules. Pleasedon't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
 
2 hours later…
7:26 AM
is it possible to take a look at items in RabitMQ queue without consuming them
 
@GandalftheWhite You can consume it and re-queue it, but you lose the ordering.
 
Hi everyone,

I used "yarn upgrade" to upgrade a module, but webpack 2 is still bundling the old version.

What should i do? :-)
Is there a command to clean webpack cache?
 
Morning all
 
Webpack doesn't have a cache? It bundles whatever is in node_modules
 
@SterlingArcher did I seriously never link you Periphery?
 
7:35 AM
@GNi33 SterlingArcher is afk: OOOoohhhhhhh
 
I want to create an api
 
@SterlingArcher @BenFortune @Loktar new Wage War :)
 
Good morning everyone.
 Can someone take a look at the comment and tell me how to do it?   app.post('/api/sign-in', function(req, res, next) {
      firebase.auth().signInWithEmailAndPassword(req.body.email, req.body.password).then(function (user) {
        console.log('a new user has signed in! their e-mail address: '+user.email+' | User ID: '+user.uid)
        //change window.location to another page? implement here, or in public/javascripts/scripts.js where there is a (document).ready() function?
        }).catch(function(error) {
 
@BenFortune Thanks ben, so i must be doing something else wrong.
:-)
 
7:37 AM
I want to create an api for my code,
googled "JavaScript create own library"
followed first link and went through tutorial
this is what I read in ends ~comments
^ as you can see I made an effort, can someone help me find a tut to create a JS library for myself please ?
 
@konyv12 You won't have access to anything on the client there. Though you can just do a normal res.redirect('/foo')
Unless you're using an AJAX request, which will follow redirects, but won't change the actual browser location
 
Actually I am using an AJAX request
 
You can return some JSON to a URL you want to redirect to, then do it on the client
@littlepootis Just seen that on leddit, what the fuck
 
7:46 AM
what do you mean by returning specifically? res.send?
 
@littlepootis wut? A secret toilet?
or mirror on the wrong side?
 
Was thinking something more like res.json({redirectTo: '/foo'})
 
where would that get stored?
 
There are three bathrooms.
 
what's wrong with that?
 
7:50 AM
@amin thank you very much, I am going to have a look
 
A bathroom with a closet in it, a closet with a bathroom in it, and a bathroom without a closet.
All attached to one frigging room.
 
@konyv12 Not sure, you said you wanted to redirect to another page.
 
oh wait, you don't have to pass through a bathroom to get to another bathroom, do you?
 
Yes but I am a beginner, I am just asking anyway, if I do a res.json({data}), that would be stored where?
 
7:51 AM
then isn't that completely fine?
 
how could I access that?
 
for how many people is the house?
 
Three bathrooms for a room is completely fine.
 
It won't be stored anywhere. You said you were using AJAX, so in your response, you could do somethng like
 
oh wait, is the whole house 3 bathrooms and 1 room?
 
7:52 AM
if(response.redirectTo) window.location = response.redirectTo;
 
I don't know what your client code looks like
 
got it! that would be a callback to the AJAX request on the client side?
 
Aye
 
awesome, thanks a lot
 
7:53 AM
Why would anyone need three bathrooms for one room?
 
@littlepootis Sex
Orgies
 
well, I'd guess it's a buffer room
 
TIL orgies.
 
if it has 3 restrooms, the owners are probably somewhat rich, so they'd be the kind of people who'd have buffer rooms
 
@towc But why would you have 3 bathrooms for 1 room
Even if you're rich, it literally doesn't make sense
2 I could understand, his and hers
 
7:57 AM
threesome
 
SOMEONE THINK ABOUT THE CHILDREN
rich Italian houses usually have a guest's everything, including toilet
 
three of them?
 
it doesnt make sense for the rich to buy a car that costs 100k but they still do it
 
but yeah, then it wouldn't be accessible from the same room as the owners
 
7:58 AM
Good afternoon guys
 
It'd be in an outhouse, or their own on suite
 
i have a question that maybe you guys can answer :)
not exactly about javascript
i want to list out questions about browser bugs ... more specifically bugs related to chrome browser bugs
 
we don't know anything else
 
Is it okay to repost my question after making changes to it ?
 
how do i search this on stackoverflow
 
7:59 AM
our knowledge is restricted to JS
you know that chromium has a bug tracker, right?
 
@towc thanks
hmmm yeah
 
use that?
 
but i would prefer the questions and answers posted on stackoverflow
 
What kind of bugs are you looking for?
 
tough luck
that's not what SO is for
 
8:01 AM
browser bugs .. related to chrome
 
jQuery's source code lists tens of them.
 
what exact question do you have?
 
i don't have a question @towc :)
just want to search SO for people posting about browser bugs related to specifically chrome
Am i making sense ? :)
 
most of the chrome related questions should be about bugs
 
awesome :)
Thanks .. that was what i was looking for
 
8:10 AM
0
Q: How to auto load page/div using jquery ajax to the data within foreach loop?

metalhead101Till now I am stuck with these code here the code for ajax I know This is wrong ..or something is not right .. <script> $(document).ready(function() { $.ajaxSetup({ cache: false }); setInterval(function() { $('#divToRefresh').load('userCount.php', function(data) { ...

pleae help
anyone
 
don't spam in multiple groups
 
8:37 AM
only spam in one
 
^ lol
 
 
2 hours later…
10:25 AM
hi
 
This is the best youtube channel in existence: youtube.com/user/angeleyedboidan
 
I'm getting a "cannot GET - localhost/ Failed to load resource: the server responded with a status of 404 (Not found)" after building with webpack
I've rolled back to the latest stable build but now it's always a blank page on render
 
You're bundling your server files with webpack?
 
yeah
 
Why?
 
10:35 AM
Hey Guys
 
It's the boilerplate we are using at the moment
 
try{
h[header]=JSON.parse(cleanedString);}
catch{
h[header]=cleanedString;}
 
was working fine until I installed a new node package yesterday
 
cleanedString value is 010
 
but I've since rolled back and now it browses to a blank page.
 
10:36 AM
but h[header] stores value as 10
 
You shouldn't have to bundle your server files. Have you checked the webpack output?
 
yeah so my output in webpack.config. Is like
output: {
    path: path.resolve(__dirname, 'dist'), // Note: Physical files are only output by the production build task `npm run build`.
    publicPath: '/DDOMISC/', //Set to name of Github Organisation hosting the site.
    filename: 'bundle.js'
  },
 
No, I mean the actual output (bundle.js)
 
@BenFortune Any idea why?
 
@ILikeToMoveItMoveIt I don't get you, are you literally trying to JSON.parse(010);?
 
10:42 AM
JSON.parse("010");
 
Which is invalid
 
But it still goes through. and stores as 10
I am lost :/
 
has anyone used node package publisher?
 
@ILikeToMoveItMoveIt It's going through to your catch, and storing as "010". Then wherever you're outputting, it sounds like it's casting to a number and outputting 10
 
my colleague used it with this line app.use(require('publisher').routes) and it works
recently, i got version 2, and this line keeps saying app.use require a middleware function
 
10:48 AM
@ngunha02 That doesn't sound right, since it doesn't expose a routes property
 
i reversed back the version to 1.0 with npm install publisher@1.0 and still got error with that line...hmmm
lol, cannot find much info about this
 
You sure it's that package? It's never had a routes property
Plus it hasn't been updated in 5 years, which is a very long time in the JavaScript world
 
I may grab a wrong one then
the old environment, the nod module package has more file than the current environment
 
@BenFortune Hi. Do you remember our talk yesterday about CRUd oprtaions online with actually POSt/GEt etc?
free online I mean
 
Not really :P
 
11:03 AM
@BenFortune I meant something else but nvm sorted it out. Opening a channel and then writing the message to a specific queue seems like the flow
I have two questions
 
-
 
If in a use case request is coming very frequently, is it okay to call same code again and again
 
22 hours ago, by Ben Fortune
Oh wait, that doesn't store anything
 
as in making the connection then channel and then message for every data getting dumped
 
@BenFortune Anyway I did this : server71.herokuapp.com
 
11:04 AM
can't we just directly dump data to queue and the connection and channel opening part will be done once
 
I think it's pretty nice. problem is that it's shared. but NM this will do the job for plnkrs etc
(tested with fiddler)
 
@BenFortune No. I debugged it and it did not go into the catch. This is Weird.
 
@ILikeToMoveItMoveIt No, it did. Because that's invalid JSON
@Royi Ah, nice
 
11:22 AM
woo hoo my dirt is here!
 
@BenFortune Asked here about making it scoped to session. stackoverflow.com/questions/43679027/…
 
12:11 PM
@KendallFrey @Loktar @FlorianMargaine you know what day it is!
 
12:22 PM
morning everyone
 
12:37 PM
Guys, can you check these two doc reviews please? Make sure they're rejected? stackoverflow.com/documentation/review/changes/… stackoverflow.com/documentation/review/changes/…
 
12:55 PM
Both show as rejected to me, 19 minutes ago
 
@JohnPavek Welcome to the JavaScript chat! Please review the room rules. Pleasedon't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
wtf is "transparentize" in SCSS and where did that come from?
 
I believe it is the directional opposite of opaque
Like, instead of saying less opaque, you could use transparentize
 
@JohnPavek yeap.
 
@corvid It's the web equivalent of rubbing a stick of butter on a sheet of paper
 
1:08 PM
That's an uncomfortably good analogy
 
@OliverSalzburg That's a good analogy. 10/10
 
quick css question: is this even a valid selector? .item:not(.group):hover ?
 
@corvid sure
See how fast that was to write? You should try it sometime
 
1:23 PM
@BenFortune ok yeah I had changed the publicPath: '/' in webpack dev config. Which is why I couldn't GET
working now :)
 
@rlemon Damn son
 
I wanna redo rlemon.ca
need to make a snappy background again
 
I like mine, but it's really half assed
I don't think the stars are twinkling on mine
 
it will never be acko.net snappy
 
3.2mb and 4s to load
snappy
Pick one
 
1:42 PM
loads fast af for me
and I'm on shitty internet
 
> Also – I’m not sure if I replied about Jordan yet. We are definitely still considering him. We’re just trying to build out the right team and finding the right mix of people has been difficult. Although we are intending on making offers as soon as possible and I will let you know either way about Jordan most likely next week.
Ugh I hate waiting.
I just want to knowwwww
 
@rlemon heya!
you used to have a script to monitor staring right?
can I haz pls?
we have a troll in r15
 
@GNi33 @Loktar youtube.com/watch?v=_3P26FaPxgk 10/10 did not know Aaron could scream at all -- he killed it!
I miss Austin though 😬 but he's recovering in Costa rica
 
@Ahmad they patched it
ping a mod, they can still see it
jsfiddle.net/rlemon/eqwhc3ww/6/show man that's so much faster. don't draw the background ever frame, but instead make it a css background
 
ah damn
thanks tho!
will ping a mod
 
1:55 PM
@rlemon @FlorianMargaine @KendallFrey you mean this day??
 
lol
nice url.
 
lol
 
codepen.io/rlemon/details/VbpMrV viola! my first pen in ages.
 

« first day (2386 days earlier)      last day (2564 days later) »