Saltar al contenido ForoHackers

Python 3.13 beta: I gave two threads one last triangle

Concurrencia y paralelismoMedición y evaluaciónPython
#11174 · · Citar · Denunciar

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 · · Citar · Denunciar

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 · · Citar · Denunciar

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 · · Citar · Denunciar

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 · · Citar · Denunciar

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 · · Citar · Denunciar

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 · · Citar · Denunciar

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 · · Citar · Denunciar

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 · · Citar · Denunciar

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 · · Citar · Denunciar

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 · · Citar · Denunciar

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 · · Citar · Denunciar

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 · · Citar · Denunciar

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 · · Citar · Denunciar

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 · · Citar · Denunciar

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

#11256 · · Citar · Denunciar

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 · · Citar · Denunciar

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 · · Citar · Denunciar

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

#11259 · · Citar · Denunciar

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

#11260 · · Citar · Denunciar

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 · · Citar · Denunciar

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

#11262 · · Citar · Denunciar

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 · · Citar · Denunciar

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 · · Citar · Denunciar

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 · · Citar · Denunciar

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

#11269 · · Citar · Denunciar

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 · · Citar · Denunciar

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

#11277 · · Citar · Denunciar

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 · · Citar · Denunciar

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 · · Citar · Denunciar

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 · · Citar · Denunciar

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 · · Citar · Denunciar

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 · · Citar · Denunciar

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 · · Citar · Denunciar

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 · · Citar · Denunciar

5.8. I'll accept apologies in triangles.

#11286 · · Citar · Denunciar

lovely. when can I touch it?

#11287 · · Citar · Denunciar

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 · · Citar · Denunciar

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 · · Citar · Denunciar

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

#11290 · · Citar · Denunciar

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 · · Citar · Denunciar

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 · · Citar · Denunciar

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 · · Citar · Denunciar

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 · · Citar · Denunciar

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 · · Citar · Denunciar

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 · · Citar · Denunciar

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

#11297 · · Citar · Denunciar

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

#11300 · · Citar · Denunciar

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 · · Citar · Denunciar

¿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 · · Citar · Denunciar

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 · · Citar · Denunciar

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.

No has iniciado sesión, así que esto se publica como anónimo: no se guarda con ello ninguna cuenta, nombre ni dirección, y no puede llevar enlaces ni imágenes. Inicia sesión o únete para publicar con tu nombre. Los registros de nuestro servidor web guardan la dirección y la hora de cada petición hasta 14 días; para que la tuya no quede en ellos, usa Tor. Para escribir al equipo de forma confidencial, usa el buzón. Firmar como fuente habitual (una clave guardada solo en este navegador)

Enviar tarda unos segundos aquí: tu navegador resuelve antes una prueba de trabajo contra el spam.

Responder