HNHacker News
TopNewBestAskShowJobs

nxn

238 karma · joined June 30, 2010

submissionscomments
nxn··on Windows 8 — Disappointing Usability for Both Novice and Power Users
It's been a few months since I tried a Windows 8 preview, but from the start screen type "task manager" in the application search context, click the app tile, and it may or may not be necessary to click "more details" for a more complete view of the running processes.

The idea was supposed to be that you wouldn't have to do this yourself as the OS would terminate metro app processes itself if you did not use them for some period of time.

EDIT: Apparently this is the long/manual way of doing it.

nxn··on Apple Can Finish What Microsoft’s Sinofsky Started
I see, I was primarily commenting on their situation in the PC world. Things get a bit blurry depending on whether you look at tablets and PCs as being in one market or two, and a bit more so when thinking about which category to place some of the hybrid Windows 8 devices into.

So to clarify, my opinion is that they're probably pretty safe as far as maintaining their position in the PC world even if Windows 8 bombs as a PC OS. Losing entrance into the tablet world for two extra years on the other hand is a lot worse since it would be very difficult to get those two years worth of tablet buyers to switch to their platform after having already bought into another during that time.

How the second part actually plays out in the real world is really hard to predict since a lot of it will be based on the hardware that runs the OS. For example, I personally think Windows 8 is a pretty poor Desktop OS, but I'd definitely consider it when buying a tablet. So my problem isn't so much the OS but their current flagship device; the Surface RT looks to have too many deal breakers for me and I don't think I have a need for the Pro version.

nxn··on Is the iPad Mini the Beginning of Apple's Decline?
Depending on the meaning of "need" you may be correct -- at least, I'm having a hard time imagining a task which can only be performed on a retina display. However, for most people I think the display will serve as the primary source of output from their digital device, and I think it makes a lot of sense to improve it as much as possible. Even if it's only for an improved user experience and not any strict requirement, I think it's beneficial. After all, if computers still had the user experience quality that they had in the 80s they probably wouldn't be so common place today.
nxn··on Apple Can Finish What Microsoft’s Sinofsky Started
If Windows 8 flops the most likely outcome will be people just staying on whatever version of Windows they have now. That's pretty much what happened when Vista flopped. And honestly, seeing as how Windows 7 only overtook XP in terms of popularity around September of this year (despite being a hit), there seems to be no real rush in the industry for OS upgrades to begin with.
nxn··on Apple Can Finish What Microsoft’s Sinofsky Started
Do you honestly think one of the largest players in this market (and arguably, the smartest) would release a tablet that's heavier, hotter, and with worse battery life than an Ultrabook?

How exactly do you figure that Microsoft is one of the largest players in the tablet market? PC market, yes, but they're a late new comer to the modern tablet world.

Now as far as asking whether they would release a tablet that runs hot and has poor battery life -- I don't know, would they release a tablet that suffers from 5+ second delays while typing: https://www.youtube.com/watch?v=VTtf_BgFS08 ?

nxn··on GNOME (et al): Rotting In Threes
Not only are Windows users moving to Linux, but Windows devs seem to be arriving as well, bringing their diseases with them – corporate ‘kill off the competition’ mentalities that don’t serve Linux, merely exploit it.

Delusional is the only way to describe this statement. It almost resembles the garbage Fox News has been giving for reasons why Romney lost the election. First of all, developers in a "corporate" (I emphasize "corporate" because this has nothing to do with windows development) environment generally aren't the ones with the "kill off the competition/brand" mentality. This mentality lives higher up in the corporate chain where business decisions are made. Developers themselves don't make these choices, they simply execute them because that's what the business has decided needs to be done. If the claim was instead that CEOs, VPs, etc, are switching to Linux and getting involved in the management of Gnome, the claim would still be wrong, but at least it could have made some sense.

nxn··on Why does TypeScript have be the answer to anything?
To preface, let's say that "application-scale" means something like the following: your server outputs a single html file that only contains references to js files and css (i.e., the minimum to get the app to work right), from then on all data operations are ajax calls to a server side API, while the entire state of the app, all UI/markup components included, is maintained via JS.

