« first day (754 days earlier)      last day (2426 days later) » 

12:01 AM
RELOAD!
[Hosch250/Rubberduck] 26 commits. 9520 additions. 7704 deletions.
[retailcoder/Rubberduck] 8 commits. 1609 additions. 159 deletions.
 
> Rubberduck.Setup.2.0.3b.exe (5.32MB) - Downloaded 38 times.
Last updated on 2016-06-24
 
[rubberduck-vba/Rubberduck] 26 commits. 8 opened issues. 7 closed issues. 37 issue comments. 6621 additions. 5143 deletions.
[skiwi2/ArbitrageClient] 4 commits. 790 additions. 1 deletion.
 
12:26 AM
@Mat'sMug The biggest issue is that I'm not working with the type I define.
 
But then, only its interface matters, no?
 
I like DI for many things, but it can also be a horrible, horrible pain when it doesn't just work, as bad as fixing the grammar.
@Mat'sMug No. Go look at the ctor of the CE for a really good example.
 
link?
 
I'm going to make the SC like that too, to help clean the window class up.
 
(still on my phone atm)
 
12:29 AM
Oh, OK.
Signature: public CodeExplorerViewModel(FolderHelper folderHelper, RubberduckParserState state, List<CommandBase> commands)
Then: _refreshComponentCommand = commands.OfType<CodeExplorer_RefreshComponentCommand>().FirstOrDefault();
And so on for about 15 commands.
 
I see. It smells, doesn't it?
 
That feels so clean--it's awesome. I won't be able to do that with an interceptor.
Yes, that repetitiveness smells, but it is clean compared to the messy alternative of declaring everything in the class.
 
I don't think it's as clean as you make it sound like. We've got coupling issues here IMO
 
And no, using the type is not a smell. It is a map of one type to one command.
 
and that breaks with DI interception?
 
12:33 AM
What are we going to use if we don't use the type? Add an extra field?
@Mat'sMug We only use interception for hook and menu item commands.
 
How are these commands injected then?
 
And yes, that is exactly the problem with the hooks, except the mapping was messy anyway.
@Mat'sMug By the name.
And, BTW, you suggested doing this when I was complaining about how messy the class was.
And yes, I agree that injecting by the name is brittle.
However, it isn't any more messy than the rule about injecting Foo into IFoo--especially since many interfaces don't have a one-to-one mapping between interface and type.
 
hmm.. coupling is inevitable here I think
 
