jonny, to python
@jonny@neuromatch.social avatar

Here's an ~ official ~ release announcement for #numpydantic

repo: https://github.com/p2p-ld/numpydantic
docs: https://numpydantic.readthedocs.io

Problems: @pydantic is great for modeling data!! but at the moment it doesn't support array data out of the box. Often array shape and dtype are as important as whether something is an array at all, but there isn't a good way to specify and validate that with the Python type system. Many data formats and standards couple their implementation very tightly with their schema, making them less flexible, less interoperable, and more difficult to maintain than they could be. The existing tools for parameterized array types like nptyping and jaxtyping tie their annotations to a specific array library, rather than allowing array specifications that can be abstract across implementations.

numpydantic is a super small, few-dep, and well-tested package that provides generic array annotations for pydantic models. Specify an array along with its shape and dtype and then use that model with any array library you'd like! Extending support for new array libraries is just subclassing - no PRs or monkeypatching needed. The type has some magic under the hood that uses pydantic validators to give a uniform array interface to things that don't usually behave like arrays - pass a path to a video file, that's an array. pass a path to an HDF5 file and a nested array within it, that's an array. We take advantage of the rest of pydantic's features too, including generating rich JSON schema and smart array dumping.

This is a standalone part of my work with @linkml arrays and rearchitecting neurobio data formats like NWB to be dead simple to use and extend, integrating with the tools you already use and across the experimental process - specify your data in a simple yaml format, and get back high quality data modeling code that is standards-compliant out of the box and can be used with arbitrary backends. One step towards the wild exuberance of FAIR data that is just as comfortable in the scattered scripts of real experimental work as it is in carefully curated archives and high performance computing clusters. Longer term I'm trying to abstract away data store implementations to bring content-addressed p2p data stores right into the python interpreter as simply as if something was born in local memory.

plenty of todos, but hope ya like it.

#linkml #python #NewWork #pydantic #ScientificSoftware

