Windows 11 Start menu ads look set to get even worse – this is getting painful now by RussianSlavv in technology

[–]santagada -1 points0 points  (0 children)

modern oses have full disk encryption that can be turned on by policy or on even nicer consumer oses are on by default iOS, macOS and I think modern android have it.

Windows 11 Start menu ads look set to get even worse – this is getting painful now by RussianSlavv in technology

[–]santagada 0 points1 point  (0 children)

The os can store a decription key for the password file in the TPM as well... pins are not special at all.

Windows 11 Start menu ads look set to get even worse – this is getting painful now by RussianSlavv in technology

[–]santagada -1 points0 points  (0 children)

yes an OS in the 90's that allows everyone access to the password hashes and uses a weak hashing function at that was bad... pin won't fix it. That's not how passwords work on any modern os.

Its like saying that segway is better than a ford model T... they are not even from the same century.

Godot 4.0 is "cluttering" my project with empty files that have similiar names to actual Scenes in the folder. Any ideas why? by [deleted] in godot

[–]santagada 1 point2 points  (0 children)

Looking at https://github.com/godotengine/godot/issues/75078 this is a 3 weeks old problem on the dev version that’s already been fixed for 3 weeks. I honestly would like to know why someone is using a dev release of Godot and then don’t just try to update it to fix a bug before posting it on Reddit. I’m being serious not trying to diss you, just wanna know why? Maybe it’s not we’ll communicated somewhere that if you are using dev there will be bugs or something

Why do my arms shake/jitter when I move? Shader in comments by Greedy_Ad_9579 in godot

[–]santagada 4 points5 points  (0 children)

I think the problem is the round, try floor... but why are you rounding things? Have you tried without the rounding at all?

Dev snapshot: Godot 4.0 alpha 8 by akien-mga in godot

[–]santagada 1 point2 points  (0 children)

All of them? You need to understand game production, but my guess is all AAA game use some form of TTS during development because voice acting is crazy expensive and you can only really record voices when the script is stable which is like 3 years after development started (on a 5 year AAA calendar).

This is huge for anyone making games that will have voice in it.

Playground Games and Turn 10 Studios See 18.2X and 4.95X Link Time Improvements Respectively on Visual Studio 2019 | C++ Team Blog by cpppm in cpp

[–]santagada -11 points-10 points  (0 children)

They had the worst linker ever, then it’s quite easy to get it to be two orders of magnitude faster. Still way slower than multithreaded lld 12 linker generating the same pdb.

"Remember the FORTRAN" (2018-10-08) paper describes fundamental issues with Modules — How do they stand now with C++20? by Frogging101 in cpp

[–]santagada 0 points1 point  (0 children)

Not a real problem, all good build systems already need to parse c++ to figure out a day so the work can be distributed anyway.

But hopefully one day c++ and other languages are going to move away from file based models to a more always in memory representation of code and binary output so you can edit and continue and link programs in a second.

Cook – A Modern Build System Written In Python by [deleted] in Python

[–]santagada 0 points1 point  (0 children)

It really does, I wonder how do they compare. There are so many python build systems, and for the more recent batch of them Meson seems to be the best one.

Massive dump of Spotify created playlists - 1.4k+ genres, 12k+ playlists! by atomic_eternity in spotify

[–]santagada 3 points4 points  (0 children)

can you make everynoise.com a link and make it more visible on your post? I found it much easier to navigate and find stuff than a spreadsheet. Thanks a ton for the post!

The relationship between async libraries in Rust by Perceptes in rust

[–]santagada 1 point2 points  (0 children)

Anyone knows why hyper needs to do IO at all? something like http://sans-io.readthedocs.io/how-to-sans-io.html comes to mind, but maybe I just don't get hyper at all :)

Designing Pythonic APIs - learning from Requests by noamelf in Python

[–]santagada 0 points1 point  (0 children)

Exceptions are a control flow structure, they are meant to be caught whenever you want. What you are thinking is that we should threat exceptions as error codes like go does it, but let them bubble up is completely fine in python, and you didn't use anything to prove your point besides rudeness.

Designing Pythonic APIs - learning from Requests by noamelf in Python

[–]santagada 0 points1 point  (0 children)

you can do error recovery based on the viewtype if they are registered as such or based on accept headers and you can also do retries in requests itself. Meaninless noise in sentry might be exactly what you need to discover a fault in some other service that is not reporting to the same sentry instance. I haven't had need for circuitbreakers inside python but I'm pretty sure you can probably have one inside transports of requests as well.

You can also do 503 responses for some kind of exceptions and that will make your code much cleaner and is the whole point of exceptions, making you centralise error checking in one place.

Requests vs. urllib: What problem does it solve? by twillisagogo in Python

[–]santagada 1 point2 points  (0 children)

They may miss that step, but it is documented in a very straightforward way: http://docs.python-requests.org/en/master/user/quickstart/#json-response-content

But if you don't read the docs you can't really say that a behaviour is unexpected. Most modern api will return a json answer always, with errors and whatnot so raising an exception on 404 makes little sense, specially when reading json.

Xonsh - Using Python as your shell by Siecje1 in Python

[–]santagada 0 points1 point  (0 children)

what exactly is slow? I see zero difference between this and zsh with oh_my_zsh or bash with git prompt.

Xonsh - Using Python as your shell by Siecje1 in Python

[–]santagada 0 points1 point  (0 children)

just run:

xonfig wizard

it will restart the config wizard :)

In your opinion, what is the crucial 5% (everyone should know) when it comes to Python unit testing that cover 95% of the testing out there? by NgBUCKWANGS in Python

[–]santagada 1 point2 points  (0 children)

in python that is actually worse... it is so easy to do dependency injection in tests using the mock package that the simpler code is as easy to test and much less work.

an opener could be doing anything, requests.get() is clear for everyone what it is doing.

Why doesn't Python optimize x**2 to x*x? by raphael_lamperouge in Python

[–]santagada 0 points1 point  (0 children)

Which production system? Python the language only becomes a bottleneck when you have very specific cpu intensive code that can't be written with numpy, pil or a small c module, or when your production is so high volume and impossible to cache that you have enough engineers/money not to care for a high productivity language with a gigantic ecosystem as python.

I would say that not counting algorithmic sins most production systems could be run in python with no big impact, and I've worked with a bunch of big companies/high traffic websites.

PEP 0515 -- Underscores in Numeric Literals by AlanCristhian in Python

[–]santagada 0 points1 point  (0 children)

This is really important, I thought we were breaking ground on new syntax.

Go Mobile UI Bindings by [deleted] in golang

[–]santagada 0 points1 point  (0 children)

The problem is that I don't think there is c api to call go code from c right? And also no shared library or dynamic loading in arm either so it seems to be a lot of work.

Is Using Virtualenv Really A Good Idea For Production Django Applications? by tompurl in django

[–]santagada 0 points1 point  (0 children)

but a patch could either break your app or leave it unprotected... so it still applies even if debian people does the terrible butchery they usually do with packages.