HNHacker News
TopNewBestAskShowJobs

kasbah

3,337 karma · joined May 8, 2011

Electronic engineer and software developer.

https://kaspar.systems

github.com/kasbah

hn@kaspar.systems ---

submissionscomments
kasbah··on Node v8.0.0 Released
>request = util.promisify('superagent')

I don't think that's required. Superagent already returns promises.

kasbah··on Better than Free (2008)
Yeah, I think Kevin Kelly got the facts wrong on that.

>In the 2010–11 fiscal year, the Foundation took in $539,410, almost entirely from grants and contributions

https://en.wikipedia.org/wiki/Apache_Software_Foundation#Fin...

kasbah··on PostmarketOS: Aiming for a 10 year life-cycle for smartphones
~I don't think Lineage OS 13 exists.~ (edit: it seems it does for some models). CyanogenMod 13 was Android 6 I believe and Lineage 14 nightlies are currently 7.1.2.
kasbah··on PostmarketOS: Aiming for a 10 year life-cycle for smartphones
I don't know if you count it as an old phone but I use it on a Samsung SIII (Wikipedia says that launched 2012) and it's snappy as heck.

The current images are nightlies so I have encountered a few bugs. Previously was running CyanogenMod 13 on a stable image and that was fine (but the CyanogenMod company folded so it wasn't going to get security updates). Looking forward to a stable release of Lineage.

kasbah··on PostmarketOS: Aiming for a 10 year life-cycle for smartphones
> Alright, so there is the LineageOS community, which provides weekly updates for an impressive number of smartphones. They provide a practical solution today, and I am very grateful for that. However, such Android based projects will always run behind Google and the phone industry, fixing only symptoms but never the root-cause.

I think it's very ambitious to not base this off of the work being done on Android but of course would love a proper GNU/Linux distro on my phone as well.

Lineage OS (formerly CyanogenMod) will run on a Samsung S II which is 5 years old. It might support some older devices that I am not aware of. I could see it still being supported 5 years down the line.

https://download.lineageos.org/

kasbah··on Open-source chip RISC-V to take on closed x86, ARM CPUs
You can actually run Windows on a Raspberry Pi. Having said that, they make for horrible machines to do actual work on even with desktop Linux.
kasbah··on An experienced Javascript developer’s account of learning React
I am confused why people think Redux is complicated. Maybe you were trying to use React-Redux? Redux itself seems incredibly simple to me, so simple that I sometimes wonder if I need a library for the functionality at all.

This "Redux in a nutshell" sums up the simplicity nicely I think: https://gist.github.com/MarcoWorms/30758235f05faec844b8c06ce...

kasbah··on Show HN: WrapAPI v2 – Build APIs, scrapers, bots on any website
Any evidence that it is in fact a fork of portia?

https://github.com/scrapinghub/portia

kasbah··on IndieHackers.com acquired by Stripe
Whom are you quoting? It's really confusing as I thought you must be quoting the article. Surely if you are commenting on a site called Hacker News you know there is more than one definition of "Hacker".
kasbah··on When You Should Use Lists in Haskell (Mostly Not)
mixedCase is likely using HTTPS everywhere which redirects this page to the https version.

https://www.eff.org/https-everywhere

kasbah··on Ask HN: What are some examples of good code?
Just had a brief look over this and have to say I am not a fan. The comments are largely redundant, e.g:

    // Get a reference to the canvas
    canvas = document.getElementById("canvas");

    // Set the canvas size
    canvas.width = 512;
    canvas.height = 512;
And then missing when they could be useful (or a more clear data structure should have been used, e.g. an object with colors as keys):

    var colorMap = [
        255,0  ,0  ,    // Initial symbol color
        0  ,0  ,0  ,    // Black
        255,255,255,    // White
        0  ,255,0  ,    // Green
        0  ,0  ,255,    // Blue
        255,255,0  ,
        0  ,255,255,
        255,0  ,255,
    ];
kasbah··on Moving from Wordpress to Hugo
Ah I see, has Discourse improved as a comment system or is it still quite hard to set up?

I was mainly recommending OpenShift because it's free but I don't know if the setup I have now is still available.

kasbah··on Moving from Wordpress to Hugo
I am confused, I thought for Ghost you have to set up comments yourself as well: https://www.ghostforbeginners.com/how-to-enable-comments-on-...

I have been running Ghost for free on OpenShift but haven't set up comments. I would recommend it but I don't think OpenShift are taking on new accounts for the v2 platform where Ghost is available -- they are transitioning to "next gen" and I haven't checked if they have Ghost on that.

kasbah··on XMonad 0.13 released
Jekor's videos on the XMonad source code really helped me get into Haskell: https://www.youtube.com/watch?v=63MpfyZUcrU&index=3&list=PLx...
kasbah··on Resources for electronic engineers and hobbyists
Yes, PCBshopper.com is really nice and I forgot about it!

There is a PR open for SnapEDA but I am a bit reluctant as I don't have enough experience with using it. If you jump in on that I might change my mind: https://github.com/monostable/awesome-electronics/pull/1

kasbah··on Resources for electronic engineers and hobbyists
If anyone hear could vouch for Qucs simulator and explain a bit why it's good I would love to add it. It was recommended before but without reasoning and I haven't had a chance to try it.

http://qucs.sourceforge.net/

kasbah··on Resources for electronic engineers and hobbyists
I _have_ checked out the web interface a bit and it seemed really nice. I think the main problem for me is the time investment required to input all the parts to give it a real go.

Will be in touch soon about the business side.

kasbah··on Resources for electronic engineers and hobbyists
Hi jwr, I have been considering adding a section with Partsbox.io and Partkeepr but have been hesitating because I don't have any personal experience with them yet. But given I got this review from a redditor I should probably add it: https://www.reddit.com/r/electronics/comments/5oc84d/a_curat...

On a side note I would love to pick your brain sometime about starting a business in this area as I am considering the avenues for turning my project sharing site https://kitnic.it into one.

kasbah··on Resources for electronic engineers and hobbyists
LTSpice is already on the list!

Have started reading over the TI book: http://web.mit.edu/6.101/www/reference/op_amps_everyone.pdf

Do you have a link or more info on working with Octave in this way?

kasbah··on Resources for electronic engineers and hobbyists
Yeah, sounds good, as you already discovered: pull-requests welcome.
kasbah··on Resources for electronic engineers and hobbyists
Yeah a books section would be nice. I must admit that "The Art of Electronics" is was so obvious that I didn't even think of it. That's the trouble with trying to get into the beginners mind set I suppose.

Do people have any other book recommendations we could fill the section with?

kasbah··on Show HN: Invite friends to SSH into your laptop using their GitHub handle
Just authorizing ssh login doesn't solve the NAT traversal.
kasbah··on Python to Circuits
Thanks for the link. That might be the heritage.

For KiCAD, initially I believe, the s-exp parser and writer were there just for communicating with an external auto router (Specctra session). But it's taking over more and more.

The footprints have been s-exp for a long time now. I quite like it and am experimenting with mixing in Racket for footprint editing: https://github.com/monostable/footwork

kasbah··on Show HN: Chrome Extension to Filter HN Stories by Keyword
I thought about making something like this to filter out Apple stories actually. I use Firefox, might try and load this as a web extension.
kasbah··on Guide on how to design keyboard PCBs
The standard footprint libraries have improved substantially. Additionally there are quite a large number of 3rd party libraries. I have started collecting them all at: https://github.com/monostable/kicad_footprints#kicad-footpri....

For anyone using KiCAD also check out Xess's list of third part tools: https://github.com/xesscorp/kicad-3rd-party-tools.

kasbah··on A Prettier JavaScript Formatter
The thing is, they made the "error correction scheme" work so well that they are no longer required. Give it a go sometime; you might like it.
kasbah··on A Prettier JavaScript Formatter
But the linked formatter doesn't seem to have an option for no semicolons so I wouldn't call it better in that regard.

EDIT: Looks like they may be open to it though. https://github.com/jlongster/prettier/issues/12

kasbah··on FOSDEM 2017 Schedule
Yes this is definitely true. FOSDEM provides a way for FOSS developers with very niche interests to split into their separate "devrooms" and have their own mini events.

I would recommend to stick to the keynotes and main tracks and glance over everything else and see what you fancy.

kasbah··on Lessons learned as a React contractor
I guess I just don't understand the "why" so I am not motivated to look into it properly and at first glance it's introducing loads of new concepts. Maybe as my apps get more complicated I'll outgrow it but just plain Redux seems fine for me at the moment.
kasbah··on Lessons learned as a React contractor
The only bit of Redux I actually use is `createStore`, `store.dispatch`, `store.getState` and `store.subscribe` but it seems stupidly simple to me. I sometimes start re-implementing a bit of it rather than pull a dependency in or if I am working in a language that doesn't have it as a library.

This "Redux in a nutshell" implementation might illustrate better what I mean: https://gist.github.com/MarcoWorms/30758235f05faec844b8c06ce...

React-Redux does seem to complicate things for no reason. I have just been using plain Redux with React because I didn't want to learn it.

← PreviousPage 8 of 13Next →