HNHacker News
TopNewBestAskShowJobs

sgentle

6,129 karma · joined January 23, 2009

sam@samgentle.com https://samgentle.com

[ my public key: https://keybase.io/sgentle; my proof: https://keybase.io/sgentle/sigs/3uQdZp996Jauky4wYek0MR_EgtzlUs8DAPZprVt-AMs ]

submissionscomments
sgentle··on Open-relationship enthusiasts crash mainstream romance apps
What a sad premise. People who don't want the same thing I want are ruining dating apps for me? I know that calling people entitled is a bit of a meme now but... really?

I mean, it's not just poly people. What about kinksters, single parents, people with disabilities, drug users, bisexuals, poors etc? Why can't everyone on the normal people dating app just be normal like me and want the same normal things that I want?

Sounds suffocating.

sgentle··on Ask HN: 87yr old yoga teacher asked me to manage her website. Where to start?
Absolutely second this. I've done it both ways and the one where you're on the hook for website updates will eventually wear you down, no matter how good your intentions.

Most recently, I helped my hairdresser get Squarespace set up for his business. We had a few follow-up chats for the things he couldn't figure out, but other than that he's been fine updating it on his own. Most importantly, there's a frontline support team and it's not me; I'm happy to help, but I don't want to be on the critical path.

sgentle··on The Internet Is Full of AI Dogshit
Susan Blackmore was right.

> To help understand the next step we can think of this process as follows: one replicator (genes) built vehicles (plants and animals) for its own propagation. One of these then discovered a new way of copying and diverted much of its resources to doing this instead, creating a new replicator (memes) which then led to new replicating machinery (big-brained humans). Now we can ask whether the same thing could happen again and — aha — we can see that it can, and is.

> [...]

> Computers handle vast quantities of information with extraordinarily high-fidelity copying and storage. Most variation and selection is still done by human beings, with their biologically evolved desires for stimulation, amusement, communication, sex and food. But this is changing. Already there are examples of computer programs recombining old texts to create new essays or poems, translating texts to create new versions, and selecting between vast quantities of text, images and data. Above all there are search engines. Each request to Google, AltaVista or Yahoo! elicits a new set of pages — a new combination of items selected by that search engine according to its own clever algorithms and depending on myriad previous searches and link structures.

https://nationalhumanitiescenter.org/on-the-human/2010/08/te...

sgentle··on Particle Life
I found a pretty fun set of rules: make a cycle of -0.4 between the colours (eg G->R, R->Y, Y->B, B->G in 3d or G->R, R->O, O->C, C->G in 2d) and set the other factors to 0.1.

The particles form semi-stable rotating rings until they get too close to another ring. It's quite fascinating to watch. Messing with the viscosity changes the stability and radius of the rings

sgentle··on Do I need to get out the soldering iron again? (2018)
I had a problem like that, which turned out to be caused by pocket lint stuck in the USB-C jack. A bit of digging with a toothpick (I had to split it a bit to make the end small enough) got it out and after that the connection was very secure.
sgentle··on Governments spying on Apple, Google users through push notifications
Fortunately, they did foresee this! The push notification only contains enough information to tell the phone that it should fetch the actual notification content from Signal's servers.

Here's a Signal dev talking about it on the Signal-Android GitHub: https://github.com/signalapp/Signal-Android/issues/12961#iss...

And similarly for Signal-iOS: https://github.com/signalapp/Signal-iOS/issues/962#issuecomm...

sgentle··on Wyoming discovery could be America's first new source of rare-earths since 1952
I'm not sure exactly where the appropriate place is to mock the victims of genocide while they try to preserve what remains of their culture and land, but it's definitely not here.
sgentle··on The Timer in WatchOS 10
I absolutely hate the list-of-custom-timer UIs on both iOS and Android. I can only assume that both companies have separately gone through the cycle of "people want favourite/recurring alarms" -> "timers are just alarms for relative time" -> "people want favourite/recurring timers".

The thing is, there just aren't that many times I want a timer for. Nobody's out here with a carefully curated gallery of artisanal durations. It takes me more time and effort to scroll to my 15-minute timer than it would to hit 1-5-enter on a numeric keypad.

Hell, even just a +1,+5,+10,+15 grid that starts immediately or adds to the current timer would cover everything I've ever needed within four taps. But, nope, gotta gallivant through my menagerie of exotic timers to pick out the perfect one. Infuriating.

sgentle··on DARPA hacked a science writer’s brain and turned her into a sharpshooter
> It's not a woman specific thing.

That's sufficiently incorrect that there's an entire subfield of medicine dedicated to how incorrect it is. If you're interested in learning more, this is a pretty good study to start with: https://www.nature.com/articles/s41467-019-08475-9

sgentle··on Janet for Mortals
Fun Janet feature that I don't see in many languages: you can pause a fiber (coroutine), serialise it, deserialise it somewhere else and resume it again.

A bunch of caveats to using it in practise, but it's still a little bit magical.

sgentle··on Copyright Registration Guidance: Works containing material generated by AI
Here you go: https://www.copyright.gov/comp3/chap300/ch300-copyrightable-...

308.2 Creativity

"A work of authorship must possess 'some minimal degree of creativity' to sustain a copyright claim. [...] '[T]he requisite level of creativity is extremely low.' Even a 'slight amount' of creative expression will suffice. 'The vast majority of works make the grade quite easily, as they possess some creative spark, 'no matter how crude, humble or obvious it might be.'"

310.7 The Time, Effort, or Expense Required to Create the Work

"When examining a work for original authorship, the U.S. Copyright Office [...] will not consider the amount of time, effort, or expense required to create the work. These issues have no bearing on whether a work possesses the minimum creative spark required by the Copyright Act and the Constitution."

Note that this is not true in every country's copyright system (some do recognise effort), but it is true in the US.

sgentle··on Procrastination and the priority of short-term mood regulation
For what it's worth, I had similar issues and eventually realised that "not enough of a problem" was a pattern of thinking that held me back. Even the DSM5 now uses this language: "the symptoms interfere with, or reduce the quality of, social, academic, or occupational functioning" – hardly a high bar

I think I was unfairly biasing myself against action by needing problems to be bad enough before I would deal with them. Not just in terms of medication or treatment, but also accepting help from others. I think this is partly a pride/shame thing, but also another manifestation of ADHD: crises are far more stimulating than preventative maintenance.

I now try to think of it more like "would this make things better for me? If so, why wouldn't I do it?" To that end, I found that medication helped me immensely with that feeling of helpless inconsistency. I don't always find it easy to get started, but I no longer feel like I'm waiting for the productivity fairy to visit.

sgentle··on Ask HN: Something you’ve done your whole life that you realized is wrong?
I believe this is the strongest version of the argument you're making: https://www.newyorker.com/magazine/2013/12/23/the-intelligen... (prepend archive.is/ to get around the paywall)

It's an admittedly fun argument, but it has flaws that I think make it unsuitable as a strategy for destroying vegetarians with facts and logic. It relies on abstract, black-box constructions of notions like sensation, awareness or intelligence based on analogy and observation, whereas in animals we can also rely on arguments based on equivalent biological structures. The breadth of that construction also has some intriguing but pretty challenging implications: you might also need to accept sentient traffic jams and Kubernetes clusters that feel pain.

Beyond all that, though, I think the major flaw in your reasoning is it treats concepts like awareness or moral worth as binaries, with language like "every bit as much" and "only because". Of course, one reason we don't treat wheat with empathy or offer it moral equivalence is because wheat doesn't look like us, but that's far from the only reason. Wheat is simply a less complex form of life than a fly, and certainly less complex than Google Chrome, neither of which I feel much compunction about killing when they are consuming my resources.

If you're going to accept an incredibly broad definition of awareness, then that definition also needs to be nuanced and gradated or else you end up saying nothing only with more words. You can absolutely define feeling such that grass can feel, but if that's also "every bit as much" as what humans feel then you've arrived at a notion of feeling that's almost tautological and struggles to support any meaningful consequences. We and the grass are also carbon, I suppose... or energy? I'm not sure why it matters. I care about the version of feeling that made me cry at the end of Homeward Bound, and plants don't have that, no matter what you call it.

All these contradictions disappear if you're willing to say that different forms of life have different levels of awareness, and different degrees of moral worth. Intuitively, I care less about the death of an animal than the death of a person, and I care less about the death of a plant than an animal. That exact mapping from being to moral worth is going to be pretty tricky to define, but I think it's pretty hard to argue that animals should have none at all.

If animals have non-zero moral worth, then there is some area between the curves of your enjoyment and their suffering within which it is okay to eat them, and outside of which it isn't. I don't have any desire to tell you what your curves should be, but as a matter of my own observation, I haven't found vegetarian food in general less enjoyable than food with meat in it. There are exceptions, of course, and I still eat meat sometimes, but as a practical matter I found the exchange rate from dining enjoyment to animal wellbeing very favourable. You might too.

sgentle··on Being Ridiculed for My Open Source Project (2013)
If you're a real Linux user, you can build such a system yourself quite trivially by combining xargs, sed and grep. You see, nodejs is the pumpkin spice latte of languages. I, a sophisticate, insist upon the fine single malt whiskey of Perl, paired with a delectable shell script charcuterie. Anything less is the fare of unsophisticated lusers, who are often (purely coincidentally) women or other outgroups.
sgentle··on Which emoji scissors close (2020)
I think it's actually to do with whether the cutting edge is visible or not. Right-handed scissors held to the right of your eyes have effectively no margin between the cut and the edge of the blade. Right-handed scissors on your left (or vice versa) have a blade-width worth of margin between what you see and what you cut.

Funnily enough, you can also see well if you cut with right-handed scissors on your left side, but with the paper held above your eye-line.

sgentle··on Police Officer Exam Tutorial [pdf]
The length of the bottom wall is 20 feet and the sum of the lengths of the top walls is 17.5 feet, meaning there is an additional 2.5 feet of wall width across the two walls of the balcony. Assuming the wall is uniform thickness, that gives us dimensions of 1.25 x 10.5 feet, or 13.125 square feet.

Sadly, not one of the allowed options.

sgentle··on Node.js packages don't deserve trust
That's not an accurate history; npm started around 2010 and didn't become a company until 2014. Perhaps it was all part of a master plan to build the perfect trojan unicorn, but I invite you to look at some of the 2010-era code and blog posts to judge for yourself: https://github.com/npm/cli/tree/e790c85a https://blog.izs.me/2010/11/10-cool-things-you-probably-didn...

You can read and/or listen to issacs talk about the actual history here: https://changelog.com/founderstalk/61

In the early days of node, the ability to have tiny nested modules without opening the gates to dependency hell was such a profoundly new and exciting capability that the community didn't need any convincing to (over-)embrace it. As with microservices today or CORBA in the 90s, moving your design's complexity from its nodes to its edges is a powerful way to convince yourself that you've made it simpler.

sgentle··on I was part of a human subject research study without my consent
You've made several claims in your comments that don't hold up to even a few minutes of basic research. You can Google the definition of PII in the CCPA. You can Google whether emails can be legally binding.

If you don't bother to check whether the things you're saying are true, you burden everyone else with the effort of correcting you.

https://leginfo.legislature.ca.gov/faces/codes_displaySectio...

> (v) (1) “Personal information” means information that identifies, relates to, describes, is reasonably capable of being associated with, or could reasonably be linked, directly or indirectly, with a particular consumer or household. Personal information includes, but is not limited to, the following if it identifies, relates to, describes, is reasonably capable of being associated with, or could be reasonably linked, directly or indirectly, with a particular consumer or household:

> (A) Identifiers such as a real name, alias, postal address, unique personal identifier, online identifier, Internet Protocol address, email address, account name, social security number, driver’s license number, passport number, or other similar identifiers.

> (aj) “Unique identifier” or “Unique personal identifier” means a persistent identifier that can be used to recognize a consumer, a family, or a device that is linked to a consumer or family, over time and across different services, including, but not limited to, a device identifier; an Internet Protocol address; cookies, beacons, pixel tags, mobile ad identifiers, or similar technology; customer number, unique pseudonym, or user alias; telephone numbers, or other forms of persistent or probabilistic identifiers that can be used to identify a particular consumer or device that is linked to a consumer or family. For purposes of this subdivision, “family” means a custodial parent or guardian and any children under 18 years of age over which the parent or guardian has custody.

sgentle··on How to use dig
The OS X equivalent is: dscacheutil -q host -a name MYHOST
sgentle··on Memory leaks are crippling my M1 MacBook Pro
If anyone wants to do any fun OS X GPU rabbitholing, this command will dump out a bunch of stuff from the IO Registry as an XML/plist:

ioreg -c IOGraphicsAccelerator2 -r -l -a

The PerformanceStatistics and IOReportChannels dicts are particularly juicy, and under IORegistryEntryChildren you can see which processes (IOUserClientCreator) are using what OS-level GPU resources, including Metal vs OpenGL API.

sgentle··on Gunship “Tech Noir” Breakdown
If you don't mind the, uh, colourful presentation, the You Suck at Producing series (and channel with the same name) on YouTube is pretty good: https://www.youtube.com/watch?v=2kjCxfEZZKo - he also does pretty regular livestreams doing critique and analysis of user-submitted tracks.

If you're looking for a free wavetable synth comparable to Serum from the article, I recommend Vital: https://vital.audio - there's a fairly active community forum there as well.

sgentle··on The complicated reality of doing what you love
"Gilgamesh, where are you hurrying to? You will never find that life for which you are looking. When the gods created man they allotted to him death, but life they retained in their own keeping. As for you, Gilgamesh, fill your belly with good things; day and night, night and day, dance and be merry, feast and rejoice. Let your clothes be fresh, bathe yourself in water, cherish the little child that holds your hand, and make your wife happy in your embrace; for this too is the lot of man."
sgentle··on Harbormaster: Anti-Kubernetes for your personal server
I unironically solved this problem by running docker-compose in Docker. You can build an image that's just the official docker/compose image with your docker-compose.yml on top, mount /var/run/docker.sock into it, and then when you start the docker-compose container, it starts all your dependencies. If you run Watchtower as well, everything auto-updates.

Instead of deploying changes as git commits, you deploy them as container image updates. I'm not going to call it a good solution, exactly, but it meant I could just use one kind of thing to solve my problem, which is a real treat if you've spent much time in the dockerverse.

sgentle··on Laws of Showrunning (2016) [pdf]
I found the mean version: http://okbjgm.weebly.com/uploads/3/1/5/0/31506003/11_laws_of...
sgentle··on How JavaScript Works: deep dive into call, apply, and bind
Array prototype methods are designed to be applied to other objects. There's explicit language about it dating back to the first edition of the ECMAScript spec: "The map function is intentionally generic; it does not require that its this value be an Array object. Therefore it can be transferred to other kinds of objects for use as a method."
sgentle··on The physiological effects of slow breathing in the healthy human
I made this a while back: https://demos.samgentle.com/breather/

It's a 4-2-6 breathing pattern, but it's a single html file, so should be pretty easy to save and customise if you want something different.

sgentle··on Court dismisses Genius lawsuit over lyrics-scraping by Google
This is a bizarre take. The most substantial point is buried near the end of the article: Genius does not own the copyright to the lyrics. Yes, they may have taken billions of painstaking person-years to hand-transcribe them onto artisanal silks, but no matter how much effort you put into copying someone else's work, it doesn't make it your work, and you can't sue people over it. At best, you could claim your copy is a derivative work, but that only grants you protection for your additional creative contributions on top of the original work, which for a straight transcription is... well, nothing.

Genius knows this, which is why they didn't file a copyright suit. Instead, they claimed other things like unfair competition and breach of contract. However, Title 17 Section 301 of the US Code says that "all legal or equitable rights that are equivalent to any of the exclusive rights within the general scope of copyright [...] are governed exclusively by this title". To avoid this, Genius needed to prove that their claims weren't "equivalent" – ie weren't just copyright claims dressed up as something else. They failed to do this, and so their case was thrown out.

sgentle··on The Four Quadrants of Conformism
Never thought I'd see the day that a pg essay crosses over with /r/politicalcompassmemes

The problem with "discussing ideas" as a framing is that it exists in opposition to something. What is that something?

Those whose position favours the status quo would read it in opposition to "not discussing ideas", which is obviously bad. However, to those who find the status quo untenable, the opposite position is "acting on ideas".

Following pg's example, let us consider the following classic debate topic: "is slavery good?" A plantation owner might find themselves tickled by a lively discussion on the subject, replete with a cornucopia of Enlightenment principles and classical liberalism and such. A slave might find this discussion less interesting, because no outcome would lead to their freedom.

It is perhaps telling that slavery was not abolished through free inquiry or the discussion of ideas. It was abolished through acts of state power and, ultimately, violence. Are we to believe in an alternate history where the South was debated out of its peculiar institution? The discussion of ideas gave way to acting on those ideas. The alternative would be a society of endless, meaningless rambling.

Today, if you were still debating "is slavery good?", you would not be a brave free-thinking iconoclast, you would be either an idiot or a very devoted racist. You would get uninvited from lectures and yelled at on Twitter, not because your ideas are too advanced, but because they're too far behind. The debate is over, and the actual free-thinkers have moved on.

It's sad to say, but I think the real lesson of this essay is that political ideas are just like music taste. Whatever your parents were listening to is outdated and embarrassing, whatever the kids are listening to is just angry noise, and miraculously your generation was the only one to stumble upon that which is profoundly, timelessly good.

sgentle··on Alcoholics Anonymous vs. other approaches: the evidence is now in
"Some drug that blocks the euphoric effects of drinking" would be more accurate.
sgentle··on Mozilla’s DNS over HTTPs
It's easy to get hung up on specific words, so it might be easier to consider meanings. What is the meaning of the phrase "What are you even talking about?" Is it a question? If so, what answer were you hoping for?

If I take you at your word that it's not rhetorical, then I could replace your question with "what do you mean?" – however, if you don't know what the poster means, why does the rest of the comment continue as if you understood them perfectly?

The more plausible interpretation of "what are you even talking about?" is "you are spouting nonsense". Yes, your wording is more polite, but the meaning is the same. The only way a polite insult isn't an insult is if you assume the person you're insulting doesn't understand it. Kinda makes it two insults, really.

All discourse is interpersonal, and how you disagree with someone's statements has interpersonal implications. I think your argument misses the point. I also think your argument is disingenuous and avoids engaging with substance in order to project misunderstanding onto the person trying to help you.

Both of those are opinions about your statements. Which do you think best exemplifies the following?

> Be kind. Don't be snarky. Comments should get more thoughtful and substantive, not less, as a topic gets more divisive. Have curious conversation; don't cross-examine.

← PreviousPage 3 of 16Next →