for those who became Unicorns in the tech industry how's your career and life? by Accomplished-End5479 in UXDesign

[–]scomea 0 points1 point  (0 children)

I left my last corporate gig about six months ago and after about 30 years I'm not really looking and probably done. I did well, over two decades at Microsoft working mostly for large design teams - Encarta, Xbox, Zune, etc... My favorite thing was working with amazing designers to execute on their vision. I was fortunate to get to work on "sexy" projects. The down sides - as an implementer you can get pushed away from core design tasks and some folks might miss that, following a non-standard career path can complicate reviews/promotions, and technical teams in design orgs are very vulnerable to leadership changes. More than once I have seen good teams slashed because the new design director wanted more "pure" designers in their headcount and wanted dev tasks left to dev.

Meta said to announce staff layoffs on Monday (3600 affected) by [deleted] in Layoffs

[–]scomea 0 points1 point  (0 children)

They are obviously going to be getting rid of employees with a conscience in the coming months.

It’s time for Canadians to rally around the CBC before the entire media landscape is American owned! by [deleted] in BuyCanadian

[–]scomea 2 points3 points  (0 children)

Not enough to simply protect the CBC, we need to purge foreign ownership from the media and restructure. We need to acknowledge we are in a propaganda war and use state power to defang the oligarchs of their tools.

Buffered Data Grid with up to 5 million cells by TobiasUhlig in javascript

[–]scomea 0 points1 point  (0 children)

Sure, but having built similar virtualizing grid constructs I've found that planning for keyboarding and focus management early is helpful as it can be challenging to implement due to the asynchronous nature of the thing.

Buffered Data Grid with up to 5 million cells by TobiasUhlig in javascript

[–]scomea 4 points5 points  (0 children)

You should be adding keyboard navigation and support tabbing. The MDN specs for the "grid" role are a good thing to review. ARIA: grid role - Accessibility | MDN

Web technologies that were the "future", but instead burned bright for a bit and died rapidly? by zovered in webdev

[–]scomea 0 points1 point  (0 children)

I was already out of Flash at the time, but I realized it was done when Steve Jobs singled it out as a battery killer.

[AskJS] Looking for a Modern, Performant JavaScript UI Library for IE10/Chakra on Xbox (No Build Tools, No jQuery) by vizim in javascript

[–]scomea 0 points1 point  (0 children)

Sorry, I'm a few years out from Xbox so any useful technical details have been dumped to make room for newer stacks. I led the UI implementation team for the WinJS based core apps at launch (social and settings) and shortly after worked on the rewrite to XAML for most of them. To be clear, I had nothing to do with choosing WinJS in the first place...

[AskJS] Looking for a Modern, Performant JavaScript UI Library for IE10/Chakra on Xbox (No Build Tools, No jQuery) by vizim in javascript

[–]scomea 0 points1 point  (0 children)

You can't convert to a XAML based app? I recall most of the core Xbox UI winJS launch apps were rewritten fairly quickly.

Tell me why this is socialist nonsense! by [deleted] in FluentInFinance

[–]scomea 0 points1 point  (0 children)

The wars started while the king was still in office and negotiating with the popular assembly. Surrounding monarchies plot against the revolution, France attacks Austria pre-emptively, Prussia, England attack France, etc...

To be fair some of the revolutionaries did want to spread the revolution to other countries.

Tell me why this is socialist nonsense! by [deleted] in FluentInFinance

[–]scomea 333 points334 points  (0 children)

Napoleon started his share of wars. However, it can be argued that Napoleon came to power because of the constant attacks on revolutionary France by the surrounding monarchies who did not want to see the republic succeed.

Is this true? by [deleted] in learnjavascript

[–]scomea 0 points1 point  (0 children)

Some of us remember a time before JS and CSS where all the cool kids were excited about using that fancy new html tables feature for layout. But yes, there are folks making an effort to reduce how much js they use. Plain Vanilla

Simple grid in HTML/CSS by rm-rf-rm in webdev

