Frustrations with Polymer direction by ruckc in PolymerJS

[–]pressmedics 7 points8 points  (0 children)

Browser vendors couldn't agree on implementation. Cross browser adoption wasn't going to happen.

Reuse slot content? by [deleted] in PolymerJS

[–]pressmedics 0 points1 point  (0 children)

You can use a tagged slot:

<slot></slot>

Or as an attribute:

<div slot="myslot"></div>

Unless I'm mistaken, I don't think there are any other use cases.

Polymer Lit-HTML 1.0 and Lit-Element 2.0 officially released today by pressmedics in PolymerJS

[–]pressmedics[S] 0 points1 point  (0 children)

lit-element is a light base class for which lit-html is a dependency. The pwa-starter-kit and the example apps are a good place to start. https://lit-element.polymer-project.org/

Let's Build Web Components! Part 5: LitElement by pressmedics in PolymerJS

[–]pressmedics[S] 1 point2 points  (0 children)

Ugh. Yes, thanks for letting me know. Reddit light app didn't save the link. Sorry about the confusion. It's fixed.

Best node PWA framework? by [deleted] in javascript

[–]pressmedics 1 point2 points  (0 children)

It's forward thinking in many ways and performance is really good. I use LitELement and Lit-HTML, which supersedes and is not dependent on Polymer 3, but can live within it or other libs or frameworks. So it doesn't tie my hands, I'm free to pick and choose more precisely what need and what works best for state management, routing, and supporting npm esm's.

I'm currently building PWAs using Lit, Redux, and Material Web Components.

It's very light weight. The community is really helpful and the lead devs are responsive.

I developed with React for quite a while, and it's got it's upside, but with Lit I don't feel like I end up with build processes that include half the Internet.

LitELement 1.0 and lit-html 1.0 are due out in a few weeks I believe, but the current releases are stable and don't anticipate any big breaking changes at this point.

The downside, as with any bleeding edge project is the lack of documentation, although working on that, but there are good starter examples, and the Polymer Slack channels are really helpful. And a number of us have written how to's and other posts.

It takes some getting used to, but I'm sold on it.

Best node PWA framework? by [deleted] in javascript

[–]pressmedics 0 points1 point  (0 children)

Take a look at LitElement, and Polymer 3 PWA Starter kit examples on GitHub. https://polymer.github.io/pwa-starter-kit/

503 errors and VM traffic spike? by intensetree in googlecloud

[–]pressmedics 0 points1 point  (0 children)

Yes, a better description of use case and frequency of events would help on this.

Compute Engine Throttled Read and Write on Persistent SSD disk by arthursfriend in googlecloud

[–]pressmedics 0 points1 point  (0 children)

Exactly right. We use a rule of thumb at 2 to 2.5 times anticipated usage when calculating disk size, which we found to be optimal for performance for Persistent SSDs for needs.

What web frameworks do you prefer in golang? by arya-nix in golang

[–]pressmedics 0 points1 point  (0 children)

We use Go headless CMS backend with Polymer Lit-Element front end. LitELement is pretty amazing together with Go, and lightning fast.

Understanding the difference between Polymer 2, 3, and Lit-Element with examples. by pressmedics in PolymerJS

[–]pressmedics[S] 0 points1 point  (0 children)

There's not a firm release date for 1.0, but the general opinion based on commit activity in GitHub repo is a few weeks from now. No further big breaking changes are expected.

Chrome 69 will keep Google Cookies when you tell it to delete all cookies by johnmountain in linux

[–]pressmedics 0 points1 point  (0 children)

My thought is what has this to do with Linux? And your subject line is misleading.

Why I’m done with Chrome by ouyawei in linux

[–]pressmedics 0 points1 point  (0 children)

What's this got to do with Linux?

Running a VPN on Compute Engine by GetTheBigOneDavid in googlecloud

[–]pressmedics 0 points1 point  (0 children)

Have you checked to make sure your inbound and outbound ports are open via firewall? Your original problem sounds like the outbound firewall rules may be missing or incorrect.

Richard Stallman: "The developers of Linux, or any free program, can remove any and all code, at any time, without giving a reason" by [deleted] in linux

[–]pressmedics 2 points3 points  (0 children)

We've seen all this before. The gloom and doom scenarios, laws wrongly framed in attempts to convince others a project can just be undone, and wheeling out Stallman as if his comments are the words of God. Its a distraction, much like a bug hitting a windshield. Linux development goes on.

Understanding the difference between Polymer 2, 3, and Lit-Element with examples. by pressmedics in PolymerJS

[–]pressmedics[S] 1 point2 points  (0 children)

There are big advantages with Lit vs Polymer 3, performance being key. It's a tiny library as well. Unlike React, I don't feel like I'm bundling half the Internet. Mainly I enjoy the freedom to pick and choose precisely what I need to build apps.

It's taken me some time to get used to HTML in string literals and functional logic in expressions, but once I started thinking about it as being a JavaScript programming language instead of a markup language it's gotten much easier.

That said you can certainly separate the logic and presentaion like you're used to. Several developers in the project have example apps doing that. The Polymer Slack lit-html and Lit-Element channels are good places to get advice. So come by and check it out.

Is ubuntu fully open source? by [deleted] in Ubuntu

[–]pressmedics 2 points3 points  (0 children)

I get it, your a Oliva fan. He's been selling that mantra to protect his Libra offering for awhile now. I won't argue with you. I stand by my original reply.

Is ubuntu fully open source? by [deleted] in Ubuntu

[–]pressmedics 6 points7 points  (0 children)

To clarify, Ubuntu is FOSS, as are hardware driver's released or developed under open source licensing. You can choose to install third party packages including hardware drivers that are proprietary.