« first day (478 days earlier)      last day (3526 days later) » 

2:01 PM
:17329768

input = property.PropertyType.Name == "Boolean"
    ? new ExpressFormsCheckBox() { FormName = FormName, InputName = inputName, Value = value, IsVisible = isVisible }
    : new ExpressFormsCheckBox() { FormName = FormName, InputName = inputName, Value = value, IsVisible = isVisible };
in-fact you could have written the entire if-statement like this

input = input ?? property.PropertyType.Name == "Boolean"
    ? new ExpressFormsCheckBox() { FormName = FormName, InputName = inputName, Value = value, IsVisible = isVisible }
    : new ExpressFormsCheckBox() { FormName = FormName, InputName = inputName, Value = value, IsVisible = isVisible };
 
@Vogel612: Ended up having to use a decorator because Guice doesn't support injecting parameters into Aspects :p
 
@BenVlodgi Is there even a difference?!
 
input = input ??
 
@Malachi property.PropertyType.Name == "Boolean" ...
 
2:08 PM
@BenVlodgi oh that part! I am going to steal use that and edit it into my answer.
@BenVlodgi I was going to ask about that. how does the "??" work again?
 
I'm assuming PropertyType is his own class, right?
 
@Malachi if (expression == null) { do..
 
var understanding = csharp ?? JAVA;
5
 
because I'm a big fan of .GetType() == typeof(bool)
 
@BenVlodgi that actually looks reasonable...
though I think: .getClass() == Boolean.class looks nicer.
 
2:10 PM
well, that is how it is normally done in C#
I just don't know if this guy is using his own stuff TLDR
 
@BenVlodgi not sure either, I tried to keep to his code as much as possible
 
2:35 PM
0
Q: ThreadSafeKeyedObservableCollection<TKey, TItem> is a thread safe collection. Any issues with the code?

user2934236public class ThreadSafeKeyedObservableCollection<TKey, TItem> : IObservableList, IList<TItem> where TItem : IKeyProvider<TKey> { #region Fields private Dictionary<TKey, TItem> _dict; private IList<TItem> _collection; private readonly object _locker = new object(); publ...

 
http://prntscr.com/4gb3ph
I broke google guice. I have no idea how. HOORAY
2
 
@DanPantry Nice
I still think I deserve more points for breaking the Java JDK though.
3
 
▲ that
 
@Skiwi: 10/10
 
But yours is on a commonly used library, so you get lots of points too :)
 
2:37 PM
@CaptainObvious please edit titles!!!!
 
I didn't set up the dependency on ScheduledExecutorService and it broke. -shrug-
Java truly is the kingdom of nouns
 
I've made worse classnames
 
0
Q: Prevent client-side tampering of disabled fields in ASP.NET

KyleMitWe're using ASP.NET WebForms. Sometimes, due to varying business rules, a user might have permission to edit some, but not all of the data. Typically, we'll just disable any ReadOnly fields so the user can still see them, but not change the data. However, this leaves open the possibility tha...

 
@Skiwi That's a JDK class name
If there are any suggestions on how to handle this exception better, I'd appreciate it
 
@DanPantry I think it is completely reasonable
 
2:44 PM
the name or the exception handling?
(or both)
 
@BenVlodgi I need to go through that code, I left input unassigned, I didn't finish a thought in the code
 
@DanPantry the name for sure
 
@Malachi you also had one too many commas in the first assignment of the if statement
 
The OCR I'm using is very consistent in reading a - as a —
 
@BenVlodgi I saw that when I was creating the ternary, I am screwing my answer up!
I think I have this figured out though, give me about 10 minutes
 
2:52 PM
@skiwi no, it's reading the dash right
that's just the ansi representation; try changing your encoding to utf-8
3
it's an em dash, 0x2014
 
Nice, @Schism .... nicely done.
 
@rolfl I knew there would come a day where my years of experience with bad encoding would be useful!
4
 
@Schism Heh, it is?
that's an interesting lead I can follow tomorrow...
 
TL;DR; check it out now @BenVlodgi codereview.stackexchange.com/a/60810/18427
@Jamal, I have 16 more rep than you this month, at this moment.....holy crap I need to get some work done at work....lol I am in a coding groove!
 
3:21 PM
somehow I made +75 with a random CR-ish answer on Stack Overflow yesterday.. and now I can access the disastrous SO close queue, yay.
4
 
1
Q: Tic Tac Toe with classes

Talha JunaidI have created Tic Tac Toe in c++ using classes. I want to know that is this an efficient code? And compiler gives some warnings. Header file goes here "TicTacToe.h" #ifndef TICTACTOE_H_INCLUDED #define TICTACTOE_H_INCLUDED class TicTacToe { public: TicTacToe(); ...

 
@Mat'sMug Congratulations(?)
@CaptainObvious I should also make something in C++ sometime...
 
OP will be coming our way ;)
 
