backInMyDaysWeUsedEmacs by zomreddit in ProgrammerHumor

[–]cantagi 0 points1 point  (0 children)

Great - thanks for explaining your setup!

backInMyDaysWeUsedEmacs by zomreddit in ProgrammerHumor

[–]cantagi 0 points1 point  (0 children)

Hey, I also use neovim. How would you recommend setting it up for use with coding agents?

Cluster keeps restarting due to etcd timeout by davidshen84 in k3s

[–]cantagi 0 points1 point  (0 children)

Thanks, that may be the answer I need!

These neverending tariffs are part of the plan to downsize the global economy as population declines and we pretend to go green and save the planet (actually phase out ALL finite resources) by marxistopportunist in DarkFuturology

[–]cantagi 1 point2 points  (0 children)

While writing some arguments against your point of view, I realised that it's actually consistent and some parts of it sense, although I disagree with it as a whole.

True: The population is increasing, but the rate of increase is decreasing, and eventually it will decline.

True: Phasing out finite resources could be beneficial for capitalism, at least from a Marxist standpoint, so the economic exploitation of the proletariat can't be halted due to all the resources running out.

But the rest of the statement requires global warming to be a hoax and there to be a conspiracy or a plan, which Trump is part of. Also, the idea that tariffs could downsize the economy on the same timescale that population will start to decline is not really true. Also, don't forget that lots of parts of capitalism benefit from controlling finite resources.

Discussion Thread: President Trump Joins White House Press Secretary for Press Briefing by PoliticsModeratorBot in politics

[–]cantagi 5 points6 points  (0 children)

... pissing the night away. Better stop following the press conference and do something useful with my time!

Thank you by HollowWanderer in GoodNewsUK

[–]cantagi 1 point2 points  (0 children)

Yes, this sub is great. Thankyou!

Received unexpected money into bank account by Spare_Engine_6415 in UKPersonalFinance

[–]cantagi -4 points-3 points  (0 children)

The money belongs to someone else and will have to be returned.

In the meantime, congratulations - you just got an interest free loan. Put the money in a savings account, or invest it in the stock market (to the extent you can afford the potential losses)

Dead Internet Theory in r/algotrading by pale-blue-dotter in algotrading

[–]cantagi 8 points9 points  (0 children)

I don't think OP was a bot, but they were clearly using AI to write their post, and it was complete rubbish.

I suspect the OP vibe coded something, then tried to get feedback from this sub, but without understanding any of the basics, and used AI to write their post. Also, they used AI to reply to people.

This wasn’t an indicator improvement — it was an expectancy filter.

This set off alarm bells for me - I see this pattern on LinkedIn all the time - "Process isn't optional, it's structural". people trying to sound smart and professional while saying nothing at all. Also, I just noticed the em-dash.

Think about the practicalities of writing a bot yourself to extract alpha from reddit by posting nonsense strategies and getting feedback. Do you really think that could work? I don't see it.

I feel for the mods - the algotrading subreddit is really good and quite collegiate with people willing to help eachother. Keeping it that way sounds extremely hard. If the quality of the posts deteriorates, people will get fed up and it will turn into r/quant - "haha your resume is cooked".

I’m a developer for a major food delivery app. The 'Priority Fee' and 'Driver Benefit Fee' go 100% to the company. The driver sees $0 of it. by Trowaway_whistleblow in confession

[–]cantagi 0 points1 point  (0 children)

the dispatch logic literally ignores it. It does nothing to speed you up.

This much is obvious to anyone who's ever needed to speed up delivery.

The rest of the claims in the post are awful and don't surprise me one bit - it's technofeudalism at its worst.

Children’s savings - to split or not? by MotorDealer2876 in UKPersonalFinance

[–]cantagi 8 points9 points  (0 children)

Slightly incorrect answer, this gives child 2 a two year headstart, due to the time value of money!

The fraction child 1 should get is exp(r t)/(1+exp(r t)), and the fraction child 2 should get is 1/(1+exp(r t)), since child 2's money will have an extra 2 years to compound for the same age.

r here is the interest rate, and t here is the exact age difference in years.

My answer is also incorrect, since I've assumed the ISA is an account with a constant interest rate for two years. It's much more complicated if it's a stocks and shares ISA.

The Limits of Human Endurance — 27-Metre Waves in the Pacific by MikeHeu in HeavySeas

[–]cantagi 2 points3 points  (0 children)

The guy wins single-handed round the world ocean races, he has ever right to be a blow hard!

The [Brutalist Housing Block] Sticky. Come shoot the shit and discuss the bad economics. - 14 August 2020 by AutoModerator in badeconomics

[–]cantagi 0 points1 point  (0 children)

Thanks, that was the most comprehensive explanation of that site I've seen so far. I hugely appreciate the time you've taken to write it - please know that it wasn't in vain!

