HNHacker News
TopNewBestAskShowJobs

tresta

73 karma · joined April 7, 2011

submissionscomments
tresta··on Why does Sweden have so many billionaires?
Yes, there are a lot of immigrants in sweden. All of them that I have met (except for the ones from the E.U) have been productive members of society.

There's the turk system administrator, the iranian who's also going to be a system administrator (once he gets a visa and my employer can actually hire him), the chinese guys, the pakistanians and so on....

Ironically the people from the E.U. that I know have been the people that are actually abusing the system. Like the welshman who is being "burned out" (no, he's not), and the irish guy who keep bouncing between jobs, and there are more people like this.

tresta··on Swedes say no to Google Apps for government use
Swedish submarines are ok...

"Gotland managed to penetrate the defensive measures of Carrier Strike Group Seven undetected and snap several pictures of the USS Ronald Reagan during the December pre-deployment Joint Task Force Exercise 06-2 (JTFEX 06-2) in the Pacific Ocean (probably in the California Operating Areas), effectively "sinking" the aircraft carrier.[10] The exercise was conducted to evaluate the effectiveness of the US Fleet against modern diesel-electric submarines, which some have noted as severely lacking.[11][12]"

https://en.wikipedia.org/wiki/HSwMS_Gotland_(1995)

tresta··on Click on a few dots and this program will guess your age
I am 25. It guessed 34.

On the plus side, I got carded when I went out drinking this weekend.

tresta··on This Man Thinks He Never Has to Eat Again
I prefer the name Bachelor Chow myself, though I'd try Soylent as well. I wouldn't want to eat it for every meal but every once in a while I'm in such a hurry that it would be practical to do this for a period.
tresta··on Ubuntu 12.10 Quantal Quetzal released
If you have kept the beta up to date you're already on 12.10.
tresta··on Ubuntu 12.10 Quantal Quetzal released
I really don't understand why the upgrade seems to be so hit and miss between people. My current laptop has been on the same ubuntu install since (at least) 10.04. I've even upgraded to beta versions a couple of times and the only problem I've ever had was when I upgraded to the 12.10 beta and it ran out of disk space in the middle of the install. But that was recoverable.

Of course, this comment might be a trap. There's only one way to find out...

tresta··on Stock Android Isn't Perfect: Things I Can't Stand About Jelly Bean
It's not like that on my Nexus 7. I can choose only to use the GPS in the Location services settings, or I can choose to use "Google's location service", which sends information to google.
tresta··on GoDaddy's Personal Apology to Users
I'm looking to switch away from godaddy. Do you know a good registrar in europe that takes privacy issues seriously and isn't too expensive?
tresta··on GoDaddy's Personal Apology to Users
The one month free only applies to hosting. I only use godaddy for dns and recieved the letter without the line about getting credit.

(as a side note, I want to switch away from godaddy but I haven't found a good registrar in europe to transfer to yet, and I only use the domain for remote access to my personal net at the moment so it hasn't really been a high priority. Still, does anyone have any tips?)

tresta··on [dead]
I don't know how it works elsewhere but here in sweden they don't check if you're a donor until they have already taken the decision to take you off the respirator ("killing" you either way).

So it's not like the surgeon walks into the ICU, scalpel in hand, looking for anyone too slow to run away.

tresta··on A case for physically engraved L/R markings on headphones
While I don't agree that it would "ruin" the music I find it a bit disconcerting if I'm listening to something I am used to hear the "right way" reversed. But that's obviously only for music I already know.
tresta··on [dead]
Interesting. Most of these email addresses/host names seem to be swedish...

Also, some of them seem like they wouldn't have ps3s. Like 'uppsala.kloster@telia.com'. "Uppsala kloster" == "Uppsala monastery". Though I guess the monks have to pass the time somehow as well.

tresta··on How The First Google Glass Commercial Should Have Gone
Personally I think that the control will be a mix of things, but the obvious primary control system is using your eyes - there already exists technology for having a computer mouse tracking your eyes, with gestures (e.g. extra long stare) to click. It's mainly used for making it possible for paraplegics to control computers at the moment.

The technique uses either a camera or a low-intensity laser directed at the eyes to determine the direction of the users gaze, and then trigonometry to determine where at the screen the user is looking.

https://www.pcworld.com/article/47604/use_your_head_eye_cont...

tresta··on SpareOne Emergency Phone
That's true at least here in sweden. I'm guessing the rest of europe as well.
tresta··on ESR: Abusing Alan Turing
Apart from that, a side effect that is common among antidepressants is (increased) suicidal ideation. This makes it doubly important to monitor people who are starting out on antidepressants.
tresta··on XOR Linked List
Why wouldn't it?

A xor A = 0.

A xor 0 = A.

That should work like a regular circularly linked list or am I missing something?

edit

Doh, now I understand. If this was allowed it wouldn't be possible to have a one-node non-circular list.

tresta··on Ubuntu Releases 12.04 LTS Precise Pangolin
amd64 is the name for the architecture that both intel and amd use in their 64-bit desktop processors. It has that name because it was originally amd that released the architecture (and intel used itanium at the time).
tresta··on Stealing Computer Code Isn't Theft, Court Rules
The code became copyrighted the moment it was written, but I guess it would only be considered copyright infringement and not theft.
tresta··on Building gcc-4.7 on Ubuntu 12.04
> patched sources

it was for... I don't recall exactly, something non-standard gcc did with templates, possibly? Anyways, they sent me the sources pre-patched, I just compiled it.

> gentoo

that I didn't administer, I only used it. I was a real newbie at the time. I just figured that since you specified ubuntu...

> I understand that, from where you stand, this is trivially simple. Just don't assume everyone has your experience.

I see your point, though. I might be looking back at it with the rose-tinted glasses of experience. Also, when I first skimmed through it I only read up until the point where it said that it was complicated and then I got interrupted by the real world for a while, building suspense.

tresta··on Building gcc-4.7 on Ubuntu 12.04
I have manually installed a local gcc from patched sources on gentoo, and this seems like the standard procedure.

There might be a few more helper libraries needed now than in earlier versions, but this isn't really complicated...

And the need for setting a few environment variables is hardly very taxing.

tresta··on Building gcc-4.7 on Ubuntu 12.04
> I was surprised to find that the process of building gcc-4.7 from sources on Ubuntu is so complicated, after all, this is a Linux system …

It didn't look all that complicated to me. It seems like it is just the standard steps for installing gcc? Or am I missing something?

tresta··on Make Any Webpage Look Like It Was Made By A 13 Year-Old In 1996
no blink-tags either...
tresta··on Reinventing coding for the iPad : edit the parse tree
> Android (like other languages) is on the roadmap once the iPad scheme version is working smoothly.

Cool, I guess I'll just have to be patient then...

> Your point about the intermediate state between a blank file and working program is true, but for example in TouchScheme you could never have a simple parentheses mismatch error such as (display (+ 1 2) as it takes care of that part of the S Expression for you. This does not however sacrifice any flexibility in what you can write.

Yes, that's true. But the grand-grand-parent wasn't only talking about such simplistic error-checking. At least that was my impression. Say that you were to start writing a lambda expression, and then realize that you need to change something else:

  (lambda (x
With automagic paren-balancing you'd get

  (lambda (x))
which is still an invalid form. You could make the editor auto-insert a nil (or is it #f in scheme? I always get those mixed up), but that would be a dangerous route to take. Or you could mark it as an invalid form and make the user fix it before the editor even considers evaluating the program (or just that fragment).

That said, you have a very interesting program and the ideas I see here are very interesting as well. I hope that you plan to post more updates on this to hacker news!

tresta··on Reinventing coding for the iPad : edit the parse tree
I must say that this is a very interesting project. Any hope for an android version?

The problem with making a editor that enforces "correct" coding is how to make the transitional writing work. At least for me, I tend to write things that wouldn't work, jump to some other place and fix up some related issue, and then jump back to where I was to finish that fragment. If you only allow "correct" code that wouldn't work. Also, saving code that is in a half-finished state might be an issue.

Marking the offending s-expressions, though... that would be a neat feature.

tresta··on Windows 8 Consumer Preview: Multi-monitor desktop video review
Have they finally made it so that you can set per-screen wallpaper? I remember thinking that that was a really basic feature that was missing in win 7.
tresta··on An easy way to curb smart-phone thieves
They do it here in Sweden as well (or at least they did ten years ago). There's really no reason not to do this.
tresta··on Python 3 implementation in Haskell
Hmmm... won't install with ghc 7.0.4:

  $ cabal install berp
  Resolving dependencies...
  cabal: dependencies conflict: ghc-7.0.4 requires containers ==0.4.0.0 however
  containers-0.4.0.0 was excluded because berp-0.0.2 requires containers <0.4
tresta··on Parents coordinate trading of chicken pox-laced goods via Facebook
"jab things into your body" is not the only such vector. There is also "having things jabbed into your body" (a subtle but important distinction).

Your post implies that if someone is infected with the HIV virus it's their own fault. This assumption is toxic, and makes people more hesitant to apply resources towards trying to treat and cure people with this disease. It's like telling a person with lung cancer that "It's your own damn fault for smoking" when it is perfectly possible to develop lung cancer without ever having a smoke.

tresta··on Parents coordinate trading of chicken pox-laced goods via Facebook
re no need for a hypothetical aids vaccine (or the cervical cancer one) if you don't "sleep around" or take drugs:

I assume that you've never heard about rape? Or for that matter coming into contact with HIV positive blood in an accident, or any other infection vector?

tresta··on Show HN: gpgsend.com - encrypted emails from your browser.
This should really be ssl enabled.

Not only because of the risk of data being intercepted when sent to the server, but also to mitigate the risk of a MITM attack.

Page 1 of 2Next →