Blog‎ > ‎

HDF5, Web Frameworks, Bottle.py Cache-Control, CJDNS, Google+, Wrong Opinions, UX, UI

posted Dec 21, 2015, 8:35 PM by Sami Lehtinen   [ updated Dec 21, 2015, 8:37 PM ]
  • Quickly checked out HDF5, so far I don't see any use for it. But maybe in future. Python HDF5.
  • Studied Bootstrap, Foundation, React, Materialize, uikit
  • Microsoft now relies more on 3rd party CDN:s. I thought MS got their own data centers and networks. But it seems they're more and more outsourcing that.
  • As said earlier, CloudFlare has been also growing with absolutely staggering pace. Now they finally launched India data centers. I've been wondering for quite a while, why they don't have any. I would have expected some legalization related issues, like why they don't have Moscow data center and a few others in Russia. - Update now they have 72 pops (this is updated after pulling this post from backlog).
  • I'm still waiting for B2 beta access. I think it would be optimal storage service for my excess data & logs. Depending what kind of tools they provide, it could be also really easy to integrate into existing projects. - Yes, I've got that now, updated too. Yet I haven't had the time to play with it unfortunately.
  • Found a few interesting issues with Bottle and it's static file serving. Setting headers for static file server has to be done differently than with every other type, where returned data is automatically rendered into response. Example:
      r = static_file('filename', root='path')
      r.headers['Cache-Control'] = 'no-cache' # Or something similar, whatever value is preferred
      return r
    If you do it like it was in some bottle documentation:
      response.headers['Cache-Control'] = 'public, max-age=86400' # Max 24 hours caching
      return static_file(filename, root='path')
    This leads to situation where the Cache-Control value isn't actually included in the response.
    This could potentially be huge fail on a busy site or with CDN.
  • Checked out Contract for Difference (CFD) and Spread betting.
  • Reviewed once and again my personal goals and priorities, as well as what I really want to do in my life. That's always a very good question. But going through it systematically and making simple rules for daily life is quite relaxing. Just follow the plan, it has been done and don't worry. It's like investing. If you everyday think about it. It's going to bring only suffering, especially if you focus on negative side. Just follow the plan, sit back and relax. You're completely freed from all the daily, hourly or minutely suffering of doing 'bad deals'. Never take a look at your investments more often than monthly, even then just make a quick glance and maybe re-balance the portfolio only yearly.
  • Studied CJDNS. Yet another interesting solution. Yet it got interesting benefits and big drawbacks. It can potentially reach nodes with (Internet) routing problems. Yet routing data via multiple hops adds a lot of latency and similarly this solution doesn't try to provide anonymity so is that drawback worth of it? Most of networks I use, do not have that serious routing problems. As well if there would be such, I would immediately change provider. Yet this can work as valuable backup tool. Anyway, if network is that important, you should have anyway alternate back access to it, at least for administrative tasks.
  • If I will format what is CJDNS in short, I would say it's VPN with alternate routing. The statements where they say CJDNS is more reliable than the Internet, tells quite much about the ISPs and their routing the users are using. I would immediately stop using such a bad ISP.
  • I don't usually care about politics, but this is a good example what might happen if you have 'wrong opinions', whatever that means.
  • Google+ New UI, personal thoughts: New Google+ UI... Hmm... Collections are neat way to organize and group posts. Yet I find the new communities section quite hard to use. As well as when posting to communities, I almost always need to use the search option. This UI has been clearly designed for tablet use, and using desktop this is extremely sparse. Also this UI has hanged quite a few times when using FF on Ubuntu. Finding categories inside communities isn't straight forward. On desktop there would be plenty of space to show the list, yet it's still hidden under 'all posts' button. I think the focus on Collections has negatively affected Communities features. Also the post button on bottom right is quite confusing, because it's not the position where things used to be. Yet I guess this is derived from newer Androids, which also often utilize buttons at that location. From traditional UI point of view, that location is highly confusing. - Update, it seems that they're not now pushing the new UI to users, they're not offering it at all. Maybe they're reviewing their plans and try again when most of the complaints have been fixed. - Today also several post attempts on Google+ failed, reason unknown. - Also saving documents to Google Sites failed, it seems Google might have some back end issues.
  • I've talked so much about user experience and user interfaces and use cases at work that ahh. This is nothing new. Previous discussion lasting an hour was yesterday. Often it's also very hard to decide what's the good design after all. There are different kind of users. Sometimes visual and clear easy to use user interface is actually very slow user interface to use. When you could get the same job done with just a few button presses in right order. This is especially good question when designing stuff for professional use. There are users whom might be using the software 8 hours every working day for 15 years. Do they need clear slow to use mouse clickyti clack UI, or do they want just to get the job done by hitting a few seemingly random keys on keyboard. That's just darn great question.