Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
flakes
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
91.
▲
by
flakes
3y ago
It depends on what you’re testing. Applying the schema is pretty fast (30-40ms), compared to the container creation (1-2 seconds). If you need a lot of test data it would take time, but most of the time Im only applying enough rows to hit m
92.
▲
by
flakes
3y ago
I do this a lot for Postgres testing. In my setup, I create a single database for the entire test run. Each test creates its own schema in that database and applies the latest table definitions. With this setup, I only eat the container cre
93.
▲
by
flakes
3y ago
> People will happily spend $5 for coffee but have an existential crisis when asked for a $1 app. I think the key here, is that when you buy a coffee, you're reasonable sure of what you'll receive. You know coffee, you probably
94.
▲
by
flakes
3y ago
This is all true. As a driver, you are definitely expected to be aware at all times. Things like schoolzones enforce drivers being more aware and slowing even more. We have rules to not pass school buses when children are departing. We have
95.
▲
by
flakes
3y ago
I don't agree with most laws that impose absolutes. The courts exist to deal with grey areas. A large number of pedestrians struck by cars each year (at least in North America), are themselves intoxicated, and not fit to walk along roa
96.
▲
by
flakes
3y ago
That one had me laughing really hard haha
97.
▲
by
flakes
3y ago
The best part of this thread was the link to the discussion on the removal of pid caching in `getpid` causing regressions in systemd https://bugzilla.redhat.com/show_bug.cgi?id=1469670 I've been on a code-deleting ramp
98.
▲
by
flakes
3y ago
This looks really cool, but I have a suspicion my employer would be against external connections. Any distant plans in the future for an enterprise/onprem license?
99.
▲
by
flakes
3y ago
> It seems to be hyper-selected to just Silicon Valley techbros, instead of either the more general US tech industry, or the worldwide tech industry. How do you validate this claim? The country demographic in the survey shows that USA ma
100.
▲
by
flakes
3y ago
Exactly that. Client host options default, https://github.com/ollama/ollama-python/blob/main/ollama/_cl... Also overrideable with OLLAMA_HOST env var. The default imported functions are then based o
101.
▲
by
flakes
3y ago
I don't think that's quite fair. The stackoverflow survey shows a large number of developers have made the move to Mac. Certainly not the majority, but a very healthy share. https://survey.stackoverflow.co/2023
102.
▲
by
flakes
3y ago
> Sharing environment variables is an ad hoc manual process at my current company (and was the same way in previous workplaces as well). It really shouldn’t be that way. If the data is meant to be selectively accessed, it should have acc
103.
▲
by
flakes
3y ago
Then call the category ~200. IMO This is prime enshitification. You cant search for anything reliably any more. You dont get to see what youre actually searching for.. just whatever a company thinks they can make more profit off of.
104.
▲
by
flakes
3y ago
Huh, I guess I've never given it too much thought. I was under the impression for some reason that the first argument was supposed to be an absolute path.
105.
▲
by
flakes
3y ago
Curious for what systems this does not work? I start a lot of my shebangs with `#!/usr/bin/env <app>` such that I can rely on PATH for resolving application locations.
106.
▲
by
flakes
3y ago
You could also make the argument that both “complicated-subsystem” and "platform" teams, are just another "stream-aligned" team whose primary clients are internal to the company. Overall this post just seems like a great
107.
▲
by
flakes
3y ago
Wireless signals can drop off very quickly even in clear water. Add dirt, algae, turbulence, etc to that and it quickly drops off in about a meter for reasonable devices. For our bot we had about 3 1080p video streams being sent back over t
108.
▲
by
flakes
3y ago
Thats super cool for the ROV aspect. In university I was part of the underwater robotics program, and optimizing the tether was a huge aspect. We used a fiberoptic line for communication, leaving the rest of the cable mostly dominated by th
109.
▲
by
flakes
3y ago
A true production quality implementation should always use recursion. func isOdd(n int) bool { switch { case n == 0: return false case n > 0: return !isOdd(n-1) default: return !isOdd(n+1) } }
110.
▲
by
flakes
3y ago
> This approach could even be useful on Linux where fuse isn’t viable (e.g inside containers) By viable do you mean secure? You can definitely use FUSE within containers, but you do have to cap-add SYS_ADMIN.
111.
▲
by
flakes
3y ago
I had to double take this, because I use a very different web framework also called Catalyst http://catalyst.perl.org/ Perl in all its glory and horror.
112.
▲
by
flakes
3y ago
Very cool! It took me a while to figure it out, with Africa being on the north east sector. Once I spotted Italy it made way more sense! :)
113.
▲
by
flakes
3y ago
Its relatively common in Python for C/C++ code to be shipped pre-compiled as part of binary wheels (for at least the most common architectures). You do still end up falling back to sdists if your Python version or OS don't line up
114.
▲
by
flakes
3y ago
I still like to help people regardless of if it will directly benefit me. It was just a nice perk. Although, since they made all of these controversial changes, it feels less like helping people and more like doing free work for a random co
115.
▲
by
flakes
3y ago
Not really a side project, but I used to be a lot more active on stackoverflow. A recruiter reached out to me through the job board that stackexchange used to host. Been with the job for about 5 years now. Pretty lame that they discontinued
116.
▲
by
flakes
3y ago
> Typing Python that wasn't written with type hints in the first place is always going to be a complete nightmare though Couldn’t agree more. I joined a new team and recently finished converting a 20K line repo. It was a grueling gr
117.
▲
by
flakes
3y ago
What's wild about this, is that there are probably a huge number of fruits that were not even discovered yet at this time. For example, this fruit discovered in 2016 https://blog.pensoft.net/2016/02/12/n
118.
▲
by
flakes
3y ago
I think a lot of the "logical reason" is driven by more the ephemeral, sandboxed, execution tools. e.g. a `docker run` or `serverless` architectures, where full root filesystems are populated on demand. Less executable data size t
119.
▲
by
flakes
3y ago
When you right-click an element on the page (and you have uBlock installed at default settings) there should be a dialog for it at the bottom.
120.
▲
by
flakes
3y ago
Potentially, for now I can get away with my custom filter list :) I generally try to limit the total amount of extensions I have on my browser, to a list of tools I feel that I can trust. I apply the same mentality for dependencies in my so
More ›