Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mhink
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
16 ms
·
121.
▲
by
mhink
4y ago
It's a matter of (natural language) terminology. It's the difference between asking "which year of your life are you currently in" as opposed to "how many full years have elapsed since you were born?"
122.
▲
by
mhink
4y ago
If you're confident that you'll always be dealing with a browser environment, this is a situation where embedding HTML in SVG via <foreignObject> is a pretty reasonable approach, IMO.
123.
▲
by
mhink
4y ago
The entire article uses some very odd grammatical conventions. The author is from the Netherlands, which I think might account for some of the oddness, but I can't tell if the capitalization is because of that or just because of the de
124.
▲
by
mhink
4y ago
So, my thought process here was: given a fairly robust selection of certificate authorities, a given user could have a number of different client certs for use in different trust scenarios. Contrast the following: - A user bearing a client
125.
▲
by
mhink
4y ago
Perhaps the Web Share API [1]? Once you've got the share prompt up, the end user could use AirDrop or similar? 1: https://developer.mozilla.org/en-US/docs/Web/API/Web_Share_A...
126.
▲
by
mhink
4y ago
I did some digging as well and it looks like their docs have a pretty good overview [1]. (And to be perfectly honest, it looks like they've done a very thorough job with them! I'm impressed!) 1: https://docs.ditto.live&
127.
▲
by
mhink
4y ago
> Basically, the core problem is digital identities (accounts, IPs, phone #s etc.) are cheap to create (even considering captchas and all) so fraud is easy. The solution could be just to make it "costly" to create new digital i
128.
▲
by
mhink
4y ago
This kinda sounds like a use case for a playlist to me.
129.
▲
by
mhink
4y ago
This post is sort of an introduction to a topic that has already existed (in a low-key sort of way) for some time. I'll grant that the article is a little unclear when it comes to getting to the point, but maybe this'll help: The
130.
▲
by
mhink
4y ago
> I've seen the transition from a Javascript codebase to a Typescript codebase with all strict checks in place to have a similar step change in dev velocity. The important factor here is "with all strict checks in place".
131.
▲
by
mhink
4y ago
As a side note: check out /r/ExperiencedDevs.
132.
▲
by
mhink
4y ago
> It's original purpose wasn't to do elastic scaling or anything like that - it was to binpack workloads onto a set of nodes This is arguably still its primary purpose, and all the rest of its features are ancillary and only ex
133.
▲
by
mhink
4y ago
> Windows and macOS dominate because 99.9% of users do not care about the difference between registries, file systems, text or binary tools, UNIX-like, POSIX, etc… none of these things matter to them! They just want to use a computer and
134.
▲
by
mhink
4y ago
> The problem comes in when the IDE struggles to keep up, or is busy trying to move my cursor somewhere that I don't want it to be. Agree completely. Even completely common Vim actions are often just way too sluggish. Not to mention
135.
▲
by
mhink
4y ago
> Too many remote controls. One for TV, one for AppleTv, one for PS5 if I want to see a movie on bluray, one for the Denon AMP, etc... There should be a standard for that. Totally agree, although just as an anecdotal experience: I was ve
136.
▲
by
mhink
4y ago
I'll grant that I'm not an expert in this kind of thing, but according to the article: > Furthermore, vanadium is a readily accessible element in many different easy-to-find minerals. The rest of the battery is made up of equal
137.
▲
by
mhink
4y ago
From the end of the article you linked: > Awaiting async/await > That's the point I made in "Taming the asynchronous beast with ES7", where I explored the ES7 async/await keywords, and how they integrate promi
138.
▲
by
mhink
4y ago
Not a trick per se, but I use Giphy Capture for this kind of thing.
139.
▲
by
mhink
4y ago
Executing programs (including scripts, which are indicated by shebangs like #! /bin/bash) is the operating system's responsibility, not the shell's. So yeah, shell scripts work exactly the same if you're running th
140.
▲
by
mhink
4y ago
tl;dr- the joke here is that a Southerner would think Maryland is "the North", and a Northerner would think Maryland is "the South". "Yankee" is/was a derogatory term for Northerners, most typically used b
141.
▲
by
mhink
4y ago
I mean, for what it's worth there's an aspect of this on Reddit, in the sense that you can choose which subreddits to join (and can maintain multiple accounts to keep your experiences separate). Although I'm sure it's no
142.
▲
by
mhink
5y ago
Yeah, they're called "type predicates" (or "type guards"). So you can do something like function isFish(pet: Fish | Bird): pet is Fish { return (pet as Fish).swim !== undefined; } and Typescript i
143.
▲
by
mhink
5y ago
It comes down to a combination of factors, but the long and short of things when it comes to content-focused sites specifically is that companies want all of: - A modern user experience with rich content - Authoring tools which are easy for
144.
▲
by
mhink
5y ago
> You can word it that way, but what can and does happen is that employees leave and steal confidential processes or information to boost their own value at a competitor. I mean, couldn't you make an argument where that's just
145.
▲
by
mhink
5y ago
Did you never go over to Tarren Mill? IIRC, back in 2004 there was a ton of world PVP going on there, and one of the most fun aspects of it (IMO) was exactly the fact that there was no purpose other than "hey let's go fight some
146.
▲
by
mhink
5y ago
Because in a lot of cases, browsers don't expose the necessary APIs to do so. That being said, most component libraries I've seen that implement custom controls (which do expose APIs to allow styling) will make a point of adding
147.
▲
by
mhink
5y ago
Interesting. I was looking at the algorithm in evaluate.cpp [0] and it seems to be the case that the control flow is pretty much just an alternative to if-statements... which, personally, I find to be more readable than it'd otherwis
148.
▲
by
mhink
5y ago
> I’ve looked at the Sony XM1000’s and from what I understand there is some issue with Windows where if you enable the mic, it goes into some different Bluetooth mode that degrades the audio quality coming out of the headphones. I have t
149.
▲
by
mhink
5y ago
I mentioned this in another subthread, but have you checked out Obsidian [1]? - It's a product, not a service (they do offer their own paid syncing service though) - It is backed by plaintext: markdown files in folders. As for Git, I
150.
▲
by
mhink
5y ago
Seconding Obsidian. I started using it recently (admittedly for TTRPG notes) and I really like it! I haven't done a lot of cross-linking but it seems to work really well! Even better, it stores everything in plain Markdown files in a f
More ›