« first day (3440 days earlier)      last day (1584 days later) » 

12:07 AM
0
Q: What's the name of this retro Simpsons videogame?

PabloI remember playing this videogame when I was a teen. Does anyone know its name?

 
12:27 AM
0
Q: 1.15 - How to test for "air" in Hotbar - /execute Command

LatinPlatinHow do I test for Air in Slot 9? with the /execute command? I've came up with this so far but it doesn't work /execute if entity @a[nbt={Inventory:[{Slot:8b,id:"minecraft:air"}]}] run give @a minecraft:stick What did I do wrong?

 
 
2 hours later…
Ave
2:07 AM
@fredley wow.
 
0
Q: Minecraft, How to create/modify rollercoaster mod

eugenemy son wants to create / modify rollercoaster mod. I'm a programmer but just found out you can create your own Minecraft mod with java. Where do I start?

0
Q: How to install the same game in a Switch console with a parent account and a second Switch console with a child account?

OMAI have: A Nintendo Switch with both an adult account and a child account A Nintendo Switch Lite with only a child account (the same child account also present in the first console) I actually have two related questions (both are about installing the same game in two different consoles): I'v...

 
 
2 hours later…
4:16 AM
0
Q: Where does the game get the Unstable Rate value in osu!catch?

0x4kgiIf you completed a beatmap, you will be presented with the results screen, and hovering on the Performance Graph will show you this: This got me thinking, osu!catch is not really a timing based game, so why does it show the unstable rate and hit error? Where does it get these values? Accordi...

 
 
1 hour later…
user15026
5:21 AM
 
@Ash @Yuuki kingdom of loathing crimbo is here
unrelated:
 
user15026
Cool. :)
 
@GodEmperorDune Has Jick left the company?
 
@Yuuki no, the results were a calendar month of all mr A purchases money donated to RAINN and then ongoing 10% donated to random charities
the donations were done by someone other than jick but i don't know if they have been independently verified
 
5:39 AM
0
Q: Ships defending hypergates instead of using them in Galactic Civilization III

John I have two hypergates linked. With a ship selected I right-click a hypergate. The ship is defending the hypergate instead of using it. How do I tell the ships to use the hypergates instead of sitting there like a dunce defending them?

 
 
2 hours later…
7:43 AM
0
Q: How can I determine the version of an Angband savefile?

New AlexandriaI have a few really old save files. I don't know what version of of Angband created them. How can I determine that, so I can find the correct version to keep playing them?

 
 
1 hour later…
9:05 AM
0
Q: Keyboard stopped detecting multiple keypresses

h sI have been playing CSGO on my Lenovo Ideapad 300-15isk for more than two years. Few days back when I was playing CSGO multiple keypresses stopped working. It still detects two keys pressed at once. But, it is not detecting more than two keys. Now I can't move diagonally while shooting or I can't...

 
 
5 hours later…
1:36 PM
is there a point where the Licensed Lego Games become more reliable? have retried the first level of Lego Batman several times and every time that remote car where Robin gets the Technology suit is always the problem where it will barely move. sometimes it'll run fine for a bit but then either i have to stop it because of enemies or it just stops on it's own
i get the feeling it's some sort of glitch with how the game was built but from how i understood the Licensed Lego Games don't actually change all that much between them so don't know if any glitches get resolved in later games
 
1:54 PM
@fredley I'm pretty sure that what the worst solution to a problem I've ever written
I might have to go back and redo it
 
 
1 hour later…
 
1 hour later…
3:58 PM
1
Q: How do you use the water cannon in Marvel Spider Man ultimate power?

PabloOne daily quest I get in Marvel Spider Man ultimate power from android to win a jewel, it's to use the water cannon. But I've passed many stages and I've never seen it. Where's that? Is it an item you have to buy? Is it a secret item? How do you use the water cannon?

 
4:19 PM
1
Q: What is the most efficient way to make Concrete from Concrete Powder?

LemonI have an entire chest full of Concrete Powder that I want to turn into normal Concrete. What is the most efficient way to turn the Powder into Concrete?

 
@Ronan I got as far as building an interactive version. I think following the left wall should work, so going to try and get that working now.
 
Yeah I gave up on path finding and cheated
 
scum
 
By cheating I mean breaking kayfabe
 
Ok, following the left wall found the oxygen, now to find the min path
 
4:40 PM
yeah I started taking random paths and that very reproducibly got me stuck in the same place every time
it's funny how 15a lets you take whatever algorithm and 15b rewards you if you took the correct* algorithm
curious what your 14a strategy was btw
 
Basically save states
 
I tried backtracking with 14a and quickly found myself unable to scale up to the later examples, let alone the actual puzzle
 
Rather than pathing back to junctions to try the other branches just load a state when I was next to an unknown tile and move into it
 
