Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 22 15:30
    omajid commented #28130
  • Jan 22 15:30
    janvorli commented #28130
  • Jan 22 15:28
    omajid synchronize #28130
  • Jan 22 15:12
    omajid reopened #28130
  • Jan 22 15:12
    omajid closed #28130
  • Jan 19 21:42
    omajid edited #28130
  • Jan 19 21:39
    omajid opened #28130
  • Jan 19 16:29

    sdmaclea on 3.1-crossdac

    [release/3.1] Update dependenci… (compare)

  • Jan 19 16:29
    sdmaclea closed #28129
  • Jan 19 16:28
    sdmaclea review_requested #28129
  • Jan 19 16:28
    sdmaclea opened #28129
  • Jan 18 03:00

    Anipik on 2.1

    Update CoreClr, CoreFx to servi… (compare)

  • Jan 18 02:59
    Anipik closed #28116
  • Jan 18 02:59
    Anipik reopened #28116
  • Jan 18 02:58
    Anipik closed #28116
  • Jan 15 22:14

    Anipik on 3.1

    Fix return address hijack in pr… (compare)

  • Jan 15 22:14
    Anipik closed #28119
  • Jan 15 22:06

    wtgodbe on 3.1-dc6908bb-3201-40d9-ad5c-f63ecf2a548d

    (compare)

  • Jan 15 22:06

    wtgodbe on 3.1

    [release/3.1] Update dependenci… (compare)

  • Jan 15 22:06
    wtgodbe closed #28121
Joseph Musser
@jnm2
It's just a logistics thing.
Also think I read about a study that claimed that people's sense of confidence in memories was almost completely unreliable when compared to their actual accuracy.
It would be interesting to know the context for that one. It was a long time ago.
Stephen A. Imhoff
@Clockwork-Muse
@Korporal - Note that I'd be very cautious about an implicit arg like that in the first place, because such an invocation could happen by accident. An explicit flag arg would be far better.
Hugh Gleaves
@Korporal
@Clockwork-Muse - Well perhaps, as I mentioned the origin was Stratus minicomputers that ran a rewrite of Multics (call VOS), that system was impressive because all command line processing was through a powerful processor API.
If you typed: display_file code.c <Enter>
it displayed the file.
if you typed: display_file code.c <Shift-Enter>
it generated an editable/navigable form that let you interactively fill in the various args and options (for example -line_numbers or -match <sometext> etc etc)
this is what I'm working on, a version of this to see how far I can get with an attempted version for .Net Core
because every command (just apps) used the same parsing API all commands had this behavior, very very slick to work with.
but in this case we can just say: command_name -form <Enter> to get the same behavior, but a Shift-Enter option would have been slick
masonwheeler
@masonwheeler

What's that from?

@jnm2 You've never seen Dr. Horrible's Sing-Along Blog?!? o_0

Joseph Musser
@jnm2
Never heard of it, but I recognized Nathan Fillion!
Stephen A. Imhoff
@Clockwork-Muse
... that really sounds like it had deliberate OS support, which seems unlikely here. Also, the thing I would be more concerned with, is how these args were discovered. Either the commands would need to have a meta header as part of the compilation, or some sort of function for reporting/parsing the args separate from the invocation. Both would require OS support.
masonwheeler
@masonwheeler
(For the benefit of those who haven't seen it, the guy who claims to remember something differently is the primary antagonist, and his claim is blatantly insincere and self-serving.)
Hugh Gleaves
@Korporal
No OS support needed for this concept (other than the two keys used to start the app).
Im planning on getting a solid version running then I can share on GitHub
masonwheeler
@masonwheeler

the two keys used to start the app

[LMB, LMB] :trollface:

Stephen A. Imhoff
@Clockwork-Muse
.... well something had to generate the fillable form, whether it was the OS reading a meta header or some default library that was included in compilation (which is usually how bash tab completion is done).
Also, I'm way less worried about this version of an "argument" than what I was anticipating was happening.
Hugh Gleaves
@Korporal
Of course, you'd be interested in this I'm sure, designing this with a powerful language like C# make some of this more powerful too
Indeed, you can tab to any arg and press F1 to get help text
They really deserved credit for it, it was superb and made CLI stuff a doddle, I'm just reinventing it but for Windows with .Net, I can do a few more things too because of this
Stephen A. Imhoff
@Clockwork-Muse
You still need to get applications to "opt in", though, since if they just parse the raw args you won't be able to handle that.
Hugh Gleaves
@Korporal
The app is coded to call this (really a single function) and you pass descriptors etc into it, it does all the heavy lifting
Stephen A. Imhoff
@Clockwork-Muse
So what you're creating is a shell
Hugh Gleaves
@Korporal
with C# attributes etc I can do some of this very neat, not a shell a method call called as first line of app, you pass it the args[] array.
if you typed: command -file xyz.c +line_numbers
then pressed <Shift-Enter> it builds the form and prepopulates the relevant input fields with your already supplied args
It does a hell of a lot of work of course, but I loved it and actually wrote a solid version in Borland C for DOS
but the src is lost sadly
Stephen A. Imhoff
@Clockwork-Muse
That's still the applications "opting in", though.
Hugh Gleaves
@Korporal
OK I found this, this is a former project a PLI compiler for Win32, it uses this API and although I lost the src (for command parser) the compiler executable and the command parser DLL are still on this disk drive, here's what it looks like when invoked with the +menu option
image.png
text typed into the file_name is parsed to conform to file name rules, tab lets you hop from option to option
if you dont use +menu it just does what any other command does, matches up the supplied args with what it expects
this is easier to see with better window colors
image.png
Hugh Gleaves
@Korporal

But on the rare occasions she is actually wrong and I am right it matters now, she is convinced she is right and I am wrong - I cant win.

This is why life is better when it's not about winning :D

@jnm2 - I knew a certain POTUS who'd give you an argument on that.

Joseph Musser
@jnm2
I think it does take a certain level of self-awareness and a place of security for someone to be able to redefine what "winning" actually is for them, instead of thinking inside the box that our instincts or fears (or the influence of other people) dictate.
Joseph Musser
@jnm2
To me it comes down to, who do I want to be, and what do I think is healthy for me and others in the long run? And to realize that I'm not a prisoner to what my opinions or goals were in the past.
Joseph Musser
@jnm2
I'm purposely being abstract and this kind of evaluation does apply to all aspects of my life, but if you wanted to tie it into politics we can take it to private chat since it would not really be polite to discuss that in a shared room.
Joseph Musser
@jnm2
To just go back to talking about memories, I would see it as a terrible thing if I felt that it was more important for me to convince people that I was right than for me to understand the best version of their point of view and to look for the idea that's the most helpful for both of us. That having-to-be-right stuff is not one bit enjoyable in the long run for me. Frustration on one hand, hollow victories on the other hand. Both broadcasting how much more important I think I am compared to whoever I was just talking to.
So yeah, for me anyway, life has much more satisfying things in it than winning.
Hugh Gleaves
@Korporal
I agree with Bertrand Russel that all human activity is driven by desire.
Joseph Musser
@jnm2
You can't argue with that, can you? Attachment and aversion :) Depends on how you define desire.
I think that desires can change, that our desires often originate in things outside our control or awareness, and that our understanding of our own motivations is probably inherently confabulatory.
Hugh Gleaves
@Korporal
I am trying to find src for HttpWebRequest.GetResponseAsync
but the ref source shows no such method