HNHacker News
TopNewBestAskShowJobs

ryangs

137 karma · joined July 28, 2021

submissionscomments
ryangs··on What if we made advertising illegal?
While laudable, this seems significantly harder to implement than banning advertising. Not that either are particularly feasible policies but this one seems harder.
ryangs··on Trees not profits: we're giving up our right to ever sell Ecosia (2018)
Epistemic statuses are a great aid in sharing ideas without sounding overly confident.

https://forum.effectivealtruism.org/posts/bbtvDJtb6YwwWtJm7/...

ryangs··on Postgres as a Graph Database: (Ab)Using PgRouting
https://www.hillelwayne.com/post/graph-types/ gives an interesting take on why we don't see a graph type as a primitive on more programming languages. Essentially boils down to graphs being very vague and depending on the topology of your graphs you are going to want different implementations for reasonable efficiency.

That said, there are graph databases.

ryangs··on My Struggle with Doom Scrolling
I like this. Testing the browser extension now and pretty happy with it (after tweaking so returning to a tab has a grace period). I was using StayFocused, which is okay, but too tempting to just disable it (and annoying if I need to access a blocked site for work purposes).
ryangs··on A visual demo of Ruby's lazy enumerator
Java Streams and Kotlin Sequences provide similar iterator capabilities. Iterators are great for this lazy performance but can sometimes be difficult to debug. Especially if you are nesting many iterators, then extracting the underlying collection can be complicated. But necessary in many workflows.
ryangs··on Getting to 2M users as a one woman dev team [video]
Excited to hear about Hardcover! I like StoryGraph but the lack of API frustrates me - I want to be able to sync back to my general notes store (Obsidian). Hopefully Hardcover works better with that.
ryangs··on Speeding up the Rust edit-build-run cycle
>Debug information tends to be large and linking it slows down linking quite considerably. If you’re like many developers and you generally use println for debugging and rarely or never use an actual debugger, then this is wasted time.

Interesting. Is this true? In my work (java/kotlin, primarily in app code on a server, occasional postgres or frontend js/react stuff), I'm almost always reaching for a debugger as an enormously more powerful tool than println debugging. My tests are essentially the println, and if they fail for any interesting reason I'll want the debugger.

