228 karma · joined March 10, 2014
Speaking of beer and bell ringers here's what the Rev H. T Ellacombe had to say about them in 1861:
"it was a well-known fact that, as a body, a more drunken set of fellows could not be found."
"I have heard of clergymen who have even refused to accept a living where there was a peal of bells; and of those who have said, upon learning the number of the bells in the tower, 'Then, certain it is, there are as many drunkards in the village.' 'That man is a ringer,' is is quite enough in some places to intimate that he is an idle, sottish character. I know one clergyman curacy who left his curacy in Worcestershire on account of the conduct of the ringers."
Some traditions are worth keeping up ;-)
No internet. Same problems.
The article missed out one important detail - the deal included very overpriced accommodation, which is how they were going to claw the cost of the flights back. But they failed to make booking the accommodation through the deal mandatory, so people took the flights and not the accommodation.
Most of the time experience and healthy cynicism is the cheapest option.
The Mathematics of Bell Ringing https://www.youtube.com/watch?v=44jXUo6KaVs
Performances (Peals) consist of 5040 changes (sequences), have a strict set of rules and take around 3 hours 15 minutes to complete, and must be rung entirely from memory, with no written aids.
In the early 1960s a CS algorithm for efficiently enumerating permutations was published, the Steinhaus–Johnson–Trotter algorithm. It's in Knuth, for those who have access to a copy. Unfortunately for them, it had been known by English Change Ringers as Plain Changes, since around 1621.
Ours only chimes on the hour but it's going 24/7 and is very close to the surrounding houses (~40m) some of which are uphill and directly in line with the bells. I had to go in today to fettle it as it wasn't chiming and someone had posted on the village FB group that they were missing it. That's a fairly regular occurrence, most people people like hearing them, even through the night. Any complaints we get are when the clock stops.
It is possible to modify clocks to stop them chiming overnight, although ours is still in its entirely mechanical 1883 form, including me having to wind it every week.
https://www.churchtimes.co.uk/articles/2018/2-february/news/...
In the last year unaffected by COVID, there were 10,701 recorded performances and many more unrecorded ones and practices. https://bellboard.uk/
There are 23,397 Methods and 52,650 Compositions available, where a Method is roughly equivalent to a piece or song in traditional music terms. http://methods.ringing.org/intro.html
And why the hell is selecting files yet another different way of doing what's basically the same task as elsewhere? I'd suggest they should be using the File Scopes feature except it's terminally useless, with it's wierd-ass, barely documented and inadequate syntax. I've never managed to get it to work adequately.
There seems to be a common failing with JetBrains product development, they try to rush out as many different features as possible, presumably for the purposes of marketing "tick lists", but many of them are poorly designed, bug ridden and never worked on after v1.0
IntelliJ - because all the alternatives are even worse.
Like the OP I've simply stopped reporting bugs, because they don't get looked at for literally years, let alone fixed.
The product is OK-ish, the support is abysmal.
It would have been fine if the post was along the lines of "I've observed XXX, there's clearly something strange going on" but as you say there was a misinformed leap to blame the kernel devs. That's not OK as bearing in mind the exposure the post got, there's a real danger that the misinformation it contains will become "accepted knowledge".
https://www.google.com/search?q=linux+spin+lock+library
pthread_spin_lock(3) is on the first page, along with a RH presentation which explains exactly why trying to roll your own userspace implementation is unlikely to be successful. The guy simply didn't do his homework, I have no idea why you are trying to defend him.
$ man -k spin
pthread_spin_destroy (3) - initialize or destroy a spin lock
pthread_spin_init (3) - initialize or destroy a spin lock
pthread_spin_lock (3) - lock and unlock a spin lock
pthread_spin_trylock (3) - lock and unlock a spin lock
pthread_spin_unlock (3) - lock and unlock a spin lock
TAP::Parser::Scheduler::Spinner (3perl) - A no-op job.
Sigh...http://man7.org/linux/man-pages/man3/pthread_spin_init.3.htm...
Spin locks should be employed in conjunction with real-time scheduling policies (SCHED_FIFO, or possibly SCHED_RR). Use of spin locks with nondeterministic scheduling policies such as SCHED_OTHER probably indicates a design mistake. The problem is that if a thread operating under such a policy is scheduled off the CPU while it holds a spin lock, then other threads will waste time spinning on the lock until the lock holder is once more rescheduled and releases the lock.
If threads create a deadlock situation while employing spin locks, those threads will spin forever consuming CPU time.
User-space spin locks are not applicable as a general locking solution. They are, by definition, prone to priority inversion and unbounded spin times. A programmer using spin locks must be exceptionally careful not only in the code, but also in terms of system configuration, thread placement, and priority assignment.