HNHacker News
TopNewBestAskShowJobs

lijogdfljk

1,037 karma · joined July 28, 2019

submissionscomments
lijogdfljk··on Friendlier SQL with DuckDB
Minus everyone having different versions of it to facilitate the missing functionality/needs of users
lijogdfljk··on Lessons learned from the recent job hunt
Yea, thank you. I run backend interviews for my company and while i do want someone to understand the basics of complexity, i am far more interested in how they think about, as you put it, orders. I want them to group data in a simple DB call, not call the DB in a loop - avoiding network. I want them to make 2 DB calls if a join explodes the rows and thus a single call ends up much larger than 2 calls. I want them to understand why iterating a large hashmap can be much, much worse than a data structure more suited for sequential access, etc.

Ironically i suck at Big O notation itself. So maybe i under value it.

lijogdfljk··on Lessons learned from the recent job hunt
Any thoughts on self taught who, i'd think, has a seasoned understanding of time complexity but lacks meaningful mathematical notation background necessary to use Big O fully?

Which is to say i have no confidence issues in my working knowledge of Big O. I lead a team, i've developed obsessively for 10 years now and despite my many short comings i don't think understanding trivial complexity - the why of "Why is HashMap faster than BTreeMap on lookup? When is it slower?" etc - is lacking. But, i couldn't use Big O notation to any meaningful complexity with any real confidence. My math background is nil.

In general i need to up my interview game, which i think also means i need to up my math game to have a firm understanding of Big O notation itself.. but the complexity is not the issue, for me at least.

lijogdfljk··on Criticizing Hare language approach for generic data structures
Also early on in the language seems a great time to respond to feedback. 3 years in when it has traction is terrible, heh.
lijogdfljk··on Will Hare replace C? Or Rust? Or Zig? Or anything else?
Zig is kinda awesome though, i'm not even sure what the C community thinks needing improvement with Zig, i often only hear praise with Zig.

Mind you i don't know, i like Rust - but i'm not a C-like programmer and don't want to be. But, nevertheless my opinion of Zig seems quite high. It seems Zig is the benchmark in this space.

lijogdfljk··on Personal Knowledge Management Is Bullshit
> I'm in a similar but different boat: my brain remembers the conclusion but discards all of the "useless" details used to arrive there. This works fine on a personal level, but when someone challenges your position, you find yourself unable to defend it because all of the supporting details have long since evaporated.

> So PKM might be useful to archive away the details after you reach a conclusion.

100%. I hold the same mindset!

lijogdfljk··on Personal Knowledge Management Is Bullshit
I hope this isn't true, hah. I don't really invest in any existing PKMs but i nevertheless spend a fair bit of time writing the foundation of my own.

Regardless of the implementation, i want something to archive and/or retain (in the working memory sense) my conclusions. As without repetition i feel like a majority of what i read, and any conclusions therein, evaporate. Maybe the author would argue that if i want to retain it i should study it! .. but i don't, it's just some article i read.

Are my only choices to invest heavily or become increasing narrow minded? The things i actually invest in i know quite well.. but what does that matter? I'd like to be generally, reasonably informed. I'd like some minor effort spent reading broad topics to not be in vain. Besides, even if i invested heavily - there's only so many hours in the day; only so many things i can invest in to properly retain.

It seems reasonable to me to seek software to aid in this. But it feels like the author is attacking the idea of PKM just as much as the implementations. I can imagine many implementations are akin to snake oil.. but the goal seems reasonable. No?

lijogdfljk··on Known: A collaborative social publishing engine
Interesting take. In all seriousness, is there a way to integrate other languages with this pipeline or with this level of simplicity i wonder?

Eg, i prefer my language of choice. However i am personally focused on self hosting, so being "just as easy as PHP" seems useful.

I tend to ship self contained binaries that can run on your computer without configuration. While that would work on a web host it's not going to restart automatically or have any integration with old school PHP focused providers. Has anyone heard of a PHP bridge for this sort of thing? Perhaps I make a version of this app that works under CGI (or w/e)? But then you still have to know "Do i want the binary? Or the CGI? What the hell is CGI anyway?" etc.

