« first day (528 days earlier)      last day (4642 days later) » 

17:03
@rlemon Oh, well I didn't mean a flat file based blog.
The backend should just be node.js powered.
but imagine if you could host the entire thing as a github page
I've considered something similar, but haven't researched the technology
Not sure if that is so practical to be honest.
The GitHub API is limited to 5000 requests per hour.
That does sound like a lot however it is not really scaleable if your blog grows.
Indeed
5k / hour
indeed
17:17
the problem about a js blog is around SEO
Mhmm, why?
I don't see how it would be any different.
you're talking about a blog where the content is loaded through ajax?
my bad, then :)
what do you call a js blog then?
A blog served by a node.js application. :)
17:19
oh.
something done a lot of times already then :p
Oh?
Are there any examples?
yeah
just search "nodejs github blog" on google
I'm not questioning that, just curious.
Teflon!
erm wrong chat :-x
17:24
hm
any opinion on when to use mysql or postgresql?
when MongoDB is not available
:3 use Mysql
@OctavianDamiean raynos.org
@Abhishek: why?
Oh boy, I should have thought of your blog. :D
the code is ugly though
@FlorianMargaine mysql if PHP
if not PHP then real DB like mongo or couch
better to choose that
@Raynos +1
@Abhishek: I'm already on this link, but they don't say much ._.
lulz
@Raynos How does CouchDB perform for you?
17:26
@Raynos: I need ACID compliance for this project, I can't afford nosql db
@OctavianDamiean pretty good
I find
@FlorianMargaine ACID is for pussies
MysQL more supportive
l2haveballs
17:26
@Abhishek: I mean that they don't explain why this or this is better than any other, it just shows that they're both good ._.
and rather much documented , also updated frequently
+ open!
@Raynos: business don't have balls, they have risk management :p
@Abhishek: when you say "+ open!" it just looks like you're only a mysql fanboy and don't even look at postgresql :p
well
points finger Haha, FANBOY!!
gave up sql
GGG
GGG
17:28
@rlemon what the heck is that doing
too early
and open as in open the box and find out yourself
user1385191
@FlorianMargaine postgre
@OctavianDamiean: not accusing, it just means I can't really trust him for a comparison :)
lulz
user1385191
17:29
I've been using it for a few days and like it far more than MySQL
@MattMcDonald: why? :p
oh?
user1385191
better docs
user1385191
better support
user1385191
better system
GGG
GGG
its also faster
17:30
tru that
GGG
GGG
and its optimizer doesn't suck
but slower on bulk delete and bulk modify
GGG
GGG
and less non-standard
We've used PostgreSQL in our production system and it performed very well.
Alright. Thanks guys, will look into it a little more :)
user1385191
17:30
mysql is only still around because of popularity
@FlorianMargaine best is to test yourself for waht u need ?
makes sense ?
It was a database cluster actually.
@GGG huh?
user1385191
plus postgre gives you SERIAL UNIQUE PRIMARY KEY instead of INT(dumb) UNIQUE NOT NULL AUTO_INCREMENT PRIMARY KEY
17:32
@MattMcDonald You can make it an XML DB if you wanted, which is cool.
it's returning false. Which invokes the Unicorn method, which speeds things up to the nth degree.
isn't it obvious?
GGG
GGG
@_@
$_$
^ jQuery eyes also speeds things up
@MattMcDonald I think you only have to use serial, unique pk is implied when creating the table. I might be wrong.
what does SERIAL do?
17:34
It's when you create a record and it's super serious.
@FlorianMargaine it fills you up in the morning so you're not hungry for the rest of the day
user1385191
> Thus, we have created an integer column and arranged for its default values to be assigned from a sequence generator. A NOT NULL constraint is applied to ensure that a null value cannot be inserted. (In most cases you would also want to attach a UNIQUE or PRIMARY KEY constraint to prevent duplicate values from being inserted by accident, but this is not automatic.) Lastly, the sequence is marked as "owned by" the column, so that it will be dropped if the column or table is dropped.
user1385191
;)
@rlemon been a long time since I didn't eat cereal at the morning :(
user1385191
17:34
MySQL's docs are a disaster
@GGG
GGG
GGG
hahah snuck it in there
wow wait
seriously
reading postgres doc is nice o_O
@GGG wtf was
ur firefux on ?
kerosene ??
or High octane jet fuel ??
GGG
GGG
17:36
that wasn't my firefox
btw
i am testing it on
GGG
GGG
it was the guy who made engine
The internet explorer
GGG
GGG
it won't work
lulz
GGG
GGG
17:36
well maybe new ie
ie 9 ?
GGG
GGG
needs gEBCN
does 9 have gEBCN?
anyway that will be fixed but ie will be slow
user1385191
@Raynos regarding my Twitter comments: I'm referring to semicolons in a grammatical context (i.e. city, province; city, state; city, territory)
IE will be slower comparable to the android
i bet ;-)
GGG
GGG
17:40
is he saving a reference to qSA somewhere before i null it out maybe?
@MattMcDonald In grammar yes, I thought you were making a bad analogy from grammar to code
@Raynos You don't like the semicolon debate?
I dont use semi colons for a simple reason
reached 1000 points on SO \o/
when I use semi colons i forget 2% of them and then have to go add them back because of OCD
when I dont use semi colons I never accidentally use semi colons and dont have to remove them because of OCD
17:48
My issue is that you've created less ambiguity when reading the code.
Even if you understand the rules, an actual mark is clear.
Personally, I don't use semicolons because I find the code much more readable
if (foo) one()

