« first day (396 days earlier)      last day (1043 days later) » 

12:09 AM
Isn't that a good edit?
 
12:24 AM
@KevinM.Mansour I think it is. I made it runnable as a snippet. But notice that it was the post author that rejected your edit, meaning they didn't agree with it.
 
@Scratte But the edit is good?
Even there is a typo in the Title!?!?
 
Yes. Go and look at the post. They themselves made a similar edit after they rejected yours.
 
@Scratte Is that fair?
 
But.. you should not edit in the tag in the title.
@KevinM.Mansour The author can always reject or approve an edit. I don't think fair factors in.
But "ScrollBar" is spelled scrollbar, no camel case :)
 
@Scratte The whole post talks about CSS. They added "in CSS" to make sure CSS developers might get a look.
@Scratte They reject your edit and make similar one?!
@Scratte Good :)
 
12:32 AM
@KevinM.Mansour If css is in a tag, there is no need to add it in the title. And rightly so. We don't want titles with "in CSS", "in Java", "using SQL".. it's in the tags.
 
@Scratte OK.
 
@KevinM.Mansour Maybe they didn't understand what happened when they pressed the button.
Also some users are hesitant to accept edits. Then they go and look after and change their minds.
 
@Scratte Huh..? OK.
@Scratte And I get one new rejected edit.
 
The only way to not get rejected edits, is.. to not edit.
 
@Scratte Awesome Solution.
 
12:39 AM
It worked for me :)
 
@Scratte +1.
 
Why do you use capital case with scrollbar?
 
@Scratte I see it fine.
Also I thought it is correct to right ScrollBar.
 
I see. So they commented about the "ScrollBar", which looked not right to them. They could have "Improved edit", but I expect they got confused about their options.
 
@Scratte No Problem I have 48 Rejected Edit. :)
 
1:05 AM
Heh.. OK :)
 
 
6 hours later…
6:58 AM
@double-beep Are you sure that that's a deleted user, rather than an anonymous user?
I can't remember if they're different. In other words, I can't remember if edits by deleted users continue to show the deleted user's card, or if they switch to showing it as if it were suggested by an anonymous user.
 
We don't know what happens which is why I made the nuking joke :D
 
@KevinM.Mansour No. Create a drop-down item in the toolbar. Clicking the button/icon itself would insert the default header (which would probably be H1); clicking the drop-down arrow button next to the button/icon would give a menu of options, including the other heading levels:
If you wanted to be particularly fancy, you could have the image/button default to the last used header level.
But that has its advantages and disadvantages. I certainly think it's sufficient to make the default option just be H1.
@OlegValter Semantic grouping as described is good. I'd insert additional space between the groups, or perhaps a vertical separator. Your advice on looking at what Word, etc. does is excellent. More people should follow standard practices in UI design.
@double-beep Would it be helpful if I also provided my scrutiny? :-)
@Scratte I don't actually have to nuke someone. I can find an existing one.
@CodyGray Another example:
 
@CodyGray ...so tell us what happens when they'd edited a post. How do they appear in the Suggested Edits queue? :)
 
@CodyGray that's an anonymous user, but a deleted would do as well I think? I wanted to test the deleted user card.
if they're different, I'd need an edit by a deleted user, though
(to replace anonymous user with user12345)
 
7:17 AM
One could use regex, no? :)
I can't remember how my script determines to not go for the usercard. I expect if it doesn't find a way.
 
I'm sort of confused.
The responses have made less sense to me than the original discussion.
 
7:48 AM
double-beep have forked the Suggested Edits script and added a user card for "anonymous user". If there's a difference between that and a deleted user such as a deleted user having a grayed out default username (as in user12695027) then it would be helpful to know, so to not hardcode with a magic "anonymous user".
 
7:59 AM
No, do not hardcode with a magic "anonymous user".
The system treats anonymous users and deleted users very differently in all contexts.
 
8:25 AM
@CodyGray but what if a deleted user is shown as "anonymous user" in suggested edits? Then there would be no way to distinguish them
 
Yes, that is a valid question. I do not think they are. I think the user information is determined at the time the suggested edit is created, so it's only "anonymous user" when the user suggesting the edit is actually anonymous.
If the user is deleted after the edit is suggested, the user card is displayed as normal, except indicating a deleted user. Just like under posts.
 
