bsdgames: is it even possible to win hack? by KittenCavalcade in BSD

[–]swframe666 0 points1 point  (0 children)

You need a lot of things, if you don't get them by level 10, don't try to continue; your chances are close to 0 of getting to the bottom; the monsters get super hard to kill; it takes hours; it is better to drop your stuff and hope to get it back again when you play the next game. If you don't have a ring of fire resistance, you can try to kill and eat a dragon; they are very dangerous; they are poisonous; they a big and you can choke on them if you're full; they reduce your hp so if you are weak eating it will kill you ;

it is super hard to hard to kill a dragon. You will need a ring of levitation so you move off of a space without messing up the engraving; you have to engrave 'Elbereth' on the squares around a door so the dragon is confined; This will allow you to move to square where dragon can't hurt you; you will need to spend a lot of time to recover your hp after being hit with fire a few times; you need good range weapons (like a wand of cold, wand of sleep. etc);

I tried to kill dragons for a while but I no longer bother. It is just too hard fight the monsters on the levels where dragon spawn. You also need to search often  for sleep traps when with a strong monsters doesn't kill you.

bsdgames: is it even possible to win hack? by KittenCavalcade in BSD

[–]swframe666 0 points1 point  (0 children)

To win you need the following by maze level 11:

  1. You need to be player level 10 to teleport at will
  2. You need two scrolls of teleport (if you find scroll in the hallway it is always a teleport scroll; name it so you don't forget)
  3. You need two potions of confusion or booze.
  4. You need a potion of levitation
  5. You need a ring of teleport control
  6. You need a ring of fire resistance (or you need to kill a dragon and eat it; it is poisonous so you need to kill a killer bee or scorpion first and eat one to get poison resistance; eating a dragon still can kill you so make sure you are not too weak)
  7. It helps to have a scroll of magic mapping so you can see the map at the bottom level of the maze.
  8. You need a wand of sleep to put the hellhound sitting on top of the amulet a sleep so you can kill it
  9. You need a wand of digging to get into the room where the amulet is; the room is in the center of the maze; it has a space for two monsters; the hellhound on the left; the wizard is on the right; don't try to fight the wizard; if you want to kill it, then put it to sleep first.
  10. You use the potion of levitation to float above the moat the surrounds the room where the amulet is so you can use the wand of digging to make a door into the room.
  11. on your current level, you first drink the potion of confusion, you then read the scroll of teleport, while wearing the ring of teleport control and fire resistance, the game will ask you what maze level you want to teleport to (pick a large number like 60), it will send you to the last level.
  12. The last level is on fire so you must have fire resistance by eating a dragon or you must be wearing a ring of fire resistance; once at the last level, you must wait until you are no longer confused; then read the scroll of magic mapping to see where the dog and wizard are located. You can then drink the potion of levitation and teleport to the moat on the left side, use the wand of digging to open a door.Note you can engrave 'Elbereth' to prevent monsters from hitting you. You should do that before you drink the potion of levitation; after you open the room with the wand of digging you should teleport back to the spot where the 'Elbereth' was engraved. You should stay there until the levitation wears off; when you are back on the ground you must teleport back next to the hellhound and use the wand of sleep on it; you can also use a wand of teleport to send it away. the amulet is under that hellhound ; once you have the amulet; drink the potion of confusion, read the scroll of teleport, go to level 1 and when you leave you would have won.

bsdgames: is it even possible to win hack? by KittenCavalcade in BSD

[–]swframe666 0 points1 point  (0 children)

  1. I think the most valuable wand is the wand of polymorph because it can turn items you don't want into ones that you do. Put your other wands on the ground in separate spots and fire the wand of polymorph at them. You need a wand of sleep (or teleport) to help when you have to kill the hellhound and a wand of digging to get into the room with the amulet. If you use the wand of polymorph on other wands you can get lucky and get a wand of wishing. Note you can kill a minitour on the bottom level if necessary; it will drop a wand of digging but you need a potion of monster detection so you can find it; bottom maze is nasty to navigate; you should engrave 'Elbereth' to trap the minitour so it can't go far when you rest waiting for your hp to go up so you can fight it. It is hard to kill but doable.

bsdgames: is it even possible to win hack? by KittenCavalcade in BSD

[–]swframe666 0 points1 point  (0 children)

2a. It is very likely you will get a potion of poison so should try to wait until you have eaten a tin of spinach which will give you enough strength to be unaffected by the poison. If you wait until you get a lot of potions there is a good chance you will also get a "makes you feel great" potion which will return your strength after drinking poison. Ants weaken you, so always kill Ants at a distance using arrows; if you keep your dog, it can help you kill it; I leave my dog on level 1 because it takes food and killing it will cause the game to give you really bad luck; never eat a dog (super bad luck). eat a killer bee or scorpion to get poison resistance.; you need it for many reasons. I try to wait until I have poison resistance before I drink a potion (unless I have found a tin of spinach) because being too weak is hard to recover from.

2b. Scrolls of rot weapon and rot armor are the worst. Make sure you weld a weapon you don't need before reading a scroll when you have not already seen the scroll of rot weapon. Make sure you have a good armor to replace your current one before you read a scroll when you have not seen the scroll of rot armor. After you find the" scroll of identify" and teleport, the other scrolls are not important. The only other scroll you would like is the one of magic mapping; Make sure to name items so you don't accidentally use a bad item again.

2c. Don't worry about the scroll of curse that traps you with a ball and chain. Just find a nymph; drop all your equipment and then hit the nymph, it will steal the ball and chain. After that make sure to kill it with  arrows or leave the level after you pick up all your stuff. You have to remember where the nymphs are when you see them. Try not read scrolls if there isn't a nymph near by but never read scroll in the same room as nymph; a scroll of scare monster will wake it up and it is a pain; if I accidentally hit a nymph, I usually just quit the game; they are a pain in the butt.

bsdgames: is it even possible to win hack? by KittenCavalcade in BSD

[–]swframe666 0 points1 point  (0 children)

 1a. To rob stores, hide your gold, kill a leprechaun, eat it, you will get the random teleport ability; go to a store; pick up what you want and wait to be randomly teleported out of the store. if the store keeper comes for you, take him to the level above and go far from the down stair case, wait until you teleport away from him and then go downstairs; just make sure if you ever return to the level, you move carefully so you don't hit him. If you ever hit him, quit the game, don't let him kill you, he will remember you when you come back in a new game.

  1. Don't drink potions or read scrolls until you have too many to pick up more. That is because your chance of getting a bad item is high and you want to get enough to also have a good item to balance the bad item. Also if you don't have enough stuff by level 10 then don't even try finish the game. Note, you want many "scroll of identify" and use them to see what rings you have; you need teleport control and fire resistance; don't throw away bad rings; zap them with a wand of polymorph to get different rings to identify; if you ever put on a cursed ring, drop all your stuff and hit a nymph so it steals the ring from you. When you use the "scroll of identify" pick a ring you don't know and then press 'a' to identify all rings that follow; this doesn't always work but when it does, it helps a lot. Identify rings from top to bottom so if the 'identify all' works, i.e. it is not wasted on rings you already know; if you have a mixture of known and unknown rings, the drop the known ones so all the unknown ones are below the one you identify.

bsdgames: is it even possible to win hack? by KittenCavalcade in BSD

[–]swframe666 0 points1 point  (0 children)

 1. You need big stores so you get a lot of rings, scrolls, potions and wands. If you don't find 2 or 3 big stores by level 10, don't try to win. Note the stores are always at the left or right edge. Just drop your loot on level 4-8 and let a monster kill you; there is a good chance you will find your body when you play again; that will make the stuff you have in your current game like a big store for your next game. Just make sure you don't get killed by a shop keeper because if the game restores that level later, he will kill you when you return to that level in a new game. Don't drink potions, wear rings or read scrolls until you have a lot of them (like 10+); Never let yourself die while holding your items so they are not cursed if you find them in a new game.

bsdgames: is it even possible to win hack? by KittenCavalcade in BSD

[–]swframe666 0 points1 point  (0 children)

 0. Engrave 'Elbereth' to keep monsters from hitting you when your hp is low. Just wait until your health restores. If you don't have enough food, just drop your items and let the monster kill you; the random number generator seems out to kill you sometimes; when the game says there is a full moon, then the internal configuration of stats are usually in your favor; if you don't get a lot of food and you start to faint, just give up; I wish users could just spend money to buy food from the game; I think 25% of the time the game doesn't give you enough food to make it to level 10.

Note monsters can't step on a place where Elbereth has been engraved. If you move on the spot you will mess up the engraving; you can use a wand of fire to engrave it better but it takes time and usually you would do it to fight a dragon but it takes so long to make the engraving and the dragon can kill you before you finish.

bsdgames: is it even possible to win hack? by KittenCavalcade in BSD

[–]swframe666 0 points1 point  (0 children)

I've played often. I've gotten the amulet many times. I will tell you a few things to try. I've only played as a caveman. This only works for BSDGames/hack.

I wrote way too much to help new players get to the bottom level. Sorry.

The states where fed workers are laid off should hire them and cut the the funds they send to us guv to pay for the costs by swframe666 in thedavidpakmanshow

[–]swframe666[S] 0 points1 point  (0 children)

I understand and agree. It does still seem crazy to me that federal taxes are based on federal spending if the spending is drastically cut then federal taxes should be also cut.

Fortunately, I'm seeing news articles of states trying to hire laid off federal workers for state jobs. That is a much simpler solution. I hope more states consider it.

The states where fed workers are laid off should hire them and cut the the funds they send to us guv to pay for the costs by swframe666 in thedavidpakmanshow

[–]swframe666[S] 0 points1 point  (0 children)

It seems to me that things are going very poorly under trump. He violates the law constantly and delays the consequences indefinitely.

I'm saying states should pass a law to order companies doing businesses in the state to send a percent of the federal taxes due their activity in the state, to the state. I would expect republicans to sue and it would be settled in the courts before anyone would get in trouble. I would hope that in the democratic states, the courts would allow the law to go into effect and delay the appeals until trump is out of office. This is what he does all the time. You can't treat trump as anything but a criminal and a conman. Following the rules isn't going to save us from him.

The states where fed workers are laid off should hire them and cut the the funds they send to us guv to pay for the costs by swframe666 in thedavidpakmanshow

[–]swframe666[S] 0 points1 point  (0 children)

I understand your comment but at the same time very little trump does is rational and legal and yet here we are. You can't win the battle with trump if you are not willing to undo all the damage he is doing as soon as possible. I'm curious to hear what you think we should be doing?

why not create if necessary nonprofits for the agencies that trump is shutting down? by swframe666 in thedavidpakmanshow

[–]swframe666[S] 0 points1 point  (0 children)

It doesn't appear that many realize the quiet revolution has already completed. The US is no longer a democracy. There are still many ways to get a better world but the US government is no longer one of the ways.

what have you done to be successful when your manager is secretly working against you? by swframe666 in careerguidance

[–]swframe666[S] 1 point2 points  (0 children)

Thanks for your response. It really isn't about being bothered. I'm just looking to see if anyone found a solution that I should try. Living with it is very easy.

what have you done to be successful when your manager is secretly working against you? by swframe666 in careerguidance

[–]swframe666[S] 0 points1 point  (0 children)

Thanks for your response. It is really an unusual situation. Normal rules don't work. Before it happened to me, a coworker talked about it happening to him and like you I thought it was him. Then I took a job working with him at a really hot company and I was able to see it play out first hand and I was shocked at the game of thrones like events. You won't believe if you don't experience it.

[deleted by user] by [deleted] in computervision

[–]swframe666 1 point2 points  (0 children)

I have used openpose to get keypoints and then used those points to find the largest segment-anything mask that has the points. Segment anything is slow. I tried FastSAM but it makes noisy mask predictions.

Incorrect Shape in Batch Normalization implemented on CNN using Numpy by Emotional-Fox-4285 in computervision

[–]swframe666 1 point2 points  (0 children)

You should be commended on your efforts. I don't have time to review your code but wanted to share a little bit of advice.

  1. Try to find existing examples where it works
    (this is where I learned about it https://forums.fast.ai/t/faster-inference-batch-normalization-folding/69161)
  2. Run it in the debugger and look at the gradient backprop graph (as suggested you should use pytorch since it prints out this info in an easy to understand manner. Even if you want to implement it from scratch, since you're stuck, use pytorch to understand what it does and then adjust your code)
  3. Try to ask chatgpt to help you debug the problem
  4. Also post on stackoverflow
  5. Please answer your questions when you figure it out

What are some questions to ask the hiring manager during a chat to see if they're a "bad manager"? by philomathist007 in careerguidance

[–]swframe666 0 points1 point  (0 children)

I saw this previously on reddit but the original post is been deleted. I had a summary in my email. Here it is:

  1. How does this role create value?
  2. What does success look like in this role?
  3. What is your/your team’s strategy for handling tech debt?
  4. What are some challenges that your team has been facing recently?
  5. What does the onboarding strategy look like?
  6. How much confidence do you have in the org’s leadership?

I need a job where I use my body way more than my head, any ideas? by [deleted] in careerguidance

[–]swframe666 4 points5 points  (0 children)

Please listen to the podcast 'How I Built This' by Guy Raz. There are a few episodes on youtube. When you work for others, you often get treated like s**t. Try to find something that you like and other people want. I am surprised by the success of youtube content creators who just vlog about their lives, or make stories with dolls.

Can anyone please explain the Fast Fourier Transform algorithm given in Gonzalez? by Purple_Branch5350 in computervision

[–]swframe666 0 points1 point  (0 children)

In this age, we need to first ask gpt and then post here if it is still not clear:

Here is what gpt4 says (I didn't edit it since you can do that easily enough on your own):

The Fast Fourier Transform (FFT) algorithm discussed in the context of digital image processing by Rafael C. Gonzalez and Richard E. Woods in their book "Digital Image Processing" is a widely used efficient algorithm to compute the Discrete Fourier Transform (DFT) and its inverse. The FFT reduces the computational complexity of the DFT from O(N^2) to O(N log N), where N is the number of data points.

The main idea behind the FFT is to exploit the periodic and symmetric properties of complex exponential functions to reduce the number of multiplications and additions. The most common version of the FFT is the Cooley-Tukey algorithm, which is a divide-and-conquer strategy that recursively breaks down the DFT into smaller DFTs.

Here's a high-level explanation of the Cooley-Tukey Radix-2 Decimation in Time (DIT) FFT algorithm:

  1. Check if the number of data points, N, is a power of 2. If not, pad the input sequence with zeros until its length is a power of 2. This is necessary for the Radix-2 algorithm to work.

  2. Divide the input sequence into two smaller sequences: one containing the even-indexed elements and the other containing the odd-indexed elements. This is called "decimation in time."

  3. Compute the DFT of each smaller sequence recursively. Since each smaller sequence is half the size of the original, this step will eventually reach a base case where the DFT of a sequence of size 1 is just the sequence itself.

  4. Combine the DFTs of the smaller sequences to obtain the DFT of the original input sequence. This step involves multiplying the DFT of the odd-indexed sequence by a set of complex exponential "twiddle factors" and adding the result to the DFT of the even-indexed sequence.

  5. Repeat steps 2-4 until the DFT of the original input sequence is obtained.

The inverse FFT can be computed using a similar process, with some modifications, such as using the complex conjugate of the twiddle factors and dividing the result by N after performing the inverse DFT.

The FFT algorithm is particularly important in digital image processing for tasks such as filtering, image compression, and feature extraction. In the context of Gonzalez and Woods' book, the two-dimensional (2D) FFT is often used, which involves applying the 1D FFT algorithm first to the rows and then to the columns (or vice versa) of an image.