octref

Joined 13 years ago

Karma
585
Submissions
139
Member since
May 5
nomadic

http://blog.matsu.io/about

View on Hacker News

Recent submissions

Comment · 3 years ago
I'm curious if HashiCorp changed their licenses to GPL/AGPL, will everyone be as frustrated?
Comment · 4 years ago
Hi Peter! For H1B visa holders, is there any way to start a company and remain in charge (whether as CEO or not)? From what I find online you can only be employed as a H1B holder, but if I start a company I would want to have full control of it.
Comment · 4 years ago
I'm interested in building something with this to aid my own French learning. Would love to read your findings if you end up posting it somewhere like twitter/blog!
Comment · 4 years ago
Comment · 4 years ago
Comment · 5 years ago
I have thought about building a vocabulary learning tool for learning Japanese on top of Apple Dictionary. My idea is simple: user collects dicitionary items and the tool offers lookup / spaced-repetition.

However, I'm concerned that the dictionary is copyrighted. Is there any precedent that says whether such a tool would be legal/illegal?

Comment · 5 years ago
Does anyone have recommendation for static site hosting with simple server-side analytics? The only thing I can find is Netlify Analytics, but $9/mo is too much for hosting a few pages of OSS project documentations.

If there's no complex interactivity achieveable only through JS, I prefer to ship sites with plain HTML/CSS, so I don't really like to use any client-side analytics. And yes – I can live without all the fancy features to track and profile my visitors.

I don't want to host by myself either, since I enjoy using a simple git push to deploy my site.

Comment · 5 years ago
If you are interested in creative coding but don't know where to start, me and my friend are running Codecember, a month-long challenge to do one code sketch a day: https://codecember.ink

We pick simple sketches & recreate them in p5.js as a learning process. Eventually you remix the sketches with your ideas to create something original.

Our prompts exposes a diverse variety of generative artwork, none of which are too difficult to recreate. Join us for the second half!

Comment · 6 years ago
It's almost 2021 and Slack still can't syntax highlight code blocks.
Comment · 6 years ago
Comment · 6 years ago
One take away for me was: Language designers & compiler writers today need to consider editor support as one of their goals.

On the top page there's another thread about rust-analyzer vs RLS. What Aleksey said[0] about RLS that "[RLS's] current architecture is not a good foundation for a perfect IDE long-term," feels similar to my coworker's conclusion in her effort to provide better editor support for PHP[1].

Parsers for compiling code into machine-executables vs parsers to serve LSP responses have different tradeoffs. For example, Anders mentioned TS parser need to have good error-recovery, can respond with completions/errors when one file changes inside a thousand-files-project. I vaguely remember TS had a goal to provide completions in < 50ms and errors in <150ms. Such goals are hard to achieve as after-thought. If your core compiler doesn't do error recovery, such as PHP, you need someone to write a new compiler from scratch for a language server implementation. If tools such as RLS rely on compiler to dump all JSON metadata and figure out LSP responses[0], it's too slow for editors.

TS's good editor support doesn't come free. I think one of the most under-appreciated achievement of TS is how it took editor support seriously and designed its compiler infrastructure to do it well. That's why I don't believe in those hot-new-web-languages that try to take over TS by designing a better type system. TS brought the average developer's expectation of a language to having fast completion, fast error reporting, editor autofix, F2 to rename and renaming-a-file-in-editor-to-update-all-references. It's 2020 and people aren't going back to write code like in Notepad.

[0]: https://ferrous-systems.com/blog/rust-analyzer-2019/

[1]: https://github.com/microsoft/tolerant-php-parser

---

EDIT: grammar.

Comment · 7 years ago
Comment · 7 years ago
Comment · 7 years ago
> Obviously with log parsing you don’t get as much information as a JavaScript-heavy, Google Analytics-style system. There’s no screen sizes, no time-on-page metrics, etc. But that’s okay for me!

This also bypasses Ad blocker. In the case you have a large percentage of technical audience (who presumably would have Ad blocker installed) this log can be way more accurate than GA.

However this still requires setting up the image on a third-party server. I would really love it if GitHub pages or Netlify can provide some simple server-side tracking. It doesn't match GA but in some cases that's all I need.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton