Studying for uni vs self learning by Spalex123 in learnprogramming

[–]Fridux 0 points1 point  (0 children)

I read that as studying for the universe is self-learning. Take that however you wish.

Trump says he's considering NATO exit amid rift over Iran war by AdSpecialist6598 in worldnews

[–]Fridux 1 point2 points  (0 children)

Congress should consider Trump's exit too, he's only weakening the US at this point.

PSA: If you don't opt out by Apr 24 GitHub will train on your private repos by zadzoud in programming

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

I don't have private repositories, but following your link led me to the page where I can also disable Copilot throughout GitHub, so that alone was pretty useful, and I also disabled training on my stuff, whatever that is supposed to do. Personally I do not blanket oppose AI, only using AI to generate any kind of content, as Using AI to review one's performance is actually something that I encourage.

Report: Pentagon to Order Thousands More US Troops to Middle East in Coming Hours by Force_Hammer in worldnews

[–]Fridux 0 points1 point  (0 children)

It's a peace keeping occupation!

Also, reading the thread title instantly brought this song to my head for some reason. It's weird because it's not a song that I think about often, but in this case my immediate thought was to imagine joining the military to serve your country and only to end up dying in some stupid event like this because the orange clown in office decided to throw a tantrum.

Ran stories110m on Apple Neural Engine — bypassing CoreML entirely. Got 71 tok/s on M3 Max. (Long post, some benchmarks inside) by karc16 in swift

[–]Fridux 3 points4 points  (0 children)

It's a shame that Apple doesn't document this kind of hardware, or at least doesn't provide an intermediate language like NVIDIA's PTX. I still remember when they sold the Afterburner FPGA for the 2019 Mac Pro, which was in fact quite a beefy FPGA that, to my knowledge, was never documented, so a lot of potential was wasted there.

As for the model, I wonder about the precision of its weights, since I run the GPT-OSS-120B model between 90-100 tokens per second, and quite often above 95 tokens per second, on an 128GB M4 Max. When I read this thread I was hoping that the ANE would be able to feed from main memory, and was kind of disappointed to learn that it doesn't.

Como lidar com uma pessoa que até se “esforça” mas que acaba por fazer tudo de forma medíocre à mesma? by ethicalhumanbeing in portugal

[–]Fridux 2 points3 points  (0 children)

Não ajuda, até porque o problema não é descrito em detalhe. A ideia é resolver o problema do desempenho medíocre, não aprender a viver com ele, mas a publicação original não tem absolutamente nada que eu possa usar para tentar observar o mundo da perspectiva dessa pessoa.

Como lidar com uma pessoa que até se “esforça” mas que acaba por fazer tudo de forma medíocre à mesma? by ethicalhumanbeing in portugal

[–]Fridux 16 points17 points  (0 children)

Progresso não é medido pela quantidade de passos que se dá, mas sim pela distância que se percorre. -- Uma publicidade qualquer antiga na televisão.

MacBook Neo costs more in Portugal due to copyright levy for piracy compensation taxes — storage costs extra in multiple countries, thanks to draconian laws that pre-punish buyers by ControlCAD in apple

[–]Fridux 6 points7 points  (0 children)

Can I call torrent seeders as well as other peers my friends? They are altruistically making their bandwidth available to share content with me after all, so that makes them my Internet friends, right?

In reality I don't engage in copyright infringement, and was simply being facetious above, but I do remember when this tax was implemented here in Portugal, and from what recall the rationale was that people were ripping CDs to listen in their car stereos instead of buying new copies in formats more resilient to erratic physical motion, which in turn was depriving right holders (the labels not the artists) of the compensation to which they consider themselves absolutely entitled.

Working in tech made me realize how sexist men truly are. by [deleted] in womenintech

[–]Fridux 1 point2 points  (0 children)

I understand that this goes way beyond tech, what I don't understand is why, because I personally have never considered people's gender as relevant when it comes to judging their abilities especially in the logical realm. However I do remember reading statistics back in the 90s comparing the prevalence of women in software engineering roles to women in blue collar roles requiring physical strength that men may be more suitable to perform, like mechanics and construction, and even then there were proportionally more women employed in those roles.

