HNHacker News
TopNewBestAskShowJobs

6r17

158 karma · joined April 16, 2023

submissionscomments
6r17··on I got OpenTelemetry to work. But why was it so complicated?
I have implemented OTEL over numerous projects to retrieve traces. It's just a total pain and I'd 500% skip it for anything else.
6r17··on Show HN: Boulette - Protect you from yourself (even as root).
MicroOS has something in that spirit I think ? Maybe I'm wrong tough, don't even know if MicroOS is usable in host
6r17··on Unit tests as documentation
That's not the point of the article. The code should be readable no exception. The only reason we should be ysing x y z are for coordinates ; i should be left for index_what ; same goes for parameters ; they should also contain what unit they are on (not scale, but scale_float) only exception I see are typed languages ; and even then I'm occasionally asked a detail about some obscure parameter that we set up a year ago. I understand it can sound goofy, but the extra effort is made towards other people working on the project, or future self. There is no way I can remember keys or where I left the meaning of those, and there is no justification to just write it down.

Readability of the code makes a lot of it's quality. A working code that is not maintainable will be refactored. A non working cofe that is maintainable will be fixed.

6r17··on Diffusion for World Modeling
You misunderstand that I'm also a consumer and that I look upon these things. If I see an someone bring up some AI stuff and call themselves an artist I know how I look at them.
6r17··on Embedded Rust in Production?
Have you heard of something called climate change ?
6r17··on Embedded Rust in Production?
Building a web app with rocket is like using a fine BMW to go on highway. It just feels right- I love Guards and what not he added in his framework ; absolutely refreshing work !
6r17··on A review after using Rust on embedded in production for over a year
I can 100% understand your take on `go` and will probably think of it more often !
6r17··on Embedded Rust in Production?
Project that does not need rust "Web, or IO" -> What would you actually choose to make an API then ? Python ? Ruby ? Did you compare benchmarks from rust server to python servers ? Did you actually feel the difference ?
6r17··on Embedded Rust in Production?
I switched up from python to rust for some processing pipeline at work - rust has a lot of advantages over it specifically for typing and speed, the work itself it a little bit longer to develop. But the quality output is not even comparable, the code itself is way more readable and explicit than in python code.

There is not a lot you can do to make your python code as good in terms of reliability or clarity of intent. I'm sorry to hear that you did not have a good experience with it, but frankly speaking, I cannot look at python code anymore because of the inherent "hidden" work that it creates, variables being passed trough without much care for their exact meaning, hidden "bugs" that make the overall job way more annoying to debug.

Python is like that person that tells you everything is fine but is mostly wrong and won't even tell about that. Whereas Rust will just straight up tell you what's wrong in the draft.

I prefer the honesty and the little additional overhead work to getting lost in debugs for weeks bc some person has inputed the wrong shape for some vals or whatnot.

