Better HN
topnewbestaskshowjobs
Log inSign up

vespakoen

113 karma · joined Mar 29, 2012 (14y ago) · 42 submissions

Submissions

comment 5y ago · link · parent

marcan, who is working on AsahiLinux, is streaming at this time of writing and just got the framebuffer working, this is one of the most interesting live-code-streams I have seen.

https://www.youtube.com/watch?v=GxnWuXgj3JI

comment 6y ago · link · parent

Thanks for letting me know, looks like I didn't extend the domain and somebody else bought it ;)

comment 6y ago · link · parent

I had an idea some years ago to make this app but based around a community of helping others find their song by humming and finding your own songs, i have a 2 year old react-native project with a basic working version [1]

I don't have time to finish it but i would love it if somebody would make this

[1] https://github.com/vespakoen/ontheweb/tree/master/humminggur...

comment 7y ago · link · parent

I really like the clocks made by Maarten Baas, it's basically a 24 hour long video of a guy "updating the time" every minute.

He has made a couple different ones:

http://maartenbaas.com/real-time

comment 7y ago · link · parent

Perhaps this could be used for "curve fitting" [0]? (used in CAM software to optimise CNC toolpaths)

[0] https://en.wikipedia.org/wiki/Curve_fitting

comment 7y ago · link · parent

I re-implemented (most of) TPLang (mentioned above) in pure JS , and called it openjscam [1] And am working on open source software for CAM (as a hobby), just 2.5D gcode generators, using maker.js and openjscam [2]. And made opencamlib compile on Mac and Windows (and added basic Node.JS bindings) [3]

I am hoping more people will work on open source g-code generators so we have better alternatives to Fusion 360 / Solidworks for free

[1] http://github.com/makercam/openjscam [2] http://github.com/makercam [3] https://github.com/aewallin/opencamlib

comment 9y ago · link · parent

I guess d3 (https://github.com/d3/d3/blob/master/API.md) can handle most of these things.

Others you can check out:

- http://turfjs.org

- https://two.js.org

- http://paperjs.org (especially "PaperScript" which does some magic to allow adding / multiplying etc. vectors if that's what you're after)

Also worth noting is that for most "computations" there is a likely a package available on npm

comment 9y ago · link · parent

I tried to install this on OSX (10.12.1), it doesn't seem to handle tar.xz files well, when extracted using the (default) "Archive Utility", it produces a ".cpgz" file, which, when extracted, produces a ".tar.xz" file again.

I ended up extracting it using the "xz" utility

    brew install xz
    xz -d ./mac-portacle.tar.xz
Opening the Portacle.app file didn't work, starting it from the terminal gave me the following:

    dyld: Symbol not found: _iconv
      Referenced from: /usr/lib/libcups.2.dylib
      Expected in: /Users/koen/Downloads/portacle//usr/mac/lib//libiconv.2.dylib
     in /usr/lib/libcups.2.dylib
    /Users/koen/Downloads/portacle//emacs/mac/emacs.sh: line 51: 44458 Abort trap: 6               "$SCRIPT/bin/emacs" --name Portacle -T Portacle -q -l "$ROOT/config/emacs-init.el" "$@"

comment 10y ago · link · parent

You probably have already seen this, but I just found this ffmpeg library compiled with emscripten and thought it was pretty cool

http://bgrins.github.io/videoconverter.js/demo

comment 10y ago · link · parent

I shouldn't try to be joking on the internet, especially not on HN, anyways, my "eco" comment was meant as a joke, hence the wink.

comment 10y ago · link · parent

Cool, I'll wait it out as it isn't really an issue for me, thanks for helping out though, it's really appreciated!

comment 10y ago · link · parent

That I might have invested 100+ hours tweaking & patching stuff to get linux to run properly on apple hardware. a lot of this time was spent with getting nvidia drivers to work on my macbook pro 6,1 as it has a weird EFI version. (I don't mind because I like tinkering with stuff and learning about underlying causes of problems)

comment 10y ago · link · parent

Typing the commands manually didn't work either, I also tried disabling LID0 (sudo sh -c 'echo LID0 > /proc/acpi/wakeup')

No luck with that too, I verified the command working with

    cat /proc/acpi/wakeup
It shows

    XHC1	  S3	*disabled   pci:0000:00:14.0
When I close the lid it suspends, when I open it again I just get a black screen (fans still on, no way to get to another tty)

I also tried suspending via the menu / power button: same results

comment 10y ago · link · parent

Webcam works now, thanks for that!

I added that script to echo XHC1 to wakeup here: /usr/lib/pm-utils/sleep.d/100macfix without any luck (made it executable)

I also removed light-locker (that was the cause wakeup problems on my old macbook pro (6,1), but no luck with that either.

I will play with it another time and report back here if I make progress.

comment 10y ago · link · parent

Cool! will give those a try, lspci -v now gives me: http://hastebin.com/yosicucoku.xml

It seems to have loaded bdc_pci by default, will try your suggestions and report back.

comment 10y ago · link · parent

I go to great lengths to be able to run Linux, cannot live without a properly functioning tiling window manager. I don't mind that the webcam support is coming in a (couple of) year(s). As the laptop (re)boots in a couple of seconds, I don't mind the shutdown when I go to bed (eco friendly even ;))

comment 10y ago · link · parent

My (6 year old) macbook pro got bricked and I was daring enough to get the new Macbook Pro retina (MacBookPro11,4).

Before installing Arch (assuming I needed the latest kernel for anything to work) I tried installing Xubuntu 16.04, and it amazes me how well it works! After installing refind everything just seemed to work out of the box.

The only things that aren't working is the webcam and suspend / hibernate, but I don't really care about those and suspend even seems fixable.

For anyone interested, I got the intel graphics drivers installer to run by changing DISTRIB_CODENAME to "wily" in /etc/lsb-release and changing it back to "xenial" after installation (make a backup: sudo cp /etc/lsb-release.backup /etc/lsb-release)

comment 10y ago · link · parent

The array + join is slower

http://jsperf.com/leftpadtesting

Repeat + slice is too

http://jsperf.com/leftpad

comment 10y ago · link · parent

So this I guess

module.exports = function leftpad (str, len, ch) { str = String(str); if (ch === 0) { ch = '0'; } return Array(Math.max(0, len - str.length)).join(ch || ' ') + str; };

comment 10y ago · link · parent

Cool, I like the Math.max. Two liner then str = String(str);\n...

comment 10y ago · link · parent

Ahh you are right, all makes sense now, thanks!

comment 10y ago · link · parent

(bit offtopic) but what about:

module.exports = function leftpad (str, len, ch) { return Array(len).join(ch || ' ') + String(str); };

23.

Arduino based ((motor)cycle) navigation and location tracking(github.com ↗)

3 points · by vespakoen · 10y ago · discuss

comment 10y ago · link · parent

Yeah it's a GPS module, it reports an "angle" and I guess it calculates that by comparing the previous position to the current one. Not very accurate while standing still but works pretty well while on the move.

comment 10y ago · link · parent

hope this works: https://goo.gl/photos/jiZYZZYkxhFVSj7u8

comment 10y ago · link · parent

https://github.com/vespakoen/dwaler

comment 10y ago · link · parent

Also check my "dwaler" arduino based project https://www.koenschmeets.nl/projects/dwaler/

comment 11y ago · link · parent

Created a new account and that seemed to have solved my problem

comment 11y ago · link · parent

I have been waiting for this, will probably be able to remove some scripts that I made around mapbox-gl, however, after logging in and clicking through the intro, I have to confirm my password and get a "Oops, something went wrong. Please wait 60 seconds before logging in again." anyone else seeing this?
12