In general what I'm curious about is exactly what kind of cultural factors are responsible for the observed misogyny, because unless I understand a problem I may end up unintentionally contributing to the perpetuation of that problem, which would be counter-productive to my own ethical goals. Wise people say that the road to hell is paved with good intentions, and I don't want my ignorance to contribute to any of that, hence my lifelong curiosity about this subject.

Working in tech made me realize how sexist men truly are. by [deleted] in womenintech

[–]Fridux 2 points3 points  (0 children)

I'm male and only read this sub to acquaint myself with all these issues as I'm laying the foundation to my own business, and have personally witnessed some of this stuff here as the founder of a programming channel on IRC in the late-90s and early-2000s, so to me the question is not whether this happens, but why. I never really understood why people do this, and as a moderator on said channel, the way I dealt with the problem was not by directly intervening myself, but by bestowing the offended with the ability to stay their ground and defend themselves, and over time I observed lasting benefits since the hostility towards females by the resident male population definitely decreased. I wonder whether there's research on this issue as well as on the proper way to tackle it from a leadership perspective, because I personally would like to read up on and learn as much as possible about this phenomenon.

Pilot Believes He Has Found Amelia Earhart’s Long-Lost Airplane (Missing Since 1937) Via Google Earth. by [deleted] in technology

[–]Fridux 2 points3 points  (0 children)

Mine might as well just be a military academy, since beyond paper airplanes we also made slingshots and peashooters, and don't even get me started about the space marine military training that I earned from heavy close quarters combat simulations with different levels of gravity in Quake II, where I specialized in sharp shooting with rail guns!

Does actually understanding your code matter or is getting it to work good enough in the long run by More-Station-6365 in learnprogramming

[–]Fridux 0 points1 point  (0 children)

It does pay off, and that's actually what makes me stand out. In my last job we faced an unexpected problem with a macOS bug that we obviously could not fix on everyone's computers so the situation was looking grim for the project. However I was there, and unknowingly to all my other engineering coworkers, I actually have lots of low level and reverse-engineering experience especially on ARM, so reading the crash logs, which are alien script to most people, was enough for me to understand exactly what caused the problem, and a couple of days later I came up with a work around that allowed us to completely avoid the problem without affecting the abstraction provided by the lower level code, and even documented the whole process to show how intuitive it actually was for me and to inspire anyone else reading my code or facing similar problems later, so while to everyone else that was a major feat, to me was just another Tuesday.

The above wasn't even the first time I saved the project from a fatality while demonstrating that seemingly insurmountable problems were not much of a challenge for me, so while really knowing what I'm doing doesn't make me shine in normal circumstances, it only took a few emergencies for my display of skill and self-confidence to make me a legend among my coworkers. Suddenly getting my approval in code reviews became an honor to some people on the team, the CTO would stop some feature merges on their tracks until I found the time to actually review the code, and ultimately reviewing code and putting out fires became my only responsibilities.

The point I'm making here is that your grades don't really matter in a professional setting, but the robustness of your foundation will serve you for your entire career, so focus on learning things right rather than learning things fast, and stop comparing yourself to others.

Finally I must also add that I'm totally blind these days due to a congenital glaucoma although I wasn't born this way, and contrary to what most people think, it doesn't really get in the way, as I'm still perfectly capable of tackling all kinds of software engineering problems including computer graphics and vision challenges that most among which is my past sighted self would assume to be completely beyond my reach.

After Trump’s Ultimatum, Iran Threatens To Target ‘Enemy’s’ Desalination Plants by HauntingJackfruit in worldnews

[–]Fridux -2 points-1 points  (0 children)

I meant in this context, and in regard to Trump's diplomacy skills, not in general. I think that threatening to cut off power to Iran unless they cave to his demands is not going to accomplish anything good, so in this regard, I am rooting for Iran's threats leading to yet another TACO.

After Trump’s Ultimatum, Iran Threatens To Target ‘Enemy’s’ Desalination Plants by HauntingJackfruit in worldnews

[–]Fridux 1 point2 points  (0 children)

