similar to: Specify filename using rails Metal

Displaying 20 results from an estimated 10000 matches similar to: "Specify filename using rails Metal"

2019 Feb 11
3
bare-metal backup before update--options?
Hi all! I'm a "nervous nellie", I have not yet updated my 7.5 desktop to 7.6 because (1) it has an Nvidia card, and (2) I've heard of problems upgrading on top of software RAID (using RAID1 with 2 drives). I need to upgrade it to stay secure, and I want to do a bare-metal backup first (so I can put it all back as it now is, in case it explodes in my face), so I'm trying to
2007 Aug 27
2
send_file : downloaded file cannot be open after upload OK
I easily implemented the upload , using the ''attachment_fu'' plugin... I can see and open the uploaded files (a pdf file 60k and a jpeg images 28k) now I try to implement the download action in my document_controller, I wrote : def download @document = Document.find(params[:id]) send_file(@document.full_filename, :filename =>
2019 Feb 12
1
bare-metal backup before update--options?
On Mon, Feb 11, 2019 at 04:16:38PM +0100, Simon Matter via CentOS wrote: > > Hi all! > > > > I'm a "nervous nellie", I have not yet updated my 7.5 desktop to 7.6 > > because (1) it has an Nvidia card, and (2) I've heard of problems > > upgrading on top of software RAID (using RAID1 with 2 drives). > > > > I need to upgrade it to stay
2009 Jun 11
3
Gathering "metal" stats
Hey All, I’m attempting to gather stats on usage of the “metal”, by which I mean the physical host’s hardware. I would like to know the CPU, IO, and network stats for the hardware. Normally I would get these from /proc/stat, /proc/diskstat, and ifconfig respectively. However, because of the segregation of VMs and Dom0’s special relationship as a paravirtualized I don’t know if I can trust this
2008 Jun 15
11
Ouch! Can't figure out this file upload issue...
Okay, so this is driving me crazy. I''m trying to do a file upload using code from a book. What happens: I get wrong number of arguments (1 for 0) in the upload controller save action. No idea why. Schema: The schema for the picture model object is just a textfield named comments and a binary field called data. Upload controller: def get @picture =Picture.new end def save
2006 Nov 04
1
ActionMailer Sending Two text/plain Parts
Hello ~ I have a working ActionMailer Action that takes the template to use as an argument so I have one action that handles multiple emails. The email sends just fine, and the correct email templates are used, but ActionMailer is throwing in its own text/plain section in addition to the one I specify. Does anyone have any ideas on why this might be occuring, when I am specificially specifying
2019 Jun 27
4
LLVM on bare-metal
Hello! Q1 Are there any resources or examples on embedding LLVM into an ARM-based bare-metal application?  Searching in this area only turns up information on how to use LLVM to target bare-metal when I want to compile LLVM for linking against a bare-metal application. Q2 Are there any memory usage benchmarks for LLVM across the common tasks (especially loading bytecode, doing the
2008 Sep 02
2
Actionmailer - Multipart and Outlook?
Hi, I''m having issues with getting a consistent result with the emails I am sending using Actionmailer. Problem: Emails that I send with plain text, rich text, and attachments do not display the same results across GMail, Yahoo, Outlook and Thunderbird. Scenario: I am sending an email with text/plain, text/html, and 2 attachments using the code below, and I''ve specified the
2019 Jun 27
2
LLVM on bare-metal
Hi Peter Thank you for your helpful comments, especially on the RPI.  Since my use case is lot simpler than compiling all of Clang, I hopefully can take your experience as a good sign. The RTOS that TI provides for the AM335x actually has pretty complete posix layer and other standard libraries.  However, I am working without any virtual memory subsystem, so no mmap.  However, I was under
2009 Oct 09
3
Bare Metal vs virtualization
Hello to all: I know this list is generally Linux-only, but I figured I'd try to gain wisdom from those with hard-core Windows needs, too. I was recently pricing out a high-end desktop system for a user who will doing a lot of CAD, Matlab, SolidWorks, and other apps that will utilize a lot of number crunching and video. The quote for the desktop (64-bit Vista is likely), which included 12
2010 Dec 03
5
Linux DomU vs Bare Metal performance issues
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I''m trying to diagnose a reasonably large performance drop between two ostensibly similar servers; one running CentOS 5.5 on bare metal, the other running Fedora 14 as a Xen DomU under CentOS 5.5 (Xen 3.1.2-194.26.1.el5) I have a pair of older Dell PowerEdge 1750 servers, each with 4GB ram and 2x 2.4GHz Xeon CPU''s with
2009 Dec 26
1
oVirtBIOS : Virtualization Firmware
Misters, Let me introduce myself : Guillaume FORTAINE, Engineer in Computer Science. Me and my partners are currently working on a Virtualization Firmware. After an analysis of the various solutions (Citrix, VMware and Microsoft), it seemed natural to our eyes, to enable a true bare-metal hypervisor, to go as close as possible to the hardware, hence the BIOS. That's why we are currently
2015 Aug 25
4
OPUS on bare metal ARM
Hi everyone, I?m currently trying to use opus on a ST ARM (STM32F407) without any OS (bare metal). The aim of my project is to transmit voice over CAN bus. The main issue I have is that opus fail to allocate memory, the ALLOC macro always return a NULL pointer. I have sure that I have enough free space to allocate buffers. Is there anyone who already try this or have meet this issue ? Thanks
2007 Apr 27
3
attachment_fu content_type problem
Hi all.... Admittedly I''m new to Rails and trying to find my way but I''m having an issue with uploading documents with attachment_fu. I have a form where I''m uploading multiple attachments (using AJAX to add file_filed_tags). That seems to work pretty well. The problem is I can''t seem to get the content_type to work as I would expect. For example, if I use
2006 Jun 01
9
Bare Metal Installation of Xen
Is there a documented approach somewhere for performing an unattended ''bare metal'' install of Xen? The Xen Users'' Manual describes an installation flow that requires a host OS on the target machine. This host OS is used for installation of Xen, but Xen does not execute "on top of" this OS (rather Xen executes directly "on top of" the hardware
2020 Jul 03
2
Exceptions not getting caught on bare-metal target
Hi, We're working on adding exception handling support for a downstream bare-metal target. I read through the LLVM exception handling docs [1] and went through some patches from other backends to understand what parts we need to implement. We're now at a point were it feels like it should work, but unfortunately exceptions are still not getting caught. Our target uses DWARF
2013 Aug 28
0
Investigating memory performance: bare metal vs. xen-pv vs. xen-hvm
I''ve been trying to compare memory access speed between bare-metal, xen-pv and xen-pvhvm (hvm with pv drivers). In all 3 setups I''m running the same kernel (3.6.6), built with support for xen, on a 64 core AMD Opteron 6378. The output of xm info (relevant parts): machine : x86_64 nr_cpus : 64 nr_nodes : 8 cores_per_socket : 16
2008 Oct 08
11
Using image_tag and send_data
I am using image_tag to load an image that I''ve saved to the database (using attachment_fu if you''re curious but that''s probably not relevant here): VIEW <%= image_tag ''/photo/get_image/5'' %> CONTROLLER def get_image @photo=Photo.find(params[:id]) send_data(DbFile.find(@photo.db_file_id).data, :type =>
2007 Aug 03
6
Problems saving an uploaded image to an app folder
In my app, the user can upload images. Rather than shoving the image data in the database, i want to put the filename and content type into the db, then rename the image with its record''s id number, and then save it into a local folder in my app folder. (hardcoded for now) All the details are being saved to the db ok, so as far as i know the "picture_file=" method is fine.
2007 Mar 11
4
Faking it... import local files into attachment_fu
Hello, I''m working on an import utility that will match the functionality of uploading an object of a model that uses attachment_fu for thumbnailing, etc. Rather than uploading the file via a form, I want to populate the params[:image][:uploaded_data] with data from a file already on the server''s file system. So far, I''ve been able to copy to an instance of Tempfile