News for hackers. Stuff that matters.

masenf

Re:Thunderbird for iOS on Tuesday October 13, 2026 @10:46PM (#50081768)
As a daily Mail app user, approximately every 6 weeks, I wish it had the ability to show the full headers and raw message source.
I think meaningful is in the eye of the beholder. The library is designed such that the trace buffers are directly used as inputs to the WebGL2 drawing contexts to avoid unnecessary copying throughout the stack, which does make a difference when rendering on mobile and embedded devices with limited CPU but often having GPU resources available.
Re:Designing a Pure Python Web Framework on Friday March 22, 2024 @06:08PM (#39795371)
That's a really good point. Definitely something we need to work out before integrating this into the core framework.
Re:Designing a Pure Python Web Framework on Friday March 22, 2024 @05:05PM (#39794855)
At least one of the advantages in targeting React is being able to leverage the vast existing library of React components to quickly expose new and advanced functionality to the Reflex app.
Re:Designing a Pure Python Web Framework on Friday March 22, 2024 @05:03PM (#39794841)
Thanks for the feedback. I work on Reflex and in a recent release, the team added a template and CLI for creating third-party components and publishing them to PyPI.

Since then, I've built a few authentication libraries that might be of interest:

https://github.com/masenf/reflex-local-auth https://github.com/masenf/reflex-magic-link-auth https://github.com/martinxu9/reflex-google-auth (documentation WiP)

The problem with having auth built in is that it's been hard to find a solution that actually works for a majority of use cases. That said, as these auth libraries get more popular and refined, they might be moved into the reflex-dev organization as officially maintained components, or even integrated with the core framework.

Re:I just learned about HTML redirects on Sunday April 23, 2023 @01:17AM (#35673497)
I've recently deployed this trick on my company's confluence instance (with an HTML macro) to create a "poor man's" link shortener that allows me to change the link target after the fact.

Also recently deployed it as a very simple server side denounce: when the client first accesses page X a long running operation is dispatched. Subsequent requests for the same resource before it's done processing return a plain HTML response that says "Still thinking about it" and meta refresh after 1 second.

While true, I suppose conformity as a justification could apply to any distro choice. It doesn't justify OpenSUSE specifically in itself.

See a cousin comment from me with a bit more detail... I've probably already said too much.

I haven't been privy to those kinds of conversations. Mostly we are replacing Ubuntu LTS and older CentOS with OpenSUSE Leap for servers. Some developers are deploying Tumbleweed as a rolling release.

I'm trying to give it chance, change being hard and all.

The other comments here from long time users are giving me some hope that we may find tangible benefits, especially w.r.t btrfs and snapshots.

At the company I work at currently, we're in the process of replacing all Linux-based machines with OpenSUSE... not for any technical merit or reason that I've heard other than, "we should all use the same thing for everything".

So another 20k+ SUSE installations coming from that alone this year.

Market share by mandate; some sales guy at SUSE probably got a big bonus.

Re:How to print-debug Python comprehensions on Sunday March 05, 2023 @06:12PM (#35035237)
This is a wonderful tip. I’m surprised that as a professional python programmer for 10 years, that I’ve never seen or heard of anyone doing this!

I’ve already shared the link with my coworkers, I suspect I’ll be evangelizing this to all of my interns and mentees going forward. Thanks again.

Re:PhpBB 3.3.10 on Monday February 06, 2023 @10:01PM (#34688139)
Not sure how unconventional it is… I create topics for different projects or tasks, then regularly review/update them.

Here’s a link and some screen grabs of my topic list.

https://gist.github.com/masenf/d0a4d274da7b7a6175f50d1f1246b...

Re:PhpBB 3.3.10 on Sunday February 05, 2023 @10:45PM (#34673060)
In the last month, I’ve been experimentally replacing my use of Trello, stickies, and todo lists with a phpBB instance.

So far I’m the only user, but it’s a surprisingly nice system for keeping track of notes and regular status updates on my projects. And when I need to collaborate with someone, the permission system is quite nice as well.

The fact that it’s free, mature, and relatively easy to install and maintain are what led me to give it a try.

I have plans to eventually write a kanban view and scheduled post plug-ins to make it a bit better project tracker.

I’ve tried “Dellberts” internally once and it wasn’t well received.
Re:Homelab Analog Telephone Exchange on Saturday January 14, 2023 @08:54PM (#34386003)
Based on the other projects on the site, it looks the author is a licensed amateur radio operator.

You are correct that in the US, most personal/unlicensed (Part 95) radio services explicitly prohibit phone patch via FCC rule 95.349 [1]

[1] https://www.ecfr.gov/current/title-47/chapter-I/subchapter-D...

Re:Gripes with RSS after one week on Saturday December 31, 2022 @09:06PM (#34202846)
Previously I used Nextcloud News and enjoyed it, but recent versions require 64-bit PHP [1], which I didn’t have on the Raspberry Pi. Never did figure out why this requirement was imposed just for the News app.

[1] https://github.com/nextcloud/news/issues/1423

Re:Gripes with RSS after one week on Saturday December 31, 2022 @08:56PM (#34202793)
1. Synced feeds, read/unread status, and consistent UI across all devices

2. Hosted feed reader for friends and family.

The author mentions the friction they imagine their friends or family would have using RSS feeds, so hosting the reader for them can reduce that friction and bootstrap cost (everyone already has a browser). Then they could always export their feeds and move to a different solution later.

Re:Gripes with RSS after one week on Saturday December 31, 2022 @02:01PM (#34199551)
As a recent returnee to the world of RSS feeds, I’ve been enjoying the miniflux client [1] self hosted with docker-compose. Fast, cross-platform, not fancy.

[1] https://miniflux.app/

Re:Show HN: Pym – A Python package manager works like NPM on Thursday December 15, 2022 @11:34PM (#34010268)
I was going to ask how this differs from what PDM is doing, but then I see that it’s “just a bash script” that provides the workflow you’re going for.

PEP 582 [1] is mentioned in the README, which IMHO is the golden path for npm-style project dep management.

[1]: https://peps.python.org/pep-0582/

I’m currently using cibuildwheel and github actions to create Linux and macOS wheels [1], but I need to install some host packages to make it work, particularly automake and friends.

The main issue I have with GHA is it doesn’t support ARM (aarch64 or armv7l) executors, so building these needs QEMU, which is slow.

I also maintain a different package [2] that doesn’t currently distribute its Kerberos module via PYPI, because I haven’t had time to make the same kind of GHA pipeline and test it.

Wondering how these kinds of non-Python platform dependencies (automake, libkrb5, etc) could be handled by this system?

When would it be available to the public? It looks cool, I want to play with it.

[1]: https://github.com/masenf/gensio-binary/blob/pypi-master/.gi... [2]: https://pypi.org/project/pike-smb2/

Re:I moved away from Poetry for Python on Thursday December 15, 2022 @05:32PM (#34006754)
I recently developed a tox plug-in, tox-pin-deps [1], that integrates the pip-compile workflow with dependencies specified in tox.ini (per environment). This was in response to both poetry and Pipenv being non-standard and consistent stumbling blocks for ramping up new devs on the team.

Despite the shiny, I seem to always find my way back to standard tools and text files.

[1]: https://github.com/masenf/tox-pin-deps

The article includes a graph of "Vehicle thefts in U.S. cities where Car2Go operates* in 2018" and Chicago is at the top of the list. If that was their pilot city, interesting choice. Alternatively, if they rolled out the policy change in all locations at the same time, interesting choice.

Article doesn't report problems in other cities...

Re:Brainwave based authentication prototype from UC Berkeley on Wednesday April 10, 2013 @07:45PM (#5529007)
Something like this could make authentication (and potentially other tasks) with face-computing devices seamless and secure!
Re:LA In Sync: Traffic Signals To Cut Travel Times on Wednesday February 20, 2013 @03:19PM (#5253047)
I am not a traffic flow engineer, but I have experienced what you describe in regard to the walk button behavior in many places in western Washington, US. I always reckoned that they were using a simple model in which a button press would cause the "WALK" signal to always be fired at the corresponding light configuration at the _next_ cycle start. This is most likely a safety consideration because, as you noted, there may not be enough time to safely cross.

In some complex intersections I've noticed that the 'cycle start' doesn't necessarily line up with the corresponding configuration for the walk button which was pressed. This may result in having to wait nearly two complete cycles for the walk signal in the worst case (pressing the last configuration's walk button immediately after the cycle start). The resulting behavior could be considered a bug, or perhaps just more consideration payed to vehicle traffic. But it is certainly frustrating as the pedestrian.

At many intersections I cross now the signals are automatic with the traffic flow. Most of them also contain a countdown timer indicating the number of seconds until the light changes. It seems that this behavior would be a good tradeoff for pedestrian efficiency and safety. However it comes with a bit of trust from the gov, that you know you can't walk across 5 lanes in 2 seconds.

Re:ICANN reveals objections to proposed top level domains on Sunday November 25, 2012 @02:35PM (#4829000)
I thought it was interesting that Saudi Arabia was opposed to granting certain gTLDs on the grounds that they would likely be used to host content which their culture considers offensive. To me, it seems like if that government could censor all* homosexuality and "substances detrimental to public order and morals" by blocking .gay and .wine, then that would be in its interest.
I think this is a really cool idea (and works anywhere with a net connection). But what stops someone from entering my name and wiping out my entire task list?
Re:.mail app on Wednesday July 25, 2012 @02:10PM (#4292192)
From the video: "Our servers store metadata about your messages, but not the messages themselves"

It's difficult for me to invest the time (and effort) required to use a service like this, when that investment could easily just go away when the service is pulled for whatever reason. Or, if their servers are down will I have robust access to my mail client?

One of the nice things about old email is that it is portable. Metadata on 3rd party servers seems to cast this positive aspect about email aside.

Some aspects of these new emerging services are novel, specifically the UI and layout of features. As many have pointed out recently, similar functionality has existed in mail clients for years. However, not every email user is aware that their use of email could be made more productive just by utilizing the tools already in their email environment. I would guess these mail client-services are catering to that market -- the less technically inclined. Consequently, these customers are less likely to know or care about the implications of spreading vital work-related or important data across new and potentially volatile services.

That said, I do support nice-looking and more usable email clients, just not at the cost of dependence on a 3rd party service.

Re:Odd, but effective, Windows Fix on Saturday June 02, 2012 @04:15PM (#4059050)
I'm not sure why the pagefile would even be in use if your system operates with 4.5Gb free memory...

Older »