Better HN
topnewbestaskshowjobs
Log inSign up

flexd

650 karma · joined Jun 13, 2010 (16y ago) · 320 submissions

Embedded Software Developer http://github.com/flexd
Submissions

comment 15y ago · link · parent

This is seriously scary, the buildings here shook and the blast was huge. I work like 4-500 meters away from the area (as the crow flies), still a bit shaken but luckily everyone at work are okay. Not so much those for those closer as you can see there are no windows left on that building.

https://lh6.googleusercontent.com/-BUq73ENhYFk/Til_cwxIJeI/A...

Live streaming from BBC/NRK http://www.bbc.co.uk/news/world-europe-14254705

comment 15y ago · link · parent

No I am saying that if they are doing their jobs properly any data accessible from the internet is data that would not pose (much) of a security threat if released. I agree that most likely a lot of them do poor jobs but you should not underestimate their rules, regulations and strictness when it comes to data security.

comment 15y ago · link · parent

I'm not saying this isn't bad enough. I'm just saying there are rules in place to prevent these kinds of things. Like physical network separation and machines with disabled interfaces (like network, usb, firewire). You would require physical access to steal data from those machines and it would be either guarded or locked away.

Data security is taken very seriously within the military & NATO but I can't speak for how other countries do things. Accidents happen, things are poorly secured.

I'm just speaking from my own experience, even if it is limited.

comment 15y ago · link · parent

Considering "NATO secret" machines are not allowed on networks connected to the internet they hopefully do not have anything to put people on the ground in danger.

There could however have been a breach in protocols and someone accidentally hooked something up but I doubt something that serious could have happened. It's not like you accidentally hook a fileserver up to the internet.

Confidential documents would (could) still be bad but there are strict rules about storing those as well.

comment 15y ago · link · parent

You posted it on HN :-P.

Slap some varnish in front of that thing :-)

comment 15y ago · link · parent

Yeah it's quite ridiculous. But I bet if they got it the way they wanted we would have separate countries on the internet as well eh? :/

comment 15y ago · link · parent

Tells me it can't play because of the region (Norway) and also the text in the player is nearly unreadable with some sort of color distortion.

comment 15y ago · link · parent

Why would you actually go with Rails compared to a smaller framework? If all they are serving is JSON wouldn't something like Sinatra be better? Less fancy stuff they probably don't use anyway?

comment 15y ago · link · parent

Currently I have the following services/processes running in the background:

  3G watchdog
  Bump
  Spotify 
  DRM Content
  Software update
  Android system
  Task manager
  Voice commands
  Digital Clock
  Social Hub
  Social Hub (again, different icon)
  Accuweather widget
  Google services
  Maps
  IMEITracker
  Wi-fi sharing
  Email
  Vortex Galaxy (live wallpaper)
  Samsung keypad
Currently using 217MB ram total.

I have never used/not configured the following things:

  Social Hub
  Voice commands
  Email (besides Gmail but that is not what is running)
I haven't used maps today but I have not rebooted the phone since I did a few days ago so it might be stuck from then.

As for the CPU usage I am not sure since it does not show cpu usage for services as far as I can tell.

As for applications I can think of that would require background services or cpu usage in any other way:

  Bump
  Notifo (for awesome HN notifications among other things)
  Weather widget
  Gmail
  Dropbox
  Facebook
  Twitter
  Skype
It would probably be nice to find a way to either turn off Social hub (which comes with the phone) or replace the other applications with that. I didn't feel like setting it up so I just went with the normal Facebook/Twitter applications/widgets.

Actually considering removing them both because really they don't really add anything to my life besides making it easier for me to write random thoughts and things on my wall/timeline and there are too many people broadcasting their every move already.

I should probably mention I do use power savings mode all the time but that simply turns off wifi/gps/stuff whenever it's not needed which I think should be default anyway.

Eek! This reply turned out huge :|

comment 15y ago · link · parent

Being Google's flagship phone it probably gets a lot more updates directly. :-)

I was considering the Nexus S but ended on a SGS2 because the price here is pretty much the same and the SGS2 is much better.

comment 15y ago · link · parent

I used wifi all day at work the past weeks without much problems, but I can understand your frustration if it suddenly eats up a lot of power. After 7 hours idling today my phone is at 81% battery now, but I have only been on the phone for like 20 minutes earlier today so "Android OS" and "Voice calls" have about 25 minutes of cpu usage each, while maps has 15% today for some reason.

My phone runs stock samsung android since I just got it:

Android 2.3.3 GINGERBREAD.XWKE2 Linux Kernel 2.6.35.7

comment 15y ago · link · parent

It is still a ridiculously quick and awesome phone though!

I went from a Nokia 5800 XM to a SGS2 and the battery life isn't that bad.

I've had the phone last like 24h with decent usage (meaning it was one of the first days I had it).

Do you really expect to get more with a smart phone these days? I don't know how long the iphone 4 lasts but my friend that has one seems to be charging his every day.

Hardware-wise it's a great phone and in the future the updates will come :-)

I personally have no problems recommending this phone to anyone because regardless of it's issues it's still a very good phone.

comment 15y ago · link · parent

That looks like a good way of doing it as well but I'm not all that positive to having my phone in bed with me.

