HNHacker News
TopNewBestAskShowJobs

markknol

109 karma · joined March 14, 2015

submissionscomments
markknol··on Turtletoy
Thanks! If you wanna do more, i wrote a bit about it on x/twitter, recently 3d printed an object to actually test such string art. if you have specific questions, happy to answer ofc! https://x.com/mknol/status/1993708617586077928
markknol··on Turtletoy
computer goes [[[[BRRRRRRRRRR]]]]
markknol··on Turtletoy
It's build with JavaScript which is pretty common, makes it pretty accessible. Syntax is pretty easy to learn https://turtletoy.net/syntax
markknol··on Turtletoy
turtlespaces seems dead
markknol··on Turtletoy
turtlespaces seemss ded
markknol··on Turtletoy
you actually can but it is a workaround: You can export as gif, then it'll draw slowly
markknol··on Turtletoy
Such a nice project!! I made several turtles too, check https://turtletoy.net/user/markknol
markknol··on [dead]
Hey Im Mark and I realized I spend lot of lots of time searching for guitar theory online and I used my programming powers to create a interactive document with all notes layed out to explore and learn the fretboard entirely.

You can easily switch scales/chords/keys for guitar, bass, ukelele, mandolin and even banjos. The document will adapt all of its content to any of these selections you make.

Hope youll like it, let me know what you think

Greetings, Mark

markknol··on Show HN: Don't spend a fortune on Text to Speech, instead use this
or use `speechSynthesis.speak(new SpeechSynthesisUtterance("Your text here"))` in in javascript, works in most browsers. unlimited and free
markknol··on Original way of exploring the collection from the Rijksmuseum in Amsterdam in 3D
A nice writeup about the project can be found here https://reindernijhoff.net/2023/08/rijkscollection-a-persona...
markknol··on Original way of exploring the collection from the Rijksmuseum in Amsterdam in 3D
Very original way of exploring the collection from the Rijksmuseum in Amsterdam. You can search for words and navigate through the created collection
markknol··on Haxe 4.2
Haxe is just great. The language, tooling and even docs has improved much over time, its joy to work with. I've been using Haxe professionally to create html5 games for almost 6 years now. First started as hybrid solution to have both flash and canvas, nowadays fully webGL powered games with small/clean ES6 output.

I've been using Haxe for many applications; cli tools, generative art, websites, games, backends, tools etc.

Webdevs; There is a full-Haxe react alternative I've been using to create a website, which is called coconut.ui. Since its build with macros under the hood, it can have multiple outputs, which means you can output just its own renderer, but also react (+native), but you can use it to build reactive applications in other framework.

If you use lix (npm/yarn based) as dependency manager, you can require Haxe in CI, which also makes switching versions easily.

markknol··on Rome: An experimental JavaScript toolchain
I am using Haxe, which is a complete different ecosystem, which compiles to JS. It has a fast optimizing compiler, a strict-typed language. Has features like meta programming /syntax-transformation (macros), conditional compilation, inlined calls etc. These are great tools to create high performance apps. You can find all the features on its website. It has a formatting tools and a linter, but has build-in deadcode elemination and a static analyzer so it only includes everything you use (so no need to strip it off afterwards as seen in some JS tools). Also could be a good candidate for WASM, since it compiles to C++. One thing that is great about Haxe is that is also compiles to other languages; you can reuse same code for different compiler targets. I mean, why does Rome only target JavaScript? For Haxe that's just one option.

[disclaimer, I am a big Haxe fanboy]

markknol··on Ask HN: What metaprogrammable language do you/would like to use?
This list is missing Haxe, which is strictly-typed (with type inferencing), supports object-oriented, generic, and functional programming and is highly extensible thanks to meta-programming (macros). Interoperability is where it excels, since it compiles to to multiple language targets/platforms, including VM bytecode.
markknol··on Haxe Design Patterns
Nice, maybe also a good idea to share the content of some design patterns here https://code.haxe.org/category/design-patterns/
markknol··on HaxeDevelop 5.3 – Application development on Windows
There is a language server build by the Haxe team. https://github.com/vshaxe/haxe-languageserver HaxeDevelop consumes that.

If you want a cross-OS IDE, or something that works on mac/linux, then use vscode + vshaxe.

markknol··on Haxe 4.0.0 preview 2: final keyword, arrow functions
Haxelib (the Haxe package manager) client and server are both written in Haxe. Also try.haxe.org and kodegarden.org clients+servers are also written in Haxe.
markknol··on Haxe Code Cookbook
The Haxe Foundation facilitates the following code cookbook for the Haxe commmunity. Easy to read Haxe coding examples. Very nice.