go to post Bert Sarens · Dec 19, 2017 Well I did the same as Ivo, just kept running the 2 jobs in the same loop.I think you can trade info with globals as well.
go to post Bert Sarens · Dec 16, 2017 The breaks are hard to deal with indeed. I have 1h tops and then I have to take care of the kids. After that I have to hope that I find some time at work.
go to post Bert Sarens · Dec 16, 2017 I was 11 seconds faster on part 2 then you today dmitry. That was close.I think I could have been faster if I didnt brute force it. Once you get a cycle I guess you can calculate where you should end up. I just did all 1B iterations :p
go to post Bert Sarens · Dec 15, 2017 My best result for the leaderboard was today: Day Time Rank Score Time Rank Score 15 00:10:36 312 0 00:13:22 198 0 And t hat means I am still only top 200. I was 4 minutes to slow.How close have you guys come to top 100? EDIT: I could have been 1 minute faster btw if I didnt submit the result of the test case as the first result. Waiting one minute doing nothing sucks.
go to post Bert Sarens · Dec 13, 2017 Jozef, Have you allready joined our intersytems private leaderboard? the code is: 130669-ab1f69bf(you can join multiple btw if you are allready in a leaderboard)
go to post Bert Sarens · Dec 12, 2017 Can the community code itself be added to repository?I sometimes have the feeling that pages are very slow and I want to contribute ^^
go to post Bert Sarens · Dec 9, 2017 That is fine for me.The only thing that we will miss a bit is the dirty code in case you clean in it up. But I can live with that. I learned a lot by watching the other repositories :)
go to post Bert Sarens · Dec 8, 2017 Can you make it a requirement to share your code?That way, we can learn something from other people and how they solve things.
go to post Bert Sarens · Dec 7, 2017 It is not that the task was so difficult, for me it was more that debugging it was very complicated.That and understanding the assignment was not easy for me toady.
go to post Bert Sarens · Dec 6, 2017 There are some videos on https://www.reddit.com/r/adventofcode/ doing speed runs.They are mostly using python wich is very good at mapping functions to inputs. some playlists below:https://www.youtube.com/playlist?list=PLqhjTZS4RhCe-TMJlGvlXu7X_NmZaUtDehttps://www.youtube.com/watch?v=bCnTOC5l7TY&list=PLqLJjAz977SsDLGLmDx5sZcyD4JkmVxO0&index=2
go to post Bert Sarens · Dec 6, 2017 Oke,The guys on the leaderboard are pretty insane.I got up 2 mornings at 6am. (Thats when it starts for me.)Started programming but being done and making no mistakes in 10 minutes or less to get on the leaderboard is just nuts.
go to post Bert Sarens · Dec 6, 2017 I implemented a simple hash function for it. I just created a new word from all the letters in alphabetical order.If it's the same word. tadaaa. Code is found in my bitbucket above.
go to post Bert Sarens · Dec 3, 2017 Not getting up at 5 am here either.But seeing different solutions in cache is worth it.
go to post Bert Sarens · Dec 3, 2017 Where is Danny when you need him? I guess he got a bit tired by doing 2016 one :)
go to post Bert Sarens · Dec 3, 2017 My solutions are here: https://bitbucket.org/bertsarens/advent2017/
go to post Bert Sarens · Dec 2, 2017 I joined it :) PS.: you can have multiple private leaderboards, in case you wonder.
go to post Bert Sarens · Sep 21, 2016 The argumentless-For is the worst in showing intent of the code.A quit statement can be anywhere in the code. There is no clear definition as to where to put the condition for ending the loop.What is wrong with a while that shows clear intent: s struct = $ORDER(TABEL(""),1,data)while (struct'="") { s struct = $ORDER(TABEL(struct),1,data) }