00:01
SilverKey has quit [Quit: Halted.]
00:06
sillyotter has quit [Quit: WeeChat 1.5]
00:26
nicholasf has quit [Remote host closed the connection]
00:30
rgrinberg has joined #ocaml
00:32
silver has quit [Quit: rakede]
00:34
nicholasf has joined #ocaml
00:43
rgrinberg has quit [Quit: WeeChat 1.5]
00:44
rgrinberg has joined #ocaml
00:46
kushal has quit [Quit: Leaving]
00:55
nicholasf has quit [Ping timeout: 252 seconds]
01:01
kushal has joined #ocaml
01:09
clockish has quit [Ping timeout: 258 seconds]
01:09
wurzt has quit [Quit: Leaving]
01:10
nicholasf has joined #ocaml
01:11
clockish has joined #ocaml
01:13
johnelse has joined #ocaml
01:15
sh0t has quit [Ping timeout: 276 seconds]
01:16
seangrove has quit [Remote host closed the connection]
01:16
seangrove has joined #ocaml
01:18
johnelse has quit [Ping timeout: 265 seconds]
01:20
fraggle_ has quit [Ping timeout: 264 seconds]
01:22
seangrove has quit [Ping timeout: 244 seconds]
01:24
fraggle_ has joined #ocaml
01:28
sh0t has joined #ocaml
01:34
zpe has joined #ocaml
01:38
zpe has quit [Ping timeout: 252 seconds]
02:03
SilverKey has joined #ocaml
02:04
SilverKey has quit [Max SendQ exceeded]
02:05
SilverKey has joined #ocaml
02:16
tmtwd has joined #ocaml
02:41
ygrek has quit [Ping timeout: 264 seconds]
02:45
wtetzner has quit [Remote host closed the connection]
02:48
tmtwd has quit [Ping timeout: 244 seconds]
02:49
rgrinberg has quit [Ping timeout: 258 seconds]
03:00
rgrinberg has joined #ocaml
03:02
tmtwd has joined #ocaml
03:13
johnelse has joined #ocaml
03:19
johnelse has quit [Ping timeout: 260 seconds]
03:32
darkf has joined #ocaml
03:54
hay207 has joined #ocaml
04:02
sh0t has quit [Ping timeout: 258 seconds]
04:06
rgrinberg has quit [Ping timeout: 240 seconds]
04:07
SilverKey has quit [Quit: Halted.]
04:08
tmtwd has quit [Ping timeout: 260 seconds]
04:12
pierpa has quit [Ping timeout: 276 seconds]
04:14
copy` has quit [Quit: Connection closed for inactivity]
04:15
sh0t has joined #ocaml
04:17
jjk has quit [Ping timeout: 258 seconds]
04:25
kushal has quit [Ping timeout: 264 seconds]
04:27
unbalancedparen has quit [Quit: WeeChat 1.5]
04:29
jjk has joined #ocaml
04:32
kolko has quit [Read error: Connection reset by peer]
04:34
kolko has joined #ocaml
04:58
sh0t has quit [Ping timeout: 250 seconds]
05:02
MercurialAlchemi has joined #ocaml
05:15
johnelse has joined #ocaml
05:17
fraggle_ has quit [Ping timeout: 260 seconds]
05:19
johnelse has quit [Ping timeout: 258 seconds]
05:20
sh0t has joined #ocaml
05:23
fraggle_ has joined #ocaml
05:29
johnf has quit [Read error: Connection reset by peer]
05:30
nicholas_ has joined #ocaml
05:30
nicholasf has quit [Ping timeout: 252 seconds]
05:40
nicholasf has joined #ocaml
05:43
nicholas_ has quit [Ping timeout: 240 seconds]
05:54
sh0t has quit [Quit: Leaving]
06:00
kdas__ has joined #ocaml
06:01
mquin has quit [Quit: leaving]
06:02
kdas__ has quit [Read error: Connection reset by peer]
06:09
johnf has joined #ocaml
06:09
Mercuria1Alchemi has joined #ocaml
06:21
ggole has joined #ocaml
06:29
kushal has joined #ocaml
06:41
darkf_ has joined #ocaml
06:44
darkf has quit [Ping timeout: 250 seconds]
06:50
larhat has joined #ocaml
06:50
kushal has quit [Ping timeout: 244 seconds]
06:52
ontologiae_ has joined #ocaml
06:52
rbocquet has quit [Quit: WeeChat 1.3]
06:53
zpe has joined #ocaml
06:57
tane has joined #ocaml
06:57
teiresias has quit [Read error: Connection reset by peer]
06:58
zpe has quit [Ping timeout: 258 seconds]
07:08
teiresias has joined #ocaml
07:15
johnelse has joined #ocaml
07:17
larhat has quit [Quit: Leaving.]
07:19
troydm has quit [Ping timeout: 244 seconds]
07:20
johnelse has quit [Ping timeout: 240 seconds]
07:27
haesbaert has joined #ocaml
07:30
manizzle has quit [Remote host closed the connection]
07:30
manizzle has joined #ocaml
07:31
ontologiae_ has quit [Ping timeout: 244 seconds]
07:36
strykerkkd has joined #ocaml
07:36
dexterph has joined #ocaml
07:37
strykerkkd has quit [Remote host closed the connection]
07:40
darkf_ is now known as darkf
07:43
hay207 has quit [Quit: Konversation terminated!]
07:49
nicholas_ has joined #ocaml
07:50
nicholasf has quit [Ping timeout: 250 seconds]
07:50
SIGILL has joined #ocaml
07:52
dhil has joined #ocaml
07:56
axiles has quit [Ping timeout: 258 seconds]
07:57
axiles has joined #ocaml
08:00
kdas__ has joined #ocaml
08:06
dave24 has joined #ocaml
08:19
larhat has joined #ocaml
08:22
silver has joined #ocaml
08:26
kdas__ has quit [Read error: Connection reset by peer]
08:29
larhat has quit [Quit: Leaving.]
08:30
larhat has joined #ocaml
08:44
johnelse has joined #ocaml
08:51
manizzle has quit [Ping timeout: 250 seconds]
09:08
manizzle has joined #ocaml
09:18
rand__ has joined #ocaml
09:31
jwatzman|work has quit [Quit: jwatzman|work]
09:33
dhil has quit [Ping timeout: 250 seconds]
09:37
toolslive has quit [Quit: Leaving]
09:37
troydm has joined #ocaml
09:46
dhil has joined #ocaml
09:55
dexterph has quit [Ping timeout: 240 seconds]
10:01
Intensity has quit [Remote host closed the connection]
10:11
Intensity has joined #ocaml
10:14
_gio has joined #ocaml
10:18
tane has quit [Quit: Verlassend]
10:31
dexterph has joined #ocaml
10:40
dexterph has quit [Ping timeout: 240 seconds]
10:56
jwatzman|work has joined #ocaml
10:57
dexterph has joined #ocaml
11:01
dexterph has quit [Remote host closed the connection]
11:01
shinnya has joined #ocaml
11:02
dexterph has joined #ocaml
11:05
sdothum has joined #ocaml
11:17
_andre has joined #ocaml
11:36
nicholas_ has quit [Remote host closed the connection]
11:38
nicholasf has joined #ocaml
11:46
johnelse has quit [Ping timeout: 240 seconds]
11:49
nicholas_ has joined #ocaml
11:50
agarwal1975 has joined #ocaml
11:53
nicholasf has quit [Ping timeout: 244 seconds]
12:00
dhil has quit [Ping timeout: 260 seconds]
12:22
rgrinberg has joined #ocaml
12:24
rgrinberg has quit [Client Quit]
12:25
rgrinberg has joined #ocaml
12:27
groovy2shoes has quit [Quit: Leaving]
12:29
johnelse has joined #ocaml
12:40
copy` has joined #ocaml
12:46
atbagautdinov has joined #ocaml
12:56
jwatzman|work has quit [Quit: jwatzman|work]
13:02
beginner_ has quit [Remote host closed the connection]
13:02
shinnya has quit [Ping timeout: 244 seconds]
13:06
zpe has joined #ocaml
13:08
hyperbor1ean has joined #ocaml
13:10
hyperboreean has quit [Ping timeout: 240 seconds]
13:10
zpe has quit [Ping timeout: 244 seconds]
13:17
Fleurety has joined #ocaml
13:30
kushal has joined #ocaml
13:57
sepp2k has quit [Quit: Leaving.]
14:09
nicholas_ has quit [Remote host closed the connection]
14:14
SilverKey has joined #ocaml
14:20
two_wheels has joined #ocaml
14:28
dhil has joined #ocaml
14:34
al-damiri has joined #ocaml
14:34
johnelse has quit [Ping timeout: 260 seconds]
14:35
johnelse has joined #ocaml
14:36
SilverKey has quit [Quit: Cheerio!]
14:51
atbagautdinov has quit [Quit: atbagautdinov]
14:53
zpe has joined #ocaml
14:57
picolino has joined #ocaml
14:58
zpe has quit [Ping timeout: 276 seconds]
15:05
shinnya has joined #ocaml
15:10
atbagautdinov has joined #ocaml
15:14
jwatzman|work has joined #ocaml
15:15
unbalancedparen has joined #ocaml
15:16
agarwal1975 has quit [Quit: agarwal1975]
15:17
rgrinberg has quit [Ping timeout: 244 seconds]
15:18
SpiceGuid has joined #ocaml
15:25
SilverKey has joined #ocaml
15:30
schive has joined #ocaml
15:31
<
Leonidas >
it's pretty memorable as-is
15:32
<
adrien >
Leonidas: the URL?
15:34
tmtwd has joined #ocaml
15:35
<
Leonidas >
yes ;) (kidding, obviously, though 1149.fr does not strike me as that great either)
15:35
<
adrien >
Leonidas: the main trouble is that it needs to be short enough to fit in /topi
15:36
<
Drup >
Well, huit.re is framasoft, it can't be bad (and dat url name)
15:37
<
Leonidas >
does huitre mean something?
15:37
Simn has joined #ocaml
15:39
<
adrien >
Drup: 1149.fr is owned by a co-founder of a DIY ISP
15:39
<
adrien >
(illyse, Lyon's region)
15:39
<
Drup >
adrien: but the name is far less good
15:40
<
adrien >
Drup: are you sure? have you read RFC 1149 ?
15:41
<
Drup >
ah, it's
*that* rfc, yeah, I remember
15:41
<
Drup >
I still thing huit.re is better
15:42
rgrinberg has joined #ocaml
15:46
SpiceGuid has quit [Read error: Connection reset by peer]
15:50
<
adrien >
and 1149.fr would welcome you with a big pidgin picture
15:52
gadster has joined #ocaml
16:03
zozozo has quit [Quit: WeeChat 1.5]
16:04
zozozo has joined #ocaml
16:05
sh0t has joined #ocaml
16:06
larhat has quit [Quit: Leaving.]
16:10
agarwal1975 has joined #ocaml
16:17
Algebr` has joined #ocaml
16:18
jwatzman|work has quit [Quit: jwatzman|work]
16:28
sh0t has quit [Ping timeout: 258 seconds]
16:30
cthuluh has quit [Quit: leaving]
16:30
slash^ has joined #ocaml
16:31
pierpa has joined #ocaml
16:34
agarwal1975 has quit [Ping timeout: 250 seconds]
16:35
mmm_ has joined #ocaml
16:42
atbagautdinov has quit [Ping timeout: 258 seconds]
16:44
seangrove has joined #ocaml
16:54
mmm_ has quit [Ping timeout: 250 seconds]
16:57
Mercuria1Alchemi has quit [Ping timeout: 250 seconds]
17:04
sh0t has joined #ocaml
17:05
dave24 has quit [Quit: leaving]
17:05
<
Algebr` >
is it possible to change oasis's variables from just within oasis file
17:05
<
Algebr` >
specifically:bytecomp_c_compiler native_c_compiler
17:06
manizzle has quit [Remote host closed the connection]
17:06
manizzle has joined #ocaml
17:06
<
Algebr` >
I don't want a 7,000 line myocamlbuild.ml because I just want to change the damn c compiler used from gcc to clang
17:07
<
mrvn >
NativeOpt: -cc g++
17:07
<
mrvn >
ByteOpt: -cc g++
17:07
<
mrvn >
maybe you can use a tag or config option for that too
17:08
<
Algebr` >
oh ffs, I kept putting it under ccopts
17:08
agarwal1975 has joined #ocaml
17:10
<
mrvn >
I would send an IPI at the end of startup. The counter gets incremented way too early.
17:13
<
Algebr` >
mrvn: this is so ridiculous, still doesn't work
17:14
<
mrvn >
did you run oasis and configure?
17:14
<
Algebr` >
via _oasis route
17:14
<
Algebr` >
I'm using hte dynamic setup
17:14
<
mrvn >
try forcing it anyway
17:14
<
Algebr` >
and tried with oasis setup for the generated myocamlbuild
17:15
<
mrvn >
I use the above to force g++ for my ocaml-qt5
17:16
<
adrien >
Algebr`: is the C compiler invoked by ocamlc?
17:16
<
Algebr` >
yes, its ocamlc that keeps screwing it up
17:16
<
adrien >
it's not screwing up everything
17:16
<
Algebr` >
why isn't ocamlc using clang instead of gcc
17:16
<
Algebr` >
I'm giving it the options in ByteOpt
17:16
<
adrien >
it simply doesn't handle you specifying anything else than what was chosen when ocaml itself was built
17:17
<
Algebr` >
..........................
17:17
<
Algebr` >
you seriously can't tell it to use clang instead of gcc?
17:17
<
adrien >
the reason is that it uses more than just "gcc"
17:17
<
adrien >
it has a whole set of subsequent flags
17:17
<
adrien >
which are non-trivial
17:18
ygrek has joined #ocaml
17:18
<
adrien >
if you are certain you'll get everything right, just create a new directory, put symlinks there, add it to $PATH for the build
17:19
<
adrien >
done in 30 seconds
17:19
<
Algebr` >
symlink gcc to clang?
17:19
<
Algebr` >
and make my build even more complicated.
17:19
<
adrien >
in a local directory
17:19
<
Algebr` >
adrien: is there an example of this 30 second solution?
17:20
<
adrien >
ln -s $(which clang) foo/gcc
17:20
<
adrien >
ln -s $(which clang++) foo/g++
17:20
<
adrien >
PATH=$(pwd)/foo:$PATH make
17:20
<
pippijn >
adrien: I'd probably go for shell scripts instead of symlinks
17:20
<
pippijn >
who knows what those programs do with argv[0]
17:20
<
adrien >
their argv[0] would be right
17:20
<
pippijn >
but yeah, that probably works
17:21
atbagautdinov has joined #ocaml
17:21
<
adrien >
but the crux of the idea is there, shell scripts can be helpful too but they're not a big deviation
17:23
johnelse has quit [Ping timeout: 258 seconds]
17:24
dexterph has quit [Ping timeout: 240 seconds]
17:31
<
Algebr` >
adrien: okay that works, but what's a clean way to integrate into build ?
17:32
<
Algebr` >
would opam build: ["PATH=$(pwd)/temp_dir:${PATH} make"]?
17:32
<
Algebr` >
rather, for all the various oasis setup crap things in a oasis drive opam build
17:32
ontologiae_ has joined #ocaml
17:33
<
adrien >
Algebr`: as long as the command is interpreted by a shell, that will work
17:34
<
Algebr` >
ah, opam build just blindly does it
17:34
<
adrien >
Algebr`: but are you going to try to push a package that forces a specific compiler?
17:34
<
seliopou >
CC=/path/to/clang cmd ?
17:35
<
Algebr` >
I want this to be built with only clang
17:35
<
adrien >
seliopou: strings $(which ocamlc) | grep ranlib
17:36
<
adrien >
Algebr`: is that going to be a public package?
17:36
<
adrien >
then, unless you have a really good reason to do so, it shouldn't pass review
17:36
<
Algebr` >
excuse me
17:37
darkf has quit [Quit: Leaving]
17:37
<
Algebr` >
What does choice of a C compiler have to do with it?
17:38
Algebr` has quit [Remote host closed the connection]
17:38
Algebr` has joined #ocaml
17:40
<
adrien >
Algebr`: well, what is the reason you want it to use clang rather than gcc? by setting a different compiler, you're deviating from other packages so that needs a justification imho
17:42
seangrov` has joined #ocaml
17:44
seangrove has quit [Ping timeout: 258 seconds]
17:45
<
Algebr` >
its odd to me that I have to justify what C compiler I want to use
17:45
<
Algebr` >
I like clang better
17:45
<
Algebr` >
I like its code better and I like stuff like fsanitize=address etc
17:47
rand__ has quit [Ping timeout: 260 seconds]
17:47
SilverKey has quit [Ping timeout: 240 seconds]
17:48
<
adrien >
you don't have to justify anything for you own use but if you want it to be merged, there should be a reason for deviating from the standard packaging
17:49
<
Algebr` >
and I gave reasons
17:49
<
Algebr` >
This is an odd way to starting choking a community
17:49
<
adrien >
note that I'm not in charge of opam but doing things differently than the compiler needs a reason
17:50
<
Algebr` >
adrien: okay, you're right. thanks for the help.
17:57
<
Algebr` >
adrien: have you seen -fsanitize=address -fno-omit-frame-pointer -fsanitize=undefined-trap -fsanitize-undefined-trap-on-error
17:58
<
Algebr` >
get a null pointer and this super awesome dump comes up on screen with a lot of info
17:59
atbagautdinov has quit [Ping timeout: 250 seconds]
18:03
<
Algebr` >
hmm, now can't seem to get -fsanitize=address through to the linker cause ocamlmklib is compaing
18:03
<
Algebr` >
:( spend more time building code than writing it
18:11
SilverKey has joined #ocaml
18:11
sh0t has quit [Quit: Leaving]
18:12
SilverKey has quit [Max SendQ exceeded]
18:16
jbrown has quit [Quit: Leaving]
18:22
SilverKey has joined #ocaml
18:34
djellemah has quit [Ping timeout: 276 seconds]
18:35
kushal has quit [Quit: Leaving]
18:46
schive has quit [Quit: Leaving]
18:54
ubertaco has joined #ocaml
18:56
<
ubertaco >
I'd like to PR a couple of String/Bytes stdlib functions that I think are common enough to be useful
18:56
<
companion_cube >
inb4 String.split
18:57
<
ubertaco >
of_char_list, to_char_list, primarily
18:57
<
ubertaco >
I'm guessing split is a common request. :)
18:57
<
ubertaco >
If my PR gets rejected, fine, okay, I'm cool with that.
18:58
shinnya has quit [Ping timeout: 258 seconds]
18:58
<
companion_cube >
the fastest way around that right now is to use stringext/astring/batteries/…
18:58
<
ubertaco >
But I'd like to send a quality PR. So...how do I run tests? I
*think* I added tests correctly (asserts in the appropriate .ml file under testsuite/tests)
18:59
<
ubertaco >
nevermind, I'm an idiot
18:59
<
ubertaco >
"make tests" instead of "make test"
19:02
Orion3k has quit [Ping timeout: 250 seconds]
19:02
<
Algebr` >
companion_cube: lol
19:03
<
Algebr` >
ubertaco: I hate to be the one to do this but it most likely will fail and will be rejected.
19:03
<
ubertaco >
Algebr`: really? :\
19:03
<
Algebr` >
ubertaco: this is the reality.
19:03
<
Algebr` >
use stringext or astring
19:03
<
Algebr` >
or your own
19:03
<
ubertaco >
how come?
19:03
slash^ has quit [Read error: Connection reset by peer]
19:03
<
Algebr` >
because this is how the culture of this community is, perhaps thats too blunt an answer
19:03
<
companion_cube >
contributions to the stdlib are hard to get through
19:04
<
Algebr` >
ubertaco: to be fair, its with merit.
19:04
<
ubertaco >
Hence the proliferation of third-party stdlibs, I guess
19:04
<
ggole >
The philosophy is that the stdlib is small (mostly what the compiler and tools themselves need) and that community libraries are there for people who want more
19:04
two_wheels has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
19:04
<
ubertaco >
Eh, that's fair
19:05
<
ubertaco >
so...prolly not worth it to bother with it?
19:05
<
Algebr` >
worth it as a fun exercise to write the code though
19:05
<
ggole >
There are corresponding ideas in other language communities, too - the Rust people like to say 'std is where libraries go to die'
19:05
<
Algebr` >
and yet rust just relased a rust-platform
19:05
<
Algebr` >
or is thinking about it?
19:05
<
ggole >
That isn't the stdlib
19:06
<
ubertaco >
yeah, my impression is that rust-platform is a "blessed" set of libs
19:06
<
companion_cube >
rust-platform would be a curated set of 3rd party of libs
19:06
<
companion_cube >
not the stdlib itself
19:06
dwillems has joined #ocaml
19:06
<
Algebr` >
which defacto becomes a stdlib
19:06
<
ggole >
They were talking to the Haskell people about how their platform attempt turned out.
19:06
<
ggole >
Which was an interesting conversation.
19:06
<
companion_cube >
I think they still should be liberal in adding
*interfaces* to the stdlib
19:06
<
companion_cube >
to provide common traits between competing 3rd party libs
19:07
dwillems has quit [Read error: Connection reset by peer]
19:07
dwillems has joined #ocaml
19:07
<
ggole >
A standard set of module signatures, which parties could implement and add more to?
19:07
<
ggole >
*3rd parties
19:07
<
Algebr` >
that would be nice
19:08
<
Algebr` >
and perhaps a happy compromise
19:08
<
pierpa >
the signatures are the problem. Writing the implemenation is a smop
19:08
<
ggole >
I think this might run into problems when the contents of the signatures needed to change
19:08
<
adrien >
Algebr`: yeah, they've already been useful to me :)
19:08
Simn has quit [Ping timeout: 260 seconds]
19:08
<
adrien >
well, I've mostly used asan, not others yet
19:09
<
Algebr` >
adrien: what lib were you passing to get it to link
19:09
<
Algebr` >
I was getting asan link errors
19:09
dwillems has quit [Read error: Connection reset by peer]
19:09
<
adrien >
you simply need to pass the same -fsanitize stuff at link-time
19:09
<
Algebr` >
cause ocamlmklib was then complaining
19:10
<
Algebr` >
yea I was giving it on CClib, CCopt but then ocamlmklib borked
19:10
<
adrien >
what does it say?
19:11
two_wheels has joined #ocaml
19:11
Orion3k has joined #ocaml
19:20
johnelse has joined #ocaml
19:21
axiles has quit [Ping timeout: 258 seconds]
19:23
<
Algebr` >
adrien: /home/gar/.opam/working/bin/ocamlfind ocamlmklib -o src/qjsengine_stubs -lc++ -Wl,-rpath,/opt/qt57/lib '-fsanitize=address' -fno-omit-frame-pointer '-fsanitize=undefined-trap' -fsanitize-undefined-trap-on-error -L/opt/qt57/lib -lQt5Qml -lQt5Network -lQt5Core src/qjsengine_stubs.o src/qjsengine_values.o /home/gar/.opam/working/bin/ocamlfind: unknown option '-fsanitize=address'.
19:25
johnelse has quit [Ping timeout: 260 seconds]
19:26
<
Algebr` >
trying to get around it, : unknown option '-Wl,-fno-omit-frame-pointer'.
19:28
<
adrien >
Algebr`: tried with -ldopt before that?
19:29
SilverKey has quit [Quit: Halted.]
19:29
<
Algebr` >
well I'm putting this all on the line for oasis's CClib or CCopt
19:31
SilverKey has joined #ocaml
19:33
axiles has joined #ocaml
19:33
ubertaco has quit [Quit: Page closed]
19:33
<
Algebr` >
and so using -ldopt doesn't work
19:38
dhil has quit [Ping timeout: 244 seconds]
19:41
rgrinberg has quit [Ping timeout: 250 seconds]
19:42
orbifx has joined #ocaml
19:47
mmm_ has joined #ocaml
19:49
<
companion_cube >
o/ orbifx
19:50
<
orbifx >
companion_cube what' up
19:50
<
orbifx >
been a while
19:50
<
companion_cube >
hurting my brain with SAT solving, but otherwise I'm well
19:50
<
companion_cube >
you?
19:51
<
orbifx >
Good. Thought I'd put a pomodoro or two on one of my projects. Semi-ocaml-ish which is good
19:53
<
orbifx >
companion_cube: SAT as in Scholastic Aptitude Test?
19:53
<
companion_cube >
satisfiability
19:54
<
orbifx >
what are you using it for?
19:56
dhil has joined #ocaml
19:57
<
companion_cube >
research
20:00
shinnya has joined #ocaml
20:13
jbrown has joined #ocaml
20:17
kakadu has joined #ocaml
20:22
<
orbifx >
any linux afficionados here for some brainstorming?
20:24
zpe has joined #ocaml
20:26
<
orbifx >
i want to track users created by my application
20:26
<
orbifx >
I want the solution to be as linux system based as possible
20:27
<
orbifx >
So i think I will add these users to a special group, as a way of tracking them.
20:27
<
orbifx >
What do you think?
20:28
<
kakadu >
Will your app require sudo privelegies?
20:29
zpe has quit [Ping timeout: 240 seconds]
20:29
<
kakadu >
because `usermod -a -G name grp` seems to need one
20:30
rand__ has joined #ocaml
20:30
<
companion_cube >
hmm, does OCaml know it can optimize `Array.blit` with memcpy if case of `int array`?
20:31
mmm_ has quit [Quit: Page closed]
20:32
<
orbifx >
kakadu: yes
20:33
Algebr` has quit [Remote host closed the connection]
20:33
Algebr` has joined #ocaml
20:37
AlexRussia has quit [Ping timeout: 258 seconds]
20:40
seangrov` has quit [Ping timeout: 258 seconds]
20:41
SilverKey has quit [Quit: Cheerio!]
20:44
<
zozozo >
orbifx: when you say your application, does it mean your code ?
20:44
<
orbifx >
essentially yes
20:44
<
zozozo >
how would it create user ? system call ?
20:48
<
orbifx >
ive written that
20:48
<
orbifx >
just want to make sure it doesn't delete users created by other sources
20:51
<
zozozo >
just read /etc/passwd prior to calling useradd ?
20:52
<
orbifx >
why? what for?
20:52
<
orbifx >
My method is to create the user and also add them to a group signifying that the user was created by my application
20:53
<
orbifx >
when a user is about to be deleted via my application, it does so only if the user if a member of that group, otherwise fails
20:53
<
zozozo >
that was as an answer to "just want to make sure it doesn't delete users created by other sources"
20:53
<
zozozo >
ah, I suppose the app has no peristent storage ?
20:54
<
orbifx >
I am avoiding a separate storage
20:54
<
orbifx >
I want other applications or the admin to easily tell which users derived that way
20:55
<
orbifx >
(it doesn't have the delete checks yet)
20:55
<
orbifx >
kakadu: have you build any lablqt apps on winblows?
20:57
<
zozozo >
orbifx: groups seem to be a good idea (provided the group you use is itself unique to your app)
20:58
<
orbifx >
yeah.. I'm calling my group "wheel"
20:58
<
orbifx >
can't possibly be taken right? :P
21:00
<
orbifx >
is there an ocaml lib for user managment?
21:00
<
orbifx >
i think i looked a while ago, but nothing good
21:00
Simn has joined #ocaml
21:01
sh0t has joined #ocaml
21:01
<
zozozo >
i don't know
21:02
<
kakadu >
no, never on winblows
21:09
<
orbifx >
later guys
21:13
orbifx has quit [Ping timeout: 244 seconds]
21:14
axiles has quit [Ping timeout: 276 seconds]
21:14
axiles has joined #ocaml
21:17
manizzle has quit [Ping timeout: 265 seconds]
21:18
dhil has quit [Ping timeout: 250 seconds]
21:20
_andre has quit [Quit: Lost terminal]
21:21
johnelse has joined #ocaml
21:25
johnelse has quit [Ping timeout: 260 seconds]
21:26
shum has joined #ocaml
21:27
sdothum has quit [Read error: Connection reset by peer]
21:30
SilverKey has joined #ocaml
21:38
dexterph has joined #ocaml
21:40
rgrinberg has joined #ocaml
21:42
SilverKey has quit [Quit: Halted.]
22:00
<
nicoo >
ocamlc is usually a bytecode executable
22:00
<
nicoo >
the string you see simply described the build environment
22:05
MercurialAlchemi has quit [Ping timeout: 260 seconds]
22:36
orbifx1 has joined #ocaml
22:45
agarwal1975 has quit [Ping timeout: 258 seconds]
22:47
Simn has quit [Quit: Leaving]
22:51
orbifx1 has quit [Ping timeout: 244 seconds]
22:53
zpe has joined #ocaml
22:57
<
Algebr` >
nicoo: yea, bob was telling me more
22:58
zpe has quit [Ping timeout: 260 seconds]
23:00
rgrinberg has quit [Ping timeout: 244 seconds]
23:00
<
Algebr` >
but that doesn't solve the thing I had earlier in irc chat
23:00
<
Algebr` >
or at least I don't see how it does
23:12
rgrinberg has joined #ocaml
23:16
sh0t has quit [Remote host closed the connection]
23:18
* nicoo
is too lazy/busy to bakclog right now
23:22
johnelse has joined #ocaml
23:24
<
Algebr` >
nicoo: wanted to use clang instead of gcc
23:24
<
nicoo >
(I have CC=clang and CXX=clang++ set in my environment since ages)
23:26
johnelse has quit [Ping timeout: 250 seconds]
23:27
ontologiae_ has quit [Ping timeout: 260 seconds]
23:28
silver has quit [Quit: rakede]
23:40
al-damiri has quit [Quit: Connection closed for inactivity]
23:54
agarwal1975 has joined #ocaml
23:57
wolfcore has quit [Ping timeout: 264 seconds]