0
Q: STL List Implementation C++

Kaidul IslamI've implemented a STL like list. But I am struggling with implementing copy constructor, assignment constructor and some buggy member functions. #ifndef list_H #define list_H #include <iostream> #include <stdexcept> template <typename T> class list { public: // Rule of three list(); ...

 
3:39 PM
@Mat'sMug how much rep for that?
 
@Malachi 3k on any non-beta site
 
and another Necromanswer BADGE! I didn't type that on purpose...lol
anyone want to upvote all my crappy answers on SO?
 
I'm in absolutely no danger of having any meaningful privileges on SO any time soon.
4
 
@Donald.McLean I am getting closer to instant-editing, but alas, the CVQ is still quite a way to go for me ;)
 
4:29 PM
@MartinR and DarkDust, this may be a good discussion for the 2nd Monitorrolfl ♦ 8 secs ago
Hey MartinR.
Welcome to the light side.
I realize now that my comment there is not true. It does not break the outer loop when left * left < largest, but it reduces it to O(n) instead of O(n^2) for the remaining values.
 
@rolfl Hi! - As soon as left * left <= largestPalindrome there is no need to execute the inner loop at all. E.g. for 5-digit numbers this condition is satisfied for left==99829
 
^^^ what you say... ;-)
 
uaaaah large integer math...
maybe ima put up my #4 solution for review too...
 
Let me clean up my bogus comment there.....
@MartinR -also, as you can see, I do not review very much ;-)
I just happened to see some issues, your answer is much more expert-based than mine.
 
Swift kind of looks like a C#, Java, VB Mutational merge.
 
4:42 PM
@Malachi well.. That's because it is..
add in some objective-c and you're good to go.
that's why it's so creepy ;)
 
@rolfl Perhaps with regard to the Swift language, but it seems to be that you and most people answering here know much more about coding style, best practises etc than I do.
2
 
@Vogel612 I don't like swift already.....no semi-colons, it's not a real language....
 
@Malachi From nondot.org/sabre: " ... drawing ideas from Objective-C, Rust, Haskell, Ruby, Python, C#, CLU, and far too many others to list."
2
 
@MartinR We're just fakers .... ;)
3
Hungry Monkey I am.
 
@rolfl well I am a hungry and tired bird, so ima go home now ;)
 
4:48 PM
@rolfl Is there some rivalry between this site and SO that I should know about?
 
have a nice lunch ;)
 
hi
 
@MartinR not really. We just dislike retards uninformed SO-Users that redirect off-topic questions to here
But there's open war between us and our nemesis Programming Puzzles & Code Golf
4
 
Who is currently winning that "war"?
 
We are, because we have valuable content
(I admit that I might consider the whole PCG thing a waste of time)
 
4:52 PM
Well I like the idea of PCG, but I think it belongs to a different kind of programmer.. Revewing is in my opinion more useful..
6
 
@Malachi Don't need no steenkin' semicolons cluttering up the code.
 
@Donald.McLean lol
 
"I'm a strong independant programmer who need no semicolons"
 
In Scala they're optional except when you have more than one statement on the same line.
 
sounds like sh
@Vogel612 on the one hand, there is CR, on the other, there is pizza. No war!
Who cares about PCG?
 
4:57 PM
when there's pizza...
 
> 299 days, 299 consecutive
 
@JeroenVannevel We have our own kind of PCG's... remember ?
But in our PCG's, there are no only winners!
 
My Java class starts in half an hour...
 
Nervous?
 
5:03 PM
@Jamal What JVM are you using? That seems excessive.
12
 
Sort of. New building, new instructor, new class, new language.
 
Sh*t, spilled my drink
 
lol
 
@Pops lol
Way to Pop in a random joke. :P
 
2 mins ago, by Pops
@Jamal What JVM are you using? That seems excessive.
And that, people, is how to lurk properly
4
 
