Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
squaresmile
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
61.
▲
by
squaresmile
6y ago
Yeah, I agree with the comments that the "for production apps" distinction is a bit weird. I would title it "We are building a Heroku-like experience for big cloud providers". I can see the point of a service like this a
62.
▲
by
squaresmile
6y ago
Hah if your Github repo name is at the right length, you'll get that bug with the fork pop-up window. [0] https://i.imgur.com/dS5acnx.gifv The gif doesn't have enough fps. IRL the animation is about 10x faster tha
63.
▲
by
squaresmile
6y ago
I couldn't find exactly an only Core example that you are looking for in the examples folder [0] so here is a more complicated tutorial query [1] and here's how I use Core in my project [2] (mostly short select statements so not r
64.
▲
by
squaresmile
6y ago
I mean they depreciate the old app and force upon us the new app. I don't think you can look too much into the download number.
65.
▲
by
squaresmile
6y ago
The human style format reminds me of the default format of js-beautify [1]. We use it to get the "human-style" instead of the "One Line Per Node" for a project where we store json files in a git repo. That way the git di
66.
▲
by
squaresmile
6y ago
I agree with other comments that in the current market, Lastpass is not worth it at $36/y. The way they increased the price is arguably more annoying than the price tag. I happily paid for Lastpass at $12/y. Logmein raised price a
67.
▲
by
squaresmile
6y ago
I assume you meant using leetcode's editor without type checking then yeah, there's much less benefit using type hints there. In my vscode setup with mypy strict, pylance basic and python 3.9 though, type hints all days for me. I
68.
▲
by
squaresmile
6y ago
Interesting, I'm using this [0] to test and got different results. The Pythonic function is 2% slower on 3.9.1 AMD 4900HS but 17% faster on 3.9.1 E5-2660 v2 VPS and 6% faster on 3.6.9 i5-3570S bare metal. I personally think either func
69.
▲
by
squaresmile
6y ago
If one considers everything spent on health insurance companies a waste, which I disagree with, one should look at the loss ratio to see how much the insurance is extracting. In the linked report, the loss ratio is 84% so the insurance comp
70.
▲
by
squaresmile
6y ago
Another thumb up from me for whatever it's worth. Thanks to FastAPI, I was able to create an API for the community with very little experience, in turn enabling a bunch of downstream apps to be made: a bunch of Discord bots, a few calc
71.
▲
by
squaresmile
6y ago
I'm pretty sure if you enable Extension Developer Mode, you won't get that nagging message on launch.
72.
▲
by
squaresmile
6y ago
This is not academic writing though. This is an interesting story posted on somebody's blog. If I tell my friends a cool story, I would need to walk them through the story and drop the punch line/conclusion at the end. I also enjo
73.
▲
by
squaresmile
6y ago
I personally enjoy a good story. I think articles like this are about the story as much as if not more than their informational aspect. They are kind of like cool stories you tell your friends. You can see it the conversational sentences in
74.
▲
by
squaresmile
6y ago
I don't think that's a fair comparison. You can switch from 10S to normal mode in a few buttons. https://support.microsoft.com/en-us/windows/switching-out-of...
75.
▲
by
squaresmile
6y ago
I agree that they probably shouldn't have done this legally but programming wise, those videos are special (and that's why they are in tests) and looks like only VEVO can upload special videos like that and not a random pleb.
76.
▲
by
squaresmile
6y ago
> When the discussion is about economics (the topic I have studied at uni) most comments are just plain wrong and show a complete ignorance about the topic. I think curating a discussion board to have knowledgeable discussion about many
77.
▲
by
squaresmile
6y ago
I can't believe after years of fiddling with a bottom bar (Home/Duplex/Duet), they couldn't figure it out and just scrapped the whole thing. The killedbygoogle meme is probably exaggerated a bit but I feel like this whol
78.
▲
by
squaresmile
6y ago
I'm only a random passerby in finance/economics but I have seen a few blogs like this upvoted on HN. Those blogs are usually (or at least advertised to be) run by a single person (in this case, a couple). When I go to the blogs&#x
79.
▲
by
squaresmile
6y ago
From the comments here, I guess we are so. I have a 1080p 14 inch laptop and with Consolas at 15px and it's pretty much exactly 2 panes of 80 chars in vscode. I would increase the limit if I can fit more though and I don't mind ac
80.
▲
by
squaresmile
6y ago
> although you don't have the clean pyproject-dev-prod/lock file separation That's why I use "poetry export -f requirements.txt > requirements.txt" instead of pip freeze. It only exports prod requirements from
81.
▲
by
squaresmile
6y ago
I probably haven't bought into all of poetry yet but for deployment, I have been using "poetry export" to get the pinned requirements.txt, commit it to the repo and install to a virtualenv. A bit of work to keep it in sync wi
82.
▲
by
squaresmile
6y ago
I settled on --plus-color="#157330" --minus-color="#731525".
83.
▲
by
squaresmile
6y ago
I think OP's comment focuses on the average outcome and your comment is about the education process. I think both are right. While there are stark differences in the process, the average outcome is probably not much different. Students
84.
▲
by
squaresmile
6y ago
I'm using this userstyles that hide the sidebar when the window width is less than 1500px. [0] https://gist.github.com/squaresmile/47ed504ba2838f51be451518...
85.
▲
by
squaresmile
6y ago
I feel like they don't advertise this enough. I was under the impression that it's a one way street from wsl1 to wsl2. Since wsl2 is not strictly better than wsl1, it's nice to be able to convert and pick the trade-offs you w
86.
▲
by
squaresmile
7y ago
which is used to get > All of the important things, like passwords and emails and secret keys, are in user space memory or in the user readable file system, generally... In this scenario in OP's comment, user accessible stuffs are s
87.
▲
by
squaresmile
7y ago
It's probably mutagen.
88.
▲
by
squaresmile
7y ago
His timeline is messed up. A year ago, Weather Timeline got pulled from the app store because sales wasn't covering the API cost. After a month or two, it got sold to the company that made MyRadar. https://www.reddit.com
89.
▲
by
squaresmile
7y ago
For some more info: https://www.reddit.com/r/aviation/comments/cmypjd/the_finger... It's fun thread. You can catch some actual military pilots there.
90.
▲
by
squaresmile
7y ago
I found tabula or camelot to be pretty good at extracting tables from pdf. I worked on a few JP's gov PDFs and they are not fancy so that's nice. Some light post-processing is still needed but the automation probably will keep wor
More ›