Language:
switch to room list switch to menu My folders
Go to page: First ... 107 108 109 110 [111] 112 113 114 115 ... Last
[#] Sun Feb 22 2015 13:48:59 EST from TaMeR @ Uncensored to room_Programming@uncensored.citadel.org

Subject: Re: (no subject)

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

On 02/22/2015 07:33 AM, ax25 wrote:
Yet another way for me to avoid Javascript! Ho-ray :-)

http://jeanphix.me/Ghost.py/

You are still programming in js with that!!!
All you are doing is, you are shipping it with py.
Why would you try to avoid js so hard anyway?
That is all we have on client side.

[#] Sun Feb 22 2015 14:08:22 EST from dothebart @ Uncensored

Subject: Re: (no subject)

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

or if you use arangodb/FOXX, iojs or nodejs on the server

it hast its challenges, but I think its realy ok.

running the lint should be mandatorry however.



[#] Sun Feb 22 2015 23:13:21 EST from ax25 @ Uncensored

Subject: Re: (no subject)

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

 

Sun Feb 22 2015 01:48:59 PM EST from TaMeR @ Uncensored Subject: Re: (no subject)
On 02/22/2015 07:33 AM, ax25 wrote:
Yet another way for me to avoid Javascript! Ho-ray :-)

http://jeanphix.me/Ghost.py/
You are still programming in js with that!!!
All you are doing is, you are shipping it with py.
Why would you try to avoid js so hard anyway?
That is all we have on client side.

Because someone left out the batteries :-)