I've worked on a couple of these applications, they almost always end up having some fake-class system that provides mechanisms for encapsulation, code sharing, and namespacing. There's often almost a hundred of these fake classes defined with thousands of instances living in memory. I grant you that you can use things like the module pattern to accomplish those requirements -- in fact, if you couldn't, then I wouldn't be here talking about it because I'd be writing Java applets instead. But the lack of having static typing to catch simple errors and enabling basic refactoring tools (like renaming something without having to use a regular expression which took 2 hours to "perfect", or simply switching argument orders, etc) was the absolute worst. I've spent countless hours debugging problems that occurred because something like a string was accidentally passed when an array was expected, and only having the actual runtime error occur 50 function calls later because something like "cat"[0] was working fine up to that point. Static typing would have caught that before I even ran the app.

Anyway, these types of apps perhaps aren't as common as websites, but they exist and therefore there is a need for statically typed languages for the browser.

nxn··on Windows 8 Release Preview ready for download
They look a lot more intuitive/natural than iOS. I actually had to use Google when I first got my iPad to figure out how to do some pretty basic things. In fact, I didn't even think to look into it until I accidentally put my whole hand on the screen and unexpected things happened -- it made me question what else was there.
nxn··on Brief Video: Rewriting JavaScript into CoffeeScript
Is that code really valid CoffeeScript? Last I looked, and I admit that the last time was months ago, 'on' was a reserved keyword (an alias of 'true') and I had to do some quite ugly hacks to be able to have a method named 'on'. This may have been related to dynamically adding the method onto the prototype of some constructor rather than defining it in a class.

Besides that, I still get feelings of discomfort when thinking about rewriting JS to coffeescript when knowing that the compiler will just write it as JS again.

EDIT: Tried it. In this case it seems to works.

nxn··on Does the iPad Have One Button Too Many?
Is there a way to return to "normal mode" in the home screen after being in "edit mode" (moving, grouping, removing) that does not involve pressing the physical button? I seemed to have tried all "obvious" attempts of doing so with no success.
nxn··on Why I like lots of languages, and Go is pretty neat too
I don't think there's any general law for whether they do or don't.

On one hand, I can definitely look at C# right now and see how it is a vast improvement upon C# 1.0. I'll even go as far as to say I would probably refuse to write code in C# if it had not become what it is today.

On the other, I think you can only really change a language up to a certain degree before creating an inconsistent mess. If trends in the future dictate the need for a shift in paradigms, the extent to which existing languages can accommodate this shift is probably limited. I mean, you can often incorporate features that are based on the new approach to thinking about a problem, but once you start changing the core semantics of the language you're probably going to be better off with something completely new.

nxn··on Ask HN: If you had a month of free time, what would you learn?
It really depends on what you'd like to try doing; for example, if you'd like to try web development then being decent in javascript/css/html is important. If there's a field you want to check out, a library/framework aimed at that space might be worth familiarizing yourself with. Or, if you just want to learn something new without any purpose, then might as well try something as far from what you know already know as possible -- I guess in this case Haskell, OCaml, some Lisp, or even F# would be interesting areas.

EDIT: Or step outside the tech field into something unrelated, and see if there are any areas that might benefit from some tool you could create. Though I guess a month might be too little time for this.

nxn··on Windows 8 may drive me to Linux
Is it possible to disable the hot corners/replace their functionality with a keyboard shortcut?
nxn··on A Tour of the Dart Language
Since dart will have to compile down to javascript for any browser that isn't chrome* , there probably wont be much, if any, performance improvement that you can depend on. Your only way to be able to use the speed up would be to restrict your client base to chrome only users. With that said, regular old javascript is really a much more interesting language by itself than dart. Perhaps I'm opinionated, but I just don't see anything exciting about Dart.

* This is based on most browser vendors not being supportive of it.

nxn··on Linus Torvalds on C++
Torvalds' post to me looked to attack C++ programmers in general. I'm not ignoring that the initial comment was pretty useless, but even so there are better ways to handle those than the way he chose.
nxn··on Linus Torvalds on C++
Had he worked on any would that have been a valid excuse to be derogatory to others over something as childish as what programming language they use?

