Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
adrusi
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
adrusi
4y ago
They announced just this at WWDC a couple weeks ago.
32.
▲
by
adrusi
4y ago
Smartphone cameras are small and far better sensors than what you get in webcams. They rely on software to produce images of the quality we're used to seeing, especially with less-than-ideal lighting, but the lenses and sensor are stil
33.
▲
by
adrusi
4y ago
I always assumed that dd was preferred when writing disk images to flash media to ensure each hardware block is written to exactly once, extending the live of the device and increasing performance substantially. I never checked if that'
34.
▲
by
adrusi
4y ago
I think you're trying to draw too much of an analogy here. The point is just that advertising jQuery expertise on your resume today is evidence (though not especially strong evidence) that you might be someone whose skills are of dimin
35.
▲
by
adrusi
4y ago
Sometimes the application doesn't open files you drag onto its windows, and sometimes you want to select a file but not open it.
36.
▲
by
adrusi
4y ago
The macOS open/save dialog is almost identical to the Finder UI, what would you change about it? The reason it's helpful to be able to drag a file from somewhere else into the open/save dialog is that you often already have t
37.
▲
by
adrusi
4y ago
You want to be able to disconnect and reconnect to your terminal session on the fly for any of a number of reasons: - You're connected to a remote host and you don't want an unexpected network issue to kill your session - You want
38.
▲
by
adrusi
4y ago
I think it's because the author thought the tags you use in tables are <tr> and <tc> (table-row and table-column) and then did a s/tc/td/g.
39.
▲
by
adrusi
4y ago
No question reflective LCDs are rare, but you can look at the pebble smart watch or playdate game console for modern devices using reflective LCDs, for an idea of where that tech has gone.
40.
▲
by
adrusi
4y ago
I doubt this will see much backstage use. I expect to see it used by buskers, who need portability (and sometimes the ability to pack up in seconds), and by artists who make fiddling with their equipment part of their performance. That and
41.
▲
by
adrusi
4y ago
Yes, I can only imagine the parent made a very unfortunate choice of wording, meaning "integrated" as in "integrated into the laptop," and "3d card" as "discrete graphics card." You definitely want A
42.
▲
by
adrusi
4y ago
I made the switch back to mac after spending the last 9 years exclusively using linux on desktop with the release of the M1 Pro chip. I haven't regretted it. Their new chips really are impressive for their combination of performance an
43.
▲
by
adrusi
4y ago
That's like saying it's naive and irresponsible to gooutside without locking your front door when you live in a tiny remote village with 40 other people you've known for your whole life.
44.
▲
by
adrusi
5y ago
Please use #!/usr/bin/env bash if you're using bash. It seems more common to have env in /usr/bin than it is to have bash in /bin. On BSD systems, bash is often in /usr/local/bin, and on mac
45.
▲
by
adrusi
5y ago
If you want to write portable scripts and use a reasonable interactive shell, you need to know two shells anyway. Scripts should ideally be written to only use shell features defined in POSIX, since bash isn't available on every system
46.
▲
by
adrusi
5y ago
It would be up to the caller which knows the concrete type of the value getting passed as `any` to provide an interface object with a function pointer to the concrete instantiation of `Write[T]` for T=byte. If the immediate caller also does
47.
▲
by
adrusi
5y ago
For the case of coercing a specifically a function argument to a different interface, there is a solution that isn't stupidly inefficient, but it's impossible to support for the general case of coercing any interface value to a di
48.
▲
by
adrusi
5y ago
Ugh yeah. The ability to check at runtime if a value satisfies an interface, combined with structural typing... So now the static expressivity of the type system is compromised in the name of runtime introspection. Reminiscent of how when J
49.
▲
by
adrusi
5y ago
Well it's specifically CSP using cooperative multitasking (sadly no multithreading support unlike go) and a go-like API. CSP is a lot less specific than that.
50.
▲
by
adrusi
5y ago
I don't think knowledge of the :target pseudoclass is an especially useful filter. It's not without its uses, but it's not exactly part of the core toolbelt either.
51.
▲
by
adrusi
5y ago
No it doesn't. It clearly could mean that, but it literally just means the person has associated with the company. I don't know why they'd use language that could create that confusion, but it's not straightforward disho
52.
▲
by
adrusi
5y ago
There is a companion argument linked in the first paragraph which lays out what desktop Linux needs to focus on to be better for beginners. The article you're responding to is giving advice to beginners who want to get value out of Lin
53.
▲
by
adrusi
5y ago
You can get reasonable version control integration from zsh without any kind of wild oh-my-zsh config. Most distributed versions of zsh are compiled with vcs_info enabled. autoload -Uz vcs_info zstyle ':vcs_info:*' enabl
54.
▲
by
adrusi
5y ago
That's annoying when you have complex quoting in the pasted script, but you can always do bash PASTE_HERE exit Works for everything unless the pasted commands set variables you want to use.
55.
▲
by
adrusi
5y ago
The pop-up cameras proved reliable and I used a OnePlus 7 Pro for two years, and found it adequately water resistant (good enough for me to give it a rinse in the sink every now and then). The internal space that the module occupied was the
56.
▲
by
adrusi
5y ago
If photo editors have an internal representation of all operations in the history of the document and the ability to recompute them all up the a given point, and they DON'T expose this to the user except through the undo button, that&#
57.
▲
by
adrusi
5y ago
So I don't recall what size of chunks Clojure's implementation uses, but I'll assume it uses 64-bit indices with 16-word chunks, because I want to use numbers. (loop [i 0] (println (get my-vector i)) (recur
58.
▲
by
adrusi
5y ago
Random access into a clojure vector is going to need more memory lookups than conventional sequential buffer array (I don't recall the constants used in the implementation, I think it's either 4 or 8 lookups). But when you're
59.
▲
by
adrusi
5y ago
EC2, Amazon's cash cow, competes with nearly identical offerings from Microsoft and Google, and is not a place where additional features are often all that valuable to customers. Any sort of breach like this on EC2 would seriously hurt
60.
▲
by
adrusi
5y ago
Well this is free software, but u less you're competent to audit it yourself, it's still unwise to rely on its security promises. But for people who don't need the guarantees, it would be nice if Tox were more convenient to u
More ›