HNHacker News
TopNewBestAskShowJobs

zbaylin

382 karma · joined June 24, 2018

submissionscomments
zbaylin··on HTML hacks that shaped the Internet
Some of them are definitely more "historic" than others.

For instance, #2 (<table>-based layouts) definitely shaped much of early-to-mid-2000s web design, and can be viewed as a precursor to flexbox/other modern layout engines.

Same with sIFR -- custom webfonts are totally taken for granted today largely because of "hacks" like this.

zbaylin··on Actix Web: a small, pragmatic, and fast Rust web framework
This is a backend framework, whereas the ones you mentioned are for the frontend
zbaylin··on Tabler Icons – Free vector icons for web design
Am I missing something or is Tabler already listed?

https://icon-sets.iconify.design/tabler/

zbaylin··on Discipline by King Crimson
“Discipline” is one of those albums that totally changed the way I thought about music.

When I was a kid I was really into classic prog rock (i.e. Yes, Genesis, ELP, etc.) and was mesmerized by Bill Bruford’s playing and technique on “Close to the Edge”, which led me to this incarnation of King Crimson.

One song in particular that really stuck out to me was “Thela Hun Ginjeet”, which includes a recording of Adrian Belew recounting an experience being heckled on the street, but until I read the Wikipedia page for the album I had no idea it was secretly recorded by Fripp and wasn’t scripted (including the maniacal laugh at the end). It blew my mind that they were able to create this soundscape that turned a recording of a totally sane Belew into what I thought was a paranoid schizophrenic.

Each song on the album stands on its own, and it’s probably my favorite in King Crimson’s discography.

zbaylin··on Onivim 2 is a retro-futuristic modal editor
Yep! You can find the MIT repo here: https://github.com/onivim/oni2-mit

I actually never thought of it in the context of Id Software, that’s an interesting comparison!

zbaylin··on Onivim 2 is a retro-futuristic modal editor
I wrote a reddit post[0] about why Oni takes so much space to build, but the TLDR is that we build a bunch of native libraries from scratch on a fresh build, namely Skia.

I would like to note that we don’t maintain/support/promote the Oni package on AUR. Builds from scratch are mostly for “trial” or contribution purposes. We do try to help with build issues in the Discord, though!

I would also disagree with the idea that a light and fast program must be easy/quick to build. C++ is notorious for having huge resource/time requirements to compile, but the end result (assuming good code) can be faster than some C code! Consequently, it takes relatively little time to spin up a node interpreter but the resulting program is orders of magnitude slower.

Oni is written in OCaml, so naturally it requires the OCaml compiler to build. Those NPM packages aren’t JS — we just leverage the existing NPM ecosystem for our native code.

We do recognize that building from scratch is not ideal, which is why we provide prebuilt binaries for purchase. I can’t give an exact timeline, but we’ve discussed publishing public trial builds probably before the end of the year, which further reduces the need to build from scratch.

Feel free to ask any other questions in the Discord!

[0] https://reddit.com/r/onivim/comments/n05pqz/_/gw8hw8p/?conte...

zbaylin··on Onivim 2 is a retro-futuristic modal editor
Yeah the UI is completely custom built using Revery (a custom-built Electron alternative). Similarities to VSCode are just a result of it being the main inspiration. I would say Sublime also has a large influence on our design, i.e. in the minimap
zbaylin··on Onivim 2 is a retro-futuristic modal editor
Hey, Onivim contributor here!

I think Oni is in a hard place where it’s the primary source of income for Outrun Labs. Oni is open source in two senses

- the source is available online (technically doesn’t meet some definitions of open source, but the source is open)

- we MIT commits after 18 months.

In terms of contributors retaining rights to the product, we do have a bug bounty program where if you fix a bug with a PR, you get a license for free. Not quite what you mean I’m sure, but it’s essentially payment for contributions.

We definitely aren’t deliberately trying to undermine the OSD. The reality of open source software at the moment is that most of it is either created or sponsored by large companies who have a ton of money to throw at it. We are trying a new model of making money from open source software to allow us (well, Bryan) to work on Oni full time. We’re definitely open to suggestions, though!

zbaylin··on Onivim 2 is a retro-futuristic modal editor
Hey, Onivim contributor here.

Unfortunately none of the main contributors are designers. I think we end up with a very VSCode-similar look because in terms of UX that’s our main inspiration. We do diverge in some areas, though.

Debug functionality is on our radar and it will hopefully be in relatively soon!

zbaylin··on Onivim 2 is a retro-futuristic modal editor
I’ve actually been working on adding more support for native widgets in Revery, mostly focusing on macOS since thats my daily OS, but Windows too. You can now use native buttons and menus, and I’m looking into adding other native inputs (like text fields).
zbaylin··on Onivim 2 is a retro-futuristic modal editor
Hey, Onivim contributor here.

I assume by FOMO you mean the increased license price as time goes on, but as far as I understand (that decision was made before me), the idea is that the product becomes more valuable over time as a result of more features being added. You can still buy a one time license as of right now.

As far as abandonment is concerned, I can let you know that hasn’t been discussed. Bryan recently went on his first vacation since working on Oni, but work has resumed since he returned.

Feel free to let me know if you have any other questions — the Discord is always open!

