Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sgeisenh
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
121.
▲
by
sgeisenh
12y ago
>I don't understand your response. Are you saying the OCaml community primarily consists of undergraduates? What I am saying is that a sizable portion of academia uses a variant of ML. Maybe it hasn't caught on in industry, but
122.
▲
by
sgeisenh
12y ago
But there is a strong community behind OCaml. A lot of undergraduate programs use a dialect of ML for their core classes. While most OCaml implementations have poor standard libraries, Jane Street Capital has released several open source li
123.
▲
by
sgeisenh
12y ago
Yeah, when the lists are sorted, you need the intuition that you can merge two sorted lists in less than n * log n time. Like you say, the best you can do for merging several sorted lists is (sum of lengths) * log(# of lists).
124.
▲
by
sgeisenh
12y ago
I'm curious, what kind of a solution are you looking for with that problem? The trivial solution of concatenating the lists and then using a library sort (or cobbling together quicksort) is about as good as it gets for small lists. For
125.
▲
by
sgeisenh
12y ago
Yeah, random pivot quicksort is n log n expected case. Its pretty easy to show that it is realistically impossible to exceed n log n for large data sets. The constants are quite high, though, due to the need to generate a random number for
126.
▲
by
sgeisenh
12y ago
Computer Science trains students in thought processes. Since quite a few companies use a limited number of tools and frameworks, most CS graduates can jump in and be productive pretty quickly, given the proper on-site training. Problems ari
127.
▲
by
sgeisenh
12y ago
I am partial to services that let me use OBS. Not sure why several streaming services are rolling their own desktop clients.
128.
▲
by
sgeisenh
12y ago
I have a late 2013 15 inch MBP that regularly reaches 100 degrees C when running Adobe Flash. The only other time the machine has exceeded 70 is when I tried running Steam games at 2880x1800. The hardware simply shouldn't get that hot,
129.
▲
by
sgeisenh
12y ago
At least you know the adapter is working if it crashes your computer. I am lucky to get the adapter to work properly and when it does, plugging in my Shimian crashes my MBP.
130.
▲
by
sgeisenh
12y ago
Does anyone else find Clojure's syntax a bit obtuse? I feel like basic recursive definitions are much clearer in Haskell and ML. To sum over a list using an accumulator shouldn't take more than two or three trivial lines of code.
131.
▲
by
sgeisenh
12y ago
Agreed. Lectures enforce pacing and accountability better than I ever could on my own.
132.
▲
by
sgeisenh
12y ago
Check out /r/unixporn. There are some excellent setups in there. I think the lack of a standout tiling window manager might be the result of the quantity of excellent WMs in existence. Regardless, if you've never had an exper
133.
▲
by
sgeisenh
12y ago
What is excellent about chamber music, in particular, is that no individual makes the musical decisions. Each musician is talented enough to be able to react and expound upon the decisions of each of the other players. Honestly, chamber mus
134.
▲
by
sgeisenh
12y ago
Often times, in the standard repertoire, the conductor doesn't necessarily do anything in the performance. It is in the preparation, when the conductor disseminates their interpretation to the ensemble, where their artistic vision is f
135.
▲
by
sgeisenh
13y ago
This is an interesting idea, but I suspect that most consumers are inclined to pick and choose services. Maybe Amazon can fill a niche with this type of offering. Beyond viability, I find the implications of this post terrifying. The line b
136.
▲
by
sgeisenh
13y ago
The arguments of most of these types of posts can be hand-waved with "use the right tool for the job." But honestly, plumbing and electrical infrastructure is a terrible metaphor for a development framework. There is no situation
137.
▲
by
sgeisenh
13y ago
Inconsistent sleep patterns can also cause circadian rhythm disorders. I struggle with delayed sleep phase syndrome as a result of years of poor sleep hygiene. I use what is called chronotherapy ( http://en.wikipedia.org/wiki
138.
▲
by
sgeisenh
13y ago
I think, within a certain threshold, it is definitely more financially responsible to bootstrap. Though, I agree with your point about Twitter, etc: if you're a seasoned developer/entrepreneur with a large scale idea that requires
139.
▲
by
sgeisenh
13y ago
I am talking about frontier A* where you discard all nodes that have already been visited. This requires the heuristic to be consistent. As opposed to the breadth-first heuristic search which revisits nodes.
140.
▲
by
sgeisenh
13y ago
If we operate under the assumption that each intermediate path found is shortest for its respective endpoint (which is the fundamental insight for Dijkstra's), we could potentially throw away the solution because it travels through the
141.
▲
by
sgeisenh
13y ago
I'll do my best to provide an example. It is hard to come up with a general idea, but I can demonstrate using a graph: http://i.imgur.com/AwpTeRt.png The numbers in the nodes represent heuristic values at each node and
142.
▲
by
sgeisenh
13y ago
The discussion of heuristics includes only information about admissibility and not consistency. An admissible but inconsistent heuristic can also cause A* to miss the correct solution.
143.
▲
by
sgeisenh
13y ago
While breadth-first search and Dijkstra's have a lot in common, Dijkstra's is a priority first search which is inherently sequential, whereas there is some parallelism to be had in BFS since you can check the neighbors of your fro
144.
▲
by
sgeisenh
13y ago
Wait, do the results from each round make a difference in subsequent rounds? I didn't take the time to implement a solution to problem C because I felt like it would take too long.
145.
▲
by
sgeisenh
13y ago
Authenticator tokens are pretty robust systems. I'd like to see more services start to make use of them.
146.
▲
by
sgeisenh
13y ago
With the exception of hybrid shipping, I am consistently impressed by Amazon's ability to ship using the most appropriate service. Perhaps it is due to my location in an urban area; when I use Amazon 2-day, it arrives in either 1 or 2