whowouldathunk
whowouldathunk on Hacker News
They do, they’re called scribes.
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.
> 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.
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.
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.
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.
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.
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?
Missed opportunity for "reticulating splines"
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.
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.
The cost of electricity is artificially low because it doesn't include the cost of the associated pollution.
> 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.
Hopefully this means the iPad Pro will gain support for trackpads and mouse input.
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.
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.
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.
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.
Best thing to do is probably to contact your representatives and senators in order to get Congress to act on net neutrality.
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.
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.
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.
I would bet there would be less bugs overall if everyone was always using the latest version since it would reduce the test matrix.
You're arguing in favor of OS segmentation on a developer forum. Please no!
Disclosure: I work for Microsoft.
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.
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.