Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mruts
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
35 ms
·
331.
▲
by
mruts
7y ago
I mean, you don’t believe that, do you? Maybe we should all be writing our own sorting algorithms as well. I kind of assumed that DRY was a universally accepted principle in software engineering. But I guess the Pythonic way is about copy a
332.
▲
by
mruts
7y ago
Because I’m totally a salesmen for both Quantopian and Alpaca...
333.
▲
by
mruts
7y ago
What tangible advantages does Python have compared to Racket? The only thing I can think of are the high quality data science libraries.
334.
▲
by
mruts
7y ago
Yeah, of course you can flatten a list. It seems like Python programmers enjoy writing the same code over and over again. Would it really be bad if I could just do lst.flatten ? Or flatten(lst)?
335.
▲
by
mruts
7y ago
Honestly, it’s pretty easy to create a rough approximation of many popular hedge fund strategies. Like on Quantopian, it’s pretty easy to whip up a simple factor strategy in a couple hours. The returns aren’t bad, either. The part that is h
336.
▲
by
mruts
7y ago
If any wants to try their hand at quant trading, Quantopian is a great place to get started. Great data sources and you can get allocated capital and make a little bit of money. Also the competitions are fun and you get paid $50/day fo
337.
▲
by
mruts
7y ago
Maybe like 10? I don’t see that many kids younger than that walking alone in NYC.
338.
▲
by
mruts
7y ago
Then why isn’t there a function to flatten a list in Python? I’m not sure what Python’s priorities are, besides majorly sucking. I can write software in Scala or OCaml or Racket in less than half the time of Python, while also being 10x fas
339.
▲
by
mruts
7y ago
I sometimes watch analysts at my firm use excel. It’s pure magic in the right hands, absolutely sublime.
340.
▲
by
mruts
7y ago
The biggest determinant of a company's stock price is not the company. It's beta, interest rates, and a multitude of other factors. The idiosyncratic return and variance of most companies is quite small compared to the systematic
341.
▲
by
mruts
7y ago
The US is a lot less dense than the UK. Whenever people complain about fiber internet or mobile in America, I try and remind them that the subscribers in urban centers are subsidizing those in rural areas.
342.
▲
by
mruts
7y ago
This is all true, but short sellers can (and do) depress the price of a stock in the short-term through the act of selling.
343.
▲
by
mruts
7y ago
I think you misunderstand the genericicity of macros in Lisp. Macros take one or more S-exps and return and S-exp. nothing more, nothing less. There’s no reason why macros need to generate valid code. Though in Lisp, it’s pretty easy to mak
344.
▲
by
mruts
7y ago
CS isn't anymore of coherent subject than, say, math. And (much like math), the useful/practical parts that'll get you 80%-90% there in solving arbitrary practical problems aren't all that difficult to learn. Just learni
345.
▲
by
mruts
7y ago
Very nice! But is Python the right choice for this? It seems like the macro rewriting abilities of Lisp (especially Racket) would be a perfect fit for this project. And he's already using S-exps, so why reinvent the wheel?
346.
▲
by
mruts
7y ago
Scala futures seem to offer all of this functionality as well, no? And you can do all the regular monad stuff on them as well, which is super nice.
347.
▲
by
mruts
7y ago
3rd world refers to the Cold War. The 1st world consists of Western democracies and other liberal and advanced states,the 2nd world are the communists, and the 3rd world comprises of everything else.
348.
▲
by
mruts
7y ago
I mean you could say that about almost every repressive and abusive policy: censorship, secret police, mass executions, etc
349.
▲
by
mruts
7y ago
I’m pretty sure you do (and have).
350.
▲
by
mruts
7y ago
I think so. You’re always going to lose money by laundering it. Also combined with the low upfront investment (it’s pretty easy to set up new apps), it doesn’t sound like a bad idea to me. Using a real physical business has a lot of problem
351.
▲
by
mruts
7y ago
Maybe you want to make your own clothes as well?
352.
▲
by
mruts
7y ago
What percentage of the population has air conditioners? Also, what do you think would happen if you didn’t have one? I honestly can’t imagine that kind of heat and how people could even survive in it.
353.
▲
by
mruts
7y ago
Maybe because governments aren’t all the same and not everyone comes from the same country? What you mean we, kemosabe?
354.
▲
by
mruts
7y ago
I would say unequivocally no and it shouldn’t be enforced at all. So, like, if someone is brain dead, the website needs to pay for a new brain for them? What you’re saying doesn’t make any sense, online or offline.
355.
▲
by
mruts
7y ago
There's not a market maker in America that's selling and buying in order to provide liquidity. You buy low, and sell high, that's the end of the story, for both proprietary trading, trading for clients, and market making. The
356.
▲
by
mruts
7y ago
You know, that's one of the few valid points against the legalization of all drugs. I don't care how many die or overdose or whatever (it's a moral issue of owning one's own body, much like abortion) but antibiotics seem
357.
▲
by
mruts
7y ago
I mean, that’s the most common argument on why tabs are better the spaces. It’s also an argument I tend to be sympathetic too.
358.
▲
by
mruts
7y ago
The rule they are talking about is the Volcker Rule. Prevents certain banks from proprietary trading. They are only allowed to buy and sell for the purpose of market making. This, of course, is an incredibly stupid rule. There’s not really
359.
▲
by
mruts
7y ago
The harder you think it’s going to be the market, the less you are going to trade. You need your confidence interval to reach a certain point before you are going to trade since you’lol have a negative expected value if you don’t have an ed
360.
▲
by
mruts
7y ago
reductio ad absurdum is a perfectly logical syllogism. I guess it depends on how angry I was? Would you kill someone who slept with your wife? Regardless of your answer, it would be absurd to call everyone who did crazy. In fact, courts nev
More ›