5:05 PM
@Malachi I wasn't talking about a review of this site so much as an overhaul of the community team's process, to be fair. [<-- EDIT: disregard that; as Mat's Mug points out below, I was confused about which statement you were referring to.] But CR closing isn't something anyone needs to worry about.
 
cough
I posted an answer to another question about the status of Code Review earlier today. It's not exactly an answer to this question, but it's fairly relevant. While I was writing it, I thought to myself that this site looked good a year ago, and it's only gotten better since then. I'll try to find time for a full review sometime this week. — Pops ♦ Aug 5 at 20:07
;)
 
@Mat'sMug Oh, I thought he was referring to my meta answer.
 
 
TBH I find with SEDE we can pretty much self-assess where we stand and where we were, it's a fabulous tool .. oh look ^^
 
Code review is ..... stable.
 
5:11 PM
@rolfl The site, sure. Maybe not the mental state of its community though... :P
 
@Mat'sMug I remember starting to look at this, but not writing anything up. Sorry about that. If it makes you all feel any better, I'm about to feel a lot worse. Going to the dentist for half a dozen shots and some scraping and other such things in a few minutes.
4
 
Well, that's suction!
 
I've given you a star, if that makes you feel any better.
3
 
well that helps :)
 
When you're done, post a pic, and we'll review ... ;-)
 
5:13 PM
@Jamal nice pun there
@Jamal Java or JAVA?
 
Today is beta day #1313. 24 days to 1337...
 
@rolfl I've already promised to have a Google hangout with the team where I'll try to say words with a half-numb mouth. That may be the limit of my willingness to share my misery.
 
Post to the tube!:
 
Wow, this really is a star-happy room.
20
 
RSA ^^^ ;0
 
5:15 PM
@Pops Yes, the rumors are true.
 
@SimonAndréForsberg Since this takes place in school, I'm sure it'll be JAVA.
 
@Pops Sometimes, we're even a pin-happy chat-room.
 
Oh damn. Someone had fun with One Vote Short.
 
Not just me?
 
0
Q: Getting multiple keys' values from nested object in JSON (w/out jQuery)

user1613163JSON newb asking: I'd like to ask if either my json data is ill-conceived and whether how I solved it is particularly inefficient/plain stupid/typical. Given the following json data: { "User01": { "dates & times": { "date 01": "150", "date 02": "165", ...

 
5:23 PM
@Jamal Pay attention!
 
Could I ask you questions from the lecture, and then tell me if it's applicable to Java or JAVA? ;-)
3
 
@Jamal Absolutely. Looking forward to it!
A Java or JAVA quiz, I wonder if it's as hard as Postbox or Cheese?
 
I might just do it afterwards, especially when I get my first assignment.
 
is there anything to say about performance on that one?
1
Q: Optimizing a social network website

DominoI am developing my social network website, and I want to know if it's optimized or not. I am good at ASP.NET 4 and WebForms, but not MVC or JavaScript. This code is for "liking" a post. I did not use any JavaScript to do that. Is this "like" button optimized or not? How many online users can...

I mean, OP is asking How many online users can my server handle... seriously...
 
@Mat'sMug There are some good SO questions about performance testing servers with heavy load
I guess that's all we can tell him
 
5:34 PM
:o I see a wild @Pops, anything interesting coming up?
 
@skiwi Sorry, you missed it. Scroll up. I was a big disappointment, but I started off with a joke and ended by pointing out that I'm going to suffer later today, so it's okay.
 
AARGH, can't star the joke....
@Pops give us more stars to use ;)
 
@Pops Ah okay... I was busy with my github/SE-chat integration :)
 
@Vogel612 Rescind a star you gave to someone less funny than me!
3
 
:) :) :)
in TCG Creation, 1 min ago, by Duga
[skiwi2/GithubHookSEChatService] skiwi2 pushed commit eec2661e to master
 
@Mat'sMug TSG / PIN
@Vogel612 TSG
 
@skiwi Good work @skiwi @Duga! (Hey, that's my bot!)
@moderators If you're wondering, this is my sock-puppet:
These bots are not good for our user-retention metric!
 
6:24 PM
0
A: Code Review vs. Help me solve my problem

Simon André ForsbergKeep It Simple, Stupid! That's right, I think we should remember the KISS principle when it comes to our rules. Essentially, I think this answer says it best but I will elaborate a bit. I have solved problem X this way and here's my code, but I know there must be a better way! How would y...

@rolfl and others ^^
 
1
Q: Safely getting the next element of a list

CarcigenicateI'm looking for general review and improvements on this code that safely gets the next element of a list (and wraps to the first element if you exceed the list). It just seems a little excessive for how simple of a task it is. Thank you nextElem :: Eq e => e -> [e] -> Maybe e nextElem e xs = ne...

0
Q: solving ax+b>0 type inequalities in prolog

user51814I am new to Prolog and inequalities. I am working an a step by step solution for ax+b>0 type of inequalities. This programs just gives the answer. But I need a better way to code this program. How can i code ax+b>0 type of inequality using prolog. The code is as follows. linear:- pr...

 
50
Q: BrainFuckedBotsForBattling - A Brainfuck Tournament

CipherAll bots at the battle arena suddenly got brainfucked and no one can explain why. But who cares as long as they are still able to fight - although Brainfuck is the only language they understand anymore. Scoreboard | Owner | Bot Score | |--------------------|----...

 
@sim well done!
 
@Simon just messed me up totally .... ;-)
I mean, first he says things in a sensible way that argues that not working cod eis on topic.....
 
