Readit News logoReadit News
floppydiskette commented on Apache ECharts   echarts.apache.org/en/ind... · Posted by u/tomtomistaken
floppydiskette · 10 months ago
Related, I just wrote an article and demo about enabling Apache ECharts in React[1] this week.

[1] https://tania.dev/apache-echarts-react/

floppydiskette commented on Jeppson's Malört   en.wikipedia.org/wiki/Jep... · Posted by u/bookofjoe
floppydiskette · a year ago
I bring a bottle of Malôrt to all holiday gatherings so everyone can have a shot together. I actually like it, but it’s always fun seeing a new person’s Malört face. Recently someone described it as tasting like boat cleaner.
floppydiskette commented on Relationships: Start with Several   lukebechtel.com/blog/rela... · Posted by u/lukebechtel
dmazzoni · 2 years ago
This seems to go against YAGNI, and I'm not sure I agree it's good advice.

A system I worked on recently modeled users as potentially belonging to more than one organization, even though there wasn't a good use case for that and there wasn't any plan for how it should work if implemented. It made all of the code to get the organization from a user more complex than it should have been.

Another system I worked on had a view hierarchy that allowed a view to have more than one parent, even though there was absolutely no support anywhere in the system for a view to actually have multiple parents in practice; if you tried, everything would just crash or get into an endless loop. The only use case suggested in comments was that a cell could be a child of both a row and column in a grid, but that was just theoretical - it didn't allow for any functionality that couldn't be achieved some other way.

If you know how something should behave with a one-to-many relationship, and you know it's a use case that you might want to support, then yes, you should model it that way.

But, if you don't know how it would behave, and you can't think of a use case, then don't overcomplicate things.

Yes, a person can have more than one pet. But a person can only have one head, so why complicate things when there's no known use case for a two-headed person?

floppydiskette · 2 years ago
It sounds like the article is mostly advocating for a “one parent to many children” scenario, where the first organizations/users example you gave would be “many to many”, and your second view example is “one child to many parents”.
floppydiskette commented on The Homepage of the Oldternet   geocities.ws/oldternet/... · Posted by u/theden
jonnycomputer · 3 years ago
Lately I've run across a few of these--perhaps through HN--and I couldn't help but feel that they all exaggerated the "feel" of a 90s website, more of a caricature of our stereotypes of the era than a recreation of what an actual indication of what most actual personal pages looked like (the non-blank ones anyway).
floppydiskette · 3 years ago
If anything, a lot of these sites are more readable and toned down than many of that era, considering they’re not using a blue bubble pattern background with bright red Comic Sans text and spinning gifs everywhere. It taps into the nostalgia but of course it’s never going to feel exactly the same.
floppydiskette commented on Half of vinyl buyers in the U.S. don’t have a record player: study   consequence.net/2023/04/h... · Posted by u/anigbrowl
kstenerud · 3 years ago
There's no need to be more specific. Those who are interested in serious discussion will take the plausible interpretation. Those who seek a weaker interpretation for attack aren't worth talking to.
floppydiskette · 3 years ago
As someone who doesn’t know much about it, I appreciated the previous comment.
floppydiskette commented on It's probably time to stop recommending Clean Code (2020)   qntm.org/clean... · Posted by u/flykespice
ornornor · 3 years ago
From my decade writing software professionally and my current job search, I really question the actual demand for clean code.

That’s unfortunate because it’s my specialty and what gives me job satisfaction.

I love fixing things. I actually enjoy working on a crappy codebase that has made the company money but is now too hard to maintain/extend and needs cleaning. Adding tests, refactoring, extracting functionality to discrete functions, figuring out what the black box actually does, etc. This is what I’ve specialized in.

However, it seems to me that companies don’t actually value that. They all say they do of course, while actually being afraid of doing this because it takes more time and money. Even if they’re mature enough that survival isn’t an immediate concern anymore, there is time to clean things up, and the mess is actually slowing them down through downtime, bugs, and not being able to ship relatively trivial features/updates in less than weeks.

I also suspect that not focusing on clean code is a strategy many managers have because they can show velocity to their higher ups and get promoted before it all blows up and they’re held responsible.

So what do you all think? Is clean code really actually valuable in the eyes of organizations or will they always take the quicker and dirtier option given the choice? Will I ever find work selling code cleaning (even to companies that ask for it) or should I “rebrand” on fast and cheap code at the expense of quality?

floppydiskette · 3 years ago
I get the exact same joys from work. Taking an old but functional and profitable codebase and cleaning it up, bringing it up to conventions and standards, refactoring. At my current job, feature work is always a thing, but I make refactoring boards and get people on board with bringing in refactor tickets every sprint, etc.

So while not 100% of my job is refactoring, a large portion is. And sometimes I convince them it’s time to rewrite one entire section or another, so a couple of sprints at a time might be dedicated to just that.

I guess I’ve gotten lucky, probably a combination of that and being outspoken about what needs to be fixed.

floppydiskette commented on I don't like making the best things   internetvin.ghost.io/i-do... · Posted by u/herbertl
afgrant · 3 years ago
I’ve looked at my work from 7-8 years back and realized that it’s actually better. I’m not sure yet what this means.
floppydiskette · 3 years ago
Perhaps you were more curious and interested. You certainly weren’t more knowledgeable.
floppydiskette commented on Make believe   sive.rs/mb... · Posted by u/kiyanwang
hef19898 · 3 years ago
Depenfs on the olace of birth, and especially in the case of Yugoslavia, his ancestry. The latter fought a couple a very nasty wars trying figure that one out.

Those people are either Czech, Slovak, Serb, Slovenes, Croat... Rather easy to answer.

floppydiskette · 3 years ago
What does it mean to be Czech or Slovak? At one point, those countries were combined into the nation of Czechoslovakia. Was a person born in Czechoslovakia Czech, Slovak, or Czechoslovakian? If we’re going to take ethnicity or language into account, then what does it mean to be American?

Many of those Eastern European languages are more of a sliding scale than divided by country borders. Moldovan and Romanian are basically the same thing.

I met someone on my travels from Italy who was Italian, but only spoke German, as they do in parts of Northern Italy.

floppydiskette commented on Make believe   sive.rs/mb... · Posted by u/kiyanwang
doix · 3 years ago
> Following a religion improves your daily actions, feels wonderful, and connects you to a worldwide community. These are better reasons than insisting it’s absolutely true.

Religion terrifies me, I don't feel wonderful thinking about eternal existence in the afterlife. Even if there was some proof that the afterlife did exist, I would most likely pretend it doesn't exist.

You can get a sense of community doing many other things.

> Same with philosophies, nationalities, norms, and concepts like loyalty, destiny, and identity. None of these are true. But they are useful.

I don't know what this means. How can nationalities not be true? Philosophies do not claim to be true, they are just a logically consistent framework.

No idea how it applies to concepts either.

floppydiskette · 3 years ago
Nationalities are a social construct, a bit of a shared delusion we all believe in. If we all stopped believing in them at the same time, they would cease to exist. That’s how they can not be “true”. Whether or not it’s useful or relevant to think that way depends on the situation. And that doesn’t mean they don’t have real consequences.

As for philosophies, he’s referring to living your life by any particular philosophy, whether or not it’s “objectively” the best way to live.

u/floppydiskette

KarmaCake day87October 20, 2015View Original