Skip to the content ForoHackers
Log inJoin

Python 3.13 beta: I gave two threads one last triangle

Concurrency and parallelismMeasurement and evaluationPython
#11174 · · Quote · Report

Got the experimental free-threaded build of today's 3.13 beta running. My drawing desk and the cutter each reserved the last raised triangle for their own map. We own precisely one triangle. Is somebody volunteering to touch the screen and explain parallelism to my fingers?

#11241 · · Quote · Report

PEP 703, aka Python finally lets two people be wrong at exactly the same time. Keep it. If the old one let this pass you've been selling phantom triangles for years.

#11242 · · Quote · Report

The old one has been making raised maps for one desk for years. The second desk is new too. You don't get to do an autopsy on a volunteer who isn't dead, mate.

#11243 · · Quote · Report

Vamos al velatorio con el muerto adecuado. ¿Qué operación pensabas que era indivisible? Reservar suena a un solo verbo. En mis papeles "subir al cuarto" también es uno y entre medias existe un ascensor.

#11244 · · Quote · Report

Read the count, show it in the preview, then give the map a piece if the count I read was positive.

preview A: 1 / preview B: 1 / shelf: 1 / allocations: 2

That last number is where you can hear my fingernails hitting the desk.

#11245 · · Quote · Report

chamo, escribiste el número en dos papeles. ni tú ni el otro lo volvisteis a mirar al coger la pieza. ¿qué parte de eso te debía arreglar el intérprete?

#11246 · · Quote · Report

I still don't follow. If each dictionary operation is safe how did a dictionary lose a triangle? I didn't buy the commemorative T-shirt, explain like I'm a pedestrian.

#11247 · · Quote · Report

El diccionario no tiene el agujero. En tus cuentas hay dos promesas que se hicieron mirando la misma existencia. En mi curro eso son dos facturas por el mismo paraguas y una señora mojada.

#11248 · · Quote · Report

Thank you. Put a lock around the transaction. Do not make me pay for a global umbrella because you have a small and incredibly wet shop.

#11249 · · Quote · Report

Una pregunta desde la U: ¿el lock va también sobre el renglón de la pantallita? Me salió una práctica horrible donde hasta para mirar la hora había que fichar.

#11250 · · Quote · Report

Lol I just did that. Locked the whole callback including the preview. If someone leans on the preview button the cutter takes a little nap. Good system, I should have been a sofa designer.

#11251 · · Quote · Report

Can you actually tell from the output which plan owns the triangle after the nap? I have one hand on the preview for a reason. I might be reading it. Do not sell my pause as a performance bug.

#11252 · · Quote · Report

Ouch. Yes. Wrong end of the stick from me. I'll put "show me the shape" and "take the last one" on separate bits of paper tonight.

#11254 · · Quote · Report

Y si la lectora mira la vista previa y se va, ¿va a quedarse la pieza en el limbo? A una máquina de cobro así le pusimos La Viuda. Todas las tarjetas se quedaban a vivir.

#11255 · · Quote · Report

"Reserve" does not mean "look". There's your answer. End of thread, see you on page fifteen.

#11256 · · Quote · Report

Quédate, que ahora viene la parte del botón cancelar. Te invito al café si me dices qué deshace cuando aún no se ha reservado nada.

#11257 · · Quote · Report

Cancel closes the preview. It never promised anybody the plastic. When I hit "take" tomorrow somebody else may have it. I can live with telling the user that in words.

#11258 · · Quote · Report

vale pero el titular de arriba era que se te había incendiado Python. hasta ahora se te han quemado dos post-its.

#11259 · · Quote · Report

Which binary ran which trial? The beta doesn't make every CPython install free-threaded. Please label the biscuits before the bake sale.

#11260 · · Quote · Report

Two builds. Normal beta for yesterday's comparison, experimental free-threaded build for this desk. The triangle bug is something we observed on the second setup. Nobody gets to claim I proved the first immune.

#11261 · · Quote · Report

gracias. me estaba entrando un tic de ver "nunca pasó" subirse solo a la columna de garantías.

#11262 · · Quote · Report

All you geniuses arguing over threads and you have exactly one physical cutter. Paint racing stripes on the toolhead. At least an honest performance claim would fit on the stripe.

#11264 · · Quote · Report

Mate the drawing desk works while the cutter is busy. You seem to have mistaken the entire computer for a fancy pair of scissors.

#11266 · · Quote · Report

And you seem to have benchmarked the scissors with no paper in them. Tell us when a person can put a finger on the second finished map. I'll lend you a stopwatch with one button.

#11268 · · Quote · Report

Yo tengo el dedo. Para la foto que quede claro que me quedo en el lado donde salen los mapas, que os conozco.

#11269 · · Quote · Report

Five little maps before dinner. I'll time preparation apart from the cut. I have the STL for the road, unfortunately the first layer has decided to become a plate of tagliatelle.