BTW, don't ask me to open my IDE--I'm installing VS 2015 U3.
Like I said above, I wouldn't mind the decorator pattern at all if it was basically an extension method adding extra functionality.
I do object to having it change the type on me.
(I hope that "n me" while cmd.exe was open didn't hurt my installation.)
 
That's not what a decorator does.. a decorator is precisely a type that implements the same interface, that's injected in place of the decorated type to add functionality that would otherwise clutter up an implementation, e.g. with logger calls
 
12:40 AM
I also think that if we have to use the decorator pattern on our own types, it usually is a signal of poor design. Either we should take care of the problem in a base class or in the specific implementations.
 
You're missing the aspect part of interception
 
And, TBH, I'm not even sure the bloody thing works. I crashed RD somehow, don't remember how, and I didn't even get a log.
 
Cross-cutting concerns are not properly addressed with inheritance
And cross-cutting concerns sprinkled into countless implementations become a royal pain to maintain
I'll pull and take a look soon
DI interception isn't just a decorator. And the decorator pattern isn't an anti-pattern that reeks of bad design... You haven't read Dependency Injection in .Net (M.Seemann) yet have you?
 
No.
Well, I've yet to see anything particularly useful.
 
It's the alternative to AOP frameworks.
 
12:49 AM
If we just want to log fatal errors, then we can put a try/catch around the start point.
 
We have that already, and it's not working
 
Do we log anything in the catch?
Oh, it looks like it isn't like a C++ application.
C++ (well, C# too) always have a start point that is alive for the length of the program.
This just has OnConnection, &c.
There isn't really a start point that is alive the full time.
 
It's not working because once the app is running, we're out of the entry point
Exactly
 
Yeah, I get it.
OK, I'll make exceptions for this.
 
There aren't 2000 cross-cutting concerns in RD anyway, we're not going to use interception for everything.. but logging and exception handling are cross-cutting and demand an aspect-oriented approach
I can't force you to fall in love with it, but don't hesitate to read up on DI interception and why people use it. And the decorator pattern too... and I don't mean the pizzeria examples ;-)
 
12:56 AM
I still don't like it, but I don't see a better alternative.
And it isn't going to work half the time because we use commands in our UI everywhere more or less just like the CE example, and more are going that direction.
The Source Control VM is mess of intertwined concerns that should be extracted into their own custom commands, for example.
And I'd say that giving each one an identifier just to keep track of which is which because of interception is a worse smell than giving each a catch-all/log-all.
 
We do that with hotkey mappings with an enum, and interception has nothing to do with it...
 
Not for the Code Explorer--none of those have a hotkey.
Or, they all have the hotkey of None, whichever you prefer...
 
Much of it is beating up DRY, too. Why do we need 3 rename commands?
 
Because we need the context of who called it. We already tried using one twice, and I had to fix it both times.
I don't like that either, but I see no alternative.
 
that is a design smell imo. and we live with it. code won't be perfect... doesn't have to be. But we can try =)
 
1:06 AM
Well, I think interceptors are far from perfect.
 
Ok. But you see how powerful they are?
 
At breaking code, yes. And I can accept them for logging purposes.
 
Make yourself a small app, implement IoC, play with it
 
I use IoC in Rubberduck almost every time I create a type. And I like DI for many things now that I can follow the flow of it.
Personally, the way we have to manually define all the dockable windows feels like a pretty bad smell, but for most things it is nice.
 
Yeah.. I need to restructure the RubberduckModule... badly
 
1:11 AM
I've known that for about 4 months.
 
lol
 
I don't know how to do it though, or I would have by now.
But intercepting one type and giving me another messes things up. It isn't even just a wrapper--it makes all the old items static in the new version.
If I was doing that in my code, you wouldn't merge it into the codebase; the only difference is, we can't use them static because they aren't generated until after it is compiled.
 
> it makes all the old items static in the new version.
I don't follow here. What do you mean?
 
Have you looked at it in the debugger?
Say I have type IFoo { string s; int i; }
It intercepts that and gives me IFooProxy { static string s; static int i; }
And then it has a non-static list or array or something of interceptors.
 
I don't really care about what the proxy types look like tbh. They implement the interface we're injecting, it's all that matters
 
1:17 AM
Oh, I wonder if they are static because it is in singleton scope. That would make more sense.
 
Could be
 
Well, I'll use them for logging in RD, but I'm still not a big fan.
GTG, BBL.
 
Later!
 
2:14 AM
[rubberduck-vba/Rubberduck] Hosch250 pushed commit 8a0eff45 to next: Close #1928
Merge pull request #1934 from Hosch250/Issue1928

Display correct type for type hints
[rubberduck-vba/Rubberduck] Hosch250 pushed commit 11d3ba69 to next: Remove unneeded logging
[rubberduck-vba/Rubberduck] Hosch250 pushed commit e554a956 to next: Finish removing log statement
[rubberduck-vba/Rubberduck] Hosch250 pushed commit debaf1e3 to next: Merge with conflicts
Merge pull request #1922 from Hosch250/logging

Remove unneeded logging
[retailcoder/Rubberduck] retailcoder pushed 27 commits to next (only showing some of them below)
[retailcoder/Rubberduck] Hosch250 pushed commit bb48e3de to next: Fix hotkeys
Merge pull request #1931 from Hosch250/SourceControlLogging

Add more logging to Source Control
Merge pull request #1932 from Hosch250/Issue1917

Fix grammar to support line continuations inside a date literal, to match VBE's clunkiness
[retailcoder/Rubberduck] Hosch250 pushed commit debaf1e3 to next: Merge with conflicts
[retailcoder/Rubberduck] Hosch250 pushed commit 8a0eff45 to next: Close #1928
[retailcoder/Rubberduck] Hosch250 pushed commit c349f7d9 to next: Close #1256
Merge pull request #1936 from Hosch250/Issue1256

Localize file status values
Merge pull request #1934 from Hosch250/Issue1928

Display correct type for type hints
Merge pull request #1922 from Hosch250/logging

Remove unneeded logging
Merge pull request #135 from rubberduck-vba/next

sync with main repo
[rubberduck-vba/Rubberduck] build for commit 906dc060 on next: AppVeyor build succeeded
 
2:36 AM
[rubberduck-vba/Rubberduck] build for commit 95dd6dfc on next: AppVeyor build succeeded
 
 
2 hours later…
 
1 hour later…
5:38 AM
> How about a Refactoring that can convert this:
`
Public Name As String
`

to this:


```
Private mName As String
Public Property Get Name() As String
Name = mName
End Property
Public Property Let Name(ByVal vNewValue As String)
mName = vNewValue
End Property
```
 
6:21 AM
0
Q: VBA_How to compare two lists

HiddenllyyGood morning, I'm working on a report of quality control. I have a list L, which contains the names of files that I should open and import the data into EXCEL, then fill my quality control table by these data. And at the end, I want to know which file in the list has not been opened, that means...

 
7:16 AM
Be interested in your DI article you mentioned @Mat'sMug to learn more about it thanks.
 
8:05 AM
 
 
1 hour later…
9:17 AM
@ThunderFrame @PeterMTaylor. An interesting read. Does a good job of introducing 5 common DI frameworks. It's a quick read, and I often refer back to it, just to refresh, and especially before interviews.
 
@Gareth Thought you might enjoy this blog. mikejuniperhill.blogspot.com.au
 
you looking over my shoulder or something?
I'm having to implement convexity adjustment process into our futures and swaps variance for the IR curves
 
10:09 AM
0
Q: Paste one array (single dimension) with >100K item into a excel range

FabrizioI posted the same question on StackOverflow thread but I think here is the correct place to ask (if is not right, admin please to remove it).Every day I need to format date imported from AS400 (data, time,..). Usualy (for some thousands of record) I use this code. Public Sub Cfn_FormatDate(contr...

 
10:31 AM
Howdy y'all
Ok, put this on my Amazon wishlist. I have to plan my budget to get it. :)
 
@Gareth yep, I only found it because I'm rewriting our Bloomberg API code.
 
@ThunderFrame never heard of Libor. I almost misread that as Labor?
so is financial software by the looks of it
 
Libor = London Interbank Overnight Rate
 
oh right. sorry. cool.
 
@ThunderFrame : joy, we are moving from BBG DAPI to BBG Data Licence at the moment
But much prefer the BBG Server Side of DAPI anyway.
A trick I've gone back to is doing dim v as variant : v = BBGData.Load( ... ) : Names.Add( "allBBgData", v )
and then in a sheet doing =Vlookup("something", allBBgData,2,false)
 
nice. a variation on that might be worthwhile for this task
 
11:54 AM
Just upgraded my Visual Studio to Update 3. There is a option in the settings to turn off additional overhead for C# and Visual Basic compilation.
RD loads nicely and quickly but...
Just redone the same test to see how the latest commit looks. And doing a code inspection of my code.
 
hi pete
 
Yo! Gareth, what's happenin. You look busy with your work
 
what verison of VS are you on? I'm on 2012 at home, and 2012 at work. Have the option to upgrade at work, but then I'll end up on a non-enterprise edition if i try upgrade at home
 
Hi guys
 
man! work is just a killer at the moment!
 
11:56 AM
uh huh. Some people like work. :)
 
