News for hackers. Stuff that matters.

tkp

It is very nice to be able to compute this in our browsers without limits or registration. The results are not always perfect but already allows having good time testing remixes or doing karaoke with friends! Thanks for sharing your work.
Re:PDF processing and analysis with open-source tools on Monday October 10, 2022 @04:20AM (#33149056)
Depending on your needs, Scribus might help with it's scripting API[1], see ScribusGenerator[2] for example.

Scribus and inkscape can import pdfs but it would be preferable to use a clean "source" format, pdf is AFAIK meant for output, like lossy compressed images.

[1] https://impagina.org/scribus-scripter-api/ [2] https://berteh.github.io/ScribusGenerator/

Re:PDF processing and analysis with open-source tools on Monday October 10, 2022 @04:10AM (#33148995)
Inkscape can be used from the commandline to export pdfs : https://wiki.inkscape.org/wiki/Using_the_Command_Line
Re:Inkscape 1.2 released on Tuesday May 17, 2022 @07:58AM (#31409163)
Just downloaded 1.2 for testing, and the setup/splashscreen has a "Keyboard" select with "Adobe illustrator" option.
Re:Heaps: A free, open-source and cross-platform game engine on Saturday April 09, 2022 @10:14PM (#30973896)
The feeling is understandable and it could be worrying, but since some years Nicolas seems to be focusing on Shiro games and game dev tooling (heaps, hide). The compiler is developed by the Haxe Foundation and the ecosystem by the community which is not that big but has quite a few talents.
Re:Heaps: A free, open-source and cross-platform game engine on Saturday April 09, 2022 @09:56PM (#30973827)
Heaps has it's own API, but other Haxe frameworks[1][2] reimplement the flash API. Some tools[3][4] help to convert AS3 source code to Haxe, and the typing and compiler are helpful to identify issues. So depending on the size and dependencies, conversion can be easy once you get past the main language differences.

[1] https://www.openfl.org/ [2] https://github.com/haxenme/NME [3] https://github.com/HaxeFoundation/as3hx [4] https://github.com/innogames/ax3

Re:I switched from macOS to Linux after 15 years of Apple on Thursday August 26, 2021 @06:30PM (#28321852)
Krita, while originally focused on painting, is also worth a try for image editing. It has effect layers missing in Gimp, and an easy to grasp GUI.
Re:LDtk: A modern and open-source 2D level editor on Sunday June 20, 2021 @05:36PM (#27574150)
Indeed, Electron is very useful for any compile-to-js language, and benefit from js popularity, toolkits and frameworks for rich UI.

Writing in Haxe brings nice syntax, and some flexibility regarding target language/platform, and possible UI frameworks.

- ArmoryPaint[1] and most Haxe games don't rely on Electron for UI.

- HaxeUI[2] provide a nice list of components, rendered as composite or native on various backends[3] (html5, wxWidgets, experimental pdcurse..^^)

- MVCoconut[4] also allow to bind to various front-ends : Dom, React, React-native

There is always a degree of lock-in depending on the path you choose, but having a cross platform base for logic and glue is a nice feature.

[1] https://armorpaint.org/

[2] http://www.haxeui.org/

[3] https://github.com/haxeui/haxeui-core#backends

[4] https://github.com/MVCoconut/

Re:Blender Conference 2020 on Tuesday October 27, 2020 @08:27PM (#24913629)
By default, spacebar now play/pauses the timeline, and search moved to f3
> a bit like Haxe, except that it let you 'inject' snippets of your target language wherever you wanted.

If I understand you correctly, this feature is available in Haxe : https://haxe.org/manual/target-syntax.html

It targets js, php, C++, has a proper team and good tooling.. so you might be interested in giving it a try.

Re:There is no evil like reCAPTCHA on Monday August 05, 2019 @01:35PM (#20616210)
thanks for your overview !

Does anyone knows a recapthca2-like service/software, that would help solve such tasks (OCR, object recognition..) on a custom provided dataset ?

It could provide an alternative to recaptcha, and a "Mechanical Turk"/crowdsourcing for universities, institutions or companies to help solve some of their repetitive tasks.

Re:Inkscape launches versions 0.92.4 and 1.0 alpha on Friday January 18, 2019 @09:30PM (#18944939)
A recent mailing list post with some clues to get in touch and help : http://inkscape.13.x6.nabble.com/Inkscape-0-92-3-package-for...
Re:Make a Pseudoscope (2005) on Wednesday June 27, 2018 @04:22AM (#17406597)
The tubes are not that narrow, but Velux makes "sun tunnels" to bring natural light inside buildings :

https://www.velux.com/products/sun-tunnels

Re:The Garden of Earthly Delights by Jheronimus Bosch on Sunday June 17, 2018 @12:08AM (#17330828)
Had some success with this amateur setup to get a higher resolution image from multiple Nikon D90 photos :

- take multiple zoomed-in low DOF overlapping photos, with fixed settings, covering the artwork from a tripod, only rotating the camera

- stitch with Hugin[1] and export undistorted UHD photo

- split the it into tiles according to your viewer's format with ImageMagick

- view with a tile viewer. OpenSeaDragon[2] is smooth and well suited for UHD images, but any can be adapted/used, for example leaflet[3].

Would love to hear about other workflows !

The Bosch websites seems to use Micrio[4] for the UHD viewing and storytelling.

[1] http://hugin.sourceforge.net/

[2] https://openseadragon.github.io/

[3] https://leafletjs.com

[4] https://micr.io/

Re:Compressing and enhancing hand-written notes (2016) on Monday March 12, 2018 @11:22AM (#16568716)
interesting trick, thanks for sharing ! [edit] Quick test here : https://imgur.com/a/6xOz1
Re:Venus flytraps don't eat the insects that pollinate them on Wednesday February 07, 2018 @04:49PM (#16328334)
Photos in the article don't look like Venus Flytrap (Dionaea muscipula) mentioned in article or linked paper.
Re:Regexper – Regular expressions visualizer on Tuesday January 30, 2018 @11:24PM (#16271285)
Interesting, thanks for mentioning! Looks similar to VerbalExpressions (https://github.com/VerbalExpressions/JSVerbalExpressions/wik...)
Re:Firefox Quantum on Wednesday November 08, 2017 @08:39AM (#15652225)
On debian with gnome, installing "maximus" package should hide title bar when maximized, works well here !
Re:The web, on this day 10 years ago on Saturday August 05, 2017 @05:12PM (#14937927)
> BBC 10 years ago vs now side by side shows the difference [1].

Ads take a lot of space on current BBC capture.

Re:Show HN: An API for scraping recipe web pages on Tuesday July 18, 2017 @07:08AM (#14795622)
A nice use-case seen on the recipe website "Marmiton" is a widget to ajust ingredients quantity to the target number of eaters.

You can see it here[1] for example, "Ingrédients / Nombre de personnes", lower in the right column.

[1] http://www.marmiton.org/recettes/recette_courgettes-farcies-...

Re:Inkscape Version 0.92 is Released on Wednesday January 04, 2017 @07:17AM (#13317624)
Inkscape adds a bunch of metadata to it's svg's, but also has a "Simple SVG" save-as option, did you try it ?
great, thanks for your reply, trak looks expensive indeed.

I am considering using a microscope too, interesting to know that the difference is clearly visible. Do you use any coloring ?

Is there a way to follow your experiments ? What heating method are you using ? Have you developed a technique to evaluate your spermcount yourself ?

would be very interested to discuss more, send a mail if you like hn(a)tokiop(dot)com

Not to invalidate your excuse, but if you need, you can probably upgrade your MBA's SSD. Installed an OWC Aura SSD in mine, it's is very straightforward.
Local heating is sufficient, but there is at least 3 month latency.

Dr Roger Mieusset and volunteers tested a modified underwear with success and reversibility after 4 year use.

Photos of the modified underwear + usage (NSFW/medical) can be found here : http://www.contraceptionmasculine.fr/415771934

  So I've taken out my sperm production using the old heat methods. It works, I've checked.
Thanks for sharing your experiments, would love to know what heat method/protocol you used, and how you checked.

Thermal birth control looks like a good DIY and low-cost birth control method. DIY spermcount could help ease of adoption and autonomy.

Re:A developer’s introduction to 3D animation and Blender on Saturday October 17, 2015 @11:19PM (#10407093)
Rotation can be constraint on a world space axis with `r x`, `r y`, or `r z`.