oh. For 15a I just did the 15b thing.
 
Oh sorry 14
 
4:45 PM
14 is chemistry, yes
 
14a was working backwards
 
sure
and when you're just dealing with "1 FUEL" there aren't many ways to do it
 
Keep a list of things I needed, take something off the list and add its ingredients (and negative outputs if I make a surplus) then keep going until it's just ore
I think it only took like 20 or so reactions
 
I'm curious about that one, how do you make sure you're not going to be left with ore and negative outputs
 
@badp Still on 15a, just doing fucking djikstra
14 had some nasty corners
How did you do part 2?
 
4:49 PM
I cut myself on 14a enough that I looked for hints on Reddit, but didn't found much enlightenment other than "do binary search for 14b"
 
Yeah I did binary search with the target (1tr) as the starting top end. Probably could have saved a few iterations by choosing that better
 
uh, I did it between 1 fuel and, uh 2 (a trillion / ore required for 1 fuel)
the 2 was empirically proven to be necessary :P
 
I did between (tril / part1) and 100 times that
 
for 14a I ended up putting the rules into graphviz
and that told me how to do the thing
 
holy shit that storm took out a fence section in my velociraptor enclosure
 
4:51 PM
 
that was intense
 
@badp Negative outputs just means I made more of a thing than I needed, that's not a problem
 
turns out, if you read the graph left to right top to bottom, and run the associated reaction, you're done
 
@badp I did bfs but I still ended up reacting things too early
had to put an explicit check
 
I tried to go depth first and my fan out was like 25 over hundreds of choices
I tried to only consider items at the same "tech level" on that tree and that would just have let me consider 3 to the 50th power opportunities
 
4:55 PM
What do you mean by fan out? There's only ever 1 way to make an output
 
yes but given 1 SHPSF, 2 SWCWH, 40 WFDXN, 67 WBMZG, 53 WBSL, 2 CQJDJ, 41 BWQN, 12 GMQVW, 48 PDRJ, 42 RSMC how do you choose which one to produce next
I found that I'd get suboptimal answers if I picked things in the wrong order
 
So you start needing 1 fuel
Which means you need {"WLCFR":38,"GJKX":15,"LGMKD":44,"CBVXG":2,"GDKL":2,"FQGVL":77,"MKRCZ":10,"WJQD":29,"BWXGC":33,"PQCQH":19,"BKXD":24}
 
because (from the first example in the problem explanation) I would expand 1 FUEL into 7 A, 1 E into 10 ORE, 1E
 
Ah, you expand 7 A into 10 ORE and -3 A
Then next time you make A you get another -3 A
 
okay but then what if I end up with 300 ORE -14 A
do I just ignore it
 
5:01 PM
You won't get -14 A
 
no matter the order in which I do things?
 
Because you don't make more A if you need less than 0
 
hold no my numbers are wrong
1 FUEL => 7 A, 1 E => 10 ORE, -3 A, 1 E => 10 ORE, 4 A, 1 D => 20 ORE, -6 A, 1 D => 30 ORE, 1 A, 1 C => 40 ORE, -9 A, 1 C => 40 ORE, -2 A, 1 B => 41 ORE, -2 A ???
if, at each step, I choose to expand the first non-negative non-ore term (the one in bold)
 
Fuck, wrong answer.
now wat
 
check if you're off by one
 
5:08 PM
> {"FUEL":1}
{"A":7,"E":1}
{"E":1,"A":-3,"ORE":10}
{"A":4,"D":1,"ORE":10}
{"D":1,"A":-6,"ORE":20}
{"A":1,"C":1,"ORE":20}
{"C":1,"A":-9,"ORE":30}
{"A":-2,"B":1,"ORE":30}
{"A":-2,"ORE":31}
 
so anyway if you run the recipes in that order I described you immediately reach your answer without having to guess
though I suppose you won't know how much surplus of every material you'll have unless you also track that
 
But producing surplus is fine
 
sure
I'm just saying your algorithm produces more data
 
@badp It's probably that, I hope
 
@badp What do you mean by more data?
 
5:11 PM
@fredley also surely there must be an easier way to get the length of the shorter route, mustn't there
 
It wasn't that
 
@Ronan my algo won't tell you you also have 2 leftover A's
you don't need the actual route, just its length
 
@badp Given I'm using a djikstra library, maybe not?
 
@fredley well that's great news if 15b lets you use dijkstra!
 
As in, I could traverse the entire maze left hand, then right hand, culling revisited nodes
 
5:11 PM
@badp But you need to know that in case enough of the surplus adds up that you can skip making an output
 
But chucking it into djikstra is easier
 
@fredley well that's great news if 15b lets you use dijkstra!
I mean you can probably still do it with dijkstra
 
 # ############### # ############### ###
#.#...............#.#...............#...#
#.#.#######.#####.#.#.#.###.#########.#.#
#.#.#.......#...#.#.#.#.#...#.........#.#
#.#.#.#######.###.#.#.#.#.###.#########.#
#.#.#.#.....#.....#...#.#.#...........#.#
#.#.#.#.#####.#######.#.###.###########.#
#...#.#.#.....#.....#.#.....#.....#.....#
#.###.#.#.#####.###.#######.#.###.#.###.#
#...#.#.#.#.....#...#.....#.#.#.#.#.#...#
 ##.#.#.#.###.###.###.###.###.#.#.#.####
#...#.#...#...#.#.....#.#.#...#.#.#.#...#
pls
 
what's the starting point in that graph
 
S
 
Oxygen pos: Coord { x: -20, y: 12 } in steps 1596
Min cost: Some((Coord { x: -20, y: 11 }, 274))
wat
dj pls
 
1596 is WAY off the mark
 
Thats the steps to traverse the whole maze, ignore
 
That's the right position though
 
wow your maze starts with a huge corridor
also I guess you're torturing yourself with Haskell
 
5:16 PM
Hmm?
 
the word "Some"
274 is also wrong btw
 
That's Rust, but it means the same thing
 
ah
 
@fredley Is your algorithm moving diagonally?
 
then he'd get a much lower answer
 
5:17 PM
hang on, gonna render my path
 
274 < 380
 
@Ronan No, couldn't be
@Ronan orly
 
That was for @badp's sake
 
Oh it is, it's skipping around corners
 
womp
 
5:18 PM
#X#.XXXXXXXXXXX.#.X.#...#.....#.X.#.#...#
#X#####.#######X#X#.###.#.###.###X#.#.#.#
#X#.....#.XXX.#.X.#.#S#.#.#.#.#.X.#...#.#
#X#######X###X#####.#X#.#.#.#.#X#######.#
#X#.XXXXX...#.X.#...#X#.....#.#.XXXXXXX.#
#X#X###########X#.###X#######.#########X#
#.X.#...#.XXX.#X#...#.XXXXX.#.#.X.#.XXX.#
 ######.#X###X#X###.#######X#.#X#X#X####
#.XXX...#.X.#.X.#.....#.XXX.#.#X#X#.X.#.#
rekt
 
also 274 is too high, rather than too low
 
cos my algo steps round the corner all at once
 
so something else must be wrong
 
@badp Nah my answer was 380
 
I've got 270 for fredley's
 
5:19 PM
They're different mazes
So you can't copy someone else's answer
I thought he was running on mine?
 
well the one he posteed
 
Ok I'm getting 380 on rons now
 
0
Q: Is still possible to play Just Dance 2015 with Android app?

pinckermanI've purchased a used copy of Just Dance 2015 for my niece to see if the game is suitable for her, in order to eventually get a newer version for Christmas. As far as I know, it's possible to play Just Dance using an Android app called Just Dance Controller but it appears that now it only supp...

0
Q: Elite Dangerous: Value of Planet Surface Mapping

fgysin reinstate MonicaI recently started surface mapping planets to earn some credits. I found out that you can scan (and sell) surface maps even of planets that are not 'unexplored' but actually explored already... So this seemed a good idea and it pays out pretty well. While selling mappings I have seen a vast rang...

 
Yeah 15b is simple djikstra. Compute whole map and take highest cost.
 
or you could just have done a flooding algorithm for both problems...
you just have different stopping conditions
tbf I was lucky that 15b didn't ask me anything about the actual shortest path
BUT SCRYING THE FUTURE IS AN IMPORTANT SKILL FOR SOFTWARE DEVELOPMENT
wherein I aggressively refuse to read puzzle input from STDIN
 
5:27 PM
Done, second part was trivial
I'll catch up with @Ron during the week
Damn weekend commitments
 
@badp You can join my leaderboard if you want 194428-5ca78c8d
 
Do you enjoy food puns and misheard lyrics?
https://twitter.com/BBCOne/status/1203252814174183424
 
0
Q: What determines if a Mech is available as salvage?

Kyle WIn MechWarrior 5, what determines if a Mech is available for salvage at the end of the mission? I've tried blowing the legs off, but that doesn't seem to be the deciding factor.

 
6:42 PM
@Unionhawk is 12-2 supposed to return to the initial conditions or do I have to track all previous states?
 
@MBraedley Try running the step backwards in your head
 
0
Q: Can you ask how to pass a stage? What tag should I use?

PabloIf you want to ask about a certain objective, or what do you have to do to pass a stage in a video game, is this allowed on Arqade? If so, which tag do you use for the question when it isn't one of the best known games and there isn't a tag?

 
@Ronan For one step, the positions don't change, but I don't see how that helps me.
 
