Profile

Cover photo
Toon Schoenmakers
67 followers|25,352 views
AboutPosts

Stream

 
Apparently I didn't share this blog post on G+ yet.
http://blog.schoentoon.com/blog/2014/03/10/tripping-cyril/
1
Add a comment...
 
And the updated EasterDroid with the Kitkat easter egg seems to be live. https://play.google.com/store/apps/details?id=com.schoentoon.easter.eggs
All the 'famous' Android Easter Eggs put together in 1 little app. This all...
2
Add a comment...

Toon Schoenmakers

Shared publicly  - 
 
Even though I agree with most of these points (and even have some additional ones). I still think it's often a good thing to have your own login provider anyway. With this I mean kind of like bitbucket. Allow sign up through google, github, etc. But also allow to create an actually account.
1
Add a comment...

Toon Schoenmakers

Shared publicly  - 
 
So another day, another software design problem. This problem is regarding https://github.com/schoentoon/mtop. In case you don't know what it is going to be. Basically (h)top, but modular. Modular as in you can write your own modules to display your data and modular as in you can write your own client for it. Of course I want to ship it with a set of standard modules to monitor things like cpu, ram, etc. Now this problem is mainly caused by things like the cpu module. A module can only monitor 1 thing and therefore return 1 value. But multi core cpus are very common these days. The quick and dirty way to solve this would be to copy the module so you would end up with cpu0.so cpu1.so cpu2.so, etc. But of course that's the dirty way, which I don't want. Now I already have a small form of config capabilities for modules, not fully implemented yet but there's room for it. So another option here would be to do something like "load_module = cpu.so
cpu=0" in a configuration file. Which is something I don't really want either. I basically need some way for the module to tell, load me again with these settings. But of course for this cpu module dynamically. This of course isn't limited to just that cpu module, it would also apply to a module to monitor free disk space (multiple mount points).
Now what I'm basically asking is, what would be a proper way to basically do this? Thanks.
1
Toon Schoenmakers's profile photoSebastiaan Meijer's profile photo
4 comments
 
Returning strings in C is sort of tricky because memory usage etc. You usually end up getting a pointer to a buffer en the length of that buffer. An approach like that would be very inefficient anyway. Also can't think right now because reasons. 
Add a comment...

Toon Schoenmakers

Shared publicly  - 
 
I really like the moving album art in the new Google Music UI. So I put Twoons with about 90% opacity on top of it. Gives a pretty nice effect in my opinion. +Vincent de Smet 
1
Vincent de Smet's profile photoAlessandro Pacini's profile photo
2 comments
 
Leuk, Toon.
Add a comment...

Toon Schoenmakers

Shared publicly  - 
 
I have a question regarding multicast. As I understand after doing a bit of research you send a packet and it arrives on all the devices that have 'joined' your 'group'. So if we have like 10 computers where 2,3,4,5 have joined the 'group' they will all receive the same packet sent by 1. Now my question is fairly simple. Can 2 for example also send a packet to this group? Or does 2 essentially have it's own group? If this last thing is the case, what would be the best tactic to accomplish this anyway?
1
Toon Schoenmakers's profile photo
 
With a bit of experimenting I found out that everyone in the 'group' can send packets, which in my usecase is certainly a good thing.
Add a comment...
Have him in circles
67 people

Toon Schoenmakers

Shared publicly  - 
 
I once again have a possible programming problem. Well not so much a real issue, just a possible issue of which I'm not sure if it is actually possible. As you may or may not know I'm currently in the process of rewriting my internal C++ framework to the public and I'm currently working on the simple http client. Now I sort of optimized the way this client handles gzip to use less memory than the version I'm using in my internal version. Basically when a http chunk is done (or just the new data directly from a bufferevent read callback if there is no chunking) I dump it directly into our z_stream and decompress it. I have a theory that without chunking but with gzip (sure it is rare) it may not be able to decompress it correctly because of this. I however would like to be sure this is or isn't the case before I start adding safety around it. I am aware that this explanation is kind of vague, but I hope the point is clear enough. For reference, this is the commit where I add this more efficient way of decompressing it. And while you're clicking on that link, check out the public version of this framework of course (still working on it though) https://github.com/schoentoon/tripping-cyril/commit/842a9dd74f8f2812b7a3572ea56c8328ec556e85
1
Add a comment...

Toon Schoenmakers

Shared publicly  - 
 
Looking back on the post I made about a month ago https://plus.google.com/106457703952021659240/posts/hFLaPae56Nf quite some things have changed in that website. It seems a lot more accurate. For example: "Toon is a fulltime hacker who seems to work best in the wee hours.". Besides that "It seems—from their activity streams—that Toon and +Bart Kuivenhoven  are probably friends or at least virtual friends.". I just love it when people make cool stuff like this with publicly available data.
1
Add a comment...

Toon Schoenmakers

Shared publicly  - 
 
So +Marlin Cremers linked me to this on irc, pretty cool I must say. http://osrc.dfm.io/schoentoon I sort of laughed at the "I hate to say it but Toon is becoming—as one of the top 71% most vulgar users on GitHub—a tad foul-mouthed (with a particular affinity for filthy words like 'whore')." part. Which is probably based on commits of me saying I'm somewhat of a performance whore.
3
Christiaan Rakowski's profile photoMarlin Cremers's profile photoBart Kuivenhoven's profile photo
3 comments
 
My timeslot seems to be off by a few hours.
http://osrc.dfm.io/csrakowski
Add a comment...

Toon Schoenmakers

Shared publicly  - 
 
I got this research card earlier today. I have to say, it sounds wonderful to me. But if it really thinks I'm researching this after googling 1 or 2 lyrics vs all programming related Google searches this research card feature is pretty useless to me. Fortunately it was fairly easy to tell it that I'm not researching this. Hopefully it'll give me useful research cards in the future, surprise me Google. 
1
Toon Schoenmakers's profile photoAlex Sørlie Glomsaas's profile photo
2 comments
 
Well sure I like the songs, but I'm not researching them.
Add a comment...
People
Have him in circles
67 people
Basic Information
Gender
Male
Story
Bragging rights
Living by the Linux philosophy, "Do it yourself."
Links
Other profiles
Contributor to