4,687 karma · joined Dec 4, 2021 (4y ago) · 1,693 submissions
comment 3y ago · link · parent
When I look at a piece of code and I see something like "FOOBAR" I can be quite sure that I am looking at some variable in the global namespace. "FooBar" is most likely a class/struct. `foobar` could be a local name or a function.
Sure, these are conventions and don't need to be observed technically, but they are, because they are useful, same as it's useful to name counter variables in loops "i" instead of "localLoopIterationCounterVariable".
Oh and of course there are languages where case actually does matter syntactically, like Golang.
All of that flies out the window in a language that simply ignores case. And it is at this point where I pose the counter-question: What makes ignoring case in a programming language useful?
comment 3y ago · link · parent
If the documentation says "there is a thing named foobar", but in the code I can see Foobar, FooBar, FOOBAR, FOObar, etc. used interchangeably, that's not gonna help readbility and maintainability.
comment 3y ago · link · parent
Yes documentation isn't sexy. It's boring, it's tedious, and I can understand everyone who doesn't want to do it. And it's also key to a projects long term viability. If the only documentation for a project is "the discord", I won't use it, even if an alternative is a less optima technical fit.
Because if I have to come back to fix an issue 2 years later, and I need the documentation, I'd rather read a badly maintained, badly formatted 90s style HTML-ony page, than stare in frustration at an info telling me the discord channel no longer exists.
comment 3y ago · link · parent
What is "natural programming" supposed to be?
> Dragon Native
What is dragon native? How does it differ from Dragon? Where is this difference explained? I mean, this is right in the middle of the top thing I see on the webpage.
From the docs:
show and showln operators are used to output text.
What is the advantage of making these operators instead of functions like `printf()`?From the docs:
readChar(f) - reads one char (2 bytes). Returns number char's code
What is the definition of "char" here? Why is a "char" 2 bytes long?From the docs:
for initializing, condition, increment {
body
}
// or
for (initializing, condition, increment) {
body
}
// or
for (initializing, condition, increment)
body
end
Why are there multiple ways of writing the same syntactic construct?From the Dragon native documentation:
Not Case-Sensitive
Since the Dragon native is not case-sensitive, the same program can be written in different styles
In the very next sentence, the documentation states this: It’s better to select one style and use it in all of the program source code
So why not just enforce a style in the first place?comment 3y ago · link · parent
Why did people use imageshack? Because easy, because free. Just write a small plugin for the forum software du jour, or download one, and that's it, you're set.
Discord-Is-The-Docs is just the newest iteration of this struggle, and it's not the only one. How much documentation exists "de-facto" only, sitting in some issue tracking software that may or may not be accessible 4 years from now?
comment 3y ago · link · parent
b) One of the first and foremost items on gun-regulation todo-lists is to get rid of the kind of guns with the specific use-case of making killing people as easy as possible, aka. miltary weapons, automated weapons, easily concealed weapons, etc. So the regulations against guns are already targeting use-cases.
c) Physically controlling guns is a proven method, its effectiveness is supported by decades of evidence in countries implementing it.
comment 3y ago · link · parent
If a word describes a bad thing, that's a reason to get rid of the bad thing. It's not a reason to ban the word.
Because the latter doesn't help anyone with real problems. Wow, we banished "master" from git. Did that make the world a better place for the people described in these articles (see links)?
https://www.hrw.org/reports/2004/saudi0704/4.htm
https://www.ilo.org/global/about-the-ilo/newsroom/news/WCMS_...
Did it positively impact any of these lives? Is it going to do so at any point in the future? If so, what specific outcomes can these people expect from it?
My point is, banishing words describing bad things, doesn't make the bad things go away.
comment 3y ago · link · parent
1) Please show me an engineer who mistakes the meaning of the term "blacklist" in, say, an ACL system
2) The newspeak terms are no less ambiguous. Are the items on the list allowed exclusively or are they just granted special privilege like source IPs from which no authentication is required? Without context, which is provided by the surrounding system in any case, "block/allow" is just as nebulous as "black/white" Plus, it's one example among many. What ambiguity did "master" branches in repos confer?
3) Problems with ambiguity were not the reason given to introduce such changes. The reason given was that using the newspeak would someohow improve the lives of people experiencing racism, a claim for which I am still waiting for any concrete examples showcasing its validity
> Hey not all change is bad
As shown above, the change didn't solve any problems or provide tangible improvements, so it becomes change for changes sake, which is bad, always, under all circumstances, period.
comment 3y ago · link · parent
Yes, many words have more than one meaning. That's one of the many reasons why we need formal, context-free, specialized languages to communicate our will to machines effectively.
But humans are not machines. We can do context, and we can use words that mean more than one thing. We can also deal with misunderstandings much better than an automaton.
And this newspeak even fails at the goal of providing an unambiguous: Unless context is provided, a person who makes 6 figures a year is "financially disadvantaged" when compared to a billionaire. But noone would mistake someone earning 6 figures with someone who is poor.
comment 3y ago · link · parent
Whaaaat? I thought so many lives were improved by making devteams replace all usages of "black/whitelist" with "block/allowlist".
</sarcasm>
Well, except for the lives of the users, on-call engineers, 1st and 2nd level tech support, the product owners, and everyone else who had to deal with sudden, unexpected, hard to track bugs resulting from such BS changes.
<sarcasm>
Oh, ofc I apologise for my use of the word "list", which may be historically charged, and also non-inclusive to people who prefer unordered data.
</sarcasm>
comment 3y ago · link · parent
If this is not actively kept in check, such a system can deteriorate over time, by a positive-feedback loop of newly created controlling facilities created to control the increasing amount of facilities.
This is not to say that managing roles are not required. Of course they are. Complex systems need control. But the proliferation of that control needs to be kept in check, otherwise, the mechanism that is initially helpful (creating structure to control complexity), will become a problem by creating additional complexity of its own.
comment 3y ago · link · parent
Considering that the economy enjoyed 3 decades of basically uninterrupted growth, including right through all significant financial crisis situations (by massively supporting companies with taxpayers money), I couldn't care less how "hard" it is for companys with inflation now.
Baby-Boomers are going into retirement, the next 2 generations are low birth. The workforce is going to be an increasingly limited commodity. Supply and Demand also apply when it doesn't benefit the companies.
Either companies adapt, no matter how tough it is, or there will be less companies, easy as that.
comment 3y ago · link · parent
I would go even further and say it's not just so in the users minds, it is also so in the admins mind, whether that's a business setting where we have to make sure thousands of workers don't accidentially brick their PC (or worse: cause an infosec issue), or a family setting.
Though I have to say, that lockdown-feature comes with a rather heavy price tag attached, because, well, the systems in question do a whole lot more than just make the locking down easy, do they?
It would be great if commonly used Linux Desktop Environments allowed for a switchable (with root-privileges) "Lockdown". I'm aware that this is possible already, but requires too many steps and is too error-prone. What I want is a simple on/off-cmd offered directly by the Desktop-Suite for me to issue as root.
That would allow people like you and me to setup computers for non technical people to use easily, whith the benefits of both an open system, and the stability a locked down system provides.
comment 3y ago · link · parent
Why not? The analogy just shows that there are many prior examples of skills that only comparatively few humans could do, and/or humans couldn't do consistenly/cheap/quickly/at-scale, until suddely the tasks were automated. My point from this is, if this happened in the past, regularly, why would it suddenly be a problem now?
> None of these tools require the original artwork of other artists to function
They do if someone deliberately wants to infringe copyright and/or forge someone elses work, because without an example, how would they do that?
> an AI that was explicitly trained for a particular purpose.
That purpose being "translate an input prompt into a consistent image".
Yes, people can use them do bad things, same as they can use cars as getaway vehicles. Neither is the fault of the tool, but the fault of people using them for nefarious purposes.
> We might blame the car manufacturer though if the car was autonomous and had been trained on a dataset of all drivers and driving styles, and had "learned" to be a getaway car, replete with situational awareness of a typical robbery scene, knowledge of how to avoid cops, etc.
Why would we wait with the blame until the car was autonomous? Why don't we start with cars that have, eg. strong engines? I'd guess a strong engine is a desireable property for a getaway vehicle. So, why don't we blame string engines?
For the same reason why it doesn't make sense to blame generative AI for people using it for copyright infringement: Strong engines have a ton of legitimate, useful properties. The fact that some people use them for bad things, doesn't outweigh the usefulness to the many more people using them for good things.
The hypothetical car that was trained on tons of extreme driving techniques might also use that training to avoid a crash in an emergency situation, or to detect dangerous behaviour of other vehicles sooner.
Again, we don't blame the tools, we blame the people using them for bad things.
comment 3y ago · link · parent
People who could machine very small cogwheels precisely enough used to be rare, which is, as far as I know, part of the reason Charles Babbage never completed the Analytical Engine (prohibitive costs for the parts). Today we mass produce tiny cogwheels and other mechanical parts due to automation.
> The claims that Stable Diffusion only produces derivative work and not originals was at the heart of the argument that says SD model training is fair use, and regardless of why, we know this is not true.
Brushes, canvas and pigments can be used to produce non-derivative works as well. So can pencils, or photocopiers. There are thousands of tools that could be used to infringe copyrights or make forgeries of other peoples works. We don't blame the car when bankrobbers use it as a getaway vehicle.
comment 3y ago · link · parent
Why? If a really good artist studies a single piece long enough, he could be able reproduce it to a degree where it takes expert analysis to determine which is the original. It's not as if there have never been forgeries of expensive artworks.
The difference between a human studying a certain piece intensely, and a model overfitting to it, is that to the model, it happens by accident. Overfitting to the training set is not a desired outcome, it's something ML techniques are trying to actively avoid.
comment 3y ago · link · parent
The model learns concepts from images, not the images itself. It has developed general solutions explaining light, colors, composition, objects and their relation to one another, facial features and too many more concepts to even begin enumerating them.
How is this different from a human studying art, literature, music, etc. to learn concepts and then apply them in creating new pictures, novels or songs?
comment 3y ago · link · parent
Or, I could not do that, and instead have it done by a sub-100-lines python script, running on a battery powered Pi.
comment 3y ago · link · parent
Here is a thought: If people have their basic needs met, and I don't mean "barely survive", I mean "having the same fair chance at building wealth as prior generations", then maybe people in such a society may be willing to have more children.
If, on the other hand, it becomes ever harder to build wealth, becomes ever harder to cover the cost of living, education is demanded but also becomes ever more expensive to get, and any time not spent working becomes an economic malus on the individual, well ... I don't see how people will flock to the joys of parenthood then.
comment 3y ago · link · parent
Such patterns would enable the video file to decode into a multitude of pictures not originally in the training data. Obviously, a video file cannot do that...it's just compressed data.
Generative models however can generate things that are not in its training set.
And of course, there is a fundamental difference in the source data between compressed video and a generative model: video codecs work with a sorted sequence of images, where most images are slight variations of the ones before them. The training for generative AI doesn't have these properties, the input is not an ordered sequence, and even similar pictures are not sequential variations of one another.