Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
elclanrs
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
1.
▲
by
elclanrs
10y ago
Do you mean like npm's shrinkwrap [1]? [1] https://docs.npmjs.com/cli/shrinkwrap
2.
▲
by
elclanrs
11y ago
Unfortunately that won't work as expected, you'll need something ugly like: Array.apply(null, Array(26)).map((_, index) => String.fromCharCode(65 + index))
3.
▲
by
elclanrs
12y ago
I find it useful to have `unary` and `apply` around: [1,2,3].map(unary(User)) [[1,2],[3,4],[5,6]].map(apply(User))
4.
▲
by
elclanrs
12y ago
In dynamic languages I don't see the need to create a Monad interface. I'd create classes/objects and simply use instances of those objects. As long as they conform to the desired interface, and you can check their relationsh
5.
▲
by
elclanrs
12y ago
Function declarations inside blocks are illegal, technically, because of hoisting. See http://kangax.github.io/nfe/#function-declarations-in-blocks
6.
▲
by
elclanrs
12y ago
I was a Photoshop user for a long time, but haven't looked back since I moved to Linux full time a few years back. The challenge was to use libre software for everything and reduce my business' expenses. It's been 4 years sin
7.
▲
by
elclanrs
13y ago
Nice laptop, but unusable website. It takes 3+ seconds to at least see something, and the scrolling effect makes everything seem so slow. There is an obvious memory leak somewhere, the graphs in devtools are INSANE for such a simple site, t
8.
▲
by
elclanrs
13y ago
I find this paper [1] very interesting and elaborates on this issue -- "From experience it appears that there are three major semantic hurdles which trip up novice imperative programmers. In order they are: assignment and sequence, rec
9.
▲
by
elclanrs
13y ago
I agree. I think music and sports consciously impact your code as well. Skills with a mix of creativity and endurance are going to affect the way you think about problems, in general.
10.
▲
Building a jQuery-like library
(cedricruiz.me)
1 points
by
elclanrs
13y ago
|
0 comments
11.
▲
by
elclanrs
13y ago
Then Windows Update: "Your computer will restart in 10 minutes". Postpone 4 hours. Glad I'm on Ubuntu 99% of the time nowadays.
12.
▲
by
elclanrs
13y ago
Australis looks nice in Ubuntu. The new menu is much better with big icons and can be customized however you like it. It's great IMO. I took a couple screenshots from latest nightly release. http://i.imgur.com/19Iwy7r.p
13.
▲
by
elclanrs
13y ago
"You might not need jQuery" -- But you have to cope with ugly syntax, browser compatibility hacks, and disconnected pieces of code. By the time you re-factor all of this, make it user friendly and lower the cognitive load, you
14.
▲
by
elclanrs
13y ago
In LiveScript there's a := operator. From the docs -- "However, unlike CoffeeScript, you must use := to modify variables in upper scopes" -- I find LiveScript overall a better alternative to CoffeeScript. If you're into
15.
▲
by
elclanrs
13y ago
Looks like a nice library, but I'm not in love with the syntax; I find it a bit confusing TBH... But it packs some nice features, specially the validation and precendece awareness. A simple overloading helper works for my needs though,
16.
▲
by
elclanrs
13y ago
You can use viewport units in modern browsers. See here http://caniuse.com/viewport-units
17.
▲
by
elclanrs
13y ago
I'd use: bar = bar != null ? bar : 'default';
18.
▲
by
elclanrs
13y ago
Ubuntu 13.10 on both desktop and laptop. I just love Unity.
19.
▲
"do" monad syntax in JavaScript
(jsbin.com)
1 points
by
elclanrs
13y ago
|
0 comments
20.
▲
by
elclanrs
13y ago
I would definitely go with ASUS Zenbook. I have the 13.3 Zenbook (i5, 4gb, 1080p) and I can code very comfortably on it. The IPS screen is great and even better once calibrated. It's very sleek too, solid aluminum build. ASUS is a big
21.
▲
by
elclanrs
13y ago
Well, I downloaded IE11 to replace IE10 on my VM, and all the issues I had with my current WIP are still present. I'm using `calc()` heavily for a quite complex responsive layout, and paddings are missing on some places and CSS transit
22.
▲
by
elclanrs
13y ago
ASUS Zenbooks are great, very light, solid aluminum build, 1080p IPS matte panel, 6+ hours battery life. I'm quite happy with mine.
23.
▲
by
elclanrs
13y ago
Right, gratis = free, libre = free.
24.
▲
by
elclanrs
13y ago
You can avoid pulling the repo everytime if you create a hook. In Ubuntu real quick, with default LAMP stack: git init --bare --shared=group /srv/git/app.git mkdir /var/www/app chown -R www-data:w
25.
▲
by
elclanrs
13y ago
I don't think so. Heroku is a PaaS (Platform as a Service). You can connect with SSH but everything is mostly set-up for you already but I don't have Heroku so I'm not sure. A VPS (Virtual Private Server) is just a remote com
26.
▲
by
elclanrs
13y ago
If you want a good challenge, get a private VPS for $5/month and set everything up yourself: SSH, Apache, users, permissions, Git repo, etc...
27.
▲
by
elclanrs
13y ago
I see the potential of these kind of applications, it's a killer product for their target audience. But I can't see how this would fit in my WordPress workflow to be honest. I tried the demo and the interface looks great but I fee
28.
▲
by
elclanrs
13y ago
Maintenance is a monthly fee, forgot to mention that. Sometimes clients do call in unfortunate situations, but they pay for that privilege. All additional services are opt-in.
29.
▲
by
elclanrs
13y ago
As a freelancer I think overall, clients prefer fixed prices over hourly rates. I take this approach, if project takes less than 10h I bill per hour otherwise I offer different packages and add-ons. Say client wants a fairly big responsive
30.
▲
by
elclanrs
13y ago
Same thoughts here. Autocomplete doesn't work for me and the input lag is noticeable. I'm on 13.04. An option to turn it off would be nice, other than that it looks great.
More ›