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

I would suggest "In the Mothers’ Land" from Élisabeth Vonarburg. It also talk about alternate society centered around gender. I didnt really liked the left hand of the night, but liked that one. And LeGuin saluted the book apparently too.


When working with kanban I maintained a average number of card done per days. if someone asked when some card woud be done, I just multiplied the number of card ahead of that one by average and get an estimate. You can estimate the cards but usually it doesnt really improve accuracy as tasks are on average the same size.


Is there an text editor that is able to autocomplete the categories in hledger format ? It would be great to type Assets:: and then get a list of the possible categories, but I haven't found any editor or extension that does it.


People have written extensions for every editor. I've used in Emacs, vi, atom, and vscode.


vscode has some code coloring extension but no code completion that I'm aware of. If you found one, please consider sharing it :). I would happily switch to another editor if one has a extension that autocomplete categories.


I use beancount in emacs using the beancount extension which does autocomplete, and I’ve added some of my own elisp tricks to make navigating around the file easier.

It’s actually the only thing I use emacs for.


A VS Code extension for ledger-cli provide autocomplete as long as your journal compatible with ledger-cli


hledger-ui


To be precise, hledger-ui is not an editor, but it can open hledger add, hledger-iadd, or your $EDITOR[1] for data entry, all of which can complete account names. Web guis like hledger-web and Paisa tend to complete account names as well.

[1] https://plaintextaccounting.org/#editor-plugins


Yes I did. The result is perfect as far as I can tell. Not everyone is eligible to that method: you need to have enough space in your eye so that it is doable. So checking for that is a first step to be sure it is doable. The only serious risk is an infection, so each eye was done in a different operation room. I was also told that the result is better than lasik, it is more costly though.


Thanks. And yes, I forgot to mention, here in Germany it as apparently also more costly than regular laser surgery.


If you want to go further and go for rigid body dynamics and constraint, I found that series of blog post very useful: https://www.toptal.com/game/video-game-physics-part-i-an-int...


Thanks for sharing!


Antivirus are really stupid tools, but not that stupid. I said that from a time where I had to work around tools flagged by antivirus. Among stupid things they do are flagging a part of an executable, some nsis plugin flagged the whole package as virus as soon as you included them. I think they probably hash files by chunks, if you have too many bad chunks then you are a virus. A few bytes at the end doesn't change that.


I'm not sure if it's still true, but it used to be that ~half of all antivirus would flag an executable if you compressed it with UPX.


You could sometimes bypass this by opening the file with a hexeditor and change a meaningless value. When UPX was popular there were also alternative file compressors that could also be used to sometimes bypass this issue.


A lot of the information here are present in the journal of Jordan Mechner which I found was a very interesting dive into the making of Prince of Persia including doubts and difficulties anyone who tried to create things can probably relate to. Thats a very good read and a great gift to anyone who try to make things on his own : https://www.amazon.com/gp/aw/d/1468093657/ref=tmm_pap_swatch...

I absolutly recommend it. There is also a comics that tell his grand father, his father story and himself that tells a lot of what a war is and also tells a little bit of the making of PoP.


Git blame -w -C -C -C would also keep author in case of moved lines


Does anyone know if there are libraries for writing fakes ? I wonder why there is a lot of mock libraries but I know none for writing fakes.


You know, faking stuff in code is a really case-by-case deal. You've got libraries out there like Localstack, for instance, that do a solid job at pretending to be AWS, but finding one solution that fits all? That's tricky, because everyone's needs are a bit different.

I've actually messed around with a library that makes stubs by recording external calls to things like APIs or databases. Sure, it can get a little brittle at times, but it's kind of cool because it's using real calls to create these stubs, and you don't have to put in a ton of extra work. Like anything else, it's about weighing the pros and cons and seeing what fits best for your project.



"Currently RR implements mocks, stubs, proxies, and spies. Fakes usually require custom code, so it is beyond the scope of RR."


Ah yes - I'm getting confused between fakes and stubs.

Either way, RR is good to have in the toolbox.



Can you summarize what that good way look like for those of us that haven't read it ?


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

Search: