My first job I wrote c++ for a win32 desktop app. I hated unit testing. My workflow was write the code, compile it, trigger the scenario, step through the code, write some unit tests after I knew it worked. It was the expectation on my team to write UTs so I did it. Fast forward to a different team I learned from a co-worker how UTs can help you influence your design. If you find yourself doing a ton of frustrating work to set up your UT scenarios there's probably a way of fixing the design to be less coupled that would allow you to test the code better.
Now I think of UTs more as a way to help me understand how the design of my code is working and I get some extra validation out of it as well.
After all, any program out there does something. If you know what it's doing, you know what it should do, and what it shouldn't. That means you can test it.
Because given how GUI frameworks are implemented, one needs to add explicit workarounds to follow "only write code for which there is a failing test".
After all, writing the test needs to be possible, to start with.
So adapters, views, commands and what have you need to exist only to fulfill such purpose, and even then, their interactions with the GUI layer don't get tested.
So one is creating them, without knowing if they are the right elements for the GUI layout.
Hence why testing, 100% behind it, TDD not so much.
This. I have the dell P4317Q and I think it’s the best thing out there right now. But I would ditch it right away if a larger 3:2 screen existed maybe, 40” 4K at 3:2 something like that
The Surface Studio is perfect looking, 28" 3:2, 4500×3000 (192 PPI). The frustrating thing is that it's not a standalone monitor/touchscreen - the computer is built in, doesn't look all that powerful considering what you pay, and doesn't look upgradable.
There's gotta be a market for these types of monitor...
I'm in the middle of _In_the_first_circle_ right now and really enjoying it. I also got turned on to it from econ talk. Highly recommend reading this book!
wow that's a cool and simple idea. I work on a cocoa app so I will find that valueable for meeting accessibility standards. Do you have a windows version?
I'm surprised that no one has mentioned Pittsburgh yet. uber did some early self driving pilots there. CMU is there. Google has a large office there. Amazon has also started hiring software engineers for an office in Pittsburgh too. Cost of living is very cheap. Many upsides to Pittsburgh. I don't know what the city could afford in terms of subsidies though.
Philly sits halfway between NYC and DC, via Amtrak or I-95. They could get in on the new project to cap the rail yards next to 30th Street Station and find themselves situated between the University of Pennsylvania and Drexel campuses, with Temple University a stone's throw away and Princeton accessible via NJT/SEPTA regional rail.
There's also available suburban sites in Southern NJ and Malvern, PA that are accessible via mass transit, the Navy Yard (which desperately needs a subway spur) and tons of developable/reclaimable industrial space in North Philly.
Given how accommodating PHL has been with Comcast, I'm sure Amazon could get what they need.
I have mixed feelings about this for Pittsburgh. The main con is 50,000 tech jobs in this city means a lot of new people. Being conservative, we can call it 30,000 new families. I think that will cause chaos in the housing market and increase the cost of living. I'm not sure about it.
There is real estate downtown that (I believe) is still undeveloped and unplanned where the Igloo was. The biggest issue I see is travel. There are no direct flights almost anywhere from PIT.
How does that affect a company like Amazon that cam claim its primary HQ in another state, and its actual realized revenue as mostly in other states? What part of Amazon's profits would get taxed in PA?
Most states have tax nexus rules where that doesn't matter as much anymore. They'd certainly pay PA corporate tax on PA income, then PA payroll on every employee.
Agree, when tech company choose sites, they tends to locate near schools. Somewhere in Midwest is no go, since Amazon would find it difficult to recruit people. I would say Pittsburgh is a reasonable bet.
Inside the city to downtown is pretty good though. Lots of busses to downtown and oakland from the most popular neighborhoods (East Liberty, Shadyside, Lawrenceville, etc).
As a Seattlite, I kind of wonder if this isn't in response to our lack of transit. We have some possibility of improvement, but it is almost 20 years out for my neighborhood and Amazon is growing super fast. Since they can't stem the growth to the rate of infrastructure development, maybe they can offset the growth to another city. And that city needs infra already waiting. Of course this narrows down city choice significantly.
OneDrive sync has improved dramatically over the years. It's still not as good as dropbox, but OneDrive has this new popup window that shows you a bunch of information about your files when they sync and are updated. That part of the UX is better than dropbox.
I tried OneDrive again a couple of weeks ago, since I have an Office 365 subscription anyway. Sync was still slow for me compared to Dropbox, sometimes does not sync everything correctly, and used 700MB of memory for a nearly-empty OneDrive.
Dropbox just works and that's worth 10 Euro per month to me, it saves me heaps of time.
Sometimes at a large company feedback from support and those customer forms doesn't make it all the way back to the engineers. The engineers read hacker news. As soon as they saw this it makes sense that they fixed it.
Seems like the pipeline for customer feedback could be improved.