Better HN
topnewbestaskshowjobs
Log inSign up

SteveJS

339 karma · joined May 30, 2010 (16y ago) · 160 submissions

[ my public key: https://keybase.io/stevejsteiner; my proof: https://keybase.io/stevejsteiner/sigs/cOt3n_nl_WXLIIy6IttRin9PZPDpFSgOjjPetyfkrhc ]
Submissions

comment 8y ago · link · parent

I think it is more than fine to use Edit and Continue as a professional. I’m acknowledging the trade offs and making an argument meant to be heard by a resistant audience that is likely to be the ones making the tool.

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

It’s useful to realize Edit and Continue is not for professional programmers, and the qualities we’d most want are not appropriate to every problem.

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

In VB the feature requested here was called Edit and Continue. VB users loved it.

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

Later in the video it shows training against the LSUN dataset.

https://github.com/fyu/lsun

comment 8y ago · link · parent

The thumbstamp version of creating fake celeb faces was one of the projects for the Deep Learning Udacity nanodegree. (These get changed over time, so it may be different now.)

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

Drastically simplified source access for the silicon partners seems more important for the business case. I agree the power aspect, absent more specifics, sounds wrong.

comment 8y ago · link · parent

Somewhat related is Thomas Metzinger’s The ego tunnel. Metzinger is an applied philosopher, directly examining what is consciousness as can be determined and backed up with neuroscience. I loved Antonio Damasio’s the feeling of what happens, and the ego tunnel is like that on steroids, with years extra work from scientists making progress on teasing out distinctions you didn’t realize were there. There is zero ‘woo woo’, and instead a fascinating set of theories on what exactly consciousness is, why it feels the way it does, what science can tell us now, and what remains unknown. For me it is super fascinating from the point of view of why Vipassana works.

comment 8y ago · link · parent

Interesting i think these are the rules: 8K INTRO Maximum file size is 8192 bytes for the executable. All other files in the archive will be deleted before showing the entry in the competition Maximum running time: 8 minutes (including loading/precalc). Import by ordinal for DLLs with non-fixed ordinals is forbidden (don't even think about directly jumping into DLLs with hardcoded offsets!). Please use alternative, more compatible techniques like muhmacs import by hash to save on executable size or just use a packer like Crinkler, which does this automatically. It is okay to deliver bigger versions of the 8k along with the compo version (which must be <=8192bytes) in the same archive. We will not show the bigger version in the compo. If your packer doesn't work on the compo machine, it's your problem. We will be able to provide you with details about the compo machine, though. We will not install any additional Runtimes, SDKs, Codecs, Drivers etc on the compo machine. This means that, among others, msvcr70.dll, msvcr71.dll and msvcr80.dll will not be available. You may not use the contents of the Windows "Media" or "Music Samples" directories. These directories will be deleted on the compo machine. Java entries are not allowed. DotNet entries are allowed when they follow the rules listed above. Browser entries are allowed when they follow the rules listed above. For extra kudos, pack your intro as a single png-with-embedded-html file: see JsExe or pnginator for how to do this.)

From: https://2018.revision-party.net/compos/pc

comment 8y ago · link · parent

Is this an 8k standalone binary? It’s amazing either way! I’m curious as to what counts as part of the 8k and what might be assumed as part of the platform.

comment 8y ago · link · parent

How much of this is transferable? Is this institutional manufacturing knowledge a gigantic amount of potential energy for tesla’s competition that will put them in lead for EVs? Or is it a friction keeping a competitive EV from a big car manufacturer eternally around the corner?

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

How does this interact with pilot wave theory?

Is the article saying that the causal direction of time is undefined within a quantum entangled system? Or is that more than what it’s claiming?

comment 8y ago · link · parent

How does this change the threat model for using keybase? It would seem to increase the target value of compromising the client. Is that immediate impression wrong?

comment 8y ago · link · parent

Saul is the guy who uncovered the crossword plagiarism scandal http://fivethirtyeight.com/features/a-plagiarism-scandal-is-... VisiData is his vision of interactive data exploration at the text terminal.

comment 8y ago · link · parent

The Chakra Javascript engine uses a conservative generational mark and sweep collector with many phases running in parallel to code execution. It looks like Chakra is now on github (and with an MIT license). In chakra the GC is called it a 'Recycler', which can throw one for a loop when searching for the GC implementation.

comment 8y ago · link · parent

I was looking at Dashlane which seemed to have some good features, including some ability to do password rotation automatically, and some level of yubikey support. That said I'm still using keepass. I discovered it when I needed a solution that worked on an original Surface RT, as well as an iphone, and I've remained happy.

comment 8y ago · link · parent

My understanding is git’s origin was in reproducing and extending the functionality contained in Bitkeeper due to a crisis with the licensing. The apparent story of git being a exercise of Linus the 10X programmer digesting and re-imagining ‘SVN’ in 10 days seems non-historical. I think a good deal of the git vs SVN ‘10X special sauce’ was done by the company behind Bitkeeper, a tool already used for kernel source control. Linus built the core in 10 days because the problem was clear and the DVCS solution was already in use via Bitkeeper.

comment 9y ago · link · parent

As I write from a Mac that has VSCode running in the background, I'm rooting for it. But then, I'm biased. The VScode team started as a sister team to the Chakra javascript engine team, and I worked on Chakra for a few years. The lead architect for Chakra very early on implemented an emacs editor in IE6 with the old javascript engine just to prove it was possible. It's cool to see the vision that was so clearly articulated years ago coming to fruition.

comment 9y ago · link · parent

Yes, there are a bunch of legitimate use cases for large scale development where you want inline tools to assist QA and diagnostic issues.

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

This is really cool. You can also detect a debugger on windows by using one of the apis provided, such as IsDebuggerAttached, or is debuggerpresent. https://msdn.microsoft.com/en-us/library/windows/desktop/ms6...

comment 9y ago · link · parent

You’re right! As i also found out from the dozens of people on facebook that unearthed first gen Zune’s due to the same comment. My current understanding is it was a dpad in the shape of a circle.

comment 9y ago · link · parent

This probably says more about me than the article, but the drawing at the top is of an ipod that says zune. A zune has a ‘squarcle’ rather than a circle.

comment 9y ago · link · parent

TDD allows you to recreate a full memory snapshot at an arbitrary point during the recorded execution. A regular debugger cannot tell you what was in a register or memory location previous to what is currently there now. TTD does allow that.

comment 9y ago · link · parent

Intellitrace and TTD take different approaches and have very different trade offs. Intellitrace allows imposing logging on a system posthoc. TTD records everything the system does. They are not merely labeled differently they are different in kind. The consequences of those trade offs make the pragmatic use cases very different. Intellitrace was always intended to head toward logging in production systems, which i believe it has achieved now. It’s unlikely you would TTD a server in production without a very good reason. It is possible for a Intellitrace log to not have enough information to debug a problem. A TTD trace has fundamentally captured everything, its bigger, a bit more unwieldy... but in a deeper sense it is complete.

comment 9y ago · link · parent

The core technology was born out of a group in MS research long ago. Moving from research code to production is highly non-trivial. I first heard how time travel debugging was implemented before i knew about Facebook. I suspect SSDs are part of what made this more practical as it used to simply saturate disk IO, even on specialized systems. With a pci express SSD this becomes much more pragmatic then when the initial idea was implemented.

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 12y ago · link · parent

The home team is disruptive, but benevolent (to stakeholders). The away team is ruthless, and mean (to competition).

comment 13y ago · link · parent

"one person cannot be evaluated and paid in isolation of budgets" - SteveSi is just wrong on this. This is only true if you have a policy of highly differentiated pay for short term performance and/or have an "up or out policy". ... both of which are in effect at MS.

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

My wife and I never wanted children. Neither of us needed to convince the other. We did agree that, if either of us did change our mind, adopting would be the right path.

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

Discovering someone who is clearly a giant, in a field about which I am ignorant, is my favorite thing about Hacker News.

I anticipate good reading ahead: http://www.paul-rand.com/foundation/thoughts/#articles

comment 14y ago · link · parent

It's a log scale. The bottom axis should use tick marks to make it is obvious. A poorly marked log scale is certainly something to fix. It's not the same as fudging the data.

[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.]

123456