@Mat'sMug @rolfl What have I done now? :)
 
6:38 PM
Then he says:
> That's really the summary of it all. If you have code that does what you want, you're on topic. If you have topic that does not do what you want, you're off-topic.
 
@rolfl Did I say that?
 
No, actually you didn't
What you said in the answer is approximately exactly how I think things should be done.
 
> approximately exactly
 
Unfortunately, I think the biggest issue is the change in sense on this question:
 
So what I said is approximately, exactly, about, to be more precise, ca., exactly what you think?
 
6:41 PM
> I think that sometimes it's just a question of mis-formulation, an OP might say one thing but mean another. For example, when you say "How would you do it?" you might mean the same thing as if you would ask "How could I do it better?"
3
Q: Many interfaces and lots of inheritance vs few interfaces and less inheritance?

AlexI have a Visual Studio Solution which has a bunch of Projects in it. One of these projects is called "Services" and is basically the junction point between all remaining projects. When I built it originally I made it as generic as possible so I can expand on it. At the time I only had to work wit...

 
Think about it @rolfl, why do you think someone would ask "How would you do it?" ? What is the 'question behind the question' ?
 
How would you di it.
 
@Mat'sMug Why did you remove your answer to that above question?
 
it appears that I am running out of examples of what I think the problem is.
 
@rolfl I do not consider that as a 'How would you do it'-question
I think the reason for why someone would ask "How would you do it?" is to find out the answer to "What is the best way of doing it?", which is essentially the same as "How could I have done it better?"
 
6:44 PM
@SimonAndréForsberg looks like it
 
@Mat'sMug How can the answer to why be "looks like it"?
 
It's 'make my ass thin!', as opposed to 'is my ass fat?'
 
oh I missed the "why" part
I replaced my answer with a close vote...
perhaps I could edit and undelete
 
@rolfl Name one CR answer that does not help in making the ass thin
 
It's OK to povide a slimming answer, it is not OK to ask a slimming question
 
6:48 PM
@rolfl I think you know already that I disagree with that?
"How could I have done it better?" is a "Make my ass thin!" question but that's perfectly on topic here.
 
@SimonAndréForsberg You're awesome. You somehow just summed up a week's worth of dicussions into several paragraphs. Well done good sir.
 
yes, and I think it is a general enough agreement that I am not representative of the ocmmunity on this one.
 
@Mat'sMug "As it stands you're not really asking for code to be reviewed, rather for your design to be peer reviewed." See my meta-answer about that one. (I would remove that entire section of your answer)
 
the ocmmunity still likes you, monkey ;)
6
 
The community does too.
 
6:50 PM
What it really means is that, for me, I put the off-topic line at the code works approximately well enough, and I can feel free to downvote and not answer ;-)
 
And the tpoys like you even more
@RubberDuck Someone had to do it!
 
@SimonAndréForsberg ok so I've edited and undeleted.. and was going to retract my close vote, but now it's closed.. so is it on or off topic?
 
And thanks a lot @RubberDuck. :)
@Mat'sMug I voted "unclear what you're asking" ;)
With a bit of more context, it's on-topic
 
so I should have left that answer deleted then
 
> As it stands you're not really asking for code to be reviewed, rather for your design to be peer reviewed.
^^^ that ;-)
 
6:55 PM
Oh crap, I slept through Java class!
3
 
@Mat'sMug Your answer is essentially exactly why I voted to close as unclear what you're asking :)
@rolfl Code is/can be/represents design!
 
@Jamal TS! And... really?
 
@SimonAndréForsberg how should I take that +1 then?
 
@Mat'sMug Modestly?
 
@skiwi Nah. ;P In fact, I was one of the only one who answered questions.
 
6:57 PM
and gone
 
(waits for a Pops joke)
 
