@pauleveritt@fosstodon.org avatar

pauleveritt

@pauleveritt@fosstodon.org

Python and Web Developer Advocate at
@JetBrains
for
@PyCharm
and
@WebStormIDE
. Python oldster, Zope/Plone/Pyramid mafia. Girls lacrosse, running.

This profile is from a federated server and may be incomplete. Browse more on the original instance.

mahryekuh, to javascript
@mahryekuh@fosstodon.org avatar

💡 Tip: you can use window.matchMedia() in to perform media queries similar to .

I use it to determine whether animations should fire, an interesting new thing I learned in the project I'm working on.

For example, check for the following media to toggle animations per the user's preferences:

  • (prefers-reduced-motion: reduce)
  • (update: slow)
  • print

I hope to write a blog article with more details once the project is up.

https://developer.mozilla.org/en-US/docs/Web/API/Window/matchMedia

pauleveritt,
@pauleveritt@fosstodon.org avatar

@mahryekuh Ahh, I remember when XSL-FO and Prince were both going to herald the future of printing and PDF. Sigh.

pauleveritt, to random
@pauleveritt@fosstodon.org avatar

Kudos to Dawn Wages, Rachel Calhoun, Sarah Abderemane, @sarahboyce and Tim Schilling for the award, such an innovative effort. https://www.djangoproject.com/weblog/2023/dec/08/2023-malcolm-tredinnick-memorial-prize-awarded-to/

pauleveritt, to random
@pauleveritt@fosstodon.org avatar

My colleague and buddy @HelenJoScott rolled out her PyCharm what's new video. Fun, fast, informative. https://youtu.be/Phghf_ZMq3g?si=ip0hlfSWPZwhBpLC

pauleveritt, to random
@pauleveritt@fosstodon.org avatar

I switch between JS and Python a lot. Both have multiple ways of environment stuff.

For Python, I just did this:

$ .venv/bin/pip upgrade pip
[shit]
$ .venv/bin/pip update pip
[oh yeh, shit]
$ .venv/bin/pip install --update pip
[double yeh, shit]
$ .venv/bin/pip install --upgrade pip

pauleveritt, to random
@pauleveritt@fosstodon.org avatar

Here's an article that summarizes some of my (albeit from-a-distance) feelings about Tailwind. /cc @_chrismay https://pdx.su/blog/2023-07-26-tailwind-and-the-death-of-craftsmanship/

pauleveritt, to random
@pauleveritt@fosstodon.org avatar

Well, Happy DOM has been busy. https://github.com/capricorn86/happy-dom/releases

talkpython, (edited ) to python
@talkpython@fosstodon.org avatar

Join us for the live recording of Parallel Python Apps with Sub Interpreters with @tonybaloney and @ericsnowcurrently in ~ 3 hours. cc @mkennedy

https://www.youtube.com/watch?v=gW1sBMfRPjg

pauleveritt,
@pauleveritt@fosstodon.org avatar

@talkpython @ericsnowcurrently @mkennedy @tonybaloney Holy crap, I missed this. Well, guess I'm not watching Shetland Season 8 tonight.

pauleveritt, to random
@pauleveritt@fosstodon.org avatar

Interested in WebStorm and Angular? @webdevel has a good blog post: standalone components, signals, control flow https://blog.jetbrains.com/webstorm/2023/12/the-angular-renaissance-navigating-the-new-features-with-webstorm/

khalidabuhakmeh, to javascript
@khalidabuhakmeh@mastodon.social avatar

So @pauleveritt sent me a #WebComponents blog post, and I had to recreate it. I could see myself writing web components in the future. #JavaScript #Fleet #JetBrains #HTML

Original post: https://multiline.co/mment/2023/12/reactivity-with-attributes/

Fave button written using Web Components

pauleveritt,
@pauleveritt@fosstodon.org avatar

@khalidabuhakmeh neat. What do you think of the technique?

pauleveritt, to random
@pauleveritt@fosstodon.org avatar

@webology Did you see this ending to the Yale-Vermont game? 6 points in 3.8 seconds https://twitter.com/McAllisterMike1/status/1731137441933697381

pauleveritt, to random
@pauleveritt@fosstodon.org avatar

