HNHacker News
TopNewBestAskShowJobs

doronlinder

265 karma · joined April 23, 2012

submissionscomments
doronlinder··on Show HN: SQL Police Department – Learn SQL while solving crimes
Thank you for the feedback. The SQL parsing is home made and I assumed fields in the order by clause is also a part of the SELECT. I collect a window of failed queries in memory (without knowing who sent what) to find cases like this and fix them.
doronlinder··on Show HN: SQL Police Department – Learn SQL while solving crimes
Deployed a fix. Backspace is captured now.
doronlinder··on Show HN: SQL Police Department – Learn SQL while solving crimes
I'm missing it. Where's the typo?
doronlinder··on Show HN: SQL Police Department – Learn SQL while solving crimes
For replay-ability. Each time you need to understand the problem and construct a query instead of remembering that the answer was X (when I prototyped this in some of the cases you needed to pick the right answer from a cell in the table, not submit the whole thing).
doronlinder··on Show HN: SQL Police Department – Learn SQL while solving crimes
The cases are randomly generated; It asks for unique values of a random column in a random table. Sometimes it asks for unique password hashes... It's an edge case I didn't account for.
doronlinder··on Show HN: SQL Police Department – Learn SQL while solving crimes
Thanks for the feedback! I was wondering the same thing.
doronlinder··on Show HN: SQL Police Department – Learn SQL while solving crimes
It can be solved with saving stuff to local storage, but I tried to not use it to be more GDPR compliant...
doronlinder··on Show HN: SQL Police Department – Learn SQL while solving crimes
The first two are cases of selecting the whole table. Since it's (completely) randomised, there is a chance of getting the same table twice. I didn't account for that :-P If you solve it again, you'll get a new case following that.
doronlinder··on Show HN: SQL Police Department – Learn SQL while solving crimes
I was aiming for a feeling of dealing with real data (even though it's not). Changing the email domain names to fictitious ones will solve this, but I think would undermine the feeling of real-ness.
doronlinder··on Show HN: SQL Police Department – Learn SQL while solving crimes
Thanks! The game is still in development. It covers SELECT, DISTINCT, FROM (with one table), ORDER BY, LIMIT in the free part. After buying a license, WHERE, IN, BETWEEN, AND and OR are also covered. Check out the guide tab in the game - it covers everything supported so far. I plan on adding support for GROUP BY, aggregate functions, HAVING, aliases, JOINING multiple tables, and some more stuff with more complex cases to match.

The 6 months countdown doesn't begin until the game development ends so you're enjoying longer access.

doronlinder··on Show HN: SQL Police Department – Learn SQL while solving crimes
Currently the first rank is 11 cases, and the second rank is 20 additional cases. The second rank covers WHERE with numbers, strings, dates and timestamps, IN, BETWEEN, AND and OR. Check out the guide tab in the game - it covers everything supported so far. Once you finish that, you go into practice mode where you're randomly asked the same kind of cases like the previous ones. I plan on adding support for GROUP BY, aggregate functions, HAVING, aliases, JOINING multiple tables, and some more stuff with more complex cases to match.

And the 6 months countdown doesn't begin until the game development ends so you're enjoying longer access.

doronlinder··on Show HN: SQL Police Department – Learn SQL while solving crimes
Yeah, the semicolon bothers me too. I'll see how I can incorporate that in. The clicking around was meant to make life easier on mobile phone users. I'll see if I can add a keyboard support without undermining this.
doronlinder··on Show HN: SQL Police Department – Learn SQL while solving crimes
Currently the first rank is 11 cases, and the second rank is 20 additional cases. The second rank covers WHERE with numbers, strings, dates and timestamps, IN, BETWEEN, AND and OR. Check out the guide tab in the game - it covers everything supported so far. Once you finish that, you go into practice mode where you're randomly asked the same kind of cases like the previous ones.

I plan on adding support for GROUP BY, aggregate functions, HAVING, aliases, JOINING multiple tables, and some more stuff with more complex cases to match.

And the 6 months countdown doesn't begin until the game development ends so you're enjoying longer access.

doronlinder··on Show HN: SQL Police Department – Learn SQL while solving crimes
Yes, the instructions as well as the levels and the data are auto generated. If something sounds off, please email me and I'll fix it.
doronlinder··on Show HN: SQL Police Department – Learn SQL while solving crimes
Good call. I will.
doronlinder··on Show HN: SQL Police Department – Learn SQL while solving crimes
This was certainly an inspiration.
doronlinder··on Show HN: SQL Police Department – Learn SQL while solving crimes
Everything is randomised, nothing is based real data. It's auto generated from popular first names, last names, changing patterns and random years or numbers attached at the end. Domains are real, but randomised as well.
doronlinder··on Learning VIM while playing a game
It wasn't meant to work on mobile devices. It can and everything work as expected besides the fact that you must have a fully functional keyboard to use it and learn VIM.
doronlinder··on Learning VIM while playing a game
Your fingers should stay on JKL;. Going left involves lifting your index finger and moving it the the left, pressing H, and returning it back to J. When you're more proficient in VIM, you usually don't use h much, but ^ or 0 or T or F or b, lots to choose from :)
doronlinder··on Learning VIM while playing a game
I fixed the 30 characters issue to allow up to 70 characters. And you may also use + signs in emails. The SMTP error doesn't occur anymore, and even when there was an error the email was still subscribed so no need to resubscribe again.
doronlinder··on Learning VIM while playing a game
The only reason I can think of is that the browser didn't download the images from the server due to extream load on the server. I'm experiencing some server problems and opened a support ticket with my hosting company. If the problem persists, please contact me at doron ( at ) vim - adventures. com and I'd try to get to the bottom of it. Thanks.
doronlinder··on Learning VIM while playing a game
Thanks. I agree that a .vimrc level will be a stretch. I had some ideas on how to incorporate that to, but I think I'll leave it out. Once you get modal editing and know all necessary commands, motions, and operators to use, tweaking your .vimrc is a walk in the park (with a left turn on google street :) )
doronlinder··on Learning VIM while playing a game
The target of the first level was to cover hjkl. I know it's a pain and when you're proficient enough you usually don't use them but use tf*#/ and such, but it's the basics... The motions are working only on text areas (There are some on the 2nd level). Bookmarks are indeed planned for teleporting back to places, and I have plans for /Hello if you look at the first screen ;)
doronlinder··on Learning VIM while playing a game
Thanks! I'm at a loss for words. It's very kind of you.
doronlinder··on Learning VIM while playing a game
Nice catch! Actually, that's one of the places where a B would come in handy, but it's only collected in level 3 so the chest can't be accessed yet :)
doronlinder··on Learning VIM while playing a game
I managed to crash chrome once, but couldn't reproduce it. I'm an indie developer so I don't have enough people QAing the product yet :/ My first gut feeling is the audio, but didn't have a chance to prove it yet. It would be great if you'll be able to send me more info on when exactly it crashed to my mail doron ( at ) vim - adventures . com . Other than audio, I really don't do anything out of the ordinary - all javascript and canvas. Regarding the w and b (and e), I left out the exact explanation since I believe that the self exploring and understanding contributes to the learning process. That part was intentional. Thanks for your feedback! I'll make another effort to reproduce the crashes.
doronlinder··on Learning VIM while playing a game
I'm happy that you loved the game and finished the first two levels! Thank you for your feedback. That kind of feedback is what I'm looking for in this stage. The project is intended as an educational game, but for a price. The first stages and the email list was meant for me to get a better understanding if there is a demand for such a game (as I hoped, since I would like to play it :) ) The reason that it's not clear yet is that I didn't finish enough levels and didn't set the price yet - so there is no "Buy License" button, only the mention in the end of the second level. I'm not trying to force anybody, just trying to get a feeling if it's a good thing to invest time and money in, besides love. I hope to have enough levels soon and a clear pricing plan will follow. Thanks again for your comment.
doronlinder··on Learning VIM while playing a game
Thank you very much for mentioning my site here! The problem with the email signup is that I exceeded the maximum 500 mails that google outgoing mail server allows per day (500). All emails are entered to the list first, even if the confirmation mail isn't sent. I'm working on setting up an outgoing smtp server so I'll be able to send more mails. At this point gmail won't even allow me to email from my account. As soon as I have an outgoing mail server I'll send the mail again for anyone who subscribed. So if you get a message that your email is already on the list, everything is ok and I'll send you the thank you email in the next couple of days. The third level, once it's up, will be open to you. Thanks for everyone who pointed that up and sent me emails about that.