It is Friday!

Posts   
1  /  2  /  3  /  4  /  5  /  6  /  7  /  8  /  9  /  10  /  11  /  12  /  13  /  14
 
    
Otis avatar
Otis
LLBLGen Pro Team
Posts: 39613
Joined: 17-Aug-2003
# Posted on: 23-Jul-2004 12:27:58   

hehe smile .

I hope I have some good news for Jeff too this afternoon: aggregated typed lists with group by and join with self (multiple times join of table) in a few lines of code simple_smile Group by is already working, the aggregated functions are left for this functionality.

Frans Bouma | Lead developer LLBLGen Pro
wayne avatar
wayne
User
Posts: 611
Joined: 07-Apr-2004
# Posted on: 23-Jul-2004 14:05:41   

Otis, have you ever tried to create your own type? like integer or string?

I am trying to create a type called ValidFileName. It must be a type that i don't need to initialize. It must do validation on the contents and further on behave like a string. Example:

public string DoIt (ValidFileName FileName)
{

}

I want to use it like this:

DoIt("c:\test.txt");

Any ideas? It seems like i should create a structure and not derive from ValueType, but a structure needs to implement an interface...what interface do i use as i wanted to use type string as my base.confused

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39613
Joined: 17-Aug-2003
# Posted on: 23-Jul-2004 14:39:30   

You can't do that. You can only define a class with a static method.

You could also define a new operator. simple_smile I think that's what you want to do.

Frans Bouma | Lead developer LLBLGen Pro
wayne avatar
wayne
User
Posts: 611
Joined: 07-Apr-2004
# Posted on: 23-Jul-2004 15:01:02   

You sure? It is the basis of most modern languages..

Here is how Int32 is done:

MSDN link

But i need a string example

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39613
Joined: 17-Aug-2003
# Posted on: 23-Jul-2004 15:12:48   

You can't create a type similar to int32, as int32 is a native value type. all other types have to follow the general rules all types have to follow: struct or class and behave like that simple_smile

Frans Bouma | Lead developer LLBLGen Pro
wayne avatar
wayne
User
Posts: 611
Joined: 07-Apr-2004
# Posted on: 23-Jul-2004 15:43:01   

Thankssimple_smile , i can't believe it!!!disappointed it is VERY limiting - especially for a new language... I can't derive from integer or string!!! - That SUCKS!! rage

So the only other way is to create a class - with a static method or a class that needs to be constructed first.cry

jeffreygg
User
Posts: 805
Joined: 26-Oct-2003
# Posted on: 23-Jul-2004 21:36:41   

Well, hello there Wayne. I thought you'd be gone by now...(ooops, did I say that out loud?) simple_smile <sigh> I'll miss these regular Friday beatings I take...how will I ever know it's Friday again? As for the new aggregate, grouping, multi-join goodness Frans is throwing in there...I think he definitely deserves a Scooby Snack for that one. Imagine, completely dynamically generated typed (and I do mean "typed") lists on the fly! No regeneration of code! No source control madness! It's a programmer's wet dream!

HEY YOU! Get off your asses, it's only 12:30. The day's only half over. There's work to be done. Put the beer down and GET TO WORK!

simple_smile

<that felt good>

Jeff...

Fishy avatar
Fishy
User
Posts: 392
Joined: 15-Apr-2004
# Posted on: 23-Jul-2004 23:12:23   

Otis wrote:

hehe smile .

I hope I have some good news for Jeff too this afternoon: aggregated typed lists with group by and join with self (multiple times join of table) in a few lines of code simple_smile Group by is already working, the aggregated functions are left for this functionality.

confused Are you saying that "(multiple times join of table)" which would be, for example, two Phone Identity fields in one table that point to different records in a different table. That this is just for TypedLists? I thought the Entity would be able to handle this situation as well.

Also, how's the span feature going?

Thanks! smile

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39613
Joined: 17-Aug-2003
# Posted on: 24-Jul-2004 12:24:31   

Fishy wrote:

Otis wrote:

hehe smile .

I hope I have some good news for Jeff too this afternoon: aggregated typed lists with group by and join with self (multiple times join of table) in a few lines of code simple_smile Group by is already working, the aggregated functions are left for this functionality.

confused Are you saying that "(multiple times join of table)" which would be, for example, two Phone Identity fields in one table that point to different records in a different table. That this is just for TypedLists? I thought the Entity would be able to handle this situation as well.

It's also for entities, you can create filters with joining multiple times the same table (for example 2 times an address entity).

Also, how's the span feature going?

