Displaying 20 results from an estimated 5019 matches for "distinct".
2006 Mar 18
9
How do I write this SQL the Rails way?
I''m trying to find all the unique bill_number, status records in Bills
table. I can do it with a find_by_sql statement like this:
@records = Bill.find_by_sql( "select distinct bill_number, status
from bills
group by bill_number, status;")
How would I rewrite it using ''find :all ...'' ??
--
Best Regards,
-Larry
"Work, work, work...there is no satisfactory...
2004 Jul 19
5
Cisco 7960 SIP V6 and distinctive ring.
Hi
Can anyone with distinctive ring on their 7960's possibly post how they've got it to work?
I understand that the ALERT_INFO variable is involved but using the examples for the variable value from the WiKi I'm just getting an error message from the Asterisk concole.
Thanks in advance.
P
2010 Jan 23
3
How to implement a "select distinct x, count(distinct y) ... group by x" for a data frame
... Being an R newbie, I can only think of extracting distinct x values with
unique, looping over them, extracting matching rows from the original data
frame, applying table, and recording the size of table's output alongside
the x value being checked. Is there a more elegant way?
Thank you.
--
View this message in context: http://n4.nabble.com/How-to-i...
2004 Sep 01
3
Distinctive rings
Is it possible to allow distinctive rings work for FXS ports as well?
I need a certain FXS extension to ring a distinctive double ring.
I modified zapata.conf appropriately for dring1,dring2 and it just
Seems to ignore my updates.
Do distinctive rings only work for FXO ports?
Paul Seniuk
-------------- next part --------...
2018 Jan 12
2
StripDeadDebugInfo for static inline functions.
...%retval = alloca i16, align 1
...
}
; Function Attrs: inlinehint nounwind
define internal void @delay(i16 %d) #4 !dbg !69 {
entry:
%d.addr = alloca i16, align 1
%i = alloca i16, align 1
...
}
!llvm.dbg.cu = !{!0}
!llvm.module.flags = !{!84, !85}
!llvm.ident = !{!86}
!0 = distinct !DICompileUnit(language: DW_LANG_C99, file: !1, producer:
"clang version 3.8.0 Revision 72230", isOptimized: true, runtimeVersion: 0,
emissionKind: 1, enums: !2, retainedTypes: !3, subprograms: !12, globals:
!73)
...
!12 = !{!13, !54, !57, !60, !61, !62, !65, !66, !67, !68, !69}
!13 =...
2020 Sep 25
2
Why does a DISubprogram need to be distinct?
I saw
https://reviews.llvm.org/rGe17f52d623cc146b7d9bf5a2e02965043508b4c4#949392
"Add a verifier check that rejects non-distinct DISubprogram function"
(which has currently be reverted)
today which made me wonder why a DISubprogram needs to be distinct?
David told me the following and encouraged me to ask in the upstream:
> May be historical at this point, I'm not quite sure. (I remember there being some compli...
2020 Sep 25
3
Why does a DISubprogram need to be distinct?
...9;t be compatible with that bitcode we said we
should be compatible with?
> We have two kinds of DISubprograms:
> - uniqued DISubprograms are part of the type system and describe function *types*. They don't have a unit: field, because they want to be uniqued across compile units.
> - distinct DISubprograms describe one specific function definition. They belong to a compile unit and thus have a unit: field.
>
> You are only supposed to attach distinct DISubprograms to function definitions. Several places in CodeGen will unconditionally dereference the unit: field and crash if it is...
2015 Apr 06
2
[LLVMdev] "distinct" metadata nodes are ...?
Aha, okay. I had noticed that the column-info hack went away. So the distinct-ness implies the scope implicit in the inlined call, which later on will be turned into the explicit inlined_subroutine entry. That seems… indirect.
I have to say, the LangRef page's words about "merge based on content" is not really to the point. It's like saying the purpose o...
2015 Apr 06
2
[LLVMdev] "distinct" metadata nodes are ...?
I'm encountering a merge issue whose root cause has to do with "distinct"
metadata nodes. I see that distinct-ness is an intentional concept, but
the explanation in the LLVM Language Reference is not very enlightening.
distinct nodes are useful when nodes shouldn't be merged based on
their content.
The notion of "merged" metadata is not dis...
2018 Jan 12
2
StripDeadDebugInfo for static inline functions.
...1
...
}
; Function Attrs: inlinehint nounwind
define internal void @delay(i16 %d) #4 !dbg !69 {
entry:
%d.addr = alloca i16, align 1
%i = alloca i16, align 1
...
}
!llvm.dbg.cu<http://llvm.dbg.cu> = !{!0}
!llvm.module.flags = !{!84, !85}
!llvm.ident = !{!86}
!0 = distinct !DICompileUnit(language: DW_LANG_C99, file: !1, producer: "clang version 3.8.0 Revision 72230", isOptimized: true, runtimeVersion: 0, emissionKind: 1, enums: !2, retainedTypes: !3, subprograms: !12, globals: !73)
...
!12 = !{!13, !54, !57, !60, !61, !62, !65, !66, !67, !68, !69}
!13 =...
2018 Aug 14
1
R CMD check warnings on Windows
...ommon_by.NULL', 'common_by.character', 'common_by.default', 'common_by.list', 'compute.data.frame', 'copy_to.DBIConnection', 'copy_to.src_local', 'default_missing.data.frame', 'default_missing.default', 'dim.tbl_cube', 'distinct.data.frame', 'distinct.default', 'distinct.grouped_df', 'distinct.tbl_df', 'distinct_.data.frame', 'distinct_.grouped_df', 'dist [... truncated]
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if inst...
2018 Jan 12
0
StripDeadDebugInfo for static inline functions.
...ne internal void @delay(i16 %d) #4 !dbg !69 {
>
> entry:
>
> %d.addr = alloca i16, align 1
>
> %i = alloca i16, align 1
>
> ...
>
> }
>
>
> !llvm.dbg.cu = !{!0}
>
> !llvm.module.flags = !{!84, !85}
>
> !llvm.ident = !{!86}
>
>
> !0 = distinct !DICompileUnit(language: DW_LANG_C99, file: !1, producer:
> "clang version 3.8.0 Revision 72230", isOptimized: true, runtimeVersion: 0,
> emissionKind: 1, enums: !2, retainedTypes: !3, subprograms: !12, globals:
> !73)
>
> ...
>
> !12 = !{!13, !54, !57, !60, !61, !62,...
2006 Apr 11
2
Getting distinct years from a date column the Rails way
I have an original_at column in my photos table. I''d like to get a list
of distinct years that occur in this column, and some of the values are
NULL. I see two ways of doing this. The SQLish way:
photos = Photo.find :all, :select => ''distinct year(original_at)''
This is efficient in that it utilizes the database to do the filtering,
and the code is not to...
2007 Apr 17
2
Can I add distinctive ring with asterisk and TDM400?
...Feeding the FXS modules are two VOIP lines which are terminated by
VOIP adapters and have regular RJ11 wires connecting to the FXS ports.
Since the two different VOIP lines have different phone numbers, and I
know and can tell asterisk which VOIP line is connected to which FXS
port, can I cause a distinctive ring on the extensions if a call comes
in the 2nd VOIP line?
ie, I'd like to ring all extensions when a call comes in either VOIP
line, but I'd like to give a distinctive ring in the case the call
came in the 2nd VOIP line.
Here is what I have in extensions.conf right now, which works...
2017 May 03
3
Should it be legal for two functions to have the same !dbg attachment?
...catches the following situation:
; RUN: not llvm-as %s -disable-output 2>&1 | FileCheck %s
define void @f1() !dbg !4 {
unreachable
}
; CHECK: DISubprogram attached to more than one function
define void @f2() !dbg !4 {
unreachable
}
!llvm.dbg.cu = !{!1}
!1 = distinct !DICompileUnit(language: DW_LANG_C99, file: !2)
!2 = !DIFile(filename: "t.c", directory: "/path/to/dir")
!3 = !{}
!4 = distinct !DISubprogram(name: "foo", scope: !1, file: !2, unit: !1)
Why? When two functions share the same DISubprogram attachment, the DWARF b...
2003 Nov 16
5
Distinctive Ring
Hi All,
I was wondering what the status of distinctive ring support in Asterisk
is? I had a google search & read and Mark Spencer wrote some support for
it.
Is distinctive ring different in every country or is it pretty standard?
And for my final question, does the Wildcard FXO card support
distinctive ring?
Essentially what I'm trying to...
2003 Mar 04
3
Distinctive ringing
Hi All...
Can Asterick detect distinctive ringing on a POTS line and answer with
different configurations?
Thanks...
2003 Sep 23
3
number of distinct values in a dataframe
Hi R-users,
How can I found the number of a distinct values in a data frame
(occurrence of distinct values)? The dataframe consists of several
thousands integer numbers.
Thanks,
Rado
--
Radoslav Bonk M.S.
Dept. of Physical Geography and Geoecology
Faculty of Sciences, Comenius University
Mlynska Dolina 842 15, Bratislava, SLOVAKIA
tel: +421 905 9...
2005 May 27
3
Wacko Distinctive Ring Patterns being detected??
Hi All,
I've recently got a "second" number installed on my PSTN line,
trusting the Asterisk distinctive ring detection would work as
expected. It appeared to work fine at the start, as the second number
generated a different ring pattern to 0,0,0 (in the console) only to
realise that almost every phone call to this "second" number generated
a different ring pattern. Sometimes it might de...
2018 Jan 14
0
StripDeadDebugInfo for static inline functions.
...l void @delay(i16 %d) #4 !dbg !69 {
>
> entry:
>
> %d.addr = alloca i16, align 1
>
> %i = alloca i16, align 1
>
> ...
>
> }
>
>
>
> !llvm.dbg.cu = !{!0}
>
> !llvm.module.flags = !{!84, !85}
>
> !llvm.ident = !{!86}
>
>
>
> !0 = distinct !DICompileUnit(language: DW_LANG_C99, file: !1, producer:
> "clang version 3.8.0 Revision 72230", isOptimized: true, runtimeVersion: 0,
> emissionKind: 1, enums: !2, retainedTypes: !3, subprograms: !12, globals:
> !73)
>
> ...
>
> !12 = !{!13, !54, !57, !60, !61, !62,...