I meant in general, it was a roundabout way of giving you a hint that every state has a single previous state, so there's no way to get to any of your middle states without passing through the first one
 
I've gone through over half a billion iterations. That seems a little high to me.
 
@MBraedley Nope that's correct
Check the final instruction
 
So I should be looking for the cycle rate of each of the planets, then get the LCM for all 4?
 
I don't think that would work, because each planet affects the others, so they won't loop regularly
But you're onto something
 
Or, I guess they're moons. I should update my code.
 
7:08 PM
I called my empty space variable "air" in today's problem
 
7:36 PM
My cycle rate idea isn't working out...
 
7:47 PM
@MBraedley You've got the right idea with looking for an LCM
 
Yeah, I caved and looked at the solution megathread. Now I know what to do, just need to figure out the implementation.
 
Checking for loops on each axis right?
 
yeah
 
8:02 PM
Yeah I looked at the thread too, it didn't occur to me that the motion is periodic, and more specifically that each axis velocity is periodic and independent of the others
 
8:16 PM
Why does the C++ standard LCM function only take 2 arguments? I mean, I know how to use GCD to get a 3 variable LCM, but the function should be variable.
 
You can chain them though, but it would be nice
 
@MBraedley Isn't lcm(a, b, c) the same as lcm(a, lcm(b, c))?
 
@murgatroid99 Maybe?
Yes. lcm(a, b) = a * b / gcd(a, b)
 
I mean, just definition-wise, the least common multiple of any three numbers also has to be a multiple of the least common multiple of any pair of those numbers
 
@Warframe people (@GnomeSlice @GodEmperorDune ) I donated some 41 tellerium and 2 million credits to help do dry dock things
 
8:56 PM
thanks
 
@InvaderSkoodge do you find that using attack is a lot less common in flash Duel than dashing strike?
 
alright, drydock building now, should be done in 12 hours
 
Maybe I don't have a good strategy but getting in close to do an attack seems like asking to get attacked first
 
9:49 PM
0
Q: Appear online while gaming on steam

ToikleIs there any way to appear just online and not in-game to your friends (not offline, I know how to do that) while you're in a game?

 
 
1 hour later…
10:51 PM
1
Q: How much free space do I need?

LessPop_MoreFizzI'm interested in Ring Fit Adventure, but given the layout of my room, I have a relatively narrow strip of space between the Dresser/TV and the end of my bed. Is this enough room to successfully perform all or most of the exercises or will I find myself cramped and struggling to follow along?

 
11:07 PM
Hmm, I don't think running through every possible game state is the appropriate approach for 13-2.
Nope, even release had a stack overflow.
 
@MBraedley hint, my 13-2 solution had 12 digits
wait no
wrong day
 
@badp No, that was 12-2
 
for 13-2, the simplest thing you can imagine works
people on reddit are just showing off
 
Yeah, find the ball, find the paddle, and move the paddle towards the ball.
Actually, I don't need to find the ball and paddle, I just need to store the values when they get output.
 
that's an idea I didn't have
I guess at some point I'll have to come up with some sort of companion class to my computor class that can handle input and output listeners while also being able to encapsulate a state of its own so I can avoid doing so with global variables
I'll still be unable to drive inputs and outputs with recursive functions but
 
11:17 PM
@badp I created an IO connector for the amplifier problem.
 
ah, for that problem I just hardwired input and outputs together
 
Difficult for me to do with my implementation. Using callbacks, and need to store the value temporarily.
 
I mean I'm using callbacks for these later problems
but they're just functions, and not bound methods of some other object
 
I can use just functions (or lambdas), but most of the time it makes sense to bind them to a method.
 
yeah idk how to do that in C++
probably the sensible thing is to just have an listener object and having a reference to the whole thing
 
11:22 PM
std::bind(function_ptr, obj, ...)
Although lambdas, once you learn them, are a bit easier most of the time.
 
or I could just have less int (*input_handler)(const computor); void (*output_handler)(const computor, long long int); and more handler hand; value = hand.in(computor); hand.out(computor, output);
 
@GodEmperorDune then you can pay 6 million credits to buy a railjack
Or just use someone else’s
 
I was really happy to learn that smalltalk's LCM could hand me a 15 digit number without me having to loop in weird bigint implementations
 
0
Q: Minecraft Creative isn't working right

Emma WhiteSo I was on Minecraft, and had my gamemode set to survival. I made sure i never EVER switched it to adventure mode, and I never pressed F1, but it won't let me break or place anything! It also wouldn't let me sleep in a BED! I don't know what to do. If anyone knows anything please, tell me. Thank...

 
11:48 PM
@Dragonrage credits are easy to grind
Much easier than tellurium
 

« first day (3440 days earlier)      last day (1584 days later) »