I would like to block access to all the controller actions from a single entry point. I am using pundit gem right now. Is it possible to block all access to controller action for whose policy is not set.
so get this wayne, they told me i have been put into the final round of interviews 3 weeks ago and I STILL haven't heard back
i mean what the .. ? its one thing to tell me i am not accepted i would have been fine with that but to tell me i am ACCEPTED and then NOT CALL ME is just retarded
I had an interview on Monday, which I think went fairly well. I was told that I was the last to interview for the position, and that they were expecting to make their decision by that Friday.
I also sent a thank-you note via e-mail to the hiring manager, CC to the other interviewers, on the Tue...
@Nithin I think respond with is getting deprecated. i would stear clear from it. even if it were not, which i think isn't true, it obfuscates too much...
I don't like Rails any more is a pretty good summary of what I think is broken about Rails, and explores Lotus a little.
Disclaimer: I'm not really a Rails programmer, and not entirely qualified to have opinions about it.
I got the battery down to 55% with five hours of pretty continuous web browsing, watching videos, and 10 minutes of playing a game. My goal today is to drain it. To learn how long it takes, what happens, and how long it takes to charge it after. And because I'm home from work today, and need to fill the day with amusing things to do.
I find it shocking that someone can have a controller action that size
sorry, but that's insane. I've worked on some complex applications and never even came close to a controller action that size
that to, demonstrates a fundamental lack of design principles... surely there is some design pattern to solve this like presenters, form objects, service objects, etc...
was wondering if anyone could sanity check this class DudeBro def initilize(name, awesomeness) @name= name @awesomeness = awesomeness end def dudePrint puts "Name: "+ @name+ " Awesomeness:"+ @awesomeness.to_str end end tom = DudeBro.new('Tom',5) Throws this
I thought I understood FFTs enough to do what I need to do, then I found this that talks about sliding windows, 1D, 2D and 3D, and I realized I don't know anything
@Btuman When you paste code, you can format it as code by selecting a section of it and clicking on "fixed font" on the right. That works when you edit your post, too.
@Btuman First, you can replace your def awesomeoness...end with attr_reader :awesomeoness. A little trick Ruby will do for you.
@Btuman The problem is that your array contains a nil.
Which I need to apply to the sample stream before applying a FFT. Apparently.
Yep. I've learned how to capture sound samples. I've got a minute of morse code audio in a file on my PC. I'm going to use that to learn how to do the processing, because Ruby is way easier for playing around in. Then I'll take what I learned and code it in Java (ugh) on this phone.
The most popular Ruby FFT library has 6000 downloads or something. The NArray gem is popular, and supposedly does fft, but it's documentation is worthless.