Better HN
topnewbestaskshowjobs
Log inSign up

r4pha

220 karma · joined Apr 1, 2012 (14y ago) · 87 submissions

https://rbaron.net/
Submissions

comment 8y ago · link · parent

Thank you. Getting the display to work was very motivating for next steps :)

comment 8y ago · link · parent

First time hearing about this. Looks awesome. Thanks for the tip!

comment 8y ago · link · parent

It's mostly http://getskeleton.com/ with minor tweaks (unminified on `custom.css`).

comment 8y ago · link · parent

Hi. I use Jekyll and a Makefile that pushes the generated html to S3. I also needed to set up a cloudfront distribution instead of using a bare web-enable S3 bucket so I could use aws’s https certificate automation. Let me know if you need more details.

comment 8y ago · link · parent

Hi, author here. I can honestly say that I’m definitely not an expert. I tried to systematically write down questions on a text file and solve them one after the other. Solving one usually added a few other ones. “What chip is this?”, “how to program this chip?”, “do I need a development board?”, “what’s SWD?”, “how to pull an output high?” Etc. Lots of these are specific to this chip, too, so a lot of it is just reading the documentations and drilling down on libraries.

It’s something I find refreshing to read and like to state when I can: none of this was easy for me. But it was definitely fun. Having no deadlines helps. Having no practical goal and just enjoying the process was also refreshingly nice.

6.

A Slack bot for controlling our office's air conditioners(rbaron.net ↗)

1 points · by r4pha · 9y ago · discuss

comment 9y ago · link · parent

I think it is page 314 of _a_ book.

comment 10y ago · link · parent

I had a similar experience with python 3's asyncio. I have worked with gevent, which has an arguably less "elegant" interface (with monkey patching, for instance), but with which it is so much easier to be productive. I was frustated for having dificulties understanding and using asyncio. The author is a better python programmer than I am, so I supposed there is really a problem there.

comment 10y ago · link · parent

Thanks for the insight. It's a relatively fragile negotiation, since we're just little guys who received an opportunity to do business with a big corp.

As with the API, we implemented some integration with Salesforce and it was relatively easy. SAP, on the other hand, seems to be a different kind of beast. There's a huge amount of moving parts, which seems a little enterprise-y and complex for a tiny startup to work with.

comment 10y ago · link · parent

It seems like Zapier is some sort of task automation service, which works with SAP Anywhere™ (which _seems_ to be yet another product from SAP). I'll look further into it. Thanks!

11.

Ask HN: Integrating early-days startup with giant CRMs – like SAP?

2 points · by r4pha · 10y ago · 4 comments

comment 10y ago · link · parent

Two years ago I took a trip to the Atacama desert. My luggage was lost in the flight and the hotel manager was nice enough to let me use their washing machine. I saw a few of the most beatiful natural landscapes I've ever seen down there, but nothing so far has compared to the feeling I had looking up to the sky while picking up my clothes from drying at night. I don't get emotional very easily, but my eyes filled up with water and I had multiple shivers at that moment. I woke up my girlfriend and we stood there like two kids for a long time looking at our galaxy. I'm so glad the company lost my luggage.

comment 11y ago · link · parent

It's always great to see these notebooks from Peter Norvig. There's also some really interesting implementations (in several languages) of probabilistic algorithms on the website [0] of the book he co-wrote on artificial intelligence. Great book and great material.

[0] http://aima.cs.berkeley.edu/code.html

comment 11y ago · link · parent

Nicely done! I wrote a small app to connect phone <-> computer and use it to control your mouse and keyboard. I've been having an extremely hard time getting users. It might be asking too much, but I would really love if you guys could share some numbers :)

Great work!

comment 11y ago · link · parent

I also started toying around with a stack-based language [0]. It's surprisingly fun!

[0] https://github.com/rbaron/stacky

comment 11y ago · link · parent

There's something really nice about these minimalistic C projects. You can quickly take a look at the source and immediatelly grasp what's happening. A simple and didactic introduction. Super cool.

comment 11y ago · link · parent

Cool! These are the same guys behind CreateJS. Amazing work as well.

comment 11y ago · link · parent

I suppose Bayes' theorem can help us estimate it:

P(filesize is multiple of 8192 | crashed) = P(crashed | filesize is multiple of 8192) * P(filesize is multiple of 8192)/P(crashed)

Where:

- The likelihood of crashing given the filesize is a multiple of 8192 is 1;

- The naïve prior of the filesize being a multiple of 8192 is 1/8192;

The task is now to estimate the probability P(crashed), which is the probability the program will crash for whatever reason.

comment 12y ago · link · parent

Huge egos and insults are things that have always bothered me in the OSS community. Just some days ago the Crockford vs. fat thread on github resurfaced and shocked a lot of people on HN [0]. It certainly has stopped from releasing stuff in the past. Lately, though, I've been having an awesome experience with a few of my really simple open source projects. I've been receiving a few emails with requests in the most polite way possible, some of them even thanking me for my small contribution. Recently I've even got a pull request from a guy who out of the blue designed an icon for my android app. These things are priceless to me, and certainly motivate me much more than the bad parts demotivate me.

[0] https://github.com/twbs/bootstrap/issues/3057#issuecomment-5...

comment 12y ago · link · parent

If you're interested in simulations in javascript, I wrote a small blog post and a toy project [0] about it. I would love some feedback!

[0]: http://rbaron.net/blog/2014/01/02/Simulating-dynamic-systems...

comment 12y ago · link · parent

I might be wrong, but I think adding color information would not be _that_ hard. Basically you could filter each sensor cell for one of the RGB colors and just interpolate the results for each color channel. See https://en.wikipedia.org/wiki/Demosaicing

comment 12y ago · link · parent

I suppose there is an optimal ratio. While I agree some people overuse it, I still find it unbelievably awesome the fact that we carry a device in our pocket capable of registering a moment so that we can remember it later or share with others.

comment 12y ago · link · parent

In 60% of the time, it worked every time.

- From http://www.imdb.com/title/tt0357413/quotes

comment 12y ago · link · parent

I agree, but I think the value of such initiatives is the awereness it brings to the table _and_ the implications of that to manufacturers, that is, the fact that an increasing number of people may care for privacy. Your point certainly adds to the discussion, but we have to start somewhere.

comment 12y ago · link · parent

Absolutely. Being good takes a lot of time and dedication. Had my main goal been making money, I'd surely have hired an artist. Good thing is for us, programmers, games can be relatively easily reused with new art on top of it.

comment 12y ago · link · parent

Thanks! Note taken. I'll try to add a few more colors to it as soon as I have some free time.

comment 12y ago · link · parent

I tried the "learn by doing" approach to pixel art with my only android game so far. I honestly thought it would turn our worse than it actually did, but it's still _far_ from what an artist would give me.

For reference, here is the pirate ship sprite I made: http://i.imgur.com/nsZpCVf.png

123