If you're going to ask me if I had worked on any OS kernels or distributed version control systems, the answer is no. But I would also never degrade people who might otherwise be willing to help contribute to my projects based on some idiotic notion of programming language superiority.

At this point I don't even expect anything better out of him because he did something great for the world. I expect better just because at this age he should be an adult.

nxn··on Linus Torvalds on C++
Haven't seen it. I've seen many other examples of Torvalds being an ass, but I don't bother to keep track really.

It does make me wonder though how he's able to get away with responses like that, when most other "founders" (not sure what the proper term here really is) would have the majority of their users/supporters just go elsewhere.

EDIT: ... Let alone have supporters who get defensive enough to start downvoting someone who stated the obvious (he did act like an ass), while asking a reasonable question too.

nxn··on Plain Old JavaScript
As far as almost every major JavaScript framework coming with it's own style/approach to inheritance -- I don't blame the frameworks, I blame JavaScript.

Inheritance in JS is at best awkward and unintuitive; if this wasn't the case you wouldn't have so many people trying to fix it. And let me just add that it's not this way because it isn't "classical", it's because it's also not really "prototypal" either. The awkward in-between mix of the two approaches means that no one can decide which, if any, direction is the "true one" to go in.

You have a bunch of people claiming theirs is the fastest and how JS is designed, but then others are claiming theirs is more elegant and fits better with JavaScript's semantics, then another focusing on how inheritance would have been had they probably not decided in the last minute that "oh no, this is too weird, it needs to be more like Java".

I just find it quite ridiculous because I can't think of another language that has these types of problems over something as fundamental and basic as inheritance in an OO language.

nxn··on Visual Studio '11' Announced
By removing all the borders/bars, and other useful grouping elements, they've made the application feel cluttered -- too many unrelated things share the same z-index. For example, the pinned panel titles, side panel buttons, inactive tabs, and toolbars are all on the same background. Considering how unrelated these things are in comparison to each other, I don't think they should share this same "zone".

I'm not saying a design like that can't be done, but the only way I can think of making it work would involve much better use of the grid system and much better spacing than what they have in these pictures. Considering how limited they are for space though, I think they were just better off with the 2010 look.

nxn··on Comparing JavaScript, CoffeeScript & ClojureScript
In this context this looks somewhat similar to Haskell's type classes, and maybe to a lesser, or greater(?), extent C#'s extension methods. The latter I guess lacks the concept of the "protocol" as extensions methods live at the namespace level in a way (they're wrapped in a static class, but this is somewhat meaningless). Then again, the protocol concept here seems to be mainly used for the same purpose of having a namespace for storing implementations and also importing them?
nxn··on Google is FUBAR
How sure are you that it is an option? I followed the link you gave, went to search settings (here: http://www.google.com/preferences?hl=en) and found no option to disable it. I went to the dashboard and attempted to find an option for it, but did not see it anywhere. At this point I am under the assumption that while this may have been an option, it's been removed -- and if this is the wrong assumption to make, then all I can say is that it should not be this difficult to find it.
nxn··on Okay SOPA is done but now ACTA comes to the US
What do you mean "now"? ACTA was signed by the US in September.
nxn··on ACTA will force border searches of laptops, smartphones for pirated content
I tend to think otherwise with the recent Megauploads situation; plenty of people lost their personal data with no warning and through no fault of their own.

The "no fault of their own" part is obviously being challenged by those who claim that the data should have been saved in multiple places. Though I think this just avoids the real issue of the bust having negatively affected users that had legitimate use cases for the service.

nxn··on Microsoft confirms UEFI fears, locks down ARM devices
Well, this piece of news certainly just killed my "Windows 8 App" project. Even though I really do like Microsoft's tech, I just cannot support this type of behavior in any way. Maybe with mono I'll at least be able to salvage the server side parts and target Android based devices instead.
nxn··on Why Aren't Computer Programming Languages Designed Better?
I've been recently somewhat surprised at how much syntax means even to experienced developers. Just look at the very positive responses CoffeeScript has received, especially when compared to the criticism Dart gathered with regards to its syntax (Yeah, those weren't the only complaints, but they did make up a large percentage).

Personally, the whole thing made me realize syntax is more or less meaningless to me. I was never really spending that much time making, or correcting, syntax related problems when writing JavaScript in the first place. Though when using CoffeeScript, I was spending a substantially larger amount of time trying to find ways of doing things that I knew were possible in regular JS, but generally avoided in CoffeeScript -- things like mixins, using closures for restricting access to internal members, having members named 'on', etc.

In the end I was spending too much time looking at the JavaScript output to see what was going on continue with CS. Its idioms make the popular subset of JS really great, at the cost of making things outside of it less 'natural' than they are in plain JS.

nxn··on An actually usable .NET virtual machine in javascript

    var outer = 2;
    var btn = new Button()
    {
        Text = "Click Me"
    };
    btn.Click += (obj, eventArgs) =>
    {
        var local = outer + outer;
    };
How is the above any different/better/worse than what javascript can do?
nxn··on Why 37signals Doesn't Hire Programmers Based on Brainteasers
I authentically hate these types of interviews.

1) I don't program on a whiteboard. It's 2012, I have tools, and they beat the whiteboard setup every time.

