Readit News logoReadit News
kkirsche commented on Sunny days are warm: why LinkedIn rewards mediocrity   elliotcsmith.com/linkedin... · Posted by u/smitec
zwnow · 4 months ago
LinkedIn is basically a marketplace for boomers. Facebook but for jobs pretty much. Im sorry to hear u think this highly of it, as its just a gathering of pretentious people.
kkirsche · 4 months ago
This has been my experience. Just a bunch of ego stroking
kkirsche commented on PEP 760: No more bare excepts   discuss.python.org/t/pep-... · Posted by u/ayhanfuat
kkirsche · a year ago
I wish people would stop holding onto compatibility as if it is some amazing feature. It has benefits, but also comes with many drawbacks to innovation and improvement in established ecosystems
kkirsche commented on Canva has acquired Affinity in an effort to compete with Adobe   finance.yahoo.com/news/ca... · Posted by u/achow
kkirsche · 2 years ago
I love their software and am happy for the humans behind it all. As a customer who doesn’t believe they won’t force a subscription on me, I wish I had never supported them
kkirsche commented on Atuin – Magical shell history   atuin.sh... · Posted by u/tambourine_man
deng · 2 years ago
In "What you get with Atuin" the first(!) point is "Sync your shell history to all of your machines, wherever they are". That obviously cannot work with a local SQLite. Without syncing, this is a better ctrl+r, which I won't disagree is nice, but not the real point of this software. If the page says this is "trusted" by pretty much all major software companies, I would assume this includes syncing, which is the main feature.

Also, even the possibility that the software would send this to the outside would make this impossible to use at my company, and I don't think we are overly strict in that sense here.

kkirsche · 2 years ago
Many large companies suffer from the concept of shadow IT. The use of software and services that aren’t blessed by the company to accomplish tasks that are blessed. As someone in security at a large company, I expect this is a matter of not every company has people who follows rules. I know I’ve seen and know, even within security orgs, plenty of people who don’t follow the rules because a few bad rules makes them feel that other important rules are also bad. It’s pretty simple to bypass the software companies use to “enforce” the rules
kkirsche commented on Why if TYPE_CHECKING?   vickiboykis.com/2023/12/1... · Posted by u/BerislavLopac
diarrhea · 2 years ago
One question comes to mind: isn't cyclic dependencies something to be resolved at the root cause (remove the cycle)? It's an issue that causes various pains down the line, like type checking in this case.
kkirsche · 2 years ago
Broadly speaking, yes, but for some situations like database models with bi-directional relationships that can cause unnecessary maintenance burden simply for the benefit of type checking which this allows you to work around since the cyclical nature is only caused by typing not runtime semantics
kkirsche commented on Monaspace   monaspace.githubnext.com/... · Posted by u/davidbarker
itsikap · 2 years ago
How do you configure different fonts? This was the first thing I wanted to try, but can't figure it out. Am I missing anything obvious?
kkirsche · 2 years ago
I tried to use custom css in vscode but couldn’t figure out how to get it to work.
kkirsche commented on Show HN: TypeScript Style Guide   github.com/mkosir/typescr... · Posted by u/marko424
mock-possum · 2 years ago
I wish there was more exhaustive explanations for some of these -

> Enums : Prefer object const assertion over enum.

But I like enums!

kkirsche · 2 years ago
https://blog.logrocket.com/why-typescript-enums-suck/ may be a good introduction. I love enums in other languages but they can come with some unexpected behaviors in typescript
kkirsche commented on If PEP 703 is accepted, Meta can commit three engineer-years to no-GIL CPython   discuss.python.org/t/a-fa... · Posted by u/bratao
twosdai · 2 years ago
Not the poster of the question,

But I think they're referencing the litany of transpilers and repackagers which exist for js. So you can add new features and then still have it run on really old systems like internet explorer 9 if you need to.

This has problems obviously and in my opinion for python it would be preferable.

My reasoning being that if you need your code to work on an older system being able to write and use current syntax is preferable to not, and the hard bifurcation that python did with 2 to 3 and now potentially with 3 to nogil seems to me just to break apart the ecosystem more.

kkirsche · 2 years ago
That differs but is a reasonable understanding. I’m instead referring to automations that perform large scale refactoring as handled by Facebook, who would be contributing to this effort.

https://github.com/facebookarchive/codemod

It sounds like what you are describing is what’s known as poly fills which convert code into a variant that maximizes function across implementations which isn’t really applicable here.

kkirsche commented on If PEP 703 is accepted, Meta can commit three engineer-years to no-GIL CPython   discuss.python.org/t/a-fa... · Posted by u/bratao
VWWHFSfQ · 2 years ago
I'm not sure what "codemods" means. Just static analysis code changer? Python is so highly runtime dynamic I'm not sure a tool is even possible to upgrade behavior, preserving correctness and intent (bugs and all).
kkirsche · 2 years ago
https://github.com/facebookarchive/codemod

Ironically this is also from Meta which would be contributing to this space increasing the expertise of achieving this result.

kkirsche commented on If PEP 703 is accepted, Meta can commit three engineer-years to no-GIL CPython   discuss.python.org/t/a-fa... · Posted by u/bratao
closeparen · 2 years ago
It's hard to imagine a devex good enough to compensate for "every so often you need to revisit all the code ever written in this language."
kkirsche · 2 years ago
I think this is where concepts from Rust and Go could come in handy. Things like Go’s race condition detection and rust’s compiler validation approaches can be used to statically analyze code. Sure, it’s a meaningful change from how many Python devs approach the language and challenging problem but not insurmountable given the existing work in the field.

u/kkirsche

KarmaCake day564November 3, 2014
About
Hey!

My name is Kevin, and I am a cybersecurity developer and penetration tester for an ISP, developing tools such as DDoS Mitigation solutions, security evaluation tooling, vulnerability management tools, and much more. I enjoy building complex projects comprised of front end, back end, and various integrations, as it pushes me to stretch my design, programming, and architecture skills.

The thoughts and opinions I express on Hacker News are my own, and I look forward to having great discussions with the community.

View Original