That's still on the drawing board. Spans and paging are the last things I'll do in this upgrade cycle as these are to be applied to an already generated query.

Frans Bouma | Lead developer LLBLGen Pro
wayne avatar
wayne
User
Posts: 611
Joined: 07-Apr-2004
# Posted on: 24-Jul-2004 19:36:47   

Well, hello there Wayne. I thought you'd be gone by now...(ooops, did I say that out loud?) Regular Smiley <sigh> I'll miss these regular Friday beatings I take

No net yet Jeff, only next friday wink

...how will I ever know it's Friday again?

It's usually the 5th working day.stuck_out_tongue_winking_eye Don't worry i will come around every now and again to remind youwink

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39613
Joined: 17-Aug-2003
# Posted on: 13-Aug-2004 09:23:56   

And it's friday again!

Today Doom 3 will arrive in Holland. Can't wait! simple_smile

I saw on the news that a big storm is torturing florida at the moment. To all our customers there who had/have to evacuate: I hope you are safe.

Frans Bouma | Lead developer LLBLGen Pro
wayne avatar
wayne
User
Posts: 611
Joined: 07-Apr-2004
# Posted on: 13-Aug-2004 14:04:11   

And it's friday again!

hmm, you beat me - I wanted to remind jeff about friday - shame he has propably been working nonstop for 3 weeks...seeing that i havn't been here to remind him about fridays!stuck_out_tongue_winking_eye

Today Doom 3 will arrive in Holland. Can't wait!

Propably should not say this but i got a hacked copy of Doom 3 yesterday.frowning

sirshannon
User
Posts: 48
Joined: 26-Jun-2004
# Posted on: 13-Aug-2004 14:37:22   

Otis wrote:

Today Doom 3 will arrive in Holland. Can't wait! simple_smile

First off, _ did you wait_ for Doom 3? It's too tired for me to bring it up again, but I had to kick it a little. wink

I must tell you, people get the wrong idea about about you from your posts on their blogs. (Maybe I notice this because I have the same problem?) Like that sill debate w/Mr. Gonzales. You are defending yourself too hard and he is/was attacking too hard. If everyone would r-e-l-a-x .... o-o-oo-m-m-m-m-m.... and not have to be so agressive/defensive, we would probably all gain more from the discussion.

I understand that you are being "attacked" as if CodeSmith is a weapon against you and you MUST defend yourself, your tools, and your mindset, but it is all so silly... The guys arguing at you don't really understand the subject well enough to come at you correctly so you have to spend so much time correcting them that it's hard to get to the real point:

It takes a whole box of tools to build a house.

Sure, you can do it by hand, with only a hammer, but you probably had to live in the rain for a year and life was rough for no reason. When the CodeSmith template that worked with LLBLGen to make things even easier and faster for us, you never said anything approaching negative. You were as happy about it as anyone. But, unlike the rest of us, you could have ignored it and made it go away if you were "anti" CodeSmith. But you're not.

You're cursed like me, I think: too stuck on facts to let popular opinion get in your way. Don't you know that you're supposed to hate X if you like Y!?!? How dare you!?!?

Twice this week I've almost jumped in to defend you: once to say explain that you are SURELY not in favor of pirating software, once to explain that you 're not anit-CodeGen and certainly not anti-CodeSmith.

It really does bother me a little, though, because you are forced to spend so much time defending yourself that you never really get a chance to say your honest opinion. The funny thing is, I am just about an LLBLGen Zealot at this point, I just can't bring myself to be as obnoxious as the anti-O/R Mapping guys are. I refuse to get religious about technology. If I can't show you the numbers to prove my side of a math-based argument, I'm not going to bother. I'll just listen and learn.

Maybe you should mention that you posted CodeSmith Templates on your customer-only site. I think some people think that you don't get CodeSmith. The funny thing is, you probably get it more than they do.

Otis wrote:

I saw on the news that a big storm is torturing florida at the moment. To all our customers there who had/have to evacuate: I hope you are safe.

No, it's terrible! There are millions of Floridians headed this way even as I type this!!!!

