Better HN
topnewbestaskshowjobs
Log inSign up

whowouldathunk

301 karma · joined May 12, 2017 (9y ago) · 69 submissions

Submissions

comment 8y ago · link · parent

You realize that all of Pride and Prejudice is ~280KB, right?

http://www.gutenberg.org/ebooks/1342

:)

comment 8y ago · link · parent

They do, they’re called scribes.

comment 8y ago · link · parent

XAML components ("controls" in MS terminology) contain both declarative markup and code. And it's flexible because the visual presentation can be completely overriden by the component's consumer without altering behavior, and your code can be either C# or C++.

What does dependency injection have to do with anything? There's nothing stopping you from using global variables or an event bus or something like Redux in a XAML app.

comment 8y ago · link · parent

> and now we're making traditional UI dev like web

It's been like that on Windows since 2006 with XAML. In fact, if you squint at typical JSX, it looks like XAML.

Disclosure: I work at Microsoft.

comment 8y ago · link · parent

Not really, that's how Windows works too since Vista.

https://msdn.microsoft.com/en-us/library/windows/desktop/aa9...

And it's what enables effects like this in Windows 10:

https://docs.microsoft.com/en-us/windows/uwp/design/style/re...

Disclaimer: I work for Microsoft

comment 8y ago · link · parent

About the same here in Seattle. It makes saving for a down payment even more depressing.

I don't understand who is able to buy these houses when my partner and I can't as software engineer + physician assistant. Maybe it's just because we're not willing to decrease or dip into our retirement savings and we have no help from parents.

I just don't feel comfortable taking out a jumbo mortgage. Even though we could make the numbers work, I'm not confident either of us won't burn out from our stressful careers.

comment 8y ago · link · parent

We're on a small rock flying through an infinite universe. Our lives exist in a small blink of time. Computers run billions of operations per second using software with countless defects at every level of the stack.

We're lucky anything works at all. In that context, we succeeded just by being born and living as long as we have, and we'd be pretty narrow-minded to assume that the material success we enjoy is significantly more than a series of happy accidents.

comment 8y ago · link · parent

A small example is my girlfriend getting charged for a pregnancy test in the emergency room even after she told them she doesn't have a uterus.

comment 8y ago · link · parent

Not sure why you're being downvoted. XAML definitely supports complex widget composition in markup. Since the XML is basically just describing an object graph, it's a more concise way of writing the equivalent imperative code:

    <Button>
        <StackPanel>
            <Image/>
            <TextBlock/>

    ...

    <Button>
        <Canvas>
            <Ellipse/>
although the Dart syntax makes this look similar, albeit a little more verbose, if you squint.

Full disclosure: I work at Microsoft.

comment 8y ago · link · parent

One cost of all the guns is all the extra security. Schools resembling prisons, TSA, metal detectors and surveillance everywhere... doesn’t that also infringe on my freedom in a way?

comment 8y ago · link · parent

Missed opportunity for "reticulating splines"

comment 8y ago · link · parent

RIP Ursula. I just finished The Left Hand of Darkness and am in the middle of the Earthsea series and it's absolutely fantastic. Love her writing.

comment 8y ago · link · parent

The estate tax is justified as a means of reducing the concentration of wealth. However, the truly wealthy and their estate planners avoid the tax. The low yield of the tax is a testament to the ineffectiveness of the tax as a force for reshaping the distribution of wealth.

Of course, those recommending the repeal of the estate tax are also probably of the opinion that wealth concentration is not a problem.

comment 8y ago · link · parent

The cost of electricity is artificially low because it doesn't include the cost of the associated pollution.

comment 8y ago · link · parent

The market is ignoring externalities.

https://www.newyorker.com/cartoon/a16995

comment 8y ago · link · parent

> The concept was tried with Windows 8; they had to go back to offering both desktop and touchscreen options.

Still using the same platform. The idea is to use responsive design rather than different UI frameworks.

Disclosure: I work at Microsoft.

comment 8y ago · link · parent

Hopefully this means the iPad Pro will gain support for trackpads and mouse input.

comment 8y ago · link · parent

Apple Watch has a crown and a touch screen. iPad Pros have keyboards, pens, and a touch screen. Apple TV has directional and trackpad input. All support voice input. All work fine with basically the same UI toolkit.

comment 8y ago · link · parent

That's an orthogonal problem. Why should the Apple platform arbitrarily require you to use different toolkits for different form factors or input modalities? They already support phones, tablets, TV's, and watches with the iOS toolkits. Adding desktops and laptops to that mix seems obvious.

And it goes the other way. The iPad Pro will probably benefit by gaining support for pointer input.

comment 8y ago · link · parent

Same experience for me. The University of Washington headache clinic recommended Vitamin D and Magnesium supplements and it made a marked difference in my mood. Turns out having constant mild headaches is pretty depressing.

comment 9y ago · link · parent

Wow. And this:

https://www.pge.com/en_US/residential/save-energy-money/help...

I really don't want utilities making value judgements for me.

comment 9y ago · link · parent

You need electricity to power everything you do online. I don't think anyone would support being charged different rates based on what you plug into a power outlet.

comment 9y ago · link · parent

Best thing to do is probably to contact your representatives and senators in order to get Congress to act on net neutrality.

comment 9y ago · link · parent

That's exactly how it works. It took about an hour after linking my Vudu account before they showed up on the Movies Anywhere site and iTunes.

comment 9y ago · link · parent

Nice, my UltraViolet codes for Mad Max and The Revenant now show up as 4K HDR versions on iTunes. And I even got the Black and Chrome version of Mad Max as a bonus "iTunes Extra."

This is a very pro-consumer move.

comment 9y ago · link · parent

On the contrary, developing a good intuition about stuff like this so you get it right the first time is a big time saver in the long run. Especially when it's no extra code to do the better thing to begin with.

Good developers have battery empathy.

comment 9y ago · link · parent

I would bet there would be less bugs overall if everyone was always using the latest version since it would reduce the test matrix.

comment 9y ago · link · parent

You're arguing in favor of OS segmentation on a developer forum. Please no!

Disclosure: I work for Microsoft.

comment 9y ago · link · parent

The dumbest is that their "auto" modes aren't as good as phones. I bought a Fuji X-T20 and am really disappointed with it; it is definitely capable of much better results than my phone as long as you have the time to switch all the knobs, which is way more annoying than I thought it would be and often not possible depending on your subject.

I have no desire to do any post-processing and didn't realize that most of the amazing photos I saw in camera reviews were the result of professional-level post-processing.

comment 9y ago · link · parent

Sounds good. Just a word of caution to make sure you're ready for future UI design direction changes:

https://fluent.microsoft.com/

DirectComposition powers a lot of that and I bet web devs will want that kind of stuff too. Notice things like per-element shadows that are lit by global (OS-wide) lights.

123