noss

Joined 17 years ago

Karma
524
Submissions
222
Member since
Feb 23
I write my stuff att http://noss.github.com/
View on Hacker News

Recent submissions

Comment · 10 years ago
Also if you have a lot of data you use an ets table which is more or less an in-process but off-gc-heap key-value database.
Comment · 11 years ago
Live somewhere where you can safely bike to work. I bike all year around in Stockholm's climate, and that way I get at least 1h physical activity every workday.
Comment · 12 years ago
Glad to see that, however this is not very sophisticated. We used to build houses where the loading walls were thick brick walls, and from what I understand it was mostly given up because of the costly skilled labor requirements. I dream of technology enabling us to construct houses like those again, and of course more beautiful architecture.

I've seen some other brick laying robots, one that built prefab segments where fine distance and rotation of the bricks made a complicated pattern. And there is also those robots that lay brick roads.

Comment · 12 years ago
This is interesting experimentation. However everything I see in 3D-printed houses seem very much built for the sake of being 3D-printer built. Technology in search of a problem to solve. And this is probably not far off the truth at this stage. Many people are also dismissive that see the productions and don't have enough imagination to see things possible here that are disruptive compared to what you do today.

Later years I have begun to see and appreciate the handcraft gone into masonry. The results are very decorative and the material used is very modular. You buy standard size bricks (but sometimes cut them). I would love to see 3d-printing include bricks in the process. And then advance them so much that the machines can build arches. This is just my idea. I think architects that are less interested in the 3D-printing technology and more interested in amazing architecture need to be involved and use it as a component in construction.

Comment · 12 years ago
Android's target machine is google's dalvik vm, and not the jvm.
Comment · 12 years ago
But they also provide a level of security that nothing else can offer for that currency. They literally can print more money if they don't have enough to pay you back.
Comment · 12 years ago
It is true that big phones are popular here in Korea. It is not uncommon to have more than an hour in public transport to get to work, two hours happens quite frequently as well. Some people even have a telscope antenna for tv reception in their phones.

Using the telephone as an entertainment device on long commutes doesnt explain it all though. I think there is a small part status symbol in screen size, and the fact that korean phone makers have few other ideas in what to improve in their next top of the line model.

Comment · 13 years ago
With java 7 and java.util.Objects there is a static helper method. Nice to have in the favourites in Eclipse.

    import static java.util.Objects.equals;

    if(equals(myString, "foobar")) { ... }
Comment · 13 years ago
The local operator does not seem to be taking enough responsibility for the work they are supposed to do.

In Stockholm you can get your taxi fare paid for up to 400 SEK (~40 EUR) if you are running more than 20 minutes late because of schedule problems. (Details might have changed, was a long time ago since I used it.) You submit the bill and have your own money on the line until/if it is reimbursed.

Monitoring a bus by having a "tamper proof" GPS logger on the bus seem more reasonable than having points where punctionality is measured. The local operator themselves would obviously not be the ones verifying reimbursement requests against these GPS logs.

Comment · 13 years ago
Definitely, I often catch exceptions and wrap them just to add more information from the try-finally scope. It is so frequently useful to get a full story of what the app was attempting to do.
Comment · 13 years ago
My problems with shoulder and wrist pains all originate from stressful projects. When you sit entire days with your muscles tense, over and over again, that is when problems start to occur.

I can not connect my problems to bad ergonomics, because the way I was sitting in front of my computer all the way up until university years, those were far from ergonomic positions. But if you are relaxed and have fun, you automatically vary your posture and position.

Ergonomic chairs and keyboards are only one way to make you be able to endure your stressful work condition a bit longer when you sit there stressed trying to meet deadlines and whatever problems you fight with. The pains will show up, only later.

Myself, I often try to wake up from the work, feel my body and if I'm actually stressed. Take a deep breath, see if I can let my arms hang loose and relaxed. If I feel that I'm actually sweaty and have a high pulse, then I need to go for a walk. A good manager that I can bring this up with helps.

Also a bit of a fuck-off attitude also helps: My health is so much more valuable than the job and its compensation.

Comment · 14 years ago
I have done code reviews in a scrum team setting. Often there are tasks that only one team member will implement, it would simply be too many chefs to have two developers on it, and the others are needed to implement other things.

What we found very useful is to do a pre-review of the existing code to discuss how it works, but this after everyone have done their own one-hour self-study of the code (actually, self-study time tends to be until one guy interrupts saying he grok it and can describe it). Then we discuss the approach for implementation, but only one guy go ahead and implement it. The other developers have similar reviews on their areas.

Afterwards, when it has been implemented, we all come together and look at the implemented solution, again first with self study of the commits, then review sitting in front of the developers desk.

By only being involved as a reviewer, you get a very good understanding of the implementation. You understand not only how it works, but why it was implemented that way. It also leads to more "talk about the code" in the team. Everybody gets a common understanding of some area, you can talk about code improvements.

Comment · 14 years ago
It was quite interesting and humbling to see how my university class mates could absorb so much of the mandatory C programming course in only 2 months. Stuff that I had taught myself over the previous 5 years.

I think that the most valuable thing I have is that I'm enthusiastic about programming. These guys could do what I do, but they wouldn't want to make a career out of it.

Comment · 14 years ago
Comment · 14 years ago
Reminds me how I use HPROF for profiling the JVM. It is my next step after doing the simpler

(while sleep 1; do jstack PID; done) | grep -A 10 THREADNAMEPATTERN

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton