search for: devblogs

Displaying 20 results from an estimated 38 matches for "devblogs".

2006 Mar 29
1
Fixing output_compression for Rails 1.1
With Rails 1.1 the output_compression[1] plugin was broken. Once I upgraded to 1.1, I had to tweak it a bit to make it work. Mainly it''s removing the code dealing with component requests, as that''s part of rails now, and changing one function call. Get the modified output_compression.rb file from http://devblog.famundo.com/output_compression.rb and give it a try. It''s
2009 Mar 24
3
Submitting Patches for Facebook Connect
Hi I am currently using facebooker to do some facebook connect. I found out that these functions are currently missing from facebooker connect.registerUsers connect.unregisterUsers I have modified user.rb and parser.rb to get these function going. I have verified that it works and would love to contribute stuff back. However I can''t figure out how to go about it. Any help would be
2008 Dec 09
3
a custom progress bar formatter
I''ve always been a little bit bemused by the default ruby test/unit and rspec output. Basically, what I want is a progress bar and that any errors and warnings be displayed immediately. I also want warnings to be printed for slow specs. When using color, I want the entire progress bar printed in green if everything is good, yellow if there has been a warning, and red if there has been an
2006 Apr 03
0
Making output_compression work with send_file
While working with the newly fixed output compression plugin, one of the devs in my team discovered that it breaks with send_file(). So if you are using send_file() in your application you must get the fixed file I''ve put at: http://devblog.famundo.com/output_compression.rb. The change is actually in checking for the Content-Disposition header added by send_file(). See the full writeup
2009 Feb 05
2
[Cucumber] Progress Bar
Inspired by Nick Evans'' RSpec progress bar[1], I had a little crack at implementing the progress bar for cucumber, ''cause I want to know how long a break I can take while the features are running :) It''s in my fork, in the coverage_formatter branch: http://github.com/mattwynne/cucumber/tree/master It will dump failing feature, scenario, step and the exception as
2020 Jun 07
3
Kill "KillTheDoctor"
...er/llvm/utils/KillTheDoctor [2] https://www.ecosia.org/images?q=%22has+stopped+working%22 [3] https://github.com/llvm/llvm-project/blob/master/llvm/lib/Support/Windows/Signals.inc#L484 [4] https://github.com/llvm/llvm-project/blob/master/llvm/utils/unittest/UnitTestMain/TestMain.cpp#L38 [5] https://devblogs.microsoft.com/oldnewthing/20160204-00/?p=92972 [6] https://github.com/llvm/llvm-project/blob/master/compiler-rt/test/lit.common.cfg.py#L219 [7] https://github.com/llvm/llvm-project/blob/master/llvm/utils/not/not.cpp#L48 [8] https://github.com/llvm/llvm-project/blob/master/clang/test/Frontend/remove...
2023 Apr 04
1
Breaking Change in Rcomplex Layout?
...9;s not yet implemented. Would it help Rust's bindgen (and, potentially, other C declaration parsers) if R could optionally give a name to the anonymous union member, like it's done in Windows API [2]? -- Best regards, Ivan [1] https://github.com/rust-lang/rust/issues/49804 [2] https://devblogs.microsoft.com/oldnewthing/20170907-00/?p=96956
2006 May 14
0
Beware of HashWithIndifferentAccess#symbolize_keys!
Hi, I just posted a patch tot he rails trac for a bug we found where running symbolize_keys! on a HashWithIndifferentAccess will delete all items from the hash. Please make sure you either never call symbolize_keys! (or to_options! which just alias it) on a HashWithIndifferentAccess, or apply the path attached from the ticket at: http://dev.rubyonrails.org/ticket/5076 I also posted a much longer
2006 May 30
0
Fixing PUT to work with multipart messages
We recently wrote our API to be fully REST, and so user PUT for updates. The problem is, we need multipart requests, but there''s a bug in CGI, and it doesn''t work. The rails code as a fix for POST requests, but not for PUT requests. So we added PUT as well and it works great now. I posted this as a patch in trac (http://dev.rubyonrails.org/ticket/5235) so you can get it if you
2007 Apr 26
2
multiple users - auth'd source?
Hi, I am trying to bring up an Icecast service for users of a free & paid subscription system. Paid users can source a stream. Free signups can listen (auth) to the paid user's streams. My user data is in LDAP mainly, but I have a URI that returns "icecast-auth-user: 1" when passed the user= and pass= variables on the HTTP GET. AFAICT - the source password has to be
2023 Apr 04
1
Breaking Change in Rcomplex Layout?
...39;s bindgen (and, potentially, other C declaration > parsers) if R could optionally give a name to the anonymous union > member, like it's done in Windows API [2]? > > -- > Best regards, > Ivan > > [1] https://github.com/rust-lang/rust/issues/49804 > > [2] https://devblogs.microsoft.com/oldnewthing/20170907-00/?p=96956 > [[alternative HTML version deleted]]
2006 Apr 24
3
Regex in HTML
So, I''m trying to write a nice bit of regex to handle finding anchor tags in a bit of html. This is what I''ve got.... /<[aA][^>]*>[^<]*<\/[aA]>/ I''m planning on using this with a gsub!. Here is what it has to do.... <html><a href="http://stuff.com" class="link">Anything in here.</a></html> As you can
2006 Apr 06
3
Deploying with Capistrano via cron
I''m attempting to auto deploy a rails application to a development server periodically during ongoing development. I''ve setup ssh keys to allow the proper user auto login permissions, but have ran into 2 issues. 1. When the script is run from a cron job as the same user as I currently manually deploy from I receive an error when reaper tries to execute - "can''t
2006 Jun 15
13
Best Approach to a ''Down for Maintenance'' Page?
What is the best way to implement a ''Down for Maintenance'' page across your Rails app? Ideally I would like to have a button in my admin section that toggles the display of a ''currently under maintenance'' page to every public request to the app (possibly with some dynamic content like estimated down-time) except for: - - requests from a specified IP
2006 May 31
6
Restricting access to files uploaded by file_column
Hi Guys, Does anyone know how to restrict access on files that you upload in file column to certain users only? I notice that files being saved by the file_column by default are being saved under the public folder and can be accessed just by typing the URL directly. Let''s say you have a Login system where you restrict access to some pages and allow those users to upload their own
2011 Sep 13
1
Post held in moderation "Rsync chokes on this file"
I sent a message with the above subject:"Rsync chokes on this file", which as a 7Mb file attached to it and got a message that the post was held in moderation because the attached file is too large. What is the procedure for sending a file to the developers for checking? Can I upload the file somewhere and create a link to it in my email, or submit it to some email account that permits
2011 Sep 23
1
Rsync goes chokes on this file, can the developers look into it?
I posted a message to the list earlier about rsync's problem with a file, - here is a link to the post.- http://permalink.gmane.org/gmane.network.rsync.general/24044 I have been trying to backup some files which rsync and it always chokes on this file. It simple halts with a non intuitive error message. rsync --version produces this info : rsync version 3.0.4 protocol version 30 It is
2009 Jul 29
1
Windows+Apache+FastCGI+Postgres - didn't work
Hello All, Get [Thu Jul 30 03:46:12 2009] [error] [client 66.249.67.10] (OS 2) Can''t find specified file: FastCGI: failed to connect to server "C:/usr/www/ public/dispatch.fcgi": CreateFile()/WaitNamedPipe() timed out [Thu Jul 30 03:46:12 2009] [error] [client 66.249.67.10] FastCGI: incomplete headers (0 bytes) received from server "C:/usr/www/public/ dispatch.fgi"
2013 Nov 18
0
I wrote CheckPassword Shell example for Dovecot
Hello, Seeing as there are not too many Dovecot CheckPassword driver usage examples on the Internet, I wrote one using Shell script. You can see post about it here: http://devblog.plesk.com/2013/11/shell-checkpassword-authentication-in-dovecot/. The post also has a link to Mercurial repository with the example. Feel free to use the example as you see fit. You may even include it into
2017 Apr 21
0
Are there any GUI tools for analyzing xapian databases?
Are there any GUI tools for analyzing xapian databases? I am looking for something that can create graphs from analyzing xapian database contents. -- Frank Church ======================= http://devblog.brahmancreations.com