HNHacker News
TopNewBestAskShowJobs

ldd

464 karma · joined April 10, 2014

e-mail me at hn@lddstudios.com
submissionscomments
ldd··on The joys of owning an ‘OG’ email account
So I own a domain that is very similar to a ballet company for children in Florida and once, a mid-sized CEO emailed me PDF images with credit card details!

I tried reaching out, but my email was probably ignored because they thought it was a scam.

I'm sure that sending that info insecurely at least... violates mastercard agreements? I dunno. I just hope people checked and double-checked what emails they send.

ldd··on I thought I would have accomplished a lot more today and also before I was 35
I just wanted to make it to the top of Hacker News. I submitted plenty of my projects, but none hit the mark.

So hopefully once before I turn 35 I have a project that makes it to the top. But if not, eh. I'll be al right.

Just like the dolphins in the Hitchhiker's Guide to the Galaxy

ldd··on D3 6.0
Oh, D3.js is awesome, and all the cool visualizations that I saw over the years makes me glad it exists.

Let's share our creations here!

Here's mine: a tech tree using D3.js made many years ago: https://github.com/ldd/tech-tree-js

ldd··on Show HN: Handwritten.js – Convert typed text to realistic handwriting
I second this. Please add a license!
ldd··on Dependency
awesome!
ldd··on Dependency
Do you have a link?

Ironically, trying to good for `ff-dice` or `pngff` sends me back to this thread!

ldd··on Dependency
I use imagemagick to split spritesheets into single images for games that I make[0]. More than 1 gamedev has saved countless of hours thanks to it, so I 100% hope it never breaks.

[0]: https://gist.github.com/ldd/9b576bb6f0ac99a0a7895eaf1aae7802

ldd··on It’s strange what people put up with in C#
This may be a bit of a tangent, but does anyone know how to implement a redux-like pattern in C#?

I think i've seen clean implementations in F#, but not in C#. The only thing that prevents me from fully embracing Unity is not knowing how to do pure function reducers with a single store. That, and an aversion for everything being so class-heavy. (My favourite languages these days are elixir and typescript)

ldd··on What I Learned About Failing from My 5 Year Indie Game Dev Project
I've been developing a game full-time for the past few months. I've sort of thought about how my journey will end.

In the meantime, I got to write a couple of VSCode extensions that are used at least by some people and React dependencies that I personally find cool.

I never really thought about it, but my open-source projects usually end up having 15-40 stars and that means 1 or 2 support tickets every 6 months. I guess not being popular has its upsides.

All that I can personally say is that, more than passion towards my current project, I feel as if I didn't make it, I would regret it deeply. So I wake up early every day to advance a little bit each day. I deeply enjoy the process.

I hope you someday look back at your project and see it as a success. A failure commercially, maybe, but a success in many other ways.

Anyways, thanks for the link to https://www.indiehackers.com/.

ldd··on It pays to be grumpy and bad-tempered (2016)
I understand that, in some sense, this may be true. But notice that it doesn't say that not being grumpy is a recipe for failure.

I personally prefer to be good-tempered and not grumpy, and I am rarely in a bad mood. I call this dog philosophy.

It probably means that I won't have all the success and greatness and stuff that others have, but overall, I am much more content seeing the world through rose-coloured glasses.

My dog seems to agree.

ldd··on Twitter is at its best when verified accounts can’t tweet
great!

Paradoxically, I do need to start using twitter to market my game, but I dread spending time on that site.

I'll probably try to only go there once a week. Social media is weird.

ldd··on Twitter is at its best when verified accounts can’t tweet

  twitter.com##[aria-label="Timeline: Trending now"]
  twitter.com##[aria-label="Relevant people"]
I use those rules on uBlock origin. let me know if it helps!
ldd··on Launch HN: Openbase (YC S20) – reviews and insights for open-source packages
aha! covering npm packages makes sense. I briefly forgot that I hadn't publish that one on npm. I wonder if vscode extensions are published on npm... umm...

I'm glad you have all those future features planned.

As for testing, I think that badges are often times not enough. I'd like to see if tests exist at all in the first place, and the quality or helpfulness of those tests. But maybe I'm in the minority for that, so ask other users for confirmation.

:D

ldd··on Launch HN: Openbase (YC S20) – reviews and insights for open-source packages
Does this include typescript projects? i couldn't find my own.[0]

Also, I can see my two most popular packages ( 40 stars[1] and 14[2] respectively), and I've realized that not updating them frequently probably hurts.

The thing is, what about bots like dependabot? I have one or two other packages that auto update and close issues quickly because they have some bots helping out, and I was wondering if you took that into account.

I am also sad that things that I worry about, like testing, and bundle size are nowhere to be found.

But overall, great idea. Keep at it!

[0]:https://github.com/ldd/vscode-jq/

[1]:https://openbase.io/js/gatsby-source-github-api

[2]:https://openbase.io/js/react-tech-tree

ldd··on Why Facebook is well placed to weather an advertising boycott
Thanks!

The only thing that worried me is that Facebook sees me as someone with "Close friends of Women with a Birthday in 7-30 days"

That just sounds sleazy.

ldd··on Show HN: Jqview, a simple native GUI for inspecting JSON with jq
Gotcha. I'd honestly also would want this, but I don't see an easy way of implementing it.

