296 karma · joined Aug 23, 2018 (8y ago) · 147 submissions
comment 1w ago · link · parent
The entire "Line items" subtable is indented: its internal horizontal lines do not stretch all the way to the vertical line at the beginning of "Line items". However, the horizontal lines between the line items for different orders do. This subtly highlights where one order ends and the next begins; I think its quite clever. Also, the "Qty" could be made thinner if you wanted. But in the screenshot there is still space available to the right, so its not vital. (Also, there might be a three-digit Qty further down the table, which would make this the right width.)
I don't find the "Folders" side bar that vital and I'm sure it could be improved. When saying that I think the interface strikes a good balance, I'm focusing on the main view. However, I think that there could be extra root-level items if you add further data sources, and I also think that you can make the sidebar thinner, at which point you will only see Cat, Cust, etc. For a main screenshot having the full names visible does seem cleaner, though. (I'm not entirely sure that all of this is correct. I cannot test it--unfortunately, while I think that Ultorg is very smartly designed in many places, its license cost is not justifiable for my limited use cases.)
comment 1w ago · link · parent
The blue bar: there might be a red bar pointing to the left out of view that forces the white space between the bars and the numbers. There will be some extra white space to the left of the numbers, as nested tables are slightly indented (compare the indentation of the customer names and the products)—I think this is a good way of subtly showing the structure.
Tree view: “Recycle bin” does not have an arrow to unfold it but other items at its level do, so space for an arrow is reserved. Therefore it seems overly indented. (I am not bothered by this; if the actual tables are very wide, the entire side bar can be hidden, as far as I remember.)
I honestly found that main part of the interface strikes a very good balance between denseness and readability. And in any case, it is my experience (from just using the trial!) that Eirik can be quite swift about implementing features when there’s user demand. I imagine that extra number formatting options or reduced white space would be very much in the cards.
comment 1w ago · link · parent
I find Ultorg's representation to be quite compact, usually. If you have a view with one column containing lots of nested results, the other columns will be mostly empty, but then the table layout might be the wrong choice, and other layout options are available.
comment 1w ago · link · parent
I can write a single join in SQL to get this, but then the customer information will be repeated on each purchase line. For my report I will also need to group orders from the same customer together. So now I have asked my database to duplicate the customer information across rows, only to deduplicate the data in my application again.
I can create two SQL queries, one for the customers, one for the purchases. I will still need to use joins (or WHERE-EXISTS clauses), because I do not want to extract all my customers and/or purchases from the database. Then, in the application I need to combine the results of those two queries. This will require me to implement the same join (or at least, its matching logic) yet again.
Neither of these really seem all that great to me. Of course, one can work around these limitations, many database adapters do. But in my opinion, this does not mean that SQL should not have provided a native solution for this. (There are tons of other things it could have left out as well, by that logic.)
The agg functions are probably the closest thing we have. I have mentioned my gripe with the JSON versions before, they lose valuable type information due to JSON's limited data model. The array_agg version is usually not very ergonomic on the receiving end. Both are also more cumbersome to write in SQL than I would like.
For what it's worth, I also think that SQL teaching generally emphasizes joins as the natural way to work with relational databases way to much. The agg functions might appear almost as an afterthought at the very end. (To be fair to the creators of teaching materials, to me, they also appear as an afterthought in SQL itself.)
comment 2w ago · link · parent
As I mentioned in the previous post, I am aware that this can be done with multiple queries and post-processing, but then I am implementing what essentially amounts to a join myself (of maybe I have something like an ORM do it for me). In any case, my data processing is now split up in two places.
And the point of Ultorg is that it provides an interface that does this post-processing into a nested representation. Except maybe for Gel (mentioned somewhere else here), I have not seen this in any other general interface for relational databases. If SQL supported nested results, this surely would be different.
comment 2w ago · link · parent
Alternatively, you might use functions to aggregate in the query, but they're not standard, as far I know, which means that interfaces in programming languages often do not support them. The best bet might be aggregating into JSON, but this removes quite a bit of the type information that values in SQL usually carry. (Also, the aggregation functions are generally less pleasant to write than standard joins.)
comment 2w ago · link · parent
Often, you are interested in nested results. "Give me all my customers with a list of their orders." However, when you do this with a join, you get a list of the orders with a copy of the customer information attached to each, instead. In Ultorg, you actually get the customer with a list of their orders nested in their row as a sub-table, but with that sub-table's headers cleverly floated to the top, so they're not repeated for each customer.
As a second trick, Ultorg manages to remember the relations, so the data is editable in the nested tables. (There are some limitations to this, I believe.)
I used the trial version of Ultorg at the beginning of the year (the example in the 2.1.4 changelog is based on my use case), and it was tons of fun to use. Ultorg is great. I wish I had discovered it right at the start of that small project.
Unfortunately, I do not have a regular use case for this, and for personal use and occasional unpaid hobby projects, Ultorg's license is not a good fit. So I check the website from time to time whether there's been a change to it; no luck so far.
I am no business expert, and I do not know how well Eirik is doing with the current model. However, I do have the impression that he underestimates how many people would have a use case in their private life for it, but not at $35/month. I think this could also help attract new commercial users. After all, it's much easier to convince your boss of purchasing a software if you have already built expertise by using it personally.
comment 2mo ago · link · parent
(Note that by "loop over a collection", I explicitly mean a looping construct that gives the elements of the collection directly, instead of looping over indices and extracting the elements manually.)
comment 2mo ago · link · parent
With `reduce`, the result could be anything, and in an imperative language, side effects are also possible. So it's just a loop with worse syntax.
(Admittedly, in an imperative language, `map` and `filter` could also have side effects, though I think most people would consider this bad style.)
comment 5mo ago · link · parent
Depending on how well you know binomial coefficients, this can also lead you to the dynamic programming solution. After all, for the rectangle case this is nothing but construction of Pascal's triangle by summing two adjacent numbers in a row to get the number below them. If you recognize this, the solution for paths on grids with holes falls out almost immediately.
comment 6mo ago · link · parent
comment 7mo ago · link · parent
(I did not do an extensive search into this, so there might be Ctrl-based standard shortcuts that predate Apple.)
comment 7mo ago · link · parent
For normal date inputs, I really don't think there is a good reason to use anything else. (Possible exceptions I can think of: Selecting date ranges and/or showing extra data about the dates (like daily prices).)
comment 9mo ago · link · parent
Also, from what I can tell using the site, it does not serve as a full dictionary. Rather, it lists the general rules of German orthography (as decided by the Rechtschreibrat) and has some limited tables of special words.
comment 9mo ago · link · parent
(In the printed versions, you might need to go to the Universalwörterbuch or so to find the English entry, it might not be in the normal "Die deutsche Rechtschreibung"; I have not checked.)
comment 9mo ago · link · parent
comment 9mo ago · link · parent
(But I don't have a source; I was just stating my impression/opinion.)
comment 10mo ago · link · parent
XML "lost" because it is also a poor format for structured data. It requires constant choice between whether some content should be conveyed using attributes or child nodes. If you use child nodes, indentation may or may not be relevant (because it can introduce leading/trailing spaces). There is also no standard for data types. (Do you write a boolean attribute foo as foo="foo", foo="true", or foo="yes"? Sure, a schema can describe the allowed values, but whoever interprets the XML still needs to add the right translation to true and false in their programming language by hand, presumably.) Due to the manifold ways of expressing essentially the same data, working with XML is always painful.
This is not really XML's fault. It was designed as a way of marking up text. When that is your goal, XML is not a bad choice, and all of its features make a lot more sense. (For example, this child-attribute distinction: Is this part of the text? If so, it should be represented as child nodes. Otherwise, it should be an attribute.) Here, something like JSON really falls flat.
But most data is not marked up text. And yet, some people and institutions tried to push XML as the universal solution to all data transfer problems. This is the reason for the push-back against it.
This isn't to say that we did not also lose some things. In complex cases, having something like a schema is good. Comments are appreciated when the files are also read and edited by humans. JSON's data types are underspecified. But I firmly believe that the solution to this is not XML.
comment 10mo ago · link · parent
comment 1y ago · link · parent
MAML seems to be designed as a configuration language, but calls itself a markup language. (YAML did too, but they changed it at some point.)
comment 1y ago · link · parent
comment 1y ago · link · parent
However, for hex numbers this simply won't give good results because some of them will just happen to not contain any of the digits A to F and be treated as base-10 numbers by the heuristic while others will include these digits and be sorted differently.
(So, a having a strict lexicographic mode as an alternative in file managers would be nice.)