Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
evdubs
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
19 ms
·
181.
▲
by
evdubs
5y ago
It's 378 square miles. For comparison, Rhode Island is 1,214 square miles.
182.
▲
by
evdubs
6y ago
> The issue is that because macros can have dramatic effects on the final program, I have to check carefully all of them in order to understand a piece of code. Do you have an example where you had to carefully check a macro when writing
183.
▲
by
evdubs
6y ago
How does one usually go about finding documentation related to Pascal? Does one need to download a package from https://packages.lazarus-ide.org/ and view its documentation from there?
184.
▲
by
evdubs
6y ago
To add to this, OP, there is an interesting blog with many examples of graphics development in Racket: https://alex-hhh.github.io/ I have written a couple GUI applications in Racket; maybe they can serve as motivation to di
185.
▲
by
evdubs
6y ago
Have you written lisp code? As a Racket programmer, I almost never think about macros, readers, code transformers, or whatever could interfere with what I think should happen in the same way that I would write Java code. To give an example,
186.
▲
by
evdubs
6y ago
> The only difference is the arrangement. Agreed, and to me, this makes the point that the syntax (arrangement) is a key component to an unwillingness to learn. However, I don't see how this establishes lisp as having, "very fu
187.
▲
by
evdubs
6y ago
> Racket is not a good example. People learn it as non-interactive. The project now also switches to a conventional syntax without s-expressions. I can understand that people that have achieved "lisp enlightenment" will view Ra
188.
▲
by
evdubs
6y ago
Would you say that simplicity shouldn't be confused with familiarity?
189.
▲
by
evdubs
6y ago
What are the fundamental differences that are "difficult or impossible to 'just' teach over"? Looking at a language like Racket, you have classes and objects, (first class) functions, recursion, "for" iteration
190.
▲
by
evdubs
7y ago
Some exchanges are doing colocation and are investing resources to greatly improve matching engine performance. It's become a little better than when they were all written in Ruby and hosted on a cheap cloud service.
191.
▲
by
evdubs
7y ago
I agree that can make sense for something like ES, but what about crypto? ;) Edit: maybe non-penny-pilot options trading > $3 are a better example of a product with a large tick size.
192.
▲
by
evdubs
7y ago
Assuming you're doing some sort of strategy where the order book is important, like market making or hedging another position, it seems kind of dangerous not to keep a full book, no? If the market starts to move and your limited book s
193.
▲
by
evdubs
7y ago
Rust provides a built in B-tree[1] and it offers this over a binary search tree to avoid pointer chasing. With respect to heaps, are you thinking that a BinaryHeap[2] could be used here? I don't see how such a structure allows you to a
194.
▲
by
evdubs
7y ago
Are you planning to hook your order book up to a data feed like, for example, binance[1] to see how your book performs? [1] https://github.com/binance-exchange/binance-official-api-doc...
195.
▲
by
evdubs
7y ago
Also, why use Uuids instead of a pair of user_id: u64, order_id: u64?
196.
▲
by
evdubs
7y ago
Why use a Vec instead of a B-Tree?
197.
▲
by
evdubs
7y ago
For live security prices, there are a couple that are commonly mentioned: * IEX Cloud - https://iexcloud.io/docs/api/#deep - Live order book data straight from IEX. This is free and I don't think you even nee
198.
▲
by
evdubs
7y ago
It sends strategies as a combo order. You can see that in action at https://github.com/evdubs/renegade-way/blob/master/position-... Price conditions are sent along too to keep the order deactivated unles
199.
▲
Show HN: Stock Option Trading Application in Racket
(github.com)
19 points
by
evdubs
7y ago
|
5 comments
200.
▲
by
evdubs
8y ago
Mr. Chu, I hope you never lose your tenacity with respect to writing blurbs on LMDB's performance and reliability. I have enjoyed the articles comparing LMDB with other databases' performance and hope you continue to point the spo
201.
▲
by
evdubs
8y ago
Well, I would say that the primary refactoring done in Slackwise's example is just to assign names to the different conditions and the list produced by range. I think it makes most sense to break these things out and assign them to nam
202.
▲
by
evdubs
8y ago
Sincerely, truly a thing of beauty. After writing Lisp code, I don't even understand what people mean when they talk about beauty with respect to programming languages. It's like there are rivers separating the aesthetics of Algol
203.
▲
by
evdubs
8y ago
Indeed. I am an idiot. My mistake. She was simply telling me about a video her dad had watched and clearly I don't listen well.
204.
▲
by
evdubs
8y ago
Just clarified with my SO. I am an idiot. This is the case. Sorry, all.
205.
▲
by
evdubs
8y ago
As a completely unverified anecdote perhaps related to the Social Credit System (and more so the amount of information being collected and distributed in China), my SO recently told me about her Dad's attempt to order pizza. It went so
206.
▲
by
evdubs
8y ago
I added this feedback to racket/gui. Not sure if that's helpful. https://github.com/racket/gui/issues/115
207.
▲
by
evdubs
8y ago
I am curious to know what you find limiting about the Racket GUI. There have been some interesting[1] things[2] being developed with it recently. I have been able to use it to write a stock trading simulator[3] with price charts. [1] https
208.
▲
by
evdubs
8y ago
It is indeed still in use at Morgan Stanley in the Interest Rate Derivatives Technology group. Apparently there were plans to decommission the A+ code as far back as the early 2000s, but much of it is still in use and, from what I can tell,