Displaying 20 results from an estimated 90 matches similar to: "has_and_belongs_to_many dual insert error ?"
2006 Jan 09
1
Saving an upload
I am creating a database for movies (films) and television shows (shows)
that will have has_and_belongs_to_many relationships with the pictures
table.
CREATE TABLE screenshots (
id serial NOT NULL,
filename character varying NOT NULL,
content_type character varying NOT NULL,
primary key (id)
);
CREATE TABLE films (
id serial NOT NULL,
name character varying NOT NULL,
2009 Nov 04
1
[PATCH] nv10/exa: Spring-cleaning
* Kill the A8+A8 hack. Recent enough X servers (>=1.7) fall back to
ARGB glyphs for drivers not supporting A8 render targets.
* Kill all the global state. It doesn't matter a lot yet but it might
if we get multicard working at some point.
* Other random clean-ups with no functional changes.
Some numbers from x11perf -aa10text -aa24text -comppixwin10 -comppixwin500:
* Before, with A
2001 Mar 30
5
PICT output?
hi, all. I use R on a unix (linux) box and am quite happy with it.
However, sometimes I need to create a graph that needs to be used with
Microsoft Word or Powerpoint (ug). I can create a png or jpeg format
picture, but the text look pretty crummy because jpeg is bitmapped. I
can also create a PS/EPS version (my preference), but then it doesn't
display properly in word or powerpoint (but it
2001 Apr 02
0
PICT files...
So, lots of comments about PICT. If you have to go there (EPS to
PICT, but vectorized PICT for an investigator to use), does anyone
have suggestions?
I've found EPStoPICT (www.artage.com), any other thoughts? (these
are real Mac people, so while I could go the WMF route, it's about as
palatable as EPS).
best,
-tony
--
A.J. Rossini Rsrch. Asst. Prof. of Biostatistics
UW
2016 Apr 15
0
FLAC__metadata_get_picture always return false
I am using a libFLAC8.dylib that I have compiled with the original Makefile of flac 1.3.1 distribution, in a project with a custom flac.h header file which is an amalgamation of all the flac header files.
I can get this pair ( flac.h & libFLAC8.dylib ) working fine to convert flac file to other supported audio file formats both ways. It work also fine to get Vorbis Comment and other metadata (
2001 Apr 03
0
PICT output? R plot to word
On 3 Apr 01,, R-help Digest wrote (re: R-help Digest V2 #382):
> - ----- Original Message -----
> From: "Mark Myatt" <mark at myatt.demon.co.uk>
> To: "Greg Trafton" <trafton at itd.nrl.navy.mil>
> Cc: <r-help at stat.math.ethz.ch>
> Sent: Monday, April 02, 2001 9:31 PM
> Subject: Re: [R] PICT output?
>
> > > 2) Is there a way
2014 Aug 10
3
[PATCH 1/4] exa/nv10: use same clip settings as mesa driver
The higher 0x800 was getting overwritten by the 0x7ff anyways, so it
wasn't doing any good. The mesa driver just uses 0x800 for the low
portion and doesn't set the 8 bit in the higher portion, so do the same
thing here.
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
---
src/nv10_exa.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/nv10_exa.c
2010 Apr 20
0
[PATCH] nv10/exa : demagify tex and rt format
Signed-off-by: Xavier Chantry <chantry.xavier at gmail.com>
---
src/nv10_exa.c | 35 +++++++++++++++++++----------------
1 files changed, 19 insertions(+), 16 deletions(-)
diff --git a/src/nv10_exa.c b/src/nv10_exa.c
index 1acb583..23a68e3 100644
--- a/src/nv10_exa.c
+++ b/src/nv10_exa.c
@@ -34,30 +34,33 @@ static struct pict_format {
int exa;
int hw;
} nv10_tex_format_pot[] = {
- {
2001 Apr 03
0
graph from unix into word
On 31 Mar 01,, R-help Digest wrote (re: R-help Digest V2 #380):
> Date: Fri, 30 Mar 2001 09:49:21 -0500 (EST)
> From: Greg Trafton <trafton at itd.nrl.navy.mil>
> Subject: [R] PICT output?
>
> hi, all. I use R on a unix (linux) box and am quite happy with it.
> However, sometimes I need to create a graph that needs to be used
with
> Microsoft Word or Powerpoint
2005 Dec 23
6
file_column and HABTM
I have several models that will be using file_column by way of the
"Picture" class (HABTM). Right now, all pictures are stored in:
public/picture/image/1/filename1.jpg
public/picture/image/2/filename2.jpg
Is there a way I can dynamically define the "store_dir" based on the
model? For example, if I have "user", "product" and "place" models all
2007 Feb 26
3
Decoding for ambisonic Ogg audiob
The prospect of people actually putting B-format audio (via the panner
or directly input) into Ogg/Vorbis brings an interesting challenge:
What do we do with the audio after decoding it?
The following sane options exist:
A) Simply output the B-format audio
B) Produce a downmix
1) Mono.
2) Stereo blumlein crossed pairs
3) Stereo UHJ
4) binaural
C) Produce speaker feeds
1) Fully
2017 Sep 22
1
Embedding PDF into RTF document via R language
R 3.4.1
OS X and Windows
Colleagues
I have a complicated problem that includes several components:
R
RTF
PDF
Using R (and a slew of RTF commands), I assemble a text document with an RTF extension. The document contains text, tables, and images (JPEG format, previously created with R).
To ?import? the JPEG images into the document, I use the following R code:
cat("\\pard\\qc
2007 Mar 05
1
compiz composited video and alpha only GLX pixmaps
I've added a simple plugin to compiz that provides a way to render video
efficiently on a composited desktop.
A video playback client basically copies video data to a pixmap and sets
an X property on a client window that describes the image format of the
data and where it should be rendered.
The compiz video plugin will scale and perform necessary colorspace
conversions when compositing the
2006 Jan 18
1
HABTM - Destroy just the relationship
If I have a HABTM relationship between two models (places, pictures),
can I delete the record from the join table without also destroying the
objects?
IE:
1. @places.pictures << @picture
2. @places.pictures.find( @picture.id ).destroy
I''d want line #2 (...or something similar unless I''m way off) to destroy
the record in pictures_places only, and not anything from the
2012 Jun 27
32
[Bug 51477] New: bad/missing graphics with NV11 / GeForce 2MX/MX400
https://bugs.freedesktop.org/show_bug.cgi?id=51477
Bug #: 51477
Summary: bad/missing graphics with NV11 / GeForce 2MX/MX400
Classification: Unclassified
Product: xorg
Version: unspecified
Platform: x86 (IA32)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component:
2007 Jul 21
3
unable to get "has_many :after_add" to work - need help
Can someone tell me what I''m doing wrong? I''ve spent way too much
time on this
--------------------------------------------------------------------------------------
class Picture < ActiveRecord::Base
has_many :ratings, :after_add => :increment_rating, :after_remove
=> :decrement_rating
def increment_members(rating)
self.rating += rating.amount
save!
2007 Jun 19
1
Video Plugin
Hi,
I've read the following message concerning the compiz video plugin:
http://lists.freedesktop.org/archives/compiz/2007-March/001576.html
I've patched mplayer, but the xserver patch doesn't seem to apply
cleanly to xserver-1.3. Is there an updated patch for this, or is one
even still necessary?
Also, is there any work in something like a gstreamer plugin for the
compiz video?
2013 Mar 11
1
[LLVMdev] regarding C++11 plugins
Hi all,
I have written a Clang plug-in which uses some c++11 keywords.
Coz of that I am able to load that plug-in. Can you just help me out.
It produces lots of warnings at those keywords.
Thanks..
-Aashay
PICT, Pune
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130311/ccc43416/attachment.html>
2013 Jan 11
1
Want details of different rsync protocol versions
Hello,
I am studying rsync to do project on it.
I want to get more details about rsync protocol versions
I found major versions like 23,24,29,30 and in latest code protocol version
31. versions in code where important decisions are taken.
I also searched for RFC of rsync protocol and I found RFC 5781.
http://tools.ietf.org/html/rfc5781
It's irrelevant to me as it describes rsync uri scheme
2015 Jun 16
1
vfs_fruit kernel panic 10.9.5 when saving from adobe illustrator cc
Am 15.06.2015 um 18:53 schrieb Ralph B?hme:
> On Mon, Jun 15, 2015 at 12:57:52PM +0200, Sascha Kasch wrote:
>> dear list,
>>
>> thanks for the great fruit speed-improvements. but...
>>
>> server config:
>> debian 8 jessie
>> sernet samba 4.2.2 packages
>>
>> here we see a problem that might not only be fruits problem but
>> results in