HNHacker News
TopNewBestAskShowJobs

vendakka

72 karma · joined April 10, 2013

submissionscomments
vendakka··on Mind-controlled transgene expression by a wireless-powered designer cell implant
I'm just relaying my wife's explanation from a few days ago and so there could be some things lost in translation. However, here goes. They use EEG to detect brain patterns developed during activities such as meditation. This is used to trigger an external electromagnetic field generator. They have mice sitting on the field generator which have implants that can in turn be triggered inductively by the electromagnetic field. This switches on an NIR LED inside the mice. The light illuminates a chamber containing designer cells which are programmed to produce a protein (this is the bit I'm not sure about) when exposed to the NIR light. Figure 5 in the paper was very helpful for me.
vendakka··on Mind-controlled transgene expression by a wireless-powered designer cell implant
My wife took the time to explain this paper to me (since I rarely read papers related to biology) and it sounds extremely interesting. She was very excited, since tech like this could potentially be used to react to epileptic seizures for example. We can have new control systems added to our bodies which opens up a lot of possibilities.
vendakka··on Why Germans Work Fewer Hours but Produce More: A Study in Culture
It does feel a bit like they are over generalising. In that spirit, anecdotal evidence feels appropriately non-rigorous. I'm Indian, worked in Silicon Valley for about 6 years and then moved to a small town in Germany a year back. Given this, I've seen both cultures from the perspective of an outsider. In my limited experience life feels more relaxed here in Germany. However, it definitely feels like less gets done here compared to Silicon Valley. Keep in mind that of those 6 years, 3 were at Google and 2 at a startup so I might have a positively biased view of American productivity :)
vendakka··on Packing things in your brain in a way that keeps them from leaking out
This is a very nice idea. Thank you! I am currently using spaced repetition to improve my German vocabulary. Using this to remember APIs and technical documentation is a great idea!

While there are a number of comments questioning the utility of doing so and comparing it to having notes in a file, the fact that this is stored in my memory reduces latency when thinking or writing code. I no longer have to look things up which really improves my flow. I see the difference whenever I work with an API I already know and one I'm relatively new to.

I find that when I have more information in my local storage (memory), I can make more creative associations among the data and come up with better solutions to problems.

vendakka··on How to Be Polite
If I could upvote this twice I would. I still haven't gotten to the point where I can be polite all of the time. However, I find that when I try to be pleasant to people on principle, it takes away a lot of stress. I stop worrying about whether they are treating me well, or if I should start pushing back, because I've already made the decision to be friendly and polite. If they choose not to take advantage of this, that is unfortunate. However, I no longer have to react to their perceived bad behaviour in kind. It is remarkably freeing when I can do this.
vendakka··on Ask HN: Looking for feedback on my side project
I don't give feedback of this sort too often, so this might not necessarily be useful. Now, for the actual feedback.

This is a very useful product to have for the intended target audience.

From looking at the landing page, your target audience is developers who need to generate PDFs directly from a template.

This is only useful if they need PDFs in bulk, if not they can export to PDF.

While developers are a good target market, there is also the market of all people who need to generate PDF reports in bulk.

You could add a simple frontend allowing anyone to upload a template, with a spreadsheet containing the values to substitute. Think of the spreadsheet as the API parameters. Non-developers can easily use this interface and are very likely to find this service very useful. In addition, you can charge more since the interface will not require any dev skills to use.

The catch with this approach though, is that it might be harder to scale. When targeting enterprises a single sale gives you more revenue.

All the best!

vendakka··on Open-Source Go Libraries
Thanks for pointing to this. I remember reading about it a while back, but when I needed a stack trace wrapper I couldn't remember the name. I ended up adding a function to an error library I maintain (github.com/surullabs/fault).

When I find some time I'll pull out my code and start using either errgo or the SpaceMonkey version.

vendakka··on Why bad scientific code beats code following "best practices"
Exactly. This is the kind of technical debt I'm referring to when it comes to code written for science. Not something that can be used as a platform/library, but also not code having references to a single config file hard-coded in 5 places.
vendakka··on Why bad scientific code beats code following "best practices"
That is very true. I re-read my comment and realized it might come across as being critical of folks in academia not caring about technical debt, which was not the intention.

Technical debt in these scenarios is usually limited to a single paper cycle (or maybe 2). This is avoided with simple practices such as planning out your code with comments before writing it, not copy-pasting code into 3 or 4 places, etc. There isn't much overhead, but it saves a fair bit of time debugging issues caused by human error. It also ensures you write as little code as necessary for the problem at hand.

I completely agree that when it's just a single paper, there is not much need to ensure you have an elegant library which can be re-used.

