AmenZwa, to Futurology
@AmenZwa@mathstodon.xyz avatar

I get ridiculed by young JavaScript and Python coders, whenever I say that parallel processing is essential to the future of computing.

The seasoned among them point out to me that the idea of is almost as old as me, that their iPhone can run rings round a typical supercomputer I may have used in my grad school days, and that their Python programmes running on laptops can beat anything I may have written on a CRAY in Fortran or C. Those points seem valid, but they miss the mark.

First, just outrunning a 30-year-old system is not a legitimate measure of current performance.

Secondly, if modern hardware performance has reached a level where a naïve implementation of an algorithm in a slow scripting language can beat a hand-tuned parallel programme running on an old supercomputer, then today's programmers have the ethical responsibility to optimise their software implementations by exploiting those newer, greater hardware capabilities available to them.

Thirdly, if there is so much excess hardware capacity, the software should soak that up by striving for more accuracy, more precision, more features, whatever, but not by mining bitcoins.

Lastly, just about every consumer-grade machine today—server, desktop, laptop, tablet, phone, single-board computer—is a multicore, multiprocessor monster. Programmers should be exploiting those readily available parallel resources, now. Automatic performance upgrade of sequential code by Moore's law and Dennard scaling is dead and gone. And fully automatic parallelisation of sequential code by compilers is still a distant dream.

matters—especially today.

henrikbengtsson, to random
@henrikbengtsson@mastodon.social avatar

Attention #rstats package developers:

.onAttach <- function(...) {
if (stats::runif(1) > 0.1) return()

}

is "not-so-good" code. Anything that changes the state of random number generator (RNG) on package load prevents reproducible results. It's impossible to protect against this in some situations, e.g. when running things in #parallel where the result depends on whether the package is already loaded on parallel workers.

See https://mastodon.social/@maelle/112077634681229201 by @maelle

itnewsbot, to hardware
@itnewsbot@schleuss.online avatar

Displays We Love Hacking: Parallel RGB - You might have seen old display panels, from 3″ to 10″, with 40-pin FFC connectors... - https://hackaday.com/2024/01/25/displays-we-love-hacking-parallel-rgb/ #peripheralshacks #hackadaycolumns #displays #hardware #parallel #how-to #rgb

boilingsteam, to linux
@boilingsteam@mastodon.cloud avatar

Forkrun: Runs multiple inputs through a command in parallel using bash coprocs: https://github.com/jkool702/forkrun
#linux #update #foss #release #forkrun #parallel #bash

mattotcha, to Futurology
@mattotcha@mastodon.social avatar
Ixavi, to random
@Ixavi@pixelfed.social avatar
janriemer, to ArtificialIntelligence

#Fast and #Parallel Webpage #Layout (2010)

https://lmeyerov.github.io/projects/pbrowser/pubfiles/paper.pdf

"In this #paper, we introduce new #algorithms for #CSS selector matching, layout solving, and font rendering, which represent key components for a fast layout engine. Evaluation on popular sites shows speedups as high as 80x. We also formulate the layout problem with attribute grammars, enabling us to not only parallelize our algorithm but prove that it computes in O(log) time and without reflow."

#Performance #WebBrowser #DOM

avehtari, to random
@avehtari@bayes.club avatar

Bayesian cross-validation by parallel Markov Chain Monte Carlo by Alex Cooper, Aki Vehtari, Catherine Forbes, Lauren Kennedy, and Dan Simpson. http://arxiv.org/abs/2310.07002

  • fast general parallel brute force Bayesian cross-validation with GPUs
  • constant memory streaming estimates and convergence diagnostics
  • assessing convergence (Rhat) and accuracy (MCSE) of aggregated result from parallel computations

Alex did awesome job wih this!

#Bayesian #mcmc #parallel

EditorMark, to random
@EditorMark@mstdn.social avatar

The word "parallel" conveniently contains two parallel lines in the middle to remind us of the double-l spelling. But don't overdo it: paralleled, paralleling.

#words #tips #parallel

henrikbengtsson, to random
@henrikbengtsson@mastodon.social avatar

#PositConf2023: Today Sept 19 @ 3pm:

We're meeting at a round table in Riverside (lunchroom downstairs; right & right after the escalators; you'll see us) to talk about #parallel processing in #RStats.

One topic is marshalling - figuring out how to send special, non-exportable objects to other R processes.

Looking forward to seeing you there

henrikbengtsson, to random
@henrikbengtsson@mastodon.social avatar

If you're interested in discussing processing in at , please let me know or reply here. I'm hoping we can have an informal hangout during Monday, Tuesday, or Wednesday to discuss what's missing, what's new and what's on the roadmap for parallelization in R. It doesn't have to be on just

(I'll arrive late Sunday Sept 17 and leave early Thursday Sept 21)

datascience, to random

The {purrr} package is a powerfull way to replace loops. The {furrr} package takes this approach one step further by parallel execution: https://furrr.futureverse.org/index.html #rstats #parallel

fsf, to random
@fsf@hostux.social avatar

GNU Spotlight with Amin Bandali: Ten new GNU releases in the last month including #GCC, #GPG #Parallel, #Tramp, and more. Full details: https://www.fsf.org/blogs/community/july-gnu-spotlight-with-amin-bandali-ten-new-gnu-releases Big thanks to @bandali0 @bandali, all the devs, and other contributors! #GNUSpotlight

ojala, to poetry
@ojala@mastodon.nz avatar

p m
a i
r r
a r
l o
l r
e
l

image of your nose
and my nose we make
a vase
not a kiss
or risk breaking the foot
the emptiness
that makes the container

#MastoPrompt
#parallel

#SmallPoems #Poetry #MicroFiction #SmallStories
@tanweerdar

henrikbengtsson, to random
@henrikbengtsson@mastodon.social avatar

Hey, I'm now recommending using %dofuture% instead of %dopar% when parallelizing with foreach(), e.g.

library(doFuture)

y <- foreach(x=X, .export="slow_fcn") %dofuture% {
slow_fcn(x)
}

See https://www.jottr.org/2023/06/26/dofuture/ for why

#RStats #parallel #futureverse

rustnl, to rust
@rustnl@fosstodon.org avatar

What can we do to make rustc faster? There’s no more low hanging fruit, says Nicholas Nethercote. 🍒🦀

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • kavyap
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • osvaldo12
  • khanakhh
  • Youngstown
  • mdbf
  • slotface
  • rosin
  • everett
  • ngwrru68w68
  • Durango
  • anitta
  • InstantRegret
  • GTA5RPClips
  • cubers
  • ethstaker
  • normalnudes
  • tacticalgear
  • cisconetworking
  • tester
  • Leos
  • modclub
  • megavids
  • provamag3
  • lostlight
  • All magazines