(sorry upvoter)
 
@Jamal Oh... that feeling, when the others really have no single clue what they are doing
 
@Jamal - in one sentence, what was the first class on?
 
Fortunately, I can use Netbeans, which is good because I do not like Eclipse. However, I have to use Java 7.
@rolfl Pretty much the basic terms and syntax of Java, as well as comparisons between Java and C++.
 
6:59 PM
K.
 
Could I still have both Java 7 and Java 8 installed?
 
Of course
 
@Jamal You can even just only install Java 8, and use compatibility on Java 7 for your project
 
We are provided a link for Netbeans + Java 7, so I'll use that.
 
@Mat'sMug You should take it precisely as what the votes are for: I agree with it :)
 
7:02 PM
I can also use SSH and write my programs through Linux. The university as a whole supports Java 7.
 
anyone want to give me some more test cases for this question? I have written some code and want to test it, the way I think it works, same rules about not using array methods.
3
Q: Summing up distinct elements in steps

user3496101My current task is to find a score from an array where the highest/lowest scores have been taken away, and if the highest/lowest occur more than once (ONLY if they occur more than once), one of them can be added: E.g. int[] scores = [4, 8, 6, 4, 8, 5] therefore the final addition will be \$\sum{...

 
@SimonAndréForsberg ok, but it looks like I'm answering off-topic questions, which isn't exactly examplary...
..so I'd rather delete it
 
Note that testing "output.length() > 0" works inconsitently. It removes trailing spaces, but not trailing spaces. "..a.b.c.." gives "c.b.a.." (where . represents a space for readability). — Florian F 3 mins ago
> It removes trailing spaces, but not trailing spaces.
@Mat'sMug It's not off-topic, it's unclear (in my eyes at least ^^)
 
Ok. So, setting up a repository has turned out to be a huge PITA. How to I get new files into the origin repo @ducky?
 
^^ commit?
 
7:06 PM
@quack?
@RubberDuck push?
 
@Mat'sMug It's only updating the refs, not pushing the actual files?
 
no idea
 
I already proved my code wrong....
well that was an easy fix. but I think I need more information, this seems oddly easy for a challenge.... I assume that if they are all unique then I need to lose the highest and lowest values....
 
@RubberDuck first off: What VCS are you using????
dammit, commit is three horses with 5 colors in the different systems.
 
git
 
7:10 PM
Commit updates the ref in your local repository
to make them applied to the remote (central) repository you need to Push them
 
@RubberDuck How is git init a PITA?
 
but you can't commit without having the files added
@SimonAndréForsberg TS
the remote repository (server) should be initialized with a bare repo (no working copy for the files
you can do that by calling: git init --bare
but check the man-page of it for more info
 
@Vogel612 ... because git commands have great man pages right ;-)
 
@janos well...
they are mostly better than what you get for quite some of the linux commands I know.
 
if @RubberDuck tells us more I'm sure we can help
 
7:13 PM
but yea, it's help-pages.
definitely...
 
I'm trying to get this to work.
I can create the repo, and clone it.
 
I've been really looking at kernel.org/pub/software/scm/git/docs/git.html recently, I like that git manual quite a lot
 
git's man pages suck, and I actually like man pages in general
 
Then I have to add a file and commit.
Then I push, but no files end up in the origin repo.
 
@janos meh, they're not even half bad..
@RubberDuck did you intialize bare?
 
7:14 PM
@RubberDuck Are you creating the repo on the network drive?
 
Yes and yes.
 
additionally you should definitely check the git-url
 
@RubberDuck When you do git remote what is the output?
 
Well, I just wiped everything to start over. Give me a second.
 
@RubberDuck I can tell that you are a Windows user.
 
7:16 PM
so @RubberDuck, you have your local repo somewhere. cd there now
create the remote repo with: git clone --bare . /g/scripts/blah.git
 
I'm shutting up and letting @janos handle this one :)
 
git remote add upstream /g/scripts/blah.git
@SimonAndréForsberg lol
 
@janos ok, now I have a xxx.git folder. That's new....
last time it was just .git.
@SimonAndréForsberg Am I that obvious?
 
great the site is back :)
so yeah, .git extension for bare repos is the convention
 
Stack Exchange is offline!
 
7:27 PM
> Stack Exchange is currently offline, we'll be back shortly!
What?
What will I do now?!
Google > In Cache
 
in windows, in git bash, you can use unix style paths, for example //share/name/some/path
and for local drives like g: and c:, /g/some/path and /c/some/path
 
