Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
minznerjosh
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
minznerjosh
13d ago
I came away with a different read of this article. The article says the head of China’s Ministry of State Security sees AI as a threat to the CCP, specifically calling out deepfakes of party officials, cyberattacks on infrastructure, etc. H
2.
▲
by
minznerjosh
1y ago
Yup. ChatGPT did not have proper MCP support until now. They only supported MCP for connecting Deep Research to additional data sources, and for that, your MCP server had to implement two specific tools that Deep Research is able to call. W
3.
▲
by
minznerjosh
1y ago
I find it odd you included potatoes in the list of foods to give up. Boiled potatoes in particular rank at the very top of the satiety index[1], meaning they keep you full longer with less calories than other food (likely due to a combo of
4.
▲
by
minznerjosh
2y ago
Are you planning to offer a search API at some point?
5.
▲
by
minznerjosh
10y ago
This hits the nail on the head. Abandoning time zones would only make sense if there were no more need for time translation. But you'd still need to translate for the sake of biological clocks, and without time zones it would become mo
6.
▲
by
minznerjosh
10y ago
npmjs.com seems to be down as well.
7.
▲
by
minznerjosh
12y ago
Just some feedback on the site: The images/iconography appear to be @1x resolution, making things appear blurry on my MacBook Pro with Retina Display. I'm guessing it would be the same on my iPhone or iPad.
8.
▲
by
minznerjosh
12y ago
I don't know if I'd say Scopes are controllers after the controllers are instantiated. Scopes are more of a view-model which are, yes, annotated by Controllers. However, if you put your Controllers on the Scope (via $scope.MyCtrl
9.
▲
by
minznerjosh
12y ago
.factory('$timeout', function($window) { var $timeout = $window.setTimeout; return $timeout; }) .service('$timeout', function($window) { // $timeout is a function, not an normal object. Why would
10.
▲
by
minznerjosh
12y ago
That can be a matter of personal preference, so the best I can do is share my preference. I usually use the "service" method because most of my services are objects, and I have no aversion to constructor functions. However, if I w
11.
▲
by
minznerjosh
12y ago
Really, Services and Factories are just a shorthand way of creating providers. .factory('foo', function() { var foo = {}; return foo; }); is the same as: .provider('foo', function() { this.$get = function(
12.
▲
by
minznerjosh
12y ago
As somebody who has built actual applications with both Ember and Angular, I think this article totally hits the nail right on the head. Though, in regards to the "Angular is backed by Google" comment, while they don't actual
13.
▲
by
minznerjosh
13y ago
I think that one of the most important features of $timout is that it runs a digest cycle after the timeout completes. That's why bindings get updated when you modify data in a $timout callback. So it is related to dirty checking.