Hacker Newsnew | past | comments | ask | show | jobs | submit | geluso's commentslogin

Awesome album picks. Odelay looks especially great on your card.

I made something like this for TV shows and movies using floppy disks. Each floppy has a text file with filepaths of videos on a hard drive. When the floppy is inserted a bash script detects it and plays a random video from the text file on the floppy.

I like the physicality of systems like this. It is much more satisfying to to flick through physical items than to scroll through a digital list of things.

You've got great artwork. I need to up the artwork on my floppys!

There's a demo video in my repo: https://github.com/geluso/floppy-vision


I collect and maintain a list of examples like this. Usually stuff I see somewhere else or random ones that pop into my head.

My favorite simple one: "Unlike whiskey, you can't water water down."

My favorite long one: "I want to put a hyphen between the words Fish and And and And and Chips in my Fish-And-Chips sign"

https://5tephen.com/loopdeloops/


It's longer than that:

    "Wouldn't the sentence 'I want to put a hyphen between the words Fish and And and And and Chips in my Fish-And-Chips sign' have been clearer if quotation marks had been placed before Fish, and between Fish and and, and and and And, and And and and, and and and And, and And and and, and and and Chips, as well as after Chips?"

  - Martin Gardner


The passage "Wouldn't the sentence 'I want to put a hyphen between the words Fish and And and And and Chips in my Fish-And-Chips sign' have been clearer if quotation marks had been placed before Fish, and between Fish and and, and and and And, and And and and, and and and And, and And and and, and and and Chips, as well as after Chips?" would sprawl across the page if newlines were placed between the and words, and words and Fish, and Fish and and, and and and between, and between and Fish, and Fish and and, and and and and, and and and and, and and and and, and and and and, and and and And, and And and and, and and and And, and And and and, and and and and, and and and and, and and and and, and and and and, and and and And, and And and and, and and and And, and And and and, and and and and, and and and and, and and and and, and and and and, and and and Chips, as well as after Chips.


Here's one from comedian Brian Regan: reservation reservation reservation (second thoughts about dinner plans in a Native American community).


I have two ... things ... I don't know if this type of phrase has a technical name.

my minute newt

my migrating grating

The first one is minute as in very small.

The second one the grating referred to a noun (as in diffraction grating), not a verb.


oh man I got really lucky and was prompted with a picture of Italy. I got it right on my first try. I didn't realize the country images rotated!


Your password must be at least 5 characters.

Your password must include a number.

Your password must include an uppercase letter.

Your password must include a special character.

The digits in your password must add up to 25.

Your password must include a month of the year.

Your password must include a roman numeral.

Your password must include one of our sponsors:

The roman numerals in your password should multiply to 35.

Your password must include this CAPTCHA:

Your password must include today's Wordle answer.

Your password must include a two letter symbol from the periodic table.

Your password must include the current phase of the moon as an emoji.

Your password must include the name of this country.

Your password must include a leap year.

Your password must include the best move in algebraic chess notation. (picture of chess puzzle)

← This is my chicken Paul. He hasn't hatched yet, please put him in your password and keep him safe.

The elements in your password must have atomic numbers that add up to 200.

All the vowels in your password must be bolded.

Oh no! Your password is on fire. Quick, put it out!

Your password is not strong enough

Your password must contain one of the following affirmations:

Paul has hatched! Please don't forget to feed him, he eats three every minute.

A sacrifice must be made. Pick 2 letters that you will no longer be able to use.

Your password must contain twice as many italic characters as bold.

At least 30% of your password must be in the Wingdings font.

Your password must include this color in hex.

All roman numerals must be in Times New Roman.

The font size of every digit must be equal to its square.

Every instance of the same letter must have a different font size.

Your password must include the length of your password.

The length of your password must be a prime number.

Uhhh let's skip this one.

Your password must include the current time.

Is this your final password?


I would find it hilarious if someone would come up with a password generator that generates passwords that would pass this game.


Should be pretty easy, since you can check the generated password against all the criteria. Making it fast might be difficult though


I don't think it's easy. Verification is much easier than generating correct solutions for this.

