Better HN
topnewbestaskshowjobs
Log inSign up

pixie_

1,447 karma · joined Oct 21, 2011 (15y ago) · 383 submissions

Submissions

comment 14y ago · link · parent

There is a very, very strong culture in america you probably don't realize how apart of it you are until you leave america. There are so many factors that bind us from our shared media, history, education, values, expectations, how we look at the rest of the world and how we view ourselves in relation to it. It's even more amusing when you travel around and see so many cultures trying to emulate different facets of american life, but never getting it right. Maybe if you've never left america you think there's 'no culture' because it's hard to notice when you're surrounded by it. Maybe you don't appreciate the fact you can travel 3,000 miles to the opposite coast and instantly relate to people living there. Try doing that anywhere else in the world. Oh and high immigation and non-native speakers is also very american.

comment 14y ago · link · parent

I agree. I've also spent a few a years living outside the US and while I had a great time it made me realize a lot about all the simple things about living in the US that we don't even realize we have and take for granted. The political stability, the infrastructure, the uniform culture that stretches coast to coast, and just the feeling of being surrounded by the immense wealth of it all. Just last week when I was at the grocery and walking down a gigantic freezer of just ice cream it really makes you think.

comment 14y ago · link · parent

this is the tried and true model.

comment 14y ago · link · parent

It's funny how he couldn't do any of these things before while using social media. This is BS. I knew even before clicking the link exactly what it would say. Incredibly cliche. Someone should write an article - Moderation. How does it work?

comment 14y ago · link · parent

I like it. The hard menu button is unintuitive. Pressing it is always a last ditch effort to find something.

comment 14y ago · link · parent

I guess the 'dont be evil' phase of google is long past huh.

comment 14y ago · link · parent

Wow, this could be a troll.. don't know.. clever.

comment 14y ago · link · parent

Definitely agree with this. I've re factored large C# apps, moving thousands of lines of code into different places and have had it up and running again very quickly with no bugs.

Contrast this to refactoring huge javascript or python programs because the compiler isn't going to check if what you refactored 'fits' into the place you put it. It's always very nerve racking for me when refactoring large pieces of javascript or python because even if it runs, often many bugs remain lurking that won't be found out until the unit tests are re-written.

comment 14y ago · link · parent

Does anyone else think this has little to do with 'bringing Steam to linux' and a lot to do with SteamBox, the rumored console Valve is working on.

comment 14y ago · link · parent

Obviously this is because coffee makes you super alert. People on coffee don't get in as many traffic accidents, and also defuse bombs better.

comment 14y ago · link · parent

second edit: there's a link on reddit to the c++ coding standard for the joint strike fighter and it says pointers should be written like int* x; for exactly the reasons above. pretty cool - http://www2.research.att.com/~bs/JSF-AV-rules.pdf see section 4.9.6

comment 14y ago · link · parent

I still suspect he stole the 18k bitcoins, the guy is slippery.

comment 14y ago · link · parent

The declaration and use syntax of pointers is not 'virtually identical.' int* a; could be used to set int* b = a; or int c = * a; or int* d = &a;

Also for arrays it's unfortunate the syntax is like it is, because int a[10];, is of course a pointer and would be a bit more intuitive in the form of int[] a = new int[10];

Also you say * before the variable 'looks like dereferencing is intentional.' but is it really? what's your source?

comment 14y ago · link · parent

Yea I am aware of this quirk and just avoid declaring multiple pointers like that because it's confusing just to look at, plus error prone.

comment 14y ago · link · parent

I have no problem with the name, just wanted to bring up the issue with other programmers. How is it pronounced anyways? starJS, pointerJS, astrickJS?

comment 14y ago · link · parent

Yes it is still a variable, a variable of type int* , not int. Which can be returned by a function that returns type int* or type casted int* . Variables of type int are assigned numbers, while variables of type int* are assigned memory addresses.

comment 14y ago · link · parent

Cool. Does anyone else write their code with the * after the type, instead of before the variable? Like int* x; as opposed to int * x; to me int* is the type of x, so keeping it together makes sense. Like a function returning an int pointer would be - int* myfunction(); or type casting something (int* ). Putting the * before the variable and not as part of the type just seems unintuitive. Anyone else agree/disagree?

edit: another point - putting * before the variable makes me think of a dereferencing operation, and that's part of why putting it before the variable name in declaration is unintuitive, and very confusing to people learning C.

comment 14y ago · link · parent

I still like ActionScript because I like javascript, but in many cases I want to declare my types so I can get type checks at compile time instead of being surprised or having to write unit tests to be sure of myself. Also refactoring large javascript or python projects is my nightmare because getting it to 'compile' means nothing, so many bugs could be lurking still.

comment 14y ago · link · parent

They should wrap up the whole working build environment in a VM, and distribute that, so people can start contributing immediately.

comment 14y ago · link · parent

Why do people assume everyone can make money off open source software by offering support service?

comment 14y ago · link · parent

That's cool. I've been split for a long time between close souring my stuff or making it open. My gut wants the things I make to be free because I love getting other people involved, but my brain wants to keep things closed so I can make $$$. But really we all are decent programmers, finding work and making money isn't a problem. If I had tons of cash I'd still spend my day programming and the rest with family and friends. So what's the difference? yay open source. Let the people who haven't figured 'it' out yet kill themselves to make more money and then wonder why they still aren't happy ;) /end rant

comment 14y ago · link · parent

is there an open source license that says says free to use for people etc.. but if you have a company larger than x then you must support the project with $$$ ?

comment 14y ago · link · parent

There's a commercial service that offers global coverage with AIS receivers attached to satellites. http://www.orbcomm.com/services-ais.htm

comment 14y ago · link · parent

In summary there's no force to drive down health care costs if prices are not made public. If I need an x-ray, I want to be able to shop around with quality and price information made public.

comment 14y ago · link · parent

It's not that bad. The slices are pretty big. I got the gist of it.

comment 14y ago · link · parent

I've made apps for Android and iPhone. The iPhone crashes less. I've found in a lot of cases that null pointer exceptions that usually would kill an Android app and handled silently by iPhone because in Objective-C passing a message (calling a function) on a null value is just ignored. I wonder how many other iPhone apps have avoided crashing because of this behavior.

comment 14y ago · link · parent

It's not consistent because sometimes the hard menu button shows something and sometimes it doesn't, no one knows. It's also not intuitive that feature xyz is accessed by the menu key. The user has to look for feature xyz, get frustrated, and press the hard menu button as the last resort in their annoying search for it.

comment 14y ago · link · parent

The difference is - when the menu is on the UI then you KNOW there are menu options available. The hard menu concept is broken because hitting the hard menu key is a crap shoot, it might do something, it might not, who knows. The problem is also developers like you think normal users think like them, they don't. Google has obviously figured this out, though pretty late in the game.

comment 14y ago · link · parent

Good riddance. I hate when I look around how to do something and it was hidden in the menu button the entire time. It was completely unintuitive when there were menu options to use, and when there were not. That's why I designed the android version of my app, like the iPhone version, and put all possible options in the on-screen design itself. It's funny too because other android devs told me 'nooo use the hard buttons' screw that, even the back hard button is unintuitive at times, better to put it all on the touch screen.
1
910111213