339 karma · joined May 30, 2010 (16y ago) · 160 submissions
comment 8y ago · link · parent
E&C is a useful tool, just like a debugger in general is a useful tool, despite early enthusiasm for unit testing having people claim you shouldn’t use debuggers anymore, but instead write unit tests to debug every issue. E&C can be misused. If i was using C# i would take generics over edit and continue if I could only have one, but I definitely prefer to have both.
The theory behind using personas is you get a better tool or solution by highly focusing on a concrete user rather than spread around a bunch of features across every possible customer. What i expressed is what is necessary to ‘get through’ to someone who hasn’t read a book like ‘the inmates are running the asylum’. That was true of many in Devdiv back at that time. UX is now recognized more firmly as a separable highly valued skill. If you read and understand the persona and still think ‘i’m a programmer, this is a dev tool, my opinion is more import than what the persona would want .. that is the audience for the above. I think that is what is present in the comment to which i was replying, so i was attempting to put it in those terms.
I do believe it is helpful to understand who a tool is designed for to see why it works as it does. Edit and continue when done well is incredibly ‘safe’. It does what you expect every single time, even if you don’t know how it is doing it.
A good example where there is a hard choice is changing a linq statement. To make E&C in a dev tool that holds true to ‘what is on the page is what runs’ you need to violate aspects of how deferred execution works. If the closure was already captured are all existing instances of them going back to the source as it is on the page now or the source as it was when when captured? I have a strong opinion that it should be the source on the page now to build a good E&C, but that choice is detrimental to learning what is happening with any type of deferred execution. The cost of implementation for my opinion is also probably two or more orders of magnitude in effort.
I also think ‘non-professionals’ should be able to program and get to something that works. Particularly in people who write developer tools the bigger chore is gaining empathy for people who deserve to program, but simply aren’t making infrastructure. My reply is counterproductive in trying to model proper empathy so thank you for calling that out.
comment 8y ago · link · parent
The horrible code you inherited as the programmer brought on is because some non-professional domain expert made a ‘hairball of extreme utility’ that unlocked product-market fit on back of a mess of experiments.
VB’s persona was ‘Mort’, literally a scientist trying to get an answer, or a business person trying to solve a problem, not a programmer trying to build a system. It’s 99 hairballs of no utility and 1 that wouldn’t have been built otherwise because no one knew it was useful until it exists.
Some categories of UI experience problems lend themselves to simply making the trial loop as quick as possible.
It is also true that understanding a dataset has an initial experimental component. No amount of thinking about code is going to tell you the dataset has a fatal flaw, until you discover it.
comment 8y ago · link · parent
The original release of VB.net did not have it, and was the highest priority feature to add back. When we added it back into Visual Studio, C# got it as well because it’s users demanded it. Anders was trying to ensure genetics made it into .net 2.0 and did not want the feature. I know he wrote some critiques that it encourages producing bad code.
I added it in the debugger, while each language team had work, and there was a massive work for the CLR.
Changing the current function is actually pretty easy .. it’s when you need to remap the instruction pointer in functions that have been edited multiple times and have frames trapped on a callstack across multiple threads.
comment 8y ago · link · parent
The dataset of 200,000 celeb photos with the face nicely centered at a known location is a nontrivial part of making the exercise feasible.
I trained on windows with a 6Gb 1060, and went off script from the DCGAN paper, by using upscaling rather than transpose convolutions. Once all the fiddling details are set correctly, the results are quite amazing. It didn’t even require a complete single pass over that dataset.
comment 8y ago · link · parent
comment 8y ago · link · parent
comment 8y ago · link · parent
Is the rework something that is actually comparable to normal automotive manufacturing lines? Or is it highly specific to EVs? If it’s EV specific it seems reasonable to believe there is no relevant institutional knowledge existing at Tesla’s competitors.
I have no background here .. how would one best decide if this is evidence Tesla is behind on a solved problem it’s competitors know how to solve or ahead on an unsolved problem it’s conpetitors are also struggling with outside of the limelight?
comment 8y ago · link · parent
comment 8y ago · link · parent
comment 8y ago · link · parent
comment 8y ago · link · parent
comment 9y ago · link · parent
comment 9y ago · link · parent
The Visual Studio codebase had (may have changed now) a dialog for debug asserts allowing you to suppress a single instance, suppress repeat instances of just that assert, or suppress all asserts, as well as a bunch of other features. I believe later versions of that macro made use of IsDebuggerPresent to change behavior when the process was being debugged or not. (I believe previous versions made use of a -different- hack to implement IsDebuggerPresent.)
comment 9y ago · link · parent
comment 9y ago · link · parent
comment 9y ago · link · parent
If the overhead doesn’t prevent capturing a trace reproducing the symptom, there is zero reason you cannot find the root cause. But that actually pales in comparison with treating the execution traces as data.
comment 13y ago · link · parent
You can argue it's a bad idea not to have one or both of those policies, but it is certainly possible to have a review system based on what one did, rather than based on the necessary political fight over cutting up the budget pie.
comment 13y ago · link · parent
I don't get the idea that you need to hate kids to decide that having your own is something you don't wish to do.
comment 14y ago · link · parent
I anticipate good reading ahead: http://www.paul-rand.com/foundation/thoughts/#articles
comment 14y ago · link · parent
[edit: If you wish to say a log scale is inherently misleading in this context ... go for it. That's different then saying the data is manipulated.]
[Edit2: The area is not meaningful. The widths are meaningful if there is a total ordering and the scale is labeled. ... I do however agree I am probably way overestimating how obvious a [log(1+cumulative percentile),log(1)] mapped to the xaxis is. Also the chart does scream compare areas, and those are strictly meaningless unless comparing within the same OS.]