HN user

ryanolsonx

109 karma

UI Architect with a passion for creating great user experiences. Also, emacs and vim are cool.

Posts1
Comments82
View on HN

Two things to consider: - When reading generated code, which programming language would be the most readable to you? - Which programming language guides AI to write correct code using language features or guardrails?

There you will find your answer.

Resurrect the Old Web 10 months ago

It’s funny, when I was younger, it was all about MSN messenger, MySpace (esp the music player on there), and forums. That’s the old web I remember from before. No personal blogs, really. (Again I’m not old enough to remember before that)

:syntax off (2016) 2 years ago

If you've never seen anyone work with syntax highlighting off, there are some YouTube videos that inspired me to try coding with syntax highlighting off:

1. "Hacking with Andrew and Brad" - Andrew Gerrand (previously on the Go core team) uses Vim without syntax highlighting.[0]

2. "Advanced Embed With Go Generate - Andy Walker" -- this guy uses bold/italics/few colors in his editor. Interesting visual on how you can use font to show different aspects of the code.[1][2]

3. "Visual Studio Code, No Syntax Coloring, Go Fonts" [3]

4. "stb programming FAQ" - Sean Barrett answers why he uses VC6 and why his syntax highlighting is so minimal.[4]

[0] https://www.youtube.com/watch?v=1rZ-JorHJEY [1]: https://www.youtube.com/watch?v=YnWpuoWzEj0 [2]: https://www.youtube.com/shorts/loLLjjRBK-k [3]: https://www.youtube.com/watch?v=tgc1045AsMA [4]: https://www.youtube.com/watch?v=3BYKiOHdCNg

:syntax off (2016) 2 years ago

Why do you hate autoindent? Have you seen issues with autoindent while developing? Vim `set autoindent` works well when configured with how you do tabs for a given language (ie `set sw=2 sts=2` for JavaScript)

:syntax off (2016) 2 years ago

I love coding with syntax highlighting off. The signal from linters or other code analyzers ends up jumping out more when other things aren't highlighted.

:syntax off (2016) 2 years ago

As a staff engineer that reads a lot of code, I go without syntax highlighting. Things are just fine.

Acme is an interesting text editor for development. I've used it for React.js development before. Because of how you can script it, I could run Prettier on save and a few other things you'd normally expect in the JS world.

This is really cool. I dig it.

I like that there's a Sublime Text package for it. Seeing my plain text todos with nice syntax highlighting is a perk.

I maintain a Zenburn color scheme[0] for Sublime Text. After playing with this, I added specialized support for [x]it! and I think it looks pretty good[1].

[0] https://packagecontrol.io/packages/Zenburn%20Color%20Scheme

[1] https://github.com/ryanolsonx/sublimetext-zenburn-theme/issu...

“Put up your hand if you like or maybe even love your smartphone,” I asked the audience of policymakers, industrialists and students.

Nearly every hand in the room shot up.

“Now, please put up your hand if you trust your smartphone.”

One young guy at the back put his hand in the air, then faltered as it became obvious he was alone. I thanked him for his honesty and paused before saying,“We love our phones, but we do not trust them. And love without trust is the definition of an abusive relationship.”

For this and other reasons, I'm switching to the Light Phone 2 [1]. I get it later this month. Devices like this don't solve all of our problems, but they certainly solve many.

[1] http://lightphone.com

My advice would be to quit chasing exciting frameworks.

Pick something that has been around a while (Ruby on Rails, Python with Django, Java Spring) and go with it.

Focus on performance once it becomes a problem. In python, you can rewrite parts in C that need a speed improvement.

Otherwise, focus on making a great product that solves a problem for your users.