Looking at the JS, these rules use RNG such that you can have an inconsistent or impossible password. E.g. if the only youtube video URLs that work with your duration have roman numerals that multiply above 35 in it you are hard stuck. Your youtube URL can also hard stuck your atomic number summation to 200 if it happens to contain enough elements that adds above 200. Your color hex can hard stuck your 25 sum, etc. The code does not try to generate working passwords given all the rules, it simply adds checks and randomly generates the requirement per rule.

You'd have to have the RNG rules to align well in order to win i.e. youtube video with no roman numerals or numbers or elements, captcha with no numbers or roman numerals or elements, to minimize conflict.


For a given video length, there will be some youtube video urls without roman numerals, and with low digit sum, and atomic number.

I first search this on Google

"0:00 / mm:ss" site:youtube.com

Where mm:ss is the desired length. Then I used some Javascript to scrape the results, finding only youtube urls without roman numbers, and print them out sorted by digit sum and atomic number

I've done it a few times, never had a situation where there was no suitable url

As for the color hex, if it's not suitable, you can regenerate it


I wonder if something like quickcheck could be used to randomly generate characters which pass the criteria. I don't know how it would handle Paul though...


Well, you could always upload your own YouTube video...

Make the generator use Pupetter and your YT credentials to upload an empty mp4 video of the given length.


I uploaded a video quick just to pass that step since the length was hard to find. The generated video ID was a bunch of Roman numerals so I was totally fucked.


Re-upload until you get a good ID


I almost overturned my table when Paul didn't survive the fire. No way I'll play again!


I played again and fcking Paul overate


I threw this into ChatGPT and got a lot of the way there in one shot. Then had to go back and add in some stuff like the wordle answer and captchas…


You forgot rule 24: Your password must include the URL of a x minute and y second long youtube video


I'm stuck at "iatetomatoesyesterday0265Z#521juneVpepsiVIIxngxcaboutAg[moon emojis]italy2020Bf7+" trying to solve the chess notation puzzle.

I especially laughed at the rule "must include today's Worldle" and I'm happy with my solution including every emoji for "must include the current phase of the moon as an emoji."

