« first day (734 days earlier)      last day (2521 days later) » 

Anonymous
2:16 AM
@Chris I think the question is better suited on a github issue or mailing list. It seems too specific to you, and unlikely to help others.
 
5:56 AM
hello
My question is I have an iphone application and from where I am passing a token which has all customer information ..I am collecting that token in my rails application and want to do payment using stripe...Normally i am able to do my payment by creating a token in rails app but here i have to use token from iphone app
 
 
4 hours later…
10:17 AM
hello
 
 
1 hour later…
11:31 AM
Strange... I thought arrays had a map_with_index method.
 
11:46 AM
@JanDvorak I think there's an each_with_index method. But you can add an index to any enumerator by calling #index, so: map.with_index
@MerajulIslam Hello, good morning (or evening, or whatever it is)
 
 
1 hour later…
1:04 PM
Hello
@JonathanMusso Thanks! I'll see what I can do with that
 
Anonymous
No one in NJ won the lottery... So all the coworkers spending hundreds each (for the past couple drawings) in an office pool amounted to nothing
 
It amounted to something for someone
Also the entertainment of gambling
 
Anonymous
It amounted in a huge net loss, and hours during work spent offtask
 
heaven forbid people enjoy themselves
 
Anonymous
I mean, spending half a day filling in bubbles on lottery paper, and finding patterns in random combinations...
 
Anonymous
1:13 PM
ten minutes fine, but half or a whole day? No
 
Is fun to some people
 
Anonymous
I am not saying it isn't fun, but it wastes company money
 
Some people would argue programming the whole day is a waste of time vOv
I'm fairly sure there's an argument that a happy employee is a productive employee, regardless of a measly 8 hours lost
 
Anonymous
Not when their programs are still sifting through data in 2012, and it is 2016.
 
Anonymous
(where the program must sift data moving forward)
 
1:15 PM
I imagine it's hard to shift through data for a year that started 2 weeks ago
 
Anonymous
What I mean is, the program is 3-4 years behind schedule.
 
Anonymous
Anyway.. How is everyone this morning?
 
You'd have a rough go here, the entire office watches the world juniors in the conference room when it's on
#canada
 
good morning
 
Anonymous
I love this scarf -- I can make it into a wrap to keep me warm
 
1:21 PM
@JonathanMusso I ordered that banjo last night. Now it's just waiting, probably three weeks worth of it.
 
Anonymous
I am sooo tired today, but have been every morning this week. Good news, I leave at 4pm today, not 5
 
@WayneConrad great, damn, that's gonna be a while. first time playing it will be all the better
 
It gives me time to order a strap for it. Playing a banjo without a strap is a PITA.
@HunterStevens Why so tired?
 
@Cereal np. how many refugees are they supporting?
 
@JonathanMusso I'm not entirely sure, I was just asked to make a website with almost zero specs
 
Anonymous
1:31 PM
@WayneConrad I have some clue. I started to take something before bed, and it could be making me tired in the morning... But I am not sure. The tiredness feels as if I did not sleep through (at least) half the night. Like, I could go in a dark room and sleep in two seconds right now
 
@HunterStevens Are you going to experiment with not taking the something and see if you get less tired?
 
Anonymous
@WayneConrad IDK. I do not like not taking something just to experiment. But I will say I was tired (don't remember how much though) in the mornings recently, in general, before taking this medicine
 
Anonymous
I have been stressed a lot recently, since just before Christmas. I think the stress is showing in the mornings now
 
Oh, it's a medicine... yeah, don't stop taking that without talking to your Dr. Bummer about being tired, though. That makes the day hard.
 
Ugh this dumb library. It's a JS library for dropdowns. You can provide a scoring function to handle how it sorts the options. I'm trying to do a sort on dropdown open, but it deliberately skips scoring when the query length is 0. ;_;
 
1:46 PM
@Cereal Gotcha. Sounds fun though. Shot in the dark!
 
Anonymous
I actually see that doctor tonight, so it is perfect timing
 
What's the proper procedure for modifying a library for a project?
 
Anonymous
Right now, I wish I worked in Japan, where they have nap hour at work
 
Pretty sure it's within japanese culture to work 10-12 hour days, though.
I remember reading some articles over the past few years that the birth rate was actually declining because of working conditions. People were working so much they weren't forming relationships
 
Anonymous
^ Yes, I remember that now.
 
Anonymous
2:11 PM
I am debating whether I am just sick. I am very cold. I am tired. And my face looks paler than normal in the mirror
 
Apparently my cellphone is no longer a cellphone when I hold it in portrait mode :-D — Jan Dvorak 1 min ago
 
Anonymous
2:44 PM
The heat is turned on, but I feel like I am an ice cube
 
2:55 PM
@Cereal If it's a gem that has its source on github, clone the github project. Next pull the clone onto your box. Now, for your project that needs the modified gem, modify its Gemfile to point to your local copy using the path: option. Make and test your changes. Commit them to a new branch. Push that branch to github. Now modify your Gemfile to use the branch on github using the git: and branch: options.
Next make a pull request to the gem source's project asking it to incorporate your branch. When the gem incorporates your change and is released, update your Gemfile to use the published gem again and blow away your github clone of the project.
 
It's a javascript library
It's not a practical change for the library either
There's actually 2 libraries
Both do a check if the query is empty
One library I could use a setting to make it not do that, and it would be nice and pretty. The other one not so much
 
@Cereal you can get away with working 40 hour weeks in Japan but people will think less of you for it.
but they won't say anything unless they're drunk so it doesn't much matter
 
@Cereal Oh. Never mind then :D
 
Japan's an interesting place
 
yeah, I don't think I could handle living there... I would yell at people D:
I probably will yell at people when I go in April
 
3:02 PM
There's a lot of stuff about japan I like, and a lot of stuff I don't
But it's definitely interesting
 
There is some very yummy food in Japan.
At least it looks yummy on cooking/travel shows.
 
Anonymous
I love sushi. A place we go to is very authentic.
 
One of the places I go for sushi, the chef has been in Jiro's shop. I don't know if that makes him good, but it does mean I have a Jiro number of 2, which is kinda cool.
 
Anonymous
Whoever Jiro is... haha
 
Jiro Dreams of Sushi is a 2011 American documentary film directed by David Gelb. The film follows Jiro Ono (小野 二郎, Ono Jirō), an 85-year-old sushi master and owner of Sukiyabashi Jiro, a Michelin three-star restaurant, on his continuing quest to perfect the art of sushi. Sukiyabashi Jiro is a 10-seat, sushi-only restaurant located in a Tokyo subway station. Jiro Ono serves a tasting menu of roughly 20 courses, for a total of 30,000 Japanese yen (just under $240). The film also profiles Jiro's two sons, both of whom are also sushi chefs. The younger son, Takashi (隆士), left Sukiyabashi Jiro to open...
 
Anonymous
3:07 PM
This place is family owned and looks like a hole in the wall on the outside. But they have simply the best sushi I've ever had... I may have picutres floating around somewhere.. If they weren't deleted when my phone reset.
 
Anonymous
Last time we went, we got free wonton things... 4 freshly made/fried, filled with creamcheese, crab, and other things, and homemade sweer/sour sauce (I think)
 
@WayneConrad Amazing
@WayneConrad My favorite documentary :)
I am Jiro-jealous.
 
