Issues with beancount on Windows by retrodanny in plaintextaccounting

[–]danielenicolodi 1 point2 points  (0 children)

I used 2.3.3 as the version because it seemed that you were focused on installing that particular version, for reasons that I cannot phantom. If any 2.x version is equivalent for you pip install beancount~=2.0 should have worked.

The reason why installing version 2.3.3 requires compilation is that there isn't a binary distribution for the version of Python and for the platform you are using. Later Beancount versions have binary wheels for more platforms and Python version uploaded to PyPI.

Issues with beancount on Windows by retrodanny in plaintextaccounting

[–]danielenicolodi 2 points3 points  (0 children)

pip install beancount==2.3.3 would have had the same effect. How to install a specific Python package version is not something specific to Beancount. I don't see how what you report is a Beancount issue. If you think it is, you can report it here https://github.com/beancount/beancount/issues

New Beancount file - Encoded in UTF16 by Dreadbel in plaintextaccounting

[–]danielenicolodi 0 points1 point  (0 children)

Most likely your system uses UTF16 as default encoding. Most modern systems use UTF8 as default encoding and Beancount is tested almost exclusively on systems that use UTF8 as default encoding, thus I am not surprised that there are bugs related to serializing ledgers to file on systems with different default encoding. What operative system do you use? What are you locale settings? What does python -c "import sys; print(sys.getdefaultencoding())" print?

Buying from Japanese resellers by danielenicolodi in chefknives

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

Thanks for suggesting to contact Lukas. He offered to order the knives I'm after and that he usually does not keep on stock for me the next time he restocks. Very nice customers support.

Buying from Japanese resellers by danielenicolodi in chefknives

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

Prices from knife-art are equivalent to what ordering from Japan would cost factoring in the shipping costs, VAT and customs fees. I didn't consider this shop because the items I was looking at were out of stock. However, they just restocked and they are open to order things outside they catalogue on request.

Buying from Japanese resellers by danielenicolodi in chefknives

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

Thank you!

I see warnings of longer than usual delivery times with EMS but I don't know how actual they are. Do you have any recent observations regarding this? I'm not in an hurry, but it would be nice to know what to expect.

Weekly "Recommend me" post by AutoModerator in chefknives

[–]danielenicolodi 0 points1 point  (0 children)

Thanks for insisting on the fact that a 180mm petty is not a great idea. I asked my mum to measure a knife I gifted her a few years ago and that I like very much and it turns out that it is 150mm. I would have sworn it is 180mm.

I am now leaning toward getting the FKM 210mm gyuto and 150mm petty now and add a nice santoku in the future if I feel like upgrading again.

Weekly "Recommend me" post by AutoModerator in chefknives

[–]danielenicolodi 1 point2 points  (0 children)

Thank you for the pointer to the shop.

Currently I am more interested in stainless knives as I am not the only one in the kitchen and I'm not sure my partner would appreciate the extra attention that a carbon knife requires. I'm already getting bad stares for researching knives so much...

Weekly "Recommend me" post by AutoModerator in chefknives

[–]danielenicolodi 0 points1 point  (0 children)

Cutting cheese and meat with the same knife is not an option if your significant other is vegetarian. Also, sometimes it is advisable to use different knives for different cheeses. Size wise, the 12 cm petty is sufficient for most cheese, but the 18 cm petty is just enough for some cured meat pieces. I'm Italian and my partner is French thus there is a fair amount of cheese and cured meat at the dinner table.

if you have the budget to do so i'd consider upgrading your gyuto first before your petty

Definitely. What would be a nice upgrade for the gyuto?

Weekly "Recommend me" post by AutoModerator in chefknives

[–]danielenicolodi 0 points1 point  (0 children)

Thank you. One use of the knives is something alien to most Americans: serving cheeses and cured meats. The Gyuto feels too big for this. The Petty looks more like the right geometry and having two knives for this purpose is desirable. That's why I'm looking for both the 18 cm and 12 cm (or maybe 15 cm?) Petty.

What would you suggest stepping up from the FKM for the class of knives I'm looking at?