I love my job, but it's a bit much at the moment.
 
VS 2015 Update 3 at home. I don't program at work, a different field of science.
 
I'm writing in 6 different languages at work, and the context switching is insane.
 
Hi Matt.
 
I keep getting my VBA and Powershell syntax muddled. then off into C# and I type var x as string
4
 
11:58 AM
we can't put a syntax checker in our brains. Can lead to a sensory overload. :)
Yeah, I did struggle with different coding languages. COBOL and Visual Basic
looong time ago.
 
The inhouse language has linq like semantics, but they don't work the same, so you use Where clause in SQL, and over in QL you use a Where function, but you use .Values(list) instead of ForEach ( item )... It's madness today
 
@Gareth dang.. and I go int foo in VBA just out of switching from C# lol
 
:) exactly
or is that ulong fool
:)
which is what I'm feeling like most of the time these days
 
eh.. just saying hi, gotta run to work :-)
 
@Gareth you need more brainfuck in your day
 
12:02 PM
Just to let you know @Mat'sMug I'm shown the code inspector on my VBA code with the latest commit and did recalled your conversation to Hosch about how much memory leaking. The Diagnostic tool is running already at 611 MB.
enjoy your day otherwise @Mat'sMug. :waves:
 
@ThunderFrame yes, just need the fixed income guys to come down and tell me there's a new swap, and the Brexit means we are going for a whole new series of rolldates based on reverse alphabet. BECAUSE WE ARE SO FU%£$£$ING BACKWARD WE VOTED OUT OF THE EU!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!! !!!!!!!!!!! !!!!!!!!
 