2) I will never implement something that I have not implemented before without at least first consulting with a search engine. You see, I am not a genius that will come up with the best algorithm for a calculation every time I am put up to the challenge. My amateur attempts will be no where near as good as what others have collectively accomplished over the years that the problem existed.

For example, in this particular case (I have never had to implement a function that generates Pascal's triangle before), I can guarantee you that anything I came up with at a whiteboard right now would be completely inferior to what the result would be if I was allowed to do a search first. So unless you're trying to see if I am capable of writing any old crappy code so long as the result is correct, your test isn't adequate.

3) Interviews still make me nervous, doesn't matter how many times I have them, I never feel comfortable going through the process. This often leads me to simply draw blanks when given a whiteboard assignment of this nature. You may think this means I am just incapable of solving your problem, or that I perform poorly under pressure, but I can tell you that this type of "put you on the spot" pressure is much different from the type one generally feels in a work environment.

nxn··on Poll: Did you transfer your domains from GoDaddy today?
Just fyi, you can generate a csv of your domains and authorization codes by doing:

Domain Management > Tools Tab > Exportable List > click Add New Export button > All your domains > and make sure to select "Authorization Code".

As for locking or unlocking, in Domain Management you should be able to just click the select all checkmark, and click the Lock button to set the lock level on all of them.

None of that should be an issue, even when transferring in, a bunch of registrars offer a bulk transfer option. The real pains start to set in if you have gTLDs which have special gotchas when transferring or changing contact information/ownership. I probably wouldn't even have been able to transfer my .it domains out of godaddy if not for the fact I have a dual citizenship which gave me some freedom with the regulations -- though it still took me hours of trial and error.

nxn··on Charlie Nutter's Response to "Why Not A Bytecode Vm"
It skipped my mind that Dart is also planned to be a server side language, in which case a bytecode might be useful to skip part of the compilation process on repeated runs. Either way, there has been no word on any of this from the Dart people or Google as far as I know, so I just find your confidence that they will take this approach a bit surprising never the less.
nxn··on Charlie Nutter's Response to "Why Not A Bytecode Vm"
Google refers to V8 as a VM* despite it taking Javascript straight to native instructions with not bytecode or intermediate step being involved anywhere. What makes you think they would mean something else when they speak of a Dart VM? It would serve them absolutely no purpose to load dart (or JS) programs as text, compile that into bytecode, only to then translate that to native instructions. The only advantage would be in the case of having the dart source pre-compiled into bytecode by the programmer -- but at that point you are exposing it for other languages, and it would mean the complete opposite of what this article is saying.

* They even do so on the homepage of the project: http://code.google.com/p/v8/

← PreviousPage 2 of 7Next →