Hacker Newsnew | past | comments | ask | show | jobs | submit | more leoncvlt's commentslogin

Can you create a multi-page website from a single file in pandoc or markdown?


Sounds like a feature for features sake. Your response also sounds like “but can you do this?!?!” Can’t say I’m remotely impressed. Anyone who needs this weird feature could just add a string delimiter to their markdown file, and use a Unix until to partioning. Still not sure why multi pages should be in the same file, sounds like a horrible “feature”. Each webpage has a distinct url with the last bit being the filename…

Also sounds like you have a conflict of interest to inflate the merits of this project


No, I'm just sharing a weekend project. If your first reaction is "anyone who needs this weird feature could just add a string delimiter to their markdown file, and use a Unix until to partioning" then it's clearly not something for you.


I usually put https://pypi.org/project/taskipy/ in my poetry dev dependencies to achieve this - then I can just run `poetry run task start`


Looks good! I like the atmospheric halo around the planet when you zoom out being dependant on the light direction and the angle you're looking at the planet from.

I've tried to get a grasp of how it's working on the 3D side by having a look at the github sourcecode, but seems like it's all managed by the "sceneview" module from the ArcGIS software as opposed to a custom implementation, is it?


Thanks! That's right. We did look into more open alternatives, but went with ArcGIS and spent our time on the image processing instead. Could be cool to build an alternative site eg. with Leaflet.


This looks great, congrats! For those already using Trading212 in EU / UK, I've built a few tools that try and accomplish a similar thing using their pie features:

• etf4u (https://github.com/leoncvlt/etf4u) scrapes equities mutual funds and mix and match your custom indexes

• trading212-pie-sync (https://github.com/leoncvlt/trading212-pie-sync) takes the information from the tool above (or ay external source, really) and automatically updates the pie's allocation (which would take a long time if done manually)


Annoyingly, they didn't include "I am not a cat" into the transcription - he actually said that live at the beginning of his statement, got a chuckle out of me.


No love for iron skillets? I've had some pretty good results cooking pizzas in a home settings with it. It sounds weird but it gets decently close the the quality of a stone oven, something to do with the heat conductivity of cast iron: https://www.youtube.com/watch?v=HXAW2GseICs

You cook it on the hob for a few minutes to cook the bottom, constantly shuffling the skillet round to get that random charring, then a few more minutes in a pre-heated oven as close to the broiler as possible.

Great for deep dish pizza as well, if you're into that.


My introduction to Haxe was Haxeflixel (https://haxeflixel.com/), an Haxe game development library inspired by flixel (http://flixel.org/), an older AS3-based library which was pretty known in the late 00's in the indie games community.

As the top comment mentioned, I was particularly impressed by the ease of cross-platform development in an age where bigger tools like Unity were still picking up steam. Coming from Game Maker, Haxeflixel felt like the natural step forward. I enjoyed it so much I wrote a book about it: https://discover-haxeflixel.com/

The people behind it launched a fairly successful fundraiser a few years ago so I'm happy the main developer and contributors got something back for their open-source efforts. As far as I know the library is stable - I just about updated the book a few months ago to re-rewrite references to the Flash (RIP) and move people towards the html5 exporter instead.

I still think that in an age of 10GBs+ AAA game development framewords, Haxe and Haxefixel still have a place for your typical 2D / Pixel Art-ish arcade game, although more ambitious and successful games have definitely been made, like Defender's Quest (http://www.defendersquest.com/) from Lars Doucet's, a huge fan of the framework.


I just had a look at the free chapter of your book, the page layout looks very appealing and clean. Would you mind sharing the stack you used to typeset those pages? Is pandoc involved?


Ha, it was a very Frankenstein-y stack. I wrote everything in markdown, then rendered to html with multimarkdown (https://fletcherpenney.net/multimarkdown/), and then converted to pdf with wkhtmltopdf (https://wkhtmltopdf.org/) and to epub/mobi with Calibre's ebook-convert (https://calibre-ebook.com/)


All right, let's say you know absolutely nothing about the world of microcontrollers but you think this looks cool and cheap. What webpages or resources would you recommend to get started and learn more? Do you first to need to get into electronics and circuits? But before that, get a foundation on how electricity works? And even before that, get a good grasp on how to create the universe?


This is something I wrote for a small electron application that needed some simple database functionality: https://www.npmjs.com/package/minim-json-db

Like the OP, stores data locally in .json files, and uses a simple MongoDB-inspired API


Thanks! I'll add to related projects


How do I play sounds with this? I see no jack for speakers or headphones. I assume one could have sound over HDMI but monitors with built-in speakers are not very common.


You can use a USB audio dongle. Just to take one example, the Apple USB-C audio dongle is only $8 and has extremely good measured performance: https://www.audiosciencereview.com/forum/index.php?threads/r...


A super-cheap USB soundcard is another option albeit an ugly one. But I do agree it's a shame they couldn't squeeze an audio output into the design somewhere.


I noticed that. Audio has to come from the HDMI connection or from Bluetooth, either of which will produce better sound than the standard Pi audio jack. I imagine they see this being used with a TV, much like the old classic 8-bit consoles.


Monitors with 3.5mm outputs however are not that rare.


RPi4 has BT.


There are Bluetooth "DACs" that have tube-based amplifiers so you can really go nuts with a DAC that costs like 5 times the cost of the RPi 400.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: