Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mnemonik
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
91.
▲
by
mnemonik
13y ago
I've had the same problem at times. It's kind of a mental masturbation; adding more abstract structures and more higher order functions. Need to strike a balance between Get Shit Done and leaving behind code that isn't a pain
92.
▲
How San Francisco creates its own housing crisis
(sfgate.com)
1 points
by
mnemonik
13y ago
|
0 comments
93.
▲
Hiding Implementation Details with ECMAScript 6 WeakMaps
(fitzgeraldnick.com)
1 points
by
mnemonik
13y ago
|
0 comments
94.
▲
by
mnemonik
13y ago
Sweet.js is hygienic but you can choose to be unhygienic if you want. It is the best of both worlds. http://sweetjs.org/#getting_dirty__breaking_hygiene
95.
▲
Firefox Developer Tools: Split console, pretty-print minified JS and more
(hacks.mozilla.org)
24 points
by
mnemonik
13y ago
|
0 comments
96.
▲
by
mnemonik
13y ago
Thanks! Congrats on the low level tools team! I look forward to having more APIs to really get deep into the platform :)
97.
▲
by
mnemonik
13y ago
Ah yes, I see! You can actually configure that via the options tab (the sprocket to the left of the console tab). Soon, we will show you the colors as they were authored by default. I can't seem to track down the bug, but I know the in
98.
▲
by
mnemonik
13y ago
> 1. Please either respect the font sizes I set in the Firefox Preferences, or add a setting to change the font size inside the devtools. Currently the inspector and style panel on the right, among others, seem to use a fixed size that i
99.
▲
by
mnemonik
13y ago
It looks like the main work is happening in https://bugzilla.mozilla.org/show_bug.cgi?id=864098 which is marked as blocking that bug. I'll ping Mike and see what the status is.
100.
▲
by
mnemonik
13y ago
Thanks for the detailed feedback/requests! > 1. Use F2 to edit selected DOM element. (currently I have to double click it) Follow https://bugzilla.mozilla.org/show_bug.cgi?id=892275 Now that dom elements are editabl
101.
▲
by
mnemonik
13y ago
You can do that with numeric values in the inspector right now, and also combine with Alt and Shift to increment/decrement by tenths or tens respectively. Would definitely be cool to have this for non-numerical properties as well, file
102.
▲
by
mnemonik
13y ago
In Aurora, the tools now use Code Mirror as the editor. Along with that change, we now use Code Mirror's searching, so Cmd+G and Cmd+Shift+G will cycle through next/previous search results. I filed a bug for a more discoverable UI
103.
▲
by
mnemonik
13y ago
Also, Narcissus: https://github.com/mozilla/narcissus
104.
▲
by
mnemonik
13y ago
Please, don't skip the last step and make sure that you test them, too! http://fitzgeraldnick.com/weblog/51/ :)
105.
▲
Mozilla unveils Firefox OS App Manager
(thenextweb.com)
2 points
by
mnemonik
13y ago
|
0 comments
106.
▲
by
mnemonik
13y ago
> perhaps make some edits at the emacs wiki... It's a wiki, go for it ;)
107.
▲
by
mnemonik
13y ago
File a bug with the project. That way the maintainer (or anyone, really) can fix it and make web-mode better for you.
108.
▲
by
mnemonik
13y ago
Cmd+Opt+K (or Ctrl+Shift+K) should take you to the console panel if you are in a different panel. For example, Cmd+Opt+S to open the debugger, and then Cmd+Opt+K should take you directly to the console, not close the tools. If you find this
109.
▲
by
mnemonik
13y ago
> They also have no debugging support. When emscripten is passed the debug flag, it will generate source maps, which will let you step through your code, although inspecting variables still isn't a solved problem.
110.
▲
by
mnemonik
13y ago
FWIW Land of Lisp feels incredible to me.
111.
▲
by
mnemonik
13y ago
SCUMM VM ported to JS: http://clb.demon.fi/html5scummvm/ Github: https://github.com/juj/emscripten-scummvm
112.
▲
by
mnemonik
13y ago
When you enter debug mode in SpiderMonkey most (all? I forget) jit'ing and optimizations won't happen; code becomes a lot slower. The new debugging api allows you to debug specific tabs, while the old one would force all of the br
113.
▲
by
mnemonik
13y ago
Ah you can't do the single-param-drop-parens when combined with destructuring? Good to know, thanks Benvie.
114.
▲
by
mnemonik
13y ago
This isn't quite as powerful as full blown pattern matching (which in turn isn't quite as powerful as full blown unification) because you can't branch logic based on whether a pattern matches or not.
115.
▲
by
mnemonik
13y ago
Default parameter values are also part of ES6.
116.
▲
by
mnemonik
13y ago
Combine the two: const tail = [, ...xs] => xs;
117.
▲
Destructuring Assignment in ECMAScript 6
(fitzgeraldnick.com)
123 points
by
mnemonik
13y ago
|
56 comments
118.
▲
by
mnemonik
13y ago
Can you wait till the next uplift? If not, hop on Nightly ;) https://bugzilla.mozilla.org/show_bug.cgi?id=878412
119.
▲
Node.js remote debugging client for Firefox
(github.com)
9 points
by
mnemonik
13y ago
|
0 comments
120.
▲
by
mnemonik
13y ago
Many of these frameworks want to support IE 8, which is the default browser of windows 7. IE 8 only supports Object.defineProperty with DOM objects[0], which can be infuriating. No one should use __defineGetter__ and __defineSetter__ becaus
More ›