Displaying 20 results from an estimated 800 matches similar to: "Simply RESTful deletion"
2009 Aug 30
0
How to mock block
I have written the following codes:
uri = URI.parse(page_url)
response = Net::HTTP.start(uri.host, uri.port) do |http|
http.get(uri.request_uri, headers)
end
How can mock it with different uri.request_uri and returns different
response?
Thanks in advance,
Richard
2011 Sep 25
1
[LLVMdev] Placeholders in the target data layout
Hello,
I have to use the target data layout for my compiler to make the native
linker work. But the target data layout is target specific. My bitcode file
should not be. The only critical thing in the layout is the pointer size:
"p:32:32" vs "p:64:64". Is there a way to use placeholders to insert the bit
width of a pointer at a very late stage? It would be uncool when the
2010 Aug 15
1
turn Usernames in Lowercase
Hi,
I'm just curious how to force usernames to be modified to lowercase
letters if one mixes uper and lower case letters to one salad?
Cause my SpamAssassin gets confuesd and treats different spellings of
Usernames as different Users - which is uncool.
I've heard about something you can add in your dovecot.config to enforce
lowercase letters only.
Thanks
2014 Jun 25
2
[LLVMdev] Phabricator and private reviews
On 25/06/2014 21:03, Eli Bendersky wrote:
> On Wed, Jun 25, 2014 at 10:44 AM, Alp Toker <alp at nuanti.com
> <mailto:alp at nuanti.com>> wrote:
>
> For whatever reason, patches posted to the Phabricator website
> still aren't being sent to the mailing list, making it difficult
> for us to review them.
>
> I've raised this issue a couple
2006 Aug 10
4
mongrel and comet "implementation"
Hey folks,
I was playing around with adding Comet (a javascript technology used
to receive events without AJAX polling) support to Mongrel. More info
about Comet here:
http://en.wikipedia.org/wiki/Comet_%28programming%29)
I sort of got it working. My code is available at:
http;//cyll.org/comet.tar.gz
Run comet.rb from inside the directory and point your browser at:
http://localhost:5555/
The
2006 Aug 02
1
Use Non CRUD with Simply RESTful
Hey guys,
I''m trying out the new RESTful bits in Edge Rails, and am having a bit
of trouble wrapping my brain around certain things. For instance, say I
have a page that is separated into sections with tabs at the top. I want
to replace divs on the page with RJS.
Now typically before I''d have a method on the controller that rendered
an RJS template to accomplish this.
2006 Jun 30
2
Simply Restful: Can''t create update forum
Views
<code>
<% form_for :user, @user, :url => { :action => "update" }, :method =>
:put do |f| %>
...
<% end %>
</code>
Outputs
<code>
<form action="/users/1" method="post">
...
</code>
It sends post instead of put. I don''t see any hackish hidden put stuff
in the form either.
--
Posted via
2014 Feb 06
0
Re: Possible to speed up guestmount?
On Thu, Feb 06, 2014 at 02:53:05AM +0000, Patrick Schleizer wrote:
> Hi,
>
> Apparently,
>
> guestmount -o allow_other -a "/path/to/raw_file" -m /dev/sda1
> "/path/to/mountfolder"
>
> is much slower than
>
> kpartx -av "/path/to/raw_file"
> mount /dev/mapper/loop0p1 /path/to/mountfolder
>
> (Doing lots of
2002 Mar 13
0
[Bug 162] New: Tunneling of ssh over ssh seems broken
http://bugzilla.mindrot.org/show_bug.cgi?id=162
Summary: Tunneling of ssh over ssh seems broken
Product: Portable OpenSSH
Version: 3.1p1
Platform: ix86
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: ssh
AssignedTo: openssh-unix-dev at mindrot.org
ReportedBy: jl at
2017 Jul 14
0
[regression drm/noveau] suspend to ram -> BOOM: exception RIP: drm_calc_vbltimestamp_from_scanoutpos+335
On Fri, Jul 14, 2017 at 11:15 AM, Mike Galbraith <efault at gmx.de> wrote:
> On Fri, 2017-07-14 at 17:10 +0200, Karol Herbst wrote:
>> Yeah, we shouldn't let the machine die. Are there more WARN_ON_ONCE
>> usage we could convert to WARN_ONCE?
>
> Shooting the messenger is generally considered uncool :)
That's never stopped it from being a popular practice...
2017 Jul 14
0
[regression drm/noveau] suspend to ram -> BOOM: exception RIP: drm_calc_vbltimestamp_from_scanoutpos+335
On Fri, 2017-07-14 at 17:10 +0200, Karol Herbst wrote:
> Yeah, we shouldn't let the machine die. Are there more WARN_ON_ONCE
> usage we could convert to WARN_ONCE?
Shooting the messenger is generally considered uncool :)
-Mike
2015 Nov 17
1
Exporting a method to a cluster object
Hi,
This is my first message to this list. It would be great if people here
could help me with the following problem (self-contained code example
below):
I have a list of matrices and would like to apply a summary function to
the matrices in the list. The matrices represent social networks,
therefore I need to apply some specialized summary functions provided by
the ergm package. These
2014 Jun 25
4
[LLVMdev] Phabricator and private reviews
I have to agree with Alp here. I’ve seen a number of review threads that either seem to be missing emails or in which the emails arrive days in unintelligible orders. I don’t know that we need to cut off use of it, but we need to prioritize resolving this issue.
—Owen
On Jun 25, 2014, at 10:59 AM, Eric Christopher <echristo at gmail.com> wrote:
> I don't think it's all
2014 Jun 25
12
[LLVMdev] Phabricator and private reviews
For whatever reason, patches posted to the Phabricator website still
aren't being sent to the mailing list, making it difficult for us to
review them.
I've raised this issue a couple of times in the last few weeks.
In practice this has a detrimental effect to the development workflow
because it means that code is being seen only by a small group of
individuals who have web accounts.
2014 Jun 25
3
[LLVMdev] Phabricator and private reviews
Eric Christopher wrote:
> On Wed, Jun 25, 2014 at 11:09 AM, Owen Anderson<resistor at mac.com> wrote:
>> I have to agree with Alp here. I’ve seen a number of review threads that either seem to be missing emails or in which the emails arrive days in unintelligible orders.
>
> Weird. I've only seen the one occasion earlier.
>
>> I don’t know that we need to cut
2014 Jun 25
6
[LLVMdev] Phabricator and private reviews
In a recent review via Phabricator, I was receiving bounce notifications
for mail being sent to llvm-commits because of "Too many recipients to the
message", even though I am a subscriber. I wonder how common is that.
On Wed, Jun 25, 2014 at 12:03 PM, Manuel Klimek <klimek at google.com> wrote:
> I am prioritizing email issues. Please always make sure to send them
>
2014 Jun 25
5
[LLVMdev] Phabricator and private reviews
On 25/06/2014 21:18, Eli Bendersky wrote:
>
>
>
> On Wed, Jun 25, 2014 at 11:10 AM, Alp Toker <alp at nuanti.com
> <mailto:alp at nuanti.com>> wrote:
>
>
> On 25/06/2014 21:03, Eli Bendersky wrote:
>
> On Wed, Jun 25, 2014 at 10:44 AM, Alp Toker <alp at nuanti.com
> <mailto:alp at nuanti.com> <mailto:alp at nuanti.com
2006 Jul 18
8
Including files from lib/
I asked about this a few days ago and got no replies, so I''m asking again.
I have a file called string_extensions.rb. In it, I extend the String class
to include some extra functionality. I put this file into the lib/ directory
of my app.
But the changes made to String don''t take effect. The program acts as though
the files aren''t being included.
I''ve stopped
2006 Jun 04
0
A little confused about routes....
I''m currently playing around with various URL patterns and I''m a little
confused about how routes and the _url helpers work. I''ve read through
the AWDWR book (1st edition and current 2nd edition beta book) and I''m
still not clear on what''s happening.
I''ve been working with variations of the following route:
map.competition
2006 Apr 25
6
Does Rails need more useful URL helpers?
Similar topic to my last post, but a different brand of methods. In
particular, the url_for and link_to methods have come to bother me at
times. I will mention one instance in particular:
I am designing a high-end administrative interface. This interface
supports paging, sorting and limiting to specific field values. Thus I
have params named page, sort and limit.
The lack of elegance I see