@double-beep You don't need to if you get the "username" by a regex :)
 
Wait, wait
Why are you doing that?
Isn't there a user ID in the HTML?
 
@CodyGray I'll see how I find it. Hold on.. I also need coffee..
 
@double-beep well, let me finish sorting up my part of the mess, and I will push the branch back :) After that, I'll probably need a good break from ARC :)
@KevinM.Mansour well, that doesn't really matter - but given the limited space in your UI, I'd go for the short version
@KevinM.Mansour yes ::)
 
8:39 AM
Yeah, .s-user-card
Under #panel-revision
(ZOMG, something has an ID!)
 
@CodyGray Heh.. have you seen the mess under that ID? :D
 
@KevinM.Mansour you mean the white backgound? Yes, I like me some simple-colored backgrounds :) Not sure I like the neon color scheme, but I don't like it in general, not in the project
@KevinM.Mansour I also think it is a good edit - it seems like the author of the post just does not know that we encourage good edits
 
I see I start out with ".postcell > .grid" then I go to ".s-user-card.s-user-card__minimal"
 
@Scratte Nope.
 
If there's no "a" tag in there, I just leave it be. Which is where double-beep seems to pick it up :)
Are you sure it's under "#panel-revision"? Because there are several of those revision-thingies. One for each tab in the review.
 
8:45 AM
@KevinM.Mansour no, that's not fair - we shouldn't have given post authors the ability to unilaterally approve/reject edits no matter their reputation (or whatever better metric you prefer). I firmly believe this is a mistake
 
There are several things with the same ID?
 
@KevinM.Mansour don't listen to that pessimistic squirrel :) good edits are sorely needed
 
@OlegValter Hard to follow the logic here. Post owners have a pretty substantial say when it comes to the contents of their own post. They have the ability to single-handedly make edits. Why not let them approve or reject?
 
@CodyGray I forsee users being confused why the default header level changes all the time :)
 
Remember the last-used option as the default is a pretty common UI pattern. I don't think it should result in confusion.
 
8:51 AM
@CodyGray mm, because I am not sure I agree that post owners should have substantial say :) To clarify what I mean: I do not think post owners should be stripped of the ability entirely but think their ability to accept/reject edits should be subject to the same requirements as editors (i.e. >= 2000 for unilateral edits, although I do not find rep a particularly good metric when it comes to determining ability)
 
@CodyGray No :) But there's several panels, each with an id, if I remember correctly :)
@OlegValter Sowwy.. :)
 
If they're different IDs, then it doesn't matter.
 
after all, we do not "trust" editors under a certain rep level to make unilateral edits and subject them to peer review but then allow post owners of any skill level to reject them at will. It is a well-known issue that newish users (and sometimes not-so-new ones) are very protective of their posts and reject everything
 
But we allow post owners of any reputation to unilaterally edit their own posts. Or roll back edits.
 
@OlegValter But.. that would be detrimental to them editing their posts into shape. By the time the edit goes through the review, the post is long closed.
 
8:56 AM
@CodyGray exactly, I am not sure I like that too much either :) But that bias aside, I think there is a difference: when an OP makes an edit to their own post or rolls back an edit of another, they do not affect that other user. In the case of suggested edits, the one suggested gets one more rejected edit - a negative consequence for doing everything as expected of them. Not good by my standard
 
Personally, I think the problem is the interface where they're presented with the suggested edit.
It is almost begging them to reject.
 
@CodyGray Sure. But I'm not even using that ID. I need to query for the usercard anyway.
 
@CodyGray or that... Actually, I do not recall how it looks like when there is a suggested edit on one of your posts. Do you have a reference to take a look?
 
@Scratte Huh? The ID helps you find the user card.
@OlegValter Not on me. Probably on Meta.
 
@CodyGray no worries, I'll make a quick search
 
8:58 AM
@CodyGray Sure.. but there's also only one "".postcell"
 
