Displaying 18 results from an estimated 18 matches for "wagerlab".
Did you mean:
wagerlabs
2009 Aug 28
13
putting a running app into trace mode
...s
/execname == "firefox-bin"/
{
start = timestamp;
}
and stop tracing when Firefox hits this USDT probe:
mozilla:::main-entry
{
exit(0);
}
How do I put the running firefox-bin into "trace mode" so that my USDT
probe fires?
Thanks, Joel
---
fastest mac firefox!
http://wagerlabs.com
2006 Jun 30
4
More idiomatic way of writing a filter
...name params[:username]
if @user.nil?
message = xml.error do |xm|
xm.message "User does not exists: #{params[:username]}"
end
render :xml => message
return false
else
true
end
end
Thanks, Joel
--
http://wagerlabs.com/
2009 Sep 09
4
what is the +hex in c++ stack traces?
...t)+0x32f
XUL`PresShell::FlushPendingNotifications(mozFlushType)
+0x19e
XUL`PresShell::DidDoReflow(int)+0xeb
XUL`PresShell::ResizeReflow(int, int)+0x350
XUL`nsViewManager::SetWindowDimensions(int, int)+0xe3
---
fastest mac firefox!
http://wagerlabs.com
2006 Jun 30
8
before_filter: nil vs. true vs. false
...the session. Does nil count
as true?
before_filter :check_authentication
def check_authentication
unless session[:user]
session[:intended_action] = action_name
session[:intended_controller] = controller_name
redirect_to :action => "signin"
end
end
Thanks, Joel
--
http://wagerlabs.com/
2011 Apr 29
1
importing and filtering time series data
...plish this, starting with importing of time series?
Thanks, Joel
--------------------------------------------------------------------------
- for hire: mac osx device driver ninja, kernel extensions and usb drivers
---------------------+------------+---------------------------------------
http://wagerlabs.com | @wagerlabs | http://www.linkedin.com/in/joelreymont
---------------------+------------+---------------------------------------
2009 Sep 09
10
dtrace overhead and proper measuring technique
...uot; + (t - parseInt(h)) + "\n");
document.write("<span>ELAPSED " + (t - parseInt(h)) + "</span>\n");
}
dump("-----------\n");
dump("KILL\n");
window.close();
</script>
</body>
</html>
---
fastest mac firefox!
http://wagerlabs.com
2006 Jun 23
2
Using fixtures from IRB
...xtures. I edited the fixtures and the tests but would now like to
test associations from irb. How do I do this?
I''m not sure how to load my fixtures into irb, for example. Once they
are loaded I would create objects, save them to the db and pull
things out.
Thanks, Joel
--
http://wagerlabs.com/
2006 Jun 28
2
undefined method `use_transactional_fixtures=''
...b:1
from /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/
rake_test_loader.rb:5
from /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/
rake_test_loader.rb:5
rake aborted!
Command failed with status (1): [/opt/local/bin/ruby -Ilib:test "/opt/
local...]
--
http://wagerlabs.com/
2009 Sep 09
4
usdt probes vs pid$target
...k();
}
END
{
t = timestamp;
printf("\n\n----------------------\n");
printa("elapsed: %@u.%@06ums\n", @tsint, @tsfrac);
printa("cpu : %@u.%@06ums\n", @vtsint, @vtsfrac);
printa("count : %@u times\n", @n);
}
---
fastest mac firefox!
http://wagerlabs.com
2006 Jun 11
3
Armageddon
I''m just wondering what happened to Armageddon and whether people had
any more information/news about it. I''ve thought about comet but I think
that a flash socket would be easier to implement. Does Armageddon have
the same drawbacks as other flash sockets, namely not working over port
80 (so the companies firewall blocks it)?
--
Posted via http://www.ruby-forum.com/.
2011 May 01
1
microsecond timestamp support
...662
2011-04-01 14:20:34.337209,Y,R,0.00522899627686
Thanks, Joel
--------------------------------------------------------------------------
- for hire: mac osx device driver ninja, kernel extensions and usb drivers
---------------------+------------+---------------------------------------
http://wagerlabs.com | @wagerlabs | http://www.linkedin.com/in/joelreymont
---------------------+------------+---------------------------------------
2009 Oct 28
3
where do kernel data types come from?
...eopard.
How does DTrace know about these data types? I understand things like
#pragma D depends_on library darwin.d
where darwin.d has typedefs.
I can''t find definitions of nameidata and vnode in any D scripts,
though. How does it work?
Thanks, Joel
---
firefox for android!
http://wagerlabs.com
2006 Jun 27
0
More idiomatic way of doing this
...pplicationController
before_filter :verify_user
private
def verify_user
@user = User.find_by_username params[:username]
if @user.nil?
render_user_exists params[:username]
false
else
true
end
end
end
Thanks, Joel
--
http://wagerlabs.com/
2006 Jun 29
0
@response.body accumulating in functional tests?
...word can''t be blank</message>
</error>
<user>
<userid>31</userid>
<name>Tester</name>
<username>tester</username>
</user>
Am I doing something wrong? Is there a better way to check rendered XML?
Thanks, Joel
--
http://wagerlabs.com/
2006 Jun 30
0
Storing additional data in the session
...olks,
I''m using the session db table to store additional data. When a user
logins I would like to store their user id in the session record and
save that.
I''m thinking of x = Session.find(session.id) and then x.save.
Is this the right way to do it?
Thanks, Joel
--
http://wagerlabs.com/
2006 Jun 30
0
Manually creating session objects
...storing them
in the database?
I''m taking about a setup where the ActiveRecord session store is used.
I''m sharing the database with a non-Rails platform and extended my
session table to include other data that I need to store when the
user logs in.
Thanks, Joel
--
http://wagerlabs.com/
2006 Jun 30
0
Manually triggering session restore
Folks,
My controller is being given the session id as part of the POST
payload. Is there a way to manually trigger the session restore
process once I extract the session id?
Can someone point me to the files where this is happening?
Thanks, Joel
--
http://wagerlabs.com/
2009 Sep 14
1
return from memset on mac osx
...count();
self->ts = 0;
self->vts = 0;
self->size = 0;
}
END
{
printa("elapsed: %@u\n", @ts);
printa("cpu : %@u\n", @vts);
printa("count : %@u\n", @count);
printa("size : %@u\n", @size);
}
---
fastest mac firefox!
http://wagerlabs.com