Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
adrianhel
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
61.
▲
by
adrianhel
8y ago
But why bother with jQuery? Vanilla is pretty decent. Prefer React/Vue for the big stuff. But you can't beat vanilla when you need perf and control.
62.
▲
by
adrianhel
8y ago
I prefer Vim with iTerm panes. Much easier to use.
63.
▲
by
adrianhel
8y ago
Oh, I had no problem reading it. The concept is simple. Take some similar existing products/services and create a cart of their attributes. Determine if you can find an easy win by adjusting some of the attributes to get ahead of the m
64.
▲
by
adrianhel
8y ago
The fact that this is even needed is why I like CSS-in-JS.
65.
▲
by
adrianhel
8y ago
All you need is a different angle. Read Blue Ocean Strategy.
66.
▲
by
adrianhel
8y ago
The Non-designers Design Book is pretty good.
67.
▲
by
adrianhel
8y ago
It's not that simple. I'm not an expert at gurangutan scaling and I'd bet you're not either.
68.
▲
by
adrianhel
8y ago
They could just change it to `npm publish npm|url name` with some useful warnings. The name should be checked against package.name. Then libraries could simply add an npm script for publishing. npm publish To publish a package to
69.
▲
by
adrianhel
8y ago
Feel free to tell us more about it! :)
70.
▲
by
adrianhel
8y ago
You guys need a good dose of socialism!
71.
▲
by
adrianhel
8y ago
Or it could be spent on the top 10% and make a huge difference in talent retention.
72.
▲
by
adrianhel
8y ago
I understand that. But to be completely honest, for my sake they could bring back the 2013 model, keep patching bugs and just spec it up. Zero new features needed. They perfected the art. Just leave it be.
73.
▲
by
adrianhel
8y ago
The engineering issue is a lack of accidental touch sensing. Mac did this with the caps lock key (which is arguably easier to implement). The feature feels half baked.
74.
▲
by
adrianhel
8y ago
What is happening with Macs? My butterfly keyboard repeats keys. This easily halves my typing speed. (Or rather "Itt easily halves my ttyping speed") Yesterday my machine got stuck booting with a black screen after running out of
75.
▲
by
adrianhel
8y ago
Norwegian agreement law § 36: An agreement may be wholly or partly set aside or amended to the extent that it would seem unreasonable or contrary to good business practice to make it applicable. The same applies to unilateral binding dispos
76.
▲
by
adrianhel
8y ago
We have a Wordpress site that suddenly saw a surge of hacking attempts. Turns out they all had IE7 user agents. Blocked that, not a problem anymore. Wouldn't surprise me if big sites use simple measures for such simple attack attempts
77.
▲
by
adrianhel
8y ago
Users have ideas. These ideas are motivated by pains and pleasures. When asked what they want, they present the ideas they believe will reduce pains or increase the pleasure of using the software. It's up to you to 1. Determine if the
78.
▲
by
adrianhel
8y ago
I agree with the sentiment, but types don't guarantee correctness. I would put such a developer on "TDD-duty", be thorough about code reviews and do some pair programming.
79.
▲
by
adrianhel
8y ago
I did a review of the entire backend of a pretty big project just now. Very very worth it. I'm going to plan for that every 6 months or so from now.
80.
▲
by
adrianhel
8y ago
The reason why I made the switch was that it really irked me when one line missed a semicolon. No warning, no error and completely valid code. It really triggered my proverbial OCD. That one function out of ten where I made that typo. So I
81.
▲
by
adrianhel
8y ago
> Has a high probability of... No. It either does or it doesn't. The spec is not ambigous. Learn how ASI works, or you will run into trouble no matter if you prefer semis or not.
82.
▲
by
adrianhel
8y ago
;['but', 'why'] .reduce((msg, word) => msg + word, '' ).join(' ') +'?'
83.
▲
by
adrianhel
8y ago
Or just don't use classic IIFEs void function () { window.alert('ok') }() So much cleaner. Or better yet, stop using IIFEs. Unless you need IE11 support and can't transpile your code there is absolutel
84.
▲
by
adrianhel
8y ago
And for template strings: ` I do agree that good use cases are few and far between.
85.
▲
by
adrianhel
8y ago
Always for ( and [ when they start a statement. It really is that simple.
86.
▲
by
adrianhel
8y ago
If so, the failure lies with the spec. (personally, I like ASI)
87.
▲
by
adrianhel
8y ago
Correction: void function () {}()
88.
▲
by
adrianhel
8y ago
Always prepend ( and [ with ; I also prefer void function () {} for this. Void the result of this function expression which I immediately invoke.
89.
▲
by
adrianhel
8y ago
"The unreasonable effectiveness of ___" and "___ considered harmful" titles are copied a lot. They are not equivalent in any way.
90.
▲
by
adrianhel
8y ago
You can do that with mobile-web-app-capable and add to home screen on both ios and Android. No address bar and it looks like any other app. You need to host the site though.
More ›