SELECT replace(replace(replace(replace(replace(replace(replace(translate(replace(j.title, ' - ', ' '), '~@#$%^&*()_+=|\/:;[]{}<>,. ', '---------------------------'), '''', ''), '"', ''), '!', ''), '?', ''), '--', '-'), '---', '-'), '--', '-')
INTO seofriendlytext
Posts made by Buddy
-
RE: WTF Bites
-
RE: UI Bites
The null weather was actually pretty mild where I am. I think the worst of it passed further null.
-
RE: COVID-19 CovidSim Model
@jinpa sure they are. nx³+c is a mathematical formula.
-
RE: Linux locks and a kinder, gentler Linus
@Mason_Wheeler said in Linux locks and a kinder, gentler Linus:
@Captain said in Linux locks and a kinder, gentler Linus:
And there are facts about integration on L^2 that tell us how much information we can get out of that measurement (i.e., because the Fourier transform is an isometry on L^2).
https://pics.me.me/thumb_mmhmm-yeah-know-some-ofthese-words-mmhmm-yeah-i-know-53324888.png
If you're familiar with Fourier transforms, a nice illustration of the Heisenberg principle is how it relates to quantum degeneracy pressure. Degeneracy pressure is what keeps certain bodies from collapsing - electron degeneracy for white dwarves and neutron degeneracy for neutron stars.
Particles' position and momentum are related by a Fourier transform. As the position of the particle is constrained (by gravity), the waveform of its position approaches the Dirac Delta function. The Fourier transform of the point function is a horizontal line at 1. If this were the case, the particle's position in the next instant would no longer be a single point. Thus there's a minimum bound to how certain a particle's position and momentum can be.
So in this case, Heisenberg uncertainty—the fact that as a particle's position is constrained, the probability distribution of its momentum increases—is what's causing the particles to move and preventing the star from collapsing into a singularity.
-
RE: Linux locks and a kinder, gentler Linus
@acrow said in Linux locks and a kinder, gentler Linus:
@dkf said in Linux locks and a kinder, gentler Linus:
@acrow said in Linux locks and a kinder, gentler Linus:
Speaking of EOL-7. I'll push Ubuntu Linux on an unsuspecting grandma later this month. Let's see how long it'll take before she coughs up which SkypeJavaSyphillis she actually needs installed, in addition to "just a bit of e-mail and banking". And then I'll cough up for that Win10 license for her.
Get her a tablet or chromebook. Except for people actively creating a lot of content, such devices are entirely adequate.
Paving over her current laptop with Linux is cheaper, while Ubuntu specifically is just about as usable for seniors as most android tablets.
If I might have to spring for the Win10 license down the road anyway, I'd rather start with the cheap options.I think it's still possible to get a free windows 10 upgrade. This link's just an arbitrary Google search result, but the content does match what I've heard
-
RE: Linux locks and a kinder, gentler Linus
@dfdub said in Linux locks and a kinder, gentler Linus:
@Buddy said in Linux locks and a kinder, gentler Linus:
Heh, that's been ck's point since the beginning. Linux schedulers are overwrought and not very good for desktop computing.
I don't think that's an accurate representation of the tradeoffs involved here. It sounds like Windows only behaves the way it does to please buggy software that expects it to do just that.
I don't see a good reason to have a single run queue for all CPUs in a modern scheduler (or emulate one).
Con Kolivas did see a reason for that. His single run queue scheduler does perform better for interactive tasks on a desktop workstation than the stock Linux scheduler. But that's not the workload that Linux is designed for.
-
RE: Linux locks and a kinder, gentler Linus
@dfdub said in Linux locks and a kinder, gentler Linus:
@hungrier
If you have some time, the interesting parts are:- The original blog post (mostly for the background and the spinlock implementation)
- The reply to Linus' original post by the author of the blog post
- Linus' long reply in which he explains the wrong assumptions and why the Linux schedulers (have to) work differently
The shortest tl;dr is "don't use spinlocks and don't implement them in userspace".
The slightly longer tl;dr is "you cannot expect the scheduler to schedule the thread you want if you don't tell it what thread that is, even if all your other threads are telling the scheduler to do something else". Apparently, Windows (potentially only in game mode?), Xbox and PS4 do that, but it doesn't make sense for a general-purpose scheduler to behave this way.
Linus:
Yes, it turns out that certain simple schedulers get exactly the behavior you want. The best way to get exactly your behavior is to have a single run-queue for the whole system, and make 'sched_yield()' always put the thread at the back of that run-queue, and pick the front one instead.
IOW, for your [use case], the optimal scheduler is a stupid one that does not try to take any kind of CPU cache placement into account, does not try to at all optimize the run-queues to be thread-local, and just basically treats the scheduling decision as if we were still running one single CPU core, and that CPU had no cache locality issues.
Heh, that's been ck's point since the beginning. Linux schedulers are overwrought and not very good for desktop computing.
-
RE: The Official Funny Stuff Thread™
@da-Doctah said in The Official Funny Stuff Thread™:
@Buddy said in The Official Funny Stuff Thread™:
Romans had sun god Apollo, (later Sol Invictus) and moon goddess Diana. Germans had sun goddess Sunna and moon god Máni.
And the other two moon gods, Moe and Jack.
I know what you're after
-
RE: The Official Funny Stuff Thread™
@da-Doctah said in The Official Funny Stuff Thread™:
why does German have the sun feminine and the moon masculine, while French has it the other way round?
Romans had sun god Apollo, (later Sol Invictus) and moon goddess Diana. Germans had sun goddess Sunna and moon god Máni.
-
RE: WTF Bites
@Polygeekery LastPass authenticator has online backups and supports multiple devices. https://blog.lastpass.com/2017/05/announcing-cloud-backup-for-lastpass-authenticator-easier-multifactor-security-for-everyone.html/
I haven't used it enough to offer a personal endorsement, but the number of sites it supports push notifications for is pretty good.
-
RE: The Official Funny Stuff Thread™
@topspin xbone and sexbox are good, the rest of them are questionable.
-
RE: WTF Bites
@lolwhat I use the internet almost exclusively from my phone. This forum software makes me regret every time that I use it. And don't get me started about the people who post here.
-
RE: The Official Funny Stuff Thread™
@Tsaukpaetra No head injury is too trivial to be ignored.
-
RE: Microsoft debuts Bosque – a yet another pointless programming language
@dkf consider a video game where the game world can be an arbitrarily large data structure, which can be read or updated from many places in the code. Would ensuring that the game world is never memcpyed (assuming for the sake of this argument that this would result in a stutter or freeze noticable by the player) be any less hard than the analysis they are trying to avoid?
Or, to come at this from another angle: why are mutable data structures available in Haskell?
-
RE: Microsoft debuts Bosque – a yet another pointless programming language
@levicki said in Microsoft debuts Bosque – a yet another pointless programming language:
That sentence is way too abstract even for an average human.
Yeah, I don't like it either. “closer to the center of the galaxy than” is way better, but unfortunately the inform syntax is <location> is <direction> of <location>.
You would first need to explain:
That by "galaxy of Sol" you mean Milky Way
Inform7 suffers from the design decision that strings don't require delimiters, which makes mistakes like the one you made here easy. If the required syntax was “Alpha Centauri” is “towards the center of the galaxy” of “Sol”, that would make it easier for a human to intuit how the compiler was going to interpret this rule.
That Alpha Centauri is a star system with 2 stars (Alpha Centauri A and B) and a red dwarf (Proxima Centauri)
Irrelevant.
Concepts of right ascension and declination because you can't speak of directions in space without them
I can and did.
Concept (and location) of center of a barred spiral galaxy before you can say "towards it"
Inform does let you defone “towards the center o the galaxy” as a direcion without explaining what it means. And to claim that the average human doesn't understand the concept of ‘center’ or know where the center of the galaxy is is absurd.
I mean, I've heard that residents of LA called 911 to report a strange silvery cloud (the Milky Way) that appeared in the sky during a power outage after an earthquake, but that's a) probably an urban legend, and b) citizens of Los Angeles, not average humans. As Nick Cave puts it, “even the pale sky stars knew enough to stay well away from LA”.
It shows with how much negative bias you are approaching the new thing when you strive to pick out something bad about it instead of focusing on the good parts.
Hey, I would like natural language programming if it were good, but it isn't.
Those posts also ignored “and EPS file”, because who knows what the fuck that means
Did you try Encapsulated PostScript?
Knowing the meaning of EPS doesn't help me to understand how “and EPS file” relates to the rest of the paragraph that it is appended to.
-
RE: Microsoft debuts Bosque – a yet another pointless programming language
As for the Bosque language: what's the advantage of being able to statically prove that your
loopfolds always terminate if you can't provide the guarantee (or even expectation) that it will happen within a reasonable time frame, due to the design decision that all data structures must be immutable.Also, immutable data structures can be a giant pain in the ass to work with, and all the features intended to help with that are marked as TODO in the documentation.
-
RE: Microsoft debuts Bosque – a yet another pointless programming language
@levicki sure, but it only defines 12 directions (cardinal & intercardinal, plus up/down and inside/outside). If you want to say something like “Alpha Centauri is towards the center of the galaxy of Sol”, which is (arguably) a valid natural-language sentence, you would first need to write “Towards the center of the galaxy is a direction. The opposite of towards the center of the galaxy is away from the center of the galaxy is away from the center of the galaxy”. You need to phrase it exactly like that, including the redundant definition of the opposite direction, and the awkward fragment “center of the galaxy of”, or the compiler won't know what you mean. There are several take-aways from this:
- Not all natural language sentences are valid inform programs
- Not all inform programs are valid natural language
- You need to know Inform syntax in order to write Inform programs
- Understanding the natural-language meaning of an Inform program is not the same as understanding how it will be executed
DSLs like this are a gimmick: they allow you to write code that scans like prose, but they don't require it. And the fact the the code scans like prose can hinder one's ability to understand is as code. Compare it to a magic eye puzzle - the same source has two completely different meanings that you can focus on and to see the less familiar one, the brain must first unfocus from the more familiar one. Producing an interpretation of the code doesn't help anyone, what you need is a mental model of how that code will be executed.
Take the first example posted in this thread:
Index map with room-shape set to "square" and room-size set to 60 and room-name-size set to 9 and room-name-length set to 13 and route-thickness set to 15 and room-outline set to off and map-outline set to off and route-colour set to "White" and room-colour set to "White" and font set to "Trebuchet-MS-Regular" and EPS file.
For starters, what the fuck does this even mean in natural language? “Index map with room-shape set to square”? It's fucking gibberish. But since it scans like natural language, natural-language instincts kick in, and people go with the closest interpretation they can find that seems correct. So we got a lot of posts showing how to create a data structure named map containing various named properties initialized to certain values, when that's not what that code does at all - it tells Inform to draw a map on the index page of the project, and how to draw it. Those posts also ignored “and EPS file”, because who knows what the fuck that means, or even whether it applies to the map or the index (braces, brackets, and parentheses are far better ways to show nesting than keywords are).
-
RE: Inversion of Control with plugins?
@Tsaukpaetra said in Inversion of Control with plugins?:
So, in this case, you're to include a header file that includes a struct that holds pointers to functions, which the loading executable (in this case HexChat) provides the plugin by calling a specific function in the plugin and providing it that handle to the struct.
I'm interested to know how you parsed the original post to mean something other than that:
@Tsaukpaetra program A has plugin compatibility. so any DLLs in a particular folder, including DLL B, get loaded at runtime and a particular exported symbol is called. This is an inverse of how DLLs are supposed to work; the program provides the library functions to the DLL instead of the other way around. This is fine on non-Windows systems, because externally-defined functions can be referenced even if you don't specify the DLL name as long as the function exists at runtime. Windows however does not have an 'amorphous blob' model of functions, and requires that you say what DLL each function comes from. This means that this plugin compatibility model is impossible in Windows.
Unless of course you pass a struct to that particular exported symbol containing all your library function pointers. Which is the solution I'm currently running with.Was it the ranty interjection that threw you? If we cut that out we get
@Tsaukpaetra program A has plugin compatibility. so any DLLs in a particular folder, including DLL B, get loaded at runtime and a particular exported symbol is called.
you pass a struct to that particular exported symbol containing all your library function pointers. Which is the solution I'm currently running with.which to me seems to be saying the same thing as your summary above.
-
RE: The nerdy jokes thread (bonus original title mode!)
@Gąska if you reach for the toilet paper and a rabbit scratches you that's sNaN, if you turn into a rabbit it's qNaN. If you don't use toilet paper and make a mess on the floor, that's Onan.
-
RE: The Official Funny Stuff Thread™
@Cursorkeys that's nice to hear, thanks. If there's one thing I do like about this forum, it's that I was able to register the name 'buddy'.
-
RE: The Official Funny Stuff Thread™
@Tsaukpaetra the caption is lies. You can tell that the plates are all the same way up as they all have light on the left and shadow on the right. You can also tell that the light source is on the right by the shadow on the top edge of the top left plate, or by the shadow of the center right plate on the center left plate. Thus we can tell that all the plates are right way up.
-
good
You might be wondering why I was looking up the meaning of the word 'good' on google, here's why:
-
RE: The bad jokes topic 🐴🍹👨
The first old lady says “windy, isn't it?”, the second says “no it's Thursday”, the third says “me too, let's go inside for a nice pot of tea”
-
RE: Explain to me SOX Compliance
@yamikuronue have you got something like this set up? In theory, having a pause just before the 'deploy to production' step that requires a manager to click a button to approve each build seems like a good way to coordinate something like that. It's something I've been meaning to set up in our build process for while now.
-
RE: I need 10,000 hours of sleep each night, do I have a disability?
Did you get your BMW from the government yet?
-
RE: 🖎 The officious song of the day comment thread!
@zecc oh, well it was the track Divine Filth by Dead Cross. You can look it up if you want to hear a montage of generic heavy-metal riffs.
-
RE: 🎤 Song of the day 👂
Catfish, bird-dog, piggy-bank
Horsewhip, cow-tip, honey drip
Snake-slithering, shine-sipping, and bullshitting -
RE: The Word of the Day Thread
My favorite word is 'fulsome', because it means either 'copious' or 'insincere', and a lot of people know only one of those meanings—but not the same one.
-
RE: The Word of the Day Thread
@zecc said in The Word of the Day Thread:
@heterodox said in The Word of the Day Thread:
ETA: I keep meaning to copy the pronunciation of these for those who have trouble with words they've only seen written. [an-tip-uh-dee-uh n]
TIL I've been pronouncing antipodes incorrectly. (rhyming with "bode")
But that is correct https://en.m.wikipedia.org/wiki/Bode_plot
-
RE: In Defense of Electron
@bb36e said in In Defense of Electron:
All right, let's see what he has to say...
I'm out.
When you visit that site for the first time, you get a notification that says “sign in to see your notifications”.
-
RE: Get your shit together, Dion
@ben_lubar said in Get your shit together, Dion:
What does a home directory have to hide???
The footer html for that web site.
-
RE: Firefox, again
@lb_ the tab at the top of each tab that you can use to tab to the tab.
-
RE: Firefox, again
@createdtodislikethis said in Firefox, again:
extensions to modify the UI and this will pretty much remove the only reason most people even bother with firefox these days.
People keep saying this, meanwhile I keep using Firefox because I hate the shape of chrome's tab tabs.
-
RE: 2018 won't be the year of Linux on desktop and it's @boomzilla's fault
@blakeyrat said in 2018 won't be the year of Linux on desktop and it's @boomzilla's fault:
Spend 500 hours of developer time making themes 100% configurable. Then at least another 500 hours QAing all the edge-cases you just created.
Or spend 100 hours of designer + developer time to create one nice theme that works out of the box.That second paragraph sounds a lot harder than the first one. Developer hours is the one resource they have more than enough of.
But what I'm complaining about is that they already had done the developer time, and decided to throw it away.
-
RE: 2018 won't be the year of Linux on desktop and it's @boomzilla's fault
@blakeyrat said in 2018 won't be the year of Linux on desktop and it's @boomzilla's fault:
The real fundamental problem is that there's no money in the Linux ecosystem. You have hire people to get this shit done, and they can't afford to.
Sure, but if those are the constraints you're working with, it's not a good idea to redesign your product very often. I can't believe I need to tell you this. Similarly, if you can't afford professional design work, extensive theming support is a reasonable way to allow people to do that work for you for free. Gnome had that, but decided to switch to a development model that breaks support for existing themes every three months.
-
RE: 2018 won't be the year of Linux on desktop and it's @boomzilla's fault
@blakeyrat said in 2018 won't be the year of Linux on desktop and it's @boomzilla's fault:
You need a 10-foot design
No you don't. More to the point, you can't get it in OSS, for all the reasons you've already laid out. Instead of trying to compete with the big companies on an axis where they were completely outclassed, gnome should have played to their strengths. Customizability was the only good thing about Linux desktop environments, and they were dumbasses for abandoning it.