[#] Thu Feb 26 2015 05:30:46 EST from dothebart @ Uncensored

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

WHOA! openssl 1.0.2 brings down the valgrind suppressions neccessary to:

{
   Ignore OpenSSL malloc
   Memcheck:Leak
   ...
   fun:SSL_library_init
   ...
   obj:*
}
{
   Ignore OpenSSL malloc
   Memcheck:Leak
   ...
   fun:SSL_load_error_strings
   ...
   obj:*
}
{
   Ignore OpenSSL malloc
   Memcheck:Leak
   ...
   fun:OpenSSL_add_all_algorithms
   ...
   obj:*
}

However, the current debian package simply removed SSLv3, which gave me random broken stuff all over the system like python, ruby, php...

fixed that by reverting debian rules to

CONFARGS  = --prefix=/usr --openssldir=/usr/lib/ssl --libdir=lib/$(DEB_HOST_MULTIARCH) no-idea no-mdc2 no-rc5 no-zlib  enable-tlsext no-ssl2 enable-unit-test



[#] Thu Feb 26 2015 08:04:45 EST from LoanShark @ Uncensored

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


Compiling it out is a non-starter anyway. Enterprise guys, especially those who use SSL/TLS in a backend scenario or over a VPN, are moving slowly on disabling SSLv3. You can't always control how fast your business partners move.


Durrr....

[#] Thu Mar 05 2015 22:09:57 EST from IGnatius T Foobar @ Uncensored

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

Yeah, pretty much the only people actively working on phasing out SSLv2 are folks legally obligated to do so (finance and health care sectors etc)

[#] Fri Mar 06 2015 04:23:33 EST from dothebart @ Uncensored

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

 

Thu Feb 26 2015 12:11:16 EST from dothebart @ Uncensored

Ok, details:

if you have static const objects with initializers, they are defined to be thread safe in linux and windows.

However, if they live in function/method scope, its still true for linux, but not for windows.so they basicaly need to be moved outside of the functions.



[#] Fri Mar 06 2015 14:07:39 EST from fleeb @ Uncensored

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


Oh, that's rather subtle. Grrr...

[#] Fri Mar 06 2015 20:03:39 EST from TaMeR @ Uncensored to room_Programming@uncensored.citadel.org

Subject: Re: (no subject)

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

On 03/06/2015 11:23 AM, dothebart wrote:


Thu Feb 26 2015 12:11:16 EST from dothebart @ Uncensored

lolwindows.
https://github.com/arangodb/arangodb/commit/3e85160b04fd86329bea63e5ab86ad75c39dc62e

fails... sometimes.



Ok, details:

if you have static const objects with initializers, they are defined to
be thread safe in linux and windows.

However, if they live in function/method scope, its still true for
linux, but not for windows.so they basicaly need to be moved outside of
the functions.


No wonder I couldn't figure out what the lol was all about.
Who still cares about windows?

[#] Sat Mar 07 2015 17:24:24 EST from fleeb @ Uncensored

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


Er, I have to care about Windows programming, at least.

And, this is fairly awful. One of the common idioms used in C++ for creating a singleton can involve a static const object in function/method scope.

[#] Mon Mar 09 2015 14:47:10 EDT from LoanShark @ Uncensored

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

Yeah, pretty much the only people actively working on phasing out SSLv2

are folks legally obligated to do so (finance and health care sectors

etc)

Or contractually; i.e. anyone who has sworn to uphold PCI Compliance.

[#] Tue Mar 10 2015 08:30:17 EDT from dothebart @ Uncensored

Subject: Re: (no subject)

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

While I personaly wouldn't care about windows its still many developers using it as their workstation of choice.

So if you want to reach them as users without clunky VMs they should install a native port is neccessary.



[#] Tue Mar 10 2015 08:31:56 EDT from dothebart @ Uncensored

Subject: Re: (no subject)

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

hm, whew. that were a bunch of realy broken sentences.

However, probably many will have similar problems; thank god our unittests turned them up once they were working reliably.



[#] Thu Mar 12 2015 18:29:21 EDT from TaMeR @ Uncensored to room_Programming@uncensored.citadel.org

Subject: Does this guy have a point?

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

I am a hobby programmer and would like some professional opinion.
I been programming in Go (golang) lately.
And came across following article and was wondering if the guy has a point.

http://dtrace.org/blogs/wesolows/2014/12/29/golang-is-trash/

I been considering switching to Julia language for a while, but have
been to lazy.
Kinda looking for a reason I guess.

[#] Fri Mar 13 2015 06:23:08 EDT from fleeb @ Uncensored

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


Professionally?

I avoid languages that aren't commonly used. Not because I'm an elitist (I love playing with other languages), but because anything I write that needs to be maintained in a language that isn't especially well known requires either finding someone who knows that language (pin in a haystack), or training someone to learn that language (which isn't necessarily hard, but that is time wasted that could have been spent on writing code).

I don't think either go or Julia are particularly well known languages, even though I know go has been around for years, and I expect Julia is, too.

Scholastically?

I can't really render a proper opinion, as I haven't investigated both languages well. I remember looking at Go, and thinking it seemed pretty neat. I probably wouldn't use the assembler within it, preferring instead to use its more smalltalk-like nature to do stuff... but mostly, I found it interesting as it looked like it should be easy to embed it into other programs. That seemed attractive to me, as a sort of pseudo-smalltalk-within-another-program kind of thing.

[#] Fri Mar 13 2015 08:10:17 EDT from dothebart @ Uncensored

Subject: Re: Does this guy have a point?

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

He's most probably right on the NIH-syndrome.

I don't think its neccessary to develop ones own assembler nowadays - with all the problems arising as the author points out.

ArangoDB uses the go-implemented etcd as cluster registry; it always caries these weird dependencies which makes the result seem like an alien on those sytem.

I personaly prefer solid c or c++ implemented stuff. whatever scripting language you want to use - java/javascript/python/perl whatever, you'll find language bindings or can create your own using swig.



[#] Fri Mar 13 2015 21:16:30 EDT from TaMeR @ Uncensored to room_Programming@uncensored.citadel.org

Subject: Re: Does this guy have a point?

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

As a hobby programmer my main object is is that programming needs to be fun.
I tried C many, many years ago and it wasn't fun !
I don't know anything about C++
I like Haskell. I tried learning it 3 times but it is over my head.
Since I do mostly websites, I usually program my frond end in
Javascript. But even in javascript I have a different style then most.
Here is a sample:

'use strict'
if(typeof $ != 'object') var $ = {};

$.logger = {};
$.logger.original = console.log;
$.logger.On = function(){
window.console.log = $.logger.original;
};
$.logger.Off = function(){
window.console.log = function(){};
};

Go is my backend/server side language, however it bothers me that Go is
tied to Google.

I know PHP but I am really sick of it.
I have tried Ruby, it's simple enough but too stiff.

So my next upper runner is Julia. But Julia is still very new, and not
really designed for my purposes. Although there are some guys extending
Julia and even WebSocket is available.

I have tried Python, and that is really what I should use.
It is plenty fast.
It's flexible, which I like.
It doesn't compile :(

Need to make a decision.

[#] Sat Mar 14 2015 10:32:25 EDT from dothebart @ Uncensored

Subject: Re: Does this guy have a point?

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

 

Fri Mar 13 2015 21:16:30 EDTfrom TaMeR @ Uncensored Subject: Re: Does this guy have a point?
As a hobby programmer my main object is is that programming needs to be fun.
I tried C many, many years ago and it wasn't fun !
 
Try c with templating engines - we have that in webcit, its nice!
Valgrind makes c-hacking a breeze ;-) nice libraries also ease stuff a lot.
I think webcit enables you to easily write clean, maintainable and slink code.
give it a try ;-)

I don't know anything about C++
I like Haskell. I tried learning it 3 times but it is over my head.
Since I do mostly websites, I usually program my frond end in
Javascript. But even in javascript I have a different style then most.
Here is a sample:

'use strict'
if(typeof $ != 'object') var $ = {};

$.logger = {};
$.logger.original = console.log;
$.logger.On = function(){
window.console.log = $.logger.original;
};
$.logger.Off = function(){
window.console.log = function(){};
};
 
Js, one of the languages here to stay... going to become nicer with ES6, and maybe we're going to plug it into citserver. Tried io.js or node so far?

Go is my backend/server side language, however it bothers me that Go is
tied to Google.

I know PHP but I am really sick of it.
I have tried Ruby, it's simple enough but too stiff.

So my next upper runner is Julia. But Julia is still very new, and not
really designed for my purposes. Although there are some guys extending
Julia and even WebSocket is available.

I have tried Python, and that is really what I should use.
It is plenty fast.
It's flexible, which I like.
It doesn't compile :(
 
you know cython?


Need to make a decision.

 



[#] Sat Mar 14 2015 15:45:29 EDT from TaMeR @ Uncensored to room_Programming@uncensored.citadel.org

Subject: Re: Does this guy have a point?

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

On 03/14/2015 04:32 PM, dothebart wrote:

Try c with templating engines - we have that in webcit, its nice!
Which templating engines do you use?
Webcit nice?

I think webcit enables you to easily write clean, maintainable and slink
code.
Are you talking about citadel webcit?

Go to page: First ... 107 108 109 110 [111] 112 113 114 115 ... Last