Language:

en_US

switch to room list switch to menu My folders
Go to page: First ... 14 15 16 17 [18] 19 20 21 22 ... Last
[#] Tue Jun 23 2015 07:02:13 UTC from dothebart

[Reply] [ReplyQuoted] [Headers] [Print]

it seems it worked out: http://orientdbleaks.blogspot.de/



[#] Tue Jun 23 2015 17:53:53 UTC from LoanShark

[Reply] [ReplyQuoted] [Headers] [Print]


database software is at its best when it's old and boring.

[#] Thu Jun 25 2015 00:34:05 UTC from IGnatius T Foobar

[Reply] [ReplyQuoted] [Headers] [Print]

Well yes... sometimes you really do just need a dumping ground for records.

[#] Mon Jun 29 2015 18:02:16 UTC from LoanShark

[Reply] [ReplyQuoted] [Headers] [Print]


and then sometimes you need something super-scalable and lean. I am still not a big fan of NoSQL, I like my indexes automatically maintained and my data normalized, thank you. But there is something to be said for the auto-sharding of AWS DynanoDB if you know you are going to need something that really screams.

(And the SimpleDB pricing model can not be beat, but it may not be around for much longer, and the programming model is still not as good as SQL)

[#] Wed Jul 01 2015 05:27:26 UTC from ax25

[Reply] [ReplyQuoted] [Headers] [Print]

If your want lean storage for data, RDBMS might not be the winner (assuming that is the only criteria).



[#] Fri Jul 03 2015 12:14:41 UTC from dothebart

[Reply] [ReplyQuoted] [Headers] [Print]

while libcitadel as base and many parts of citadel already embrace object oriented designs,tihs is an interesting read:

http://libcello.org/learn/cello-vs-cpp-vs-objc



[#] Mon Aug 24 2015 11:36:51 UTC from dothebart

[Reply] [ReplyQuoted] [Headers] [Print]

anno 2015: Microsoft Visual Studio implements snprint()

 



[#] Mon Aug 24 2015 13:10:22 UTC from fleeb

[Reply] [ReplyQuoted] [Headers] [Print]


They had it in 2013, as _snprintf, requiring <stdio.h>. They also have wide versions of the function.

[#] Mon Aug 24 2015 15:15:03 UTC from dothebart

[Reply] [ReplyQuoted] [Headers] [Print]

_snprintf wouldn't terminate the string on error. So I guess that doesn't count.

afairk they had that for quiet a while.



[#] Tue Aug 25 2015 14:02:29 UTC from fleeb

[Reply] [ReplyQuoted] [Headers] [Print]


Ah... I wondered if the underscore might have been the offense.



[#] Wed Aug 26 2015 13:03:36 UTC from IGnatius T Foobar

[Reply] [ReplyQuoted] [Headers] [Print]

anno 2015: strncpy() still doesn't guarantee null termination, on *any* platform

[#] Wed Aug 26 2015 14:49:48 UTC from dothebart

[Reply] [ReplyQuoted] [Headers] [Print]

thats why one should use memcpy. strncpy() isn't buffer overrun safe anyways.



[#] Wed Aug 26 2015 18:23:16 UTC from fleeb

[Reply] [ReplyQuoted] [Headers] [Print]


Heh... memcpy with UTF-16 characters...

[#] Wed Aug 26 2015 18:33:49 UTC from LoanShark

[Reply] [ReplyQuoted] [Headers] [Print]

anno 2015: strncpy() still doesn't guarantee null termination, on *any*

platform

It doesn't guarantee bounds-safety if you pass the wrong size parameter, either. I suppose you're supposed to use it after calloc() or memset() and pass size-1...

[#] Wed Aug 26 2015 18:35:04 UTC from LoanShark

[Reply] [ReplyQuoted] [Headers] [Print]


(I do think it's a dumb design. And as I recall, Citadel has a safestrncpy...)

[#] Wed Aug 26 2015 23:43:30 UTC from IGnatius T Foobar

[Reply] [ReplyQuoted] [Headers] [Print]

It does have safestrncpy() in its utility library. It also has an elastic string data type. Neither is particularly pleasant to work with. Time to rewrite the whole thing in Python.

[#] Tue Sep 01 2015 03:01:09 UTC from ax25

[Reply] [ReplyQuoted] [Headers] [Print]

A Python re-write of any of it would be interesting.  Prolly not gonna happen, but it would be fun for me.



[#] Tue Sep 01 2015 14:29:47 UTC from IGnatius T Foobar

[Reply] [ReplyQuoted] [Headers] [Print]

If the project were being started today it would be in a higher level language, very likely Python. But it isn't. From time to time we discuss extension languages, though.

[#] Wed Sep 09 2015 02:23:02 UTC from ax25

[Reply] [ReplyQuoted] [Headers] [Print]

I guess I have never tried calling any of the Citadel libraries with ctypes yet.  I should probably give that a try.  I don't think I will muck about on my live system however :-)  Easy / Queasy install to the rescue.



[#] Fri Sep 11 2015 08:29:24 UTC from dothebart

[Reply] [ReplyQuoted] [Headers] [Print]

@ax25 I guess there is not much in there realy usefull for python. The client api doesn't use libcitadels abstractions, which, if, then would probably be a good thing to use in python or swig.

 

Another nice thing I've just found:

https://www.madoko.net/ A system for doing markdown documentations & presentations with latex backends written in...

Koka:

http://www.rise4fun.com/koka/tutorial



Go to page: First ... 14 15 16 17 [18] 19 20 21 22 ... Last