@Gareth This gem is from 2000, but still a good read.
 
@Gareth it seems you also need a potted plant to yell at :)
 
> I can confirm this problem - Excel 2013, Windows 10 - when opening existing repo or creating new one, Excel crashes. In the log only one line with UI.SourceControl:
TRACE;Rubberduck.UI.SourceControl.SourceControlViewViewModel;Opening existing repo;
There are some log entries for rubberduck afterwards (DEBUG;Rubberduck.Parsing.VBA.RubberduckParserState;ParserState evaluates to 'Pending' (thread 7) and the like - so rubberduck seems to continue to work, but Excel tries to restore and exits.
E
 
@Gareth It seems like a stretch, but this Quartz article is suggesting that brexit is all just a bargaining play: qz.com/717781/…
 
12:05 PM
@Vogel612 Just incase you don't know. Britain opted out of the EU. Which is basically going to bugger up the world economy for another 5 years.
 
@Gareth I have a pension in GBP :(
 
I know. yell all you want. I'm gonna sit here, with my popcorn and watch it all go up in flames
 
@ThunderFrame That would be a very interesting outcome, and one that would cause huge problems constitutionally in the UK
Not only would you have to rethink every referendum ever had, but you would have absolutely no certainty on the outcome of any future referendum.
 
English constitutional law is made all the more confusing by the fact that there isn't a written constitution?
 
well I'm safe. It's in AUS but some people I know had their GBP set up.
 
12:07 PM
If politicians wanted to back out Brexit. Which they can't anyway, then they'd be going against a fundamental principle of democratic process
 
Scotland may slap the UK to behave about this Brexit.
 
@ThunderFrame I think there is the Magna Carta, isn't there?
 
yes, but they could always hold another referendum about the specifics of exercising article 50
 
> Two more things: I remember also having the same issue when I once tried v2.0.2a, and the rubberduck appdata folder is also present (also made clean install, deleted the folder before).
 
@Gareth meh... at this level of splitting across the country I wouldn't blame them
 
12:09 PM
@Vogel612 Sure, but there's nothing about the separation of powers and the process of issuing writs, etc.
my wife is one of the lazy ex-pats that didn't vote because she thought Remain had it in the bag.
 
well sometimes something else happens to prove the original idea wrong.
 
like scotland and northern ireland saying "bye bye"
 
I liked these tweets the other day:
I'm never giving up my seat to an old person again. Especially the metro, which the EU helped pay for. https://twitter.com/gilescoren/status/746594708978278401
 
Personally I'd like either another referendum. Boris Johnson to come undone. Nigel Farage to come undone. David Cameron to take back control. SNP to calm themselves. Labour to catch a wake up and dump their damp rag leader
 
how did you embed these twitters @ThunderFrame I tried failed.
 
12:15 PM
post the tweet link, and only that
 
okay then will remember only that. :)
 
TBH -I think that's the first time it's worked for me.
 
I wonder how the Queen's constitution will play out once the writ's written up...
I don't think it had much to say in regards to Brexit.
 
gee, here's hoping the Queen doesn't fall off her perch this week....or @Gareth's swaps are going to bomb.
(not because she actually does anything executive, but the tourism industry would take a hit)
 
yeah a bite too deep.
Really there was an issue originally that the rules in the UK had to be satisfied in order to Aussie to visit from a vista point of view.
anyhow I will say good night now as I need some forty winks to enjoy my work tomorrow.
Take care Gareth.
 
12:26 PM
meh, I was living in London when the passport crisis was on. I had to fly from London to Canberra to renew my work Visa :(
 
.
 
@Gareth lol see, there's always someone else stuck with worse code! =)
 
@Mat'sMug oh, I thought you had scribed it :)
 
12:57 PM
@Vogel612 I'm out of popcorn already :(
hey btw
 
haha.. it did remind me of that horrible VB6 mess from my previous job. Mentality was that clean, testable code is a "programmer's fantasy", "we make doors and windows, not fancy code"... yet I never made a single door or window in two years, just kept maintaining horrible, horrible code.
2
 
Do you guys work on WPF programs here too, or what is RubberDuck exactly?
(I'm not the type of guy that writes VBA ;))
 
1:21 PM
@skiwi it's a COM add-in that extends the Visual Basic Editor, the VBA IDE. We use WPF for custom UserControl UI's which we embed in WinForms/WPF interop host containers which go either on a WinForms UserControl (for docked toolwindows), or in a WinForms dialog (for, well, dialogs). Otherwise, menus and context menus work off the VBIDE API. We use WPF, but we're totally not a WPF app.
 
Ah okay... sounds horribly complicated though, but if that's the only way ;)
Was more wondering where I can find best practices about making a WPF app, I'm a bit lost, but doesn't look like this is a great place then for that purpose
 
oh, but we do apply MVVM :)
 
My closest experience is JavaFX 8 and swapping window contents out was a bit horrible
What I've read so far I need to use something like Pages
 
hmm never used pages in a WPF app. I think @Hosch250 did.
 
I'm not even sure if that's what I'm looking for though :P
 
1:28 PM
1
A: WPF Best Practices?

Botz3000One thing WPF facilitates is separating business logic from your UI (which is always a good practice i think). The most popular design pattern that is based on this principle is MVVM. You might want to take a look at it: http://en.wikipedia.org/wiki/Model_View_ViewModel

you could start with MVVM
 
I think I'm more looking at this for now:
21
A: Changing content dynamically in wpf window

TomtomYou can put the content of the window into a UserControl. Your window then only has a content-control and a button to change the content. On a click on the button you can reassign the content-property of the content-control. I've made a small example for this. The XAML-Code for your MainWindow...

 
ah
 
> When navigating between windows, you could simply create a new Window object and show it
That would be horrible I think :p
167
A: Window vs Page vs UserControl for WPF navigation?

RachelA Window object is just what it sounds like: its a new Window for your application. You should use it when you want to pop up an entirely new window. I don't often use more than one Window in WPF because I prefer to put dynamic content in my main Window that changes based on user action. A Page ...

^^ That seems to be the better answer though
Though MVVVVM seems to be the best way to go
 
Model-View-ViewModel is just a name stuck on the architecture of the thing
@skiwi yup, looks like it. and that's why I never needed a Page in WPF :)
 
I'm still oblivious on the pros and cons of WPF vs JavaFX 8 but I may figure out in time
Direct compilation to an EXE is a big pro though
 
1:38 PM
I don't know how JavaFX layouts work, but in WPF they're a charm
 
It's pretty similar to JavaFX, like almost 1:1, except in JavaFX they always bite you
They will never do what you want ;)
 
take localization as a concern: in WinForms you need to make a label wide enough to fit the translated content; in WPF you tell the label how to resize itself to fit its content
a parent will always resize to fit its child controls, by default
 
rachel53461.wordpress.com/2011/12/18/navigation-with-mvvm-2 this MVVM looks horrible though at first look
 
                    <Button Content="{Binding Name}"
                            Command="{Binding DataContext.ChangePageCommand, RelativeSource={RelativeSource AncestorType={x:Type Window}}}"
                            CommandParameter="{Binding }"
                            Margin="2,5"/>
that {Binding ViewModelPropertyName} is where the magic happens
MVVM simply makes the view oblivious of anything beyond presentation concerns, e.g. how treeview nodes behave when double-clicked. everything involving data is fetched from the viewmodel with bindings
so the view knows about a viewmodel, but a viewmodel doesn't know of any view
 
So you wouldn't have any text in there?
And not even what happens when the button is clicked would be in there?
There = The view itself
 
1:45 PM
Command="{Binding DataContext.ChangePageCommand
you bind buttons to commands
 
That's pretty neat
 
very
 
I might still go for a step-wise refactoring towards the MVVM coming from nothing
 
you could still make a Click event handler and handle it in the view's code-behind, but that's clumsy
 
@Mat'sMug github.com/skiwi2/ArbitrageClient/tree/master/ArbitrageClient exactly like what I do in MainWindow there?
 
1:48 PM
yup :)
with a command binding, the framework knows to disable the button when the command's CanExecute returns false, too
how the framework knows when to evaluate each command's CanExecute is a bit magical TBH
private void FileExitClick(object sender, RoutedEventArgs e) => Application.Current.Shutdown();
wouldn't simply closing the mainwindow be cleaner?
 
