Readit News logoReadit News
jensus commented on Faster CPython 3.12 Plan   github.com/faster-cpython... · Posted by u/bratao
jupp0r · 3 years ago
> Per-interpreter isolation for extension modules

This will break many modules. Basically any that use static variables, which is done pretty much everywhere.

jensus · 3 years ago
If it's static would it not get it's own allocation within each of the isolated interpreters?
jensus commented on Whitby residents vote in favour of ending second home ownership   news.sky.com/story/whitby... · Posted by u/llimos
xwolfi · 3 years ago
Because it's hard to forbid you to own stuff honestly, and lots of people did nothing wrong, sometimes worked all their lives, for a second home.
jensus · 3 years ago
I believe the principle is that it is inherently bad that _anyone_ owns a second home.
jensus commented on Stackit: Cloud and Colocation   stackit.de/en... · Posted by u/FlyingSnake
dazc · 3 years ago
Hetzner requested a copy of my UK passport though.

An image of a passport proves nothing btw, especially since Hetzner is not a UK Govt Agency, that I am aware of, and has zero methods of authenticating such 'evidence' of ID.

jensus · 3 years ago
I've not needed to verify identity to spin up VPS or order storage boxes. For what reason did you have to verify yourself?
jensus commented on Raygui – A simple and easy-to-use immediate-mode GUI library   github.com/raysan5/raygui... · Posted by u/maydemir
conradludgate · 3 years ago
Wait until you find out about HTML and the document object in Javascript
jensus · 3 years ago
The evolution of HTML and CSS clearly shows that HTML isn't suited to describe a interface without massive hints to a rendering engine to manipulate it
jensus commented on I use Attrs instead of Pydantic   threeofwands.com/why-i-us... · Posted by u/YohAsakura
KptMarchewa · 4 years ago
It would be better in the other way. Generate sane python models with it using existing jsonschema - similar to stuff like grpc, but without extra bits.

The existing generators are generally terrible.

jensus · 4 years ago
had generally good experience creating typed wrappers for api's with json-schema-to-pydantic[0] converter

[0] https://github.com/koxudaxi/datamodel-code-generator

jensus commented on Blender 2.93 LTS   blender.org/download/rele... · Posted by u/Tomte
ahaferburg · 4 years ago
Probably very much depends on what you do with Blender. I've been trying to port my exporter plugin from Maya to Blender, and it has been nothing but frustrating. It's been quite a while since I wrote it for Maya, but I remember the Maya API (C++ and MEL) to be well documented, well structured, and quite pleasant to work with. I was always amazed at Maya's basic architecture: Every UI action maps to a command that is run by the interpreter. This makes scripting very easy.

Blender's Python API on the other hand is very poorly documented, and - to me - seems poorly thought out. It's not really designed as an API, it's just exposing the existing C++ code, and usability is not a concern. It feels tacked on, leaving lots of gaps. Somewhere I've seen a quote by Ton Rosendaal that Blender is for artists, not for coders. If you want Blender to be a competitor for Maya that seems very short sighted.

The one thing that impressed me though, was the speed by which the Blender devs react to tickets. Hats off to them!

jensus · 4 years ago
I have no experience with blender but have been developing for maya for 7+ years or so. Python in Maya is very much a afterthought and extremely slow (even for Python standards). There is noting pythonic about the api which by all means is just a port of the mel interface.

The documentation is great, agreed, but I am not sure you can attribute that to the python part of Maya. The documentation structure goes back to pre python days.

If any of the major studios spent a fraction of their development budget on Blender rather than Maya (and contributed back to the community) I think we could see great strides in polishing Blenders usability for scripting.

jensus commented on Data portability, the forgotten right of GDPR   alias.dev/report... · Posted by u/mehdim
kspacewalk2 · 4 years ago
Those are your beliefs/values. I mostly share them. But is it right to impose them legislatively on everyone?
jensus · 4 years ago
what are legislates if not the opinion of the current society (and for some countries the opinion of corporations)?

As in yes, with my current understanding of personal data, I do believe we should have laws safeguarding them - even at the risk of business'.

jensus commented on Data portability, the forgotten right of GDPR   alias.dev/report... · Posted by u/mehdim
kspacewalk2 · 4 years ago
That will make a whole lot of business models out there not feasible. The result will be fewer free services (to put it differently, fewer services and fewer choices). If you don't pay for stuff with your data, you can't have it for free. Are we sure we want to use government regulations to impose this on consumers of services, from the top down? Instead of, say, letting them decide?

(Yes, of course it's an industry talking point. The best kind - one that's true and valid, and so far not effectively refuted).

jensus · 4 years ago
From a subjective view I do not believe we want any business model that survives on utilising your data beyond the core of the product to exist e.g. I would think we want anyone to sell your data to add companies.

I do not believe there is a need for so much free stuff in general. But it should never be a situation where you have to pay for your data to be safe.

jensus commented on Data portability, the forgotten right of GDPR   alias.dev/report... · Posted by u/mehdim
maxdo · 4 years ago
I'll re-phrase. Imagine I'm a startup. If government force me to to delete some data, it makes my life easier, no data - no privacy issues. if someone tells me , I want to port my data to competitor, because my UI better then theirs, but they still prefer competitor, why should I care about this requests, why should i spent a single second of my engineers time to implement that?
jensus · 4 years ago
the mental shift seems to be to not regard your customers data as your product but rather focus on your service as your product
jensus commented on A call to improve London's lighting at night   ianvisits.co.uk/blog/2021... · Posted by u/edward
jensus · 4 years ago
the UK's implementation and seemingly general view on lighting seems to be very different than to the rest of Europe. For one, it is quite minimal, the major highways and public parks are barely lit. And the lighting used is so orange and so little lumen that it leaves the eye struggling to either adjust for the reflection of the moon or the street light, straight up awful. I don't mind a balance between preserving traditional feel around pubs etc but we definitely need to have public paths adequately lit.

u/jensus

KarmaCake day34February 6, 2021View Original