AltME groups: search
Help · search scripts · search articles · search mailing listresults summary
world | hits |
r4wp | 5907 |
r3wp | 58701 |
total: | 64608 |
results window for this page: [start: 24001 end: 24100]
world-name: r3wp
Group: Linux ... [web-public] group for linux REBOL users | ||
Ashley: 27-Jul-2009 | Should work on any *nix based distro with X11/fontconfig installed ... which is about as close to a "standard" as I've come across in *nix land! (and yes, Mac is *nix for this purpose). | |
Anton: 27-Jul-2009 | That's not a bad little piece of code then. | |
Graham: 3-Aug-2009 | I've got a user reporting that my app under puppylinux is reporting the wrong time when compared vs NIST time. | |
Graham: 3-Aug-2009 | Perhaps the easiest thing to do is to redefine NOW based on a NIST offset. | |
Anton: 14-Aug-2009 | Woohoo! Just came across a way to make Ctrl-V work in the bash shell. You need 'xclip' installed. To install, I did $ sudo apt-get install xclip then I pasted Josh Triplett's nice short code at http://bash-hackers.org/wiki/doku.php/snipplets/xclip into the bash shell, and then Ctrl-V started working! | |
Dockimbel: 14-Aug-2009 | Maybe you could write a simple proxy for system/ports/input, catch CTRL-V then redirect clipboard:// content to console? | |
Anton: 15-Aug-2009 | Wait a minute, I can call xclip to get the right clipboard contents... >> call "xclip -o" | |
Anton: 15-Aug-2009 | Doc, or anyone, do you know how to write a proxy for system/ports/input ? | |
Dockimbel: 15-Aug-2009 | I would try to wrap a custom port wiring all methods to the console port then I would replace system/ports/input with that new one and see if the "proxy" port works. If it works, then you can intercept the incoming events and add your own handlers. But that's only theory, as much other low-level parts of REBOL, it's not documented, so I'm not sure it would work. | |
Anton: 15-Aug-2009 | Hmm.. sounds a bit too complicated for now - might have to wait for another day... but, how do you think I would replace system/ports/input ? By just : system/ports/input: my-port ? | |
Anton: 15-Aug-2009 | Ok, I'll give it a quick go to see how feasible it is. My first try about an hour and half ago, just using the console port looks like this: | |
Anton: 15-Aug-2009 | I've tried replacing system/ports/input/awake with an awake function similar to above, and it doesn't seem ever to be called. If it's possible at all I think making a handler object with all the functions (open close write etc.) *might* work. | |
Anton: 15-Aug-2009 | I tried making a handler object with stub functions. | |
Graham: 17-Aug-2009 | Is this a key logger? | |
Anton: 18-Aug-2009 | I had a go at it again with Gabriele's way of doing it. So far I can only intercept input and output when enter is pressed, not at individual key presses. I think I can only open system/ports/input in lines mode, the same as the default. From memory, now, I seem to remember somebody having a go at this and arriving at the same point. (Can anybody verify that?) | |
Gabriele: 18-Aug-2009 | (still, ctrl-c and ctrl-v have always had a different meaning on terminals, so I'm not sure replacing them is a good idea. in particular, most likely you'd need to trap ctrl-c by trapping SIGINT... and that does not look like a great idea to me...) | |
Anton: 18-Aug-2009 | Gabriele, could elaborate on that idea a bit? I'm having trouble visualizing how it would work. | |
Gabriele: 19-Aug-2009 | in my example, you have your own port using your own scheme, and its sub-port which is the original system/ports/input. this sub-port need not be the original, you can open console:// yourself with your own flags (eg. binary). then you can process one char at a time, figure out line ending yourself, and send the entire line to the other side. | |
Anton: 22-Aug-2009 | Or is there a way to set the handler in a console port? | |
Anton: 22-Aug-2009 | Anyway, so it seems like you suggest to replace the default port at system/ports/input with an equivalent one which the system is expecting (ie. a direct/read/lines port), and then the subport can be a custom console port with binary, one char at a time stuff. | |
Anton: 22-Aug-2009 | (It's unclear to me the relationship between a port and its subport. I know the port manages the opening/closing of its subport, but how can the port in lines mode transfer individual chars from its buffer into the subport ? Or do they both receive from the same input simultaneously automatically?) | |
Gabriele: 23-Aug-2009 | basically, on read you call read-io on the subport, maybe modify the buffer, etc. on write (for the output port), you can do the same, modify the buffer, then use write-io on the subport. wait on the subport is called by the system whenever wait on your port is called (that's why there's a get-sub-port function there). | |
Graham: 28-Aug-2009 | well, going to login to the console and have a poke around | |
Sunanda: 28-Aug-2009 | Sorry to hear you've been attacked, Graham. I hope it is not too much work to get it all back together....Don't work all night! Looks like it was not personal -- just some automated tools seeking vulnerabilities. You seem to be on a fairly recent version of Apache, but that does mean you may be some months behind on the security patches: http://httpd.apache.org/security/vulnerabilities_22.html | |
Sunanda: 28-Aug-2009 | Server id says 2.2.3. (that may be just a reply string, not the real situation of course). | |
Henrik: 28-Aug-2009 | I have an idle Cheyenne running on a Linode server without a domain name. it's been there for a couple of months now. I was a bit surprised to already see bots looking for wordpress, admin pages and attempts to submit various scripts for injection in the access log. Well, I guess I shouldn't be surprised. | |
Graham: 28-Aug-2009 | At least I might have a clue how they did this. | |
yeksoon: 28-Aug-2009 | wonder if it is a permission issue on the index.php file | |
Gabriele: 28-Aug-2009 | I'm ready to bet it was a deki wiki or php vulnerability rather than an apache one... | |
Graham: 28-Aug-2009 | now to figure how to backup the mysql files and transfer them to a backup of the vm | |
Graham: 28-Aug-2009 | Looks like I was not the only vm user who was attacked. Mindtouch are investigating. They suspect a PHP5 vulnerability that I guess I should have updated :( | |
Graham: 29-Aug-2009 | the vulnerability has been identified. There is a vulnerability in the rich text editor which allow a user to upload a php file as an image type and then browse to it executing it. http://xinha.webfactional.com/ticket/1363 So, not really a php exploit ... | |
MaxV: 2-Sep-2009 | I wrote a software with DRAW with 2 arrow and 2 text (Cartesian axes), in windows works, in Linux appear just the vertical row and notihng else... | |
Geomol: 2-Sep-2009 | News to me. Is there a similar trick under OS X? | |
Graham: 2-Sep-2009 | That's a pretty old post | |
Geomol: 2-Sep-2009 | I tried to change the agg script to point to a ttf font file under OS X. It doesn't display. | |
Pekr: 2-Sep-2009 | Simply put - starting "saslauthd -a shadow" daemon, then uncommenting 2-3 lines in sendmail.mc, restarting sendmail, and voila, it was done ... | |
Pekr: 4-Sep-2009 | Thinking about providing my brother with some webmail option on my Linux server. In the past, I used simple Squirrel mail. Then I know some ppl do use Horde. Now my friend suggested me a Zimbra. Isn't Zimbra a little bit too much for just an occassional web option to pop3 account? | |
Pekr: 4-Sep-2009 | I thought so - more a groupware than a simple webmail interface to email, right? Most of us use Thunderbird anyway, so ... | |
Janko: 27-Sep-2009 | setup file is like this: #!/bin/bash # # iptables example configuration script # # Let's not lock ourselves out of the server # iptables -P INPUT ACCEPT # # Flush all current rules from iptables # iptables -F # # Allow SSH connections on tcp port 22 # This is essential when working on remote servers via SSH to prevent locking yourself out of the system # iptables -A INPUT -p tcp --dport 22 -j ACCEPT # # Allow HTTP connections on tcp port 80 # iptables -A INPUT -p tcp --dport 80 -j ACCEPT iptables -A INPUT -p tcp --dport 443 -j ACCEPT # # Set default policies for INPUT, FORWARD and OUTPUT chains # iptables -P INPUT DROP iptables -P FORWARD DROP iptables -P OUTPUT ACCEPT # # Set access for localhost # iptables -A INPUT -i lo -j ACCEPT # # Accept packets belonging to established and related connections # iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT # # Save settings # /sbin/service iptables save # # List rules # iptables -L -v | |
Janko: 27-Sep-2009 | I tried from console too .. if firewall is all on ACCEPT it works .. if not this happens : >> send [janko-:-itm-:-gmail-:-com] "asasd asd a" Net-log: ["Opening" "tcp" "for" "esmtp"] connecting to: secure.emailsrvr.com ** Access Error: Cannot connect to secure.emailsrvr.com ** Where: open-proto ** Near: smtp-port: open [scheme: 'esmtp] either only | |
Graham: 28-Sep-2009 | does a direct tcp connection on port 25 work? | |
Dockimbel: 28-Sep-2009 | Try adding : iptables -A OUTPUT -i lo -j ACCEPT | |
Dockimbel: 28-Sep-2009 | On second thought, that wouldn't help. Try adding a few -j LOG rules to help debug. | |
Janko: 28-Sep-2009 | It took me half of day of looking but I think I am close to it now.. when I run the script I get iptables: No chain/target/match by that name and it's realted to this line: iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT after much digging it currently it looks that the vps is missing "state" kernel module which is given there by -m "meaning match" .. I just wrote the vps host computer admin and I hope he will be able to enable it | |
Gabriele: 1-Oct-2009 | Petr, I'm not sure why someone would want a non-standard, hard to use shell over Linux, but, ok... :P | |
Pekr: 1-Oct-2009 | Gabriele - you should know what you are talking about, no? I use MT for 3 years, and the docs are there, there is a forum, there is a wiki. It allows so much complicated stuff like traffic bonding, easy scheduling/shaping, mangling, scripting, virtual interfaces, dynamic lists, etc. that it is not even funny to compare it to bare-bones Linux .... | |
Gabriele: 1-Oct-2009 | so, what the hell has that to do with Janko's problem (a firewall for his server)? | |
Gabriele: 2-Oct-2009 | the issue is not whether it's free or not. the issue is that they are REMOVING features for no reason at all. Why not just add their own windows UI (that of course it's only for windows! they could not do like anyone else and make a web interface that works everywhere...) on top of a custom linux distribution that ALSO gives you the ability to do whatever you want with it IF you know how? | |
Gabriele: 2-Oct-2009 | My router is a debian lenny box. I'm so much happier now that the mikrotik router in the antenna is just acting as a bridge and I don't even know it's there. less crap to learn and worry about... | |
Gabriele: 2-Oct-2009 | go read Carl's blog again about people not having a clue about the business they run. go read Chuck Moore's interview that says the same thing (complexity means that we are doomed). I can't undertand why only so few people on this planet get it - how can everyone else think that more complex is better... | |
Pekr: 2-Oct-2009 | It has NOTHING to do with MT and your claims are simply false. If you are so brave, then go, and replace your bad MT with another Debian Box. I wonder, if it would make you more happy. MT is not bug-free, I never claimed anything like that. My MT suggestion was relatad exactly to the SIMPLICITY factor. You call it complex? Man - it is like you never used REBOL, right? MT brings simplicity to the wifi providing, that some other solutions are not even funny to suggest. MT Linux abstraction is like a VID dialect upon Linux - yes, it can't do everything. But I can't come-up with anything it does not do for me for 99% of my usage cases. Yes, I noticed your OpenVPN problem, not supporting UDP, and yes, it sucks, but it does not mean that MT does not serve its purpose. | |
Gabriele: 3-Oct-2009 | Also, PLEASE, I beg you, do *read* what I write. I never said my problems are due to mikotik. I said my problems are due to my ISP not knowing what they are doing. You said that mikrotik allows "normal" people to set up a WISP. Right, they do, and the result is that they waste MY time *because* they know nothing about this job. This was *your* claim, and it seems to be consistent with what I am seeing. | |
Gabriele: 3-Oct-2009 | The criticism I made to RouterOS was very targeted and very simple, and you of course completely ignored it. I said two things: 1) there is absolutely no reason they had to add the stupid shell they have when you connect via SSH 2) there is no reason why what they do could not have been implemented on top of debian, or any other distribution, thus allowing people who know what they are doing to provide extra services that are beyond what's in their default configuration. That is just a stupid choice. So, most people don't care or need, and for them MT may be a good choice. That does not make them a good alternative to a linux box, neither a good alternative to Janko's problem above, and from what you say they may be even making things worse. | |
Gabriele: 3-Oct-2009 | oh, my third criticism to MT, 3) there is no reason why they are offering a windows-only gui instead of a web-based one like everyone else in the world. | |
Pekr: 3-Oct-2009 | Gabriele - let's make a peace in the above case. I am sorry if I offended you :-) | |
Claude: 15-Oct-2009 | hi, do you have a solution for the BROWSE problem on linux ? | |
Claude: 15-Oct-2009 | a work around is to use CALL like this "call [firefox "http://www.rebol.com"] | |
ManuM: 15-Oct-2009 | Claude, I have a similar solution, I redefine browse in user.r browse: funct [ url ] [ call reform [ "x-www-browser" url ]] So you can do browse http;//www.rebol.com But docs, and bugs donīt work ( you can redefine them too If you want ), but I think you don't like this solution. | |
BudzinskiC: 22-Oct-2009 | Hi, any idea how to get the Word Browser from Rebol -> Tools to work on Linux? I get an error after I click a category and then a word: ** User Error: Bad face in screen pane! ** Near: show main This is using Rebol/View 2.7.6.4.2 on Arch Linux. | |
Henrik: 22-Oct-2009 | sounds like a font problem | |
BudzinskiC: 22-Oct-2009 | Thanks for trying to help :) With font problem, do you mean something like a missing font? I got these installed: ttf-ms-fonts, ttf-dejavu, ttf-bitstream-vera, xorg-fonts-100dpi, xorg-fonts-75dpi, and xorg-fonts-misc. Any idea what kind of font would be missing for the Word Browser? | |
Ashley: 22-Oct-2009 | Probably not a font issue then. Works fine here on OSX so sounds like a Linux specific error. Does RebGUI work? (REBOL/Demos group) | |
BudzinskiC: 22-Oct-2009 | Yeah works on OS X for me too, got that on my laptop. RebGUI seems to work fine, went through a few of the tabs, nothing crashed. | |
Ashley: 22-Oct-2009 | Let's see if anyone else on Linux has the same issue, otherwise a feedback is in order. Good find. | |
ManuM: 22-Oct-2009 | Budzinski: No problem here with word-browser when I select a category and then a word. Works fine on Kubuntu 9.04 and Rebol/View 2.7.6.4.2. Try to reload again the script with right button and then reload over the Word Browser Icon | |
Kaj: 24-Oct-2009 | Normally it's a problem right at startup of View and it's fixed by installing the X11 fixed size bitmap fonts, but you seem to have those already. Are there any other bitmap fonts packages that you can install? | |
Kaj: 24-Oct-2009 | You could try xorg-fonts-alias, in case a font is installed but not found because the name doesn't match | |
Kaj: 24-Oct-2009 | I don't see much else you could try. Maybe the ttf-ms-fonts, because it has popular font names, but that would be a new case of the problem | |
BudzinskiC: 24-Oct-2009 | No change. I tried to install a few more font packages but those didn't help either. But thanks for your help, it was worth a try :) | |
Gabriele: 25-Oct-2009 | Budzinski: usually it's the bitmap fonts, but you had those installed already, so maybe it's not a font problem. "Bad face in screen pane" could also be the script trying to open a window with negative or zero size, or things like that. Maybe a negative offset could cause that error as well. | |
BudzinskiC: 25-Oct-2009 | Gabriele, wouldn't an error in the script mean that the Word Browser shouldn't work at all? It does work fine on Windows and Mac OS X and from what ManuM said, it works on Kubuntu Linux too. But thanks for your input on this :) Maybe REBOL is incompatible with a newer version of a package. Arch Linux is a rolling release distro (daily updates compared to Ubuntu where you get updates every 6 months in form of a new distribution release). If it's that, then this problem will pop up for other Linux users in a few months too, when their distributions update to use newer packages. | |
BudzinskiC: 25-Oct-2009 | I'll try to ask in the Arch Linux forum about this tomorrow. There probably won't be anyone using REBOL there but maybe a few people are willing to try this out. I'm far from being a Linux guru, if someone with more experience would try the Word Browser on his Arch Linux system, the possibility of a configuration error on my part could be ruled out. | |
Kaj: 25-Oct-2009 | You could have a look in the script to see what it's doing at that point | |
BudzinskiC: 25-Oct-2009 | Yeah I started looking at the code. It's a bit hard to debug for me though. The error doesn't give any line number, it just says "near show main". I searched for "show main" and found three occurances in the source. I'm completely new to REBOL so going through everything in the code would take me quite some time without being able to narrow it down first because everything looks alien to me and I have to look it up to see if something in the script looks wrong. Is there some good tutorial available on debugging REBOL code? Or is there some trick to find out the last line that was executed? I do have access to the terminal at that point, the view is frozen but the terminal still accepts commands. | |
Kaj: 26-Oct-2009 | I'm not aware of a specific debugging tutorial. It takes experience, yes. It's not ideal, either, and in REBOL 3 the debugging abilities are greatly improved | |
Gabriele: 26-Oct-2009 | Budzinski: my guess is that for some reason, either a size-text fails, or some othe code fails, leading to a 0x0 or negative pair somewhere, or something else weird. REBOL's codebase is just too old, so it's always a bit at odds with Linux. :) | |
BudzinskiC: 26-Oct-2009 | Yeah on Mac OS X there are a few problems too. The bottom of a scrollbar isn't shown for example (I guess the resize graphic in the lower right corner covers it). And the console is unusable when the view freezes. Whatever I type ends up as garbage and gets mixed up with the command history so the only option at that point is to restart REBOL. REBOL seems to work only good on Windows at this point. But cross platform is always a hard thing to achieve, I haven't found any solution other than Java & Swing that "just works". Well, maybe Adobe AiR but only on Windows and Mac OS X, on Linux you get into trouble as soon as you use something other than Ubuntu :) | |
Ashley: 26-Oct-2009 | More a problem with VID (the dialect) than REBOL/View per se. I think REBOL lives up to the "write once, run everywhere" moniker better than Java ("write once, test everywhere") ... *as long as* you don't rely on OS-specific calls/fonts/paths, etc. | |
Ashley: 26-Oct-2009 | We will for Windows and OSX ... but the problem for *nix land is the continuing lack of a standard distro to target for. You can't make *any* assumptions about what you're running on. I think the RT approach of, "this is the Linux distro we are targeting, uses others at your own risk" is about the only practical option. | |
BudzinskiC: 26-Oct-2009 | I never had any trouble with Java + Swing working everywhere, but I only recently started using Java for real (about a year ago I think) so maybe it's just gotten a lot better now and was awful in the past ^^ But I guess it also depends a lot on what you are trying to do. Programming shouldn't be generalized. There are so many vastly different categories of programming (database, web, server, games, system, scripting, image/video processing, automation, A.I., embedded, etc.) that your mileage may vary depending on your area of interest. And don't get me wrong, I don't want to bash REBOL in any way. Apart from being completely new to the language which means that I can't really say if it's bad or good yet, I wouldn't be here if I didn't think it was useful and had potential :) Thankfully I already had some basic experience with Scheme, Clojure (a lisp) and Haskell so that REBOL's syntax didn't come as a shock for me :) | |
Pekr: 26-Oct-2009 | We are waiting for R3, but R3 takes kind of long to complete. We learned a lot with VID2 and VID3/View3 should address our problems of the past. We don't try to pretend, that REBOL is ideal solution for you .... | |
BudzinskiC: 26-Oct-2009 | From my experience, no language is ideal for a person, but for a specific task instead. I try to use the best tool for the job when I can (same goes for operating systems, I use Windows, Mac OS X and Linux). At the moment all my projects are C++, Java, Clojure, Ruby, Objective-C, C#, Python and Vala (compiles to C). And sometimes I use even two or three languages in combination. I can't say if that's the best solution but for me it works good so far ^^ | |
Henrik: 26-Oct-2009 | I guess a demonstration of its stretch is rebcode, which I had no idea was possible. It won't be in R3, but the fact that it's even possible to do in a scripting language and was implemented in as short time as it was is a great demonstration of how generic REBOL is. | |
BudzinskiC: 27-Oct-2009 | Gabriele, that Java is open source should help a bit too ^^ But from what I read maybe not as much as it could. Seems like Sun needs to be forced to accept patches and it can take months until they give in. May have been just a few rare cases though, people who are angry about something are often more vocal than people who are satisfied. | |
BudzinskiC: 27-Oct-2009 | Henrik, I read about rebcode. Any idea why it's not going to be in R3? Sounded like a pretty cool feature. Although I would probably never use it, haven't done anything with assembler yet and I don't think I ever will (which usually means that something will happen that will force me to learn it tomorrow). | |
Henrik: 27-Oct-2009 | I've read the explanation multiple times, but BrianH knows it better than me. It has something to do with how functions are implemented in R3, which would make rebcode work slower in R3. Therefore it's better to spend time perfecting extensions, so you can write time critical code in C and use that instead. Rebcode is not for beginners anyway (but it did bring up that oldschool feeling for a while :-)). | |
BudzinskiC: 27-Oct-2009 | It'll be at least a lot easier to write C extension instead of using an assembly like language ^^ I've used inline C and C++ in the past when writing Ruby code. I don't know much about C/C++ because I always try not to use them, but I read that nowadays the gcc compiler has gotten that good that sometimes the code it produces is as fast as hand written assembler would be. | |
Claude: 28-Oct-2009 | perhaps i must do a link with libstdc++6 | |
Maxim: 28-Oct-2009 | look in the debugging group, this was just discussed about a few hours ago! next to last post tells you where to get the libstdc++5 package.... | |
Claude: 28-Oct-2009 | thanks a lot | |
TomBon: 12-Nov-2009 | thx for the info kaj and gabriele. looks like a non journaling FS (ext2) and a noatime mounting will speed things up. will post some experiences after a while using this new stuff. | |
Robert: 28-Nov-2009 | If I use GCC to build the extecutable there is a bunch of libs implicitly included. Doesn't seem to be if LD is used. | |
Kaj: 28-Nov-2009 | Is that on C++ code? It makes a difference whether you use gcc or g++ to compile | |
Henrik: 29-Nov-2009 | Ubuntu 9.10 is quite good. I've only had to visit the terminal a couple of times to get SMB filesharing working since I first booted it 5 minutes ago and only one cryptic error message appeared. | |
Kaj: 29-Nov-2009 | Even if it has more, to have a workable installation you need an extremely lean distro | |
Kaj: 29-Nov-2009 | Here's a very good one: | |
Kaj: 29-Nov-2009 | Here's a Linux with older apps especially for old machines: | |
Kaj: 29-Nov-2009 | At the danger of sounding repetitive, Syllable is one of the few systems you could reasonably try on such a low-memory machine - especially for an Amiga enthusiast | |
Robert: 30-Nov-2009 | i think I will give Ubunto a try. IIRC it's debian based. |
24001 / 64608 | 1 | 2 | 3 | 4 | 5 | ... | 239 | 240 | [241] | 242 | 243 | ... | 643 | 644 | 645 | 646 | 647 |