It sort of makes me wonder how xpath queries work and what algorithms are used.

At face value, for certain JSON files, it is probably possible to do quickly, like in my example above, but the devil is always in the details...

ldd··on Show HN: Jqview, a simple native GUI for inspecting JSON with jq
So, I don't really understand. but! Suppose you have a JSON file like this:

  [
    {
      "a": 1,
      "b": 2
    },
    {
      "a": 5,
      "b": 6
    },
  ]
what exactly do you want to do with it?
ldd··on Show HN: Jqview, a simple native GUI for inspecting JSON with jq
Great feature request. I've been there.

I'll look into it for sure!

ldd··on Show HN: Jqview, a simple native GUI for inspecting JSON with jq
I made a VSCode extension for jq[0], so I really like when people see the power of jq.

I should probably update it with a couple of life improvements now that I think about it.

[0]: https://github.com/ldd/vscode-jq

ldd··on Weirdos in the depression
> “Lee. Got more name. Lee papa family name. Call Lee.”

“I’ve read quite a lot about China. You born in China?”

“No. Born here.”

Samuel was silent for quite a long time while the buggy lurched down the wheel track toward the dusty valley. ““Lee,” he said at last, “I mean no disrespect, but I’ve never been able to figure why you people still talk pidgin when an illiterate baboon from the black bogs of Ireland, with a head full of Gaelic and a tongue like a potato, learns to talk a poor grade of English in ten years.”

Lee grinned. “Me talkee Chinese talk,” he said.

“Well, I guess you have your reasons. And it’s not my affair. I hope you’ll forgive me if I don’t believe it, Lee.”

Lee looked at him and the brown eyes under their rounded upper lids seemed to open and deepen until they weren’t foreign any more, but man’s eyes, warm with understanding. Lee chuckled.

“It’s more than a convenience,” he said. “It’s even more than self-protection. Mostly we have to use it to be understood at all.”

Samuel showed no sign of having observed any change. “I can understand the first two,” he said thoughtfully, “but the third escapes me.”

Lee said, “I know it’s hard to believe, but it has happened so often to me and to my friends that we take if for granted. If I should go up to a lady or a gentleman, for instance, and speak as I am doing now, I wouldn’t be understood.”

“Why not?”

“Pidgin they expect, and pidgin they’ll listen to. But English from me they don’t listen to, and so they don’t understand it.” “Can that be possible? How do I understand you?”

“That’s why I’m talking to you. You are one of the rare people who can separate your observation from your preconception. You see what is, where most people see what they expect.”

- East of Eden, John Steinbeck

ldd··on Lovely Week with Elixir
I commented elsewhere, but I made a quick quirky game with full source code using LiveView.

[0]:https://hn.lddstudios.com/ [1]:https://github.com/ldd/hn_comments_game/

Not to share my views or anything, and I have nothing to sell about it, but I thought I would share it with people anyways

ldd··on Lovely Week with Elixir
I had an excellent week with Elixir building a really silly game:

https://hn.lddstudios.com/

MIT Licensed. Source:

https://github.com/ldd/hn_comments_game

ldd··on Ask HN: Dark mode for HN please?
Most likely! Then again, modern CSS is pretty awesome. Not flawless, but so much better than 10 years ago.
ldd··on Ask HN: Dark mode for HN please?
great point about #000. I didn't think about OLEDs.

I also followed the same recipe: I copied all things that changed `color` or `background` and tried as best as possible to change the minimum possible to get a dark mode.

Anyways, regardless of whether any solution makes it in the end, I found this whole exercise to be pretty interesting!

ldd··on Ask HN: Dark mode for HN please?
Did you try my latest solution?

https://pastebin.com/CKy4HQXE [I'm not parent]

let me know what you think ;D

ldd··on Ask HN: Dark mode for HN please?
awesome! yeah, the first couple of versions I posted had issues with dead links, and textareas.

Anyways, if @dang permits, we can start a github repo for this, until all the little issues are fixed. I just hope he sees that all of this can be done in just a few lines of code

ldd··on Ask HN: Dark mode for HN please?
And just in case 28 was too much, here's an improved version in 10 lines of CSS:

https://pastebin.com/dT4KKt3s

ldd··on Ask HN: Dark mode for HN please?
I replied to the top post, but just in case, here is my idea

It uses prefers-color-scheme and 28 lines of CSS:

https://pastebin.com/4JYbSi5F

ldd··on Ask HN: Dark mode for HN please?
I did just that in this pastebin[0].

we can even start a github repo, if anyone feels so inclined to do so

[0]: https://pastebin.com/4JYbSi5F

[edit: shorter, fixed top bar version: https://pastebin.com/dT4KKt3s ]

[edit 2: fixed textarea, dead links: https://pastebin.com/CKy4HQXE ]

ldd··on Ask HN: Dark mode for HN please?
minimal CSS to add (nothing to remove):

https://pastebin.com/4JYbSi5F

[edit]: fixed, shorter version: https://pastebin.com/dT4KKt3s

[edit 2: fixed textarea, dead links: https://pastebin.com/CKy4HQXE ]

[edit 3: added a screenshot: https://imgur.com/a/Ont553x ]

← PreviousPage 2 of 5Next →