Contracts Part V : The Delphi way



  • I've been working as a developer for a system that is built in delphi and I have a coding window that looks like the shit version of an IDE.

    The system is named after a famous capital city in France.

    I don't know delphi and I don't know the system ... I have having a super shit sprint performance because I am the only person no bullshitting the actual council. They don't seem to mind my lack of progress, even though I feel criminal for charging this amount of money, I am going to quote next week because honestly ... I can't keep on cheating people.



  • Bonus the delphi programmer from Spain is doing JavaScript while I am doing delphi.


  • Impossible Mission - B

    @lucas1 Delphi's actually pretty straightforward. It's based on Pascal, which is probably one of the most readable languages ever.

    What are you having problems with?



  • @masonwheeler The fact that I am basically doing an eval of code in a text box. I have no debugger, I just have a text box. When I have an error it is just "You have tried doing this .. fuck you".

    Another 10 weeks left ...


  • Impossible Mission - B

    @lucas1 said in Contracts Part V : The Delphi way:

    I have no debugger, I just have a text box.

    What Delphi version is it compiled in, and why do you not have a debugger?



  • @lucas1 said in Contracts Part V : The Delphi way:

    I've been working as a developer for a system that is built in delphi

    You end up in the strangest places.

    As for Delphi, I remember having a pretty bitching debugger back in the early 2000-s. Delphi was famous for having a great RAD environment.

    Sounds like your employer handicapped you with that "Berlin" software, or whatever it's called.



  • @masonwheeler Dunno. It is in the app and evaled on run.


  • Impossible Mission - B

    @lucas1 Wait. What is the app itself built in?



  • @cartman82 Probably, I might have to deal with my neighbours now. If the woman keeps on screaming I will have to sort the out.



  • @masonwheeler Delphi, but a restricted bullshit version


  • Impossible Mission - B

    @lucas1 Which version is that?

    Actually knowing relevant stuff makes it a lot easier to help out.



  • @masonwheeler I don't, it is in an application where evertyhing is EVALed

    Basically you write code and it goes the database and gets loaded. TBH I am off tomorrow.


  • Impossible Mission - B

    @lucas1 said in Contracts Part V : The Delphi way:

    @masonwheeler I don't, it is in an application where evertyhing is EVALed

    Basically you write code and it goes the database and gets loaded. TBH I am off tomorrow.

    None of what you're saying makes any sense. Delphi is not a dynamic language, and it doesn't have the compiler available as a service. There is no Eval in Delphi. So something else is going on.



  • Well you aren't using what I am using and quite frankly you are being a nob.

    In every language there is a way to abuse it.



  • @lucas1 the horror.



  • @Jarry have you tried doing a fucking for loop with a variable length list, remember I am doing this not in an IDE, I am doing this in a text box in a win32 application that no body gives a shit about.



  • @lucas1 said in Contracts Part V : The Delphi way:

    @Jarry have you tried doing a fucking for loop with a variable length list, remember I am doing this not in an IDE, I am doing this in a text box in a win32 application that no body gives a shit about.

    Screenshots or it didn't happen.



  • @cartman82 Err no fucker, some of us actually have NDAs



  • @lucas1
    Just to try to understand this, yo have a textarea in a winform, that sends the conde to a db to be compiled in some sort of codetulu compiler ?

    Maaaaaan. Run, run until you see them >>.<< this small



  • @Jarry Don't care .. shit version of vb.





  • @Jarry FFS .. Disney?



  • @lucas1 said in Contracts Part V : The Delphi way:

    @cartman82 Err no fucker, some of us actually have NDAs

    NDAs, shmNDAs.

    Don't be such a pussy.



  • I will end up fined big style. If you don't care you can fuck RIGHT off.

    As per usual you fuckers didn't get what the post was about.



  • @lucas1 said in Contracts Part V : The Delphi way:

    I will end up fined big style. If you don't care you can fuck off.

    Just do it, dude! Take a puff. The parents will never know.



  • @cartman82 Easy for you dude. You dont't have fuck all in the game.

    I beem doing this stuff for years.



  • @lucas1 said in Contracts Part V : The Delphi way:

    @cartman82 Easy for you dude. You dont't have fuck all in the game.

    None of the kids will think you're cool any longer.



  • @cartman82 Whatever mate.


  • Impossible Mission Players - A

    @Jarry said in Contracts Part V : The Delphi way:

    Just to try to understand this, yo have a textarea in a winform, that sends the conde to a db to be compiled in some sort of codetulu compiler ?

    It sounds like a poor-man's SQL data connection utility...


  • Impossible Mission Players - A

    @lucas1 said in Contracts Part V : The Delphi way:

    As per usual you fuckers didn't get what the post was about.

    It was about

    @lucas1 said in Contracts Part V : The Delphi way:

    I've been working as a developer for a system that is built in delphi and I have a coding window that looks like the shit version of an IDE.

    The system is named after a famous capital city in France.

    I don't know delphi and I don't know the system ... I have having a super shit sprint performance because I am the only person no bullshitting the actual council. They don't seem to mind my lack of progress, even though I feel criminal for charging this amount of money, I am going to quote next week because honestly ... I can't keep on cheating people.

    The only thing I get from this is that apparently you think you're using something built in Delphi, and somehow equate that to programming in Delphi (note, it's not the same). But, since you don't know the system I have my doubts about all of that.

    A quick google brings me this screenshot:

    0_1472162333390_upload-00506e0f-e907-4800-a76e-761f5848c917

    Is this what you're using? Because I can't describe any of this crap as "a coding window that looks like the shit version of an IDE."

    In fact, I think the Delphi part is completely red herring to your point, that you are "having a super shit sprint performance because I am the only person no<ind>t bullshitting the actual council."

    All the fluff before that is just that: fluff. And I'm pretty sure you put it there just so people would get sidetracked on tangents when the real point is that you feel upset at a failure to progress in a language you're unfamiliar with.



  • @lucas1 Hey Are you the guy that got drunk ( on wine ) and said a bunch of nasty stuff to people and then apologised once you got sober ?

    Have you been drinking again ? wtf is this post about ?


  • mod

    @stillwater Yeah that's him, it was about CSS IDs if I remember right. You may want to take a peek at the Brexit aftermath thread.



  • @Yamikuronue Hahahaha I knew it. That thread is a goldmine. I personally find drunk people being angry on the interwebz amusing to watch.


  • Winner of the 2016 Presidential Election

    @stillwater have a look at any thread he's started. The one about getting fired for being a dick is a good one



  • @Jaloopa Wow there are a lot of Goldmines. Would it be more fun if I get myself drunk as well and read these ?



  • @stillwater said in Contracts Part V : The Delphi way:

    I personally find drunk people being angry on the interwebz amusingembarassing to watch.

    FTFM



  • @HardwareGeek said in Contracts Part V : The Delphi way:

    @stillwater said in Contracts Part V : The Delphi way:

    I personally find drunk people being angry on the interwebz amusingembarassing to watch.

    FTFM

    The older I get, the truer that fix becomes. Damn... onions/lawn/yadayada...



  • @Yamikuronue said in Contracts Part V : The Delphi way:

    @stillwater Yeah that's him, it was about CSS IDs if I remember right. You may want to take a peek at the Brexit aftermath thread.

    @stillwater said in Contracts Part V : The Delphi way:

    @Yamikuronue Hahahaha I knew it. That thread is a goldmine. I personally find drunk people being angry on the interwebz amusing to watch.

    @Jaloopa said in Contracts Part V : The Delphi way:

    @stillwater have a look at any thread he's started. The one about getting fired for being a dick is a good one

    STOP YELLING AT BRITISH BLAKEYRAT, YOU'LL CHASE HIM AWAY TOO



  • @masonwheeler Let me describe the system.

    There is an application that a Government body in the UK uses. It is written in Delphi. It is basically a form builder, it has an Inner Platform as part of it, is that you can do custom code in the application via the an in application editor that is like a really shit text editor with some custom IDE stuff built in.

    So most languages including anything strongly typed can be evaled, I can say eval C# in a roundabout way by using things such as reflection and looking for a particular set of methods ... you can do this in almost any language.

    So the system lets you write delphi in a shit editor, while in a delphi app does some sort of Eval and runs that script when it loads a form (a delphi form) when it loads.



  • @Yamikuronue They are wrong, there are good reasons why you don't use IDs for styling if you are using OOP CSS techniques, if you are doing writing non-component based for a simple web page then no you probably shouldn't care.



  • @cartman82 NDA is actual serious business. Also I am dealing with sensitive data. No I won't take a screenshot because I would be in the shit. Describing generally the system I am not violating that.

    I have clients where I have an



  • OK, there definitely seems to be a lot of confusion about what you are working with, and about how relevant the issue is to your post in general. Let's approach the latter part first, as it bears on the former.

    Is the main issue with the project itself, with the tools in use, with the management, with your cow-orkers, some combination of these, or something else entirely?

    My impression is that while the (for lack of a better term) 'development tools' you are using is frustrating, what is bothering you more is that you are being compelled (by either managers or through peer pressure from the other devs) to act in a way you consider dishonest by giving a bad or misleading estimate at a point where you don't think it is possible to give a good one. It's very close to the last debacle you just dealt with, and you seem to be torn between not losing another contract (and possibly jeopardizing your future career prospects) and being honest and risking getting cashiered again.

    As for the language and dev tool:

    • Delphi is an IDE for Object Pascal (a language created by Borland but which later got semi-standardized), which in turn is an OOP extension of the Turbo Pascal dialect of Pascal. While it's not uncommon to talk of Delphi as the language, strictly speaking it's not; regardless of that, the main point is that if it is actually Delphi, the code you're working with would be basically Pascal. Do you know enough Pascal to tell if it is actually Pascal or not? For example, does it look anything like this:
    program ObjectPascalExample;
    
    type
      THelloWorld = class
        procedure Put;
      end;
    
    procedure THelloWorld.Put;
    begin
      Writeln('Hello, World!');
    end;
    
    var
      HelloWorld: THelloWorld;               { this is an implicit pointer }
    
    begin
      HelloWorld := THelloWorld.Create;      { constructor returns a pointer to an object of type THelloWorld }
      HelloWorld.Put;
      HelloWorld.Free;                       { this line deallocates the THelloWorld object pointed to by HelloWorld }
    end.
    
    • You mentioned evaluating the code; however, as was already mentioned, Pascal is almost invariably compiled, and does not normally have either an interpreter or a shell function form calling out to the compiler. Given that this implies that either a) the tool you are using has hacked a facility for this onto it, or b) the language you are using is not Object Pascal and the fact that it was written in Delphi is being conflated with it being for working in Object Pascal by whoever explained it to you. So: how does the evaluation work? Is it something you call in code, a menu item, an icon, or whatever, and is it done from the textbox you described, or is it a separate tool?

    • What does the editing textbox let you do beyond entering, modifying, and deleting the text of the code? Is there a menu, and if so, does it let you save, compile, run, or do anything else to the code, and what does doing any of them result in?

    • Can you have more than one file open at a time?

    • How are the errors reported?

    That's just a starting point, something that can give up some idea of what you're up against. We'll probably have to probe deeper to get a solid idea of what's actually going on.



  • @stillwater said in Contracts Part V : The Delphi way:

    @lucas1 Hey Are you the guy that got drunk ( on wine ) and said a bunch of nasty stuff to people and then apologised once you got sober ?

    Have you been drinking again ? wtf is this post about ?

    a) I'm not convinced that this guy is ever sober. I assume various more or less permanent degrees of mental impairments, on top of an already low baseline.
    b) Where did he apologize?


  • Impossible Mission Players - A

    @lucas1 said in Contracts Part V : The Delphi way:

    @cartman82 NDA is actual serious business. Also I am dealing with sensitive data. No I won't take a screenshot because I would be in the shit. Describing generally the system I am not violating that.

    I have clients where I have an

    Oh sh*t! Did @lucas1 get @candlejack'd?!?!


  • Impossible Mission Players - A

    @Rhywden said in Contracts Part V : The Delphi way:

    b) Where did he apologize?

    On occasion, in other threads.


  • mod

    @lucas1 said in Contracts Part V : The Delphi way:

    if you are doing writing non-component based for a simple web page then no you probably shouldn't care.

    @Rhywden said in Contracts Part V : The Delphi way:

    I'm not convinced that this guy is ever sober.



  • So from my limited understand of delphi ... (I can't use full dephi btw)

    So if I want to import something from the standard libs I would do something like

    use NameSPACE
    

    I can't do that.

    If I want to do a method / function definition (I understand it is somehow similar to VB). I have to declare the vars in the procedure method.

    These are obfuscated by the editor. I have a "vars" text box, and a "procedure" text box. It is meant for non-programmers.

    To be Delphi looks a little like VB.NET and probably more like VB6 ... but it isn't something I am interested in learning when I interviewed for a Mobile Website Developer that would be using JS and BootStrap. I am customizing a desktop application, that is evaling Delphi as far as I can make out and has a forms editor that looks like something similar to WinForms. But without decompiling (I can't do that because I am on a Limited rights citrix environment), I am only guessing.



  • @Rhywden LOL whatever mate. I did, it was on the old disco forum. Considering people like you I don't fancy apologizing these days. Because quite honestly you will probably use it against me in the future.

    I ain't a quantum physicist or whatever you claim you can do. I am a simple lowly fucking web dev. I get pissed off sometimes get drunk and blow off steam on the net ... most UK residents btw do it in the pub. People like @tufty and by extension you, blow off steam in places where they feel they can freely talk (like here) about shit they don't like.



  • @Yamikuronue Please tell me why you should use IDs when you are doing work that is using OOP CSS?

    If I have a component such as a carousel, I might want to namespace via classname, so my styles won't bleed into other components.

    .carousel > img { // some styling }
    .carousel > caption { //some styling }
    

    Most frameworks e.g. Bootstrap do similar things.



  • If it weren't for the fact that you're using it for a desktop application, I'd wonder if it was actually PascalScript, rather than Object Pascal per se. I'm really curious as to seeing the editor tool, but as you said, that would bring hellfire down on you for violating the NDA.


Log in to reply
 

Looks like your connection to What the Daily WTF? was lost, please wait while we try to reconnect.