Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sirn
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
17 ms
·
121.
▲
by
sirn
5y ago
The 3 days quarantine is only for people arriving from a list of countries with a known mutated strain. It's much less strict if the passenger did not arrived from the listed countries ([1]; the one in the parenthesis, the table below
122.
▲
by
sirn
5y ago
Apple gave LastResort to Unicode Consortium back in 2008[1]. Big Sur currently shipped with version 13.0, so presumably it's the same font (version info obtainable by running `system_profiler SPFontsDataType`). [1]: https://
123.
▲
by
sirn
5y ago
Just a wishful thinking, but since this is an M1 and not the A14X (and 8c+8c+8/16GB setup used in MacBook Pro even), I'm hoping that Hypervisor.framework will come to an iPadOS in the next WWDC. Having something like macOS.app, or
124.
▲
by
sirn
6y ago
The OP is referring to GPU passthrough setup[1], which passes through a GPU from Linux host to Windows guest (e.g. for gaming). This is done by detaching the GPU from the host and pass it to the VM, thus most setup requires two GPUs since o
125.
▲
by
sirn
6y ago
I think the main usage of ISO 8601 was to represent a point in time in UTC for exchange, not a local time plus timezone. When a date such as 2021-02-26 18:38:00+0900 is provided, it did not meant 2021-02-26 18:38:00 in Asia/Tokyo, but
126.
▲
by
sirn
6y ago
I think because it would defeat the portability of a timestamp because Asia/Tokyo isn't constant and you cannot lookup the offset without relying on external database that takes in ("2021-02-26 18:38:00", "Asia/
127.
▲
by
sirn
6y ago
金 from 金曜日 (Kinyōbi) means Friday. The letter correspond to the planet the weekday was named after, just like in English (金星 is Venus)
128.
▲
by
sirn
6y ago
Also worth mentioning that UTM developers has been contribution patches to QEMU to get TCG (code emulation layer) to work under iOS / M1 Mac[1] as well (whereas I think TCG is still broken as of latest QEMU release due to mprotect[2]).
129.
▲
by
sirn
6y ago
Adding to the data point, this is my 16GB Mac Mini 1TB I've been using as a primary computer since December (so ~3 months). I have been doing some development on this machine as well as porting packages for ARM for MacPorts. I also hav
130.
▲
by
sirn
6y ago
In SQLAlchemy, you can choose to use only the query builder without using the ORM part at all. The query builder in SQLAlchemy is very well documented[1] and its use without ORM has the same level of support as its ORM counterpart. SQLAlche
131.
▲
by
sirn
6y ago
I think this is fundamental design difference between SQLAlchemy and ActiveRecord in general. SQLAlchemy uses Data Mapper pattern which does not necessary map 1:1 to the row in the database, so you have to deal with the whole (Object, Mappe
132.
▲
by
sirn
6y ago
There have been so many times where I started a new project in a new shiny language and ended up coming back to Python because I love SQLAlchemy (and Pyramid) way too much. It's one of the few ORMs out there that doesn't hate you
133.
▲
by
sirn
6y ago
I've been using Cloudflare for a site that has around 400k requests per day on a Free plan (although I did buy a dedicated certificate and a domain from them) and Cloudflare has been very reliable to me except few hiccups in the past.
134.
▲
by
sirn
6y ago
Ah, you're right. Now thinking back, I think it was how Homebrew reuse system libraries that make it a better experience than MacPorts at the time since it could cut over half of the building time (it prevent the situation where `port
135.
▲
by
sirn
6y ago
I think what I meant was darwin failure doesn't block. Recently I had nomad breakage on -unstable caused by nvml support, which pulls in nvidia_x11, which pulls in linux_5_4, which of course not installable on darwin[1]. The maintainer
136.
▲
by
sirn
6y ago
That's fair, but it's only affecting single user, while writable /usr/local affects all users. However most Mac users are single user, so the tradeoff makes sense in this context.
137.
▲
by
sirn
6y ago
Those were one of the reasons, but I believe the biggest reason was MacPorts didn't install from binary archive and requires building everything from source in its early days (in the old BSD port tradition). Binary archives were added
138.
▲
by
sirn
6y ago
> Like Homebrew does not need elevated privileges to work and actively discourages it It does this by chowning /usr/local to a local user, which is worse for security than running sudo because now any malicious process can over
139.
▲
by
sirn
6y ago
Unfortunately, Nixpkg doesn't check buildability on Darwin when merging PRs, so things can break quite often on the nixpkgs-unstable channel (compared to nixpkgs-unstable on Linux). It's not hard to rollback, though, but it does m
140.
▲
by
sirn
6y ago
Jordan Hubbard was involved in the creation of both FreeBSD Ports and MacPorts (DarwinPort), so it makes sense that it shares the BSD ways of doing things. His decision to use Tcl for MacPorts also came from his experience dealing with Make
141.
▲
by
sirn
6y ago
MacPorts binary archives were added back in 2011 across all three architectures at the time (ppc, i386, x86_64). Some packages are still maintained for ppc even today.
142.
▲
by
sirn
6y ago
asdf[1] mentioned in the article is similar to anyenv but instead of being a wrapper around *env, it implements its own simple framework for creating a version manager (e.g. [2]). Usually asdf plugin uses the same underlying installer as it
143.
▲
by
sirn
6y ago
Not only that, MacPorts also kept all versions installed even after upgrade unless it's explicitly uninstalled (port echo inactive / port uninstall inactive); suffix every binaries with versions by default (e.g. pip-3.8, ansible-3
144.
▲
by
sirn
6y ago
> then he argues that anyone shipping source in tarballs is noncompliant: I think he might be referring to the section 2a of GPLv2 (5a of GPLv3) which require keeping track of modifications to the source code. I've never seen this c
145.
▲
by
sirn
6y ago
I believe this is the reason: > They, however, embed linux-apfs into their single-commit dump, without full credit, which is a copyright violation. I thought it was their code until I found the original history. > That tells me that t
146.
▲
by
sirn
6y ago
That indeed could work, and it looks like Belkin's Thunderbolt 3 Express Dock HD[1] actually does this. Though in this case, Thunderbolt is limited to just 2 (1 for downstream and 1 for upstream). I guess the biggest benefit of USB 4 h
147.
▲
by
sirn
6y ago
My understanding is that daisy chaining doesn't require a mixed USB and Thunderbolt signal, only Thunderbolt. Before USB 4, USB-C spec itself disallows hubs to passthrough an Alternate Mode and even Thunderbolt daisy chain also have to
148.
▲
by
sirn
6y ago
Before USB 4, USB-C spec itself say "see also USB 3.1" for USB hubs and disallow passing through Alternate Modes (e.g. Thunderbolt/DisplayPort) or Accessory Modes (e.g. audio dongle) which vastly limited the usability of USB-
149.
▲
by
sirn
6y ago
Ah. I sit about 60~80cm away most of the time from my bigger 4K screen (due to the space needed for my Cintiq when I'm drawing). I tried several resolution after your previous comment and found 2048x1152 to have the best balance betwee
150.
▲
by
sirn
6y ago
This is mostly because Thunderbolt hub support was optional in Thunderbolt 3 spec, but mandatory in USB 4. Apple just added support for it in Big Sur.
More ›