(HackerNews doesn't seem to display emoji. My solution is to paste every moon phase emoji.)

Excited to see what's next after figuring out the best move in this Chess puzzle.

This reminds me of trying to manually construct an Autogram like below. This one is a quote someone else made. I tried to do it myself and it is so hard because the counts keep changing as you write out other counts!

Only the fool would take trouble to verify that his sentence was composed of ten a's, three b's, four c's, four d's, forty-six e's, sixteen f's, four g's, thirteen h's, fifteen i's, two k's, nine l's, four m's, twenty-five n's, twenty-four o's, five p's, sixteen r's, forty-one s's, thirty-seven t's, ten u's, eight v's, eight w's, four x's, eleven y's, twenty-seven commas, twenty-three apostrophes, seven hyphens and, last but not least, a single !

https://en.wikipedia.org/wiki/Autogram


I got the chess one pretty easily but I'm stuck on "The elements in your password must have atomic numbers that add up to 200". I haven't found a way to satisfy both this and "The roman numerals in your password should multiply to 35" simultaneously. Iodine (I) and Uranium (U) have high atomic numbers which blow out way higher than 200 and I haven't found a way to avoid them.

Edit: OK, just realised that it's case sensitive. So I can use a lower case "u" to avoid it being interpreted as an element.


I had a chess move that's Rg8+ but Rg has an atomic number of 111...


You wanna start the chess move with Q...


Many of the puzzles are different for each player, I personally had Rf8+


Yeah, I got an Rf8+ and between that and the roman numerals, didn't know how to get down to 200. Then I tried to move the egg to a different spot and the chicken died.


But the best move in the chess puzzle I got requires moving the rook.


Qxg7+. Chess subreddit has a counter of days without a puzzle that starts with a queen sacrifice.


Technically impossible since queens cannot materialize out of thin air, except in crazyhouse.

Also Rg1+ is a rather pretty attraction/clearance sacrifice/double check/mate-in-2.


The chess puzzle is different for everyone...


XXXV also works for the roman numerals.


XXXV * I = 35. Po (from Poland), V, and I add up to 160, so you need to add Zr.


Seems to accept Qxh6+ as well as the other answer given here, I guess both work!


Python:

  >>> sentence = """Only the fool would take trouble to verify that his sentence was composed of ten a's, three b's, four c's, four d's, forty-six e's, sixteen f's, four g's, thirteen h's, fifteen i's, two k's, nine l's, four m's, twenty-five n's, twenty-four o's, five p's, sixteen r's, forty-one s's, thirty-seven t's, ten u's, eight v's, eight w's, four x's, eleven y's, twenty-seven commas, twenty-three apostrophes, seven hyphens and, last but not least, a single !"""
  >>> import collections
  >>> sorted(collections.Counter(sentence.lower()).items())
  [(' ', 73), ('!', 1), ("'", 23), (',', 27), ('-', 7), ('a', 10), ('b', 3), ('c', 4), ('d', 4), ('e', 46), ('f', 16), ('g', 4), ('h', 13), ('i', 15), ('k', 2), ('l', 9), ('m', 4), ('n', 25), ('o', 24), ('p', 5), ('r', 16), ('s', 41), ('t', 37), ('u', 10), ('v', 8), ('w', 8), ('x', 4), ('y', 11)]
Checks out.


The worldle one I found kind of annoying because now I have to go play another game to keep going, one I don't find all that interesting.


You can just search for the answer to save having to do that


Now it seems progress has become literally impossible because the chess move + the captcha includes digits that add up to more than 25. I guess having to restart is intended to be part of the game, or is this a bug?


You can reroll the captcha


You can cycle the captcha.


It doesn't seem to understand how wordle does timezones


You can fail at wordle and get the correct answer revealed at the end.


This is indeed what ended up transpiring, but only after trying really hard to figure it out all the while thinking the meanings of gold and green were the opposite of eachother.

I take puzzles way too seriously, and I suck at word puzzles.


Made me stop playing, because I block wordle shares on every social media channel.


"Only the fool would take trouble to verify that his sentence was composed of ten a's, three b's, four c's, four d's, forty-six e's, sixteen f's, four g's, thirteen h's, fifteen i's, two k's, nine l's, four m's, twenty-five n's, twenty-four o's, five p's, sixteen r's, forty-one s's, thirty-seven t's, ten u's, eight v's, eight w's, four x's, eleven y's, twenty-seven commas, twenty-three apostrophes, seven hyphens and, last but not least, a single !"

nice job! autograms are strangely pleasing.


I think the chess one is bugged. I've entered every possible move for the board I received and none of them worked.

Edit: figured it out


I couldn't get it to accept a move which involved the knight jumping over a hostile piece. It was definitely the best move (I fed it into stockfish and got the same response). I refreshed the page to get a new puzzle and got a new street view as well. (╯°□°)╯︵ ┻━┻

Edit: Oooohhh, I think I forgot to add a + for check!


Can you please tell me? I've been stuck on it for an hour and a half.... I really need help ;-;


tl;dr

K = King

Q = Queen

B = Bishop

R = Rook

N = Knight

Pawns have no letter

.

You append a "+" to the end when it is a check move

You append a "#" to the end when it's a checkmate move

You add an "x" when your move eats another piece

.

Examples

- Moving a rook to g6: Rg6

- Moving a queen to d7 which eats a piece: Qxd7

- Moving a bishop to a3 which checks the opponents king: Ba3+

- Moving a pawn to e5: e5

- Moving a queen to h7 which eats a piece and checks the king: Qxh7+

- Moving a pawn to f4 which checkmates the king: f4#


There are few more.

Rae1 - rook a to e1. if two rooks on the first line can move to e1. R4d4 - if two rooks on the 4th line can go to d4. Ngxh2# - the knight from g captures on h2 with checkmate.

Nd2e4 - In a rare case that there are 3 knights that can go to a single square

Pawn captures are denoted as exd5 (pawn on the line e captures a pawn on d5) even if there is only one pawn that can make a capture.


I learned more from your concise post than I ever have from articles, Wikipedia, etc.


For Real. I finally understood chess notation.


Just adding promotion

- d8N# pawn moves and promotes to a knight resulting in checkmate (it can happen)


Thanks for this. What if two rooks can both get to e5, how do you disambiguate?


Using the column they are on, or the row if they are both on the same column. For example Rac8 moves a rook from a8 to c8, R1d2 moves it from d1 to d2.


It worked for me, but I had to include `Rxb6+` for the capture and the check.


Isn't Q×h6+ the best move for white, since there is a mate in 1 after that move. Am I missing something?


The game is selected at random each time you play, so depending on which you get the solution will differ.


Enter without ×.


How tell me.


Also got stuck on the chess game - had to peruse the webpacked source code for the array of solutions...


Also got stuck at the chess one with "551A!mayShellVIIVr8gecmaboutAuSingaporeBxe6"


You may need the + at the end of your notation if you're putting the king in check.


Yup, I had to come here to figure out that the + was missing in mine! TIL!


I had to use stockfish


Haha, yeah I used Chess.com analysis and it gave me a clearly best sequence of moves (three to checkmate) but it didn't take the first move from white that it asked for. :( I saw many other struggle with this one too. Anyway, I gave up here and seeing some of the subsequent steps I doubt I'll reach the end anyway!


Brutal


I got stuck at the chess move too A591@juneShellVIIVec6pmtractFeNigeria2020


I'm too stuck at the chess move with XXXVJanuarypepsi@3pe4g99tractHechile


Italy? Interesting that it is giving different locations. I got Qatar.


I got Colombia, and C is a roman numeral so I think I'm stuck. edit: nevermind I can just make it lowercase.


I got colombia to, you just have to make the letter lowercase!


It's random


You could potentially paste the chess notation into chatgpt and ask for the next move! It's not perfect but it'd be better than me at it at least


ChatGPT is really and at chess. I'd just paste it in one of the online chess engines.


There are apps that detect the positions from an image, and run a local version of stockfish to get the best move



I like the one called "The Hobgoblin." The student asks "why don't all these commands follow the same pattern?"

It doesn't make sense to my why the three "view" commands have different nomenclatures, but it /sort of/ makes sense that the two destructive ones have different syntaxes. It would hurt to think you're deleting a remote reference and accidentally deleting a local branch.

What's the point of the Master throwing himself off the railing when the novice runs `git -h branch`?

I'm running it and git responds "unknown option: -h" then displays a short version of the help menu. Maybe it is a joke on showing the short help menu even when using incorrect syntax?


I think it's just another inconsistency: `git --help branch` gives the long help for `git branch`, but `git -h branch` says "unknown option: -h".


Hopefully someone can correct me if wrong, but I assumed that the joke was that 7 years ago in 2013 if you ran “got - branch” the cli would crash in some way. Though I would love to hear an explanation for someone who knows for sure what the intention of the joke was.


Consider me absolutely plussed.

This reminds me of hanging out with friends when someone wondered, "what is the opposite of nonchalant? Is 'chalant' its own thing?!"


Chalant is the present participle of the (disused) verb "chaloir", which means "to matter to someone", "to be important (to someone)".

It's only used anymore in the words "nonchalant" (someone to which things don't matter much) and the expression "peu me chaut" (it matters little to me).