zbaylin··on Helix: a post-modern modal text editor
Hey, Onivim contributor here. Sorry to hear about that syntax highlighting bug! It’s something we’ve received a lot of feedback on, and I know bryphe is planning on dedicating more resources to syntax highlighting fixes in the next couple of months. If you haven’t already, feel free to open an issue on GitHub (or comment on one that’s similar)! It helps us put our finger on where the editor falls short for people.
zbaylin··on Helix: a post-modern modal text editor
Hey, Onivim contributor here. Thanks for the feedback! I will mention that syntax highlighting fixes are something we’re gonna be focusing on in the coming weeks/months so if you haven’t already, feel free to file an issue on GitHub (or comment on one that looks similar)!
zbaylin··on Army of fake fans boosts China’s messaging on Twitter
Because our political ideals don't operate that way. It's the same as there being a myriad of Chinese companies listed on US stock exchanges, but few (if any) American companies being listed on Chinese exchanges because they forbid it.
zbaylin··on A Worker-Owned Cooperative Tries to Compete with Uber and Lyft
Not quite sure how this is going to be successful. Uber and Lyft already hemorage cash on ride-share -- how is a co-op whose workers can (and most likely will) vote to increase wages able to not only compete but make money?
zbaylin··on How to look at the stack with gdb
I tend to find lldb a lot easier to use for the same reasons. There isnt a 1:1 mapping of gdb commands to lldb but the cheatsheet really helps and it doesn’t take that long to get a hang of it.
zbaylin··on OCaml is 25
As an initial primer I would recommend Cornell’s Functional Programming class that teaches OCaml: https://www.cs.cornell.edu/courses/cs3110/2019sp/textbook/in...

After that, I would recommend the new (beta) version of Real World OCaml — it gets a lot more in depth about more advanced language features: https://dev.realworldocaml.org/toc.html

zbaylin··on Robinhood Files S-1
Why do you think that? Does this stem from recent events involving $GME?
zbaylin··on OCaml for the Skeptical: OCaml in a Nutshell (2006)
If you think of ReasonML as a separate language (as I find it all too often is described), then it doesn't provide any extra value. However, as someone who is a contributor to Revery, a fairly large Reason project, the benefits of using Reason over OCaml are:

- JSX. OCaml has infamously never had a great UI lib, even though the language parallels with many of the functional paradigms popularized by React. JSX is a great medium to bridge that gap.

- The syntax itself. A lot of the contributors to Revery have no OCaml background, but rather JS since it's often billed as an Electron alternative. Reason's familiar syntax opens the door to many people who would be turned off by OCaml's "obscure" (not my actual thoughts) syntax.

- The tooling. Since it's just an alternative syntax for OCaml, you get all the OCaml tooling for free, plus the Reason-specific tooling. I'm a huge fan of refmt, which is a tool that parses and formats Reason source files. Sure other langs have close-ish equivalents (i.e. clang-format), but refmt is much more opinionated, meaning you never have to worry about intricacies with your formatting.

zbaylin··on OCaml for the Skeptical: OCaml in a Nutshell (2006)
Belt isn't a standard library for Reason, it's a standard library for Bucklescript that has specific optimizations since it knows it's going to be compiled to JS. Reason uses the same Pervasives/Stdlib as OCaml.
zbaylin··on Georgia Tech professors revolt over reopening, say current plan threatens lives
During lecture at least, students are always at least 6 feet away from the professor. Moving to and from classes is a different story, though.
zbaylin··on Georgia Tech professors revolt over reopening, say current plan threatens lives
> a state that doesn’t care about, or is downright hostile to all things “technology”/“smart”.

I know this is a generalization, but I find it kind of egregious. Georgia is one of the only states left (AFAIK) where you can essentially attend an in-state college for free if you have a high enough GPA [0]. You can argue about the means by which that is achieved (the lottery), but as a current Tech student I know plenty of very talented students who wouldn't be able to attend college, let alone an engineering school, without these scholarship programs. I doubt that a state/government that truly was anti-technology or anti-"smart" would funnel what must be billions of dollars a year into academic scholarships.

[0]: https://www.gafutures.org/hope-state-aid-programs/hope-zell-...

zbaylin··on The Physics of Fried Rice
Happy to see my school getting mentioned on HN. Dr. Hu has a TEDx talk called "Confessions of a Wasteful Scientist" (https://www.ted.com/talks/david_hu_confessions_of_a_wasteful...) that talks a bit more about research he has done in this vein.
zbaylin··on Richard Stallman resigns from CSAIL at MIT
He has resigned from the FSF https://www.fsf.org/news/richard-m-stallman-resigns
zbaylin··on Ask HN: A Good Alternative for ReCaptcha?
PassThePopcorn has a similar CAPTCHA-like implementation to the Pexels one you mentioned in your article. It has a repository of movie posters (which I think are user submitted to the movies themselves), one of which is chosen and the user is asked what movie the poster is for. I've always thought of that as an "enjoyable" CAPTCHA.
zbaylin··on 1980s Amiga has been running the AC and heat in 19 schools for 30 years
I worked for my local school district (second largest one in Georgia) and wrote production software while in high school. Much of it is still in use. That was only two years ago.