topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday April 18, 2024, 4:05 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Gothi[c] [ switch to compact view ]

Pages: prev1 2 3 4 5 [6] 7 8 9 10 11 ... 32next
126
Living Room / Re: Tech News Weekly: Edition 48-09
« on: December 01, 2009, 05:20 PM »
Police may need a warrant or probable cause on paper, but we all know that they do whatever they want anyway :)

Add this to the list: http://yro.slashdot....Data-8-Million-Times

127
which are those people with a dcmembers.com space.
Which you can request from mouser if you ask him nicely :D

128
Redmine project management service for dcmembers:
https://www.donation....msg185274#msg185274

129
Opera has extentions doesn't it? http://widgets.opera.com/
They call them widgets... same thing?
The only problem is that nobody makes any useful ones... which isn't Opera's fault I think?
Or am I missing something?

130
This wouldn't be related to the email bomb us moderators received would it?
No, you can thank mouser for that one :)


This is what happened (nsfw language) :
Spoiler
01:47 <@mouser> GO FOR IT!
01:47 < Gothi[c]> ok
01:48 < Gothi[c]> it's rebooting
01:52 < Gothi[c]> it's back up
01:53 < Gothi[c]> all seems to be working
01:53 <@mouser> that was quick
01:53 < Gothi[c]> it's just a reboot..
01:53 < Gothi[c]> i already did all upgrades
01:53 <@mouser> license key generation still works
01:53 < Gothi[c]> but it needed a reboot for udev and pam
01:54 <@mouser> forum seems to work
01:54 < Gothi[c]> check if email works
01:54 <@mouser> good idea
01:55 <@mouser> doing some forum maintenance while we are offline
01:55 < Gothi[c]> ok but if you break anything, don't blame me ;D
.............
(a few minutes later)
.............
02:01 <@mouser> oh fuck
02:01 <@mouser> i did it again
02:01 <@mouser> DAMN IT
02:02 <@mouser> not end of world but im going to have spammed admins again
02:02 <@mouser> FUCK
02:02 <@mouser> more sending thousands of emails
02:02 <@mouser> well know we know the email sending works
02:02 <@mouser> #%$&%&*(%##


 :D :D

131
Post New Requests Here / Re: REQ - name format changer
« on: November 10, 2009, 02:34 PM »
That was amazingly fast :)
Go Skwire!  :Thmbsup:

132
I still use it now for work+personal use and it helps me preserve my sanity :)

133
Perl / Re: Is Perl still being used?
« on: October 27, 2009, 07:28 AM »
I use perl all the time.
Whenever I find I have a bash script that's getting too long or too complicated I grab for perl.
When I need any sort of parsing-heavy application I grab for perl.
Just recently I made an apache stats analyzer in perl (awstats was missing some stuff I wanted) and only a few hours of perl code gets you a really nice result.
Sysadmins use perl a lot to automate all sorts of stuff, like I said, the next step up from a bash script seems to be a good use imo.

134
Living Room / Re: You have a computer backup plan.. but does it work?
« on: October 22, 2009, 09:46 AM »
When making entire disk images I'd also recommend putting an md5sum of the image in a text file along with it. If the drive on which you wrote the image has some kind of malfunction, before restoring you could check the md5sum and see if it matches the one previously saved when the image was created.

As a side note, if you're running anything other than windows you could use zfs as filesystem on your computer (which is not available not just on Solaris but on GNU/Linux and Freebsd too) which has snapshot and clone functionality built into it.


135
I, fortunately, have a very good memory so I don't use any program to remember my passwords. Just my noggin, but a lot of people aren't blessed with good memories so my solution isn't optimal for some.
As a sysadmin it's easy to have hundreds of very long very hard to remember passwords.... if your noggin can handle that, then wow... :)

136
I have a custom command-line password management script I wrote, kind of like a password search engine.
It lets me define any number of fields of information (kind of like an LDAP directory), eg: server name, ip address, user name, password, email address, url, notes,.... Not every entry needs to have all fields (Which is the advantage of directory-style versus column style) -
Then on commandline i just type:
pass somename someserver
- and it will give me the entry where all keywords hit, in a nice layout for easy copy/paste.

pass -e

will let me edit the directory in vim.
Every time i run pass, it asks for the master password, everything is encrypted using bcrypt or mcrypt

I may actually switch to a real encrypted ldap directory some day or use a real password management program, but so far this works quite nicely.

Lots of people swear by KeePass and stuff.

137
That seems like a very very dirty way to implement JS in a C++ app (Yes, C++ Builder applications are still C++ apps) :D
Especially since there are so many easier ways to embed js in C++ code. There are many wrappers around spidermonkey and others that make things VERY easy,...