Wouldn't you love to sit down in that shop and eat that level of sushi? You don't even get to order... you eat what he gives you. I'll bet it's all wonderful.
 
Anonymous
I eat all kinds of sushi, except with salmon. I do not like salmon
 
My favorite is the eel. Love that eel.
 
Anonymous
3:15 PM
I've had eel before, but want to try again. I had it from a foodstore (Foodtown) and it was rubbery. Bleck!!!
 
Anonymous
I love red and white tuna topped sushi. Where I go, it melts in your mouth
 
In sushi eel is tender and succulent, and is usually served with a dark, sweet/savory sauce.
I love tuna sushi. Mmmm.
 
not a fish fan
 
Anonymous
I was going to link to the restaurant, but their menu online is outdated. They have double the special rolls than they show online.
 
Anonymous
My favorite is the magical roll and butterfly roll. First is soy bean paper (pink), avocado, asparagus, crab, prob something else, mango (yumm), and served with a magic sauce (two sauces mixed together). The second is topped with white/red tuna.
 
Anonymous
3:20 PM
Next time I go I will send a photo.
 
Seems to me that most asian restraunts have outdated online menus
Went to order some vietnamese food online the other weekend, and the guy taking my order had to correct pretty much every item ;;
Price changes, ingredient changes
 
they probably pay some relative's kid to build the site and then never update it
 
3:47 PM
@CuddleBunny Most bunnies are vegetarian.
 
Yeah, I'm more like the Monty Python bunny though, so I'm a carnivore. But only of land creatures.
 
 
2 hours later…
5:23 PM
Does anyone know if there is an easy way to have users upload an image then have them define areas to be a clickable map?
 
@Jared I almost did a project like that once
I was going to impose the image on an HTML canvas and let them draw rectangles on it and record the coords
 
5:39 PM
@CuddleBunny Ah, thats a decent idea. i just don't want to go in and do it myself, so hoping to figure out a way to have them do it :)
 
user5639219
5:53 PM
Hello guys! i using rails 4.2 and i create 'enum role: {:user, :manager, :admin}' How i can integrate in views? thanx
 
@Maic Assuming your enum is on a model. You can just do your @your_model.role in your view. Assuming you set the @your_model in the controller
 
6:21 PM
Hmm. My project needs to connect to three databases now. I always seem to work on these crazy multi-database activerecord projects.
 
i had that issue a while ago wayne..
i needed a way of accessing an archive database
so Article.find.. would search the current db and if not found search the archive db
 
Sounds like a perfect time to whip out the hot new pattern of microservices
 
lol
 
Heh!
 
i just spent 5 minutes wondering why my partial wasn't rendering, and realized i had <%= 'partial' => instead of <%= 'partial %> (-.-)
 
6:26 PM
That would be hard one to spot.
 
I did that once with a database password with a decryption method... Might have cause a little panic then it magically 'fixed' itself :x
 
yeah it doesn't throw any errors :l so i was stairing at the HTML wondering why it wasn't rendering, and then boom, saw my mistake ;)
 
7:21 PM
Is there a railsy way to coalesce two fields on a model?
I need to do some summation, but use the override if its populated
 
7:50 PM
I've had couple of Youtube videos not stop playing when I navigated away from their pages. But now I've somehow managed to navigate to a video page and have the video start playing twice.
 
user5639219
@Jared Thanks!
 
Glad I could help
 
 
2 hours later…
10:13 PM
??
 
I like the "before" image better.
Reason: The gray stripes are distracting... They don't add information.
 
I'm with you
 
Yay!
 
 
1 hour later…
11:26 PM
Self evaluation forms. Sigh.
I would pay money... or to put it another way, take less money... to never fill out one of these again.
 
@WayneConrad you're flawless
ezpz
done and done
 

« first day (734 days earlier)      last day (2521 days later) »