Displaying 20 results from an estimated 66 matches for "24s".
Did you mean:
24
2013 Dec 04
4
[PATCH] builder: translate more user-visible strings
...ist_entries.ml
index 8c24fe2..a1d0696 100644
--- a/builder/list_entries.ml
+++ b/builder/list_entries.ml
@@ -47,7 +47,7 @@ let list_entries ?(list_long = false) ~sources index =
printf "\n"
)
else ( (* Long *)
- printf "%-24s %s\n" "os-version:" name;
+ printf "%-24s %s\n" (s_"OS version:") name;
(match printable_name with
| None -> ()
| Some name -> printf "%-24s %s\n" (s_"Full name:") name;
@@ -62,7 +62,7 @@ let list...
2012 Jan 06
4
data.frame: temporal complexity
...created a data.frame which contains two columns: df$P (Power) et
df$DateTime (time). I'd like to add a new column df$diffP (difference of
Power between T and T-2).
I made a loop :
for (i in 3:length(df$DateTime)){
df$diffP[i] = df$P[i] - df$P[i-2]
}
execution time result is unaceptable: 24s !!
Is there any way to reduce complexity about O(n) ? for example 2 or 3s (10s
maxi)
Does anybody find better than ~24s ?
thanks for your help
--
View this message in context: http://r.789695.n4.nabble.com/data-frame-temporal-complexity-tp4269585p4269585.html
Sent from the R help mailing list a...
2017 Nov 21
0
[PATCH v13 1/3] builder: change arch type to distinguish guesses
...f_revision revision)
let is_cached t name arch revision =
let filename = cache_of_name t name arch revision in
@@ -54,6 +56,6 @@ let print_item_status t ~header l =
List.iter (
fun (name, arch, revision) ->
let cached = is_cached t name arch revision in
- printf "%-24s %-10s %s\n" name arch
+ printf "%-24s %-10s %s\n" name (Index.string_of_arch arch)
(if cached then s_"cached" else (*s_*)"no")
) l
diff --git a/builder/cache.mli b/builder/cache.mli
index f27fc235b..f88cbdf2f 100644
--- a/builder/cache.mli
+++ b/b...
2017 Oct 27
0
[PATCH v11 3/8] builder: change arch type to (string, string option) maybe.
...nt_item_status t ~header l =
List.iter (
fun (name, arch, revision) ->
let cached = is_cached t name arch revision in
+ let arch =
+ match arch with
+ | Either arch
+ | Or Some arch -> arch
+ | Or None -> "" in
printf "%-24s %-10s %s\n" name arch
(if cached then s_"cached" else (*s_*)"no")
) l
diff --git a/builder/cache.mli b/builder/cache.mli
index f27fc235b..f88cbdf2f 100644
--- a/builder/cache.mli
+++ b/builder/cache.mli
@@ -27,16 +27,16 @@ type t
val create : directory:string -...
2017 Nov 13
0
[PATCH v12 1/3] builder: change arch type to distinguish guesses
...-54,6 +58,10 @@ let print_item_status t ~header l =
List.iter (
fun (name, arch, revision) ->
let cached = is_cached t name arch revision in
+ let arch =
+ match arch with
+ | Index.Arch arch
+ | Index.GuessedArch arch -> arch in
printf "%-24s %-10s %s\n" name arch
(if cached then s_"cached" else (*s_*)"no")
) l
diff --git a/builder/cache.mli b/builder/cache.mli
index f27fc235b..f88cbdf2f 100644
--- a/builder/cache.mli
+++ b/builder/cache.mli
@@ -27,16 +27,16 @@ type t
val create : directory:string -...
2017 Oct 08
0
[PATCH v2 3/4] common/mlstdutils: Introduce Option submodule.
...hidden then fp "hidden=true\n"
diff --git a/builder/list_entries.ml b/builder/list_entries.ml
index 2cd030fca..af1d2419b 100644
--- a/builder/list_entries.ml
+++ b/builder/list_entries.ml
@@ -47,7 +47,7 @@ and list_entries_short index =
if not hidden then (
printf "%-24s" name;
printf " %-10s" arch;
- may (printf " %s") printable_name;
+ Option.may (printf " %s") printable_name;
printf "\n"
)
) index
@@ -73,19 +73,15 @@ and list_entries_long ~sources index =
not...
2014 Jan 16
5
[PATCH 0/3] Add JSON output for virt-builder
Hi,
This small patch serie adds a JSON output for virt-builder.
This way it is possible to parse the list of available templates,
with no need to parse the unstructured and possibly changing short and
long outputs of virt-builder.
Pino Toscano (3):
builder: small refactor of the list output
builder: add --list-format
builder: add a JSON output for --list
builder/builder.ml
2014 May 26
2
[PATCH] builder: support aliases for images (RHBZ#1098718).
...,6 +65,7 @@ and list_entries_long ~sources index =
size = size;
compressed_size = compressed_size;
notes = notes;
+ aliases = aliases;
hidden = hidden }) ->
if not hidden then (
printf "%-24s %s\n" "os-version:" name;
@@ -79,6 +80,11 @@ and list_entries_long ~sources index =
| Some size ->
printf "%-24s %s\n" (s_"Download size:") (human_size size);
);
+ (match aliases with
+ | None -> ()
+ | Some...
2017 Sep 07
1
A FAQ: is it mandatory to include the local IP address classes in the global VPN address class?
...v $INTERFACE
(so that all private IP packets are routed go automatically into the mesh,
no one is "lost” around).
Now, the QUESTION itself:
Is it *mandatory* to use a VPN global addreess class (192.168.0.0/16 on the
myvpn virtual interface) that *includes* the local LANs (each
192.168.x.0/24s on the eth1 interface) - as explained into various pieces
of tinc documentation and examples?
Or can we have 192.168.x.0/24s on the local LANs and another, *different*
private class (say 10.0.0.0/8) common all the myvpn interfaces over the VPN?
(The tip is this: I've tried to use dynamic ro...
2015 Nov 10
7
[PATCH 0/4]: mllib: Add 'may' function, and refactoring.
The 'may' function is a higher-order function (HOF) that replaces:
match x with
| None -> ()
| Some x -> f x
with:
may f x
The idea comes from lablgtk (OCaml Gtk bindings) where it is widely
used.
If this change is clearer than previous code, then this could be used
in many more places. However I previously steered clear from using
HOFs like this because they can be
2014 Feb 24
2
[PATCH] builder: add a mandatory 'arch' key in index files
...able_name = printable_name;
+ arch = arch;
size = size;
compressed_size = compressed_size;
notes = notes;
@@ -83,6 +84,7 @@ and list_entries_long ~sources index =
| None -> ()
| Some name -> printf "%-24s %s\n" (s_"Full name:") name;
);
+ printf "%-24s %s\n" (s_"Architecture:") arch;
printf "%-24s %s\n" (s_"Minimum/default size:") (human_size size);
(match compressed_size with
| None -> ()
@@ -168,6...
2004 Jan 10
2
WTB / WTS Voip hardware
I've got a Wildcard T100P along with a Zhone Zplex 10 24S/O which has
been working fine for me now for a while.
These have been pulled out of a working Asterisk installation (as they
were no longer required) to use at home only to find that the fan noise
is too loud. As such I'm looking to sell off this hardware and replace
it with some combination of...
1997 Jan 12
9
dos-attack on inetd.
...of the server, inetd will die of Broken
Pipe:
write(3, "Sun Jan 12 21:50:35 1997\r\n", 26) = -1 EPIPE (Broken pipe)
--- SIGPIPE (Broken pipe) ---
I am no C-guru but I think this patch to inetd would fix it without adding
any other problems:
1426c1426,1427
< sprintf(buffer, "%.24s\r\n", ctime(&clocc));
---
> (void) sprintf(buffer, "%.24s\r\n", ctime(&clocc));
> signal(SIGPIPE, SIG_IGN);
1427a1429
> signal(SIGPIPE, 13);
Correct me if I am wrong... :)
Regards //Tri
[mod: This looks like a quick hack to me. How can a USER process like
inetd...
2015 Nov 25
2
IP table Restore
...t at ns1 network-scripts]# systemctl start firewalld
[root at ns1 network-scripts]# systemctl status firewalld
firewalld.service - firewalld - dynamic firewall daemon
Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled)
Active: inactive (dead) since Wed 2015-11-25 17:20:14 SGT; 24s ago
Process: 2865 ExecStart=/usr/sbin/firewalld --nofork --nopid
$FIREWALLD_ARGS (code=exited, status=0/SUCCESS)
Main PID: 2865 (code=exited, status=0/SUCCESS)
Nov 25 17:20:14 ns1.currencybooking.com systemd[1]: Starting firewalld -
dynamic firewall daemon...
Nov 25 17:20:14 ns1.currencybooking...
2010 Aug 03
2
Limit of ip adresses for DomU
Hi @all,
does anyone know how many ip adresses as aliases and vifs may assign
to a single DomU?
At the moment it seems for me that ~ 30 ip adresses are max.
Kong regards
--
- Dominique ''NetAndroid'' Schramm
- Twitter: @NetAndroid_BY
- Blog: http://schwarz-weiss.cc/
Hinweis:
PM''s bitte ausschließlich an dominique.schramm@piraten.it!
2009 Jun 06
2
expire-tool --test: timestamps
...new_value, ctime(&oldest));
+ char *expire_ctime = i_strdup(ctime(&expire_time));
+ char *oldest_ctime = i_strdup(ctime(&oldest));
+ i_info("%s: timestamp %s (%.24s) -> %s (%.24s)",
+ userp, value, expire_ctime,
+ new_value, oldest_ctime);
+ i_free(expire_ctime);
+ i_free(oldest_ctime);
}...
2003 Nov 14
1
Re: 9. Zhone zplex (Angel Gomez Garcia)
Hi
I have the last firmware for zplex, if you like i send it to you, about the
second question 24s means
24 extensions so you can configurate as you wish as fxo or fxs.
Att Yelson Vivas
2013 Dec 06
0
Re: [PATCH] builder: translate more user-visible strings
...4fe2..a1d0696 100644
> --- a/builder/list_entries.ml
> +++ b/builder/list_entries.ml
> @@ -47,7 +47,7 @@ let list_entries ?(list_long = false) ~sources index
> = printf "\n"
> )
> else ( (* Long *)
> - printf "%-24s %s\n" "os-version:" name;
> + printf "%-24s %s\n" (s_"OS version:") name;
Oops, I suck, I just realized now that this string change broke
test-virt-builder-list.sh, patch fixing it coming in a moment. Sorry for
this.
OTOH, that makes me think whethe...
2013 Dec 06
1
Re: [PATCH] builder: translate more user-visible strings
...a/builder/list_entries.ml
> > +++ b/builder/list_entries.ml
> > @@ -47,7 +47,7 @@ let list_entries ?(list_long = false) ~sources index
> > = printf "\n"
> > )
> > else ( (* Long *)
> > - printf "%-24s %s\n" "os-version:" name;
> > + printf "%-24s %s\n" (s_"OS version:") name;
>
> Oops, I suck, I just realized now that this string change broke
> test-virt-builder-list.sh, patch fixing it coming in a moment. Sorry for
> this.
>
&g...
2017 Nov 13
6
[PATCH v12 0/3] virt-builder-repository tool
Hi there!
Here is the latest version of the series including Richard's comments.
I also reworked the repository_main.ml code to avoid setting an
empty entry if not found.
Cédric Bosdonnat (3):
builder: change arch type to distinguish guesses
builder: add a template parameter to get_index
New tool: virt-builder-repository
.gitignore | 4 +