Perhaps if that also shuts down the application?
 
you're bloody nuking your app with that button lol
2
<Application x:Class="ArbitrageClient.App"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:local="clr-namespace:ArbitrageClient"
             StartupUri="MainWindow.xaml">
    <Application.Resources>

    </Application.Resources>
</Application>
 
SO advised that over Environment.Exit(0)
 
yeah.... still, per App.xaml closing the MainWindow will shut down the app
 
I see the problem right now that I'm mainly programming based on SO references and that's not really solid, but need to start somewhere, perhaps CR can help later
 
1:54 PM
@skiwi That's exactly how I do it!
 
I tend to avoid having a StartupUri in App.xaml
public partial class App : Application
{
}
instead I write my startup logic here and override void Startup() (or whatever it's called)
that way I can set up IoC :)
 
One sure thing is that I still need to learn a lot :P
 
we all do
@skiwi you'll need this
oops, it's derived from this:
    public abstract class CommandBase : ICommand
    {
        public virtual bool CanExecute(object parameter)
        {
            return true;
        }

        public abstract void Execute(object parameter);

        public virtual string ShortcutText { get; set; }

        public virtual RubberduckHotkey Hotkey { get { return RubberduckHotkey.None; } }

        public event EventHandler CanExecuteChanged
        {
            add { CommandManager.RequerySuggested += value; }
            remove { CommandManager.RequerySuggested -= value; }
you probably won't need the ShortcutText and Hotkey members though
here's a simple example, from the about window - this command navigates to a hyperlink:
        private CommandBase _uriCommand;
        public CommandBase UriCommand
        {
            get
            {
                if (_uriCommand != null)
                {
                    return _uriCommand;
                }
                return _uriCommand = new DelegateCommand(uri =>
                {
                    Process.Start(new ProcessStartInfo(((Uri)uri).AbsoluteUri));
                });
            }
        }
so in the XAML we have a <hyperlink> tag bound to that command, passing a url as a parameter:
        <Hyperlink Name="WebpageHyperlink"
                    NavigateUri="http://rubberduckvba.com/"
                    Command="{Binding UriCommand}"
                    CommandParameter="{Binding ElementName=WebpageHyperlink, Path=NavigateUri}">http://rubberduckvba.com/</Hyperlink>
the Name property is only needed because we bind the CommandParameter property to a property of the XAML element itself... are JavaFX bindings this flexible?
gotta get some work done, bbl
 
2:22 PM
@Mat'sMug I got called away, will read back up later tonight, definitely appreciate it though :)
@Mat'sMug I think so, I remember them as being very flexible at least
 
@Mat'sMug Not exactly.
You can localize the width, position, and display of a label.
 
That's with "proper wpf localization" - I only meant that if you changed the content of a label, its size adjusts automatically. WPF localization "done right" is too complicated to my taste... I guess I need to read up on it. Still, I'm happy with resx :-)
 
In a full WPF app, you just stick your strings in a resx in a certain location with a certain name.
 
Some of the comments in the indenter settings preview should probably be localized. There's content there:
Case ""Continued strings and parameters can be"" _
& ""lined up for easier reading, optionally ignoring"" _
& ""any operators (&+, etc) at the start of the line.""
 
ugh. That's a painful one to localize
But you're right
 
Why can't everyone just speak English?
2
 
Qué?
 
> This was a bug because the references weren't being cleared before a reparse, resulting in duplicate references.
 
2:44 PM
@Hosch250 looks like there's still issues with SC. Did you try using it like you're a clueless 5yo messing around with the mouse and clicking everywhere because "oh the shiny buttons"?
 
It consistently happens with initializing a repo.
 
Yeah
 
Something in the Git provider class is throwing.
 
What's up with that?
 
I don't know, it is probably an NRE.
 
2:46 PM
Is that the same issue VS2013 has with requiring bare repos? (VS doesn't crash though).
 
No, they are trying to initialize a repo from something.
I just duplicated the crash when I tried to initialize a repo without a project open.
Apparently they think init repo is the same as create repo for future use.
 
The UX is terrible FWIW. It's very hard to tell what's doing what.
 
I agree. Those buttons without names wasn't my idea, though.
 
Even if it plainly said "init repo" and "create repo", it wouldn't be any better
 
I should make the four open/init/clone/publish buttons into a Manage menu with text.
@Mat'sMug Why not?
 
2:50 PM
The buttons need tooltips that tell users what to use the button for in understandable terms, not in git lingo
And the wiki needs to document them all too
@Hosch250 I like that actually. Could a descriptive text be added to each menu item, kinda like some of these "large buttons" in Office Ribbons?
 
Yeah.
You mean a tooltip?
You can make tooltips as fancy as you want.
 
No, I mean the actual menu item
 
Oh, like Publish Repository and Initialize New Repository?
 
Shouldn't publishing create a bare repository?
 
@Comintern No.
 
2:55 PM
It would be the icon and a bold "title", and under it a semi-short description that explains what it's for
 
I couldn't figure out how to create an empty repository on GitHub, so I make the user create an empty one, then set the tracking and push the changes.
@Mat'sMug Show me an example.
I was just thinking more like the grouping menu items, only not selectable like that.
I'd put any descriptive text in the tooltip.
And we need a (?) button to link to our webpage's Source Control page, once we get it up.
 
191
Q: Is it possible to create a remote repo on GitHub from the CLI without opening browser?

anddoutoiI created a new local Git repository: ~$ mkdir projectname ~$ cd projectname ~$ git init ~$ touch file1 ~$ git add file1 ~$ git commit -m 'first commit' Is there any git command to create a new remote repo and push my commit to GitHub from here? I know it's no big deal to just fire up a browse...

 
if we can have them something like this, then we don't need any tooltips
 

« first day (754 days earlier)      last day (2426 days later) »