Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ahoge
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
33 ms
·
301.
▲
by
ahoge
13y ago
RethinkDB still doesn't support Windows. [1] Most developers who use Windows will just go with something which doesn't require a virtual machine. For example, MongoDB, CouchDB, OrientDB, Cassandra, and ArrangoDB work fine everywhe
302.
▲
by
ahoge
13y ago
Compatibility view doesn't just change the UA string. It actually switches to a different (IE8-like?) engine.
303.
▲
by
ahoge
13y ago
Just add a note [1] right below the title field. There is very little stuff on that submit page. If there are 1-2 sentences, people will read them. [1] E.g.: "The title must be the bare title of the linked article. Do not editorializ
304.
▲
by
ahoge
13y ago
> heavy IDEs If your machine has 6+ GB of RAM, it doesn't really matter if some IDE uses like half a gig of that. I mean, that's why you bought all that RAM in the first place, isn't it? The point was to use it, right? S
305.
▲
by
ahoge
13y ago
> File headers? No. > Interfaces? Implicit interfaces. It's kinda handy. > Java-style OOP in my JS? I'm not sure what qualifies as "Java-style" OOP. Is the stuff from ES7 also "Java-style"? How a
306.
▲
by
ahoge
13y ago
> that's about a certain IDE not the language itself This stuff is only possible if you can analyze the code statically. With JS, which is running in a browser, you don't know anything. You don't know what other kinds of
307.
▲
by
ahoge
13y ago
> AMDs like Require.js or CommonJS That stuff is terrible to use. There is quite a bit of boiler plate involved and there is lots of overhead in general. Secondly, there are about 10 somewhat popular module formats and they aren't
308.
▲
by
ahoge
13y ago
> By "autocomplete" you mean [...] All the fields and methods are known. If I write "someObject.", then I'll get a calltip which lists all fields/methods from this particular class and I can auto complete
309.
▲
by
ahoge
13y ago
> [JS generated from CS] runs faster [than JS generated from Dart] There are cases where output from dart2js outperforms handwritten JS. Nowadays, the performance of the generated JS is generally pretty good. > it runs faster thus
310.
▲
by
ahoge
13y ago
> That sounds like an IDE/editor feature, not a language feature. Being toolable is a language feature. You can't do these things with JS or CS, because your tools don't have a clue what's going on. You can only do
311.
▲
by
ahoge
13y ago
Yes, but that's just some syntactic sugar. That stuff doesn't help with tooling/scaling. By the way, Dart also has optional named/positioned arguments, sane for-in loops, and string interpolation. It also offers proper l
312.
▲
by
ahoge
13y ago
> [TS and CS] both basically solve the same problems TS (or Dart) makes JS more toolable and thus more scalable. CS, on the other hand, just offers a keystroke reduction by dropping the "function" keyword, semicolons, and othe
313.
▲
by
ahoge
13y ago
> Does optional typing really work? From my experience with Dart, I'd say it can work really well. Basically, if you just put type annotations at the API boundaries, you already get most of the type related benefits you would get w
314.
▲
by
ahoge
13y ago
It's a quirky dialect of JavaScript, which has very little to offer. There is less typing, but that certainly wasn't JavaScript's biggest issue. With languages like TypeScript, or Dart, you also reduce the amount of typing wo
315.
▲
by
ahoge
13y ago
I don't really use bookmarks myself. Well, you could always just use Alt -> Bookmarks , right?
316.
▲
by
ahoge
13y ago
If you close your tabs via mmb or Ctrl+W, you can remove all those close buttons, too. browser.tabs.closeButtons;2
317.
▲
by
ahoge
13y ago
> Bad use of screen-space Slightly customized Firefox 24: 54 [1] Chrome 31: 61 IE10: 55 [2] Opera 12: 61 [1] http://i.imgur.com/eBiIZHc.png (Also, no close button on tabs and they shrink down to the size of pinned ta
318.
▲
by
ahoge
13y ago
It's from recommendation to recommendation.
319.
▲
by
ahoge
13y ago
> we won't see another full release until SVG 2 which is expected in 2014, over a decade later! HTML4: 1998 HTML5: 2014
320.
▲
by
ahoge
13y ago
On the web, Vista's share is smaller than XP's. StatCounter[1]: XP 20.58%, Vista 5.21% Among gamers, XP and Vista are about equally unpopular. Steam[2]: XP32 6.83%, XP64 0.35%, Vista32 5.18, Vista64 2.32% [1] http://gs.
321.
▲
by
ahoge
13y ago
I recommend to use a set of toy programs like those from the Benchmarks Game. Some nested loops with a little bit of string concatenation won't really tell you anything useful.
322.
▲
by
ahoge
13y ago
> Phones can probably be related to board games or cards of the years past. Except that phones are pretty much the opposite of that. Thanks to the magic of today's phones you won't have to deal with those boring people who hap
323.
▲
by
ahoge
13y ago
Opinions on the internet are always extremely distorted. It's not like a survey where you make a bunch of random people answer some questions. It's several cycles of selection bias and network effects. It's kinda bizarre, act
324.
▲
by
ahoge
13y ago
Had the same argument about a year ago. No, once you override it, it's gone. The value of the font-family property is a single list, not a list of lists. Example: http://i.imgur.com/8TLBd.png It doesn't work with
325.
▲
by
ahoge
13y ago
It's only monospaced if your machine has one or more of these fonts installed: Monaco,"Bitstream Vera Sans Mono","Lucida Console",Terminal Font stacks should always end with a generic font family keyword. I
326.
▲
by
ahoge
13y ago
JavaScript is a C-like language though. It looks like C. It borrowed its syntax and even many of its keywords. Also, in some of his earlier talks he said that it looks familiar to C or Java developers (because it's a C-like language) a
327.
▲
by
ahoge
13y ago
Well, the usual smear across the screen gesture can be "cracked" by looking at the screen at an angle. Secondly, there aren't many patterns you can conveniently enter with the thumb of your dominant hand.
328.
▲
by
ahoge
13y ago
Well, "tricked"... sounds more like a silly bug to me. Stuff like this is easy to miss during testing, because you test these things in isolation.
329.
▲
by
ahoge
13y ago
>why are we making brand new HTML elements for things[?] <div class="Foo">...</div> vs <x-foo>...</x-foo> Semantically, as far as machines are concerned, there is no differenc
330.
▲
by
ahoge
13y ago
> it will get discontinued like every other google project Yes, of course it will get discontinued at some point. Just like any other software project by any other company. This particular project is similar to Chrome Frame. It's a
More ›