« first day (1168 days earlier)      last day (2087 days later) » 

2:38 AM
Anyone have docker experience? I'm trying to figure out how to run a docker server where each machine can be accessed via ssh.
I just want to provide a disposable dev environment, so if someone screws up everything I can simply re-create their container.
 
 
11 hours later…
3:28 PM
i just realized there's a bug in it
Oh well, it still worked
 
3:48 PM
Is it really a bug, or just efficient coding?
 
 
2 hours later…
5:22 PM
@WayneConrad you mentioned the less than helpful release notes for 2.4.1. Did you know about the "absent operator" that went in?
 
No, no idea. What is it? Where did you find it?
 
Just stumbled across it on one of my many tech news sites
I think this was buried in HackerNews
I usually open up like 20 tabs early in the day and open one up when i need a quick mental break :D
 
5:54 PM
Also noticed that guy had another article with a list of smaller features that went in Ruby 2.4.1 Improvements
2
 
6:05 PM
Very cool. Somewhere on SO I've got an answer that shows how to do what I think the "absent" operator is doing. It's a pita, so that operator is great to have.
Move Over Timecop…Hello ActiveSupport::Testing::TimeHelpers -- Rails has timecop-like functionality built in since 4.1. Who knew?
58
A: Match everything except for specified strings

Wayne ConradIf you want to make sure that the string is neither red, green nor blue, caskey's answer is it. What is often wanted, however, is to make sure that the line does not contain red, green or blue anywhere in it. For that, anchor the regular expression with ^ and include .* in the negative lookahea...

I might have to edit that answer using the "exclude" operator.
 
@WayneConrad I did ;)
 
@Jared Well... why didn't you tell my boss? Sheesh ;)
 
I will for a nice yearly salary :D
 
You'd have to move to Phoenix in the summer. It's hot here. But we have good a/c.
 
I'll just remote in with a tablet on a segway
 
6:16 PM
Oh, you hipster you :D
 
6:27 PM
What's the segway for?
 
So i can scoot around the office?
 
declined - we're pretty sure that would lower your productivity and of everyone else
 
But if everyone had segways with tablets they wouldn't have to leave their desks ever to go to meetings and can produce code while on the way to the conference rooms.
 
I'll have to ask for a practical demonstration on that claim
 
6:53 PM
@Jared Ruby 2.4.1 fixed the BigDecimal error my app's tests were getting with 2.4.0
 
well that's good to hear :D
 
I'm kind of pleased. Now, if I need the absent operator, I'll be all set.
 
7:06 PM
Maybe i'll see if 2.4.1 fixed my infinite stack
 
Oops, I'm wrong. The problem remains. It's just not a problem that my unit tests ever triggered.
I guess I should add a unit test that exposes the problem. It's silly to have to run the app in production to find out.
 
@WayneConrad and you will have regression on it :)
 
That's right.
Test added. All is not right with the world, but the wrong is properly documented.
 
7:52 PM
in The Nineteenth Byte on The Stack Exchange Network Chat, 1 min ago, by Cyoce
Why is a>a>a valid syntax when a==a==a isn't?
Why is a==a==a invalid syntax?
 
Oh. Wow. Weird.
With parens, it's valid.
 
a==a if a==a is the proper Ruby way
:P
 
8:08 PM
The answer is probably in the Ruby source.
@JanDvorak I think Cyoce's question is a valid SO question.
 

« first day (1168 days earlier)      last day (2087 days later) »