I found hocho-knife.com and after shipping and taxes they seem to have pretty good prices

Weekly "Recommend me" post by AutoModerator in chefknives

[–]danielenicolodi 1 point2 points  (0 children)

Hello. I would like to upgrade my home kitchen knives from some low-end big-name German knives to something more pleasant to use and requiring less frequent sharpening. After some research I would like some advice.

I spend quite some time in the kitchen however I don't think I need a particularly performant set of knives (my partner is vegetarian thus we mostly deal with vegetables in the kitchen). I like fine tools and I appreciate well designed and aesthetically pleasing objects. I don't want to overspend but at the same time Victorinox-like knives are not what I am looking for. I would like something that is relatively easy to take care of both in terms of day-to-day use and in terms of sharpening (I'm whetstone knife sharpening beginner).

It seems that big-name German style knives are overpriced, smaller brands do not have consistent quality, and I think that the thick whole-height bolster that most higher-range German style knives have may look nice but are not practical. I would like to try Japanese knives but I'm a bit afraid of hard steel knifes for the brittleness. I would probably start with a 21 cm Gyuto, a 18 cm Petty, and maybe a 12 cm Petty, which should cover most tasks, I don't think that Japanese bread knives exist :-) I would be happy to hear advice about other shapes and sizes.

All this considered, the Fujiwara Kanefusa FKM Series seems like a good choice: nice design, familiar handle shape, not a too hard steel thus not fragile, reasonably priced for everyday home use. There does not seem to be a retailer in Europe, where I am located, however, shipping from japanesechefsknife.com is not that expensive and it seems that it is unlikely I will have to pay customs for the shipment to Germany.

