Displaying 20 results from an estimated 700 matches similar to: "DOS dir command on Samba share"
2012 May 10
2
[LLVMdev] MCJIT
Hi All,
What is the current level of stability of MCJIT using ELF?
Thanks.
--
-------------------------------------------------------------------------------------------
Braxton McKee Broad Street Analytics
www.twitter.com/braxtonmckee www.broadstreetanalytics.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2012 May 12
2
[LLVMdev] MCJIT
Can you also tell about inline-asm support in MCJIT for x86? I've been
trying to get it to work (my previous post: "JIT support for inline asm
on Linux"), I get an error:
> LLVM ERROR: Inline asm not supported by this streamer because we don't
> have an asm parser for this target
thanks,
ashok
On 5/11/2012 12:44 PM, Kaylor, Andrew wrote:
> Hi Braxton,
>
> I
2012 May 11
0
[LLVMdev] MCJIT
Hi Braxton,
I think it's very good. All of the ExecutionEngine tests pass. I'm not aware of any major defects.
I don't believe that the current implementation sets the permissions on JITed memory as you might wish. Namely, I think executable memory may be left writeable and data memory may be executable. The current interface is also somewhat limited. Basically, you pass a
2012 May 14
0
[LLVMdev] MCJIT
Inline asm should work in the MCJIT just as well as it does in statically compiled code. It's the same code path for both. The error you're seeing indicates that something isn't configured in a way the compiler understands.
-Jim
On May 12, 2012, at 10:48 AM, Ashok Nalkund wrote:
> Can you also tell about inline-asm support in MCJIT for x86? I've been
> trying to get it to
2012 May 14
2
[LLVMdev] MCJIT
I was able to get past the error by calling
InitializeNativeTargetAsmParser() in my code. Now I have a failure in
resolving external libraries, so looking into that (recompiled with
--enable-ffi but I now get an error LLVMgold.so not found).
Then I hda to disable the following code in
lib/Target/X86/X86CodeEmitter.cpp:
> case TargetOpcode::INLINEASM:
> // We allow inline
2007 Jan 08
6
Thumbnail plugin
Hi,
With some help from Quinn_Storm, iXce, maniac103, mikedee and
KristianLy :), I've managed to modify switcher.c and make a new plugin:
thumbnail.
The plugin shows thumbnails of windows when cursor is moved over a task
button in taskbar.
Screenshot:
http://pix.nofrag.com/b0/7a/051d45e25bfffed09eeb9b00e383.jpeg
Download:
2006 Jul 17
6
3 newbie questions
hey all,
I have 3 tables like this:
Images (id,name)
Tags (id,name)
ImagesTags(imageid,tagid)
in my image model I do a "has_and_belongs_to_many :tags" but to make
it work I need to rename ImagesTags(imageid,tagid) to
Images_Tags(image_id,tag_id). My question is that given that I can''t
rename the table, is there any way to make it work with the original
names?
Second question:
2006 Mar 01
2
error: uninitialized constant
total rails nuby here. I have a table "thumbnails", hence the model
Thumbnail. I''m extending the Thumbnail class with a few constants
needed for thumbnail cropping:
class Thumbnail < ActiveRecord::Base
SOURCE_FILE_PATH = "path/to/source"
TARGET_FILE_PATH = "path/to/target"
TARGET_WIDTH = 100
TARGET_HEIGHT = 100
end
Now, in my controller
2006 Aug 09
8
AJAX image manipulation
I have this code in a controller that returns images to my browser...with
ROR.
def index
@products = Product.find_all_ pictures
end
....this is the .rhtml..
<% for photo in @pic -%>
<div class="entry">
<img src="<%= photo.image_url %>"/>
<h3><%= h(photo.title) %></h3>
<%= photo.description %>
2007 Mar 04
3
Dynamically setting the image directory used by attachment_fu
It took me a while to figure this out and I don''t see any wiki pages
for attachment_fu so I figure I would just post this here.
I didn''t like the way attachment_fu by default creates directories
under a given directory for a specific class e.g.
item_image/1/img_1.jpg
item_image/1/img_1_thumb.jpg
item_image/2/img_2.jpg
item_image/2/img_2_thumb.jpg
item_image/3/img_3.jpg
2006 Jun 07
7
file_column image versions
does anyone know much about resizing different versions of images with
file_column? i tried it and everything works fine, but my question is
can you do more than just make sizes with a version of image? i''m
working on a photo album and i would like to resize the image to a
medium size, but create a thumbnail as well and crop anything left to
make the thumbnail a perfect square.
--
2006 Jul 22
7
Validation with has_many
I have two problems. I have a comment that has_many uploads. Before
saving the comment, I want to be sure that the upload(s) has passed
validation, but I also need to validate in other ways. For example, I
do not want to save the comment if there is no comment or upload. Or, I
do not want to save the comment if the image has been uploaded
previously (comparing md5s with past upload md5s
2008 Apr 15
4
is there a way to outsource image uploads?
I''m trying to keep my rails app lean and mean and want to avoid (if
possible) dealing with image uploads, thumbnail generation, running
RMagick etc.
I was excited about Amazon letting you upload files directly from the
browser to your S3 bucket (http://doc.s3.amazonaws.com/proposals/
post.html) but I couldn''t figure out how to generate thumbnails - has
anyone figured this out?
2006 Feb 17
1
validate() with has_many association
I''m creating a simple portfolio site for a painter. I have a painting
and an image model with following relationship:
Painting
has_many :images
Image
belongs_to :painting
On the edit screen the user can edit the Painting data as well as upload
pictures for a thumbnails and full size image. The Image model extracts
filename, width, and height from the uploaded file, saves those
2007 Jul 11
7
Best way to upload an image and make a thumbnail
Hi, which is the best way to upload an image, keep that and also make a
thumbnail?
The images should not be stored in the database, but as normal image
files in a specific directory.
I think that for the thumbnail i should use rmagick, but for the upload
? (something which work with and without javascript, in every browser)
Thanks :)
--
Posted via http://www.ruby-forum.com/.
2008 Jun 30
1
javascript onclick for thumbnails
Hi,
i was struggling for a function where only 1 thumbnail should be active
and others inactive when clicked on the particular thumbnail.
code:
1. view:
2. <script type="javascript">
3. function PlayVideo_options(videoFile, id) {
4. document.getElementById(id).className = ''video_option
active_video'';
5. }
6. </script>
7.
8.
2007 Aug 22
8
How to spec an attachment_fu model
First off, I''m not trying to spec attachment_fu, I know it''s been tested.
But, I added some code to that model that I do need to test. Basically,
I need to somehow fulfill the "uploaded_data" property so I can actually
run my tests(otherwise they fail because of validations). The
"uploaded_data" field is what would grab the multipart data from form.
Here
2006 Apr 23
2
file_column and Thumbnails
I see that the SVN version of the excellent file_column plug-in can create
thumbnails using the url_for_image_column helper.
This uses Rmagick to create the thumbnail... Quick question...
Let''s say the file is a TIFF image - can the helper create a JPG version of
the thumbnail for display in the browser?
Curious if the plug-in can handle that transform with some creative use of
the
2006 Feb 25
2
Ruby Interface Recommendations Photo Gallery Creation?
Hi, I''m looking to create a gallery index page of thumbnail images which
point to their associated images galleries. Also, I would like to organize
the images from left to right and top to bottom. Furthermore, I would like
to limit the number of thumbnail images on the page. I guess that I''m
needing some type of horizontal looping interface for both the thumbnail
index page
2007 Jun 27
5
How to make attachment_fu generate RESTFUL URL
hi folks:
I follow this article:http://clarkware.com/cgi/blosxom/2007/02/24
all goes well except the public_filename ,it return something like
"photos/0000/0001/test.jpg" ,not the expected RESTFUL URL LIKE
''photos/1/test.jpg'',any suggestion?
My Env is Rails 1.2.3 on Ruby 1.8.6 with attachment_fu from http
://svn.techno-weenie.net/projects/plugins/attachment_fu/ by now