vendakka··on Why bad scientific code beats code following "best practices"
A large part of this boils down to being able to estimate how much technical debt you can afford to carry. I haven't seen very much code written by researchers (scientists/phd students/postdocs). However, from the little I've seen, the tendency sometimes is to either not be aware of technical debt accumulating, or unintentionally overestimating how much can be afforded. This results in unorganized codebases.

The other extreme is software engineers who focus overly on the mechanics and always underestimate how much technical debt they can afford. This results in over architected systems which try to plan for all eventualities.

Two useful skills to have as a software engineer are to know when to stop writing code and when it's okay to write messy code. The latter being done with the knowledge of when or even if you'll have to clean it up later.

vendakka··on Haskell tutorial for C programmers
This makes for very good reading indeed. I started reading it and just now realised that I'd spent the last couple of hours on it. It's written well, approachable and very pragmatic. I spent a short while on Haskell a few years back and stopped after 3 or 4 chapters of Learn You A Haskell due to time constraints. I think I'm going to make this my evening reading and finally pick up the language.

Thanks for posting this.

EDIT: typos

vendakka··on Test-induced design damage
I certainly do agree about integration tests being important. I've also started moving towards using a live database for my tests. I set up a postgres database by copying over a master copy to a temporary directory and running a postgres daemon from there. It takes ~100ms and with fsync turned off it makes for snappy tests. If it starts getting to be slow I can always move it to a ramdisk.

Here's a library I wrote for golang which wraps it all up in a convenient package:

https://github.com/surullabs/ghostgres

vendakka··on I quit my job, and I'm excited about a more independent life
It took me about a minute before I was prompted to create an account and another minute before I was prompted to sign up for a subscription. I'd gotten through about 4 sentences in total (I clicked a fair bit since I'm still learning the language).

I'd happily pay $4 a month / $30 a year. I really like the Chrome extension as well. Here are some of the features I'd thought of adding to my (now cancelled) project:

Being able to see the meaning and usages of a word with a hover of some sort. I find it annoying to keep clicking on the right hand side to pull up the definition. Additionally, a number of definitions are just not available.

Something I find myself doing a lot is selecting and trying to right click. The 8 word limit on phrases means I'm stuck with typing stuff into Google Translate. For longer sentences context gets lost and so the translations are not accurate.

Being able to collect personal word lists. This is great for learning which is my primary intended use.

Keep in mind that I'm a beginner and the requirements of someone at an intermediate level might be very different.

Hope this helps and I'm looking forward to using it even more!

vendakka··on I quit my job, and I'm excited about a more independent life
This is exactly what I was looking for! I recently moved to Germany and I'm learning German and I'd love to do it through reading. I was about to sit down and patch together an epub reader to do this, but now I don't have to.

Here's some feedback if you'd like it :)

I just subscribed to the $9.99 per year version. However, I was mentally preparing myself to pay more, since it was very useful. I would have liked to try it out for longer though. The most useful part of it were the multi-word/phrase translations and I could only try out a very small number before it popped up the "subscribe" notification.

So to sum up, I signed up because it was just $10 a year, but would have paid more if I'd gotten to try it out for a short while longer.

All the best!

vendakka··on Startups Like Berlin Because Visa Rules Are Nothing Like the U.S.
I moved to Tübingen, Germany from the South Bay this week to move closer to my wife. I was able to establish a company and I'm currently working for my company. While I needed to work with a few German lawyers to navigate the legal processes, the whole thing was surprisingly painless.

I was on an H1B in the US and it would have taken me close to a decade to get permanent residence and start a company that I could work for. For some context, I'm an ex-Googler and I've been part of the founding team of a successful startup previously. Despite all the above it would have been difficult for me to found a startup in the US and work for it.

However, after a few months of applying to Germany I now have a registered GmbH, an approval for a Blue Card and I'm paying my bills through consulting. I should be able to start work on my startup in a short while once I have sufficient run-way to pay my own salary for a year or so.

I just signed a lease for office space yesterday and I'm looking forward to exploring the German startup scene.

vendakka··on No More Callbacks: 10,000 Actors, 10,000 Threads, 10,000 Spaceships
Looks very nice!

Does this play well with existing JVM threading support? More specifically, if there is a call to a synchronized method inside of a fiber and another JVM thread has entered the monitor, will this block the entire fiber scheduling thread?

The reason I ask is I'd like something that plays well with legacy code.

vendakka··on “People simply empty out”
Life is suffering? I find that to be overly pessimistic. Life is not simple and there will be sorrow. However, there will be joy as well. "Suffering" is a very strong word to use. There is happiness and there is sorrow. To expect only happiness is not pragmatic, but to expect only sorrow is unfortunate.

Life can be beautiful, even if it is not always so.

← PreviousPage 2 of 2