The peace of mind is saving me a ton on maintenance as well. (project is a 2years on with distributed python pipeline with a bunch of IA processing - switching up to rust was not the easiest thing to do considering some parts had to stay in python because of code ownership being someone's else - the stack is a rust/python stack now with some parts being left out in python depending on the actual needs of update)

I understand very well that some people do not want to code in rust, specifically because they might not have the time or the will to do so. But objectively these people do not have to define the pipeline execution except for the actual order of execution, nor do they need to maintain every part of the code because it's just not their job.

Now if you are to compare the exact benefits of rust vs python for a company, the server pricing will just speak itself and the choice will be made depending on the cost of production, the lifetime of the code, and the actual benefits.

If I was to do some API today, I'd 50000% go for rust and I DO think of python as the `no-coder coder` thing. I initially learned C, switched up to Python for jobs, and the code quality of python is just downright bad. It does not push me in the right direction AT ALL.

The fact that we used a scripting language with no typing for tools that need any kind of guarantee for years does not mean it's the best way to do it.

Also to answer the problem concerning `rust` dev's being non-existant on the market, and no job being open is really simple : even tough rust has 10 years on the developer market on this is really young and need to learn.

You need 3 years of practice to get 3 years of experience with rust. There is no way around that. And there is just not enough experienced people with this language yet to make it a shift. I'm not saying there is none, i'm saying it's not yet democratized.

6r17··on Embedded Rust in Production?
I was using brave and did not see that popup
6r17··on Diffusion for World Modeling
You'd have to have the rights to do the training wouldn't you ? Or does that mean I should close off all of my creations legally just so you can't use them ?

I don't have a problem with you using this with a Camera and the real world or your creations ; but I do have a problem when people are able to use someone's work and use these blend and call them original.

It's just as I would have taken a 3d model static mesh, apply some blend on it and call it my own.

No it's f* not.

6r17··on Twitter/X will let people you've blocked see your posts
It might be good idea for the reason that any stalker / harmful actor can already do such "espionage" - and that will more clearly align with what is physically possible to do - hence pushing the users to be more careful about their actions rather than hiding behind the tool that is only able to supposedly hide them.

On the other hand there are options that allow users to force the `follow` to see user's posts. Which would re-allow verification from user's perspective.

6r17··on Twitter/X will let people you've blocked see your posts
How would that fix the problem ? Echo-Chambers such as Reddit exist because there is a single opinion coming out of it. It's a pool of people aligning with themselves and frying out anybody that is not following their opinion.

This would also create a tool to cast target people to oblivion.

The real question is to ask what is the real problem. I understand that an online places can be gritty because of incivilities, but a dogme is much more scarier to me than an online idiot.

6r17··on Belenios: Verifiable online voting system
Did anyone think of blockchain for a voting system ? I had a feeling it would be useful in this scenario as anyone could actually check it's own vote and the outcome. However reading comments here I may be delusionnal in regards to the requirements of such technology.
6r17··on Children should be allowed to get bored (2013)
My IT school changed since I was there. Talking to my old director he told me about the power of the environment. The premise is that we had a smaller school before, and it was not optimally planned, (student's cables running around, trash not exactly at disposal nearby, etc...)

It seems obvious there is a direct link between environment and behavior, but what he started doing was like "programming the environment" in order to trigger behavior changes.

Why would we litter if the trashcan is nearby ? Why would we go out of our way with cables if power-socket is on every table ?

The same way I wonder if we cannot "program" the environment for kids, in a way that allows us to let them get bored out, but in such a situation that is not dangerous but also productively interesting for the kids.

It is not the same to get bored out outside nearby a train track or in the industrial area, than in a somewhat controlled area ?

What do we want to expose them to ? We already know it might want to try crazy stuff ; but I guess we can reduce the danger factors and increase area for more interesting activities ? Also, this is all linked to age and I'm not sure we can make generic rules.

Growing up in a farm is much different than growing up in the streets, and ultimately, my parents and I think a lot of parents, decide to live where kids are safe to grow with somewhat nice activities and people around them.

(Note that I also met a couple that completely cut themselves from the world and they really had to come back to society when the kid came to age, just because a kid requires social interactions with people it's age)

6r17··on Periodic Table of the Elements, in Pictures and Words (2005)
Oh thank you I did not read Russell's book ! An answer I did not deserve ; Didn't even know about Musica Universalis ; cheers !
6r17··on Ask HN: Can a website kill my internet connection? (WebRTC)
bandcamp does that by overwhelming your connection. Love them tough but it forces me to download the free stuff instead of streaming it
6r17··on Periodic Table of the Elements, in Pictures and Words (2005)
TBH I think he just confused the freq emited by the Hydrogen Line with the idea that every element has it's own frequency. Which you could actually calculate but is not something analog to the material but also to the conditions it is in.

Now when he speaks of tones in terms of frequencies he isn't crazy at all. You could find out the tone of say the Hydrogen Line by diving it until you are capable of finding out which tone it could match (if you could) - it's funny cause I was kind of thinking of this discovering electromagnetic astronomy when this video came out

Now I had some fun laughing of the b* he could throw, but I'm not entirely sure everybody is as smart at they think they are when they make fun of him.

6r17··on llm.c: multi-GPU, bfloat16, flash attention, ~7% faster than PyTorch
what about CPU / GPU diff ? is this an improvement across all or only on GPU ?
6r17··on LLaMA now goes faster on CPUs
today being today ; I must ask ; anyone has actually tried this ?
6r17··on VectorDB: Vector Database Built by Kagi Search
Python programmer for 15 years and i picked up rust to write an oAuth gateway not long ago ; i wrote it in python beforehand - rust DOES give you superpowers ; especially if you compare it to something like python that isn't nowhere as fast and has no typing
6r17··on Ask HN: I'm bad at design, which stops me from finishing side projects. Advice?
Might seems bit too far fetched ; but i'd recomend you to learn the basics of drawing (with pencil and paper) try to sketch up a car or a person or whatever ; the idea is that you draw the importants parts without much details ; you would have a shape but not all the details ; and based on that you can think of design trough design layers ; - what is the problem we solve ? - what are the constraints ?

I'd also recomend you yo keep refactoring and improving your code ; if it isn't good, juste rewrite it ! document it, make sure you will not get lost

6r17··on OpenBSD 7.4
To be real ;

There is no docker and if you have to use it then it's a problem

Same might go for anything that needs NVIDIA

6r17··on Asyncio, twisted, tornado, gevent walk into a bar
I haven't used gEvent, but while asyncio doesn't completely burn the code-base I've met projects that were built on tornado and for which it was disastrous.

What I really like about asyncio is that there isn't much of deps or forced loop in order to get it working.

But I could be mislead and just not know how it is achieved in tornado, does gEvent burn the codebase as well ?

6r17··on Petition to stop France from forcing browsers like Firefox to censor websites
hi, our nuclear park is jeopardized, our energy cost is above the roof, several scandals ; look up the macron leaks it's has widely made the news both in france and internationally.
6r17··on Metro 2033 author sentenced to 8 years in prison for criticizing Russia's war
This guy is one of my favorite author, and as an avid russian authors reader i'm astonished as to why he stayed in russia.
6r17··on Ask HN: Is anyone interested in the Semantic Web?
Thanks for the replies !

I'm building something else it seems, I'm trying to find app builders who want to focus on app-design and let their users store their data.

I'm made the link with Web 3.0 and Semantic web due to the ability i'm providing to my users of re-using their data between services.

I'm looking for app builders who want to focus on serverless features, i'm providing kind of a FireBase but where the user has total control.

Compatible with any storage engine, protocol or client.

If interested please reach me out at 6r17@proton.me

edit :

Concerning the semantic part it seems there were no real usage made except from promises of higher score,

I'm more interested in the (small ?) software market where data is not held hostage by the developer.

My feeling is that software grow old, but data should remain.

At the moment the web is like paintings glued with their frames.

I think it's mostly due to economical perspectives being reasonably promising due to the power laid by data collection

6r17··on Nadezhda Khvoshchinskaya, a great Russian writer of the nineteenth century
(born in france from two polish parents) i just love how eastern languages words can be declined to alter their meaning ; atomicaly it's close to saying "adjective + word", they are also close to postfixes but not really since they alter part of the original word ; not only that it naturally involves that every word could be suddenly "casted" into something news ; which for some reason sounds very understandable but also makes the language very living and dynamic ; while French is inducing a complete paradigm shift with "verlan" - where we change the words by shifting the sylables ; fete -> teuf; mate-> tema ;
6r17··on Tell HN: My Reddit account was banned after adding my subs to the protest
I think the most important thing at this point is to build a meeting point outside of reddit for all those people.

It doesn't have to be a fully built reddit alternative, but it should discuss how software is governed.

I think that's what it all lies to.

Software is not like other products. Websites are not like other products.

We've let them own us for almost 20 years now.

But we used them for more than that, in china they had post-walls in the street. We used to simply have community boards in real life.

And now those highroads are being jeopardized by companies in their own interest.

Shouldn't we ask ourselves, is it a benefit to humanity, if ours highway communication is being controlled by corporate entities ?

Can't we make an ONG which sole goal is to discuss and exchange on how those highways should be governed ?

This is a chance for humanity to grow but we are turning this into a pile of disaster instead of grouping up.

I do not think any individual at this point should be "in charge" of those high ways.

It should be an opportunity for all of us to join up, and build a governance framework of sort ; and from there create free tools which are not tied to economic narrow sight. Developers of such tools are all around the wrold, and centralization or decentralization is not the problem, it's either an achievement or a nice-to-have thing ; but in most cases, users don't care.

How do we group up, how do we discuss together like we do on HN, but we keep posting "some new alternative" every few week without realizing that if we group up in a simple github organization, we might be the most impactful workforce of the entire web ?

Do we really have to benefit from this ?

Is this all not above us ?

6r17··on Writing Python like it's Rust
Hei !

This comment inspired me because I was working on data-types at my company at the moment and I realized how static typing would have really benefited us.

So I made a library that does just that !

https://github.com/6r17/madtypes

I hope this will help some people !

← PreviousPage 5 of 6Next →