And I haven't even received the swag for my UPS drawing from last time yet.
 
git push origin master
error: src refspec master does not match any
error: failed to push some refs to 'file://c:\users\username\documents\wscripts'
And stack is offline, so I can't look up the error......
 
show me your git remote -v
and I don't have windows now to test paths like file://c:\users\username
 
@200_success I'm not expecting the swag anymore :( ..should we start harassing Tim?
 
7:31 PM
I would think you'd have to escape the ``
 
origin file://c:\users\username\documents\wscripts (fetch)
origin file://c:\users\username\documents\wscripts (push)
 
it's really simpler to write unix style paths
 
Paths look fine.
I just have to input them with \\ instead of \.
 
would be so much easier with all /
git remote set-url origin /c/users/username/documents/wscripts.git
mv /c/users/username/documents/wscripts /c/users/username/documents/wscripts.git
git fetch origin
 
What's mv?
 
7:33 PM
it's just to rename your directory to have a .git suffix
it's a bare repo, right? at that path
 
Oh, move.
 
@Mat'sMug I'll see what I can do.
 
great!
 
@janos Yes. Bare repo.
 
so, your blog post was fine, and if you were expecting to see your project files in the bare repo, then you are confused, because a bare repo is not for browsing your projects, it's just version control data, without "working tree"
 
7:36 PM
Ohhhhhhhhhhhhh
Shite.
No. I need to actually keep the files on the network. Ok, I'll keep working at it. Thanks @janos.
 
@RubberDuck Should the C:\users files really be your remotes? That sounds more like your local repository
 
I'm just playing with it local to figure out how it works first.
I'll eventually create file://\\server\share\repo
 
Alright, just wanted to be sure you knew what you were doing :)
 
I most definitely do not know what I'm doing. lol
 
@RubberDuck please, call it //server/share/repo ....
 
7:39 PM
I will @janos.
 
@RubberDuck if you could describe what you really want, we could help you better
 
Beep Beep Beep. X-Y Problem detected
 
@RubberDuck on another note, this is what I came up with; cleans up as expected:
 
What I really want, is to set up a repo on a network drive (complete with files). So I can pull it down to my local machine to do development, and then push those changes back to the repo on the network.
 
CleanExit:
    presenter.Dispose
    Set presenter = Nothing
    Set childPresenter = Nothing
    Set uow = Nothing
    Exit Sub
(which is still a PITA)
 
7:43 PM
@RubberDuck I thought so, but you don't need it to be browsable for that
 
-2
Q: Merge Sort Implementation in Python unorderable types

user3814876This merge sort implementation fails on this error: " if (left_list[0] <= right_list[0]): TypeError: unorderable types: int() <= list()." I know what the error means but I don't understand why right_list[0] is of type list instead of int. def merge_sort(array): def merge(left_list, right_...

 
a bare repo is not browsable, but you can push to it and pull from it
you can easily test this by cloning from it after you created it
 
@janos Ok, but my end users need to access those files (indirectly through a menu), so.... how do I do that if there's no files there?
 
@RubberDuck so it's not just a backup then
 
No.
 
7:45 PM
option 1: make it a clone
 
That looks like a good option...
I just did that.
 
keep a bare repo at some disk, not in your machine. In your machine you keep a clone, that you use to work on it. On the network share you keep a clone to let others use it
 
So, my "build" would actually clone the origin repo to a production clone?
 
if you don't mind
 
Better than nothing. No. I don't mind.
 
7:47 PM
but if for example you don't want the .git directory there, that's possible too, just more tricky
 
I just didn't understand how to make it do what I wanted. I think this will work for my purposes. At least for now.
 
@RubberDuck at some point, you might be interested in something like this:
1
A: Two git repos for the same files

janosI don't think your setup is bizarre. I know at least one guy who has an emacs hook to commit his repo every time he saves a file (he's an xemacs maintainer btw). There is a perfectly clean way of doing what you want, thanks to the GIT_DIR and GIT_WORK_TREE variables. For example, given any Git r...

ah, that's not the one...
 
@janos Looks greek. I'll come back to that when I get a better grip on this. Thanks for all the help. Much appreciated.
lol
 
alright alright
 
@janos Nice way of pimping an answer there :)
 
7:57 PM
@SimonAndréForsberg busted ;)
actually git tag upvotes are the last thing I want on SO
what I want to get more of is programming language upvotes
my profile is too much tool-oriented (git, bash, shell, linux, sed, awk)
 

« first day (478 days earlier)      last day (3526 days later) »