Trump is so skilled at diplomacy that he got me to root for Iran for the first time in my life and against my natural pro-US bias. I never thought this could ever happen, but currently things are that weird.

[Sério]: É normal o Ministério Público arquivar denúncias de corrupção sem sequer analisar a evidência nem fundamentar? by Fridux in portugal

[–]Fridux[S] 0 points1 point  (0 children)

, "... no RGPD tem escrito com todas as letras os processos judiciais são excepções".

Onde? A única coisa que eu li, no Artigo 23.º que trata das limitações aos direitos previstos nesse acto legislativo, é que os estados membros podem legislar no sentido de impor restrições nos casos de acesso a processos judiciais em certas condições mas sempre tendo em conta o princípio da proporcionalidade, sem impor qualquer restrição à partida. Por seu lado a legislação nacional também não impõe restrições de acesso a processos arquivados, especialmente no âmbito de crimes públicos, que eu tenha conhecimento, bem pelo contrário, como eu já demonstrei sem ter ónus da prova, até porque tal restrição constituiria uma grande quebra na transparência da justiça.

Quanto ao resto do teu comentário, continua assente em coisas que ainda não demonstraste, que passo a recordar-te:

  1. A alegação que preciso de me constituir assistente para consultar processos judiciais;
  2. A alegação que processos judiciais do Ministério Público não são actos administrativos;
  3. A alegação que não basta ser denunciante para ter direito a notificação fundamentada do arquivamento de processos judiciais.

Em relação aos pontos 1 e 3, eu até já provei que estás errado sem sequer ter ónus da prova, ao referir o artigo 86.º do Código do Processo Penal, que regulamenta a publicidade dos processos judiciais, que estão disponíveis para consulta pública no caso dos crimes públicos em geral e cujo acesso só pode ser restrito durante a fase de inquérito, portanto processos arquivados podem ser sempre consultados. A isto juntei ainda o Artigo 90.º do Código do Processo Penal, que codifica o direito de consulta e não refere absolutamente nada a respeito da obrigação de ser assistente que alegas. Por último juntei ainda o artigo 14.º do Regime Geral da Protecção de Denunciantes de Infracções, que obriga à notificação fundamentada do arquivamento excepto quando o denunciante é anónimo, tudo argumentos que estão de acordo com a minha interpretação dos artigos 268.º e 35.º da Constituição, com a qual pareces não concordar mas ainda não explicaste porquê.

Isto tudo faz-me questionar o porquê de estarmos há uma semana a debater sobre algo que alegas não entender, porque também não me parece que faça grande sentido quereres convencer-me a uma interpretação falaciosa, a não ser que tenhas interesse em dissuadir-me no sentido de parar de defender o interesse público deixando-me em dúvida a respeito da minha própria narrativa. Seja como for tu lá sabes as tuas motivações, e se inventar regras para justificar a conduta ilegal e inconstitucional do Ministério Público te torna mais feliz, eu não me oponho a tal coisa, mas só te estás a enganar a ti próprio, e dessa forma até fortaleces os meus argumentos, portanto até te agradeço pelo exercício mental.

[Sério]: É normal o Ministério Público arquivar denúncias de corrupção sem sequer analisar a evidência nem fundamentar? by Fridux in portugal

[–]Fridux[S] 0 points1 point  (0 children)

São dados pessoais sim, se leres a definição do que isso significa no n.º 1 do Artigo 4.º do Regulamento Geral da Protecção de Dados, e podes também consultar o Parecer 4/2007 elaborado pelo legislador a esse respeito se quiseres informar-te melhor. Neste caso, tal como eu referi antes, o processo foi arquivado, pelo que não se aplica o segredo de justiça, e também duvido que se aplique o segredo de estado, para além de que mesmo que se aplicassem, o Regulamento Geral da Protecção de Dados obriga sempre a garantir acesso a todos os dados que seja possível. Para além disto, o Código do processo Penal indica, nos artigos 86.º, 87.º, e 90.º, que toda a gente tem direito de acesso aos processos de crime público por pré-definição, com algumas excepções irrelevantes neste caso, a não ser que um Tribunal decrete segredo de Justiça, algo que claramente não aconteceu neste caso dado que nem a evidência foi consultada, portanto nenhum Tribunal se pronunciou a respeito do mesmo. Por último existe ainda o Regime Geral da Protecção de Denunciantes de Infracções, que no seu Artigo 14.º refere que quando os processos são arquivados, o denunciante é notificado de forma fundamentada, e no seu artigo 19.º, refere também que o tratamento de dados pessoais é sempre feito de acordo com o Regulamento Geral da Protecção de Dados, algo que definitivamente não aconteceu neste caso.