:-(
Should have been an ID.
 
@Scratte do you have any stats on how many suggested edits are important to get the post edited into shape? If anything, from what I've seen in the queue, there are minor edits floating around that actually make it harder for the post to get reopened
 
I don't think I want to mess with the logic at this point. I will when it breaks :)
@OlegValter Yes, but I imagine there's be substantial more load on the suggested edits as well. And what should we do with those if we don't think the post becomes on topic? Then the user will first have to convince editors that are even less likely to know the technology.
@OlegValter That I agree with.. a rejected edit that was a good edit is not very motivating.
 
@CodyGray yeah, I don't say it's uncommon, it's certainly not unheard of - just that I see some potential for confusion. Although if made with the context in mind (i.e. remembering that the last time you made a header, you chose to style it with bold and a certain font-family), it is a powerful feature, I must agree
 
@CodyGray Yes, I almost rejected d'Arc's once edit because the interface confused me.
 
9:03 AM
@OlegValter Um, that wasn't what I meant at all. Merely that it would remember which header level you'd selected from the associated drop-down menu and store that as the default option for the associated buttcon.
 
It's like branch-prediction for humans :P
 
@Scratte yes, I think the system that can issue negative signals for good behavior has poor design (*in that regards, yes, real live has an awful design :))
 
Right.
You all know Microsoft Word. Think of its font color buttcon.
It saves the last-used color, so if you click the buttcon directly, that's what you get. If you want something else, you can use the drop-down menu to the side of the buttcon.
 
@OlegValter That is the reason why I'm such a "pessimistic squirrel" ;)
 
@Scratte yeah, that's kind of unsolvable without a broader fix to the suggested edits system (which we all know is not happening)
 
9:07 AM
(I'm borrowing the term "buttcon" from Alan Cooper, the UX author. But I think it's a fantastic word.)
 
^ I'm getting strange association from that word. I'm saying it out loud in two syllables.
 
@CodyGray ah, ok, sorry, I think I overthought it - yes, Word's (or Docs's) color picker behaviour is a good example of the feature - and yes, it works nicely. Not sure I've seen header level being memorized before, though
 
@Scratte Yes. Butt-con. Like Eye-con, but with more butts.
 
@CodyGray thanks! I think that the extra spacing between groups should appear naturally once elements are grouped (but yeah, for some reason after grouping controls semantically, some decide to group the groups). Maybe a barely noticeable separator will make those stand out as groups even more (not sure if that's easily achievable under the current color scheme, though)
 
The color scheme could be changed...
 
9:23 AM
@CodyGray Or be configurable :)
 
@CodyGray that's true :)
 
Hmm.. I would remove my GUI :D
 
@CodyGray yeah, read that article - not sure I agree: of course, making the user choose straight away (especially when the options are ambiguous or may be unknown to a new user) is not a good way to do things. However, I believe giving a user that wants to make decisions an outlet to doing so is good design. If I open a "settings" view, I expect it contain enough options to customize my experience and become disappointed when it is barebones.
 
Yeah, there's a proper balance that's difficult to strike.
 
9:37 AM
I like the ending better, though
@CodyGray yeah :) but that's our craft after all, isn't it?
 
I suppose.
I agree with most of what the article says.
Like I agree with most of what Joel's written there on his old blog.
 
LOL!.. That Windows toolbar taking up half the screen! :D
One of the things that I noticed that people sometimes do not do on purpose is hitting the "Insert" button. It would be nice for those if the system told them about it.
 
@CodyGray yeah, the only problem I have with the article is that it's easy to take away the wrong interpretation
 
I know people who have no clue why the program is overwriting stuff. One booted the system when it happened.
 
There's usually an indicator on the status bar in well-designed programs.
 
9:54 AM
@CodyGray I prefer the above - it's not like there are a lot of positioning options :)
 
For positioning? Yeah.
That was just an example of how to do the header level thingy, since there are 6 options.
 
@CodyGray yup - just mentioned it because the positioning dropdown looks a little odd
 
Yeah, it's probably a bad example.
I should have fired up the old RAD environment and created an actual example. But wow, that's way too much work.
 
@CodyGray I understand :)
 
@CodyGray Sure, but they never notice it.. it could be a lot more prominent the first time.
 
10:03 AM
Like a giant "ALERT: You have pressed the Insert key on your keyboard. This means..." dialog?
Yeah, that wouldn't be annoying at all.
 
Yes, that. Just that once the first time with an option to turn if off forever.
 
