Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mehrdadn
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
96 ms
·
931.
▲
by
mehrdadn
6y ago
Thank you! Your comments are always great. :) Especially this bit was I think the insight I was looking for: > This does mean that the experience of using Nix is different from using a traditional package manager - you'll need to ta
932.
▲
by
mehrdadn
6y ago
Great description, thanks. Question: do you know how Nix deals with language package managers (like pip)? If I do sudo pip install (leaving aside the usual debate as to its merits), does that then wreck my Nix install, especially if it happ
933.
▲
by
mehrdadn
6y ago
This is a really good explanation, thank you!
934.
▲
by
mehrdadn
6y ago
Thanks for explaining. I'm (obviously, I thought) not suggesting distros are only about the patches, but patches are a very significant aspect of their raisons d'être to me. I thought most distro maintainers do things like backp
935.
▲
by
mehrdadn
6y ago
Okay thanks, so it sounds like I'll (roughly) end up with Arch (i.e. mostly-unmodified) whether I start on Ubuntu, Fedora, or whatever. I have another on that front: what about things like kernels? Don't those conflict with the OS
936.
▲
by
mehrdadn
6y ago
Thanks! So let's say I start installing Nix packages. What distro's packages would they end up most similar to? Say, maybe Arch (which mostly leaves things unmodified)? Does that mean you basically end up with Arch no matter which
937.
▲
by
mehrdadn
6y ago
Thanks, but I already got that much. It doesn't answer my question though. If Ubuntu has made a modification to a package (that's basically the entire point of most distros, otherwise they'd be Arch), should I expect those ch
938.
▲
by
mehrdadn
6y ago
I get that part. I'm asking what the Nix version is like. Is it like the Ubuntu version with all the patches and backports and everything, or is it like the Arch (i.e. basically original unmodified) version?
939.
▲
by
mehrdadn
6y ago
> Own modifications to what? To the packages. e.g. I believe Ubuntu modifies Python so that sudo pip install uses /usr/local instead of /usr. Lots of other patches and backports I'm not necessarily aware of. That'
940.
▲
by
mehrdadn
6y ago
Thanks, yeah. Conceptually I'm having a hard time wrapping my head around it since package managers are so tightly tied to an OS... I feel like surely I can't just use it in place of (say) apt or pacman without causing problems? A
941.
▲
by
mehrdadn
6y ago
Windows ? You're kidding me! Where do I see Windows support? On their website I only see Mac and Linux.
942.
▲
by
mehrdadn
6y ago
Thanks, but that makes me wonder how that's even possible given that distros make their own modifications? Do people port each distro's packages to Nix then? Are they kept up-to-date? Or does it automatically translate from apt&#x
943.
▲
by
mehrdadn
6y ago
I'm still confused. What is Nix? Is it an OS, or a package manager? From the looks of it it's a package manager that I should be able to use it on any POSIX system, but I doubt that's the case?
944.
▲
by
mehrdadn
6y ago
You can totally have modularity and lack of coupling with implementation inheritance. That doesn't mean you necessarily will in every problem (especially if you're not paying attention), but in general it's a false dichotom
945.
▲
by
mehrdadn
6y ago
The Visitor pattern is useful for some designs and it can be quite natural with inheritance. GUIs also tend to lend themselves nicely to inheritance. Streams are also generally nice to implement with inheritance as well. More generally, dyn
946.
▲
by
mehrdadn
6y ago
I never understood how this can be the business model. Isn't it illegal? https://www.ftc.gov/tips-advice/competition-guidance/guide-a...
947.
▲
NASA’s human spaceflight chief has resigned
(arstechnica.com)
2 points
by
mehrdadn
6y ago
|
0 comments
948.
▲
by
mehrdadn
6y ago
> I've pointed out before that the enthusiasm for micropayments is from people who want to collect them, not those who want to pay them. It might be just out of my ignorance for what the downsides are, but quite often I do wish I ha
949.
▲
by
mehrdadn
6y ago
The startup time of .NET is nothing like JVM's in my experience.
950.
▲
by
mehrdadn
6y ago
I'm not going to name names here but I'm aware of at least one person whose title is a "named" Assistant Professor and one whose title is (from what I can tell online) just "Assistant Professor".
951.
▲
by
mehrdadn
6y ago
The performance characteristics are similar are they not?
952.
▲
by
mehrdadn
6y ago
Huh? I don't think so... the previous article points to this article.
953.
▲
by
mehrdadn
6y ago
> I don't think you can get a tenure-track job right out of your PhD, even an MIT fake tenure-track job (they say it guarantees you tenure, just not necessarily at MIT). I know some (very bright) graduate students do get assistant p
954.
▲
by
mehrdadn
6y ago
Can I ask how you parse PDFs? I'm curious both in terms of reading the PDF data (Python library?) and parsing it (regex?)... and do you have to deal with OCR as well?
955.
▲
by
mehrdadn
6y ago
There are a few problems with exporting data... here's what comes to my mind at the moment: - It's an additional step and unnecessary when you're already downloading PDF statements, which you probably should be doing regardle
956.
▲
by
mehrdadn
6y ago
I've seen this happen fairly consistently on very low-demand off-peak flights. I don't think it's a supply/demand thing. The coincidence of the timing a day or two after I search and the consistency of the experience is
957.
▲
by
mehrdadn
6y ago
If you're trying to run it on Windows with Python 3.8, add numpy and cython to the dependencies, and change Tensorflow's requirement to be >= rather than ==. Though then you'll run into compatibility errors like "No m
958.
▲
by
mehrdadn
6y ago
Along these lines, I've noticed airlines seem to jack up a ticket price in the subsequent days if you search for a ticket, visit their website, and don't buy the ticket. Though maybe if you wait a couple weeks they might get disap
959.
▲
by
mehrdadn
6y ago
I wouldn't mind categorizing "assembly language" differently from "programming language".
960.
▲
by
mehrdadn
6y ago
Do you happen to have any ideas why Alameda county is performing worse?
More ›