Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bilalq
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
42 ms
·
421.
▲
CodeStream wants to move developer chat straight to the source code
(techcrunch.com)
2 points
by
bilalq
9y ago
|
0 comments
422.
▲
by
bilalq
9y ago
In Seattle, this already happens in many (all?) grocery stores.
423.
▲
by
bilalq
9y ago
I love doing bouldering. It has the benefit of being both a physical and mental challenge. It's no coincidence that climbing routes are called "problems" and making it to the top is referred to as "solving the problem&qu
424.
▲
by
bilalq
9y ago
bash functions: # Helper function for running command in each subdirectory under current one. function each { if [ -z $1 ]; then : # If no command is given, then this is a no-op. else find . -maxdepth 1
425.
▲
Why green olives come in jars, but black ones come in cans
(marketplace.org)
119 points
by
bilalq
9y ago
|
72 comments
426.
▲
by
bilalq
10y ago
The article mentions that you can set custom mappings to escape and uses this as an example: imap jj <Esc> If you're interested in doing that, I'd strongly recommend you never do a plain `imap` and instead always do
427.
▲
by
bilalq
10y ago
Any library that accepts a standard node callback can be easily promisified. See: http://bluebirdjs.com/docs/api/promise.promisify.html http://bluebirdjs.com/docs/api/promise.promisifyall
428.
▲
by
bilalq
10y ago
I've been meaning to expand Alexa's abilities to be more tailored to my life, but in the meantime, these are the things I use: * Light control through Philips Hue: "Alexa, turn on lamps", "Alexa, dim hallway lig
429.
▲
by
bilalq
10y ago
How are you able to do fine-grained actions like volume control and pause through Alexa? The IFTTT channel for Harmony seems to only have start/stop activity options. Do you have a skill hitting a server running in the background that
430.
▲
by
bilalq
11y ago
Sure, a linter can handle that situation. But linters can handle the semicolon-free style just as well[1]. There is no real value-add from semicolons; they're just a matter of stylistic preference. [1]: https://github.com&#x
431.
▲
by
bilalq
11y ago
No, this has nothing to do with how "JS sorts numbers". JavaScript sorts arrays by using a default comparator that runs .toString and compares unicode code point values (with safe handling around null/undefined). There is n
432.
▲
by
bilalq
11y ago
I'm firmly on the no-semicolon camp, but I agree with the general sentiment of your comment. >Half of this article is a strawman argument under the heading: "You can’t minify JavaScript code without semicolons" I've n
433.
▲
by
bilalq
11y ago
It still surprises me that this discussion pops up so often. Even more surprising is that people assume as a matter of fact that forgetting to put a semi-colon is the problem. > When your code’s intention is ambiguous, your JavaScript en
434.
▲
by
bilalq
11y ago
Final does not mean immutable, but non-overridable through inheritance. The val keyword is what makes things immutable.
435.
▲
by
bilalq
11y ago
Thanks for sharing that! I'd never known that was the case. I do prefer vi bindings over emacs, but I can make do with these. This'll be just a little life-changing.
436.
▲
by
bilalq
11y ago
They do work with Fi: https://fi.google.com/about/
437.
▲
by
bilalq
12y ago
There was a post on a Reddit discussion of this that was quite interesting: http://www.reddit.com/r/ruby/comments/2x9axs/why_blocks_make... Apparently, this is due to overhead from creating a Proc object
438.
▲
by
bilalq
12y ago
It's impacting both of them, but mostly my left. I only ever hit the Shift key with that one, and usually use my right middle finger to hit backspace.
439.
▲
by
bilalq
12y ago
This is really amazing and inspiring to see. Every now and then, I get scared when thinking about what would happen if my eyes or my hands started to lose functionality. I sometimes feel pain in my pinky fingers when typing, forcing me to a
440.
▲
by
bilalq
12y ago
Those last two points really resonate with me and several other people I've spoken to about the topic. I live next door to a hotel in downtown, so getting a taxi is even quicker and more convenient for me than calling Uber or Lyft. How
441.
▲
Microsoft's Android Wear keyboard lets you draw letters on your smartwatch
(theverge.com)
6 points
by
bilalq
12y ago
|
1 comments
442.
▲
by
bilalq
12y ago
You can literally replace "seek privacy and security" with almost anything in that statement. I mean, out of all the people that prefer Coke over Pepsi, there are definitely some bad guys. While your statement is true, it doesn&#x
443.
▲
by
bilalq
12y ago
As a Seattle resident, I'm pretty excited to see this. There's a lot of interesting data here, but it seems that very little of it is available through an API[1]. Still, I imagine this will improve with time. There are a lot of ci
444.
▲
by
bilalq
12y ago
Interesting. Could this maybe be bypassed by looking at computed CSS values of an element?
445.
▲
by
bilalq
12y ago
This is actually really cool. I can think of several practical applications for this.
446.
▲
by
bilalq
12y ago
It's kind of nice that this just gives suggestions by default rather than running potentially breaking commands. But as someone else here mentioned, you really want to understand the reflog in git. Everyone screws up at some point or a
447.
▲
Understanding Promises in Angular
(bilalquadri.com)
1 points
by
bilalq
12y ago
|
0 comments
448.
▲
by
bilalq
12y ago
This is great! Now that the verbose syntax is out of the way, I can see myself using this as a gateway to web development for those that have never done any programming outside of java for school assignments.
449.
▲
by
bilalq
12y ago
All excellent points! However, the default palette here is not based on the web safe colors, but on the colors from xterm-256color. More importantly, the palette is entirely customizable on a per instance basis of this picker. You can use t
450.
▲
by
bilalq
12y ago
While most applications these days can display millions of colors, many developers use one that is restricted to just 256 colors on a day to day basis: their terminal. (Yes, technically iTerm and and a few others can display millions of col
More ›