@Scratte mm, that does not look like good design to me :( You show a giant dialog the first time -> annoyed user presses "do not show me anymore" -> the user is once again unaware of this happening
 
Yup
Everyone just dismisses dialogs immediately, without reading them, because they just want "the error" to go away.
 
and those who don't look at status bars, methinks, have a good intersection with those who will immediately click "do not show"
 
I cannot tell you how many people I have watched do this.
 
10:11 AM
@OlegValter Not these kinds of users though. They have no idea that they even pressed the button. It's right next to "delete" and they just accidentally hit it.
 
We have some software that pops up a message box prompting for permission to quit. (Yes, it's a known anti-pattern. No, I haven't won the fight to have it removed. It isn't even asking to save unsaved changes; there's no "save" option in the software at all. Every change is implicitly saved.)
And I cannot tell you how many times I watch people trying to close the software, getting the dialog, immediately clicking "No" or the "x" box, and then wondering why it didn't close.
So they try again... hilarity ensues. (But only on my part; not on theirs.)
 
@Scratte yeah, yeah, I know - been there myself. The status bard should probably just be made more prominent, or a non-intrusive message / notification should show up (somewhere in the corner of the screen) indicating a mode switch happened
 
Or... keyboard manufacturers should stop being cheapskates and should put an actual LED on the key.
Or, better yet, a locking key mechanism!
 
for a good case of what happens when you add an in-your-face notification with an ability to dismiss it see no further than SE's own "please consider commenting" for accounts with low rep when they downvote :) or the GRDP consent screen mess, or the review queue "learn more" popups
 
Remember that, which used to be on Caps Lock keys?
 
10:15 AM
@CodyGray mm, it's still there, no?
 
The LED is... sometimes.
Not the locking mechanism, where the key is physically locked down when it's engaged.
 
@OlegValter I'm be OK with that too :)
 
@CodyGray ah, sorry
 
Maybe it's there on the Smith Corona you're still using, Oleg. :-)
 
@CodyGray I wish I'd still use it :)
 
10:16 AM
@OlegValter I actually read that message.. the first 300 times or so :D
 
@Scratte did you start leaving more feedback under posts? :)
@double-beep - re: auto-updating scripts - well, yeah, after reading the Q&A, that's exactly what I was thinking about: an @updateURL header pointing to the dist folder with the script. Then, for me, it's just a matter of pushing to the repo from the IDE. I only copy-paste when A. Testing is not set up (after all, sometimes jsDOM + Mocha is too much hassle for a 15-min script), B. There is a need for visual testing (I don't use the managers - everything lives in devtools snippets for me)
 
@OlegValter No :D I've always left feedback under posts. I just have my own order in which I do things.
 
First you leave a comment, then you go downvote all their other posts?
 
@OlegValter But then you'd have to continuously strip away the header, no? If the repository expects to add the header in after during the build.
 
@Scratte I am not sure I got what you mean?
 
10:31 AM
Or you mean that the file has no header and one just uses a header in the manager?
 
@Scratte I still don't understand what you mean :)
 
@CodyGray No :) I've never done that. But I rarely comment and downvote at the same time. Though I've often seen a comment from someone else right at the time I downvote :D
@OlegValter Maybe we're talking about two different things. I'm thinking of the header in the manager that has a file in the @required directive.
 
when I build, I build 4 files:
- unminified and minified ES6
- unminified and minified ES5
and another file with headers

I will be adding another file to the dist with the headers prepended in the near future
 
So far I'm developing directly in the manager.. and for this reason, I have a header in the file.
So my source is the final distributed version. It's one and the same file.
 
@Scratte then methinks you should change that :)
 
10:36 AM
The only reason to change that is if you're using something like TypeScript.
 
@CodyGray mm, I do :) Compile from TS, then run a minifier and an uglifier on the dist
 
Right, but Scratte doesn't
Why does a userscript need to be minified or uglified?
 
@CodyGray sorry, I wasn't sure who you meant by "you"
 
You said that Scratte should change that
 
@Scratte yeah, that's why I am not sure why asked me "then you'd have to continuously strip away the header, no?"
@CodyGray I thought you made an abstract comment, sorry - I get it now
 
10:39 AM
Oh, I see
 
@Scratte so, to clarify - why not keep 2 distributions? One with the @updateURL header pointing to the test file and another "production" one that points to what end users get?
 
