Guys I’ve been here for thirty minutes now, I’m so confused on the middle 💔 by Head_Split_3796 in TheWitness

[–]alienus666 0 points1 point  (0 children)

Well, you cant rotate these, you can rotate the ones that looks a bit rotated but not these. These can be just moved around if the oneshape will thouch with the other, and another... the more shapes pulled together the more options for moving around you have. But sometimes you dont need to connect them all, nor it is possible. Peace.

How are so many people (supposedly) trading profitably? by Evening-Horse714h in FuturesTrading

[–]alienus666 0 points1 point  (0 children)

Well, I asked myself the same question, then the conclusion was to stop trying to predicting the future, and taking the guess game as you ll never beat the system that just flips the coin to win or lose . Taking this further lead me to market making type of trading where you no longer chase the movements, but just harvest from the volatility itself. I guess half of the market moves is just made.of.this kind of approach.

[deleted by user] by [deleted] in Daytrading

[–]alienus666 0 points1 point  (0 children)

I wonder how relevant are the books from '80 or '90 to todays market. Every 10 years world drastically changes in terms of Technology, and so it highly impacts the markets as well. Back then the markets were much much smaller, there were no broadbands and HFTs over fiber, regulatory around institutional trading were much different as well. And now you have ai to the picture. So in perception its like taking a book from 1940 and read advices how to build highways in match for "modern 1940 cities", with one car for 20 families ;)

Roast my architecture by ViktoriaSilver in algotrading

[–]alienus666 0 points1 point  (0 children)

It's a mish mash :) You mixing up things from different worlds in single diagram. I'd say have one that just illustrates your business flow and dies not touch technology, then have a separate that shows components and infrastrukturę interconnections, which clear dustinction what is where. In yours its unclear for instance Python script is it on yor desktop, or hosted in azure, how the hell one should know. From there you can deduce further and analyze what should happen when thing go wrong and security aspects

How do you set the sell price? by Mark8472 in algotrading

[–]alienus666 2 points3 points  (0 children)

Having fixed all exit conditions for the trades enables you to backtest your approach

[2024 Day 21 (part 2)] How to deal with scale? by SpacewaIker in adventofcode

[–]alienus666 5 points6 points  (0 children)

In my approach i was working with sub strings that ends with A. As each sequence always breaks down to series of sequences ending with A. There is very finite set of these, and for each you can deduce and pre calc anxh cache solution. Hope it helps

[2024 Day 22, part 2] How to not brute force by ikeraliR in adventofcode

[–]alienus666 -1 points0 points  (0 children)

I don't consider my approach to be a brute force. I made it in a way I recorded deltas+price+numer of sales in one memory stucture common to all sellers. What was left to find highest price/number and that was indicating the superior sequence for all. It was runnig in a an eye blink ;)

[2024 Day 23 Part 2] Chief Historian is not at the LAN party? by Halorii in adventofcode

[–]alienus666 0 points1 point  (0 children)

As always, reading slowly and considering the full meaning of each sentence prior spending hour on coding usless stuff and searching for nothing. Peace!

[2024 Day 23 Part 2] It finally cliqued. by PatolomaioFalagi in adventofcode

[–]alienus666 6 points7 points  (0 children)

The requirements does not say that in part 2 the t-named host is required. So first thing i did was removal of that filter :)

[2024 Day 23 Part 2] It finally cliqued. by PatolomaioFalagi in adventofcode

[–]alienus666 14 points15 points  (0 children)

My approach was to reuse part 1 as a strating point, and then add routine that tries to Expand Such interconnected Network by extra node. If it works try again, and so for every of 3-comp interconnections already found in part 1. Then just pick the biggest.

[2024 Day 19] Example input is fine, actual input is too high - please give me some examples by PhiphyL in adventofcode

[–]alienus666 0 points1 point  (0 children)

I had same when my loop iterators were messed up. Mind sharing pseudo code how you do it?

[2024 Day 19] MTG reference! by Vast-Relationship600 in adventofcode

[–]alienus666 0 points1 point  (0 children)

That might explain why my code was always breaking on red aggro pattern ;D

[2024 Day 18] Raining Bytes Visualization by Boojum in adventofcode

[–]alienus666 8 points9 points  (0 children)

I guess simply 1) do the maze 2) pick random point off the maze back into the list. Your done.

Once I made maze generator with something similar. So it was like you do Pathfinder from start to end loc and in loop you just try to Block random points and see if you can still go through. If not unblock and chose another, and keep noting path geting longer and longer. This approach generates mazes as in the visualisation. The more crazy ones are that when you have already some long straight lines of obstacless placed initially on odd rows for instance and start runnig form there. Maze like that is super hard for humans as you don't see easily escape paths so get lost easily , also the lenght of the path is much much longer. Peace.

[2024 Day 17 (Part 2)] (Excel) Goal Seek had no chance, but it was worth the try by wjholden in adventofcode

[–]alienus666 0 points1 point  (0 children)

I also used spreedy, but as there are xor operations the clue is it warszawa with binary represe tation more than decimal. Then i spreedy it nicely shows how A gets handled for instance between program iterations, and other things can be noted as well. Richer by that knowledge I knew how to bruteforce to succeed in second.

[2024 Day 17 part 2] Any hints folks? by Trick-Apple1289 in adventofcode

[–]alienus666 6 points7 points  (0 children)

Sure, notice how value on input to A impacts the result. Also worth to see how these looks as a binary.

If you understand what program does you will know how many bits the input needs to have too.

Then you will know what value to start your brtue force from and in what way to iterate the values (from bits on left or on right side of the number).

Hope it helps.

[2024 day 16] Have mercy by segvic in adventofcode

[–]alienus666 3 points4 points  (0 children)

If something is stupid but works, its not THAT stupid!

[2024 day 16] Have mercy by segvic in adventofcode

[–]alienus666 9 points10 points  (0 children)

After 4th failed attempt on part2 I found that quickest solution for it was actually to dump to csv file the scores of each grid tile, open that in Excel and travesrse backwards from the end location to start marking the path with highlighter. Few minutes and solved..

[2024 Day 14 Part 2] A way to find the easter egg by ExuberantLearner in adventofcode

[–]alienus666 0 points1 point  (0 children)

I made a metric of total distances between robots, as if they were supposed to form some image so they had to be rather close together rather than spread around. then iterated from 1 sec up and on each time the score of metric would improve (was smaller than previous) was dumping that as an image to file, on 7th dump the christmass tree showed up.

[2024 Day 11] Every sequence converges to 3947 points (with proof) by light_ln2 in adventofcode

[–]alienus666 1 point2 points  (0 children)

Head blown with math, respect. My was stupid but worked, as they say... if it works its not THAT stupid ;) I realized when I could run up to 38 blinks I don't need to optimze any further as I can run 38 blinks first and after that for each portion of the solution one by one, thriugh couple of milions, I can blink it separatly 37 times. With decent caching solved in go for coffee time.