[For those of you that don't live in the US, or those of you in the US that don't live near Florida, I guess you won't understand... Let's just say that there are probably more nicknames for Floridians than any other section of our country. And http://www.fark.com has many topics but only one is based on a state...]

anyway

T G I F!!!!

[My brain is freakin numb with the work and reqork I've been doing this week. I honestly don't want to imagine what it would be like if I had to do the corrections by hand that LLBLGen has done for me today.]

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39613
Joined: 17-Aug-2003
# Posted on: 13-Aug-2004 21:08:08   

wayne wrote:

And it's friday again!

hmm, you beat me - I wanted to remind jeff about friday - shame he has propably been working nonstop for 3 weeks...seeing that i havn't been here to remind him about fridays!stuck_out_tongue_winking_eye

simple_smile . He probably is indeed...

Today Doom 3 will arrive in Holland. Can't wait!

Propably should not say this but i got a hacked copy of Doom 3 yesterday.frowning

heh, well, I'm a nice guy and buy games most of the time wink . However my dvd/cd drive apparently doesn't like the CD protection scheme, because it fails, crashing the app. rage , so I did have to apply the no-cd crack...

Frans Bouma | Lead developer LLBLGen Pro
Otis avatar
Otis
LLBLGen Pro Team
Posts: 39613
Joined: 17-Aug-2003
# Posted on: 13-Aug-2004 21:35:10   

sirshannon wrote:

Otis wrote:

Today Doom 3 will arrive in Holland. Can't wait! simple_smile

First off, _ did you wait_ for Doom 3? It's too tired for me to bring it up again, but I had to kick it a little. wink

heh simple_smile yeah, I did. simple_smile I had 100MB downloaded and thought... no, just wait till 13th (Friday the 13th hehe). Often bought games seem to be better than downloaded games, at least I have that feeling.

I must tell you, people get the wrong idea about about you from your posts on their blogs. (Maybe I notice this because I have the same problem?) Like that sill debate w/Mr. Gonzales. You are defending yourself too hard and he is/was attacking too hard. If everyone would r-e-l-a-x .... o-o-oo-m-m-m-m-m.... and not have to be so agressive/defensive, we would probably all gain more from the discussion.

It was a thing I couldn't win. What was really bad was that he accused me from the start with things I didn't do. He apparently had a problem with me and I didn't even know the guy. It went on and on, I tried to stay polite so the only jerk in the discussion would be him, he appologized once but that didn't help a lot. I'm now on his 'global ignore list' according to his blog, well, he has to do what he has to do simple_smile . My time is too precious to debate with people who deliberately want to accuse me of something and tell the world I'm an arrogant bastard.

I understand that you are being "attacked" as if CodeSmith is a weapon against you and you MUST defend yourself, your tools, and your mindset, but it is all so silly... The guys arguing at you don't really understand the subject well enough to come at you correctly so you have to spend so much time correcting them that it's hard to get to the real point:

It takes a whole box of tools to build a house.

The problem with the www.asp.net forums is indeed that there are too many people with too much time on their hands and too less knowledge of the field they're talking about. That could be ok, but they just go on and on, repeat what they think etc. etc. After 14 years of usenet postings I've learned that when you've said what you had to say, stop. There is no use repeating what you already said. Thomas is / was right in that thread: often the people are stupid and don't understand what they're talking about. I learned it's not that wise to speak that out in the open, but boy do my fingers hurt sometimes simple_smile

Sure, you can do it by hand, with only a hammer, but you probably had to live in the rain for a year and life was rough for no reason. When the CodeSmith template that worked with LLBLGen to make things even easier and faster for us, you never said anything approaching negative. You were as happy about it as anyone. But, unlike the rest of us, you could have ignored it and made it go away if you were "anti" CodeSmith. But you're not.

I don't see codesmith as a competitor nor as a tool that should be attacked or something. It's a tool which can be handy. If some people make great things with it, like Bert and others are doing now, I only find that great simple_smile . Of course, it would be better if there was some kind of task performer which could read <% %> templates but for the time being till I've written that class, codesmith will do simple_smile

You're cursed like me, I think: too stuck on facts to let popular opinion get in your way. Don't you know that you're supposed to hate X if you like Y!?!? How dare you!?!?

haha simple_smile Indeed.

Twice this week I've almost jumped in to defend you: once to say explain that you are SURELY not in favor of pirating software, once to explain that you 're not anit-CodeGen and certainly not anti-CodeSmith.

Am I in favor of pirating software? Who said that? I missed that one. I'm not anti-code generators, on the contrary haha simple_smile . I do however think that code generators like other tools are more and more seen as 'solutions' while they're tools to realize those solutions.

It really does bother me a little, though, because you are forced to spend so much time defending yourself that you never really get a chance to say your honest opinion. The funny thing is, I am just about an LLBLGen Zealot at this point, I just can't bring myself to be as obnoxious as the anti-O/R Mapping guys are. I refuse to get religious about technology. If I can't show you the numbers to prove my side of a math-based argument, I'm not going to bother. I'll just listen and learn.

Well saying my honest opinion is not possible anymore. As someone said in the www.asp.net thread (to thomas) : you are the corporate image. I have to hold myself back often in discussions when someone thinks he has to tell me that I'm an asshole, are arrogant or whatever. What helps is to reply with a piece of text where you make the accuser the real jerk and not yourself, as accusing someone of something is 'not done' in a discussion. But sometimes that's not good enough. Well, the last couple of years I then think: "and how many people are paying attention to YOUR opinion?". I mean: if some college kid with a keyboard is calling you names on a forum, is that really important? Of course not, who cares about that opinion.

Maybe you should mention that you posted CodeSmith Templates on your customer-only site. I think some people think that you don't get CodeSmith. The funny thing is, you probably get it more than they do.

I did mention that in the thread, but it shows how good they read and are willing to have a good debate... they totally ignored it. Which means, the thread is not worth participating in anymore. Ah well... simple_smile

Frans Bouma | Lead developer LLBLGen Pro
wayne avatar
wayne
User
Posts: 611
Joined: 07-Apr-2004
# Posted on: 16-Aug-2004 17:23:47   

On what forum did this discussion take place exactly? confused

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39613
Joined: 17-Aug-2003
# Posted on: 16-Aug-2004 18:25:04   

wayne wrote:

On what forum did this discussion take place exactly? confused

www.asp.net forums. simple_smile This fine discussion: http://www.asp.net/Forums/ShowPost.aspx?tabindex=1&PostID=651804

Frans Bouma | Lead developer LLBLGen Pro
wayne avatar
wayne
User
Posts: 611
Joined: 07-Apr-2004
# Posted on: 17-Aug-2004 13:38:19   

Ever seen this before? http://www.mslinux.org/

funny.simple_smile

swallace
User
Posts: 648
Joined: 18-Aug-2003
# Posted on: 18-Aug-2004 00:16:32   

Wow, that thread on ASP.NET is vicious.

Once again, Thomas shows his worth. What a shame. I wonder how many employees he has. What a wonderful place to work that must be. wink

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39613
Joined: 17-Aug-2003
# Posted on: 18-Aug-2004 09:47:20   

swallace wrote:

Wow, that thread on ASP.NET is vicious.

Once again, Thomas shows his worth. What a shame. I wonder how many employees he has. What a wonderful place to work that must be. wink

hahah simple_smile 1 employee I think. He's not that bad in real life though.

Frans Bouma | Lead developer LLBLGen Pro
wayne avatar
wayne
User
Posts: 611
Joined: 07-Apr-2004
# Posted on: 20-Aug-2004 12:55:14   

Its Friday! The weekend is almost here...only 4 more hours. simple_smile

I had a very nice week - I had to go back into old Delphi code to add a new feature to a old ISAPI dll. - WOW - I could not believe that i actualy remembered all the shortcuts and syntax. It was nice to revisit old Delphi 5 (The good old days) simple_smile but it also made me realise how far technology has gone in 3 years from the old ISAPI days to .Net.

netclectic avatar
netclectic
User
Posts: 255
Joined: 28-Jan-2004
# Posted on: 20-Aug-2004 14:54:52   

wayne wrote:

I had to go back into old Delphi code to add a new feature to a old ISAPI dll. - WOW - I could not believe that i actualy remembered all the shortcuts and syntax. It was nice to revisit old Delphi 5 (The good old days) simple_smile

I notice when going back to Delphi that i never have a problem remembering the delphi shortcuts and syntax but when i return ro .net i'm all confused and end up trying to use delphi shortcuts in the the vs ide. confused

wayne avatar
wayne
User
Posts: 611
Joined: 07-Apr-2004
# Posted on: 03-Sep-2004 10:22:17   

simple_smile Happy days people!!! simple_smile

It is friday and almost weekend. simple_smile

jeffreygg
User
Posts: 805
Joined: 26-Oct-2003
# Posted on: 03-Sep-2004 10:50:14   

Yes, it is Friday. It's 2:00 a.m. here, so, yes, I believe that counts as Friday.

frowning disappointed

Jeff...

netclectic avatar
netclectic
User
Posts: 255
Joined: 28-Jan-2004
# Posted on: 03-Sep-2004 10:52:34   

Yep, it's Friday and i'm going to see The Mooney Suzuki tonight simple_smile

And tomorrow is my cousin's 21st birthday party with lots & lots of nubile young lovelies smile

1  /  2  /  3  /  4  /  5  /  6  /  7  /  8  /  9  /  10  /  11  /  12  /  13  /  14