Using JSDB ( http://www.jsdb.org/embedding.html ):

Code: C [Select]
  1. struct JSDBEnvironment;
  2.  
  3. #include "jsdb.h"
  4.  
  5. int main(int argc, char **argv)
  6. {
  7.   CoInitialize(0);
  8.   TBLEnv TableCache;
  9.   {
  10.     // cleanup in the right order
  11.     JSDBEnvironment JSDB(&TableCache);
  12.     JSDB.Startup(512*1024, 8192, 0);
  13.     JSDB.in = new FileStream("stdin",FileStream::OMText);
  14.     JSDB.out = new FileStream("stdout",FileStream::OMText);
  15.  
  16.     JSDB.ExecScript("print('Hello, World!')",0,0);
  17.  
  18.     delete JSDB.in;
  19.     delete JSDB.out;
  20.   }
  21.   CoFreeUnusedLibraries();
  22.   CoUninitialize();
  23.   return 0;
  24. }

flusspferd (http://flusspferd.org):

Code: C [Select]
  1. #include <flusspferd.hpp>
  2. #include <iostream>
  3. #include <ostream>
  4.  
  5. int main() {
  6.     // Create and use a context, needed to be able to use Flusspferd.
  7.     flusspferd::current_context_scope context_scope(
  8.         flusspferd::context::create());
  9.  
  10.     // Create a new string and protect it from the garbage collector by making
  11.     // it a root string.
  12.     flusspferd::root_string str("Hello, World!\n");
  13.  
  14.     // Demonstrate that str will not be garbage collected, by calling the
  15.     // garbage collector.
  16.     // Note that there is no other reason to call the garbage collector here.
  17.     flusspferd::gc();
  18.  
  19.     // Set a property on the global object. Effectively, this creates a global
  20.     // variable "str" with the contents of str.
  21.     flusspferd::global().set_property("str", str);
  22.  
  23.     // Print str on std::cout - but first, replace "World" by "Flusspferd".
  24.     std::cout << flusspferd::evaluate("str.replace('World', 'Flusspferd')");
  25. }

Create full classes in c++ usable from js:
http://flusspferd.or...s-without-macro.html

You can also use the v8 js engine (used in chrome ) in your c++ applications ( http://code.google.com/p/v8/ )


What I'm trying to say is that with so many libraries out there, tiny and big, made specifically for letting you embed js into your c++ application, there is absolutely no reason to include a full browser object and 'hide it' just in order to have js functionality. Not only is it very inefficient (memory wise), but it is also much much less flexible.

Just because c++ builder has a RAD GUI, that doesn't mean you have to start using it like visual basic ;)

One of the BIG advantages of c++ builder is that you get the best of both worlds (Your common RAD languages and C++) - You can use the vast resources of C++ libraries out there, while still having the ability to rapidly create a gui.
With cpp builder you do not NEED specific components for everything you try to do, and jump through such hoops to accomplish something. You have the power of C++, use it! :D There are TONS of libs out there to do anything you want, use them! :)




138
I use a bot that needs me to have a 'keyex plugin' to auto exchange keys (not my bot). Is this possible with blowssi?

Not at the moment.

PS: Gothi[c] any update on blowssi for weechat? :D

Nope. The api's are too different, would take too much time for me right now... Especially considering that they are re-doing their entire script api. Lets wait until they sort everything out.

139
Post New Requests Here / Re: REQ - image search file maker
« on: September 08, 2009, 04:57 PM »
yeah, he just needed a reboot :)

141
Living Room / Re: PayPal
« on: September 06, 2009, 12:49 PM »
Are you using paypal.com or some localized version? I noticed that in some countries the paypal features/site are different.
(eg: paypal.be vs paypal.com)

142
Post New Requests Here / Re: REQ - image search file maker
« on: August 31, 2009, 10:57 PM »
Should be doable with a small perl script - but someone could probably write you a more windows-friendly autohotkey script a lot quicker...

143
Living Room / Re: DC-IRLDD Champaign, IL - Aug 29, 2009
« on: August 31, 2009, 12:58 PM »
Something tells me that the battles ensued in HeroScape during this get together will be of epic proportions and result in total domination by one party. Am I wrong?

We did play heroscape, but actually most games were very close, except for one particular flawed unbalanced scenario/board.

144
Living Room / Re: DC-IRLDD Champaign, IL - Aug 29, 2009
« on: August 30, 2009, 07:34 PM »
Where can I get this stuff?

http://www.tastethepain.com

Order from their top-10 hottest ;)
http://tastethepain....Top_Ten_Hottest.html

145
Living Room / Re: DIY Vacuum tubes
« on: August 05, 2009, 03:02 PM »
Awesome. If you find more stuff like that, please post! :)

147
It appears that the weechat scripting api for 0.2.6.3 is completely different from the upcomming 0.3 branch. The 0.3 branch will be a complete rewrite, therefore I am going to write it for 0.3, to save myself from having to rewrite it again later. But it won't work with the latest stable then.

148
Sure, why not. :)
WeeChat looks fun to try out too, nice find.
I'll give it a shot. Can't tell you when though ;)
Blowssi is written in perl, and weechat seems to have perl scripting support (as well as python and ruby), so it should be fairly easy.
It's not quite as simple as replacing the hooks, as you also have to change the function parameter parsing to however their api works, but it should still be fairly easy.

150
NEVERRRrrrrrrrrrrrrr use 777 :)

Just make sure other users can read+execute it...

chmod u=rwx,o=rx,g=rx /usr/share/irssi/scripts/blowssi.pl

Then from any user you still have to /load blowssi.pl

The advantage of putting it in /usr/share/irssi/scripts is that you don't have to type the full path after /load

If you want it to auto-load you still have to put the /load line in the ~/.irssi/startup file of every user using irssi. It would be nice if there was a system-wide startup file, but there isn't afaik....

Pages: prev1 2 3 4 5 [6] 7 8 9 10 11 ... 32next