Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
reycharles
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
15 ms
·
91.
▲
by
reycharles
13y ago
What do you mean by O(log32 n)?
92.
▲
by
reycharles
13y ago
I'm curious why this is being downvoted. Is the information incorrect?
93.
▲
by
reycharles
13y ago
Kaiser Permanente ( http://en.wikipedia.org/wiki/Kaiser_Permanente ) is a »integrated managed care consortium« (health insurance, I guess). I did not know that.
94.
▲
by
reycharles
14y ago
How does »acing real analysis« help understanding number theory? As far as I'm aware they're not really related at all.
95.
▲
by
reycharles
14y ago
I thought all beef was aged. I have heard the taste is unpalatable at best if it's not aged at all. I'm really curious.
96.
▲
by
reycharles
14y ago
> Then the question would still remain (speaking of diet, which is only one aspect) why they were able to adapt to their diet and we weren't able to adapt to our diet. I think perhaps the point is that there isn't evidence that we haven
97.
▲
by
reycharles
14y ago
I remember being told about this when I was introduced to type isomorphisms. Sum types correspond to addition, product types correspond to multiplication and function types correspond to exponentiation. In haskell types: * Either a b
98.
▲
by
reycharles
14y ago
I think it's interesting that the vast majority are in Europe. I would have expected more in Asia and South America.
99.
▲
by
reycharles
14y ago
> Making the minus part of the literal can lead to parsing ambiguity. Not really. It's done in java. Usually, minus ("-") is parsed as a token and then unary minus on integer literals are transformed to a negative integer literal. So, -
100.
▲
by
reycharles
14y ago
"Some may express concern that the Free Universal Construction Kit infringes such corporate prerogatives as copyright, [etc.]. [...] the public is legally allowed to make 3D prints that mate with proprietary parts, especially in cases (the
101.
▲
by
reycharles
14y ago
> I would like to work more with actual mathematical proofs but I'm finding that tough to get into myself. A professor at my CS dept. started using the Coq proof assistant[0] to teach some (functional) programming concepts and technique
102.
▲
by
reycharles
14y ago
Java has exactly this. It's called "labelled continue". again: for(...) { ... continue again; .... }
103.
▲
by
reycharles
14y ago
> However a large part of culture is language I think the reverse also holds. A large part of language is culture. The meaning of a sentence depends on the context and culture is a part of the context. I believe if all the world started
104.
▲
by
reycharles
14y ago
Actually, GHC Haskell compiler = The Glorious Glasgow Haskell Compilation System Haskell compiler[0] [0]: http://en.wikipedia.org/wiki/Glasgow_Haskell_Compiler
105.
▲
by
reycharles
14y ago
Have you considered biking? If the terrain is somewhat flat I guess it would take about half the time, and you will get daily, light exercise as an added bonus. Edit: Also, I would be interested to know how long it would take by bike if you
106.
▲
by
reycharles
14y ago
First of all, I think it's a poor example. A full circle in degrees is an integer while in radians it's not even a fractional number (it's an irrational number)! Also, I don't get the thing about fractions. Decimal numbers are fractions as
107.
▲
by
reycharles
14y ago
Converting between m and km is dead simple, it's just a "decimal shift" / textual operation (move the comma).
108.
▲
by
reycharles
14y ago
I think your C++ example corresponds more to the following haskell type. boo :: Map a b -> b -> a since it nowhere mentions int.
109.
▲
by
reycharles
14y ago
The metro in Copenhagen is completly autonomous.
110.
▲
by
reycharles
14y ago
I think another problem with teaching java in university is that pretty much everything is defined in detail. I have seen students that were taught java write ocaml code that expected a particular order of evaluation of expressions (which i
111.
▲
by
reycharles
14y ago
What would this mean? x = @ + (y = @+1) Would this be legal? x = 1 + (@ = @ - 1) etc...
112.
▲
by
reycharles
14y ago
Yes I do. ()+[] fails too. In javascript: 1+"1" --> "11", []+1 --> "1", null+[] --> "null" etc.
113.
▲
by
reycharles
14y ago
> Yes, crash at runtime. That's no good in a production environments My point is that it's a lot better than trying to continue in an inconsistent state. I'm not saying dynamic typed languages are better than static typed languages. Rig
114.
▲
by
reycharles
14y ago
Python is actually strongly typed. For example, 1+"1" will fail in python. Type errors will (usually) make the program crash. I believe this is a major plus over javascript when writing and maintaining large programs.
115.
▲
by
reycharles
14y ago
> In functional languages, however, where everything is an expression that has a value, the else block (or its equivalent) is mandatory. You simply cannot have an empty or missing else block. (Further, in languages with strict type sys
116.
▲
by
reycharles
14y ago
There's a difference, though. This example evaluates every "branch".
117.
▲
by
reycharles
14y ago
I recently read this[1] article. It explains what OOP really is pretty well I think. The article agrees with you about inheritance. [1]: http://www.cs.utexas.edu/~wcook/papers/OOPvsADT/CookOOPvsADT...
118.
▲
by
reycharles
14y ago
You should read the introduction to Chris Okasaki's "Purely Functional Data Structures". It says there may be higher lower bounds for some problems in functional programming languages, although it's often possible to come up with something
119.
▲
by
reycharles
15y ago
The blog post is from 2005[1]. [1]: http://www.a1k0n.net/
120.
▲
by
reycharles
15y ago
Same here. ctrl-3 works also, for some reason.
More ›