Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
delluminatus
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
31.
▲
by
delluminatus
11y ago
Even many of your examples of "technical" questions seem at least partly political to me (which just reinforces your point, I think). For example: * Language bindings: The decision to create and maintain an API binding in a partic
32.
▲
by
delluminatus
11y ago
ClojureScript is probably not the best language to use if you want few layers of abstraction. I personally love it, though. The best way to think about this development is that it is a client-side compiler for ClojureScript. In client-sid
33.
▲
by
delluminatus
11y ago
Thank you for the reply. I am beginning to understand what you mean about how there is not enough research to make general statements about side effects or medical efficacy, because there are just so many potential factors that could have a
34.
▲
by
delluminatus
11y ago
It sounds like you are reasonably well informed in this field, whereas I can barely parse the abstract for the linked paper. I was hoping you could give me an educated opinion about negative effects of cannabis use in non-adolescents. It se
35.
▲
by
delluminatus
11y ago
Sorry to say, it's nothing React-specific. I understand that there is a React Developer Tools addon for Chrome that might be of interest [0]. As for me, I just turned on Javascript CPU profiling in Firefox Developer Tools, scrolled a b
36.
▲
by
delluminatus
11y ago
No (edit: kinda). It looks like the site calls setState() on the root React component every time the scroll event is fired. For those not familiar with React, setState() is a function that is used to update mutable state, and it is not a ve
37.
▲
by
delluminatus
11y ago
It's not exactly the same, which is what I thought was interesting. My first example did use a generator expression inside the dict() constructor, but in that case you need to specify the key and value in a tuple or a list. With the di
38.
▲
by
delluminatus
11y ago
Even knowing a lot about FP, I still found this worth skimming for the esoteric Python syntax. When it comes to constructing dictionaries with list comprehensions, I would always do something like this: dict([n, 2 ** n] for n in range(5
39.
▲
by
delluminatus
11y ago
Depends on how basic you're imagining. Khan Academy [0] is a fairly well-regarded free resource for high-school and undergraduate level mathematics video lectures. They have probability and statistics as well as linear algebra courses.
40.
▲
by
delluminatus
11y ago
Not the parent, but Angular apps often involve rendering different views based on the URL fragment. This is intended to give you "bookmarkability". So for example instead of bookmarking something like this: http://examp
41.
▲
by
delluminatus
11y ago
What support libraries would you recommend?
42.
▲
by
delluminatus
11y ago
GraphQL is a query language. It's protocol-independent. It just so happens that HTTP POST is a convenient way to deliver queries. Instead of using an HTTP endpoint, you could just as correctly implement GraphQL directly over TCP, or me
43.
▲
by
delluminatus
11y ago
I think extension methods in C# are basically a way to work around the fact that you can't just stick a method on the prototype like you can in Javascript. I also like the C# solution, actually, I just love C#. It's a great &quo
44.
▲
by
delluminatus
11y ago
I could see how that's a legitimate concern, it reminds me of some of the complaints I hear about C++ having too many features (I don't use C++, so this is just hearsay). But Javascript is still a much smaller and simpler language
45.
▲
by
delluminatus
11y ago
I disagree. I think that extending and improving a language is good, and it's certainly not a Javascript-only phenomenon. Off the top of my head, other languages that are considering and implementing syntax extensions include Python (e
46.
▲
by
delluminatus
11y ago
They actually address this point specifically on their Nutrition page. I am not an expert so I have no basis for comparing your claims to theirs, but it seems like they are at least sensitive to the issue, as it were. Fats: Those worried ab
47.
▲
by
delluminatus
11y ago
It is possible (and, I think, a rather clever idea). You could, for example, use a part-of-speech tagged corpus (a large collection of text where each word was tagged with its PoS by a grad student). Just train a Markov model on the parts o
48.
▲
by
delluminatus
11y ago
I only found out about these recently because my company uses them in their custom RPC protocol, which was created about 15 years ago I think. IMO, there are ups and downs to using unprintable characters in your protocol. On one hand, yeah,
49.
▲
by
delluminatus
11y ago
I was curious to see how something like this could "trash an installation". It seems like the issue is that the Skype installation maintains a chat history. If this poison string is in your chat history, something crashes the clie
50.
▲
by
delluminatus
11y ago
I actually have a tip for async programming on small projects. Consider storing as much of your state as possible in a central location if it's feasible for your application. As much as possible, avoid relying on closures except for da
51.
▲
by
delluminatus
11y ago
I'm not sure, maybe it's just the overhead of having so many function calls and Set accesses? My guess is that the Haskell one could be made quite a bit more efficient if you used a low-level mutable array. To add another benchmar
52.
▲
by
delluminatus
11y ago
I think you're confused about the strings. Python 3 uses UTF8 strings by default. The u"xx" syntax is only needed in python 2.x. In Python 3.x it's only supported for backwards compatibility.
53.
▲
by
delluminatus
11y ago
I like this post a lot, because it reminds me a lot of myself. I have spent a long time thinking about how the deluge of easy entertainment and shallow articles on the Internet has affected the way people operate. I've even done a simi
54.
▲
by
delluminatus
12y ago
Definitely. Try clicking through to the article: We generally use web pages as our canvases and paint content on the x– and y-axises. This is our tangible abstraction of reality. Here we are going to explore what happens when we introduce
55.
▲
by
delluminatus
12y ago
He actually mentions it in the article: Note: a drawback that comes with miter-joined lines is sharp edges. When the angle connecting two segments is very sharp, the miter length grows exponentially toward infinity, and causes huge artifac
56.
▲
by
delluminatus
12y ago
I believe this is a direct quotation from Murakami's memoir, What I Talk About When I Talk About Running . The whole book is worth a read, especially if you liked this article. If you want to read an actual novel by him, I highly reco
57.
▲
by
delluminatus
12y ago
I don't know about Underscore, but lo-dash [0] supports lazy execution of a chained query without generating intermediate arrays (see docs [1]). It offers something pretty similar to LINQ queries on collections (except you don't g
58.
▲
by
delluminatus
12y ago
I think you're right, that does seem like a possibility. It seems unlikely to me that our wage-paying jobs will be phased out by automation that rapidly, especially if you consider the whole global economy. Of course, I could be comple
59.
▲
by
delluminatus
12y ago
I think this is a more legitimate concern than the fear of the "Matrix outcome" that some people seem to have. But, what you're describing is the process of people being replaced by technology. Generally speaking, this will p
60.
▲
by
delluminatus
12y ago
A fairly broad latitude? If the ends justify the means and yet the ends themselves are kept completely hidden, then the latitude, as you put it, is completely unconstrained. An intelligence agency operating under those principles can litera
More ›