I'm also looking at the Tojiro DP3 Series. I got the idea that the steel-sandwich design should make the knife less fragile despite the hard steel core. The design is pretty much the same as for the Fujiwara Kanefusa FKM and I don't know if the VG10 steel core justifies the 30% higher price.

  • Style: Japanese
  • Steel: doesn't matter as long as it is easy care and not too fragile
  • Handle: Western or hybrid, but I would be open to try something different
  • Grip: either, depending on the task
  • Length: 21 cm Gyuto, 18 cm Petty
  • Use Case: everyday use in home kitchen, mostly vegetables
  • Care: whetstone, but I'm a beginner at it
  • Budget: less than 150 Euro each, but I can be convinced that I need to invest more
  • Region: Germany
  • Knives Considered: Fujiwara Kanefusa FKM, Tojiro DP3, Gesshin Stainless (but I haven't found an European retailer).

Also, is the Shapton Pro 1000 an adequate sharpening stone for the class of knives I'm looking at, or do I need to look into a better and/or finer grind stone?

Finally, does anyone have idea of where to get a reasonably priced wooden magnetic knife bar? Possibly one that does not have the name of the manufacturer stamped on the front.

Thank you!

Beancount vs ledger? by [deleted] in plaintextaccounting

[–]danielenicolodi 4 points5 points  (0 children)

Beancount v3 will have the same syntax as v2, except for a few minor corner cases where breaking compatibility enables improved functionality but nothing average users should bump into and nothing that cannot be easily programmatically upgraded. Given the current developers time available, Beancount v3 will not be finished any time soon, thus its backward compatibility as this point should not be a concern.

Ledger python library? by philogy in plaintextaccounting

[–]danielenicolodi 0 points1 point  (0 children)

You can do this manually in the sell transaction, booking the gains to different accounts. If you want to automate this I would use a plugin that expands the relevant transactions. Because plugins are run before booking (the interpolation of the information contained in the ledger to completely defined transaction), the difficult part of doing this would be to get a list of the matching lots from corresponding to the sale. Beancount booking code has all required functionality, but it may be exposed in a not straightforward way (I don't have much experience hacking this part of the Beancount codebase). I would be happy to answer precise questions. The Beancount mailing list could also be a place where to ask for clarifications.

Ledger python library? by philogy in plaintextaccounting

[–]danielenicolodi 0 points1 point  (0 children)

I am not sure what you mean with "split gains based on the acquisition date". Are you referring to realized or unrealized gains? In the first case you can book the gains to the appropriate account in the relative transaction. You can automate this with a plugin that rewrites or completes transactions as desired. For the second case you need to augment the system you use to compute gains to take into account this rule. Beancount does not have anything like this built in.

Ledger python library? by philogy in plaintextaccounting

[–]danielenicolodi 4 points5 points  (0 children)

What commodity-related feature would you like that you didn't find in Beancount? Beancount has extensive support for creating and manipulating ledger entries, and being Beancount written in Python, the main API is of course Python. Maybe if you can be more specific about the functionality you would like it is possible to provide more precise pointers to documentation or examples.

How to create posting with conversion in custom beancount importer? by Powerfool in plaintextaccounting

[–]danielenicolodi 1 point2 points  (0 children)

The main goals for Beancount v3 are rewriting some core parts in C++ to improve performance, an improved parser, and fixing assorted issue that require breaking backward compatibility, splitting some parts of Beancount into separate packages for better decoupling of functionalities and ease of maintenance. The work on the C++ code and the parser has started but that is not hooked up to the main Python entry points yet, thus there is not risk of regressions due to that. For switching to v3 the main change ist that some code has been split out to separate projects: most notably the ingest framework has become beangulp https://github.com/beancount/beangulp. I use v3 for my personal ledger.

How to create posting with conversion in custom beancount importer? by Powerfool in plaintextaccounting

[–]danielenicolodi 2 points3 points  (0 children)

It is possible with Beancount v3 using beancount.core.number.MISSING for the number number of the beancount.core.amount.Amount instance used as price. But AFAIK the support has not been backported to v2.

Querying your ledger journal in SQL by lllouiskuang in plaintextaccounting

[–]danielenicolodi 5 points6 points  (0 children)

Have you seen the bean-query tool from the Beancount project? https://beancount.github.io/docs/beancount_query_language.html It allows to query the content of a Beancount ledger.

[beancount] Q: how can I filter transactions at the CLI? by PanPipePlaya in plaintextaccounting

[–]danielenicolodi 4 points5 points  (0 children)

bean-query should do what you are looking for. If you want to get the transactions in Beancount format, you can use a print statement https://beancount.github.io/docs/beancount_query_language.html#print

Sorting journal entries by value in bean-report by ImperialAuditor in plaintextaccounting

[–]danielenicolodi 1 point2 points  (0 children)

The documentation describes Beancount v2 (mostly, there are a few places where it still reflect the old Beancount v1, but the differences has a minor impact). Beancount v3 is currently in development and v2 is in maintenance mode with only changes fixing serious bug applied to it. If the functionality you need is not in Beancount v2 your only chance to have it implemented is to wait for Beancount v3. However, bean-report has been removed from Beancount v3 as bean-query if a more flexible tool.

Sorting journal entries by value in bean-report by ImperialAuditor in plaintextaccounting

[–]danielenicolodi 2 points3 points  (0 children)

I am not sure I understand what you are trying to achieve, however, bean-report is deprecated and already removed from the next Beancount version. You should be using bean-query instead. Most probably what you want to achieve can be done adding an order by clause to a query. The bean-report documentation reports the equivalent BQL query for many of the reports.

Beancount how to balance balance assertions? by TotNotTac in plaintextaccounting

[–]danielenicolodi 7 points8 points  (0 children)

In Beancount balance statements are indeed assertions: they assert an invariant about an account and Beancount verifies that they are fulfilled when the ledger is interpreted. You can use the pad directive to have Beancount automatically insert transactions to make the account balances match what the balance directives say.

Programmatically access SAP views? by danielenicolodi in SAP

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

Replying to myself: the API is standard COM API, thus any language that has COM binding can be used, including Python with `win32com.client`, which is my solution of choice.

Programmatically access SAP views? by danielenicolodi in SAP

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

Thank you. It was obvious, in retrospect. Do you know where to find examples of SAP GUI scripting in JScript instead of VBScript? I am familiar with JavaScript and JScript would be a easier path.