1,107 karma · joined Mar 22, 2019 (7y ago) · 450 submissions
comment 1y ago · link · parent
I like collecting books and have lots of series, but editions and cover/spine designs changes all the time for no good reason. Especially for long series it's near-impossible to get a collection with consistent styles, which I find frustrating. And when buying rare or old second-hand books online, it's even worse.
The app will allow you to enter your book information (title, author, size, summary...), then choose the design/layout. You will then have the option to print it by yourself (for free - if you can find a big enough printer) or get it printed by a professional.
comment 1y ago · link · parent
The fact that high functioning people like Asperger got merged with it and changed to a spectrum is precisely science at work, achieving to improve our understanding of the phenomenon. We previously believed that only the extreme cases were autistic, but we now understand that this limit was arbitrary and wrong, because autism is a broader spectrum of people with a wide range of possible characteristics.
Autism is not a disease, it's a neurodivergence, and it is very important to understand that autistic people are not broken, but simply function differently. The proof being that outside of a minority of extreme cases, autistic people does not have issues communicating or socializing with other autistic people.
Trying to categorize people as "normal" and "abnormal" and then pretending to "fix" the abnormal ones is dangerous and drifts towards eugenism, because there is not a single definition of normal, and there is probably not a single person on earth that is "normal".
If 97% of the population was autistic, then autistic people would not have any issues. The remaining 3% of what is currently considered neurotypical would be the ones having difficulties socializing, communicating and experiencing severe anxieties and psychological problems due to it.
This is why the solution is not to "fix" autism, but to help them find an environment where they can strive, be understood and live comfortably.
63.
JavaScript Font Picker(jsfontpicker.com ↗)
1 points · by Seb-C · 1y ago · discuss
comment 1y ago · link · parent
The markets have been so warped by the power of existing monopolies that most investors are only interested in trying to find the next golden goose (as we can see in the crypto, AI, metaverse and countless other bubbles).
comment 1y ago · link · parent
It is true that there are many other cues, like opening their mouth, trying to suck or lick anything around. My son gets agitated in his sleep quite some time before he actually starts to scream.
Interestingly, in many languages it is very common (or even normal) to say that a baby is "crying". But babies are not actually crying. There is no tear or sadness involved. It's a primitive form of communication, aimed at signaling a need and creating a sense of urgency to caregivers, but it's different from crying.
I'm still very new to this, but there are also different nuances and pitches within their communication. "I am hungry" and "I am too cold and that makes me feel in danger" are notably different and achieves to communicate a very different sense of urgency.
comment 1y ago · link · parent
He is very calm and seems to appreciate the experience, until it's time to get out of it.
We do our best to keep him warm and heat the room, but it does not seem to ever be enough to ease the ending.
72.
List of Lists of Lists(en.wikipedia.org ↗)
1 points · by Seb-C · 1y ago · discuss
73.
"Write-Only" Documents(doceo.co.uk ↗)
3 points · by Seb-C · 1y ago · discuss
74.
Monotropism(en.wikipedia.org ↗)
4 points · by Seb-C · 1y ago · discuss
comment 1y ago · link · parent
const float MIN_ALPHA_THRESHOLD = 0.3;
const float MAX_ALPHA_THRESHOLD = 0.7;
[...]
if (fragmentColor.a < MIN_ALPHA_THRESHOLD) {
// Outer edge of the border
float outputAlpha = fragmentColor.a / MIN_ALPHA_THRESHOLD;
outputColor = vColor * outputAlpha;
} else if (fragmentColor.a > MAX_ALPHA_THRESHOLD) {
// Inner edge of the border
float outputAlpha = 1 - ((fragmentColor.a - MAX_ALPHA_THRESHOLD) / (1 - MAX_ALPHA_THRESHOLD));
outputColor = vColor * outputAlpha;
} else {
// "Inside" of the border
outputColor = vColor;
}
So if the border goes like transparent->opaque, I divide it into segments using a threshold (transparent->min_threshold->max_threshold->opaque) and change the alpha values:- Smoothen out the transparent->min_threshold segment, so that it goes linearly from a=0 to a=1
- make opaque (a=1) the min_threshold->max_threshold segment
- Revert and smoothen out the max_threshold->opaque segment so that it goes linearly from a=1 to a=0
comment 1y ago · link · parent
It's similar to the one described as "Blurred Buffer", except that instead of doing a blur pass, I'm exploiting the borders created by the antialiasing (I think via multi sampling, or maybe texture filtering).
I draw the object in plain opaque white on a transparent black background, and in the fragment shader I filter what does not have a fully opaque or transparent alpha channel (according to some hardcoded threshold). It gives decent enough results, it's cheap performance-wise and is very simple to implement.
comment 1y ago · link · parent
Every time I answered their bait and they "just wanted a quick phone call", it was clear that they only were interested in filling their database.
Then I get spammed by them with irrelevant automated offers forever, unless I block them completely.
comment 1y ago · link · parent
I spent years fighting with those to try to have a satisfying setup that worked, but found ctags to be high maintenance (always breaking in some way, not context-aware on untyped languages, index getting obsolete quickly and taking forever to update...), and I never looked back since trying coc.vim.
comment 1y ago · link · parent
But that advantage becomes a weakness when you need more complex text replacement or specific repetitive actions.
That is why I use vim with an LSP, I find it to be the best of both worlds (especially the macros in vim): a smart but limited tool, and a dumb but powerful one.
Maybe we'll get a smart and powerful one some day (but I doubt it).
comment 1y ago · link · parent
I expect that especially hardcore and purist Vim users (the likes that does not use any plugin or configuration) should know to use macros and other available tools (not even mentioning bash) to make the work faster.
With enough experience on those, you can get a level of productivity that is not much different than IDEs like IntelliJ.
comment 1y ago · link · parent
The job of a software engineer is to first understand the real needs of the customer/user, which requires a level of knowledge and understanding of the real world that LLMs simply don't have and will never do because that is simply not what it does.
The second part of a software engineer's job is to translate those needs into a functional program. Here the issue is that natural languages are simply not precise enough for the kind of logic that is involved. This is why we invented programming languages rather than use plain English. And since the interface of LLMs is by definition human (natural) languages, it fundamentally will always have the same flaws.
Any precise enough interface for this second part of the job will by definition just be some higher level programming language, which not only involves an expert of the tool anyway, but also is unrealistic given the amount of efforts that we already collectively invest into getting more productive languages and frameworks to replace ourselves.
comment 2y ago · link · parent
What kind of fine grained control are you talking about here? I never felt like I was missing anything when doing even complex SQL (unless I am forced to use a crappy MySQL, which problems are not inherent to SQL itself).
Quite the contrary actually: despite having this amazing high level of abstaction, most developers are ignorant or don't care to properly index the data, add integrity constraints, manage the locks or think about transactions.
In 99% of the non-SQL code that I see, developers don't even go further than nested loops containing IOs, so I don't think that letting them decide which tree/trie is appropriate for a user case (for example) would help in any way.
comment 2y ago · link · parent
In my opinion, a simple language should be highly consistent (have a few rules, but which are universal and consistent everywhere). Instead we have a language with weirdnesses, inconsistencies and workarounds all over the place.
A good example is type elision: it's available when declaring arrays, slices and maps, but not for structs. Allowing that would have several benefits in terms of readability, and also allow named parameters via anonymous struct arguments (which would greatly improve the design compared to the ugly workarounds that are currently used).
comment 2y ago · link · parent