Entries:
Comments:
Discussions:

Loading user information from Channel 9

Something went wrong getting user information from Channel 9

Latest Achievement:

Loading user information from MSDN

Something went wrong getting user information from MSDN

Visual Studio Achievements

Latest Achievement:

Loading Visual Studio Achievements

Something went wrong getting the Visual Studio Achievements

Discussions

androidi androidi
  • Language context sensitive editor hotkey

    (yeah from what I've seen there's some emacs/vim keybinds that avoid a lot of the useless moving caret around, I just never got around to learning those editors)

     

    Here's a bunch of snippets I made for avoiding a bunch of typing and moving caret around.

    http://wikisend.com/download/616196/vssnippets.zip

    (there's a batch file to batch-modify/create more snippets, so you can add say "il" to create int returning lists without having to modify every snippet manually)

    The pre-made snippets are found by typing

    d tab tab (create method that defaults to returning a double)

    dl tab tab (..list of doubles)

    s tab tab (...string )

    sl tab tab (... list of strings)

    The tab tab opens up a snippet context menu that selects the public/private/static etc with 1 key press.

    The snippets start with } to close the body of the current method, avoids a bunch of moving cursor around.

    Example:

     

    <?xml version="1.0" encoding="utf-8"?>
    <CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
      <CodeSnippet Format="1.0.0">
        <Header>
          <SnippetTypes>
            <SnippetType>Expansion</SnippetType>
          </SnippetTypes>
          <Title>s - Create public static method returning List</Title>
          <Author></Author>
          <Description>
          </Description>
          <HelpUrl>
          </HelpUrl>
          <Shortcut>dl</Shortcut>
        </Header>
        <Snippet>
          <Declarations>
            <Literal Editable="true">
              <ID>name</ID>
              <ToolTip>Method name</ToolTip>
              <Default>Method</Default>
              <Function>
              </Function>
            </Literal>
            <Literal Editable="true">
              <ID>type</ID>
              <ToolTip>Return type</ToolTip>
              <Default>double</Default>
              <Function>
              </Function>
            </Literal>
          </Declarations>
          <Code Language="csharp" Delimiter="$"><![CDATA[
            }
            
            public static List<$type$> $name$()
            {
                List<$type$> r = new List<$type$>();
                $selected$ $end$
                return r;]]></Code>
        </Snippet>
      </CodeSnippet>
    </CodeSnippets>
    

  • Language context sensitive editor hotkey

    Step closer to eliminating need to type those annoying /()={[]} ;:"$ etc that may require pressing combination of keys and may require moving left hand from its natural location (yeah I know US kbd layout is better for programming but as I program only randomly and switch windows all the time, the pain hasn't been enough to learn the habit of switching layouts or to automate that).

     

    https://visualstudio.uservoice.com/forums/121579-visual-studio-2015/suggestions/12233766-language-context-sensitive-editor-hotkey

  • Does MS test their electronics for off-gassing?

    Looks like some others have found same issue.

    http://forums.anandtech.com/printthread.php?t=201923&pp=100

     

    Until I find some other solution, I'll buy a ps2 to usb keyboard converter and use PS2 keyboard.. those should have lower gassing by now or different plastic/paints that aren't as annoying.

  • Does MS test their electronics for off-gassing?

    Just looking again at the recommendations for room pressure in residential buildings. They keep recommending negative pressure for the reason that moist air otherwise pushes into crevices of the building and that is said to create moisture damage.

    So either the building gets "sick" from getting moist or I get sick from the offgassing, dust buildup and smoke from outdoors that the negative pressure pulls in.

     

    "Outgassing toxic gases are of great concern in the design of submarines and space stations, which must have self-contained recirculated atmospheres"


    Add home offices to that list if you're at home a lot more than "normal" people.

  • Does MS test their electronics for off-gassing?

    Short answer, no. I have eg. some SATA cables that were outdoors for 1 year due to the smell and they still smell. I doubt many of the small manufacturers have a lab (if they even care) for analyzing what their product emits into air after sold when it's clear from the effects I get that not even the big corps pay attention to this given how I get similar reaction to the Apple keyboard w/numpad (2013) and the MS keyboard (model 1366). I just had forgot about the Apple keyboard but I took it out of the closet and the chemical smell was intense (it had been in nearly air tight bag).

     

     

    TL;DR

    Well I think the health problem really is a combination of the excessive outgassing products (more biodegradable or cheaper/changed plastics - in 90's only pci cards,motherboards had strong smell, now things like cables and keyboards "smell" (some use deodorizing to hide the smell but it does not do anything to the non-smelly hazardous gasses), negative pressure "design" (residential building standard, probably to suck the moisture from showers) in building and poor ventilation because I have no control over the temperature of air coming in and when it does come in, there are houses nearby that burn wood and lets not get into people smoking.

     

    So I think I now have answer why having office at home is a problem, creating temperature controlled constant positive and negative pressure spaces in mix of cold/wet/hot climate in residential building is "tricky". This explains why I see people with laptops work from coffee shops or library etc. They are avoiding the negative pressure residential space... or perhaps are faking to be employed to their SO or something.

    One non-workable solution I have thought about is insulating the office room, then removing a lot of the window insulation and making sure the pressure is positive. Then rig the heating to heat the space up. This should create positive pressure in that one room but the problem here is that because there's still outdoor pollutants, smoke coming in, I know that once it gets in, in a positive pressure room it tends to stick around. If I then open the office room room, the smoke gets pulled to rest of the apt.

     

     

    I have reason to believe new plastic products are made more biodegradable. I take this to mean they are more prone to decompose all the time. In some countries the "building code" is to have apts. at negative pressure for energy saving and possibly other reasons (cost of building apts). If you read commercial facility recommendations, they recommend positive pressure. The result from the negative presure at apt if you work from home is that the offgassing products are now pulled out from the electronics instead of kept in.

    The "question" I have is, how do you create a positive pressure in a residential building so that there is no noise and the bathroom etc have negative pressure (because of shower) to and so that things inside stay warm while its very cold outside. And how you do this is cheaply in a apt you rent? When the apt has large air leaking windows on every side of it, combine this with mechanical exhaust ventilation you have no control over and it's impossible to control the pressure. I could open up the windows until the pressure is positive, this would freeze apt inside and then once I close windows the mechanical exhaust ventilation quickly makes the pressure negative again (it ramps up 3 time a day).

    I don't think there is any good solution to that. There are "air source heat pumps" that make noise installed by some residential building owners but I don't want fan noise and I don't own the building.

     

    I don't know how much these problems affect work place offices, probably because there is so much more gear and gadgets, if there was negative pressure it would be "deadly" at the workplaces.

    The previous chart/pdf shows what stuff the gadgets emit (plastic,glues in floor/carpets are another big source in modern building especially if building was made in a rush or when old glue/plastic flooring material is left below new one like is being done a lot in apt. renovations), so that's the answer for "few days".. The consumable, modern more "green" materials I would speculate to degrade even faster so that when they end up in trash, their decompose quicker.

  • Does MS test their electronics for off-gassing?

    (as I point out, this isn't exactly unique problem to MS & I had another MS keyboard without this problem before)

    I have MS wired keyboard 600 (among other things) that repeatedly seems to cause some sort of health response (weak breathing, irritability) when it's under my nose. It's quite subtle but given how much other gear I have, it's probably "tip of the iceberg" that just pushes the levels to where I can notice. I have had it for years and removed it 3 times while trying other keyboards only to find I didn't like the layout, lack of media,calc keys etc of the other keyboards .. but when I return to this I start getting health effect.

    Funny enough, this keyboard has a big red "HEALTH WARNING".. but it's only talking about RSI, not off-gassing symptoms.

    I previously had Comfort Curve 2000 that broke (and was too big) and didn't have this issue.

    And yeah.. I once ordered some cables from ebay (china) that were so stinky I had to junk them. I started getting eye and skin irritation immediately when going near them! Think I got a refund for those.

     

    The health issues from these things can be subtle, varied and there's lot of other sources of indoor air pollution (VOCs), but since keyboard happens to be straight under your nose, that should receive special attention at the factory in terms of what kind of paint and plasticizer etc is used.

     

     

     

    src with some more figures: http://www.arb.ca.gov/research/seminars/mckone/mckone.pdf

  • Cool videos

    https://www.youtube.com/user/WilliamForsche2/videos?sort=p&view=0&flow=grid

     

    Few cool videos there if production of old movies is of interest.

     

    edit: this was in suggestions. The main interesting point is how much time was spent on making each 1-2 second effect. I kind of think that sometimes when you have a work method that is slow it also may allow to come up with ideas to do things better, whereas with fast method you get the work done before having come up with ideas how to make the end result better. If you can iterate many times, then no problem, but when fast methods are available to competition, that drives down prices as people think they can come up with same ideas faster with better tools when infact I would argue the good ideas don't come up any faster even if your tools allow to work faster.

    https://www.youtube.com/watch?v=XWNYh9vfvgQ

    It mentions it took 3 months to paint the matte of the warehouse used in Indy.

     

    Another thing I read affecting music in movies - in past it was frequent to have say, orchestra for a movie score and themes ritten based on the scenes, while now if you pick from a library of pre-made themes, you'd need a ton of time to go through the library to find something similar that a composer would come up with if they composed to the scenes as described.

     

  • Surface Book launches in UK!

    I see Amazon com just has SB on discount. :D

    Microsoft Surface Book (128 GB, 8 GB RAM, Intel Core i5)

     
     
     

    List Price:$1,499.00
    Price:$1,498.00 & FREE Shipping. Details
    You Save:$1.00
  • 2016 market forecast

     

    https://www.youtube.com/watch?v=a-9A0ar70pI

    That is, if it doesn't crash up or down big soon...

     

     

  • Cool videos

    https://www.youtube.com/watch?v=U-Usu3X5sFY&t=2380s