<ddfreyne>
Although it does not use any of the new features.
<yorickpeterse>
hehe yeah, it's a pretty simple website
araujo has joined #ruby-lang
araujo has joined #ruby-lang
<burgies>
An open question: what do you use to manage application secrets in your applications? How do you handle sharing credentials not checked into source code when developing with other developers?
datanoise has joined #ruby-lang
<yorickpeterse>
burgies: we use dotenv and store credentials in AWS userdata
<yorickpeterse>
our repositories provide some config files with defaults so you don't have to set 1239821930i2 ENV variables locally
<yorickpeterse>
Though those defaults never include secrets
<ddfreyne>
Same here. Configuration goes in env variables, and those are stored (encrypted) somewhere else, out of Git, in our infrastructure
charliesome has quit [Quit: zzz]
<burgies>
yorickpeterse: I assume AWS userdata for your public deployments, how do you handle onboarding new developers with secrets?
gamename has joined #ruby-lang
<burgies>
e.g. setting up a new development machine and distributing secrets for development
<yorickpeterse>
They don't need any other than AWS credentials
<yorickpeterse>
Everybody has a local DB and all that
<yorickpeterse>
We just assume they have certain DB users during development
<burgies>
yorickpeterse: and the AWS credentials are handed to them through some manual means?
<yorickpeterse>
Yes
<yorickpeterse>
That's a one time thing though, they're handed out and people dump them in ~/.bashrc
<burgies>
Alright, makes sense, and from AWS they can download any other credentials for development during the initial setup.
<yorickpeterse>
We have a Git repo with encrypted passwords for production and such
<yorickpeterse>
The only credentials they need during development are the AWS credentials. Databases connect to localhost and assume a "root" user without a password (super secure but w/e it's local only)
<burgies>
ddfreyne: how do you handle setting up new development machines? Similar to yorickpeterse?
datanoise has quit [Ping timeout: 244 seconds]
<yorickpeterse>
typically our apps don't require 15 services, it's usually just a database and _maybe_ memcached (though so far that's always optional)
<yorickpeterse>
sometimes an API, but that too can be run locally
<burgies>
yorickpeterse: yeah, I'm mostly curious about things that can't be assumed, such as AWS credentials or other external services that might be used during development but are still considered secret enough.
<ddfreyne>
burgies: Once you're on the VPN, you have full access to the deployment infrastructure, so you can also get all credentials you need that way
<burgies>
ddfreyne: ah alright, so most of the credentials you use are shared within this walled VPN garden?
<ddfreyne>
burgies: Yes
fclausen has quit [Ping timeout: 272 seconds]
<burgies>
ddfreyne: I'm assuming you have different credentials for production and development. Are these stored in similar ways (but I assume separate places)?
<ddfreyne>
burgies: There are no development credentials. Everything's developed on a local machine, so usually MySQL username=root and password=blank :P
<burgies>
ddfreyne: alright :)
<ddfreyne>
(There are some staging environments, which are kinda similar to production.)
fclausen has joined #ruby-lang
workmad3 has joined #ruby-lang
<burgies>
For good measure: we use the OSX keychain and store our credentials in secure notes. The keychain is shared on all development machines using Dropbox. We use a gem similar to dotenv, for which I've written a plugin that pulls the secret notes from the keychain and configures it on start.
<yorickpeterse>
it's worth mentioning that we don't deploy using Crapistrano, so we don't have this problem of having to copy production secrets to a dev box
<burgies>
For production we use the same keychain plugin and distribute secrets from the notes. The note is typically named <project>-<environment>.
<burgies>
yorickpeterse: and even then I assume it'd still pull it from AWS?
<burgies>
(even if you were to use capistrano)
joaomdmoura has joined #ruby-lang
<ddfreyne>
Yeah, in our case, production credentials do not need to be on a dev box for deployment.
<yorickpeterse>
Upon an application deploy, which happens on servers themselves, it saves the credentials from the userdata in a dotenv config file (".env.userdata") which is loaded automatically by an app upon boot
<burgies>
Ah, I see.
<yorickpeterse>
Deployment is triggered by a build server just rebooting the server
<yorickpeterse>
Though we trigger the deployment using Crapistrano for web apps (this is being replaced soon ™), though this just SSH's into an instance and runs the deployment stuff directly
<ddfreyne>
Also, our production configurations are versioned, which makes it easy to roll back if necessary.
Musashi007 has quit [Quit: Musashi007]
<burgies>
Yeah same here ddfreyne, it's only when keys need to be added/updated/removed that access to the credentials is needed for deployment.
<burgies>
ddfreyne: yorickpeterse: do any of you take steps to ensure all required variables are present during boot, or do you just allow things to fail during runtime if an API key happen to be missing?
<burgies>
(i.e. how do you handle the human factor of forgetting to add a variable in production before a deploy?)
<yorickpeterse>
We don't use pre-boot checks, if something is missing it will error whenever it needs the key
jas02 has quit [Quit: jas02]
<yorickpeterse>
The only sane way would be to scan source code for references to ENV variables and make sure they're all set
<burgies>
Yeah, static analysis of ruby is no fun.
<ddfreyne>
burgies: ENV.fetch() everything necessary in config.ru or the main executable. Inject configuration into components; don't let the components do ENV.fetch (or ENV#[]) themselves
<ddfreyne>
That way, it fails fast.
joaomdmoura has quit [Ping timeout: 256 seconds]
<burgies>
ddfreyne: I do prefer your method (or similar), I like things to fail fast when configuration is missing. For whatever reason most of the applications we build at work don't have this property, they fail during runtime. Bad discipline from our side, I suppose, and me not pushing the matter.
<burgies>
yorickpeterse: ddfreyne: thank you for answering! Was hoping for an even more diverse set of answers but I'll be sure to ask these questions again at a later time when the channel is more awake. :)
burgies is now known as Burgestrand
rippa has joined #ruby-lang
<yorickpeterse>
np
<ddfreyne>
I had the idea of writing up some of the Ruby development strategies that we use in our team. I believe it'd be quite useful to share.
<ddfreyne>
That reminds me: does anyone use JRuby for services in production?
<ddfreyne>
I find it quite annoying that the first requests to a freshly deployed instance take so long.
<ddfreyne>
Precompiling JRuby doesn't help much.
<Burgestrand>
ddfreyne: I'm asking on behalf of me writing a blog post on how my company do it, and wanted some perspective. :)
<ddfreyne>
I resorted to exercising the paths that are commonly called, but I don't find that to be a good (or generic) solution. :/
<ddfreyne>
Burgestrand: Cool!
<Burgestrand>
ddfreyne: so yes you should write something up about development strategies, I feel it's one of the lesser discussed topics.
<Burgestrand>
;)
<ddfreyne>
Burgestrand: Deployment strategies are not super interesting to talk about, because we have our own deployment infrastructure.
<Burgestrand>
It's always "How to use Capistrano", rarely something more general.
<ddfreyne>
I have never used Capistrano :)
<Burgestrand>
I've used far too much of it, and sometimes far too little of it. :)
joaomdmoura has joined #ruby-lang
joaomdmoura has quit [Remote host closed the connection]
joaomdmoura has joined #ruby-lang
joaomdmoura has quit [Remote host closed the connection]
joaomdmoura has joined #ruby-lang
joaomdmoura has quit [Remote host closed the connection]
stamina has joined #ruby-lang
AnoHito has quit [Read error: Connection reset by peer]
AnoHito has joined #ruby-lang
Musashi007 has joined #ruby-lang
chinmay_dd has quit [Remote host closed the connection]
intinig has joined #ruby-lang
chinmay_dd has joined #ruby-lang
jas02 has joined #ruby-lang
gamename has quit [Ping timeout: 272 seconds]
elia has quit [Read error: Connection reset by peer]
Musashi007 has quit [Quit: Musashi007]
joaomdmoura has joined #ruby-lang
bruno- has joined #ruby-lang
jgpawletko has joined #ruby-lang
ggerman has quit [Quit: leaving]
joaomdmoura has quit [Remote host closed the connection]
elia has joined #ruby-lang
chinmay_dd has quit [Remote host closed the connection]
airdisa has joined #ruby-lang
fujimura has quit [Remote host closed the connection]
niemcu has quit [Ping timeout: 246 seconds]
VinnyBoy has joined #ruby-lang
nofxx_ has quit [Ping timeout: 256 seconds]
nedp has quit [Ping timeout: 272 seconds]
Mon_Ouie has joined #ruby-lang
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby-lang
intinig has quit [Ping timeout: 256 seconds]
b_hoffman has joined #ruby-lang
chinmay_dd has joined #ruby-lang
charliesome has joined #ruby-lang
dhjondoh has quit [Quit: dhjondoh]
fclausen has quit [Ping timeout: 272 seconds]
banister has joined #ruby-lang
banister has quit [Client Quit]
workmad3 has quit [Ping timeout: 246 seconds]
banister has joined #ruby-lang
workmad3 has joined #ruby-lang
araujo_ has joined #ruby-lang
araujo has quit [Ping timeout: 255 seconds]
araujo_ has quit [Client Quit]
ta_ has quit [Remote host closed the connection]
tkuchiki has quit [Ping timeout: 276 seconds]
djbkd_ has joined #ruby-lang
djbkd has quit [Read error: Connection reset by peer]
joaomdmoura has joined #ruby-lang
djbkd_ has quit [Ping timeout: 250 seconds]
ggerman has joined #ruby-lang
joaomdmoura has quit [Ping timeout: 272 seconds]
ldnunes has joined #ruby-lang
<yorickpeterse>
562 commits in a pull request
<yorickpeterse>
notbad.jpg
symm- has joined #ruby-lang
<yorickpeterse>
25996 additions, 36130 deletions
Mon_Ouie has quit [Ping timeout: 244 seconds]
ggerman has quit [Ping timeout: 252 seconds]
ggerman has joined #ruby-lang
[k- has joined #ruby-lang
ggerman has quit [Ping timeout: 264 seconds]
ggerman has joined #ruby-lang
fclausen has joined #ruby-lang
ggerman has quit [Ping timeout: 250 seconds]
ggerman has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
fclausen has quit [Ping timeout: 272 seconds]
ggerman has quit [Remote host closed the connection]
ggerman has joined #ruby-lang
shazaum has joined #ruby-lang
<ddfreyne>
Yikes.
ta has joined #ruby-lang
<ddfreyne>
I have seen PRs with around 5-10 additions and 10 000+ deletions :D
<yorickpeterse>
it was basically a full on refactor of a prototype plus a huge set of new things
<yorickpeterse>
more stuff in this PR than in the year leading up to it
Musashi007 has joined #ruby-lang
Musashi007 has quit [Client Quit]
<ddfreyne>
yorickpeterse: I am doing big refactorings in nanoc 4 :o
<ddfreyne>
But none of them are that big.
Miphix has quit [Quit: Leaving]
ggerman has quit [Ping timeout: 258 seconds]
<ddfreyne>
(nanoc 3.0 was released 5 1/2 year ago and it started accumulating some technical debt that can't be removed without breaking backwards compatibility, sadly)
ggerman has joined #ruby-lang
<apeiros>
ddfreyne: move such stuff into a compat layer?
dhjondoh has joined #ruby-lang
<ddfreyne>
apeiros: It doesn't help enough. I made a *lot* of nanoc's internals part of the public API. That was a mistake :(
<yorickpeterse>
yeah that sucks
<yorickpeterse>
For Oga I decided to be a bit more explicit with what's public/private to save myself that trouble
<ddfreyne>
So now the policy is "private by default" rater than "public by default"
<ddfreyne>
yorickpeterse: I find using YARD super helpful with defining what's public and private
<yorickpeterse>
sadly YARD doesn't have a way to declare everything private as far as I can tell
<yorickpeterse>
* by default
<apeiros>
yorickpeterse: bug ljarvis about it?
<yorickpeterse>
also funny enough most is actually meant to be public
<ddfreyne>
yorickpeterse: I use this for generic docs: --query @api.text != "private"
<apeiros>
or wait, am I messing up people?
<ddfreyne>
apeiros: you mean lsegal
haraoka has quit [Ping timeout: 244 seconds]
<apeiros>
right
<yorickpeterse>
apeiros: lsegal is the YARD person
<yorickpeterse>
though I think he mostly writes JS for AWS these days
<yorickpeterse>
poor thing :<
<ddfreyne>
:(
<ddfreyne>
I am a bit sad that the company is moving towards Scala...
<ddfreyne>
Athough I still pretty much do 100% Ruby :)
ggerman has quit [Ping timeout: 256 seconds]
<ddfreyne>
The company = my company
ggerman has joined #ruby-lang
<yorickpeterse>
Don't worry, in a few years it will move to Rust/Nim/whatever
joaomdmoura has joined #ruby-lang
<apeiros>
I always hesitate to say "my company". I feel like it implies I own the company :-/
<yorickpeterse>
If you don't like it you're clearly not full stack enough
* apeiros
is a stackless dev
<[k->
scala is amazingly fast tho
<apeiros>
also it's a swiss invention 0:-)
<ddfreyne>
apeiros: Yeah, I was just thinking the same :)
ta has quit [Remote host closed the connection]
joaomdmoura has quit [Remote host closed the connection]
sgambino has joined #ruby-lang
<yorickpeterse>
I'm such a full stack developer I overflow
<yorickpeterse>
which sounds...disgusting
<apeiros>
do you at least have TCO?
<yorickpeterse>
move aside stackless peasants
<yorickpeterse>
Hm, I wonder what would happen if one were to advertise themselves as "I'm a full-register developer as registers are better than stacks"
Miphix has joined #ruby-lang
<apeiros>
aren't there languages which don't use a stack?
<apeiros>
seems like
airdisa has quit [Remote host closed the connection]
ggerman has quit [Ping timeout: 256 seconds]
k3asd` has quit [Remote host closed the connection]
ggerman has joined #ruby-lang
alestuber has joined #ruby-lang
<yorickpeterse>
I long for the days where titles are just Developer/Software engineer instead of this edgy crap like "Full stack developer" and "Polyglot Go/Ruby/Cobol ninja rockstar"
Burgestrand has quit [Ping timeout: 246 seconds]
<apeiros>
I still have to print new business cards.
<apeiros>
I want my "Señor expert coding ninja astronaut" on it.
<apeiros>
oh, I forgot the 25x again, didn't I?
<yorickpeterse>
Yes
skade has joined #ruby-lang
<yorickpeterse>
also where the heck did the 10x term even come from
<apeiros>
actually I think a prime would look better. how about 17x?
<yorickpeterse>
I agree some people are vastly better than others, but the 10x is oddly specific
<apeiros>
I think the range is actually larger than 10x. but it's a pointless number to throw around.
<apeiros>
you can hire the best coder and put them to work for something where you don't leverage the first bit of their qualities.
<yorickpeterse>
Well, for one you have nothing to measure against
<apeiros>
that too
<yorickpeterse>
10x what, more lines of code per second? More PRs? More commits?
<apeiros>
less WTF/minute
<yorickpeterse>
Some of the best programmers might also be the slowest, so speed already becomes useless
<yorickpeterse>
e.g. somebody with 40 years of experience at age 60 might not be as fast as some 25 year old babby, but they can still be vastly better
<apeiros>
coding is also a huge area
<yorickpeterse>
Maybe we should measure it in fizzbuzz' per second
<apeiros>
you can be the best expert at optimizing algorithms and datastructures - and might be an utter fail at designing large systems
ggerman has quit [Ping timeout: 276 seconds]
<ddfreyne>
I once failed a job interview because "I wasn't fast enough"
<apeiros>
osx' dict still doesn't know the word datastructure :<
<[k->
haha fizzbuzz per sec
<[k->
HAHAHAHAA
ggerman has joined #ruby-lang
<[k->
how would that work
<yorickpeterse>
You let somebody write fizzbuzz, then measure how long it takes
alestuber has quit [Ping timeout: 252 seconds]
<yorickpeterse>
the faster the better
<apeiros>
oooh, it wants "data structures"
<yorickpeterse>
We shall call it FBZ/sec
<apeiros>
ddfreyne: driving faster agains the wall is better, init?
<yorickpeterse>
Hm, maybe FZBZ/sec
<apeiros>
*against
<yorickpeterse>
"bro I totally do 120 fizzbuzz' per second"
<yorickpeterse>
also Javascript frameworks make me puke
<surrounder>
lol
<yorickpeterse>
"install grunt" "install gulp" "install butts62butts5" I JUST WANT TO WRITE CODE
<yorickpeterse>
and I hate how the recent trend is to move HTML/view code back into JS
<[k->
but then the unit is in seconds, not FZBZ
<[k->
per second
<yorickpeterse>
[k-: errr I meant the more Fizzbuzz' per second the better
<[k->
you are still not very clear :(
<yorickpeterse>
give me a few minutes to write an RFC
ggerman has quit [Ping timeout: 256 seconds]
pyo_ has quit [Read error: Connection reset by peer]
ggerman has joined #ruby-lang
chinmay_dd has quit [Read error: Connection reset by peer]
car has quit [Ping timeout: 250 seconds]
chinmay_dd has joined #ruby-lang
<yorickpeterse>
fukit too lazy
<yorickpeterse>
RFC's have an annoying format
<yorickpeterse>
either way
<yorickpeterse>
start a timer for, say, 10 seconds
<yorickpeterse>
the more fizzbuzz implementations one can write in 10 seconds the better
<yorickpeterse>
Every implementation adds 1 point
<yorickpeterse>
If it's written in a functional language you get 1,5 points
<[k->
i can't fizzbuzz in 10s
<yorickpeterse>
if it's written in Haskell you get 2 points
<yorickpeterse>
The more points, the better
<[k->
yay i knows haskell a lil bit
<yorickpeterse>
[k-: then you're not a full fizzbuzz programmer
datanoise has joined #ruby-lang
<[k->
shh, there is an article on fizzbuzz by Tom Daling
<ddfreyne>
yorickpeterse: That solution took me a while to fully understand. It's smart.
<yorickpeterse>
We used to do coding exercises here, but I've been trying to eradicate them
<yorickpeterse>
although it at least wasn't fizzbuzz
<yorickpeterse>
why? They're useless
<yorickpeterse>
I'd much rather get drunk with somebody and learn everything about them by talking than making them sweat for some dumb exercise
<yorickpeterse>
If they suck at coding they'll get sacked after the trial month anyway
<[k->
free beer?
<ddfreyne>
yorickpeterse: I find them useful. At SoundCloud you get a challenge, and one week to solve it. Afterwards, you can talk about it in a phone call.
<yorickpeterse>
unless people actually supervise you there's no guarantee you didn't cheat
<ddfreyne>
That way, you can take your time, don't rush, no stress because someone is sitting next to you and asking you questions and assessing you.
<yorickpeterse>
and since you can do that it kinda defeats the purpose
<yorickpeterse>
since after a month people would find out anyway
<yorickpeterse>
ddfreyne: we had that too
<ddfreyne>
yorickpeterse: People that cheat are discovered in the interview(s) afterwards
<yorickpeterse>
I had to write some weird app that yanked data off foursquare and compared it with other data
<yorickpeterse>
sadly the API for the other data was shit and didn't let me do it
<yorickpeterse>
So I was more or less done in a few hours
<yorickpeterse>
ddfreyne: perhaps it's different from larger organizations, but I find it far easier to see what makes people tick by talking to them
<yorickpeterse>
instead of letting them do some exercise
<[k->
some programmers are introverts like me :<
ggerman has quit [Ping timeout: 276 seconds]
<yorickpeterse>
but then again I'm one of those few programmers who actually doesn't mind going out in the sun
<ddfreyne>
yorickpeterse: It's more a case of weeding out the cases that highly likely wouldn't lead to a hire anyway
<ddfreyne>
yorickpeterse: There's interviewsa nd conversations afterwards. And interestingly, because you already have the solution to the challenge, there's something concrete to talk about
ggerman has joined #ruby-lang
slawrence00 has joined #ruby-lang
ggerman has quit [Ping timeout: 264 seconds]
ggerman has joined #ruby-lang
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<ledestin>
a company that doesn't give me enough time to solve a code test gets a large drop in attractiveness
joaomdmoura has quit [Read error: Connection reset by peer]
joaomdmoura has joined #ruby-lang
joey__ has quit []
symm- has joined #ruby-lang
alestuber has joined #ruby-lang
stamina has quit [Ping timeout: 244 seconds]
momomomomo has quit [Ping timeout: 256 seconds]
apt-get__ has joined #ruby-lang
aaeron has quit [Quit: aaeron]
baweaver has quit [Remote host closed the connection]
apt-get_ has quit [Ping timeout: 272 seconds]
ubernil has quit [Ping timeout: 240 seconds]
skade has joined #ruby-lang
alestuber has quit [Ping timeout: 255 seconds]
g0bl1n has quit [Quit: Leaving]
baweaver has joined #ruby-lang
alestuber has joined #ruby-lang
konr has joined #ruby-lang
bennyklo2z has joined #ruby-lang
bungoman has joined #ruby-lang
momomomomo has joined #ruby-lang
dagda1 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bennyklo2z has quit [Client Quit]
bungoman has quit [Ping timeout: 245 seconds]
gamename has quit [Remote host closed the connection]
aaeron has joined #ruby-lang
<JEG2>
I made a video where I read some Ruby code and show off several conventions and tricks: https://codalyzed.com/ ($3 off coupon for the interested: RUBYIRC).
bennyklo2z has joined #ruby-lang
baweaver has quit [Remote host closed the connection]
dagda1 has joined #ruby-lang
kr3ssh has joined #ruby-lang
momomomomo_ has joined #ruby-lang
<wallerdev>
link doesnt work
momomomomo_ has quit [Client Quit]
momomomomo has quit [Ping timeout: 264 seconds]
bennyklo2z has quit [Quit: Lost terminal]
JakFrist_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
JakFrist_ has joined #ruby-lang
Missphoenix has joined #ruby-lang
banister has joined #ruby-lang
Miphix has quit [Ping timeout: 250 seconds]
skade has quit [Quit: Computer has gone to sleep.]
skade has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
chinmay_dd has quit [Remote host closed the connection]
gamename has joined #ruby-lang
hinbody has joined #ruby-lang
shinnya has joined #ruby-lang
Kortes has joined #ruby-lang
<Kortes>
test
kadoppe has quit [Ping timeout: 255 seconds]
<Kortes>
Hey guys! Im stuck at a dumb problem, maybe you can help me out...
djbkd has quit [Remote host closed the connection]
<apeiros>
maybe there's other services. they probably say which one on the website (iirc atheme or somesuch)
* imperator
looks up flood limits
<yorickpeterse>
clients may trigger a warning for a certain amount of lines, but I don't think Freenode ever had something in place other than a messages/sec limit IIRC
<yorickpeterse>
Kortes: and what's the problem?
cornerma1 has joined #ruby-lang
<Kortes>
thing is it says the method is not defined, i dont understand why
zendrix has quit [Ping timeout: 245 seconds]
<Kortes>
if i call it game.user_move its undefined, if i call it user_move its also undefined
<yorickpeterse>
Because you defined them as class methods
<yorickpeterse>
"def self.XXXX" defines a class method "XXXX"
<yorickpeterse>
So you'd call it like Hanoi.XXXX
<yorickpeterse>
remove the "self." and you should be good to go
<Kortes>
but if game is an instance of the class, shouldnt game.method work?
<yorickpeterse>
No
<yorickpeterse>
Because the methods are not instance methods
bungoman has joined #ruby-lang
cornerman has quit [Ping timeout: 264 seconds]
cornerma1 is now known as cornerman
<Kortes>
ohhhh ok so let me see im getting this correctly
<yorickpeterse>
say you have a class Foo
<yorickpeterse>
class Foo; def self.whatever; end; end
bertocode has quit [Quit: Nettalk6 - www.ntalk.de]
<yorickpeterse>
This allows you to do Foo.whatever
<yorickpeterse>
But not Foo.new.whatever
<Kortes>
when i define a class, methods as self.method is for class and can only be called with a Class.method , and instance methods are defined inside the class without the self.
<yorickpeterse>
Yes
<Kortes>
oh man
<Kortes>
thanks yorick
revath has quit [Ping timeout: 244 seconds]
revath has joined #ruby-lang
<yorickpeterse>
np
bungoman has quit [Ping timeout: 258 seconds]
<yorickpeterse>
unrelated news, the mozilla public license is a PITA to read
<yorickpeterse>
the MIT license I can understand, but this one is a new level of wtf
JakFrist_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<yorickpeterse>
and you removed "end" from line 5
<elev>
ye
<elev>
ok now I got it :)
<elev>
thank guys
17SACKY0M has joined #ruby-lang
<elev>
I started ruby some weeks ago, need practise :D
<Kortes>
elev check out coderbyte.com
17SACKY0M has quit [Client Quit]
<elev>
k
<Kortes>
its for practice ;)
<elev>
is that for programming?
<elev>
is it ruby?
<Ox0dea>
elev: You should install a browser, friend.
caseypatrickdris has quit [Remote host closed the connection]
<elev>
I got google chrome
<elev>
I mena like, is it ruby code?
stardiviner has quit [Ping timeout: 256 seconds]
BloodyHistory has joined #ruby-lang
<Ox0dea>
elev: Hm... does your keyboard malfunction when you have your cursor in the address bar?
<elev>
what? xD
<elev>
My englich bad, sorry :P
<Ox0dea>
Well, it must be the case that you aren't able to visit the site in question, so I'm trying to help you troubleshoot that particular problem. :P
zendrix has quit [Remote host closed the connection]
imperator has quit [Quit: Leaving]
stardiviner has joined #ruby-lang
kr3ssh has quit [Ping timeout: 244 seconds]
revath has quit [Ping timeout: 256 seconds]
alestuber has joined #ruby-lang
hahuang65 has quit [Quit: WeeChat 1.1.1]
momomomomo has joined #ruby-lang
workmad3 has joined #ruby-lang
car has joined #ruby-lang
caseypatrickdris has joined #ruby-lang
simi has joined #ruby-lang
hahuang65 has joined #ruby-lang
zendrix has joined #ruby-lang
hachiya has joined #ruby-lang
baweaver has joined #ruby-lang
bungoman_ has quit [Remote host closed the connection]
bungoman has joined #ruby-lang
<Kortes>
JAJAJA
<Kortes>
elev, the site is about coding excercises
dagda1 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Kortes>
when you choose to work in one of them, it allows you to choose in which language to answer it
<Kortes>
you can select ruby
gambl0re has quit [Ping timeout: 255 seconds]
<Kortes>
try figuring it out by yourself first, its the best way to learn
<Kortes>
:elev @elev #elev <elev>
<Kortes>
how do you guys tag people on your comments?
<Kortes>
[elev] (elev) =elev elev:
<toretore>
@elev
<Kortes>
@elev this is a test
<toretore>
i learned this on twitter
<Kortes>
it doesnt seem to work here tho, or do ijust see it as regular text and the tagged user as a tag ?
<Ox0dea>
I suspect most IRC clients don't look for any particular sigil when deciding whether to notify.
<rio>
.@toretore learns a lot on twitter
<Kortes>
lol apparently
sarkyniin has joined #ruby-lang
<rio>
Kortes: there's nothing called "tagging" in IRC, most clients "highlight" lines that match the users nickname surrounded by word boundaries, so it doesn't matter how you format it
<Kortes>
im using limechat and it popped an alert when Ox0dea mentioned me a while ago
<Kortes>
rio is your name highlighted in this comment?
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dagda1 has joined #ruby-lang
<Kortes>
\brio\b
<Kortes>
\b rio \b
<rio>
yes
<Kortes>
cool
<Ox0dea>
xKortesx won't highlight you because your name doesn't occur on a word boundary.
fusillicode has joined #ruby-lang
baweaver has quit [Remote host closed the connection]
<Kortes>
it did !
<Kortes>
the x are white but kortes is orange
<Ox0dea>
That's not good.
<Kortes>
and it popped the alert ( i was onanother screen space) macBook pro
bantic has quit [Ping timeout: 255 seconds]
<Kortes>
its not?
<Ox0dea>
I mean, your name is uncommon enough that you're unlikely to be highlighted by accident, but it would suck for somebody using a common-ish word as their handle.
<Kortes>
your name also turns orange when you write a coment that puts my name orange
<rio>
some clients even do that, but that has disadvantages when you say "priority" and i would get highlighted..
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bantic has quit [Ping timeout: 256 seconds]
bantic has joined #ruby-lang
baweaver has joined #ruby-lang
atomical has quit [Ping timeout: 248 seconds]
Musashi007 has joined #ruby-lang
malconis has joined #ruby-lang
io_syl has joined #ruby-lang
bantic has quit [Ping timeout: 256 seconds]
<Kortes>
im building a towers of hanoi game, with 6 discs, i only need to move the sixth out of the original tower and halfway i start going back and end up with 6 at the bottom jajaja this game is addicting, Cesar's got some real brainz
<Kortes>
BOOM GOT IT!
datanoise has joined #ruby-lang
bantic has joined #ruby-lang
caseypatrickdris has quit [Remote host closed the connection]
joaomdmoura has quit [Remote host closed the connection]
<Kortes>
so i finish the game to find an error in the finished def, shit. now i need to finish the game again to see if its fixed!
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
konr has quit [Quit: Connection closed for inactivity]
gambl0re has joined #ruby-lang
kr3ssh has joined #ruby-lang
alestuber has quit [Remote host closed the connection]
bantic has quit [Quit: bantic]
Kortes has quit []
<Ox0dea>
Kortes: This is one of those very rare circumstances wherein your test suite and your AI could be one and the same!
workmad3 has quit [Ping timeout: 246 seconds]
workmad3 has joined #ruby-lang
rikkipitt has quit [Quit: Leaving...]
cb__ has joined #ruby-lang
cb__ has joined #ruby-lang
JakFrist_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
alestuber has joined #ruby-lang
baweaver has quit [Remote host closed the connection]
ur5us has quit [Remote host closed the connection]
car has quit [Ping timeout: 256 seconds]
caseypatrickdris has joined #ruby-lang
dorei has joined #ruby-lang
elev has joined #ruby-lang
iamninja has quit [Read error: Connection reset by peer]
djbkd has quit [Remote host closed the connection]
victortyau has quit [Quit: Leaving]
iamninja has joined #ruby-lang
workmad3 has quit [Ping timeout: 256 seconds]
cb__ has quit [Remote host closed the connection]
baweaver has joined #ruby-lang
k3asd` has quit [Remote host closed the connection]
BanzaiJoe has quit [Ping timeout: 244 seconds]
alestuber has quit [Ping timeout: 276 seconds]
momomomomo has joined #ruby-lang
zendrix has quit [Remote host closed the connection]
caseypat_ has joined #ruby-lang
caseypatrickdris has quit [Read error: Connection reset by peer]
atomical has joined #ruby-lang
elev has quit [Quit: Lost terminal]
slumos is now known as slumos[away]
slumos[away] is now known as slumos
alestuber has joined #ruby-lang
zendrix has joined #ruby-lang
bungoman_ has joined #ruby-lang
bungoma__ has joined #ruby-lang
kr3ssh has quit [Ping timeout: 240 seconds]
dzejrou has joined #ruby-lang
bungoma__ has quit [Remote host closed the connection]
bungoman has quit [Ping timeout: 250 seconds]
bungoman_ has quit [Ping timeout: 264 seconds]
stardiviner has quit [Ping timeout: 264 seconds]
Fooster has joined #ruby-lang
Fooster has quit [Remote host closed the connection]
woodruffw has quit [Ping timeout: 256 seconds]
djbkd has joined #ruby-lang
sarkyniin has quit [Quit: Quit]
Kortes has joined #ruby-lang
__butch__ has quit [Quit: Leaving.]
<Kortes>
hey guys
<wallerdev>
hayyyyy
<Kortes>
has any of you attended a programming bootcamp ?
<wallerdev>
there was someone here that was attending one a few months ago
<wallerdev>
dont remmeber who
<Kortes>
what did you do, study computer science?
setanta_ has quit [Quit: Leaving]
<wallerdev>
i did that
<Kortes>
cool, im just asking cause i want to get in to App Academy
<Kortes>
but i want to be pretty comfortable solving the problems at coderbyte and excercises as such before the final test
<Kortes>
and its been a few months, i was wondering if they would think i was taking too long or if it didnt matter
shazaum has quit [Quit: This computer has gone to sleep]
Musashi007 has quit [Quit: Musashi007]
<Kortes>
i guess it wont when i nail the test
joaomdmoura has joined #ruby-lang
car has joined #ruby-lang
cb__ has joined #ruby-lang
chouhoulis has joined #ruby-lang
stardiviner has joined #ruby-lang
chouhoulis has quit [Remote host closed the connection]
<Kortes>
when i try typing in the #ruby channel it says (404): #ruby Cannot send to channel , do you guys have any clue of why?
<bougyman>
no
<bougyman>
because it's moderated or requires +i, probably
<bougyman>
whatever rules they decide
<weaksauce>
Kortes you probably need to register
chouhoul_ has quit [Ping timeout: 250 seconds]
<Kortes>
it still wont allow me
momomomomo has quit [Quit: momomomomo]
<Kortes>
is there a line i can write to check that i am logged in?
<Kortes>
or allowed?
<Kortes>
server properties is set with the password, this is weird
<Kortes>
info kortes
whippythellama has quit [Quit: whippythellama]
dzejrou has quit [Ping timeout: 255 seconds]
<Kortes>
Nickserv
<Kortes>
help Nickserv
<Kortes>
Nickserv Identify
<Kortes>
IDENTIFY
<jhass>
Kortes: you need to prefix with /msg
baweaver has quit [Remote host closed the connection]
brownbathrobe has quit [Remote host closed the connection]
<Kortes>
on listchans it says no channel access was found for the nickname
momomomomo has joined #ruby-lang
<Kortes>
how can i get access to #ruby?
<Kortes>
first time i ever logged in here i could type in it, now i cant i dont know why. I never got banned or kicked or anything on it
ledestin has joined #ruby-lang
<jhass>
yeah, some op unilaterally decided to make it regged only, we're still seeking to convince him otherwise