I've been getting Hatch (and other) help from @koxudaxi ... made a quick 5 min zero-prep video about it: https://youtu.be/A1lx-tUFMqo

pauleveritt, to random
@pauleveritt@fosstodon.org avatar

Anybody know if Pyodide builds support subinterpreters?

pauleveritt, to random
@pauleveritt@fosstodon.org avatar

I previously noted my surprise that Hatch covers what pyenv does to use/install multiple Pythons. As @brettcannon noted, it's downloading binaries.

@koxudaxi is teaching me these things. And TIL, Hatch also covers what I was using nox for.

pauleveritt, to random
@pauleveritt@fosstodon.org avatar

Shame on me... I didn't know Hatch now has support for:

Documented here: https://hatch.pypa.io/dev/cli/reference/#hatch-python

pauleveritt, to random
@pauleveritt@fosstodon.org avatar

Lot of good stuff happening in the next WebStorm https://blog.jetbrains.com/webstorm/2023/11/webstorm-2023-3-rc/

pauleveritt, to random
@pauleveritt@fosstodon.org avatar

"What should I have for lunch?" said no American today.

tonybaloney, to random
@tonybaloney@fosstodon.org avatar
pauleveritt,
@pauleveritt@fosstodon.org avatar

@tonybaloney Really gonna miss that sunau module.

tonybaloney, to random
@tonybaloney@fosstodon.org avatar

Long train journey so I’m going to start a Pytest extension that runs the tests inside sub interpreters. Will only support Python 3.13a2 which isn’t even out yet. Sorry. Collaborators welcome, but assume lots of yall are Turkeying 🦃

pauleveritt,
@pauleveritt@fosstodon.org avatar

@tonybaloney Very very clever idea. I've seen some things while watching Vitest evolve. Can you explain a little more, to see if it matches?

khalidabuhakmeh, to random
@khalidabuhakmeh@mastodon.social avatar

Got my Credit Card frozen on Thanksgiving 😭 When the bank is on holiday.

pauleveritt,
@pauleveritt@fosstodon.org avatar

@khalidabuhakmeh Nefarious activity again?

pauleveritt, to random
@pauleveritt@fosstodon.org avatar

Anybody with suggestions for a full-sized Mac-friendly keyboard?

pauleveritt,
@pauleveritt@fosstodon.org avatar

@stfn Do you have one?

pauleveritt,
@pauleveritt@fosstodon.org avatar

@brettcannon Thanks, and I'll get that episode plugged into my ears asap. Great timing.

pauleveritt, to random
@pauleveritt@fosstodon.org avatar

We're hosting the incomparable @brianokken for a pytest webinar in 30-ish minutes. https://info.jetbrains.com/pycharm-webinar-november21-2023.html

tonybaloney, to random
@tonybaloney@fosstodon.org avatar

I'm going to live stream some CPython 3.13 core stuff in an hour. If you're interested in no-GIL, sub interpreters then check in https://youtube.com/live/kLMUXO68_DU?feature=share live Q&A

pauleveritt,
@pauleveritt@fosstodon.org avatar

@tonybaloney Dang, missed it. I'll queue it up in a browser tab for after the pytest webinar with Brian in 30 min.

tonybaloney, to python
@tonybaloney@fosstodon.org avatar

New Blog Post! Running Python Parallel Applications with Sub Interpreters. What is a sub interpreter? What does this have to do with No-GIL? What use is this? Can I use it for web apps? This and more questions answered. https://tonybaloney.github.io/posts/sub-interpreter-web-workers.html

pauleveritt,
@pauleveritt@fosstodon.org avatar

@tonybaloney You implemented tuple sharing last week?!! Huzzah!

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • kavyap
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • tacticalgear
  • khanakhh
  • Youngstown
  • mdbf
  • slotface
  • rosin
  • everett
  • ngwrru68w68
  • Durango
  • JUstTest
  • InstantRegret
  • cubers
  • GTA5RPClips
  • cisconetworking
  • ethstaker
  • osvaldo12
  • modclub
  • normalnudes
  • provamag3
  • tester
  • anitta
  • Leos
  • lostlight
  • All magazines