Better HN
topnewbestaskshowjobs
Log inSign up

cturtle

318 karma · joined Jun 7, 2020 (6y ago) · 105 submissions

Submissions

comment 4y ago · link · parent

You do have a point, it is annoying. I’ve written thousands of lines of zig code at this point, and I still frequently have to go back and fix things when the compiler informs me I left a variable or constant unused.

But I think it is less annoying than trying to figure out why things aren’t working at runtime. It’s an interesting trade off, but I appreciate zig trying something different here.

comment 4y ago · link · parent

Exactly! The idea is during development you use the super fast backend that supports hot code swapping. Then when you want to make a release build you use llvm and get all the optimization benefits of a longer compilation.

comment 4y ago · link · parent

Ah cool, I guess I completely missed that in my reading of the docs. Thank you for clarifying!

comment 4y ago · link · parent

My understanding is that treesitter doesn't do anything with indentation. I believe the issues described in the linked issues are neovim specific.

So it should be possible in theory to use treesitter data to calculate indents, though it seems difficult.

comment 4y ago · link · parent

Yep! And it also works for images too!

So you no longer need to host images externally, in an issue, or in an assets directory in the repo. I wish this were more well known.

comment 4y ago · link · parent

This gave me the motivation to finally setup linkding on my pi. Took all of 20 minutes and I’m absolutely loving it, thank you!

comment 4y ago · link · parent

Completely agree. Though, I do think Grumpy Website [0] uses the footer & infinite scroll combo in a way that perfectly fits the site :)

[0]: https://grumpy.website/

comment 4y ago · link · parent

Now I want to see the family tree!

comment 4y ago · link · parent

Not to be confused with Taxi [0], the esolang where programs are a series of directions for a taxi. "Programs are built by giving directions to destinations on a map which is where computation takes place."

[0]: https://esolangs.org/wiki/Taxi

40.

Unhook: Extension to watch YouTube free of distractions(unhook.app ↗)

10 points · by cturtle · 4y ago · 3 comments

comment 4y ago · link · parent

> And occasionally I'll have someone send me a note saying thank you for some helpful piece of information they found there.

This is related to one of the reasons I like having a personal website. Countless times I’ve found answers or learned something cool from another’s personal website, and I hope that I can help other through my efforts.

The original article mentioned something about not being able to change the world through a personal website. You can have an impact in a persons life though, and I think that makes it worth it.

comment 4y ago · link · parent

I’ve been using a really nice extension the past couple months called unhook [0] that gives a lot of control over the YouTube UI. I’ve disabled shorts, the homepage, related videos, comments, etc. and now I only see videos I have subscribed to. Much more useful (I subscribed for a reason!) and much less time wasted. Just thought I’d share in case it helps anyone!

[0]: https://unhook.app/

comment 4y ago · link · parent

There’s some cool applications here. I’ll have to give Linkding a try. My favorite that I use regularly is miniflux [0] rss reader.

[0]: https://miniflux.app/

comment 4y ago · link · parent

Try flameshot. It’s a screenshot tool that has a builtin mini editor with arrows, lines, drawing, etc. very basic but still useful for marking up a screenshot.

comment 4y ago · link · parent

I agree here. I really like what Zig has done with pointer types. I wrote about it here [0]. What I like most is that all the types consistently read from left to right, and there are types that encode the cardinality of a pointer unlike C. I wonder what you or others think about Zig’s pointers syntax.

[0]: https://nathancraddock.com/blog/consistency-in-zigs-type-sys...

comment 4y ago · link · parent

https://nathancraddock.com

Currently writing about Zig and my project reimplementing the Macintosh game Reckless Drivin’

comment 4y ago · link · parent

Because the 1950 census has just been released, those records are still being indexed and are not searchable yet [0]. I’m not sure if they release records as they are indexed, so it’s possible that it is partially searchable now.

But yes, the service is completely free provided you register an account. After that all the previous census records (and many many more) are searchable. Anyone is welcome to help index!

[0]: https://www.familysearch.org/1950census/

comment 4y ago · link · parent

This page [0] keeps an updated list of RPi stock. Maybe it could help you find something when it restocks.

[0]: https://rpilocator.com/

comment 4y ago · link · parent

If you haven't already seen it, you may enjoy SIGBOVIK, The Association for Computational Heresy [0]. An annual conference mostly focused on computer science, but any field is welcome. I immediately thought of SIGBOVIK when reading this paper.

[0]: http://www.sigbovik.org/

comment 4y ago · link · parent

Then do ctrl+[ which sends the esc code :)

comment 4y ago · link · parent

You are correct! Here is the forum post where the creator shared their work [0]. There is a nice breakdown of the different layers with a base structure, then many layers of procedural nodes.

[0]: https://blenderartists.org/t/procedural-abandoned-house-with...

comment 4y ago · link · parent

Strange there isn't a page for the Delicate Arch. That's got to be the most iconic arch in Utah. Very interesting project though! I think my favorite is the Rainbow Arch (not bridge). If you click through the links to Sketchfab there are 3D scans of the arches to get a better view than the pictures provide.

Also, I highly recommend seeing the Arches and other landmarks in Southern Utah if you have the chance. Some of my favorite places on this planet.

comment 4y ago · link · parent

I see a couple reasons.

First, Brandon planned this well. He made a video Monday heavily implying bad news. For loyal fans waiting a day to hear the news caused quite a stir I assume. Then making such a huge unexpected announcement the next day caught many people off guard.

Second, announcing four new books is not common! Especially considering he wrote them while working on many other books over the last two years. I think people are just excited and happy to share something positive.

comment 4y ago · link · parent

There's other replies in this thread linking to [0]. My personal recommendation is his Mistborn trilogy. He wrote all three before publishing any, so the books feel like a cohesive whole, but he wrote it in a way that the first book ends in a manner that you could feel satisfied with a good story after only reading one book.

Mistborn is my favorite trilogy ever. I've read it multiple times and I know the plot very well. The reason I love it is the characters. They feel so real, and you get genuinely invested in their growth through the books.

One-line description from the website: It’s a hybrid epic fantasy heist story with a focus on political intrigue and powerful action scenes.

[0]: https://www.brandonsanderson.com/where-do-i-start/

comment 4y ago · link · parent

Yeah, if an app were truly compliant it would store caches in $XDG_CACHE_HOME and data (icons, packages, sounds, images, level data, etc. required for behavior) in $XDG_DATA_HOME. It's unfortunate that not all apps follow it

comment 4y ago · link · parent

Yep, the XDG Base Directory specification [0]. Specifically the $XDG_CONFIG_HOME variable.

[0]: https://specifications.freedesktop.org/basedir-spec/basedir-...

comment 4y ago · link · parent

One question this leaves me with is regarding other ANSI escapes. Would a user with NO_COLOR be okay with bold, invert, italic, underline, or other effects? I’m happy to add support for NO_COLOR to the tool I maintain, but I think this proposal should be more clear in this regard.

I would assume that COLOR implies that only color escapes should be disabled, but the description also mentions “plain” output.

comment 4y ago · link · parent

Zero wing!

comment 4y ago · link · parent

Time. It slowly becomes second nature and now I quickly reach for esc in many applications, not just vim. It does seem weird at first, an insert key (i, a, o, etc) and an esc needed for every text addition, but over time you grow used to it.

I also have my caps mapped to both ctrl and esc. Ctrl when held, and esc when tapped. Wish I had done that ages ago.

60.

Exploring the Inner-Workings of Custom Git Commands(nathancraddock.com ↗)

2 points · by cturtle · 4y ago · discuss

1234