#11273 · · Quote · Report

hostia el debate de concurrencia ha muerto por culpa de una camada de fideos. pon foto del huérfano.

#11277 · · Quote · Report

I asked for help in the other thread. For the numbers today I can reuse the same sheets to time the layout. It'll say nothing about finished maps till the spare shape sticks.

#11278 · · Quote · Report

Pon cuánto tarda la misma tarea con un solo trabajador en cada compilación. Si metes también una versión nueva del programa en la comparativa nos has organizado un juicio con tres disfraces y dos testigos.

#11279 · · Quote · Report

y repetid el orden al revés otro día. en el primero siempre estoy buscando las gafas. mis gráficas dicen que la segunda baraja del domingo nace más lista.

#11280 · · Quote · Report

Single worker, both builds. Two workers, both builds. Same five maps. We'll know something about five maps. Someone's already typing "PYTHON TWICE AS FAST" for their blog aren't they?

#11281 · · Quote · Report

iba a poner el doble DE PYTHONS, que tampoco sé si es serpiente o una marca de candado. me habéis dejado sin negocio.

#11282 · · Quote · Report

I want the place names in the result comparison. Last time someone sped up my reader demo they dropped the longest street. Didn't get slower again until a woman tried to get home.

#11284 · · Quote · Report

First run of five layouts, repeats tomorrow.

build one worker two workers
usual 8.4 s 8.5 s
free-threaded 9.0 s 5.8 s

Same names and same shapes counted. Haven't checked position yet. Nobody buy a laptop on my behalf.

#11285 · · Quote · Report

5.8. I'll accept apologies in triangles.

#11286 · · Quote · Report

lovely. when can I touch it?

#11287 · · Quote · Report

pero señor mío deja que disfrute cinco minutos de los 5,8. que no ha contado el corte lo ha puesto ANTES de los numeritos.

#11288 · · Quote · Report

pues el titular nuevo que ha pegado @Wapmote en la cocina dice "casi el doble". 9 entre 5,8 sale más o menos 1,55. ni al tramposo que hay en mí le sale el doble.

#11289 · · Quote · Report

I demand credit for having said "almost" in an imaginary kitchen I have never visited.

#11290 · · Quote · Report

Here's the embarrassing bit. Same label COUNT, two positions switched. Sunset Steps and Baker Street have swapped dots on map four. Taking those five seconds off the podium for a minute.

#11291 · · Quote · Report

por fin un perdedor divertido. ¿tenías en algún sitio una regla para empatar calles con la misma prioridad? o sólo esperabas que la que acabara antes se llevara el punto.

#11292 · · Quote · Report

I collected the layout bits in the order the workers finished. There's a separate legend in original street order. It still says the FOURTH bump is Sunset Steps. Fourth bump rather pointedly disagrees.

#11293 · · Quote · Report

Me da igual que el callejero sea rápido si en el bar pone FARMACIA. Quiero el trocito que comprueba que el nombre y el dibujo llegan juntos.

#11294 · · Quote · Report

They now carry the street identifier together. I'll fit the key back into the assembly order at the end. Naming the bundle "bump with name" has caused less trouble than naming anything clever.

#11295 · · Quote · Report

Keep that first wrong map somewhere. If every later test begins with the words 'five maps looked fine' we will all be back here before August.

#11296 · · Quote · Report

marcador oficial: cinco segundos ocho, dos calles en paradero desconocido y un tío del Emacs pidiendo tocar.

#11297 · · Quote · Report

it's the only interface here that didn't move Baker Street

#11300 · · Quote · Report

Reran in reverse order. Corrected five layouts on the experimental build with two workers, range 6.0 to 6.4 over five batches. One worker 8.8 to 9.2. The five street/shape pairs on the awkward sheet now match the paper key. One of the maps is actually going outside tomorrow.

#11301 · · Quote · Report

¿Y al pedir el triángulo a la vez? Entre que le encontrabais domicilio a Baker Street se ha quedado abandonado el niño del primer mensaje.

#11302 · · Quote · Report

One "take" gets an allocation ID and the stock change together under the same lock. Other desk got "last one taken". Preview remained readable while this happened. I owe @kord70 a coffee.

#11303 · · Quote · Report

Vengo del futuro: se ha caído una pieza al suelo. ¿deshacer te la vuelve a traer a la mesa? Pregunto por mi siguiente inversión.

You are not logged in, so this goes up anonymously: no account, no name and no address is stored with it, and it may carry no link and no image. Log in or join to post under your name. Our web server's logs keep the address and time of every request for up to 14 days; to keep yours out of them, use Tor. To reach the staff in confidence, use the drop. Sign as a returning source (a key kept only in this browser)

Sending takes a few seconds here: your browser first works out a proof of work against spam.

Reply