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

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


saving this for later. this is where the rubber meets the road. super interested in seeing the workstream these super-techncially-skilled devs use


> Started streaming 8 hours ago

WTF.


> Started streaming 9 hours ago

Still going. Don't think even stopped to eat, drink, or bio break. I'm also surprised his computer hasn't crashed or something! Really fun to watch him work.


Yeah, fascinating and a bit morbid. It's 10h now.

I really think this is getting unhealthy hyperfixation and I really hope this is unusual for marcan, as this comes at a cost you can never make up for again.

Btw. if you enjoy these extended coding streams, you may like the Scanlime livestreams: https://www.youtube.com/c/scanlimeinprogress/videos. She's also a fascinating person to observe in her natural environment. The videos are also low key trippy and artsy.

Main channel here: https://www.youtube.com/c/scanlime/videos


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...


Just a small follow up: in your repo home I tapped the link for humming guru, but the SSL certificate is for another domain and the browser complains.


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


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


That is really cool. I also liked "The Clock", a 24hr film montage with every scene showing a clock with the correct time. I didn't see much of it but it was mesmerising to watch.

https://en.wikipedia.org/wiki/The_Clock_(2010_film)


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


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


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


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" "$@"


I had a similar problem and reported here: https://github.com/Shinmera/portacle/issues/22

From the author's response, it sounds like building from source may work. I plan on trying later.


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


Yea, stuff like that makes me think that while doing all codecs will be hard, a large useful subset will be not that difficult to do.


I've just tried webm to mp4, the native is at least 10 times faster.

It seems just very low-res stuff will be interactively playable if the speed difference remains. Maybe it's enough for the very old stuff, however.


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 ;))


> I don't mind the shutdown when I go to bed (eco friendly even ;))

What exactly is eco friendly about shutdown versus suspend where it uses < 1W? Besides, the wear and tear of repeated shutdown/powerup cycles might mean it is a less "eco" friendly option in the end.

I don't think the way you run your laptop has appreciable environmental impact. The damage is in manufacturing and disposal. The best way to be eco friendly is to buy laptops that don't need to be replaced as often.


> Besides, the wear and tear of repeated shutdown/powerup cycles might mean it is a less "eco" friendly option in the end.

Assuming grandparent comment is shutting down the computer once or twice a day, it should be fine, I'm pretty sure the hard drive isn't going to fail from that.


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.


> I go to great lengths to be able to run Linux

What do you mean by this?


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)


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)


I don't know if it's the same webcam in the newest Macbook, but the the reverse engineered driver works perfectly for me on a 2013 model: https://github.com/patjak/bcwc_pcie/wiki

Just follow the instructions exactly. If it doesn't work first time, try `sudo modprobe -r bdc_pci` and then retry `sudo modprobe facetimehd` and see if it creates `/dev/video0` (which means it's working)

For suspend, is it waking up after you close the lid? I fixed this with:

    sudo -i
    echo XHC1 > /proc/acpi/wakeup
Then give it a test. If it works, pop it into a startup service somewhere.


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.


Awesome that the webcam is working!

For suspend: did typing the commands manually work at all? (it should basically work until your next reboot)

I was assuming the issue is that when you close the lid, it sleeps for a few seconds, then wakes again. Is that what happens, or is it something else?


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


Oh, right. That's a different issue. I've had my laptop do that a couple of times, closing the lid again and re-opening it has fixed it each time, so I never dug into it. I'll have a poke about and see if I can find anything.

Note: You want LID0 to be enabled, so that opening the lid wakes it up.


After a bit of poking around, this is perhaps a kernel bug that is fixed in 4.4.8

You could try upgrading your kernel if you're feeling adventurous. If that is the issue, it will probably be backported at some point though.


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


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.


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

Search: