...and i am starting to understand why.
turns out that doing a tutorial with beginning programmers (first year
computer science students) is really helpful.
these students have no problem to understand the syntax, they where
happily working with the examples and understanding how to apply them to
hi,
we have come up with an interim solution that does not involve sending
money accross the globe at high bank charges just yet.
anyways: here is the current state:
500 euro are in my possession. (the greater part of that is actually
surplus from the past
does this make use of the work by johan björklund
( http://modules.gotpike.org/module_info.html?module_id=33 )
or bill? (don't know where his code is)
how does your work compare to those?
greetings, martin.
hi,
is that a windows problem or accross all systems?
anything that makes pike crash is a serious problem for applications
like sTeam where users are allowed to run pike code.
is there any way to catch crashes like these?
can a pike process prevent the loading of specific cmods
so that such
can you explain what that allows us to do?
__attribute(...) looks like a function call.
what does it do? it returns a type?
do i define this function like any other and make it return types based
on runtime information.?
where would this be useful?
can you give an example?
greetings, martin.
this allows anonymous uploads?
somehow i'd prefer to know (or at least be assured that someone knows)
who uploaded a binary.
(maybe by voluntarily sending in a gpg signature?)
greetings, martin.
On Sun, May 06, 2007 at 01:10:00PM +, Johan Sundstr�m (Achtung Liebe!) @
Pike (-) developers forum wrote:
changes format_http() from using constant English strings to using
Calendar's language bound day and month names. I don't contest that
that format could be useful for some purposes,
On Thu, May 17, 2007 at 11:25:06AM +, Johan Sundstr�m (Achtung Liebe!) @
Pike (-) developers forum wrote:
The idea was that since the Debian packages of Pike broke much Pike
functionality and we (upstream Pike developers) knew and saw so little
of what happened when with the Debian Pike
hi,
is there any reason to not convert all errors that are being thrown
anywhere in pike 7.7 to error objects?
if not, then i'd prefer to stomp on any that i come accross rather than
keep using tests on the error type.
greetings, martin.
hi,
i found that the errors in question are coming from master()-error()
i suspect that changing that function may not be a good idea as it may
be used in user code.
however, i would still like to see error objects being used everywhere.
should another function be created and all pike code be
it appears to work if i move the if(!booted) test from `[]() to create()
in Calendar.pmod/module.pmod.
mirar?
greetings, martin.
i was wrong.
the actual problem is caused by doing indices(Calendar);
and here the move of the boot code into create does not help.
greetings, martin.
it appears to be hilfe related.
in a script i can't reproduce it.
otoh, in a script the output of indices(Calendar) makes no sense.
i only get ({ Austrian }) ???
greetings, martin.
it works if i add
array _indices()
{
return (array)magic;
}
to Calendar.pmod/module.pmod
mirar? could that cause any problems?
greetings, martin.
hmm, it should be possible to rip it out.
essentially what happens is, if you hit tab, the handler function is
called, it looks at the text that is currently stored in the readline
buffer, runs the pike tokenizer over it, and then calls another function
which tries to figure out the right set of
hi,
i am trying to access the source that a program/object/function is
coming from.
the information must be there somewhere, since eg a backtrace produces
it, but i can't figure out how to get to it.
it would be sort of like the reverse of master()-program_path_to_name().
any suggestions?
On Mon, Nov 06, 2006 at 03:22:11PM +0100, Henrik Grubbström wrote:
(string)filter((array)Unicode.normalize(Å i åa ä e ö., DK), `, 256);
(1) Result: A i aa a e o.
i get:
(string)filter((array)Unicode.normalize(Å i åa ä e ö., DK), `, 256);
(3) Result: A i A\245a A\244 e A\266.
getting it to work is not the issue though, but understanding the error
that occured when trying to index a function.
greetings, martin.
).org is.schon.org
Martin Bähr http://www.iaeste.or.at/~mbaehr/
there is a gnu extension in the glibc which works like that:
struct hostent *gethostbyname2(const char *name, int af);
so your suggestion sounds just right.
greetings, martin.
On Sun, Jul 29, 2007 at 11:55:02AM +, Henrik Grubbstr�m (Lysator) @ Pike
(-) developers forum wrote:
What is it that most people have missed about peek()? And more
They think that peek() returning 1 means that there's data available.
are you talking about Stdio.File()-peek(), or peek() on
the first thing (after adopting the packages) is to get updates into
debian unstable.
backports to stable (on backports.org) are not very likely to happen,
because programming languages are generally not backported (as that
could potentially break all the applications using that language)).
yes,
something like
make debianpackage
would be nice, then those of us running pikefarm on debian machines
could add that to the list of pikefarm build tests.
same would go for rpm packages too btw.
greetings, martin.
that would be a question of debian policy and the filesystem hierarchy
standard.
the current split between /usr/lib and /usr/share does fit the policy as
far as i can tell.
greetings, martin.
remind me not to congratulate you on your next birthday then ;-)
%q was implemented for that reason according to the
discussion from january to march 2006 with subject sprintf %O
checking today, i notice that %q does only handle strings.
this is not what i would have expected.
to work as intended %q would need to handle any type, just like %O does.
backspace works fine here.
will need some help with that...
greetings, martin.
almost, i meant that the key that is labeled with the text Backspace on
my keyboard works fine, and i had in my mind that most likely this is a
BS vs DEL issue.
i think we should just disable ^H for help, or do you know of a way to
distinguish ^H from BS on those systems that map BS to ^H?
what's the (global) modifier adding that is not already clear without it?
greetings, martin.
great!
that will put an end to the confusion over static that some people get
when they are new to pike.
i take it that deprecated will work like optional when classes are
compared?
greetings, martin.
hi,
since i recently got the opportunity to start using git for a project,
i tried to import the pike repository into git too.
the initial result can be seen here:
http://www.iaeste.at/~mbaehr/pike.git
this tree is an attempt to reconstruct the history of the main branches
(0.5, 0.6, 0.7/7.0,
i was mostly concerned about the speed of sending messages accross the
pacific, and the resulting time this all would take and also need to
consider new zealands backward state in network connectivity. (compared
to sweden anyways :-)
greetings, martin.
that only makes sense for cvs.
in svn branches are directories anyways, so there is no difference,
and in git copying using different repos would not gain you anything,
and only waste a lot of diskspace.
everyone gets a copy of the whole repo anyways, and since the changesets
in both repos would
On Mon, Oct 15, 2007 at 03:44:56PM +0200, Martin Bähr wrote:
you can clone this repo from http://www.iaeste.at/~mbaehr/pike-svn.git
copy the repo with wget if you want to see all the branches, since they
are remote branches which are not reproduced using clone. (the objects
are copied
On Sun, Nov 18, 2007 at 05:45:02PM +, Martin Nilsson (Opera Mini - AFK!) @
Pike (-) developers forum wrote:
Also there was a discussion about how modifiers should be handled.
Currently the actual getter and setter functions are made private
and the union of them are used as the
On Mon, Nov 19, 2007 at 02:25:02PM +, Johan Sundstr�m (Achtung Liebe!) @
Pike (-) developers forum wrote:
At least this quoted example led me into believing that we are indeed
upgrading the UNDEFINED value to a storable NULL value:
right, that's what i thought too.
greetings, martin.
On Mon, Nov 19, 2007 at 04:50:02PM +, Martin Nilsson (Opera Mini - AFK!) @
Pike (-) developers forum wrote:
Oh, and the setter/getter syntax is `foo=(), not `=foo().
wasn't there a suggestion to change that from `foo=() to `=foo()?
greetings, martin.
or reversing it?
definedp()
is_defined()
maybe even
valuep() or typep()
like is it a string, here asking is it any value or type at all.
greetings, martin.
to mark an unsuable variable a form like
void(string) foo
would be more in line with exiting pike syntax
greetings, martin.
in the world
--
pike programmer working in new zealandcommunity.gotpike.org
unix system- iaeste.(tuwien.ac|or).at open-steam.org
administrator caudium.orgis.schon.org
Martin Bähr http://www.iaeste.or.at/~mbaehr/
-steam.org
administrator caudium.orgis.schon.org
Martin Bähr http://www.iaeste.or.at/~mbaehr/
caudium.orgis.schon.org
Martin Bähr http://www.iaeste.or.at/~mbaehr/
is.schon.org
Martin Bähr http://www.iaeste.or.at/~mbaehr/
in the world
--
pike programmer travellingcommunity.gotpike.org
unix system- iaeste.(tuwien.ac|or).at open-steam.org
administrator caudium.orgis.schon.org
Martin Bähr http://www.iaeste.or.at/~mbaehr/
hi,
code librarian and pikefarm are not picking up any changes from cvs
since this morning. any ideas what could be the issue?
greetings, martin.
could you explain why that is cheating,
how that solves a problem,
and how it affects users of the package?
greetings, martin. (i am not objecting, just being curious)
On Fri, May 09, 2008 at 02:25:03PM +0200, Johan Sundstr�m (Achtung Liebe!) @
Pike (-) developers forum wrote:
Error e = Error.inspect(catch(...)); // returns falsity for catch()=0
in 7.7 there is already an Error.mkerror() function which does pretty
much just that.
it was added after i
for the totally clueless, could you elaborate what the effect of this
is, and why it is bad?
greetings, martin.
at least two people set up an alternative tracker.
but neither picked up any traction (pun intended)
even the current bug tracker is not really used as much as it could be.
i doubt a different tracker will make much of a difference here because
at least reporting bugs should be equally complex in
good question...
array_sscanf(ab^cd, %s%[^]%s);
(1) Result: ({ /* 2 elements */
a,
b^c
})
array_sscanf(ab^cd, %2s%[^]%s);
(2) Result: ({ /* 2 elements */
ab,
})
array_sscanf(ab^cd, %s%[^]%s);
(3)
like this one?
rray_sscanf(ab[\\]cd, %s%[[-]]%s);
(44) Result: ({ /* 2 elements */
ab,
[
})
easely worked around with:
array_sscanf(ab[\\]cd, %s%[][\\]%s);
(46) Result: ({ /* 3 elements */
ab,
[\\],
why is it strange?
you can't have both a variable and a function named time.
when you create a local variable (or any other symbol) it overwrites the
global one.
you can still access the time() function by using predef::time();
greetings, martin.
i discovered that the installed doc directory included a Makefile which
didn't work because the BUILDDIR argument was empty.
not sure if that is a bug, i guess i hould test installedin from a
regular exported source.
greetings, martin.
hi,
just stumbled accross this problem:
this is pikefarm build 2898
Pike v7.7 release 47 running Hilfe v3.5 (Incremental Pike Frontend)
sscanf((abc[0..2]),%s,s);
fish: Job 1, #~pikefarm/bin/pike# terminated by signal SIGSEGV (Address
boundary error)
also the following issues:
Pike v7.7
great!
could you post something on the newssection of the pike website?
i'll be standing by on irc (and maybe install a better kom client for
the occasion :-)
greetings, martin.
On Thu, Jul 03, 2008 at 08:45:02AM +, Mattias Wingstedt (Firefruit) @ Pike
(-) developers forum wrote:
On the other hand, the existence of both a secure and a non-secure
string with the same contents is clear evidence that the security
model has been broken.
that is only true if both
it may help to differentiate the type and extent of changes.
* incompatible changes to the api
* additions to the core api
* other additions
* incompatible bug fixes
* other bug fixes
* security fixes
* crash fixes
* ...
then state which of these are allowed as of now, and what needs to be
local constant
should do what you are looking for.
subclass can overload local members, but the parrent class will not
use the overloaded version.
greetings, martin.
hi,
the following hilfe completion fixes will be commited tonight (just got
a train to catch before i can do it)
[*] fix cases where complete symbols are a prefix for other symbols
[*] object member variables should not complete with symbols
[*] whitespace after a symbol should offer all
and how does one access the value of x that was set in the parent
class?
greetings, martin.
hi,
after being annoyed by this for a while i finally managed to track down
the following issue:
try:
void main()
{
object rl=Stdio.Readline();
rl-write(first);
rl-write(second);
rl-newline();
}
notice how the second clobbers the first?
this is particularely annoying in hilfe where i
hi,
while refactoring some code today, i noticed how helpful the warnings
about unused private variables or functions are.
but it would have been even more helpful to optionally also have
warnings (notices) about any unused items to be ableto find them easier
and then decide if they are really
absolutely!
that would be really exciting.
what does it take to get there?
greetings, martin.
On Sun, Jul 20, 2008 at 10:50:02PM +, Martin Stjernholm, Roxen IS @ Pike
developers forum wrote:
[...] If the unicode sequence å do
happen to occur (as uncommon as it might be) then it should still be
intact on the other side.
Um, yes? It would be encoded as %c3%83%c2%a5, which
On Tue, Jul 22, 2008 at 04:10:03PM +, Henrik Grubbstr�m (Lysator) @ Pike
(-) developers forum wrote:
I considered using Stdio.FILE for monitoring a logfile today, but I
noticed that gets() (and ngets()) destroy their states when they reach
EOF.
you mean a program like tail can't be
On Tue, Jul 22, 2008 at 04:20:02PM +, Peter Bortas @ Pike developers forum
wrote:
Yes. I want a release this year.
i second that.
even more, i want a release before the next pike conference (so that the
conference can focus on future development and does not get distracted
by trying to get
hi,
i'd like to commit the patch in 16650521
please select any that apply:
( ) it's a feature, not a bug (don't commit anything)
( ) wait for 7.9
( ) commit to 7.8 (after release)
( ) commit to 7.7
[ ] add a compatibility workaround for older versions.
[ ] commit 16650522 instead
[ ] your
why do you need that for tail-f?
just write the partial line to the terminal and then continue with the
rest. the actual probelm is that getsdoes not tell you if the line was
partial and it removes the linebreak, so instead using a method to read
the stream that doesn't remove linebreaks should
On Thu, Jul 24, 2008 at 11:50:02PM +, Peter Bortas @ Pike developers forum
wrote:
Splitting is a way of trying to get it stable. Other methods I know of
to contain everyone around here is to make the directory read only and
tunnel all patches through one person that says no a lot. It has
On Fri, Jul 25, 2008 at 12:45:02PM +, Mirar @ Pike developers forum wrote:
post_modules was created when you *didn't* need a Pike to create a
Pike from the CVS source. :)
but the pike needed to export pike from cvs and the pike needed to build
a module are not necesarily the same. the need
On Sat, Jul 26, 2008 at 04:50:03PM +, Hedda (Lite ���) @ Pike (-)
developers forum wrote:
It seems like it's the mailing server that was having problems due to
high load/misconfiguration. I hope I fixed the problem now, but I'm
not 100% sure. Hopefully the old emails will be dropping in
in git a branch is only the reference to its head. when you refer to an
older commit, then git does not care which branch that comes from, all
it will do is check if the commit you are trying to merge is already
part of the branch. as such merging from an older version of the branch
is a noop
On Sat, Jul 26, 2008 at 10:50:08PM +, Marcus Comstedt (ACROSS) (Hail
Ilpalazzo!) @ Pike (-) developers forum wrote:
Will you at least be able to see what guess git made before you
commit?
yes, it will tell you that it thinks you are copying a file,
however that information is not actually
On Sun, Jul 27, 2008 at 12:04:42AM +0200, Stephen R. van den Berg wrote:
Now, at any point in time in the future, if you deleted the files and
possibly their directories (some commits ago), you simply tell git to merge
those files back in from the old f2542cf commit.
which command would you
On Mon, Jul 28, 2008 at 01:40:03PM +, Marcus Comstedt (ACROSS) (Hail
Ilpalazzo!) @ Pike (-) developers forum wrote:
chiyo:/tmp/pike% git log --full-diff -M -C --until=1999-02-01
src/modules/_math commit abca4daf0d9e7fd4965f63e5dc45c3173cc74230
Merge: ab24694... c35e2fe...
Ok, but what
is.schon.org
Martin Bähr http://www.iaeste.or.at/~mbaehr/
On Mon, Jul 28, 2008 at 03:00:03PM +, Marcus Comstedt (ACROSS) (Hail
Ilpalazzo!) @ Pike (-) developers forum wrote:
For example the fact that split points are not associated
with a CVS commit, so you have to fake one (something that the current
git import apparently doesn't).
because git
On Mon, Jul 28, 2008 at 03:20:04PM +, Marcus Comstedt (ACROSS) (Hail
Ilpalazzo!) @ Pike (-) developers forum wrote:
Well, that makes sense I guess. Btw, what is the difference (implied
by the convention) between master and HEAD?
master is just a default branch name and completely
for those the history would not be unrelated but most likely very
similar
greetings, martin.
On Mon, Jul 28, 2008 at 11:15:02PM +, Martin Stjernholm, Roxen IS @ Pike
developers forum wrote:
g. Anyone having local branches which are based off of commits in the
old git repository will have to rebase those
How do you go about that? Manually rebasing every branch
yes.
Even
On Tue, Jul 29, 2008 at 02:58:01PM +0200, Stephen R. van den Berg wrote:
- The percentage of people picking svn nowadays is roughly constant (after a
sharp drop as git came along).
that drop is actually in all packages, so i think it is just a case of
changing the counting
In any case, if
i think yes, and i think also ubuntu added it probably in april last
year (which would explain the sudden drop around that time)
greetings, martin.
On Tue, Jul 29, 2008 at 05:15:02PM +, Martin Stjernholm, Roxen IS @ Pike
developers forum wrote:
But it is as you say: It is maturing very fast, hence it's not mature
yet. I found several new and semi-essential features just by moving
from the latest Ubuntu package to the latest upstream
i can reproduce both problems on debians pike 7.6.93, (only except for p
i get _ or something that looks like | (but appears to actually be an
something else because i can't copy it))
i don't get it on foresight with 7.6.66 or 7.6.123
greetings, martin.
doesn't feel right to me.
it sounds like something for temporary storage before i send it on the
way. yes, in most cases what i send should be 8bit wide, but not
necessarily always.
bytes has astrange feeling because of the plural. it would be like
naming a string chars, or array(int) as ints.
On Mon, Aug 11, 2008 at 04:00:02PM +, Martin Stjernholm, Roxen IS @ Pike
developers forum wrote:
I thought there can't be a whole lot of alternatives to do it
traditionally with a cp -a in cvs, so that the xenofarm stuff and
everything else on pelix keep chugging along.
i agree. forcing
On Mon, Aug 11, 2008 at 04:10:02PM +, Marcus Comstedt (ACROSS) (Hail
Ilpalazzo!) @ Pike (-) developers forum wrote:
I was hoping for a timeframe for a split this week, actually.
So? Making a svn conversion takes less than 24 hours.
and verifying that it is solid takes how long?
(same
On Mon, Aug 11, 2008 at 08:35:03PM +, Johan Sundstr�m (Achtung Liebe!) @
Pike (-) developers forum wrote:
web visualization of commits (and checkin graph eye-candy on the pike
site root page) will have a period of down time until someone puts in
some love to that end.
work on that end is
i'd suggest to make a backup copy of the repo at switchpoint anyways,
just in case something goes haywire. (which i doubt)
greetings, martin.
if i understand correctly, init needs to be public so that create_a()
can call it, but it is not required to be part of A api otherwise.
wouldn't in that case making it optional help?
greetings, martin.
well, they have not been tested in paralell in the past (unless you
count the stable branches)
is there a configure switch? then then just set up your pikefarm client
to try both.
greetings, martin.
On Sat, Aug 16, 2008 at 12:36:30PM +0200, Stephen R. van den Berg wrote:
- In order to start granting access to pikex, I need public keys of
developers.
is it enough to point to the public keys already stored on pelix?
you mean ssh keys right?
if yes, please count me in.
greetings, martin.
they are public keys. ssh does not complain if those are world readable.
i didn't actually change any permissions, my authorized_keys file has
been world readable since account creation
greetings, martin.
On Mon, Aug 18, 2008 at 01:56:52AM +0200, Stephen R. van den Berg wrote:
The difficult we do today; the impossible takes a little longer.
is that all you have to offer?
over here the impossible is done right away and only miracles take a bit longer
greetings, martin.
you are not looking for automatic casts, but for the possibility to create a
class that is compatible with basic types:
class Int(int realint)
{
inherit int;
}
this is not yet possible, but it has been on my wish list for along time.
it should be possible to inherit basic types or at least
On Mon, Aug 18, 2008 at 07:22:45PM +0200, Arne Goedeke wrote:
decision must be an explicit one in the code.
I am not sure about that. The discussion is about fun(Int()) vs.
fun((int)Int()).
but how does pike know i want it casted at that point?
pike can't tell Int() from Something() unless a
On Fri, Aug 22, 2008 at 01:05:32PM +0200, Stephen R. van den Berg wrote:
Well, in light of learning that mappings cannot contain UNDEFINEDs, I
propose to introduce the following SqlNULL() type which should be returned
by any mappingvalues from Sql.Sql()-query() which are actually an SQL
NULL
just stumbled over this description of the Buf type in perl 6. may be of
interest to someone
http://perlcabal.org/syn/S02.html#Built-In_Data_Types
A Buf is a stringish view of an array of integers, and has no Unicode or
character
properties without explicit conversion to some kind
could you please post the commit ids?
greetings, martin.
actually, there is a concept that could help, in addition to the normall
commit hash there is als an object hash that is only made out of the
diff and maybe the comment (not sure), now all that is needed is tools
to find multiple occurances of these and connect them.
that search could be
1 - 100 of 202 matches
Mail list logo