pianojacq
prehistoric-simulation
pianojacq | prehistoric-simulation | |
---|---|---|
3 | 9 | |
- | 9 | |
- | - | |
- | 0.0 | |
- | over 1 year ago | |
TypeScript | ||
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
pianojacq
-
Modern SPAs without bundlers, CDNs, or Node.js
As someone who does this too: it depends. If you take time out every now and then to completely refactor your code base it can actually be surprisingly effective. I've done exactly that on my last project and I'm pretty happy with the end result, you can have a look for yourself:
https://gitlab.com/jmattheij/pianojacq/-/tree/master/js
This project will likely never be finished, there are always nice new things to add or requests from people, there is no commercial pressure because it is a hobby project and I don't have a boss to answer to. And even if such refactoring operations take me two weeks or more (this one I did while I was mostly just working on a laptop without access to a keyboard so it was sometimes tricky to ensure that nothing broke) in the end it is worth it to me because I am also paying the price for maintaining the code and if it is messy then I would stop working on it.
The project moves forward in fits and starts, sometimes I work on it for weeks on end and sometimes it is dormant for months. In a commercial setting or in a much larger team I don't think this approach would work.
-
Ask HN: What happened to vanilla HTML/CSS/JS development?
Two things:
- adding interactivity to a web page vs building an application. Those are not the same thing, and what you read applies to the first
- there's a widely accepted belief that vanilla js is not suitable to build apps. I don't buy in this belief. I have a built networked Scrabble game written in vanilla js. Both the backend and the frontend. This simplicity allowed external contributors not well versed in the modern web stack to contribute. I also was able to enter the code of Pianojacq (from jaquesm) [1] and contribute quite easily because he also chose vanilla js. This simplicity is very valuable, and lost with modern framework, and nobody is really concerned about this.
I've done some React development, so I know my way in a modern app. I've also contributed to a frontend written in Vue. I think they solve problems but bring complexity to the table, in particular the tooling (bundlers, minifiers, etc), the dependencies and the debugging being much harder.
It seems DOM manipulation through native browser API scares many people, but when it's what you are familiar with, your usual "framework", it's manageable. You need to be disciplined to avoid things getting messy (a discipline frameworks partially enforce), but I really believe you can go far with vanilla js.
I believe React & Co are often picked to ease beginners' contribution, but they actually do require expertise. I'd rather touch vanilla js code from a beginner or an experienced developer than a React code from a beginner.
It's a matter of taste. Vanilla JS has the taste of fresh air to me. It's zen. You write the code and it runs. No tools, no slow compilation, no minification that complexifies the debugging. Minification which is only useful because with those framework you bundle an awful quantity of code in the first place. Yes, source maps exists but they don't do everything.
But today you won't have access to the whole ecosystem of existing React components with vanilla JS. It might be a curse or a benediction.
[1] https://gitlab.com/jmattheij/pianojacq
-
Lots of progress on the piano practice software
As for 1) yes, I can do that, the reason it is set where it is right now is because very soft keypresses on real pianos with sensorbars installed are typically fingers brushing keys on the way to other keys and these false triggers leave a lot of errors that aren't really errors. I'll make that setting configurable.
2) yes, if you look in the 'midi' directory on the gitlab site ( https://gitlab.com/jmattheij/pianojacq/-/tree/master/midi , but also linked from the application) there are whole bunch of them that all should work well
prehistoric-simulation
-
Ask HN: What are you working on to become a better programmer?
Wouldn't say I got a lot better by writing small and medium sized personal hobby project, but it most definitely did get me confidence and satisfaction.
A cellular automata runner where you can define the rules and watch what happens: https://aperocky.com/cellular-automata/
Browse THIS website in terminal: https://github.com/Aperocky/hnterminal
A random simulation of prehistoric civilization and market: https://prehistoric.tech/
Every few months I get a bubbly idea and start some fun project, and they are usually small enough I get to finish them in a week or so, package them either on the web or pip/npm. It feels like a boost to occasionally boring work otherwise.
-
What It Takes to Make a Game by Yourself
This is where tests come in, it helps tremendously at the end of the day to have a little check mark, proof that work is done, even if it is purely mental.
Anecdotally it also helps me pick projects up after years.
shameless plugs:
https://prehistoric.tech/
https://aperocky.com/cellular-automata/
-
Ask HN: What happened to vanilla HTML/CSS/JS development?
Self promoting plug:
It still works fairly well on the relatively small scale if you just want to write a frontend app (i.e. simulations):
https://aperocky.com/cellular-automata
https://prehistoric.tech
- A browser based simulation written in typescript.
- Show HN: Prehistoric, Repl Controlled Simulation
-
Show HN: Create your own cellular automata
Now that I think of it, I've created something that has a minimum level of correlation...
http://prehistoric.tech/
Though this one is more about society simulation then evolution, it does come with a command line for control.
- Prehistoric Simulation: A simulation of ancient society in browser, powered by pixi.js and xterm.js
What are some alternatives?
zynthian-sys - System configuration scripts & files for Zynthian.
hyperscript - Create HyperText with JavaScript.
systemjs - Dynamic ES module loader
uhtml - A micro HTML/SVG render
modern-todomvc-vanillajs - TodoMVC with Modern (ES6+), Vanilla JavaScript
notemplate - NoTemplate is not a template library.
yhtml - Tiny html tag function for rendering Web Component templates with event binding
el - Minimal JavaScript application framework / WebComponents base class
cellular-automata
go-neon
AlgoVis - A web page that visualizes a simple sorting algorithm.
htmx - </> htmx - high power tools for HTML