Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
shtylman
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
shtylman
7y ago
Can you hoist the `if (result)` into the `try` part of the statement? (Without seeing more context hard to know why that wouldn't work for you). Another pattern to avoid the above is to remember that async functions return promises and
2.
▲
Show HN: Repo badge to count your repo badges
(github.com)
19 points
by
shtylman
11y ago
|
0 comments
3.
▲
by
shtylman
11y ago
Personally I find SQL much easier to read. In a product where you might allow users to write queries it is a much more pleasant UX experience to write and read SQL than it would be to do so for ES queries. It isn't a problem to underst
4.
▲
by
shtylman
12y ago
It is none of their business why I needed my money or how many trips it took.
5.
▲
by
shtylman
12y ago
the future is now
6.
▲
by
shtylman
12y ago
Duplicate dependencies affecting client side "size" is highly overrated. We can make tools (and have tools) that can compare files for same content and only include them in client side bundles only once. De-duplicating the same co
7.
▲
by
shtylman
12y ago
Systems where people seem to live under the assumption that if they don't get the latest patch updates or security updates their code will somehow be inferior and they will instantly be hacked. They think that semver will magically sol
8.
▲
by
shtylman
12y ago
Pinning in development is equally necessary if you hope to bring sanity to your development team all using the same codebase. Not pinning may be great for a one person 'team' or modules where you control everything, but can be a m
9.
▲
by
shtylman
12y ago
Why should they reconsider it? Someone that just got into development and might want to show their friends or family something they are hacking away on. According to you they now need to learn about VPS, some random nginx settings or other
10.
▲
by
shtylman
12y ago
To me the ease of having the library be installable with the "canonical" package manager of my platform is too convenient; just "feels" more natural and simpler. I actually thought about writing a node.js ngrok client bu
11.
▲
by
shtylman
12y ago
You can. See the README.
12.
▲
by
shtylman
12y ago
Author of the project here. I want to clarify why this project exists (as many seem to point out that other projects or methods exist for doing this). TL;DR; If you think of localtunnel as just a shitty ngrok (or name your project here), yo
13.
▲
by
shtylman
13y ago
The fix for this is to use a module. Simple. Not a problem.
14.
▲
by
shtylman
13y ago
The generator example has no error handling (at least not from what I can see). Once the "callback hell" example was re-written with named functions, it is not much different than the generator example and depending on how you are
15.
▲
by
shtylman
13y ago
I'll get the medic.
16.
▲
by
shtylman
13y ago
As long as every jquery plugin and other code that depends on jquery continues to require all of jquery, all this module stuff is useless. I am sure it helps you organize jquery Dev but it still doesn't help actually define real depend
17.
▲
by
shtylman
13y ago
Lots of those are for Sizzle. jQuery would be great if it broke up all those tiny little and completely orthogonal things it does into modules so that people could use them as needed. No one library is going to provide everything for every
18.
▲
by
shtylman
13y ago
This is a lie. The internet browser is way too good.
19.
▲
by
shtylman
13y ago
This is very unfortunate that they are doing this if the data was scraped and not hitting their servers. Is it that some part of the data they think is copyrighted (like grades) versus just courses?
20.
▲
by
shtylman
13y ago
I run a similar service for other schools (courseoff.com) and I have run into this before. I bet what happened was their site failed to cache the course data or seat information and was thus making lots of requests to the Yale servers. To Y
21.
▲
by
shtylman
13y ago
You don't have to trust anything. If you want to NIH everything yourself, nothing is stopping you. It is however more likely that many packages on NPM are better than the ones you or your team can create if simply for the fact that the
22.
▲
by
shtylman
13y ago
IMO bug bounty payouts are a more effective use of funds for a project. Paying per commit is like paying per line of code. At least with a bug bounty you (the giver) can specify which particular item interests you. If you want to donate mon
23.
▲
by
shtylman
13y ago
Because writing plain javascript is simpler for the majority of people to understand and will run in more places without the need for custom setups. Module authors will not write to these custom implementations since it would greatly limit
24.
▲
by
shtylman
13y ago
Lots of problems can be solved with one language depending on the language. And I have worked on several single language stack projects. Having a single language stack has many benefits. Right too for right job is only relevant if the right
25.
▲
by
shtylman
13y ago
Don't be hatin' just cause you have never seen panic buying ;)
26.
▲
by
shtylman
13y ago
Ironically enough, due to check fraud that check might not help you as much as you think ;) I don't know what algos they use to detect fraud but being a veteran does not always mean there won't be fraud on your bank account. Remem
27.
▲
by
shtylman
13y ago
The risk is not that your account will be debited, it is that you will go to your bank and claim the charge was not authorized by you after having moved the coins off their site. Now, maybe your bank account was compromised, and the attacke
28.
▲
by
shtylman
13y ago
What price would you then give the user?
29.
▲
by
shtylman
13y ago
Based on your username, I am going to assume you are referring to this lawsuit: http://www.scribd.com/doc/139975904/Aaron-Greenspan-lawsuit In which case you are the Plaintiff suing these companies which is very d
30.
▲
by
shtylman
13y ago
Yes, wires are much more difficult to reverse but they can be reversed. In my experience, your financial institution must get your prior approval before reversing a wire (which is not true for ACH reversals). Wires also you a completely dif
More ›