I occasionally move around quite a bit during sleep and I'm sure others do as well, I don't think my phone would survive that long if we had to share a bed.

comment 15y ago · link · parent

Err, now I feel (more) stupid. Anyway my point being those passwords are not exactly the strongest.

comment 15y ago · link · parent

What you mean is that the ridiculously easy passwords have been cracked? Not really a surprise considering they have been out for so long.

While I'm glad I do not have a account there they would not have been able to crack my password :-)

Edit:

I am a fool, salted hashes are probably not in anyones rainbow tables :)

comment 15y ago · link · parent

I think there are about two things on that list I haven't done, besides not having started CS/Comp. Engineering yet.

It might just be me but shouldn't just a whole bunch of debugging, technical know-how and actually having a strong interest in technology also be important? I know many CS students that besides gaming are not really interested in nerdy technical things and I know there are a lot of people starting CS (at least here in my country) that have never really used a computer for anything other than internet surfing and word processing.

It's not like you become a good programmer or computer person over night just by taking a three year long CS bachelor.

Somebody who is already committed to learning more things on their spare time and already has an interest in these things before starting school will always come out of the situation/bachelor better. Don't you think so?

I would also have included a bit of electrical engineering knowledge (like soldering, electrical circuits and things like that) because just because you are a CS student and work in software it shouldn't mean you should know nothing of the systems and technology you use.

comment 15y ago · link · parent

http://v3party.varnish-cache.org/ for more info about the actual party (rather than info about Varnish 3.0 the title link contains).

258.

Varnish Cache 3.0 coming the 16th of June, release parties all over the world!(kristianlyng.wordpress.com ↗)

3 points · by flexd · 15y ago · 1 comment

comment 15y ago · link · parent

I might be wrong (search turns up nothing), I have seen this before though and thought it came from here (since this is usually where I find my quality reading material).

No need to get all downvotey, I wish I had the authors abilities.

comment 15y ago · link · parent

This is amazing (still) but hasn't it been on here before? I remember reading through it ages ago.

comment 15y ago · link · parent

That is a quite nice feature yes.. and I like open source more! :-)

My mistake.

comment 15y ago · link · parent

It could be used for anything TCP based at least, not sure if it forwards UDP. :-)

comment 15y ago · link · parent

Nice work, but doesn't this do exactly the same thing as https://showoff.io/ does? And they linked it here a month or so ago I think. [1]

[1] http://news.ycombinator.com/item?id=2467107

comment 15y ago · link · parent

I've just gone with the common ones.

flexd@flexd.net [~]# host jacen.kly.no jacen.kly.no has IPv6 address 2001:16d8:eea2:30::dead

flexd@flexd.net [~]# host civ5.flexd.net civ5.flexd.net has address 178.255.146.39 civ5.flexd.net has IPv6 address 2001:16d8:eea2:30::beef

flexd@flexd.net [~]# host caedus.kly.no caedus.kly.no has IPv6 address 2001:16d8:eea2:30::daad

IPv4 users hit a IPv4 varnish which redirects to another varnish on the proper server (woo, double). IPv6 hits the proper server varnish directly. Seems to work great from everywhere!

comment 15y ago · link · parent

More people should be referred to this when introduced to IRC. Or really you should just be told this by anyone introducing you.

There is one thing wrong about the article though: irssi is clearly the best client... X-Chat? Are you mad!? :p

comment 15y ago · link · parent

I mentioned this in the comments section of post about blocking bullies. It would be great if you could follow a project or a person without having to see every comment and commit made. I watch around 100 repositories now and some of them are very active which results in my feed only containing updates from them.

As someone in the comments of this article (on the site) mentions, it would be nice if GitHub had something like Facebook's stream approach where you can hide individual posts or users. Perhaps even hiding a certain category of updates either globally or specific to each project?

comment 15y ago · link · parent

If you are lucky enough to live in a place with proper internet access it's great for hosting small projects and stuff like that. I have a server in my parents garage, they have a 30/30 (soon to be 60/60 for no increase in price) fibre connection with unlimited bandwidth and the ISP does not mind people hosting stuff. It's pretty awesome for hosting whatever I'm playing with at the moment. Without having to pay anyone besides perhaps parts of my parents powerbill since it's a hungry beast of a server >_<

comment 15y ago · link · parent

For some reason I can't respond to your other post, but yeah that makes sense too. Let me know what you end up doing, would be nice to discuss it more :-) I'm on irc a few places (freenode and efnet mostly) if you want.

comment 15y ago · link · parent

I don't know how websockets works with varnish though, but you could run varnish on port 80, nginx on 81 and have the websockets hit :81 to get proxied through nginx I guess, you would still get good caching of normal content through varnish! :)

comment 15y ago · link · parent

Actually the reason I'm not caching more is due to a bug in Rack. https://github.com/rack/rack/pull/157 Rack seems to not handle session cookies correctly, they are always there even when there is no session set. Varnish does not cache things that sets cookies. (e.g pages where you are logged in, like a admin panel).

This makes things served through my sinatra application/unicorn have session cookies, even if it's something like a css file. I'm specifically stripping them out at this point but it shouldn't be needed. I don't know enough about Rack yet to fix the bug myself and way too busy with exams anyway.

1
7891011