lijogdfljk··on Pet Airways
Heh, the last flight to florida i was on someone had urinated on the seat.

if only.

lijogdfljk··on I want off Mr. Golang’s Wild Ride (2020)
Yea.. i used Go for 5 years. I just can't agree that the simplicity is true. Yes, the language itself is, but it offloads complexity into my program and thus my day to day is jumping around huge piles of logic which could be made for easier to reason about and understand with some actual help in managing the complexity.

Your complex programs aren't easier in Go, in my experience. The simplicity of the language doesn't help me much when my day is spent fighting to figure out how to make a problem which is inherently complex easy to maintain, reason about, and be without bugs.

I want a language that makes my day simpler. Where at the end of the day, my "net complexity" is less. Go leaves all the complexity to you and offers you very few tools to solve this. Bugs, spread out logic, and even runtime costs of the overuse of Interface{} (prior to Generics at least) left me with a lot of things to solve myself. My days in aggregate were more complex with Go.

Just my experiences.

lijogdfljk··on How to Quiet Your Mind Chatter (2021)
> For me, thinking in words and sentences sounds like thoughs being weighed and slowed down. Seems very unnecessary. On the other hand, I did and always had the the issue of putting my thoughts into words properly. Like the translator is pretty bad and I always struggle and feel like most of the information is lost.

Fwiw, while i do imagine thinking in words is slower than non-words, i myself have an inner monologue and it is far from... structured when typically active while i'm thinking. It sounds much more like the mutterings of an insane person. Ie while i'm chewing on a problem the majority of my thoughts are without form - but sprinkled in between them are voiced words. Sometimes a run of words, sometimes a single word, often nothing at all.

Similarly while i think best when i talk out loud to myself, what i verbally express are structured quite similar to my inner voice ramblings. They are trains of thought weaving back and forth almost without meaning. Large gaps of jumps, usually cutting myself off mid sentence.

> I think there might be some correlation between this and being introverted, socializing is exhausting for me because the translator is not well trained as I don't use it while thinking, and it has to run at 100%. I've talked with my better half about this and she said it's easy for her because the sentences are already there and it takes zero effort to say them, which aligns with my theory.

I struggle immensely with socializing as well. Unsure if it's related, but i tend to talk _too_ much. It's like i always push the conversation, and i have to fight not to talk. That or i forget my points/etc. Despite talking heavily, i dislike most socialization. I often leave conversations wishing i had said nothing.

lijogdfljk··on Textualize – A framework for building Text User Interface applications
I mentioned in another post, and as someone else also mentioned, that it would hypothetically work well if you kept the sizes at multiples. Ie i wouldn't want to break the grid and break alignment, so vertically a smaller font size would go in multiples, such that each downward increment of font would be half the size.

Makes it a bit more complex though if the block sizes make subdivision like this difficult, though. This isn't an idea for an implementation necessarily, rather just an idea to illustrate my request. I want to have larger font size than my gutters/etc in my term editors.

lijogdfljk··on Textualize – A framework for building Text User Interface applications
Yup i mentioned exactly that below, this is what i was thinking as well.

It does seem to add reasonable complexity to the implementations, but i imagine it's opt-in.

lijogdfljk··on Simple Ways to Be Less Divisive (2021)
Man it just sounds like such a miserable drone workplace to have no one laughing.

Giving up on laughter seems a "baby with the bathwater" approach to inclusiveness. I suppose being miserable is rather inclusive though :/

lijogdfljk··on Textualize – A framework for building Text User Interface applications
No, not at all a pixel wide. A pixel wide font character can hardly be called a character, can it? What information does that pixel character convey, exactly? Would it not look identical?

Instead, this is the largest failing in my mind to TUIs. As eyesight goes, font sizes increase, and if you use a TUI so do your borders, pads, etc. You have no way to keep a reasonably consistent border size in a TUI if you also want larger fonts.