[Further demonstration of validation and array expression, where a Union of NDArray specifications can specify a more complex data type - eg. an image that can be any shape in x and y, an RGB image, or a specific resolution of a video, each with independently checked dtypes] For example, to specify a very special type of image that can either be a 2D float array where the axes can be any size, or a 3D uint8 array where the third axis must be size 3 a 1080p video from typing import Union from pydantic import BaseModel import numpy as np from numpydantic import NDArray, Shape class Image(BaseModel): array: Union[ NDArray[Shape["* x, * y"], float], NDArray[Shape["* x, * y, 3 rgb"], np.uint8], NDArray[Shape["* t, 1080 y, 1920 x, 3 rgb"], np.uint8] ] And then use that as a transparent interface to your favorite array library! Interfaces Numpy The Coca-Cola of array libraries import numpy as np # works frame_gray = Image(array=np.ones((1280, 720), dtype=float)) frame_rgb = Image(array=np.ones((1280, 720, 3), dtype=np.uint8)) # fails wrong_n_dimensions = Image(array=np.ones((1280,), dtype=float)) wrong_shape = Image(array=np.ones((1280,720,10), dtype=np.uint8)) # shapes and types are checked together, so this also fails wrong_shape_dtype_combo = Image(array=np.ones((1280, 720, 3), dtype=float))
[Demonstration of usage outside of pydantic as just a normal python type - you can validate an array against a specification by checking it the array is an instance of the array specification type] And use the NDArray type annotation like a regular type outside of pydantic – eg. to validate an array anywhere, use isinstance: array_type = NDArray[Shape["1, 2, 3"], int] isinstance(np.zeros((1,2,3), dtype=int), array_type) # True isinstance(zarr.zeros((1,2,3), dtype=int), array_type) # True isinstance(np.zeros((4,5,6), dtype=int), array_type) # False isinstance(np.zeros((1,2,3), dtype=float), array_type) # False
[Demonstration of JSON schema generation using the sort of odd case of an array with a specific dtype but an arbitrary shape. It has to use a recursive JSON schema definition, where the items of a given JSON array can either be the innermost dtype or another instance of that same array. Since JSON Schema doesn't support extended dtypes like 8-bit integers, we encode that information as maximum and minimum constraints on the

duncan_blues, to random German
@duncan_blues@norden.social avatar

Präsenzpflicht: Mitarbeiter schneller erschöpft - "Mitarbeiter mit Präsenzpflicht beklagen fast doppelt so häufig Belastungs- und Erschöpfungssymptome. Gleichzeitig stellen sie bei sich selbst kaum einen leistungssteigernden Einfluss der Präsenzarbeit fest."
https://www.pressetext.com/news/praesenzpflicht-mitarbeiter-schneller-erschoepft.html

liberate, to blackfriday
@liberate@mastodon.au avatar
liberate,
@liberate@mastodon.au avatar
schwarz_martin, to random German
@schwarz_martin@mastodon.social avatar

#JobAlert: Der agilste #Bauhof Deutschlands in #Herrenberg sucht einen Nachfolger für Stefan Kraus als Leitung des Amtes Technik und Grün. Wer hat Lust auf #NewWork und #StadtNavi ?https://herrenberg.bewerbung.dvvbw.de/1862-leitung-des-amtes-technik-und-gruen-w-m-d/de/job.html

MaiKueper, to berlin German
@MaiKueper@mastodon.social avatar

Ich bin Ende der Woche in #Berlin und hab noch etwas Luft, wen sollte ich treffen rund um #Organisationentwicklung #newwork?

nrchtct, to markdown
@nrchtct@vis.social avatar

Over the past two summers I had the privilege to co-teach experimental design courses, which not only yielded great projects, but also spawned stimulating discussions and discoveries with our students.

To document these kinds of journeys, Philipp @proff and i prepared #SyllabusSite, a template for rendering #Markdown files as scrollable one-pagers that gather readings, inspirations and results in a unique format:

https://infovis.fh-potsdam.de/syllabus-site/

#WebDev #InterfaceDesign #FHPotsdam #DataVis #OpenSource

nrchtct,
@nrchtct@vis.social avatar

Last year, Myriel Milicevic and i offered a nomadic course »Organigrams for/from the future« and visited ten organizations who shared insights about cooperative work practices. While #organigrams tend to represent traditional organizations, we explored how they could also stimulate our imagination. How would an economy built on solidarity, sustainability and survival look like?

https://infovis.fh-potsdam.de/organigrams/

#InterfaceDesign #DataVis #NewWork #Cooperatives #Democracy #Utopia #Teaching #OER #FHPotsdam

MaiKueper, to random German
@MaiKueper@mastodon.social avatar

So liebe Leute, was und wen sollte ich denn zur Verknüpfung von #NewWork und #Nachhaltigkeit lesen? Nachhaltigkeit breit verstanden, also nicht nur ökologisch.

t3n, to random German
@t3n@t3n.social avatar

🍸 Ein ungewöhnlicher Versuch, Mitarbeiter:innen zurück ins Büro zu locken! Während Amazon-Chef Andy Jassy auf eine harte Gangart setzt, hat Expensify-CEO David Barrett in San Francisco einen anderen Weg eingeschlagen. Er eröffnete eine eigene Bar für seine Angestellten, die Expensify Lounge. Mit kostenlosen Cappuccinos, Cocktails und sogar nächtlichen Champagner-Toasts sollte die Bar überzeugen. 🥂

Mehr dazu im Artikel: https://t3n.de/news/unternehmen-eroeffnet-bar-fuer-angestellte-und-muss-sie-kurze-zeit-spaeter-wieder-schliessen-1586128/?utm_source=mastodon&utm_medium=referral #remotework #office #homeoffice #newwork

heiseonline, to news German

Umfrage: Warum einige Firmenchefs zurück zur Präsenzarbeit möchten

31,6 Prozent der deutschen Firmen erwarten, sie würden bei vollständiger Rückkehr ins Büro produktiver. Bei Autoherstellern liegt die Quote bei 43,2 Prozent.​

https://www.heise.de/news/Umfrage-Warum-einige-Firmenchefs-zurueck-zur-Praesenzarbeit-moechten-9336936.html?wt_mc=sm.red.ho.mastodon.mastodon.md_beitraege.md_beitraege

#Homeoffice #Studie #news

duncan_blues,
@duncan_blues@norden.social avatar

@heiseonline
"erwarten" 🤷
Wenn man auf messbare Dinge schaut (zB Laufzeiten von - und Anzahl abgearbeiteter Jira Tickets oder vergleichbares) dann spricht die Realität möglicherweise eine ganz andere Sprache. Aber Hauptsache erstmal Errungenschaften für die Mitarbeiter wieder einschränken. 😒
#NewWork #RemoteWork #Homeoffice

t3n, to random German
@t3n@t3n.social avatar

Welche Erfahrungen hast du mit Bürohunden gemacht?

Eine Umfrage zeigt, dass 87 Prozent hundefreundlicher Arbeitgeber positive Auswirkungen auf die Anwesenheit ihrer Mitarbeiter im Büro feststellen.

Dennoch ist es wichtig, die Anwesenheit von Bürohunden gemeinsam im Team zu regeln, da nicht alle die gleiche Begeisterung teilen.

Mehr dazu hier: https://t3n.de/news/mitarbeiter-zurueck-ins-buero-einfluss-buerohund-1582214/?utm_source=mastodon&utm_medium=referral #hund #office #mitarbeiter #arbeitswelt #newwork

t3n, to coffee German
@t3n@t3n.social avatar

Resultierend aus Büropflicht: Das ist Coffee Badging

Homeoffice, Büro oder Hybrid – die Diskussion darüber scheidet die Geister. Ein neuer Arbeitstrend namens Coffee Badging ist ein stiller Protest gegen die
Büropflicht.

Wie stehst ihr dazu?

https://t3n.de/news/bueropflicht-arbeitstrend-coffee-badging-1581800/?utm_source=mastodon&utm_medium=referral
#Büropflicht #Homeoffice #Remotework #NewWork #Coffee #Job #Arbeit

dereulenspiegel, to random German
@dereulenspiegel@chaos.social avatar

Kleine Motivation vom Chef.

t3n, to random German
@t3n@t3n.social avatar

Arbeitest du oft im Homeoffice?

Remote-Arbeit ist gut fürs Klima. Das zumindest legt eine neue Studie aus den USA nahe. Hybrid-Modelle wirken sich hingegen deutlich weniger stark auf Emissionen aus.

Mehr dazu erfährst du in diesem Artikel: 👉 https://t3n.de/news/homeoffice-emissionen-remote-1577112/?utm_source=mastodon&utm_medium=referral #remotework #homeoffice #newwork #office

CerstinMahlow, to random
@CerstinMahlow@mastodon.acm.org avatar

Over summer, our #office has been reorganized: no more fixed desks, various zones for various communication/work issues. A clear “clean desk” policy which seems to work.

It’s really nice and friendly, space for everybody with way fewer desks than before when we had difficulties installing a working place for a new person.

But:

I much more prefere working from home than before

I realized that not knowing where to work today and who will be around me puts me under enormous #stress

#NewWork

heiseonline, to coronavirus German

Rückkehr ins Büro: TikTok überwacht Anwesenheit der US-Angestellten und droht

Bei TikTok in den USA müssen die Angestellten ab Oktober zurück ins Büro, einige jeden Tag. Überwacht wird das mit einem speziellen Tool, der Frust ist groß.

https://www.heise.de/news/Rueckkehr-ins-Buero-TikTok-ueberwacht-Anwesenheit-der-US-Angestellten-und-droht-9307775.html?wt_mc=sm.red.ho.mastodon.mastodon.md_beitraege.md_beitraege

#Coronavirus #Homeoffice #TikTok #news

duncan_blues,
@duncan_blues@norden.social avatar

@heiseonline Da wird klar, worum es bei dem ganzen "Return to office" in der Tech Branche geht. Es hat rein gar nichts mit der Qualität der Arbeit zu tun oder dass das Büro für die Arbeit irgendwelche Vorteile hätte, es geht schlichtweg um Kontrolle und Überwachung. Um pure Machtausübung der Chefs über die Angestellten.
#Tiktok #Grindr #ReturntoOffice #NewWork #RemoteWork

t3n, to random German
@t3n@t3n.social avatar

Zu 100 Prozent im Homeoffice: Vater zieht Bilanz nach 43 Monaten

Die einen hassen es, andere lieben es. Die Debatte um das Homeoffice wird vielerorts emotional geführt. Unser Autor zieht Bilanz nach 43 Monaten ohne Tischtennisplatte, Teeküche und Meetings vor Ort – dafür mit Kind.
👉
https://t3n.de/news/100-prozent-homeoffice-bilanz-vater-1522232/?utm_source=mastodon&utm_medium=referral
#Homeoffice #Remote #NewWork

duncan_blues,
@duncan_blues@norden.social avatar

@t3n sehr guter Artikel. Unterschreibe ich 100%.
Ist halt nicht hilfreich, wenn trotzdem jetzt irgendwelche Boomer Bosse sagen "Interessiert mich nicht dass 100% Remote super funktioniert hat! Ab zurück ins Büro. Weil ich es sage. Basta."
#RemoteWork #NewWork #Homeoffice

t3n, to random German
@t3n@t3n.social avatar

Homeoffice-Argumente: So überzeugst du deinen Chef!

Büro oder Homeoffice? Wie konkret die Argumente beim Chef ausgeführt sind, entscheidet oft über den Erfolg der Verhandlung. Das rät eine Expertin.

Mehr dazu hier: 👉 https://t3n.de/news/buero-homeoffice-argumente-check-chef-1416029/?utm_source=mastodon&utm_medium=referral #homeoffice #remotework #newwork

t3n, to random German
@t3n@t3n.social avatar

Stimmst du der Aussage zu oder siehst du das anders? #beruf #job #karriere #remotework #newwork #homeoffice

tagesschau, to random German
@tagesschau@ard.social avatar

💻 🏠 Nach dem Ende der Corona-Pandemie ist #Homeoffice in vielen Unternehmen weiterhin fester Bestandteil im Arbeitsalltag. Das zeigt eine Umfrage des Leibniz-Zentrums für Europäische Wirtschaftsforschung (ZEW).

Die rund 1.500 befragten Firmen rechnen in den kommenden zwei Jahren eher mit einer Ausweitung der Homeoffice-Nutzung als mit einem Rückgang. Auch das Statistische Bundesamt und das Münchener ifo-Institut hatten kürzlich von einer stabilen Homeoffice-Quote berichtet.

#arbeit #heimarbeit

freistadthaltung,

@tagesschau Ein erfreulicher Trend, man bedenke nur was dies an Pendelverkehr und Flächenversieglung einsparen kann…sofern sich nicht alle ein 30 m2 Büro zu Hause einrichten. #verkehrswende #stadtentwicklung #newwork

ElaWild, to random German
@ElaWild@colearn.social avatar

Ich sitze mal wieder in einer Runde, in der fast alle außer mir 'Manager' sind.
"Wann treffen wir uns das nächste Mal?"
[...]
"Ja Donnerstag habe ich Mitarbeitergespräche, die kann ich aber verschieben."
"Ja ich auch, aber ich kann die auch verschieben."

Irritierter Gesichtsausdruck bei Ela.
"Also ich wollte meine Mitarbeitenden nicht depriorisieren. Wie wäre es mit Freitagnachmittag?"

Irritierter Gesichtsausdruck bei den Beteiligten.
sigh
Es gibt noch viel zu tun. #Leadership #NewWork

frankfeil, to random German

Kein Konzept wird häufiger von Unternehmen falsch verstanden als #NewWork.

Auch 2023 glauben viele noch, dass man mit 2 Tagen #HomeOffice und kostenlosem Obst den Arbeitsplatz der Zukunft gestaltet. 🙈

t3n, to random German
@t3n@t3n.social avatar

Über nahezu zwei Jahre analysierten Forscher der University of British Columbia das Verhalten von über einer Million Angestellten. Dabei klassifizierten sie die Beschäftigten als High- oder Low-Performer und untersuchten, ob diese von sich aus kündigten oder vom Arbeitgeber entlassen wurden. Die gewonnenen Erkenntnisse lieferten interessante Einblicke.

Mehr dazu hier: 👉 https://t3n.de/news/high-performer-low-performer-entlassung-kuendigung-studie-1570505/?utm_source=mastodon&utm_medium=referral
#mitarbeiter #kündigung #studie #arbeit #beruf #karriere #newwork

CorinnaBaldauf, to random German
@CorinnaBaldauf@nrw.social avatar

Es ist jetzt offiziell:
Ich suche eine neue Stelle in Richtung Organisationsentwicklung & Wissensmanagement #agile #lean #newWork 👀

Post auf LinkedIn: https://www.linkedin.com/feed/update/urn:li:activity:7095667308873830403/

abbieshores, to art
@abbieshores@mastodon.social avatar

New painting. Not sure of the name yet

#painting #mastoartist #newwork #art #deer #landscape

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