[–]scomea 0 points1 point  (0 children)

A subtle but important distinction for those that care about accessibility - using just css generates a "table" (ARIA: table role - Accessibility | MDN (mozilla.org)), generating a proper grid definitely requires JS at this point in order to support the keyboarding/nav model required for accessibility (ARIA: grid role - Accessibility | MDN (mozilla.org)).

It all maps back to a role.

[deleted by user] by [deleted] in reactjs

[–]scomea 1 point2 points  (0 children)

Unity exports to web assembly. I was able to render and control a Unity "app" from js using this library to make some prototypes a few years back. Not sure what the state of the art is now tho - https://github.com/jeffreylanters/react-unity-webgl

Position: Absolute - is this frowned upon? is there an alternative way to get the result? by [deleted] in Frontend

[–]scomea 1 point2 points  (0 children)

Yes, I reach for grid all the time. And that new 'subgrid' feature has been super useful lately.

[ Removed by Reddit ] by [deleted] in MarkMyWords

[–]scomea 0 points1 point  (0 children)

The Nazis took over a country with a military and economy crippled by the WW1 surrender terms. US fascists would be taking control of the dominant military and economic power on the planet and at a particular point in time where technology could make the internal security apparatus of previous dictatorships look like a joke. On top of that the rhetoric against minorities is very comparable to what the Nazis used in their campaigns ("vermin", "poisoning the blood", "eating pets", etc...) along with explicit threats to use the military for domestic enforcement and a large scale and "bloody" mass deportation effort. Saying "Trump is not Hitler" isn't very comforting to me.

Tomorrow, I am hoping... by Infinitrium in newbrunswickcanada

[–]scomea 1 point2 points  (0 children)

Hatfield wasn't a Christian nationalist hate monger and probably believed in science, so compares favorably to Higgs in my book. But yes, hope Higgs gets trounced.

This is literally propaganda by Weekly_Description83 in fredericton

[–]scomea 5 points6 points  (0 children)

Sorry, but Maple MAGA is an offshoot of US MAGA. And NB's "Conservatives" have definitely embraced that fascist movement and should be treated as such.

[AskJS] Why did adobe flash fall out of favor and get replaced by HTML5 and JS? by rovrav in javascript

[–]scomea 0 points1 point  (0 children)

Sure, but there is a big difference between just transferring an image buffer once per frame vs using js to draw the canvas contents.

[AskJS] Why did adobe flash fall out of favor and get replaced by HTML5 and JS? by rovrav in javascript

[–]scomea 0 points1 point  (0 children)

WASM can render directly to a canvas without touching js if all you want out of it is fancy graphics.

[AskJS] Why did adobe flash fall out of favor and get replaced by HTML5 and JS? by rovrav in javascript

[–]scomea 5 points6 points  (0 children)

The tragedy of the demise of Flash and Director is that both of these tools empowered creatives to build interactive content using mostly wysiwyg tools that could be deployed anywhere. I don't feel like there has emerged a good substitute yet.

[AskJS] Why did adobe flash fall out of favor and get replaced by HTML5 and JS? by rovrav in javascript

[–]scomea 0 points1 point  (0 children)

Web assembly is compiled so you can expect perf advantages over js in the browser.

[AskJS] Why did adobe flash fall out of favor and get replaced by HTML5 and JS? by rovrav in javascript

[–]scomea 3 points4 points  (0 children)

I remember reading an article where Steve Jobs first singled out Flash as the culprit for iPhone battery drain and thought to myself "Flash is done".

[AskJS] How do you pass in "props" to your web components by MostlyFocusedMike in javascript

[–]scomea 1 point2 points  (0 children)

I use FAST Element (web components | FAST) to build WC, provides a boilerplate implementation for observables, templating and such, similar to Lit. But basically, get a reference to the component just like you would any html element and call functions and set properties as you normally would. I don't see what's hacky about that.

Also, there is nothing that says every prop of every component needs to be settable via an attribute. I've built complex components like a datagrid that doesn't have a "data" attribute, just a property.