But although "nonchalant" has a clear meaning, the meaning of "chalant" wouldn't be as obvious, since while it's easy to not care about things generally, "generally caring about things" is just the normal state of a person. It's the same reason you don't often hear about a stoppable force or a wieldy tool.


Bien achalandé ?


Chaland is something unrelated, it's a slow delivery barge from which derive two meanings, one for a shop being well-stocked (bien achalandé, because it's well served by the barge) and the other for visiting things at a leisurely pace (because the barge is slow and makes many stops).


Nonplussed is a particularly weird case as it means surprised but many people (particularly in North America) think it means not surprised, and so they might think plussed means surprised when through this backformation it ought to mean non-surprised.


chalan translates from french as "hot" apparently


It's not about what time. but from what world?


Hello! I'm Steve Geluso. I'm in Seattle looking for work. The health industry has been on my eye for a second. I've spent the last three years as a lead instructor at boot camp schools. I was full time at Google, I freelanced, and I worked here in Seattle at Moby Inc. all before doing education. I'm definitely looking to get back in to engineering, especially with a company that has practical impact.

I'll apply on the site, and here's some more info about me, if you're interested. Thanks for raising attention to the role!

http://5tephen.com/ http://5tephen.com/resume/


Ridiculous. Why does it become so slow though?


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: