Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Patient0
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
30 ms
·
241.
▲
by
Patient0
14y ago
In my first job out from school I worked with a bunch of ex COBOL programmers who were re-writing the system in this new-fangled language called "C". One convention was that all "procedures" should be prefixed with a name indicating where t
242.
▲
by
Patient0
14y ago
ah thanks for answering the other questions I hadn't gotten around to asking (the reason why it's an orthonormal basis). I think I need to go home and have a play with this now!
243.
▲
by
Patient0
14y ago
This is a great explanation. The only thing that I still can't get my head around or visualize is how it is that we know that the set of all cos and sin functions is sufficient to span this set of "non-pathological" functions. So assuming
244.
▲
by
Patient0
14y ago
Don't forget that most people want to raise children some day. Sure maybe some solution could be made to work for single people, but for anyone in a family, you need space.
245.
▲
by
Patient0
14y ago
"So you think about conditions like these, determine the significance and correlations between all of them, and then come up with an overall model that tells you whether an asset such as a stock will increase or decrease in value" Knowing w
246.
▲
by
Patient0
14y ago
The problems start when you need to manage resources other than memory. Examples of things that require explicit clean up: -> Files -> Sockets -> Transactions The C++ resource model can be applied to all resources, not just memo
247.
▲
by
Patient0
14y ago
Cor anglais: http://en.m.wikipedia.org/wiki/Cor_anglais French horn: http://en.m.wikipedia.org/wiki/Horn_(instrument) So what the French call an English horn is very different from what the English call a French horn.
248.
▲
by
Patient0
14y ago
SparrowOS suffers from schizophrenia.
249.
▲
by
Patient0
14y ago
From my memories of statistics class: the way an actual statistician would try to answer this question would be to first describe a "null" hypothesis, called H0, then talk about the probability of seeing this set results, or an even more ex
250.
▲
by
Patient0
14y ago
Heh heh fair enough if you've heard it all before and it's only your own money that you are risking, all credit to you. That's great that your TSLA investment is doing so well! My mum bought me some BHP shares in the early 80s that are doin
251.
▲
by
Patient0
14y ago
Buying in the dips might give you a median positive return (95% of the time you'll come out ahead) - but your expected return can easily still be negative due to what happens the other 5% of the time. If you're following a very simple s
252.
▲
by
Patient0
14y ago
To present another side: I remember from reading Chuck Yeager's autobiography that Neil Armstrong was also a bit cocky and "know-it-all". However, I cannot find a quote of the passage online. I did find this interesting anecdote in which Ne
253.
▲
by
Patient0
14y ago
"'It certainly wouldn’t behoove and wouldn’t be in the shareholders’ best interest to dump the shares on the market all at once,' [Harding] said. 'I would assume that all of the investors that hold the 270 million-odd shares are probably ra
254.
▲
by
Patient0
14y ago
It is circular but still correct! There are many situations where there are feedback loops like this: For example: Male peacocks grow large tails because this is attractive to peahen mates. It's attractive to peahen mates because their ma
255.
▲
Show HN: A .Net Lisp interpreter with First Class Macros, Continuations
(patient0.github.com)
7 points
by
Patient0
14y ago
|
0 comments
256.
▲
by
Patient0
14y ago
I voted it up because a) I'm interested in type theory and I like the idea of something that tries to explain it using C# rather than Haskell b) I wish HN had more of these sorts of articles as opposed to the usual startup/productivity/life
257.
▲
by
Patient0
14y ago
To my mind, Microsoft ought to be putting all of their corporate weight behind Mono. CLR, F#, C# are all technically superior to JVM, Scala and Java IMHO and many others. But what holds alot of people back from .Net in the enterprise is tha
258.
▲
by
Patient0
14y ago
As a hacker, for me, the best airline search website would be something that presents all available flights as a gigantic SQL table (or set of tables) so I could just type in a SQL query: select * from allflights f where start = 'London' an
259.
▲
by
Patient0
14y ago
Ah I see. And he does say "(real loop version)" as a subtitle.
260.
▲
by
Patient0
14y ago
"There is a claim that the '99 bottles of beer' program has been written in Malbolge. ( See http://99-bottles-of-beer.ls-la.net/m.html ) The implication is that the program was doing looping, testing and printing. However, closer examin
261.
▲
by
Patient0
14y ago
Thanks a lot for sharing this - particularly the full source code of your implementation. It looks very clean and well written. I personally like that you wrote your own recursive descent parser and lexer rather than using some tool to gene
262.
▲
by
Patient0
14y ago
Ah I see. I've started implementing a Lisp interpreter in C# and I also was going along the path of making everything "first class" by using f-expressions where appropriate. So far my only actual f-expressions are "lambda" and "if" - everyt
263.
▲
by
Patient0
14y ago
"The rewrite in Clojure resulted in much cleaner, faster code, totaling at only 700 lines of Clojure code (I don’t have a clear comparison with Ruby code here). " Could you post the Clojure code somewhere? It would be very interesting to se
264.
▲
by
Patient0
14y ago
I guess the alternative would be to define "apply" as a macro which evals the cons of its first argument and the other list of arguments...
265.
▲
by
Patient0
14y ago
To me it's because they provide a simple way to solve the hygiene problem in an interpreter. That is, it's easier to implement first-class macros (which allow hygiene) in an intepreter , than it is to implement scheme-style non-first-class
266.
▲
by
Patient0
14y ago
I first encountered the term "intron" when reading about Quines: http://www.madore.org/~david/computers/quine.html which made me wonder if "introns" in DNA are similar. After all, DNA can also be viewed as a "program" that prints its own
267.
▲
by
Patient0
14y ago
The implicit assumption that it's the boyfriends that would be doing the startup and the girlfriends that would be sleeping alone in bed - the implication that obviously it would only be that way around.
268.
▲
by
Patient0
15y ago
"That's a lie." -> it's been a while since I looked at D so maybe it's changed since I last looked - but I remain unconvinced that the GC in D will deterministically call your destructors for you (which is my point) and runs in the same
269.
▲
by
Patient0
15y ago
I'm not sure of Go's support for RAII... the key feature is the "composability" of the RAII technique. In C++, I can embedded a "socket" class as a member of some other object - on the stack or the heap - and it automatically and implicitly
270.
▲
by
Patient0
15y ago
For me, the killer feature of Rust is the support for RAII and explicit, deterministic memory management (if you want it). RAII and the ability to deterministically manage resources has always been C++'s killer feature IMHO. There have been
More ›