@CodyGray Thank you :) Yes, I'm not using TypeScript. Just plain JavaScript.. this works for me so far. I'm learning a lot about correct syntax too :D
 
How are you learning correct syntax?
 
@OlegValter I could do that. But since I'm reluctant to install an IDE and there's a nice syntax highligher in the manager, I've had no reason to do this.
 
Doesn't your existing text editor of choice support syntax highlighting for JS?
 
10:44 AM
@CodyGray The userscript manager is less than forthcoming when an error occurs :/
 
Yeah. JS in general is less than forthcoming about syntax errors.
 
@CodyGray Yes, but not as nicely as the manager. Notepad++ does have syntax highlighing for JavaScript, but I don't even need to change window with the manager, the test post is in the next tab.
 
@CodyGray mm, it does not "need" to be - but I always write mine to be able to run with or without a manager (i.e. if you post the code in the browser console, it will still do what's expected of it). This means that I'd like to accommodate those who use other means (like devtools snippets) or make the userscript loaded as an external script with @require header. In the latter case, serving a minified file reduces the bandwidth used
 
Hmm
I can see how loading it with a @require header might let minification save some bandwidth... Except that, as we learned in here earlier, @require items are cached locally.
So that only works once.
 
I know some user like to download the minified version. I've never done that myself.
 
10:47 AM
I don't see how using the browser console would allow minification to save any bandwidth.
 
@CodyGray Not when it's a local file. This is only during development..
 
@CodyGray I specifically said "in the latter case", sorry if it sounded like browser console is included in the bandwidth argument :)
 
@Scratte If it's a local file, then saving bandwidth doesn't matter.
I still don't see the argument for minification
 
You can add a @reguire file://...local file and then the manager will load that on every run. You just need the header in the manager for this. Then you can develop in the file in whatever IDE you like.
@CodyGray That's two different topics ;)
One is during development. The other is distributing a minified version :)
 
@Scratte Yes, I knew this.
 
10:49 AM
@CodyGray it's more of a "why not" part, to be honest, because the build step does it for free. Even if it's cached, it's still done the first time it's loaded (and its not guaranteed that the file is always cached). And I too know at least some users who prefer to download minified versions - so then, why not? I serve all versions - minifed, unminified, old browsers, new browsers
 
Although I, too, often use the userscript manager for making changes, because I'm usually only tweaking something minor and thus benefit from the easy access to a refresh preview on the live site.
 
I started doing user scripts just tweaking stuff. So I guess that's how I got my workflow set.
 
@OlegValter I guess that's valid, because it's easy, but it does seem kind of weird and pointless. I suspect that the people who download minified forms are doing it because they think it will be faster. Cargo-culters, essentially. No valid reason, and thus not a valid data point.
@Scratte I think it was my recommendation!
 
Well. My script is 4000 lines and growing (since someone wanted extra stuff like links in titles and tooltip.. :-), so if they don't car to look into the code, I can understand downloading the minified.
@CodyGray Huh? That I started tweaking stuff? Or did you reply to the wrong message?
 
@Scratte No, that I told you to just use the userscript manager to edit.
 
10:53 AM
@CodyGray mm, that's why I said it's not particularly important - just that it takes more effort to convince a person to do things your way than accommodating them :) Just that since it does not cost me anything, even time, why not serve different versions?
 
@OlegValter Is that why I'm always so darn busy?!
Hmm.
 
@CodyGray probably :)
 
I'm not sure that's even true, though.
Often, accommodating people is a huge pain in the rear.
How could it not be easier to convince them of the error of their ways, thus saving you doing pointless work to accommodate their misunderstandings?
 
@CodyGray nearly always
not sure which way is harder, though
 
I guess it depends on how persuasive you are ;-)
 
10:57 AM
@CodyGray in my experience convincing (actually convincing, not dominating them until they agree just to make it stop) someone their way is the wrong one takes too much energy and creates more divide than necessary
 
@CodyGray Ahh.. yes. Thank you for that. I think you've spoiled me for the "Oleg way" ;D
 
Yeah, that's why nobody likes me.
@Scratte I saw Makyen telling you that he essentially does the same thing, except he prefers to use a text editor that he's already comfortable with. Which I totally get.
 
