Better HN
topnewbestaskshowjobs
Log inSign up

bjrnjs

29 karma · joined May 9, 2012 (14y ago) · 23 submissions

Submissions

comment 11y ago · link · parent

This looks really good, but the jQuery dependency makes it unfortunately less interesting. It should be possible to have the jQuery dependency optional, possibly only for legacy browser support.

comment 11y ago · link · parent

HBO is global (to some degree). I live in Sweden and (if I didn't have to go to work) I can enjoy the latest episode of Game of Thrones only hours after it's aired in the US.

Although we don't have HBO Go here -- we have a similar service called HBO Nordic. I'm almost certain that it's a HBO owned company, available only in nothern Europe though.

comment 11y ago · link · parent

I would've thought of it this way;

Is the user bringing a cart (/user/<USER_ID>/cart/<CART_ID>)?

Is he bringing his own cart (/user/<USER_ID>/cart)?

Is the store supplying a cart for the user (/cart)?

Applying real world objects and thinking, makes more sense in my mind. The third option instinctively is the most suitable way to go (IMO).

comment 12y ago · link · parent

I think it's equally strong when removing the racial dimension: http://mailp.in/ya7tN221

This is simply good advice, and race/class/gender should have nothing to do with it.

comment 12y ago · link · parent

Yes, I didn't say it was impossible to learn stuff on your own -- it's just not as easy as if you have scheduled time to do it (during school hours).

And if you are referring to me and my situation, I'm trying to learn as much as I can on my own. But it gets tougher the older one gets, and I have a hard time to find the time.

comment 12y ago · link · parent

This. Plus, even though it might feel like it doesn't give you enough - it will give you education in fields that you don't learn so easily at home.

I dropped out from a university program (non-US citizen, we don't have colleges as you guys do), because I felt it didn't give me enough compared to paid work. However, I regularly wish I stayed for my degree - not because I have a hard time finding employers, but because I actually feel like I'm missing some education. There are many courses which I would love to have read to the end, from mathematics to algorithm theory and finite automata.

comment 12y ago · link · parent

"To wipe out all humanity with one impact, you would need to hit the Earth with something in a slightly larger class - say, the Moon"

No, if an object as large as the moon hit the earth - the earth might even be destroyed (but probably not). To wipe out humanity a body of the size between 10-100 miles in diameter would probably suffice. Fortunately near-earth orbits with a body of that size is rare.

comment 12y ago · link · parent

You're only 25, no need to feel fucked - you have plenty of years ahead of you!

It sounds like you enjoy working with/around less technical people, and helping them out in the tech jungle. Have you thought about setting up some form of support shop that targets this audience?

9.

Show HN: todo-sh, a simple todo list implementation in bash(github.com ↗)

1 points · by bjrnjs · 12y ago · discuss

comment 13y ago · link · parent

I would like to see the total size of each framework in this list as well, it would be beneficial when comparing front end frameworks.

comment 13y ago · link · parent

I wouldn't mind some more information, either on the startpage or under `About`. Right now I have no idea what I'm downloading, what I can use it for or why I should use it.

comment 13y ago · link · parent

Well, that's not completely true. In Sweden we have private schools just as they do in the US.

comment 13y ago · link · parent

No, the Higgs boson has nothing to do with gravitational force - only mass. There's not yet an accepted theory on how the gravitational force exist, but researchers are looking for a spin-2-boson called a Graviton to explain it. More reading: https://en.wikipedia.org/wiki/Graviton

comment 13y ago · link · parent

Unfortunately his swedish isn't as good as it should be, so I wouldn't only blame Google Translation in this case... Some weird sentencing (in swedish) that probably makes Google scratch its tin head.

comment 13y ago · link · parent

It does run on native speed - that's because it's a simulator and not an emulator.

XCode compiles your source code to match your computer, not your phone, when you run the simulator. With Eclipse and ADT you build for an actual device, and then emulates the device running your app. That's why there's a speed difference.

However, when building for connected devices - both XCode and Eclipse+ADT compiles and runs at the same speed IMO.

The problem with the XCode approach is that some implementations can't be simulated (I remember trying to play a video from YouTube, embedded) - and needs an actual device to work. This hasn't happend with the Android emulator for me, because it actually behaves like a device.

comment 13y ago · link · parent

There is a native Android app from premii as well, it's really nice!

https://play.google.com/store/apps/details?id=com.premii.hn

comment 13y ago · link · parent

I hadn't seen DragDealer before - looks awesome! But the use cases are maybe not comparable between it and Swipr, even though DragDealer has more functionality. I'd quess that you could get it to do what Swipr does!

However, DragDealer doesn't support IE10 Mobile - as most libraries don't. Which is one big reason why we decided to roll out our own library.

comment 13y ago · link · parent

Thanks! That didn't even cross my mind, to use the emulator :-)

comment 13y ago · link · parent

It should work with the classic Android Browser, but unfortunately we haven't been able to test it fully yet (no such device)... Hopefully we'll have an older phone to test with on monday, and I will update the library or the list of supported browsers accordingly. :-)

comment 13y ago · link · parent

Well, Opera Mini doesn't even support touch events -- so that's a tough one. Opera Mobile on the other hands works fine, and it will be added to the list.

A wide range of the browsers available on Android are supported, but I don't see the need to list all of them.

21.

Show HN: Swipr, a responsive, mobile friendly, javascript and CSS3 slider(github.com ↗)

4 points · by bjrnjs · 13y ago · 9 comments

22.

Show HN: JavaScript XSLT parser for JSON data(github.com ↗)

2 points · by bjrnjs · 14y ago · 1 comment