Better HN
topnewbestaskshowjobs
Log inSign up

sleepinseattle

124 karma · joined Dec 3, 2018 (7y ago) · 34 submissions

Submissions

comment 6y ago · link · parent

Racial inequity is socially unacceptable. That’s the whole damn point.

comment 6y ago · link · parent

I’d suggest most of you read this as a longer form examination of policies like this:

https://en.m.wikipedia.org/wiki/How_to_Be_an_Antiracist

Rather than trying to make tired points in 140 characters.

comment 6y ago · link · parent

That’s a glib interpretation. And you’re pushing the same anti- affirmative action viewpoint that has maintained racial inequities.

comment 6y ago · link · parent

Maybe more people would start businesses if they had UBI as a safety net.

comment 6y ago · link · parent

No. Ads should be related to the content, not personalized to the person viewing the content.

comment 6y ago · link · parent

That falls apart as soon as the author with the locked paragraph leaves the document open while they’re doing something else, preventing others from editing.

comment 6y ago · link · parent

Look no further than the rampant white collar crime that goes un-prosecuted in the US. No one is being held accountable for PPP corruption.

Of course being anti-racist is emotional. How can you not feel very upset when contemplating the racial inequities in this country?

comment 6y ago · link · parent

If your question is “where do you draw the line”, the answer is always somewhere.

comment 6y ago · link · parent

Over-engineering vs ebooks

comment 6y ago · link · parent

Reading mode does that, and you can have it auto-enable in Safari if you want.

comment 6y ago · link · parent

Yes, in WinUI you get build breaks if you have a typo in your property name :)

It also adds the ability to bind to functions, which can eliminate a lot of ViewModel boilerplate for computed properties.

comment 6y ago · link · parent

The framework layer of WPF is implemented in C#. WinUI is all C++, including the framework and the compositor that makes the DirectX calls.

In the framework layer, typical UI updates are faster because the WinUI data binding system uses code-generation rather than the reflection-like runtime binding system that WPF has.

WinUI also includes the rather incredible Windows.UI.Composition API’s, with things like ExpressionAnimation that enable lots of cool animations (like parallax, sticky header, or cursor-relative) at a stable 60 FPS.

Disclosure: I work at Microsoft on the Windows team.

comment 6y ago · link · parent

The minesweeper example from the article is a regular Win32 app. Desktop Win32 apps can call WinRT API’s.

https://github.com/robmikh/minesweeper-rs/blob/master/src/ma...

comment 6y ago · link · parent

It’s not that different from things like Protocol Buffers, and for application code it’s mostly a hidden implementation detail. The API you’re calling (like the Composition API’s in the Minesweeper example) might be calling into a separate process but you don’t have to care.

Disclosure: I work on the Windows team

15.

Productivity Tips for the Anxious(linkedin.com ↗)

5 points · by sleepinseattle · 6y ago · discuss

comment 6y ago · link · parent

I appreciate that the UI is fresh. I'm tired of the trend of desktop apps not taking advantage of larger screens and instead just shoe-horning mobile "feed" designs into a floating window.

Not convinced that tagging is better than channels for large teams. Seems like there would be an explosion of tags to keep track of.

Disclosure: I work at Microsoft but not on Teams.

comment 6y ago · link · parent

I’m guessing the magic layout things are intentional because SwiftUI is designed to make it easy to have one app feel native on iPhone, iPad, Apple Watch, Mac and AppleTV, which all have their own design language and ergonomics.

As long as it provides ways to override defaults and take full control where needed, this seems reasonable. I’m guessing you can drop a Metal view into your SwiftUI app, so quit complaining :)

comment 6y ago · link · parent

=== checks

comment 6y ago · link · parent

What is this if not an event?

Button(action: { self.isPlaying.toggle() }

They just happen to be handling it entirely within their view component instead of making it a function on some controller/ViewModel/whatever object that then goes and updates the bool. Each framework then has its own code gen or library or runtime magic that makes that bool change get reflected in other views.

comment 6y ago · link · parent

The article is just demonstrating storing application state directly in views. Which you can do in any UI framework and works fine for small apps, but quickly falls over if the state affects multiple views. That’s the whole point of the various Model-View-* patterns, and doesn’t become less relevant just because the UI framework offers reactivity or data-binding.

comment 6y ago · link · parent

AirPods Pro do—“transparency” mode—but you can’t control the amount of mixing.

comment 6y ago · link · parent

Measure power consumption and framerate (especially for scrolling scenarios) rather than CPU usage before making any performance claims for mobile.

comment 7y ago · link · parent

Feature flags are not a panacea for software quality. They actually make your test matrix much larger, as on any given system a different set of flags might be enabled.

comment 7y ago · link · parent

Or just sign up for one service one month and a different one the next month. No one’s forcing you to keep all four subscriptions active.

comment 7y ago · link · parent

Same. I read things like this all the time here and on reddit and shrug every time. Homeless problem in Seattle is certainly worse than the midwestern suburb I transplanted from but come on, statistics are at play here; it’s definitely going to be worse than the suburbs by virtue of their being more people.

comment 7y ago · link · parent

> The fact that windows can't be "snapped" like on Windows is so frustrating.

They can actually: press and hold the green button, then drag the window to the side.

comment 7y ago · link · parent

You can use UWP controls in Win32 apps now, and still distribute via the Store. Look up XAML Islands. It’s how the new Windows Terminal works.

I’d recommend pursuing that route if you’re frustrated by UWP app limitations or performance.

Full disclosure: I work at Microsoft on the Windows team.

comment 7y ago · link · parent

> Sway is absolutely incredible, it puts macOS, built by Apple's army of engineers and dump trucks of money to shame in its simplicity, stability, and efficiency.

They have different design goals. A tiling window manager is not a good default for everyone or every device type or screen size.

comment 7y ago · link · parent

I got a cellular Apple Watch and leave my iPhone at home. Productivity at work went through the roof, and meetings aren’t as painful anymore because I have no choice but to pay attention and participate.

It does all the smart phone essentials, including maps and Uber and two-factor auth, but the tiny screen staves off the addiction.

comment 7y ago · link · parent

I believe that started off as an accessibility feature back in the AIM days.
12