Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kokada
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
181.
▲
by
kokada
2y ago
Yes, this also gets me mad, but the strategy works I guess? I recently bought an iPad for my wife and I ended up getting an Air (M2) instead of the basic one just because she wanted to draw and sadly the iPad doesn't support a Apple Pe
182.
▲
by
kokada
2y ago
Does anyone know if postmarketOS has a stable (or stable-ish?) port for a modern-ish tablet that supports monitor output and has a good keyboard via pogo-pins? It would be a great device on-the-go to replace my Chromebook Duet 3 (that I rea
183.
▲
by
kokada
2y ago
`nix-shell` (that is what the OP seems to be referring) is always slow-ish (not really that slow if you are used with e.g.: Java CLI commands, but definitely slower than I would like) because it doesn't cache evaluations AFAIK. Flakes
184.
▲
by
kokada
2y ago
I think OP was saying to look at when the package was build instead of explicitly adding a timestamp. Of course, this would only work if you speficied `requests@1.2.3` instead of just `requests`. This looks like a good strategy, but I would
185.
▲
by
kokada
2y ago
> 1 file, 2 files, N files, why does it matter how many files? One file is better for sharing than N, you can post it in a messenger program like Slack and easily copy-and-paste (while this becomes annoying with more than one file), or u
186.
▲
by
kokada
2y ago
I don't get this argument. It is clear that if it wasn't for DetSys making a better installer, we wouldn't have one, period. And now there is some movement from NixOS to bring the new installer as a replacement of the old one
187.
▲
by
kokada
2y ago
There is also `nix-alien` (I am the author BTW), that automates the process of listing all program dynamic libraries (as long they're not loaded at runtime) and creating the `shell.nix` file with `buildFHSUserEnv`. And also `programs.n
188.
▲
by
kokada
2y ago
I don't know, if anything the Scala situation seems much worse than the Python situation. The language looks completely different and there is no easy migration path (not that Python had one, but at least the language was almost the sa
189.
▲
by
kokada
2y ago
Safari have only 2 platforms (actually one since they share pretty much the same kernel and much of the user space code) to support vs Firefox needs to support 4 (macOS, Android, Linux and Windows). I would be surprised if Firefox was the m
190.
▲
by
kokada
2y ago
Yes, pretty much. While I don't concur with Mozilla 100% of the time, it is still the only major browser that I can have control (e.g.: by still having Manifest V2 extensions available). Also most of controversial choices in Firefox ca
191.
▲
by
kokada
2y ago
> It still has enough annoyances that it isn't worth 6% or extra freedom for me. It is funny that I found modern Windows an annoyance instead. Every time I have to boot my Windows machine (I boot in Windows maybe once every month),
192.
▲
by
kokada
2y ago
Ok, I think this is a much fair opinion. It is true that I vaguely remember `core.match` being used or discussed at the time I was working with Clojure, so it could be as well that the library has too many quirks or issues to be used in a p
193.
▲
by
kokada
2y ago
Not sure if I understand this complain, I was a Clojure programmer and from what I remember most of the constructions in Clojure ARE defined as macros or functions. Special forms (that are the Clojure "keywords") are small enough
194.
▲
by
kokada
2y ago
Do you have a list of those reasons? I find it curious that I really enjoy `match` in both Scala and Python. While it can be argued that Scala is a completely different beast than Clojure, Python is much closer (in the sense that both are d
195.
▲
by
kokada
2y ago
This is one of the things that may make me serious consider another Android tablet (especially one with a nice keyboard+touchpad accessory connected via e.g.: Pogo pins). It would definitely be a game changer, and a high-end Android device
196.
▲
by
kokada
2y ago
I don't recommend using Nix inside PRoot unless this is your only option (e.g.: Android, since there are no user namespaces). The reason for that is that Nix is syscall heavy and using it in PRoot will be slow, really slow. As someone
197.
▲
by
kokada
2y ago
import java.util.concurrent.Executors import scala.concurrent.{ExecutionContext, ExecutionContextExecutor, Future} trait IceCreamMaker { def hello(): Unit } class Ben(name: String) extends IceCreamMaker {
198.
▲
by
kokada
2y ago
I am also curious, I keep reading from this thread folks talking that this is possible, but I can't see to find anything searching in Google/DDG. There is this document from Golang devs itself[1], that says: > Reads of memory l
199.
▲
by
kokada
2y ago
Yes, I know. This was like in ~2016 and even at that time you would need to build a custom image to fit OpenWRT in 4MB of Flash (I could fit LuCI and a few packages at the time, but I messed a lot with OpenWRT settings and every change I wo
200.
▲
by
kokada
2y ago
This would be a dream a few years ago. I remember setting up a GargoyleFW[1] (a custom firmware based in OpenWRT) when I lived in a shared house and people would use the Wi-Fi to streaming/torrent and make the whole Internet sucks for
201.
▲
by
kokada
2y ago
I am almost sure that this employee in particular was not deemed especially important. If it was e.g.: an exec or some high level engineer, they would just be reprimand.
202.
▲
by
kokada
2y ago
She lived with an iPhone 64GB up until last week and I expect that her tablet storage needs to be even smaller (e.g.: no photos). So yes, 64GB is fine. > Or just don’t get one. This is actually what I am going to do: wait until there is
203.
▲
by
kokada
2y ago
She basically wants to draw notes and do some doodling, so it is not like it would make much difference and the price delta is huge between the base iPad and the iPad Air.
204.
▲
by
kokada
2y ago
Would be nice if Apple also introduced a new base iPad with at least support for a decent Apple Pencil. I want to buy my wife an iPad, but she wants to draw and the Apple Pencil USB-C doesn't support presure levels, so it is either a b
205.
▲
by
kokada
2y ago
I am an Android user for a long time (since Android 2.2) and used pretty much every version from then on. Google devices (from Nexus to Android One devices and now Pixels) pretty much always allowed unattended updates for a long time (you m
206.
▲
by
kokada
2y ago
Considering it is Apple they could also be using a proprietary profile that side-steps this issue, especially since they created their own Bluetooth chip (Apple Hx). But again, I don't know if this is true or not since I don't hav
207.
▲
by
kokada
2y ago
Yes, LE Audio is supposed to improve the situation in multiple ways (e.g.: lower latency, lower battery usage, multiple channels, etc) but sadly there is still no headset that supports LE Audio without hacks (e.g.: my wf-1000xm5 supports it
208.
▲
by
kokada
2y ago
Not really, the main issue is the Bluetooth profile[1] here. HFP is the profile used for bidirectional (i.e.: when you're using both the headset and microfone) while A2DP is the profile for unidirectional audio (i.e.: when you're
209.
▲
by
kokada
2y ago
Go also has `errors.Join` since 1.20, and one of its uses is exactly this one: to be used in deferred close that can possible raise errors so the errors can stack each other: https://stackoverflow.com/a/78013962 . >
210.
▲
by
kokada
2y ago
> This library is designed to be used for binaries that are already compiled against glibc. It does not contain any headers, and cannot be used to build software that requires glibc. It is instead recommended that any software that req
More ›