Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
memco
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
18 ms
·
181.
▲
by
memco
5y ago
In the final example there is a create effect and an unsafe create effect: could these be collapsed such that something checks for any argument that makes the call unsafe and defer to the unsafe version but otherwise chooses the safe versio
182.
▲
by
memco
5y ago
Not sure about the most common, but I used it to inspect some requests that an app was making so I could find the needed parameters to get the data from the App’s backend servers in a tool I was developing. I was able to proxy the app’s con
183.
▲
by
memco
5y ago
Nassim Taleb talks about a similar phenomenon in “Skin in the Game.” His proposition is that there are cases where a minority’s needs or values might be small relatively speaking but the cost of not accommodating them is more than that of n
184.
▲
by
memco
5y ago
One thing I was curious about is how the PNG would compare after running it through an optimizer since that would be a more fair comparison since the H.264 encoding does optimize. Even so, I bet the H.264 would fare well. I did an experimen
185.
▲
by
memco
5y ago
> otherwise it will behave like a really, really fast typewriter — it’ll go from left to right, letter by letter, until it hits the other margin, then start again on the next line. Or until it is switched to a different writing mode, whi
186.
▲
by
memco
5y ago
I think the first_true optio is great and I highly recommend more-itertools, but if you’re looking for a built in alternative I usually use next((I for I in iter if is_thing(I)), default) It’s slightly more work than any but is pret
187.
▲
by
memco
5y ago
Check out more-itertools which has things like take, tail and a bunch of other nice functions for working with iterators if you haven’t. Would allow you to do something like for el in take(100, iter): print(el) Plus there’s a bu
188.
▲
by
memco
5y ago
Didn’t see details of the actual method other than it is based on fast Fourier transforms. Would be cool to see a breakdown like they did for the carrying and Karatsuba methods or better yet some code.
189.
▲
by
memco
5y ago
I felt a little cheated when they launched the nini after the 2020 SE. I’m still using my 2020 SE and will probably update in the next year but I’m not sure whether I’ll go for the 2022 SE or the mini. The cost of the SE and the Touch ID ar
190.
▲
by
memco
5y ago
Don’t they already offer Xcode build as a service? That presumably is using Mac servers so it wouldn’t be totally out of the blue to have more Mac SaaS.
191.
▲
by
memco
5y ago
I’ve been using Celery and it has been working okay for our needs but it is not very friendly to make changes depending on how you write tasks. I feel okay when a task is a wrapper around some other functions that you can just run and test
192.
▲
by
memco
5y ago
So does optimization and efficiency. Apple can add this in at some point and say they reduced App sizes by X% across the entire App Store at WWDC and get lots of oohs and aahs.
193.
▲
by
memco
5y ago
I got the 65” last year: took some adjustment to get the sound to be okay as the defaults were pretty bad. Otherwise it’s decent.
194.
▲
by
memco
5y ago
What specifically bothers you about functools partial? I think the decorator is nice in certain ways. However, then you have to decorate your code and guess where you’re going toy need the partials or create wrappers just to add the decorat
195.
▲
by
memco
5y ago
This is fantastic! One question I have is how I compare two specific colors. I can compare teal-900 to green for example, but I would like to compare specifically green-400: is that possible?
196.
▲
by
memco
5y ago
The UI seems responsive and produces nice looking results. However I found the usefulness of blending and mixing hampered by the fact that fine grained control of the saturation, luminance, etc. are only available in the modify tab. It woul
197.
▲
by
memco
5y ago
That was in the bad old days before CSS border-radius existed and you had to use transparent GIFs and lots of other fun tricks.
198.
▲
by
memco
5y ago
Because of my experience with Kitty I agree this is a little bit of a pain point which could use some TLC by all parties involved. However, kitty seems to occupy a unique position on this and although it has intriguing ideas does not seem t
199.
▲
by
memco
5y ago
Textmate 2 had some support for proportional width and different heights and styles in its early days. Don’t know how it panned out since I’ve since stopped using it.
200.
▲
by
memco
5y ago
There was a presentation pycon 2021 describing how protocols enables better typing in several cases: https://m.youtube.com/watch?v=kDDCKwP7QgQ&list=PL2Uw4_HvXqvY... . They sound similar to what you describe in that the p
201.
▲
by
memco
5y ago
I expect it varies a lot from school, region, accrediting body, etc., but I worked for a school administration and taught as an adjunct for a spell and mostly the teachers themselves decided the books and were approved so long as the cost w
202.
▲
by
memco
5y ago
Craig Federighi finds a way.
203.
▲
by
memco
5y ago
There is an end turn early button in the top right corner of the page visible after you make a shot.
204.
▲
by
memco
5y ago
Long before audio books were a public thing I received a special tape player for listening to audio recordings of my school textbooks because I have low vision. I was ecstatic to learn that I could adjust the speed and could still understan
205.
▲
by
memco
5y ago
It’s true tapes are okay when time is not of the essence, but there’s currently a lot of pain dealing with tapes when it comes to loading reading writing and verifying everything. You need some way to make sure the data on the tape matches
206.
▲
by
memco
5y ago
https://m.twitch.tv/anthonywritescode is also doing AoC in SQL if you want to watch someone doing it live (or in a VOD)
207.
▲
by
memco
5y ago
Loved it! Here’s another good video in a similar vein I’ve enjoyed lately: https://m.youtube.com/watch?v=2tQzCqkIQ60&feature=emb_title .
208.
▲
by
memco
5y ago
> How would one optimize for immutability in this case, other than turning it back into mutability behind the scenes? Roc-lang, which is a functional, systems language in development uses something called opportunistic in-place mutation
209.
▲
by
memco
5y ago
> In particular, people never musicalize conversational speech. > (You can try, but I guarantee you will ruin the vibe of the conversation.) I sometimes try to sing my requests to my daughter when my willpower to repeat the request ha
210.
▲
by
memco
5y ago
I recently purchased one of the Sceptre TVs and overall am happy with it. The only drawback I found was the sound is not great: it is tinny and muddled (possibly because it's wall-mounted). I'm planning to buy some external speake
More ›