509 karma · joined May 13, 2023 (3y ago) · 227 submissions
comment 9mo ago · link · parent
I don't think anyone in this thread is arguing that inheritance or specificity is hard to understand.
My issue with cascading style sheets is mainly that namespace pollution (as every selector is defined in the same global namespace) means that short selectors (.separator, .highlight, .button) are likely to collide with completely unrelated parts of the application. BEM and tailwind are popular because they localize styles to specific components, preventing namespace issues. Today, most web frameworks deal with components, so it makes a lot of sense to localize the styles to the components. Scoped css in vue/svelte allows you to write short selectors, and have them only apply to the component they are written in, without needing to prefix them with a component name.
comment 9mo ago · link · parent
It clicked for me once I realized you can ctrl+shift+C to copy the diagram to text, and paste in my editor! But I wonder if it would be possible to make ctrl+C copy to clipboard as ASCII? I see that ctrl+C copies the json representation of the selected objects, but surely it would be possible to maintain an internal model of copied objects, while the clipboard is always filled with usable ASCII? I think I've seen some applications do this before
comment 9mo ago · link · parent
Also, vue interops better with webcomponents and non-framework code than React in my experience. Most non-React libraries need a React wrapper to work in a React project.
comment 9mo ago · link · parent
> When we pack high-density information into a data table or a complex dashboard we are increasing the visual entropy of the entire system. Forcing the brain to decode intricate, non-universal shapes in a tiny 16-pixel footprint, creates a “cognitive tax” that users pay en masse every time they scan the table.
This is not how the brain processes icons. Icons have their meanings embedded through related patterns. If you rely on common icons such as x, checkmark, plus, shopping cart, arrows, three dots, etc. the user already associates certain meaning/behaviors with these icons (and will be surprised if they act differently in your application). Introducing new icons is more challenging, because you have to convey their meaning to the user. At no point does the user have to stare at an icon and try to "parse" it pixel-by-pixel.
In all of OP's provided examples, the icons are supported by both labels and colors, which removes all ambiguity. You can argue that the icons are pointless in this case, but they certainly do not increase any cognitive load. Is it harder to identify a tiger than a lion, because his fur is covered in stripes?
comment 9mo ago · link · parent
AI "reasoning" in it's current state is a hack meant to overcome the problem of contextual learning[0]. It somewhat works given enough time and good automatic tooling. When this problem is solved, I think we will see a significant boost in productivity from these tools. In it's current state, I'm not convinced that they are worth my time (and money).
comment 9mo ago · link · parent
The way I remember thinking about it was that he was jailed for revenge murder, then spent his life in jail doing his best to atone by being helpful (building a library, teaching, helping with taxes, etc.). When the prison system refuses to set him free despite him proving through his actions in prison that he's not a threat to society anymore (I hallucinated this part -- this happened to Red, not Andy), he escapes, and his freedom is his redemption.
I'm not a native English speaker, and I think I may have conflated redemption and atonement. Looking at some definitions, it looks like you can receive redemption without atonement -- it doesn't necessarily have to come from within.
comment 9mo ago · link · parent
(spoilers)
It never sat right with me that Andy is shown to be innocent, and some viciously evil irrelevant character did it instead. This, I thought, takes away the whole redemption aspect of the movie, turning Andy into an innocent Mary Sue. I'd never considered that it may be more about Red's character instead. Though I didn't catch a satisfying explanation for that idea in the review, and it's been a long time since I watched the move.
I think I'll rewatch it today.
comment 9mo ago · link · parent
I'm curious which simple tasks you're referring to?
> I’ve had Figma slow down or crash because of poorly maintained plugins
Why not uninstall those plugins? Is no plugin support really the best solution to this problem? Was there not a reason that you originally installed those plugins?
comment 9mo ago · link · parent
[0] https://www.courtlistener.com/docket/69166901/figma-inc-v-mo...
comment 9mo ago · link · parent
> endeavour to scratch my own itch during the pandemic
Was this an "itch to build something", or an itch as in an annoyance you had with an existing tool? I'm skeptic of whether bloated UI is an itch many users have with figma or similar, which is why I'm critical of presenting this as the selling point for Vecti. If you manage to find an itch many people do have, and you provide the salve, you'll attract paying users.
comment 9mo ago · link · parent
At the time of posting, there were no other comments with criticism, so I thought it better to contribute some of my thoughts.
My main concern for this project is not that it doesn't have feature parity with figma, but that I don't see a well-thought out business model. Vecti sells a seat-based subscription model (same as figma), has almost directly ripped much of figma's design (a proclaimed ex-figma employee pointed out that this may be cause for a lawsuit in another comment), and the only distinguishing selling point is that it has less features than figma (the tool it's trying to emulate).
My opinion (which may be wrong) is that figma is already very good at stripping away features, hiding them behind modes, toggles or contextual menus. I'm a figma power user, but I have held a course in figma and managed to get 20 non-technical people to grok the tool and be able to create their own interactive designs in half an hour.
comment 9mo ago · link · parent
Why would I want to use this over figma? The sidepanels and floating toolbar are ripped directly from figma (to the point I would fear a lawsuit). Figma is already a very clean UI, which tries it's best not to shove too many features in your face. Whiteboard, presentations, dev mode are all hidden behind menus. "no plugin support" seems like a very odd thing to flaunt as a feature. Many of the most popular use-cases of figma, such as interactive prototypes, svg creation, html/css exports are all impossible in this tool.
Then, there is the problem of this being maintained by a single person. Components are essential to any serious figma user, good svg and image handling is important (svg is buggy in my testing), selection colors is vital, color palette is important. When can users expect to see these features if the maintainer is busy hunting down bugs?
This is a technically impressive product, but I struggle to see the market plan. I personally hate distractions in software, I go to great lengths to debloat and disable features to make my computer interactions smoother, yet figma is possibly the last program I would want to clean up.
comment 9mo ago · link · parent
I think these tools are great for allowing non-technical people like OP to create landing pages and small prototypes, but they're useless for anything serious. That said, I applaud OP for embodying the "when in a gold rush, sell shovels" mentality.
comment 9mo ago · link · parent
[0] - https://azure-int.microsoft.com/en-us/pricing/tco/calculator...
comment 10mo ago · link · parent
I would argue fruit and fruit are two words, one created semasiologically and the other created onomasiologically. Had we chosen a different pronunciation for one of those words, there would be no confusion about what fruits are.
[0] - https://en.wikipedia.org/wiki/Fruit#Botanical_vs._culinary
comment 10mo ago · link · parent
The study doesn't mention repeat offenses, so I can only assume they sampled both first-offenders and repeat-offenders. If illegal immigrant offenders get deported rather than jailed, the statistics would be lower than if they were sent to prison and allowed to return to crime afterwards.
comment 10mo ago · link · parent
Figure 2 shows that sexual assault is almost twice as likely to be perpetrated by immigrants than US-born citizens[0]. As a foreigner with no ball in the game here, I've seen a lot of outrage from both black-on-white and white-on-black violence in the US. Maybe some news papers like fox news are more selective in what they show, but APNews (which I've been reading for world news) seems to cover a pretty balanced range of racial crime.
> If some illegal / undocumented foreigner sexually assaults a white person, that's all you'll see in the newspapers and media for a week. There will be townhall meetings, debates, protests.
Maybe I'm misunderstanding the scale of this, but surely it doesn't compare to the response that George Floyd got?
[0] - https://www.pnas.org/doi/10.1073/pnas.2014704117#fig02
comment 10mo ago · link · parent
This is still not a good idea for you, as the interest doesn't make up for inflation. Most people keep a small portion of their wealth in the bank, as easy access for emergencies (this is called dry powder[0]). The rest is typically invested into private equity, which allows new ventures to be created.
It's very rare for anyone to have more than $50m in the bank. The money is usually out in the market doing it's work.
comment 10mo ago · link · parent
Oh that is interesting. I feel like the only way to get a better and more reliable solution to this would be to have the OS generate a hash each time the file changes, and store that in file metadata. This seems like a reasonable feature for an OS to me, but I don't think any OS does this. Also, it would force programs to rely on whichever hashing algorithm the OS uses.
comment 10mo ago · link · parent
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.02s
Running `target/debug/tvc decompress f854e0b307caf47dee5c09c34641c41b8d5135461fcb26096af030f80d23b0e5`
=== args ===
decompress
f854e0b307caf47dee5c09c34641c41b8d5135461fcb26096af030f80d23b0e5
=== tvcignore ===
./target
./.git
./.tvc=== subcommand === decompress ------------------ tree ./src/empty-folder e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 blob ./src/main.rs fdc4ccaa3a6dcc0d5451f8e5ca8aeac0f5a6566fe32e76125d627af4edf2db97