Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
hhmc
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
29 ms
·
271.
▲
by
hhmc
6y ago
It still requires the aggregator to offer it for less that $30 (at least the cost of dough less). Which, at least in this case, seems to requires a scraping error.
272.
▲
by
hhmc
6y ago
But the wider context here -- and the reason the changed version was presumably written -- is the accusation that folds are overcomplicated. It's under that lens that I am criticizing the changed code.
273.
▲
by
hhmc
6y ago
> If you as a reader need const to make sure a local variable is not changed this is usually a symptom of this function being too long to see at a glance If the compiler can enfore an invariant (constness), why cede that functionality on
274.
▲
by
hhmc
6y ago
Regardless of the induvidual merits of the changes (and I do disagree with you), it's not reasonable to say: "Folds are overcomplicated, here's a version without folds which is simpler" whilst also making a range of unre
275.
▲
by
hhmc
6y ago
The code on the right feels in mildly bad faith to me. - consts are dropped - variable definitions are merged onto multiple lines - usefully named constants like `nPixels`, `nBytes` are elided - the `idx` lambda is inlined Th
276.
▲
by
hhmc
6y ago
> I mean, they're only readable to people who have dabbled in variadic templates in their free time. That's how many people on your (future) team? This line of reasoning is vacously true for any syntax and semantics though. Mov
277.
▲
by
hhmc
6y ago
It's probably an oversimplification, but differential equations -- as a field of study -- tends to be much more a grab bag of tricks than many branches of mathematics.
278.
▲
by
hhmc
6y ago
Your comment about the hidden impact of cancelling snacks reminds me of this article: https://steveblank.com/2009/12/21/the-elves-leave-middle-ear...
279.
▲
by
hhmc
6y ago
IIRC moex is perticularly expensive to trade on, and costs can be non linear -- but something like 1bps of commms is a reasonable approximation as an upper bound. In the paper they claim a cost of 2.5RUB per transaction, not the 20 in the c
280.
▲
by
hhmc
6y ago
It could probably work in an ML variant like SML.
281.
▲
by
hhmc
7y ago
It might be worth getting the notice period (for which I assume you must be paid fully) ticking ASAP.
282.
▲
by
hhmc
7y ago
> but after that you're into a long "managing them out of the business" process that may or may not end up with a pay off. I'm sure you already know, but in the UK you can be fired for any non-protected reason within
283.
▲
by
hhmc
7y ago
I'll never understand comments like this. Surely it takes less time to google a phrase you don't understand than to type a comment proclaiming you don't know what it means?
284.
▲
by
hhmc
7y ago
That doesn't sound like 5%, 5% is still firmly middle class.
285.
▲
by
hhmc
7y ago
I'm fully aware of the sensitivites of the quant finance world, but there are plenty of high quality workplaces out there that don't have the extremely invasive approach to security that e.g. g research do.
286.
▲
by
hhmc
7y ago
G-Research should come with the health warning of just how litigous and paranoid around IP theft they are. My understanding is that you can't have a personal phone whilst at work, you're weighed on the way in and out, and they sen
287.
▲
by
hhmc
7y ago
At the very least I would fix the grammar (or pay someone for a copy edit) if you want to be taken seriously.
288.
▲
by
hhmc
7y ago
Copy on your site like "Since we know that Gold, Silver and the VIX, along with market is completely manipulated, you have to find other measures to value stocks." sets off all sorts of red flags for me.
289.
▲
by
hhmc
7y ago
Tea leaves have more caffine than coffee beans, gram for gram. However a brewed coffee has more caffine than a steeped tea (i.e. the actual drinks).
290.
▲
by
hhmc
7y ago
> The randomness of premium bonds are the whole point. This isn't strictly true, there are other reasons why they might be attrative. Premium bonds are tax advantaged (as opposed to most other investment vehichles in the UK). For ce
291.
▲
by
hhmc
7y ago
There are strict regulatory obligations to the outside investors that would make that transfer illegal.
292.
▲
by
hhmc
7y ago
I think page/word count would have been an interesting covariate to investigate.
293.
▲
by
hhmc
7y ago
You can highly remunerate health care professionals without the entire health care system being treated as a for-profit business.
294.
▲
by
hhmc
7y ago
Fantastic, if you're aware that people in different countries use different words for things, then you can also recognize that GP condescendingly correcting to "fantasy soccer" is unnecessary.
295.
▲
by
hhmc
7y ago
It’s known as fantasy football to anyone outside of North America.
296.
▲
by
hhmc
7y ago
Sure, but you have to acknowledge that factorio is incredibly amenable to those types of tests -- in a way that most games aren't.
297.
▲
by
hhmc
7y ago
Sure, and the wikipedia page makes mention of that. But it's not super relevant to the point I'm making about the worst-case complexity of quick sort (which is often misunderstood to be O(n^2)).
298.
▲
by
hhmc
7y ago
Quick sort can be made to be O(n log n) with careful choice of pivot - e.g. https://en.wikipedia.org/wiki/Median_of_medians
299.
▲
by
hhmc
7y ago
tmux could really do with a 'vim-sensible' common sensible default configuration. Mirroring typical linux mouse copy-behaviour is perticularly painful (esp. in a multi-pane setup).
300.
▲
by
hhmc
7y ago
But in the pathological case where all the inputs collide to the same hash, I don't see how you avoid degrading to at least O(N log N), even with resizing -- you must account for the resizing as an O( g(N) ) operation.
More ›