Readit News logoReadit News
tylfin commented on PYX: The next step in Python packaging   astral.sh/blog/introducin... · Posted by u/the_mitsuhiko
miraculixx · 4 months ago
Anaconda solved the same problem ~10+ years ago already.
tylfin · 4 months ago
Posit has solved similar problems with their Package Manager as well, the benefit being that it's hosted on-prem, but the user has to build wheels for their desired architecture (if they're not on pypi).
tylfin commented on Software Architecture Patterns: 5 minute read   orkhanscience.medium.com/... · Posted by u/jlee11
tylfin · 4 years ago
I don't think the term "Microkernel Architecture" should be used in this context. I think "Modular Architecture," (or Plug-in like is mentioned) gets closer to this extension-based pattern.

The reason being that there's no relevance to the kernel, and modular kernels, also take this approach with replaceable plug-ins or extensions.

tylfin commented on Udemy S-1 IPO   sec.gov/Archives/edgar/da... · Posted by u/marc__1
moneywoes · 4 years ago
Is the online course market not over saturated with LinkedIn Learning, Pluralsight etc
tylfin · 4 years ago
This is actually something they address in the Risk Factors section (here: https://www.sec.gov/Archives/edgar/data/1607939/000119312521...) if you're curious about what they have to say.
tylfin commented on Malicious PyPI packages stealing credit cards and injecting code   jfrog.com/blog/malicious-... · Posted by u/hpb42
qwertox · 4 years ago
I don't think that it's good to just delete the packages. Same goes for Android Apps in the Google Play Store or for Chrome Extensions.

These compromised packages should have their page set to a read-only mode with downloads/installs disabled, with a big warning that they were compromised.

This is specially troublesome with Chrome Extensions and Android Apps, where it is not possible to get to know if I actually had the extension installed, and if I had, what it was exactly about.

Chrome Extensions getting automatically removed from the browser instead of permanently deactivated with a hint of why they can't be activated again, and which was the reason why the extension got disabled, is a problem for me. How do I know if I had a bad extension installed, if personal data has been leaked?

This also applies to PyPI to some degree.

----

Eventually the downloads should get replaced with a module which, when loaded, prints out a well defined warning message and calls sys.exit() with a return code which is defined as a "vulnerability exception" which a build system can then handle.

tylfin · 4 years ago
There is the "Yank" PEP 592 semantic that can be used to mark vulnerable packages. It's adoption has been a little slow, but I agree, having these packages available and marked accordingly makes it easier for security scanning and future detection research.

https://www.python.org/dev/peps/pep-0592/

tylfin commented on Image unshredding using a TSP solver   github.com/robinhouston/i... · Posted by u/ingve
jdthedisciple · 4 years ago
What would be an exemplary use case for this? Like, when do you ever have images in front of you that are shuffled in this way?
tylfin · 4 years ago
I could imagine a civil or criminal case relying on shredded documents as a source of evidence.
tylfin commented on Cores that don’t count [pdf]   sigops.org/s/conferences/... · Posted by u/rajeevk
tylfin · 5 years ago
Can't reproduce the issue after a few minutes? Sorry wont-fix, mercurial core.

Joking aside, it's really neat to see the scale and sophistication of error detection appearing in these data centers.

tylfin commented on GitHub experiencing issues with actions, pull requests, packages   githubstatus.com/incident... · Posted by u/Amorymeltzer
capableweb · 5 years ago
If you're working on a serious project, hosting it mainly on GitHub via Git and don't already have a backup solution in place, I'm afraid you're late. But better late than never! Make sure you can always deploy when less reliable services are down, and GitHub has always been one of those. Git makes it incredibly easy as well, as long as you have your CI/CD externalized already.
tylfin · 5 years ago
Yeah, this is very good advice.

I think if revenue or product quality is tied to a VCS, having an active-active or active-passive setup is the way to go.

Fortunately, I'm on an on-prem product so that investment hasn't seemed worth it yet.

This doesn't mean we don't escrow our code, but rather than try to rebuild from source, I just take a short coffee break and wait for the impacted service to come back up :)

tylfin commented on GitHub experiencing issues with actions, pull requests, packages   githubstatus.com/incident... · Posted by u/Amorymeltzer
pestkranker · 5 years ago
~10 downtime per month. What is happening at GitHub?
tylfin · 5 years ago
The last time this happened, it was after they shipped the phone app.

I wonder if they have a big feature underway or are just migrating more infrastructure to Azure?

EDIT: Either way, some postmortems would be appreciated before more customers have to look for a backup solution...

tylfin commented on MasterCard data analytics opt-out page: where did it go?    · Posted by u/oriettaxx
tylfin · 5 years ago
From Google, I think this is the page you're looking for:

https://www.mastercard.us/en-us/vision/corp-responsibility/c...

u/tylfin

KarmaCake day124October 8, 2015View Original