Displaying 20 results from an estimated 400 matches similar to: "Populating Data on a Foreign Table"
2006 Jan 16
4
Ruby on Rails is great! - I can code while smashed!
Ruby on Rails is great! - It''s so easy ... I can code while smashed and
still get work done!
I work from home. I code hard and get a lot done. Ruby on Rails makes my
productivity so much higher than I can actually be drunk ... and still
impress my boss!
It''s great.
Do you have experiences like this? Do you code better while unable to
walk the line? Does the loosening
2010 Mar 13
6
Find first or create
Is there any ActiveRecord''s dynamic finder that can allow me to find
first association or create it if it doesn''t exist. Something like this
(not this code is conceptual - it does not work!):
Comment.posts.find_or_create(:first)
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2007 Jul 31
1
Wrinkled faxes or missing lines with Hylafax + IAXModem + Asterisk
Hello.
We are running Asterisk 1.2.23 iaxmodem-0.2.1 and hylafax-4.3.3
When we send faxes the people who receive the faxes complain that they
look wrinkled or smashed up. Sometimes they are missing random lines.
Has anyone seen this happen, or know how to fix it?
2007 Apr 04
1
polycom repair
Hi all,
Has anyone had any experience getting Polycom phones repaired? The screen on
one of our IP600s got smashed, and I'm wondering if it's worth the effort to
get it repaired, or if it'd just be cheaper to buy a new phone.
Thanks,
--
James Andrewartha
Systems Administrator
Data Analysis Australia Pty Ltd
2008 Dec 13
1
world of warcraft on ubuntu 8.10
I've been trying to figure out how to get world of warcraft to work with Ubuntu 8.10 with wine. i've messed around with the config.wtf file but it hasn't really worked out to well. when i open WoW it looks as if everything got smashed together. graphics blend and text overlaps. its incomprehensible.
i'm very new to this whole linux thing. any help would be greatly appreciated.
2011 Jan 07
1
[LLVMdev] Problem returning structures by value from C
I have a simple structure in my program:
struct pair { double value; int32_t type; };
Also I have 2 functions, which are called from LLVM code:
extern "C" void dump(pair s) {
unsigned char *p = reinterpret_cast<unsigned char *>(&s);
printf("#dump, %02x%02x%02x%02x %02x%02x%02x%02x %02x%02x%02x%02x\n",
p[0], p[1], p[2], p[3], p[4], p[5], p[6], p[7],
2020 Aug 12
3
Synology NAS is shutting down Ubuntu servers after very brief power outage (fwd)
Hi everyone,
Well, we lost power here again. I was not at home, but I guess a dump truck smashed into some power poles and took out half the city; actually tripped most of the breakers in the panel. Anyways, the power was out for just a few seconds and of course my servers shutdown on me after power being out for just a second or two. Here is my syslog from two different machines. I included
2012 Nov 09
3
[LLVMdev] Inlining bitcast functions...
Eli,
Thanks. I don't think it's a bug in the linker, really… it's required to treat (stripped) opaque types as different, since it really has no way to know if the caller and the callee really are referring to the same thing… though it then seems to turn right around and do exactly that by inserting the bitcast. ;-) (That does come from the linker.)
That the linker 'works
2012 Nov 10
2
[LLVMdev] Inlining bitcast functions...
Spoke too soon... running the inst combine pass does seem to resolve the linker/inlining issue. But the resulting code fails to run correctly. I was expecting the same result that I get when running with unstripped modules, that is passing test runs. When it still failed, I guessed the failure mode to be the same, but it isn't.
Not sure WHAT to make of this...
2012 Nov 10
0
[LLVMdev] Inlining bitcast functions...
On Fri, Nov 9, 2012 at 3:58 PM, Relph, Richard <Richard.Relph at amd.com> wrote:
> Eli,
> Thanks. I don't think it's a bug in the linker, really… it's required to treat (stripped) opaque types as different, since it really has no way to know if the caller and the callee really are referring to the same thing… though it then seems to turn right around and do exactly that
2006 Feb 24
6
Duplicate entry - how to check if an id exist before saving?
How do I check if an entry exists before saving?
Someone one told me to use the method find_or_create (or something like
that)
but it didn''t work because I think the version of rails that we have is
not the most recent.
I need a way to check if an id exists in the db before saving. Any
suggestions?
Thank you
--
Posted via http://www.ruby-forum.com/.
2013 Jan 28
1
Syslinux 5.01 released
Hi folks,
Syslinux 5.01 is out, a week later than predicted but that's largely
down to the realloc() bug described below. This release is mainly a
collection of bug fixes for problems reported after people tested
Syslinux 5.00. The NEWS entries are included at the bottom.
There was a pretty nasty realloc() bug that took some time to find and
fix, which resulted in memory corruption. There
2019 Sep 19
2
Fixing some StackProtector issues
PR43308 describes a case where StackProtector fails to protect against
a fairly simple smash. This problem started after r363169, which
removed StackProtector's own analysis function HasAddressTaken, and
used CaptureTracking's PointerMayBeCaptured instead. The problem here
is that "pointer is captured" and "pointer could be used to smash the
stack" are not equivalent
2005 Apr 15
2
children of objects are not instantiated?
Hello,
I''m a Java developer and I''m looking at Rails as a very interesting thing.
I read the article
http://theserverside.com/articles/article.tss?l=RailsHibernate
and saw a couple of things that I didn''t like too much:
1) The N+1 problem
This has been discussed in the thread (or should I say "flame"?) "Java
people want to beat us". It seems
2023 Feb 24
1
How to get a server listed in the IMAP Test wiki?
Something I can't quite place finger on here. Altogether too much Mafia, in the bulk email business generally, and I know Switzerland borders on Italy ...
This sounds, (albeit vaguely,) altogether too much like the thieves I seem to have fallen amongst lately. Two stolen trucks, three stolen laptops, another one wrecked, three or four stolen cell phones, passwords GPG keys, city hall hookers
2020 Aug 12
2
Synology NAS is shutting down Ubuntu servers after very brief power outage (fwd)
On 8/12/20 3:42 AM, Manuel Wolfshant wrote:
> On 8/12/20 3:20 AM, Todd Benivegna wrote:
>> Hi everyone,
>>
>> Well, we lost power here again. I was not at home, but I guess a
>> dump truck smashed into some power poles and took out half the city;
>> actually tripped most of the breakers in the panel. Anyways, the
>> power was out for just a few seconds
2015 Jun 30
1
wiki.centos.org/TipsAndTricks/VncHeadlessInstall
(Apologies for the potential duplicate post. My initial post had a
smashed subject line. This post only adds the subject and this note.)
I would like permission to edit this page. The changes I have in mind are:
1) It is not necessary to burn a CD/DVD to do a "headless" install in
cases where the installed system has a monitor, but for some reason
cannot support a graphical
2019 Sep 17
2
Spectre V1 Mitigation - Internals?
Hi,
Yeah, now I understand the problem here. Thanks.
But I too have another doubt in "Bounds check bypass store"
In this example in the Speculative load hardening :
unsigned char local_buffer[4];unsigned char
*untrusted_data_from_caller = ...;unsigned long
untrusted_size_from_caller = ...;if (untrusted_size_from_caller <
sizeof(local_buffer)) {
// Speculative execution enters here
2015 Sep 04
3
LLVM as a back end for HHVM
On 9/4/15 1:12 AM, Sanjoy Das via llvm-dev wrote:
> Specifically on "Location records" --
>
> Is it legal for the optimizer to drop the `!locrec` metadata that you
> attach to instructions? The general convention in LLVM is that
> dropping metadata should not affect correctness, and if the location
> record information is not best-effort or optional then metadata is
2007 Mar 16
1
Polymorphic find_or_create bug
Today I just spent 3 hours (and before a demo!) trying to figure out
why my polymorphic association fields were breaking.
Turns out someone else put in a patch for this 6 months ago. I''m not
sure if its the same solution I''d use... I''d rather find_or_create
attempt to use AssociationProxy#build if its available and only
Base#new if we''re not on a proxy.