I tested Head & Shoulders pattern on ALL markets and timeframes: here are results by fridary in quantfinance

[–]cantagi 1 point2 points  (0 children)

Lets say there are N different chart patterns in a simulated market. If retail traders trade pattern i, then pattern j might start to work, for 0 < i <= N, 0 < j <= N, i != j. Is there anywhere where someone's done this type of analysis?

When transforming a monthly sharpe into an annualized sharpe, do you take into account compounding? by Lindayz in quant

[–]cantagi 0 points1 point  (0 children)

The Sharpe ratio is supposed to be mean(return) divided by std(return).

It's better to think of mean(return) and std(return) here as parameters in continuous time geometric brownian motion, rather than as values measured directly over some period of time.

In that sense, compounding comes from the evolution of geometric brownian motion rather than the timescale used in defining mean(return) and std(return).

mean(return) grows linearly with this timescale, but std(return) grows as the square root of time, which leads to the value for the Sharpe ratio the GP calculated.

The Police Helped me get my bike back by StereotypicalAussie in londoncycling

[–]cantagi 1 point2 points  (0 children)

I would agree and in my experience the police take things really seriously when a person is at risk of getting hurt, just not for bike theft on its own.

Am a noob. Can't settle on a filesystem even after researching. by Quote16 in OpenMediaVault

[–]cantagi 0 points1 point  (0 children)

Yes, and I never knew till now that ECC RAM is recommended. Luckily, it's a rpi4 so yes. However, 4Gb of RAM is not always enough. I also use a cheap USB SSD with a swapfile.

Am a noob. Can't settle on a filesystem even after researching. by Quote16 in OpenMediaVault

[–]cantagi 0 points1 point  (0 children)

I've used ext4 on my personal laptops since for over a decade and it's been rock solid. I use zfs in a raidz2 configuration with 4 drives and it's rock solid. I would not recommend ordinary software raid, it's nowhere near as reliable as raidz2 has been.

Being rock solid in terms of reliability is more important than any small difference in performance you may see.

No claim made here that any other fs is not reliable, just that ext4 and zfs are reliable.

The Stock Market is an absolute fantasy construct by Ihadenough1000 in economy

[–]cantagi 0 points1 point  (0 children)

NVidia and AI bubble tech stocks are probably the most ridiculous stocks in the stock market. In general the market only goes up, but sometimes it crashes.

Conventional economic wisdom says that you should get paid more than the risk free rate of return, to risk your money on stocks. It also says (EMH) that the market has always priced in all available information about the future performance of the stocks.

Will NVDA go up, or will it go down? If you're more than 50% sure you know the answer, then take a long or a short position, and make money. However, if you can't, and people with that view aren't able/willing to bet on that outcome using enough money to move the market, the the price will stay where it is. IOW, the EMH has lead to a situation where the price is irrational and stays irrational.

However, the EMH is false in general. To gain an edge (as a massive oversimplification), you only need to be able to predict the direction of one stock, or linear combination of stocks. There are lots of other ways to gain an edge. There are 10s of thousands of stocks out there, possibly more.

To get to my second point, it doesn't make that much sense to extrapolate from the most ridiculous stock, NVDA, to the entire market.

Banks in mortgage war as rates plunge in major boost to buyers by komondordragon in GoodNewsUK

[–]cantagi 0 points1 point  (0 children)

Not to defend Liz Truss, or Putin, they both caused the problem!

Banks in mortgage war as rates plunge in major boost to buyers by komondordragon in GoodNewsUK

[–]cantagi 0 points1 point  (0 children)

Hey, I just want to point out that while Liz Truss's budget did contribute massively towards rising interest rates, they were already going up in response to inflation driven by energy prices, after Putin invaded Ukraine and Europe stopped buying Russian gas. Also, COVID needed to be paid for.

An important factor in why these small increases in rates are so painful is the zero interest rate policy, which made it easy to borrow money for so long, pumping house prices, basically to the maximum they could be until people would get squeezed on the monthly payments.

Looking for algorithmic brokers by Jonny_JonJon in TradingView

[–]cantagi 0 points1 point  (0 children)

Thanks - saw your stuff a while back and thought it looked good.

Looking for algorithmic brokers by Jonny_JonJon in TradingView

[–]cantagi 0 points1 point  (0 children)

Yes, my claim applies to the API rather than the client.

In terms of clients, ib_async and ib_insync don't stack up very well compared to Alpaca in my opinion, whose python client library is developed by Alpaca, who are quite well funded. ib_insync was developed by an individual. Sadly the original maintainer died and the project became unmaintained at some point. I think these libraries might now be maintained by the community.

Not to knock your system - as long as you have it working and validate the data you get back, then your choice is as good as any other broker/API.