ryangs··on Notepad++ is 21 years old
What is your pattern for navigating to a function definition (as an example of a basic IDE operation that doesn't seem supported)? Grep?
ryangs··on I'm Peter Roberts, immigration attorney who does work for YC and startups. AMA
What are some of the challenges involved with international hiring in a remote environment? I work at a fully remote startup with ~200 employees. We hire from a couple dozen countries but I know there are fairly significant barriers whenever we add a new one. What are some of those challenges? Are they getting more streamlined?
ryangs··on Quote Origin: I had exactly four seconds and Google had told me it wasn’t enough
I think proper nouns get a bit more of a pass in terms of purple prose.
ryangs··on Typing lists and tuples in Elixir
But the nonempty list never has an element, so we don't need to worry about the type mutation of removing an element from it. Filter just returns a nonempty list.
ryangs··on Types as Interfaces
The problem is that user inferring doesn't scale. For small projects this is reasonable but for enterprise software engineering it is easy for a constraint that isn't enforced by the type system to be missed by an engineer leading to a bug. Whereas typed constraints naturally propagate throughout the system.
ryangs··on A brief interview with Awk creator Dr. Brian Kernighan (2022)
Indeed, still in use. Also presumably the Aho of the Aho-Corasick string matching algorithm.
ryangs··on Did Turing prove the undecidability of the halting problem?
Right - it is saying that there is no algorithm to do this in general. Any specific instance may have a solution.
ryangs··on Reasons not to take Lumina's anticavity probiotic
Interesting read. Does not seem to be working with the same set of facts as the ACX post[1], especially around FDA approval.

[1]: https://www.astralcodexten.com/p/defying-cavity-lantern-biow....

ryangs··on My productivity app is a never-ending .txt file (2022)
Big fan of todoist. I've been using it for less than a month, but have already switched to the yearly subscription. I use Obsidian for my notes, but for remembering to do something, I now use Todoist. Any passing thought that I want to deliberately go back to (or even patterns of thinking, like every 6 months, reflect on this concept) can be put into Todoist and I know that I'll see it again.

I contemplated trying to do all of this in Obsidian but the conventional advice seems that while you can, it isn't worth it. Todoist offering a simple mobile interface where I can quickly add a task is great. I wish reminders worked a little better (I'd been using alarms on my phone for reminders I want at a specific time, and Todoist reminders aren't nearly as attention grabbing).

ryangs··on Watching Ads on Amazon Prime Video Is a Deal Breaker for Some
I've noticed some streaming platforms have ads for other shows/movies they've made. I don't love these but can tolerate them because:

1. They are only at the start of a show, so I'm not interrupted. 2. They offer a skip button. 3. They are ads for somewhat-relevant content and I don't tend to explore the space of other things to watch very much.

That said, it's a knife-edge for me. If they got even a smidgeon worse I probably wouldn't watch anything on those platforms.

ryangs··on Why I Like Obsidian
Linking is an exceptionally good idea. It is very transformative to how I think about organizing information and doing it with Obsidian the past few months has felt great. Besides future proofing, I love the speed of processing a simple text format like markdown (plus local first) allows. Everything opens instantly, which feels very different from things like Google docs or Microsoft Word. About the only note tool it doesn't replace for me is spreadsheets that use math. There are plugins but it doesn't feel quite as clean as Google sheets for this purpose.
ryangs··on Discord is laying off 17 percent of employees
Being 'fair' helps company relationships with current and future employees.
ryangs··on Why can't you multiply vectors? [video]
Highly recommend Freya's various deep dives into various game development contents. She also has twitch vods for developing those videos which are also fascinating.

https://www.youtube.com/@Acegikmo

ryangs··on Meta to charge for ad-free versions of Facebook and Instagram in Europe
Highly recommend the chrome extension Facebook Purity. It strips your feed of the nonsense you don't care about in a very configurable way.
ryangs··on Meta to charge for ad-free versions of Facebook and Instagram in Europe
This was effective for me around a decade ago. These days it feels like most algorithmic content generation sites don't care when you express negative interest in something.
ryangs··on What Is the Point of Decidability
I think there is a fundamental gap between the OP's concept of "Point" versus the responders. They're essentially asking if decidability has practical[1] uses to which the answer is generally "No". When a general CS practitioner imagines doing something via computation, they are already thinking of things in the realm of the possible. It may be helpful to know that exact answers are intractable and you'll have to settle for an approximation, but that information seems to correlate more with complexity than with decidability.

[1]: Where practical is in the sense of an engineer (or in their terms, a CS practitioner), not a theoretician. Most of the responders seem to interpret practical in the sense of a mathematician.

ryangs··on Where does my computer get the time from?
Interesting breakdown. But this format is horrible for conveying information. An improvement would be removing the slides, crafting some coherent paragraphs and then reinserting some of the more crucial images for support.
ryangs··on JDK 21 Release Notes
It looks so bad in the context they give themselves:

C# $"{x} plus {y} equals {x + y}"

Visual Basic $"{x} plus {y} equals {x + y}"

Python f"{x} plus {y} equals {x + y}"

Scala s"$x plus $y equals ${x + y}"

Groovy "$x plus $y equals ${x + y}"

Kotlin "$x plus $y equals ${x + y}"

JavaScript `${x} plus ${y} equals ${x + y}`

Ruby "#{x} plus #{y} equals #{x + y}"

Swift "\(x) plus \(y) equals \(x + y)"

And finally:

Java STR."\{x} plus \{y} equals \{x + y}"

ryangs··on LaTeX for tabletop
See also GameTex[1]. It is a LaTeX framework for writing a certain style of LARP common at MIT and Stanford.

[1]: http://web.mit.edu/kenclary/Public/Guild/GameTeX/

ryangs··on A Senior Engineer’s Guide to FAANG Interviews
Definitely agree with unethical, although net negative seems a lot harder to quantify. Amazon has a lot of bad practices I disagree with, but are they net negative? I find it difficult to assess. And even if they aren't net negative now, is the 10 year trajectory clearly downward?

Soloing out Netflix, is there anything particularly wrong with them? I have significant gripes with all the others but no specifics about Netflix.

ryangs··on Everything Is a Practice
I think the important thing is to find a balance that satisfies you. If you never do any self improvement, you might be missing out on a much better life that would cost you relatively little to get to. But maybe your current life is hunky-dory, in which case, that's great, you do you!

And over-focus on "self-improvement" may mean you miss out on things along the way. Making yourself miss those things may be more of a decline than improvement for you.

ryangs··on Ask HN: What is a specific use of GPT-4 that you think is remarkable?
Can you describe the structure of your conversation? Did you describe what libraries you were using and send the full code of the main app component?
ryangs··on Ask HN: What is the best advice you got on any aspect of life?
Much more reasonable advice would be along the lines of "If you aren't excited about what you are going to do today for many days in a row, you should change things up."

Substitute "excited" for any reasonable descriptor. This assumes a certain amount of agency, otherwise it is just depressing that things aren't great and you can't change them.

Page 1 of 2Next →