« first day (2028 days earlier)      last day (2923 days later) » 

3:00 PM
hmm, the figures are dependent on the user's machine
@SomeGuy browser/os?
 
Chrome 52.0.2716.0 (Official Build) dev (64-bit)
Ubuntu
Got to run, see ya later
 
Is she hot
 
:( FFS EJS
		<% for( var message of messages ) { %>
			<div class="<%= message.type %>"><%= message.body %></div>
		<% } %>
works
		<% for( const  message of messages ) { %>
			<div class="<%= message.type %>"><%= message.body %></div>
		<% } %>
has the scope issue
every message is the first message
 
Something like this @ssube
 
3:07 PM
@Meredith not sure when it's hot. Everyone should have 37°C temperature
 
@ssube ok that is fine but what about div overlap.
How I will avoid that?
 
hi, I have an application that needs a bit of jquery but I have not got time to learn jquery, as the app is launching in the next few days. Any chance anyone could fix my bodged bit of code? It is a very simple function... jsfiddle.net/vVxM2
sorry to be annoying
 
in what way is it brokenh?
 
I need to limit the number of checkboxes by class
but it doesn't limit any!
 
official jQuery documentation is down. Rely on memory or use w3schools?
 
3:11 PM
@Learning not sure how those things are related
@JanDvorak don't use jQ?
 
Cross-browser keyboard handling without jQuery is a mess.
Also, this project already uses jQuery heavily
 
buy a mechanical keyboard
it will fix the browser events
 
@ssube see this js fiddle I have created
 
Namely, I want to verify the keycodes for tab and enter
 
@LemusThelroy are you sure it's broken?
 
3:13 PM
> Boss at 10am: You're leading a POC call today, I'll send you the invite.
Me at 11am assuming the meeting is at 12:30 like usual: Hey what time is the meeting, I didn't get an invite.
Other woman in meeting: It was at 10:30 but nobody joined, did you not get an invite??
._________________.
 
you should have asked the time
 
> Hey gurl, gimme those digits. On your watch.
 
w3schools time it is then.
 
@KevinB Sorry I posted the wrong link. jsfiddle.net/rrr30h05
@KevinB I have been robbing Jquery from across the Internet due to my lack of expertise
 
3:16 PM
do you know javascript?
 
no :( I want to learn but I'm working to a deadline. sucks
 
I just spent the last 10 minutes alphabetizing @BartekBanachewicz's google sheet
 
so.. you don't know jquery, don't know javascript, but have a strict deadline to build an app that requires both and don't have time to even try to understand how each works...
 
is there any syntactic sugar for upserting into an array?
 
@KevinB That's accurate. I learnt python for the last 6 months and commited to building an app in Python.
 
3:18 PM
you have an onchange attribute, that executes a function, that binds more on change events.
 
time has got away from me otherwise I would have read up on it
 
Kevin, i've feeling that his "project" is for school
 
^^
 
@corvid setting an array index is an upsert
with a single-threaded language, you don't have to worry about atomicity there
 
3:20 PM
If you're not willing to learn, me helping isn't going to be very pleasant for you.
 
Are form elements valid outside of form tags?
 
yes
 
ty
 
@KevinB I'm not sure I have a choice. Unless you could recommend some material that really gives a beginners tutorial on how to limit checkboxes by class
 
@rlemon ejs is a bug
 
3:23 PM
@ndugger no, it's a feature
 
Work through it with me then. for starters, you have a function that gets called on change, and that function binds change events to the checkboxes.
so.... every time a change happens, more change events are going to be added on top of the change events already there
 
does it need to be a function to work?
 
plugins: [
  new webpack.DefinePlugin({
    'process.env': {
      NODE_ENV: JSON.stringify('development'),
      MONGO_URL: JSON.stringify('mongodb://localhost:27107/test')
    }
  }),
  new webpack.ProvidePlugin({
    'Promise': 'bluebird'
  })
]
 
you don't really need that first function at all, since you could instead just bind the change events that you had within it directly on dom ready
 
is there anything wrong with this in a webpack config?
 
3:27 PM
so shall I delete the function element out?
 
@corvid a) why are you defining environment variables in webpack? b) why are you stringifying strings?
can you not use webpack's process shim and normal process.env['NODE_ENV'] || 'production'?
 
ifData.src = sortedData[i].page;
Where sortedData[i].page = cadProfile.html
 
@ssube It's for a desktop application that uses React and Electron, should I just use a .env file?
 
The outcome on the ifData is <iframe id="ifContent" scrolling="no" seamless="seamless" src=""></iframe>
 
@corvid you should probably use the environment and sensible defaults...
 
3:30 PM
The src from the iframe is not being written for some reason
Anyone have any idea.. I can't even form words to search for that :(
 
.src will give you a full path
not the actual attribute
you should read getAttribute('src')
 
I want to set it
Well
 
you are checking it
 
I know setAttribute
 
if( "http://example.com/page.html" === "page.html" )
iframe.src will not just give you "page.html"
it gives the full path
 
3:34 PM
it's =, not ==
 
Oh no no no, the actual line of code is `
ifData.src = sortedData[i].page;`
 
ohhhhhh
your variable name threw me off
 
I just meant that the object sortedData[i].page is cadProfile.html
 
ifData
pls
 
haha
iframeData
 
