News for hackers. Stuff that matters.

vitomd

Re:Ask HN: Do you write tests before the implementation? on Friday November 15, 2019 @11:00AM (#21545875)
Knowing when to use TDD (or any other tool/method) is the difference between a good and a great developer.
People will think twice when investing the time & money in develop an app for the github marketplace as if it succeed, Github could just built the app inside their system. They bought PullPanda which was good for his creator because I think it was less expensive that build that themselves.
Re:Kriegspiel on Wednesday July 31, 2019 @07:38PM (#20579784)
In the first position that pawn can´t take the bishop because then you can move your rook attacking their queen and she is pinned (can´t move because is aligned with the king). The second position you can move the rook, attack the queen, and he must take it. The common value of the pieces are pawn:1, bishop,knight3, rook:5, queen:9 so winning a quen for a rook is an excellent trade.

You can use lichess.com to analyse the moves. Here is the position if you want to take a look https://lichess.org/analysis/standard/r3k2r/pb1pqppp/1ppb4/4... Also You can copy & paste the generated moves of the game (like 1. e4 d5 2. exd5 c6 )to the pgn text area.

If you want to learn more chess https://lichess.org/learn/ it´s a fantastic resource

Re:Kriegspiel on Wednesday July 31, 2019 @03:20PM (#20577320)
That's interesting, probably a bug in the take back function. There are multiple engine evaluations running in the background at the same time, current evaluation, opponent evaluation and the brain evaluation, so it could be possible that when you take back there is some problem with synchronization
Re:Kriegspiel on Wednesday July 31, 2019 @03:16PM (#20577283)
Yes, I also made this http://tacticalchess.vitomd.com/ that it will alert you when there is a tactical opportunity for you to win material.

Other of my projects http://vitomd.com/blog/projects/

Re:Kriegspiel on Wednesday July 31, 2019 @10:31AM (#20574688)
HAND & BRAIN chess

I developed an online version of Hand and Brain Chess to play against a computer. In each move the BRAIN (stockfish engine) will highlight the piece or pieces that are the best move and are the only pieces that you can move. It is your job as the HAND to play the correct move.

http://handandbrainchess.com/

In the original variation 2 players plays together against someone, one say the piece name to move (BRAIN) and the other must move it (HAND). There are some really funny videos online https://www.youtube.com/watch?v=TL2pn1yIs2Y https://www.youtube.com/watch?v=N-fSQAX4wkg

Re:Ask HN: What do you do with your Raspberry Pi? on Wednesday July 03, 2019 @04:05PM (#20348200)
To have 2 cameras. 1 the raspberry pi camera, the other the usb webcam.
Re:Ask HN: What do you do with your Raspberry Pi? on Tuesday June 25, 2019 @07:46AM (#20273219)
In my case the security camera is also a raspberry pi with the camera module (it could have night vision), connected with a webcam logitech c170 (really cheap) and the motion software to detect movement (https://github.com/Motion-Project).
Re:Ask HN: What do you do with your Raspberry Pi? on Monday June 24, 2019 @03:38PM (#20267582)
A security camera outdoors (connected to another webcam outdoor), when there is motion it will send a request to another indoor raspberry (node server) connected to a speaker and will play the sound of an angry dog. The system is working fine for more than a year without breaks. Raspberry is robust.
Re:Ask HN: How do you guys develop mental toughness? on Monday December 10, 2018 @06:58AM (#18647233)
Learn Stoicism.

My favorite classic is Enchiridion by Epictetus and Letters from a Stoic by Seneca. For a more modern approach: The Antidote: Happiness for People Who Can't Stand Positive Thinking by Burkman

PD:I compiled a list of quotes from the best books http://arandomquote.com/categories/stoic/

I saw your twitch channel and also your lessons on youtube, really quality stuff and very instructive. I´m a Software engineer and amateur chess player. I'm intrigued about your project. Is there any website or twitter to follow the development?

I think we need to support this kind of project so our hobby can grow. I like to contribute to the online chess world with some open sources projects http://chesswindmill.com/ it will be awesome if you can check them.

Re:Why I Quit Google to Work for Myself on Wednesday February 28, 2018 @11:40AM (#16484193)
If you like this kind of post, there are many: Why I quit x: https://hn.algolia.com/?query=%22why%20I%20Quit%22&sort=byPo...
I could add another from Seneca: 'For many men, the acquisition of wealth does not end their troubles, it only changes them ' A compilation of some great Stoic quotes http://arandomquote.com/categories/stoic/
Re:Show HN: Nulis – Open Source Tree Editor for Writers on Friday September 15, 2017 @12:31PM (#15258434)
It´s a interesting approach. I like to organize my ideas on a different kind of trees. I created Sorter for personal use https://github.com/vitogit/sorter

Seems like https://fictionhub.io/post/story-writing-process/ is not parsing the markdown correctly. There are a couple of ###

Re:Sideproject Marketing on Wednesday September 13, 2017 @01:36PM (#15240589)
I was not aware of that tactic but I had some success with open source projects. For instance I created a Javascript wrapper library for Google Drive API v3 https://github.com/vitogit/gDriveSync.js so the publico are developers that read the code, like the library and then reach me to help them with some javascript project. I don´t create open source project for marketing purposes but I think is a good side effect.
Re:Ask HN: Does coding give you brain fog? on Tuesday August 15, 2017 @01:12PM (#15020143)
My main problem was eye fatigue. I use Flux (justgetflux.com/) set at 4300K even during the day, and it helped a lot.
I couldn´t find a good online site to discover new nonfiction books based on selected great quotes so I made http://arandomquote.com

Another project is gDriveSync.js: Javascript wrapper library for Google Drive API v3. You can list, save, read documents just using html and js https://github.com/vitogit/gDriveSync.js

Another one Sorter: https://github.com/vitogit/sorter is a webapp to organize ideas, tasks and information using bullet points and hashtags.

Older »