@CodyGray how? SE uses the minimal user card component for users that exist, but does not use any component for anonymous users.
 
@double-beep Yes. But what do they do for deleted users?
I suspect they use the same card for deleted users as they do for users that exist, just like on posts.
 
no idea
 
11:00 AM
@CodyGray Yes. I've had a few existential developer's crisis with this, since someone wants to teach me a better way of doing it. Which is why I went to ask Makyen (in my mind the userscript writer). I thought of asking Samuel, but they seem to be busy with other stuff.
 
By "existential developer crisis", do you mean "imposter syndrome"?
Because I really don't think there's a correct way to write anything.
 
@CodyGray well, methinks there are more and less efficient ways and more and less error-prone ones, but yeah, not sure there are any correct ones
 
Wait.. what?!?.. There's a "s-user-card--awards" class for badges :O
 
@OlegValter For the actual development process? Meh, I don't know. It's more of what works for that specific person.
I mean, some people like Vi, then others realize those people are crazy.
 
@CodyGray No. Changing my workflow to not use the manager, but installing some disk and memory heavy program on my system, otherwise knows as an IDE.
 
11:03 AM
I don't think anyone would recommend that option?
 
@CodyGray agreed - as long as the final product is good, who cares
 
Right.
I don't believe that is the case for other things, like code formatting, or deployment, or whatever. But for which editor you use and how you write it, yeah, nobody cares except you.
 
@CodyGray I'm not completely friends with Vi.. but I'm probably more a Vi person, than an Eclipse person. While it does make things easier, it also does thing "for you" that I'd like to understand myself.
 
and besides, I know I am trying to slowly convince @Scratte to switch to IDEs, unit tests with jsDOM (choose your poison), and such, but I realize that if you don't use that on a daily basis, it's a pain to learn from scratch. I had to do everything by myself - and clearly remember this not being a very pleasant experience at first (who am I kidding - for quite a while) - like I am looking at a nuclear reactor control panel with no idea how it works
 
^ that.. yes. And I rarely do thing halfway. So I'd spend two weeks reading the manual for all those things..
 
11:06 AM
@Scratte I think the debate is Vi vs Emacs, not Vi vs Eclipse :-)
Yes, Eclipse is terribad.
Not sure if it's better or worse than Netbeans. Both are terribad.
 
@CodyGray argh, I just got PTSD from Netbeans being mentioned
 
For me, it's simple editor versus mega-monster integrated environment.
 
tried to use it for several months
 
Integrated environments are good if they make your life easier.
Otherwise, just say no.
They're not inherently good.
 
Eclipse is the default choice for Java development though. So it's probably going to be Eclipse if I install anything.
@CodyGray I've been saying no for a while, but someone is persistent ;)
 
11:08 AM
For example, as I've mentioned before, Visual Studio on Windows is exceptionally handy, due to the built-in debugger. So if I'm actually going through the whole edit-compile-debug cycle, yeah, that's a lot handier than switching back and forth between a text editor, a compiler window, and a debugger (especially since that debugger is probably GDB, which sucks, but even if it's WinDBG, which doesn't suck).
 
@CodyGray neither bad - they are just that, tools that aim at boosting productivity and reduce errors. If one makes you slower or causes pain, to hell with it
 
But if I'm just writing code? Heck no, I don't need an IDE. Just a text editor will do.
@Scratte Java != JavaScript
Don't let Oleg hear you conflate the two!
 
@CodyGray it's too late now...
 
Aren't you a Java programmer by... um, trade? Do you not use an IDE at all?
 
@CodyGray I know, but I'm suppose to be a Java-developer. I'm sure there's a JavaScript plugin :)
@CodyGray When I'm in an office where everyone is using it, yes. But I really only use the editor and I general turn all tips off. The only real advantage is being able to directly go to the classes in the standard library.
 
11:10 AM
So you just compile from the command line?
 
@Scratte Eclipse is probably not the best idea for JavaScript, though...
 
@CodyGray Yes, which.. Eclipse also does, just under the hood.
 
@Scratte Yes, and single-step through code? And see a class hierarchy?
 
kind of feels like using a screwdriver instead of a hammer for hammering nails
 
@Scratte Yes, of course. But it happens by clicking a single button, which is generally considered easier.
 
11:12 AM
@CodyGray Sure.. but when time comes to deploy it, I don't want to be confused about how to compile or start the thing.
No one ever starts a production program from Eclipse.. I hope not.
 
Isn't packaging and deployment built into the IDE, too?
I don't actually know. I've never used Eclipse for more than a few seconds.
(Someone had it installed on a computer and was using it to edit C source code. I spent literally a few seconds with that thing, before I switched over to Notepad++ to do the edited I needed to do to fix their problems.)
 
I heard IntelliJ IDEA is pretty versatile (sorry for chiming in)
 
Ahh.. yes, but you see it's like when rebasing in git goes awry. Then what? If you don't know how it's all connected, you can't fix it if things go bad.
 
I have a very high-scoring answer on SO telling you how to change to a dark theme in IntelliJ IDEA. I've literally never used it.
 
@OlegValter Yes, but that's a paid product and most companies just has Eclipse.
 
11:14 AM
@Scratte I use Git Extensions. Rebasing in Git has never gone awry.
If it does, you just click the "Abort" button.
 
@Scratte yeah, that's a big downside
that's why I think there is nothing better for JS right now than VSC (that's free and open-source)
 
Ermm.. I'm talking about someone else pushing their rebased and merged version to the repository (obviously some users don't check the final diff before they push)
 
That's unfixable with technical solutions.
For that, you need the hammer that Oleg mentioned.
A screwdriver might also work.
 
So then.. someone has to go and check out what commits actually exists under the hood and fix it.
 
That can be done with Git Extensions
And it's still a lot easier than the command line
 
11:20 AM
The command line? :) What's wrong with editing the git files directly? :P
 
Uhhhh
Nothing, if you like broken and corrupted repositories.
 
@CodyGray The link died sometime after August 2020 - edited :) P.s. My highest-scoring one is literally how to change repo metadata on GitHub (in the GUI no less) - was so ashamed for even answering it that made it CW from the get-go.
 
There's an advantage to distributed systems. You can just make a copy and see if you can fix that.. :)
 
@OlegValter Heh. Cool.
@Scratte (A) Making a copy of the .git folder usually doesn't end well; you need to clone the rep. (B) While it's true you have a backup, it's no reason to futz around with the command line and increase the risk needlessly.
 
@Scratte you do what to your git files?? :)
 
11:28 AM
Edits them with a hex editor. What could go wrong??
 
@OlegValter Move the head about and stuff.. :) There's no reason not to play with those. But.. it's been a long time since I did it last.
@CodyGray The git files are plain text. Or at least they were when I was playing with them.
 
That doesn't mean you cannot edit them with a hex editor
 
Rigth :D
 
11:54 AM
@Scratte hm, isn't it easier to invoke command-line incantations for that?
 
12:16 PM
@OlegValter Yes, but I wanted to know how it worked.
 
12:50 PM
@Scratte ah, the learn-by-doing type? :)
 
I learn better when I understand it.. else it's just memorizing disconnected things for me.
 
1:24 PM
@Scratte that true - I am just to hesitant to play around with the files themselves (despite them being simple text files, basically)
I don't know if I linked to it before, so, just in case:
10
Q: Autofocus the 'email' field on login page

ZacApparently, this was asked 5 years ago: Set focus on email address field on the Login Page If you're like me, you hate using the mouse. I keep my browser secure on my work computer, so I have to re-login into things manually on sites, like Stack Overflow and I always have to use my mouse to selec...

 
@OlegValter That is a good candidate for a user script :)
@OlegValter I'm not hesitant at all. I just clone the repository into a play folder.
Then I change stuff and see what happens :)
 
@CodyGray OK. Thank you. :)
@OlegValter Temporary I will use "Header${N}" until I find better solution.
@OlegValter OK.
 
@KevinM.Mansour sure :)
 
@OlegValter Thank you. :)
 
2:19 PM
@KevinM.Mansour when I started fixing the pluralization issue, I noticed you have a timing bug when updating the preview: you rely on innerText to count chars, but sometimes it can be empty when the handler fires, I suggest moving to the already present text variable
also, a suggestion: add another count for number of chars with spaces - should be easy to add, but it is sometimes useful (for those who need the text to fit into a char-limited field)
 
@OlegValter Simply create a Pull Request and I after reviewing we will merge since that my to-do list is completely full. :)
@OlegValter Add it as feature-request.
 
@KevinM.Mansour I already did if you haven't noticed :)
 
@OlegValter Thank you. :)
 
@KevinM.Mansour I never propose anything without a solution in mind - that's a motto of sorts
@KevinM.Mansour as for the feature request, I'll just make a separate PR after you check this one
 
@OlegValter OK.
 
2:27 PM
I think you should strive for something like what Word does in the long run
you have most of it already
 
2:46 PM
@OlegValter Done. Thank you. :)
@OlegValter Added on My To-Do List. :)
 
@KevinM.Mansour basically, the only things you are missing is chars with spaces, num lines, and paragraphs :) Which are all easy to add - your setup seems to accommodate for that
 
Currently My To-Do List:
Fix https://github.com/msk-apps/msk-markdown/issues/8
Make Dragable Seprator.
Add Chars with spaces, num lines, and paragraphs counts.
Add Headers.
 
@KevinM.Mansour multiline messages break markdown. I do that constantly, though...
 
@OlegValter Useless Chat.
 
@KevinM.Mansour you could make a milestone out of it :)
 
2:54 PM
@OlegValter What is milestone?
 
@KevinM.Mansour it's a selection of pull requests and issues that will prompt GitHub to connect them and show the completeness percentage
they are useful for keeping track of the progress :)
I'd also suggest GitHub Projects (we have 2 in the org, if you remember) but the feature is not mature in my opinion (compared to Trello, for example)
 
@OlegValter Thank you. :)
@OlegValter Yes, I remember that we have 2 on the Organization.
 
3:28 PM
btw, @KevinM.Mansour - please, please use const for variables whenever possible :) In JS, that's important
 
@OlegValter OK.
 
@KevinM.Mansour yeah, I mean - if you do not need to override the value of the variable, there is literally no need to declaring the thing with let
 
@OlegValter Sure, isn't const also override the value of the variable?
 
@KevinM.Mansour no, const does not allow that
you can only initialize what it holds once
 
@OlegValter OK. Thank you.
 
3:38 PM
@KevinM.Mansour - and made another one that fixes the #11 for ya :) Do take a look when you have time
 
@OlegValter Thank you.
 
@KevinM.Mansour NP
 
@OlegValter I have linked double-beep issue.
@OlegValter What does "LGTM" mean?
 
@OlegValter I think I found one var of yours. It may have been me creating it, but it was in the middle of code I took from a pastebin of yours. It made me smile :)
 
@KevinM.Mansour Looks Good To Me :) Common one
 
3:43 PM
@OlegValter Thank you. :)
 
@Scratte you literally can't find a var in my code :) Unless it is transpiled to ES5
or if this is a rewrite of another's code
 
@OlegValter Must have been when I made some modifications then :)
I just noticed it the other day and thought it looked off in the middle of your code :)
 
@Scratte mm, I tend to not bother with changing these because it takes too much of a toll on me :)
you'll definitely notice some in the rewritten ARC
 
This one was in the editor statistics code.
 
I have to be honest - there is at least one legitimate use for them nowadays - I work with a platform that can only see exposed APIs from dependencies if they are global declarations (i.e. either top-level function, or var, or Object.assign(this, { myExport })). I hate it but have to comply
 
3:47 PM
@OlegValter Col doesn't work. :)
 
@KevinM.Mansour I am pretty sure it does
 
The Pull Request that fixes Col made Col Counts don't work and here is Preview.
 
I've never spend time trying to learn about objects in JavaScript :(
I find them to be very puzzling.
 
@OlegValter Uncaught ReferenceError: mouseUp is not defined
 
Not simple object, but the ecosystem of object oriented programming in JavaScript with binding and the this keyword.
 
3:49 PM
@KevinM.Mansour ah, the console error? didn't notice it
I guess you have something else that relied on it
 
@OlegValter Oops.
 
already updated
@KevinM.Mansour fixed - you had the CreatePreview rely on it, I didn't notice you used it somewhere else, sorry, that's why I did not use F2 renaming
 
@OlegValter Thank you. :)
 
@KevinM.Mansour NP
 
Yay! I have no open issues so far.
 

« first day (396 days earlier)      last day (1043 days later) »