As it stands i'd prefer my "UI" elements in my TUI to be half the size they are currently. Gutters for things like line numbers or error indicators are obscenely wide due to this notion that they must be a full block size.

If instead you put restrictions on the division, such that font blocks would have to evenly divide then, hypothetically, misalignment would be less of a concern.

So many cool new TUIs are being born today but without very small font sizes they are made nearly useless imo. Popups in https://zellij.dev/ are another great example of something severely inhibited by old fashioned limitations.

lijogdfljk··on Textualize – A framework for building Text User Interface applications
I'm sure you're being sarcastic, but no - i mean a TUI.

Hypothetically some simple restrictions for variable font sizes could keep the simplicity of TUI while also empowering the UX. Similar to how variable colors didn't suddenly make this a "GUI".

lijogdfljk··on Textualize – A framework for building Text User Interface applications
I love these ideas because i love term... BUT... i really feel like we need variable font sizes in terminals. .. or something, i'm not an expert.

I love so many term features but they're at odds with me when i have a larger font size. Suddenly by having my coding text slightly larger i lose screen real estate because all of my borders and widgets are big font characters too.

Is there a good way to have bigger primary font with smaller TUI borders/widgets/etc? What would a good way look like?

lijogdfljk··on U.S. interest rates have soared everywhere but savings accounts
I had this debate last night. Where i'm undecided is if this works when a housing market is propped up by cash.

Eg both houses and land purchases (something i'm trying to do) are quite a difficult market due to cash offers being consistently present. Ie a new family won't have 500k in cash and their loan offer isn't as good as a cash offer. It happened to me several times when i was buying my home ~6 years ago, 250k cash offers, 300k cash offers, etc. And ironically it just happened to me 2 weeks ago on a land offer. A 310k land offer (loan) beaten out by a higher value and pure cash offer.

So my question is if prices will really dip that much when seemingly so much of the house and land market are propped up by cash rich buyers. Hypothetically they don't care about high interest rates right?

Perhaps high interest rates will mean the cash rich people can offer less due to less competition, but if cash rich people are also competing against other cash rich people then.. i'm not so sure.

Thoughts?

lijogdfljk··on Introducing Threads in Beta
How's managed (not self-hosted) Element/Matrix for E2E these days? I want to give it a shot but i regularly use Signal for secure communication (financial stuff/etc), so the E2E impl has to be on-par with Signal. Thoughts?
lijogdfljk··on The bottom is dropping out of Netflix
I think it's true in the same way that Media companies feigned that everyone was pirating.

If it's just as fringe as you say, and i agree, then we shouldn't entertain the idea that media is (or was, in early 2000s before Netflix) losing that much money to pirating. As i'm sure now that people start migrating to less legal avenues for digital media we'll start seeing a resurgence of cries over lost profits due to piracy.

lijogdfljk··on Increase in hepatitis of unknown origin in children
Agreed entirely. Honestly i wish they'd go further and do away with upvotes too. Though i have no idea if that's actually a good idea. I just loathe anything that takes the form of modern "forums" like Reddit, where upvotes seem to drive circle-jerk communities and everyone is at war due (in part perhaps) to the artificial conflict that "Like" scores seem to drive.
lijogdfljk··on Nixery – Docker images on the fly with Nix
I actually hate Nix.. and i agree, i'm never going back. I use it on my desktop (Linux), my Macbooks, and i want it on my Windows machine (not that it's going to happen hah).

The thing that Nix, for me, currently fails at is introspection. Every function is a black box and i have no clue what's in it. I have to go dig up files on github to see what it even accepts. It's as if everything is obtuse.

A "simple" LSP/Type system would do wonders for understanding what the function is, what it does, and the inputs/outputs.

.. also i have some difficulty understanding functional "mutation" patterns like how overloads are implemented. But i hope that'll make sense eventually.

NOTE: i also think Flakes are absolutely necessary for Nix. Nix is way less valuable to me without Flakes.

lijogdfljk··on How we upgraded our 4TB Postgres database
How does MySQL fair in this type of setup? Do the DBs differ greatly?
lijogdfljk··on How to write more clearly, think more clearly, and learn complex material [pdf]
Mind describing the value you gained from How to Take Smart Notes? Sounds interesting to me, as someone wanting to catalog all "information" i take in
lijogdfljk··on I was wrong – CRDTs are the future (2020)
I am. But i know very little about CRDTs lol, so we'll see how that goes. I'm interested in converting some immutable, local-first data warehouse tooling i enjoy to a CRDT version. Prior it was more.. Git-like. Basically just Git with data structures inspired-massively from Noms[1].

The thing i've found most interesting is it appears[2] that CRDT backends need to expose CRDT flavored types to users. Which is to say how i'm writing this combines the notion of a type, say `[i32]` with how you want the merges to work. CRDT works great but based on my amateur-hour researching on the subject i don't feel you can write a single CRDT merge strategy for a single data type ala `[i32]` and have it be always correct. Applications need to indicate enough context on what makes sense for a given data type.

So yea, i agree with you. I'm interested in making a database-like thing, backed by CRDTs, but i also have seen very few general purpose implementations with CRDTs. It feels like i'm breaking "new ground", while having no idea what i'm doing and having no intention of being an actual researcher here. I'm just making apps i enjoy heh.

[1]: https://github.com/attic-labs/noms [2]: appears, because i could easily be wrong

lijogdfljk··on Zig self hosted compiler is now capable of building itself
I second zozbot234's statement about it being far better than it was in those days.

The language team has done a great job rounding rough edges, and this next roadmap is slated for even more polishing. They heavily prioritize dev experience which is why i think people like myself (a GC'd language person historically) use and love Rust so much.

lijogdfljk··on Zig self hosted compiler is now capable of building itself
It's funny i came to Rust from Go, Python, NodeJS, etc after a combined .. 15 years or so. I've been using Rust full time (work & home) for ~2 years now.

Obviously i'm biased, but i quite enjoy it. I find i am more efficient now than before, because it manages to give me the ease of the "easier" languages quite often with a rich set of tooling when i need to go deeper.

Personally i feel the concern over the borrow checker is way overblown. 95% of the time the borrow checker is very simple. The common worst case i experience is "oh, i'm borrowing all of `foo` when i really want `foo.bar` - which is quite easily solved by borrowing just the `.bar` in a higher scope.

The lifetime jazz is rarely even worth using when compared to "easier" languages. Throw a reference count around the data and you get similar behavior to that of them and you never had to worry about a single lifetime. Same goes for clones/etc.

I often advocate this. For beginners to use the language like it was a GC'd language. A clone or reference count is often not a big deal and can significantly simplify your life. Then, when you're deeper into the language you can test the waters of lifetimes.

So yea. Your mileage will vary i'm sure. But i find Rust to be closer to GC'd languages than actual manual languages, in UX at least. You won't screw up and leak or introduce undefined behavior, which is quite a big UX concern imo.

lijogdfljk··on Neovim 0.7 Released
For me it was that it worked mostly just like Kakoune (or at least, the parts i used of Kakoune) with nicely integrated LSP. It also had TreeSitter based movement options and themes, which is really interesting too. A potential future where vim-like navigation is done on TreeSitter objects is attractive.

The potential DSP integration is nice too. And to top it all off, it's made in a language i enjoy and within the first 24h of using it i had a PR made for a small feature i wanted. Being able to contribute in a language i enjoy was nice.

lijogdfljk··on Rustaceans at the border
Pardon my ignorance, but what do you mean? Handling errors with the async runtime..?

If you just mean handling errors from funcs .. it's no different than non-async, no?

lijogdfljk··on Neovim 0.7 Released
I switched from Kakoune to Helix recently. I've been very happy. It'll be a larger leap for a Vim user, but it was almost drop-in for a Kakoune user. Though i did tweak my bindings quite a bit to be more Kakoune like hah.
← PreviousPage 8 of 14Next →