HNHacker News
TopNewBestAskShowJobs

medv

716 karma · joined November 3, 2015

submissionscomments
medv··on Show HN: Minimalist editor that lives in browser, stores everything in the URL
Chrome limit is 2MB, Firefox is 1MB, WebKit is no limit.

Here is the Crime and Punishment by Fyodor Dostoevsky:

- https://medv.io/goto/crime-and-punishment-by-fyodor-dostoevs...

medv··on The lightest notes app implementation in 111 loc
Chrome limit is 2MB, Firefox is 1MB, WebKit is no limit.

Here is the Crime and Punishment by Fyodor Dostoevsky:

- https://medv.io/goto/crime-and-punishment-by-fyodor-dostoevs...

medv··on The lightest notes app implementation in 111 loc
I wanted to see how far I could go building a notes app using only what modern browsers already provide – no frameworks, no storage APIs, no build step.

What it does:

Single HTML file, no deps, 111 loc Notes live in the URL hash (shareable links!) Auto-compressed with CompressionStream Plain-text editor (contenteditable) History support Page title from first # heading Respects light/dark mode No storage, cookies, or tracking The entire app is the page source.

medv··on Gitmal – a static pages generator for Git repos
Yes! I guess I can a a config file for gitmal to include all required bits.
medv··on Gitmal – a static pages generator for Git repos
Gitmal generates just HTML files, they are your to do what you want or protect as you want. =)
medv··on Gitmal – a static pages generator for Git repos
Cool! Please, share your expirience. A feedback is appreciated.
medv··on Gitmal – a static pages generator for Git repos
I'm the author of the project =)
medv··on Gitmal – a static pages generator for Git repos
Since everything is just static HTML, Gitmal gives you a super-fast way to browse your repos. Add a simple post-receive hook, and it updates automatically every time you push. Bonus: Gitmal works entirely without JavaScript!
medv··on A fast EDN (Extensible Data Notation) reader written in C11 with SIMD boost
A very impressinve implementation with SIMD and WASM!
medv··on MAML – a new configuration language (similar to JSON, YAML, and TOML)
Cool language. Simplify is the key!
medv··on Node.js is able to execute TypeScript files without additional configuration
Exactly! Type checking can be long and costly.
medv··on Writing simple tab-completions for Bash and Zsh
JSON fields autocomplete right in bash/zsh: https://fx.wtf/install#autocomplete
medv··on Fx 36
Hello Hacker News.

I'm the author of a fx tool. In the last month I've been hard working on a new version of a fx. It brings a lot of improvements, general refactoring and a lot of fixes.

Please check them out I hope you gonna like it.

PS In Go `string` takes less space than `[]byte`! This can be substantial.

medv··on Faster interpreters in Go: Catching up with C++
This is very interesting article! In https://expr-lang.org we did our own research and a paper about comparison on different vm implementation in go:

- https://expr-lang.org/blog/exploring-virtual-machines-for-em...

medv··on A simple terminal helper to save keystrokes
I’m very lazy. Sometimes I’m lazy even to switch window from terminal to chatgpt. Yet alone copy and paste command from gpt to terminal, and back. So I create a very simple helper, which uses TIOCSTI to insert gpt response as input in terminal, so I can modify it right away and run.

Her is my workflow:

Start typing command I want to run lsof - Figure out, what I forgot the name flags, lsof -tcp 8089 Press, ctrl+g and allow my helper to query GPT with my command as prompt. Verify and edit returned command from GPT Run it (press up to retrieve howto command from history to adjust prompt). Notes:

Works on macOS and Linux Does NOT work on Windows (just prints to stdout), i don’t know how to “fake input” on windows

medv··on 4.5M Suspected Fake Stars in GitHub
This means 4.5M fake accounts. GitHub does a good job of detecting bots, but room for improvements still exists.
medv··on NYC wants you to stop taking traffic cam selfies, but here's how to do it anyway
What a self-lover guy!
medv··on I made an ls alternative for my personal use
Also “walk” is great for interactive navigation.

- https://github.com/antonmedv/walk

medv··on Programming languages that blew my mind (2023)
> Mind blown: The stack is an illusion!

Why?

medv··on A CLI tool for management of Next.js applications
https://webpod.dev works almost the same, but via ssh.
medv··on Node.js adds experimental support for TypeScript
Have you tried https://github.com/google/zx?
medv··on The many faces of undefined in JavaScript
Js has n sufix:

    1234n
medv··on Some Technical Facts About My Website
Nothing special.
medv··on My deployment platform is a shell script
For PHP https://deployer.org For JS https://webpod.dev
medv··on The Annotated S4
What I need so learn to start to understand those articles? Is there some good courses on the topic? For beginners?
medv··on Expr 1.16
Hi Hacker News community,

I'm excited to share that Expr v1.16.0 is now available! This release includes several new features and improvements that we've been working on based on community feedback.

medv··on Choose the browser that best suits your privacy needs
An interesting thing about posts like this: you would recommend, and you think everybody is using Firefox. But in fact everybody’s using Chrome Firefox user base is just so tiny
medv··on Choose the browser that best suits your privacy needs
FF has so many bugs, it literally unusable.
medv··on Fourteen Years of Go
fx, walk
medv··on Show HN: GitHub Badges for Profile Readme.md
Hey HN!

I've always been a fan of GitHub achievements. They add a touch of gamification to our coding lives, and there's something immensely satisfying about seeing a new badge pop up after you've hit a milestone.

However, I've often felt that there's so much more potential here. Why limit ourselves to the achievements GitHub offers? Imagine having achievements for quirky milestones like "Merged a PR on Friday 13th" or "Closed an issue opened 3 years ago". The possibilities are endless!

With this thought, I've started a custom project where everyone can contribute and add new achievements. It's open-source, community-driven, and I genuinely believe it could be a fun and engaging addition to our GitHub experiences.

I'm extending an invitation to all of you. Let's co-create. Whether you have a knack for design and can help with badge designs, or you've got ideas for cool achievements, or even if you just want to code and contribute in any way, I'd love for you to join on board.

This isn't just about adding more badges; it's about celebrating the little (and big) moments in our developer journeys. Let's make GitHub a little more fun, together!

← PreviousPage 2 of 5Next →