« first day (1385 days earlier)      last day (3546 days later) » 

8:00 PM
is this what you were talking about for 'code' EventSource()
 
meow
 
@jbolanos yeah
 
thanks - will give it a try
 
8:25 PM
@SomeGuy, @FlorianMargaine So while I'm racking my brains for a suitable backend, I had a thought: Say you're goofing around, and made an oopsie (syntax error, a non-related check line, etc).
There should be a way to say "ignore this line".
 
There should
 
But it shouldn't delete it, as that could lead to all kinds of stuff (after all, if that line changed x from 3 to 73, then the other user would still see x as 3)
So maybe some yellow background with a warning sign and bright neon lights?
 
Yeah, seems fair
 
But then you'd need a button to do that
And now it's more complex, so there should be like a help page (like the dev-tools' F1)
fml
I still haven't thought of a good backend
 
Have fun
 
8:28 PM
@Zirak I wouldn't worry not having that
at least to start off
@Zirak nodejs/postgresql, heroku is cheap.
@Zirak honestly it's not such an awesome feature to have
 
I do what Ryan said, use what I want to learn
 
@FlorianMargaine So am I
@FlorianMargaine Really? So what would you do if you accidentally mistyped a variable?
Wrote a comment, "ignore this"?
 
@Zirak redo it, or show it anyway, it's a playground
 
Apparantly I can now get 150Mb/s interent now from Comcast, if I choose to sell my soul.
 
I don't want it to be perfect, I just want to be able to quickly share some working snippet
 
8:35 PM
So there's something useful in Windows after all. I got Windows fonts installed on my Linux box and the migraine didn't re-appear!
 
"Windows fonts"?
 
This is a list of fonts shipped with Windows 3.1x through Windows 8. Fonts only shipped with Microsoft Office or other Microsoft applications are not included. == See also == List of typefaces List of typefaces included with Mac OS X Unicode typefaces == References == == External links == Revised (cross-platform) font stack (for the web)...
@Zirak
They are sharper
 
eh, DejaVu and Liberation are nice on my eyes.
Which did you try out?
@FlorianMargaine Why postgres and not...anything else?
 
why anything else?
 
I don't have something specific on my mind, you did. Why?
 
8:40 PM
I know it's provided on heroku anyway, not sure about other dbs.
postgres is the only sane open source relational db afaik
 
Why have it be relational?
 
Heroku has MongoDB too
 
@Zirak good question. I just think it leaves more freedom to what comes next, since you can easily build statistics thereafter, for example
 
Postgres gives you more freedom over schema-less stores?
Redis, for instance, I can just say "hey, put this property on random object x", and it'll go, "k"
 
It vives more freedom as tout how tout request thé data, yes
Wow
Let me switch the keyboard to English.
 
8:44 PM
So some "v" -> "g"
 
It gives more freedom as to how to request the data, yes
 
How did "to" turn into "tout"?
 
@Zirak I used a premade script to install the fonts as I can't get anywhere with migraine and nausea, so I'm not sure but it looks like it's using Tahoma. I thought Tahoma when programming for the web but it doesn't look bad on desktop.
 
"To" doesn't exist in french
 
+1 For the Redis mention
@FlorianMargaine Are you using a phone-style "completer" on a desktop by chance?
 
8:47 PM
Anyway, I don't quite get it. In a relational db, I'd have two columns in the beginning: "id" (or whatever) and "messages". The SELECT with probably always be by id. Non-relational, I'd have some object, with "id" and "messages". The selects will also be by id.
 
I don't like how redis stores data, it looks messy to me.
@Sufu no I'm on mobile
 
@FlorianMargaine Oh ok sorry.
If not it would be cool to have that on desktop
 
nah, autocomplete is weird on desktop. On mobile it makes some sense since navigating is a bitch, but you have a keyboard here
@FlorianMargaine Exactly, how is something so trivial not also suitable in one of the gazillion nosql dbs?
But it's not so important
 
I'm not saying it's not going to work, just that I find it less messier in a relational db
 
8:50 PM
welp
2 hours of work down the drain
 
In general, or in this case?
 
In this case
 
Yeah but it's used eg. for programming languages keyword completion
well maybe that's the only case where it's useful :)
 
I'd use a document db if I were sure that I'm not going to extend on the usage, but statistics would be nice for example. The only db I'd consider would be couchdb though
Mongo sucks
 
I read somewhere that Mongo goes tete au tete with Postgresql under heavy loads
 