3:35 PM
I thought you were giving me pseudo code for if( data.src === ...
 
I have no creativity for those things..
Oohh yeah makes sense
 
!!afk stupid 4 hour meeting I can't stress enough is pointless
 
still not great, but better than ifData
 
Never thought that way, going to change it before I get confused as well
Ok so, this: iframeData.src = sortedData[i].page; is giving me a blank src in my iframe
 
what does your network panel say? 404?
 
3:38 PM
@ndugger is your headeache alright now?
 
Nothing
It says nothing :X
 
Better, but If I were you, I'd go with what other people said; use canvas instead of divs
 
@KevinB Would I be going in the right direction if I stopped trying to call it as a function. and just run it on the page
 
@ndugger but then I have to again start from scratch
Ok thanks for the suggestion
 
Managed to do a workaround...
Instead of setting the src of the iframe, I use the anchor tag and put the target to the iframe
Now I just need to figure out a way to make my menu to keep activated when it goes over my iframe
 
3:49 PM
It doesn't sound like an iframe is what you need...
 
Well, it needs to display a page after selecting a item from the menu
It just needs to work like a master page
 
@KendallFrey Don't mess with grandma
 
The problem is that when I hover over the menu and the mouse goes over the iframe, the menu gets shut down because I'm in another page
Even with z-index set to maximum possible
Yey it is working, thanks all :)
 
4:15 PM
@ndugger why didn't you, dunno, use "sort"?
 
BRB
 
@BartekBanachewicz I couldn't get it to sort on columns without breaking the entire sheet into a clusterfuck of fields in compeltely wrong places
 
4:30 PM
Hello, I was experiment and I got error Uncaught forename is undefined, even though I should be able to access it, tried re-arranging it a few times, but can't find the issue, probably simple:
function object(contents = {}, parents = [])
{
	this.parents = [].concat(parents);
	this.inherit = (parent) => {
		this.parents.push(parent);
	};

	this.contents = contents;
	this.access = (name) => {
		if (name in this.contents) { return this.contents[name] };
		this.parents.forEach((parent) => {
			if (name in parent) { return parent.access(name) };
		}); throw name + " is undefined"
	};

	this.define = (name, value) => {
		contents[name] = value;
	};
};

function main() {
	a = new object({
		forename: "John",
 
@Krush Don't have multiple statements in one line, it's unreadable
 
Why?
I mean... why is it unreadable, seems pretty clear, but ok
Is there any obvious issue?
Why not just read frickin byte code then...
Sooo nobody knows whatever is wrong with what I wrote and I need to re-arrange the whole thing?
meh... they can hammer me...
Oh I know you're not, but when it comes to arguing, I don't mind getting attacked, a lot... as for making it easy to read, for me it's easier to read in my style, and so I'd have to change a lot just to show certain issues, which I can freely do, but all that I am talking about now is my confusion of why it's unreadable... Maybe it needs that teeny bit of extra effort but anything beyond that is beyond my understanding, hence my curiosity
I think I know the issue though... probably not but I'll try this solution in the mean while
 
@Krush The issue is that you can't return early from [].forEach()
So if you didn't break out of the if at the top of this.access(), you'll always hit the throw.
 
@Madara oh I used for earlier but tried forEach to perhaps solve the issue, but the issue remained...
 
4:45 PM
@ton.yeung Interesting read
 
I really hope
Civ 5 is worth the pain downloading it
 
@ton.yeung not
 
@Abhishrek it's pretty fun. Beyond Earth was funner, IMO.
It should have been DLC instead of a new game, but the alien barbarians were cool (unit variety) and the unit upgrade trees were nice.
 
Is it just me or youtube's fullscreen no longer eclipses the whole screen, rather the entire site's canvas
Srsly?
 
@Krush It happens some times
 
4:52 PM
It just doesn't cover the taskbar nor' the tabs, omnibox & bookmarks
Tried reloading etc
Plugins or Extensions? Because I don't have any additional plugins
 
user5992646
did any of you find it hard to become a developer? I feel like crying but I don't cry that's a different thing but I do feel like crying at least.
 
Nope
 
user5992646
@ton.yeung That sounds different.
 
user5992646
@ton.yeung the stopping for a year feels familiar but the made sense part is just not happening for me. thank you though.
 
user5992646
what did you start with again?
 
4:56 PM
Oftentimes people think of programming as difficult until they try it, some of those who know it can find it annoying to always have to define tasks that are part of your common sense because you have to tell the computer what to do, exactly...
 
user5992646
I started with C and restarted with PHP
 
user5992646
lol but seriously.
 
Oh my god
 
user5992646
why directly to c#?
 
I found that scripting languages can be easy to begin with, such as Python or Lua @Todo Pertin
 
user5992646
4:57 PM
@SterlingArcher what? I do not understand.
 
user5992646
@ton.yeung like abruptly.
 
@TodoPertin .. JFK?
Really? O.o
 
everybody has heard of/slept with JFK
literally everybody ever
 
Everybody knows Dave
 
Who doesn't know Dave
 
user5992646
4:58 PM
@Krush PHP is easy as well but learning programming is endless which frustrates me. Still i did not do anything useful with programming.
 
user5992646
@SterlingArcher I know JK but didn't know he had a middle name.
 
@Todo Pertin what do you mean Endless?
 
What
@TodoPertin who.. are you thinking of? What does JK stand for for you? (Not "just kidding")
 
user5992646
@Krush Endless means I keep learning without being able to do anything useful with what I learn.
 

« first day (2028 days earlier)      last day (2923 days later) »