Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dcherman
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
61.
▲
by
dcherman
11y ago
Honestly, I don't think he'd need a case against Amazon for this. If the original company refuses to pony up and Amazon was made aware, I feel like they'd just do it since it would be good PR to help make it right since what
62.
▲
by
dcherman
11y ago
Some of that is possible, but some of that is not. Consider the use case of WeakMaps or Proxies that cannot truly be polyfilled, they need to be implemented at the language level. Suppose you could transpile what is possible, then throw er
63.
▲
by
dcherman
11y ago
Given the option between eating less and swallowing frozen poop, I think eating less will prove to me the more attractive offering.
64.
▲
by
dcherman
11y ago
I don't make nearly that much (I wish!) but as a middle-class taxpayer in CT, here are my feelings on the matter. I am most certainly not opposed to the idea of taxes since society cannot function without the government providing some
65.
▲
by
dcherman
11y ago
Newer powders are hard to make, but black powder is actually relatively easy to make from what I understand. You certainly won't be shooting modern quality ammunition, but guns are still possible. The .38 special was originally a blac
66.
▲
by
dcherman
11y ago
Wait what? It doesn't even at least parse the URI to ensure that it's a dell subdomain? Damnit Dell.
67.
▲
by
dcherman
11y ago
Are you really going to pull out the PC card for ISIS/Daesh? I'm sure I'll be downvoted for this, but I really couldn't care less about their feelings. At all.
68.
▲
by
dcherman
11y ago
It also depends on what you mean by commit. Are we talking 5 commits in 1 merge request (Git style), or 5 individual pieces of code to be reviewed separately? In any case, I think 5 per week is extremely reasonable; I actually do less thes
69.
▲
by
dcherman
11y ago
For some card holders, it may be worth it to transition to another no annual fee card rather than closing the account itself. Age of credit is one important component of your credit score, and my AMEX is my second oldest account.
70.
▲
by
dcherman
11y ago
Very cool! I was going to be sitting down soon to reason about the $compile step in Angular 1 to see if there were any leaks. It'll be interesting to run this against my test case and see what pops out. Thanks!
71.
▲
by
dcherman
11y ago
I'd be curious about one potential downside to this (v8 specific, maybe others too) Functions that contain a try/catch cannot currently be optimized by V8. If we migrate to using try/catch rather than `.then/.catch`, I
72.
▲
by
dcherman
11y ago
It's not actually that terrible, but then again it depends on what you're building I suppose. Where I work, I made a fairly robust image diffing utility that runs using Selenium/WebDriver on all browsers that we support. Com
73.
▲
by
dcherman
11y ago
That barely qualifies imo. The plugin mechanism is just prototypical inheritance - you're just adding methods to a prototype, nothing more.
74.
▲
by
dcherman
11y ago
Has nothing at all to do with either NAT or the Firewall rules; it has to do with routing. Assuming your modem/router has this capability, all you should need to do is set up a static route pointing to the network/subnet that the
75.
▲
by
dcherman
11y ago
The corner cases are extremely important and are only "rare" relative to the overall number of people driving. When you have 100MM cars (not a researched number) on the road, that one in a million chance happens 100 times every d
76.
▲
by
dcherman
11y ago
This is not a hard and fast rule and I have no idea if there is any pattern, but I reserve getters for trivial properties like `firstName + " " + lastName;` If it does any non-trivial amount of work, then I always use a function.
77.
▲
by
dcherman
11y ago
Doesn't look like you can actually scroll with a mouse either. I mean the scrolling itself works, but the dropdown closes on mouseup.
78.
▲
by
dcherman
11y ago
Be careful with that assertion. jQuery's `.then` method has returned new Promises since 1.8. In jQuery 3.0, their Promises will be fully Promises/A+ compliant as long as you're using `.then` ( `.done` and `.fail` are remainin
79.
▲
by
dcherman
11y ago
Bluebird has this built in. For a quick userscript where I needed something similar, I created this which works ( warning: no unit tests, but it works for me ) https://gist.github.com/dcherman/4dfba0d72c008ee5b59d It&
80.
▲
by
dcherman
11y ago
Javascript is perfectly fine. I think you mean the DOM is historically an unusable mess, but even that is getting better these days.
81.
▲
by
dcherman
11y ago
"people in his lab refused to peek through his microscope eyeviewer because what he said they will see there should not have been possible." Ah yes, the ever popular "Nyah Nyah Nyah I can't hear you" scientific meth
82.
▲
by
dcherman
11y ago
I don't understand this mindset of not using technology due to a lack of trust. I can easily understand not blindly following an AI's findings, however they should probably be item #1 for the attending doctor to investigate. The
83.
▲
by
dcherman
11y ago
I used to be obese when I was younger. It's true that I had a pretty horrendous diet, however I blame say 80-90% of the problem on my overconsumption of soda. After learning about nutrition, it was horrific just how easy it is to down
84.
▲
by
dcherman
11y ago
That shouldn't even be a Promise imo. That should be an expression on your directive that is called with the selection. `on-select=handleSelection( selectedItem )` or something.
85.
▲
by
dcherman
11y ago
I completely disagree with the assertion that controllers should be as lean as possible, but I agree that the specific example that he gives is atrocious. When it comes to controllers, I only have a few rules: 1. Never, EVER use $scope.$di
86.
▲
by
dcherman
11y ago
You do need credit though unless you never intend on financing a car or purchasing a house with a mortgage. While it may be entirely feasible to get along your entire life without financing a car by either purchasing used cars or inexpens
87.
▲
by
dcherman
11y ago
If you treat a credit card the same as cash, then there is literally no difference in how much you should be spending, but you need the discipline to actually do that. There are a number of benefits to using credit cards that cash doesn
88.
▲
by
dcherman
12y ago
Instead of using a timer or a one time selector, just add a new CSS rule via a style tag (function() { var style = document.createElement( "style" ); style.innerHTML = "[data-reactid] { background: rgba(255,0,0,0.1);
89.
▲
by
dcherman
12y ago
What do you mean the person himself is not unlawful? The presence of that person in this country is illegal which may be used as an adjective. That person is also an immigrant which is a noun. That person is "an illegal immigrant&qu
90.
▲
by
dcherman
12y ago
I don't know how accurate this statement is, but I find this pretty ironic. "The extraterritorial reach of the income tax dates from the Civil War, when the government wanted to prevent Americans from fleeing to Britain to avoid t
More ›