if (foo)
two()

if (foo) three()
four()

if (foo) {
alwaysObvious();
}
I'm not talking about brackets here
just semicolons.
I'm using brackets to demonstrate what I'm talking about.
GGG
GGG
because omitting braces is terrible but omitting semicolons is hip, right
17:50
@Incognito I dont do stupid things with skipping out brackets
i basically replace all ;\n with \n
that's it.
Less ambiguity by using brackets. Less ambiguity with clear var names. Less ambiguity with good whitespace. Less ambiguity with ;.
if (foo) {
    alwaysObvious
}
is just fine.
and so nice to read.
if (foo) {
  obvouis
}
GGG
GGG
if (foo) obvouis;
it's all obvious
it's all personal preference
@Raynos I'm saying obvious; is 100% free from ambiguity, while obvious\n may be 98% free.
rmorgames?
@Incognito obvouis\n is 100% ambiguity free
Fuck
well missing out brackets is not about personal preference. You're stupid if you don't use them.
GGG
GGG
@FlorianMargaine fuck you
you're stupid
@Raynos To one developer, does it scale to a team?
GGG
GGG
how about that
@Incognito sure it does, if it doesnt educate the team
@FlorianMargaine Lots of people don't use them for a very similar argument.
@GGG you are stupid if you use if (foo) \n statement
skipping brackets on one line if statements is acceptable but annoying
user457812
I keep reading Margaine as Migraine
GGG
GGG
17:53
@Raynos yeah that's obnoxious without proper indentation
@Raynos I've explained how hard it is to find good programmers, right? I'm worried about the guy I hired this week already.
skipping brackets on one line for or while statements is rage
@Incognito: I see mitigated opinions about semicolons, but always the same about skipping brackets
@Incognito then you a noob. finding good programmers isn't hard :P
GGG
GGG
@Raynos why
17:54
@Raynos Around here it is.
mitigated is the word, isn't it?
SO job posting, $350.
@Incognito that's the problem is being location bound
Local developers that applied, 10.
Those who passed fizbuz: 5.
get a startup go to the valley, done
17:54
Those who were competent in an interview: 1.
@nil: fu :(
or go to zurich or go to london or go somewhere else
NY works too
@Raynos Yeah yeah, I know. I actually quit this job, I'm going to Toronto soon.
user457812
:(
user1385191
I applied to a mobile place that has three front-end dev openings
17:55
@Incognito :)
GGG
GGG
@Incognito that's not bad
user1385191
I spent about 20 minutes jumping through their third-party application system
GGG
GGG
fizzbuzz has like a 10% pass rate in general somehow
@FlorianMargaine u french?
user1385191
2 days later: 0 replies
17:55
@GGG "Passed" as in, it computed it and they didn't do anything totally WTF invoking. Nobody wrote a function, however.
@Raynos yep
@MattMcDonald thats why you apply by email
@FlorianMargaine france or canada?
GGG
GGG
@Incognito ugh, how would you not write a function... maybe the question was worded strangely?
@MattMcDonald They might be slow just collecting everyone, then they'll fire off screening emails in batches.
@GGG One moment.
Exact email I sent out:
user1385191
17:57
I'm trying to find an e-mail of an employee/manager, but nothing is coming up
@Raynos: why?
Hi FakeName,

Thank you for your application!

We’re interested in finding out more about you. Please reply to this email and share your thoughts regarding:

1. What seemed the most interesting about the job posting? What would you like to know more about?

2. If you were asked to write a program that added all the natural numbers below 100 that are multiples of 2 or 5, how would you do that? For example, adding all the natural numbers under 10 that are multiples of 2 or 5 gives us 2+4+5+6+8 = 25. Approach this problem however you like.
@FlorianMargaine just to troll or something
@FlorianMargaine you live in paris?
17:58
Hell no.
anywhere with a nice social scene?
Marseille, second biggest France's city
GGG
GGG
"write a program" sounds like at least a function
I wonder what they would respond to this
52*::**000p v
 v%5<
    |%3:::-1<<
v_: >00g+00p|
>$           ^
       @.g00<
depends what you mean by "social scene" tho :)
17:59
@FlorianMargaine would it be totally weird if I invited myself round your place for a weekend?
GGG
GGG
i'd assume it was supposed to be a c++ program
@GGG "Approach this problem however you like".
@Raynos: Totally very much. My girlfriend doesn't even know you exist.
@FlorianMargaine whipped / lack of balls
@FlorianMargaine Tell her he's your secret JavaScript internet best friend.
18:00
@FlorianMargaine weird uncomfortable?
@Raynos Winnar.
but a friend of mine uses couchsurfing as a host
would be fun otherwise
@FlorianMargaine no I want to sleep on your floor not your firends floor :(
haha
my dog will pee on you then :D
;_;
user1385191
18:01
I'm just really sick of third-party application sites
why you do this
user1385191
they wanted my postal code
@FlorianMargaine then your sofa bed or something
user1385191
they got N0T 4U2
just kidding :p
18:05
@rlemon Did you apply to that random job?
Javascript = java.
what is the difference between java and javascript?
GGG
GGG
ah yeah that's different
@FlorianMargaine 6 letters?
user1385191
37 messages moved to bin
user1385191
...
GGG
GGG
18:10
wth
@GGG Matt is a cleanup king.
user1385191
4 messages moved to bin
GGG
GGG
do we need to start a how to not let your gf run you room
user1385191
it's a really crappy topic
user1385191
and it's not fit for programming discussion
18:11
yup
I guess so :-)
btw
I've seen that I can set attribute "disabled" on a div, but trying it in chrome didn't do much
is it just some legend? That was a solution I thought of to disable the event listeners on this div
nope
disabled will negate buttons
anchors still work.
what about div?
too fast for me :p
user1385191
disabled is intended for form elements (input, etc.) along with buttons
18:16
I was doing that too
it appears matt beat me to it
but here is the proof.
user1385191
<button> is considered to be a form element as well, but it's unique in that's it's long been able to be exist outside of a form
user1385191
I'm sure HTML 5 muddies this all up
@MattMcDonald y u do tis
GGG
GGG
psst
you really want to disable some ui
put an object element in front of it
18:24
28 messages moved to bin
Does anyone see room for optimization in this RegEx?
/[-_]?(?<=^|[^A-Za-z])([A-Za-z])/
user1385191
ahh much better
anyone's got some experience with archlinux?
I fail at installing it on virtualbox ._.
GGG
GGG
@GeorgeEdison /i
@GGG: Ah, good spotting - thanks.
18:27
i used virtualbox for ubuntu on osx
Now we have:
/[-_]?(?<=^|[^a-z])([a-z])/i
@FlorianMargaine flying to marseille is far too expensive, screw it :p
:)
btw if you're looking for quick trips like this, you should give a shot to CouchSurfing
@JohnMerlino sorry, no arch linux. debian, ubuntu, mint, (past 5yrs)
@JohnMerlino: got osx and ubuntu on my mbp, but ubuntu is having too much stuff for nothing... trying to get something clean.
it's said that fedora's getting better and better tho
18:42
@GeorgeEdison what are you matching?
I'm trying to convert 'someText', 'some-text', and 'some_text' to 'SomeText'.
@FlorianMargaine what do you mean too much stuff for nothing?
@MattMcDonald can't they guess at it by geolocating your IP anyways? (which is why I don't mind giving away my zip)
user1385191
a job site does not need my postal code nor my address nor my phone number
user1385191
any that does is overextending its bounds
18:52
so it's more the principle of the thing, for you? Because with Google Analytics I can nail down any visitor to my site's location to within the general county...
user1385191
I block GA along with urchin
ah nice
yeah I want to scrap Analytics in favor of a simple server-side hit counter but I haven't found anything good yet
@ThomasShields Logfiles
@copy yeah, those are lots of fun to dig through~
There are scripts that evaluate (and even visualize) them. Would also not be too hard to write on your own
18:58
yeah, true

« first day (528 days earlier)      last day (4642 days later) »