Any python libs for parsing apache config files or if not python anyone aware of such thing in other languages (perl, php, java, c#)?
As i'll be able to rewrite them in python.
Given the known weaknesses of MD5 and the recent (May 2009) weaknesses discussed in SHA1, how should new programs be salting & hashing their passwords?
I've seen SHA-256 and SHA-512 suggested.
Programming predominately in Ruby on Rails and using PostgreSQL -- but other languages and environments might also have to calculate password hashes.
I have a database full of translations I'd like to generate either .po or .mo files. I'm using C#, but I could also port an implementation from PHP if one exists. I can't find any examples in any languages using anything other than GNUs gettext utilities. Does anyone know of one?
Hi, i'm looking for a way to ship the python interpreter with my application (also written in python), so that it doesn't need to have python installed on the machine.
I searched google and found a bunch of results about how to embed the python interpreter in applications written in various languages, but nothing for applications writtent in python itself... I don't need to "hide" my code or make a binary like cx_freeze does, i just don't want my users to have to install python to use my app, that's all.
Thanks.
How can you invoke shell commands from Squeak and Pharo? Do these environments have anything in them like the system() function in certain unix languages to run external shell commands, or the backticks (can't make them here do to the editor, but what you get when you push the key left of "1" and above "TAB") to capture the output of commands?
I have installed fonts for East Asian languages and everything outside of select boxes displays correctly, but I get just get squares inside of select boxes. I've seen from google that other people have experienced this, but there doesn't seem to be a solution that I've found. Anyone out there have one?
Hi
Newcomer to Objective C and trying to translate concepts and sytax I know from ecmascript based languages to Objective C.
Is it proper to think of the .h header file in ObjectiveC as an Interface in Actionscript?
Lets take the following code example in Objective C which calls a method containing 2 arguments
[myTextObject setString: @"Hello World" color: kWhiteColor];
In Actionscript(or javascript) would this be the same as calling 2 accessor methods on 'myTextObject'?
ie
myTextObject.setString("Hello World")
myTextObject.color(kWhiteColor);
I read a chapter in a book (Seven languages in Seven Weeks by Bruce A. Tate) about Matz (Inventor of Ruby) saying that 'I would remove the thread and add actors, or some other more advanced concurrency features'.
Why and how an actor model can be an advanced concurrency model that replaces the threading?
What other models are the 'advanced concurrency model'?
I saw in a lot of AjaxControlToolkit.resources.dll for different languages, even mine (Russian) in my bin folder so I guess that's real to change the language of my Ajax Calendar Extender.
<asp:TextBox ID="TextBox4" runat="server" oninit="TextBox4_Init" />
<ajaxToolkit:CalendarExtender ID="TextBox4_CalendarExtender" runat="server"
Enabled="True" FirstDayOfWeek="Monday" Format="dd.MM.yyyy"
TargetControlID="TextBox4" />
<br />
It's English by default
But how can I change it to my Language ? (or to the current culture language)
I'm a program made in Delphi & Lazarus/FreePascal at the same time, so I can reach linux & osx customers.
I want to know if exist a cross-plataform tool that work in both environments so I can add multiples languages.
I find http://dxgettext.po.dk/Home but is broken (not compile in Lazarus/OSX). I wonder if exist other tool.
i've asked about strtolower function. when use foreign languages it doesn't convert into uppercase, so i must use
mb_strtolower($a,"utf8");
and what can i do, if i want to use ucfirts() function? i haven't found any same function, where i can set encoding type.
I need to create a chat similar to facebook chat.
I am thinking to use ajax polling ( to send request every 2-3 seconds ).
Is this a good approach ? Or I need to use other server side languages like erlang and server-comet ?
The title says it all, basically. What is the current state of the art on duck typing for C# below version 4.0?
I know about Duck Typing Project, I know that BLTookit has something to that end, but I'd like to know if I'm missing something really wicked apart from DLR languages and C# 4.0.
The inevitable:
What tools, languages, and infrastructure do you use for do batch processing in Linux?
I am looking for something that facilitate the tasks of:
Process files
Log
Validation
Job Controlling (start,strop,reestart a process)
Mysql Connection
Thanks for any help!
Does anyone know of a good .NET library that allows me to parse source code files, but not only .NET source code files (like java, perl, ruby, etc)?
I need programmatic access to the contents of various source code files (e.g. class/method /parameter names, types, etc.).
Has anyone come across something like this? I know within .NET it is reasonably possible and there are some libraries out there, but I need that to be abstracted to more types of programming languages.
Please recommend me software engineering/methodology/practices paper. So far I have enjoyed:
1968 Dijkstra : Go To Statement Considered Harmful
Reason about correctness about program
Nikalus Wirth : Program Development by Stepwise Refinement
Not worried about program structure
1971 David Parnas : Information Distribution Aspects of Design Methodology
1972 Liskov : Design Methodology for Reliable Software Systems
Extensible Language : Schuman and P Jourrand R. Balzer
Structured Programming :
Dahl - Hierarchical Program Structures
1971 Jim Morris
Protection in Programming Languages
1973 Bill Wulf and Mary Shaw
Global Variable Considered Harmful
1974 : Lisko and Zilles
ADTs
Is there any easy way to create at least a template XML file using XML Schema? My main interest is bounded by C++, but discussions of other programming languages are also welcome.By the way I also use QT framework.
Sometimes I see people use http://codepad.org as a way to quickly run/test their Perl snippets (it supports doing that with a wide variety of languages, from C to Scheme to Perl).
It's pretty obvious that there must be some limitations as to what code/features can be tested with codepad - does anyone know what those limitations are for Perl runner?
I'll get the ball rolling on my own observation: not every CPAN module is available :(
I'd like to plot mathematical functions and I'm looking for techniques and algorithms for precise and efficient plotting. 2D plotting should suffice. I focus on techniques and algorithms, not libraries or languages. Thanks in advance!
I realize that this could probably be done easier in any number of other scripting languages but started to do it quick in cmd and now Im curious.
Looking to start a process at an offset to the time that another process started. Lets say 5 minutes to keep it simple. Is there a way to add to the %TIME% variable?
For instance:
start /b foo.exe
at %TIME% + 5 minutes bar.exe
Thanks for any assistance
I'm creating a Wizard control (in Flex) and wanted to look at some examples of good Wizard controls in .NET, Java or other languages.
I'm especially interested in situations where next/prev steps are determined by the input of the current step. For instance, choosing one of several options in the start screen will lead you to different screens, etc
Any suggestions?
I have seen samples of closure from - http://stackoverflow.com/questions/36636/what-is-a-closure
Can anyone provide simple example of when to use closure?
Specifically, scenarios in which closure makes sense?
Lets assume that the language doesn't have closure support, how would one still achieve similar thing?
Not to offend anyone, please post code samples in a language like c#, python, javascript, ruby etc. I am sorry, I do not understand functional languages yet.
Hi,
A time ago I had a script who got the flv-file from a specified youtube-video, which now is broken due to changes at their website.
I am wondering if Youtube may have an API to download the flv-file, where can I find it in that case?
Have anyone build an own script, may someone wanna help be building it? Is there any scripts in any other languages such as shell/bash that works? :)
Best regards,
Erik Persson