8:54 PM
I'd go for the opposite: Schemaless if you feel like extending and changing. In relational DBs you're stuck working with columns - You can't have a property on one row, but not another.
While mongo used to suck, I haven't used it in some time, and people have told me it improved wonders
 
really? I heard it didn't change much, while postgresql just got better on document-based storage
even faster than mongo, while actually being ACID
 
(also, mongo and couch aren't the only document-based dbs)
 
I know, but I wouldn't trust others to be as much battle-tested
and heroku provides only pg and mongo, so I'd go with either
(iirc)
 
I'd trust google with LevelDB, at the very least
And I can still always opt for flat files
 
well, it's similar to redis
@Zirak that wouldn't scale very well
honestly, just go with whatever you want (like/want to learn), but take into account the hosting issue.
 
8:59 PM
It's all I'm taking into account
 
you're thinking about GAE?
 
It's a possibility
Doesn't have node though, which is a big downer
 
well, you could learn go :P
 
Go exception handling is weird :/
 
There are managed VMs, but they look...scary
 
9:01 PM
It looks like when you had to handle exception 20 years ago
for everything -> if ! item then err else ..
 
NESCeption
 
@rlemon cartridge adapter?
 
appears to be an NES
inside of a cartridge
 
^^
 
9:16 PM
is it useable as a cartridge itself?
 
probably not
 
that would be the best
 
it definitely should be.
It does show how far we have got, though
 
@FlorianMargaine I may take it back: wiki.postgresql.org/images/b/b4/…
 
> The actual maximum whole number that can be stored is more in the range of 9 quadrillion (15 zeroes), which is still pleasantly huge. -- inaccurate
(from Eloquent Javascript)
 
9:22 PM
((I'll be down for about an hour))
 
(hrm, it may be worth it to dust off some old PC...)
 
@CapricaSix again?
 
You want to host her? I've got bashiggles to do
 
that wouldn't help the uptime
 
@Zirak page 29 makes you wet?
 
9:23 PM
It sounded so impressive at first, but then I looked at all that stuff surrounding my beautiful js :(
Holy bajesus, this old PC actually does something when I hit the power button
ah, the smell of CPU crunching through dust...
 
dangerous!
 
"danger" is my middle name
 
You should treat a CPU like you threat a brain in a open skull :)
 
Its motherboard is so old, it doesn't even have a VGA port. I'll have to dig up an old graphics card
 
!!> +undefined
 
9:30 PM
@JanDvorak "NaN"
 
Hopefully it can boot up fine, not get stuck in BIOS or something
 
OMG even my 15 year old has that
 
Your 15 year old offspring has a VGA port?
Weird
Have you had that checked out?
 
Yeah it does, it's actually hacked out with pieces from different "eras" but I can assure that there is VGA on the mobo which I bought off ebay, I used to use it until 5 years ago with that bulkie VGA monitor
 
my favorite css declaration is pointer-events: none;
 
9:37 PM
ok so chrome is totally broken wtf
 
Even without a VGA port there may be a way to connect an LCD with homemade serial connectors
 
any one else on chrome version: Version 36.0.1985.125 m and having no issues with javascript?
 
just use Firefox
 
@Zirak Anyone else read "Schemaless" as "Shemales"?
 
i am but i want to use chrome's dev tools
but javascript isn't even rendering properly on any website
 
9:38 PM
javascript
rendering
not even
 
@Dave uh, what?
 
I meant "controller" not "connector"
 
heres example
happens on twitch too. opens instant closes
firefox it works correctly
 
So yeah, that's obviously javascript not being rendered
 
9:39 PM
It's like js rendering 101
 
i said rendering properly *
 
it's not even being rendered guys
 
its not normal behaviour to do that
 
haha das formatting
 
9:40 PM
as its happening across many websites - my browser must be fucked with javascript in some odd way
 
hrm, so keyboard works...I can't get any graphical output, neither on ridiculously old graphics card, or my previous one.
Bad news is that there's some prompt going on, since hitting the power button after a while instantly shuts down
Crapola
 
No it isn't lol
 
hearthstone time. laters all
 
nah, it stays on just fine
Fans spin like bosses
 
Is there a battery in the mobo?
 
9:44 PM
Yeah, whether it's not depleted is another matter.
It's not that old though, only like...8 years?
Takes it a while till I can get a response from NumLock
 
Well you may be surprised but many times that's a source of issues, even on old mobos .. you may want to try to remove that battery for like a few minutes :)
You never know
That's what was happening with my overheating laptop too before I got it fixed
Troubleshooting pcs is a bitch
 
Definitely, I hate hardware
I'll give it a shot, can't hurt
Resetting the BIOS may also be beneficial
 
Haha it's easy to instruct that hardware, but when you have to fix it..
 
Eloquent uses multiline braceless conditionals? Seriously???
 
Zirak - Yeah it does :)
Sounds like Python.
 
9:53 PM
Eloquent prefers ==? :-(
 
The battery doesn't want to go out ~_~
aha, success
 
Eloquent: comments are best used for poetry.
 
Actually...if I can make it work, I can use this PC as a server. Need to check how much a static IP costs.
 
Removing the battery will also reset CPU overclocks that may have been made ruling that out/making it easier in troubleshooting
 
wow, no. My ISP is a greedy bitch.
 
10:00 PM
Heh here my provider charges $70 but maybe there's something cheaper out there
 
for(var r = 0; r < 8; r++){
  var s = "";
  for(var c = 0; c < 8; c++){
    s += "# "[r%2 ^ c%2];
  }
  console.log(s);
}
herpy derpy
 
Actually...it might not be that bad.
Both as the bot server and jsh...
 
At least there's an use to it
Wonder if there is something that let you broadcast your dynamic ip to a second server which has a static ip that routes requests to your local pc.
 
There're things like noip.com
Not sure how they are, though, or how exactly they work. Your computer is behind a bazillion PATs
 
They don't look to be free despite the title though.
I seem to recall someone telling about using a VPS as a sort of proxy...
 
10:11 PM
a dynamic dns or whatever it's called?
 
Yep
 
Yeah that's what no-ip is
 
afraid.org is a classic
 
Lol so DNS is free as I can see now. Cool.
 
hopper.pw seems newer
 
10:15 PM
I see. Bookmarked :)
 
There's also nsupdate.info
The last one seems more alive
 
Wow, didn't think that there were so many. I seem to experience decision fatigue now haha
In decision making and psychology, decision fatigue refers to the deteriorating quality of decisions made by an individual, after a long session of decision making. It is now understood as one of the causes of irrational trade-offs in decision making. For instance, judges in court have been shown to make less favorable decisions later in the day than early in the day. Decision fatigue may also lead to consumers making poor choices with their purchases. There is a paradox in that "people who lack choices seem to want them and often will fight for them"; yet at the same time, "people find that making...
 
hrm, I wonder if the comp just has bad RAM sticks
 
Apart from jokes, I'd also say go for the most active
@Zirak That's a possibility
In fact when there's a bad RAM stick it doesn't even come to the BIOS screen
 
Man, this uses DDR2
 
10:23 PM
As a rule of thumb just test for a single slot and with all the RAM sticks you have available
 
Two sticks down...this isn't good
 
If the 3rd doesn't work, I dunno
hey, hitting power doesn't stop it!
...and the keyboard doesn't respond
@JanDvorak I'm doing all this for your precious 1 hour downtime
 
Weird! So it seems you've also got a problem with the switch contacts :D
Failing the RAM test you may want to load POST data into CPU cache instead of RAM
Hey I'm kidding ;)
 
Yeah, sure
Next I'll plug my hand into it and talk to the BIOS directly
 
10:32 PM
Hmm.. spiritual connection .. sounds cool :)
 
yeah @JanDvorak I don't care quite enough
Alternative: I'll boot it from my non dead laptop
Might check the old comp out later for server options
 
Hope you got a cooler :D
 
I'll just put it in the freezer if worst comes to worst
 
Hahaha
Well yankees, it's late and I didn't touch a line of code today for which I feel really bad.. See ya guys!
G'night
 
10:37 PM
gnight
 
0
Q: Q.js Promises: wrapping bound function

uʍop ǝpısdnIs there a better syntax for... Q.nfcall(object.method.bind(object)) ... in Q.js? I can't find anything in the docs.

 
10:50 PM
!!info
 
@Zirak I awoke on Fri, 01 Aug 2014 22:50:31 GMT (that's about 10 seconds ago), learned 276 commands
 
@JanDvorak I hope you're happy
 
0
Q: Angular service returning object?

James HansAs far as I understand Angularjs services are created by passing in a Contructor function: app.service('serviceName', function(){ this.var1 = 'foo'; this.method1 = function(){ } }); Angular runs this function with the new operator. I was going through this service, and i don't see ...

 

« first day (1385 days earlier)      last day (3546 days later) »