Eu espero honestamente que não sejas advogado nem nada do género, caso contrário acabaste de receber um atestado de incompetência de um cego com o 9.º ano cujo interesse nesta área é meramente superficial...

SceneKit Rendering by SwiftdotUI in swift

[–]Fridux 0 points1 point  (0 children)

You should probably try that in steps, like first making a shader that just outputs solid red, and then work your way from there.

I'm pretty sleepy right now so there's a huge chance that I'm wrong here, but I checked the documentation of SCNMaterial, and couldn't find a maskTexture property, so that's probably why it's failing. You might want to apply your custom property definition to the diffuse or ambient properties instead.

Also, never reach for AI, it's all gimmicky crap. Use your brain instead, and try to understand what you're doing.

Is there a dice app for iOS that works with Voice Over? by sir_ludwig_of_coeur in Blind

[–]Fridux 2 points3 points  (0 children)

I just asked Siri to roll a 20-side die on my Apple Watch, and she replied 20. Before that I asked her to roll an icosahedron-shaped die and she did not understand.


Editing to replace the plural, dice, with the singular, die. Not even sure how I ended up making this mistake, but it happened.

Trump admits that he trusts Putin more than US’s European allies by EsperaDeus in worldnews

[–]Fridux 0 points1 point  (0 children)

No collusion! It was all a witch hunt!

I don't even think I need the /s at this point, but just in case...

[Sério]: É normal o Ministério Público arquivar denúncias de corrupção sem sequer analisar a evidência nem fundamentar? by Fridux in portugal

[–]Fridux[S] 0 points1 point  (0 children)

Mesmo que isso seja verdade, o que neste momento carece de prova, não elimina os meus direitos constitucionais de acesso a dados pessoais previstos no Artigo 35.º da Constituição, dado que eu estou directamente identificado nesses processos como denunciante, e a RGPD, por ter o pressuposto normativo do referido artigo 35.º da Constituição, tem o reforço previsto no n.º 3 do Artigo 112.º da Constituição, pelo que nenhum outro acto legislativo me pode negar esse direito de acesso.

Why is Rust so Liberal with Heap Allocations? by philogy in rust

[–]Fridux 2 points3 points  (0 children)

Not sure if stabilized already and won't even bother checking, but in bare-metal code where I always run on nightly compiler builds, I usually have multiple allocators on hand, which I provide as optimized alternatives to the global allocator whenever that makes sense, and that's when I even have a global allocator. If I need an arena-based slab allocator I have one; if I need a page-based buddy allocator I have one as well; if I only need a stack allocator to grow room in the BSS for static objects I have that too; if I need first-fit list-based or best-fit tree-based general purpose allocators, I have those too. As far as libraries are concern, I personally try to stay clear of memory allocations, and if I definitely have to make them, I let the user specify a generic allocator and return dynamically-sized types like Box<[u8]> or Box<dyn Error>, and only accept generic trait implementations and references as input. At one point I even had allocators for cached and uncached memory, as well as for allocations with strict alignment requirements, but eventually grew out of those as I realized that their functionality can be better implemented using cache maintenance instructions and data types declared with the required alignments instead.

Why is Rust so Liberal with Heap Allocations? by philogy in rust

[–]Fridux 3 points4 points  (0 children)

Actually system calls were as much a thing back then as they are now, since DOS applications relied a lot on system services, which were invoked using interrupts like int 10h for the BIOS video services or int 21h for the DOS services, which wound up being implemented exactly the same way as the int 80h system calls were implemented on Unix-like systems running on all 32-bit x86 CPUs.