HNHacker News
TopNewBestAskShowJobs

kreco

324 karma · joined January 26, 2018

submissionscomments
kreco··on The future is not self-hosted
I strongly agree with the global sentiment.

If you can't actually download a copy of a digital content as a mere file, then you can't really host it and serve it.

You can't host your own Spotify-clone even if you are allowed to listen to songs. However, you can still download music on Bandcamp to feed your Spotify-clone.

You can't host your own your own digital Video Game Store usually because of various DRM, or because it's painful to "export" the content and painful to "import" it back.

Still on the video game side, You can't even backup your game save (at least on the Nintendo Switch, Nintendo Switch 2 and Xbox Series), it's not because of any copyright infringement or IPs misuse, it's only a way for them to get more online subscription with online game save backup.

There is still a positive side: when it will become impossible to legally own anything, I'm pretty sure some illegal system will enable you to have a massive library of whatever you want at the cost of few clicks and/or a couple of bucks. I'm saying "positive side" even though it's illegal because I mostly talk about the comfort of having your own local library.

kreco··on TODOs aren't for doing
I take it mostly as "I'm aware that it's algorithmically slow and could become a bottleneck if it scales but I have no time to profile it right now" so you create a note to point this out.

TL;DR: it's just a "TODO profile this".

kreco··on You can now buy eggs from in-ovo sexed hens
If you have a chicken farm, you likely eat roosters time to time.
kreco··on Let Kids Be Loud
Sometimes there are properties about generations that get carried "alternatively" as cycles.

The generation that got too much authority will give the next generation more space (louder generation). Then the loud generation will create louder generation and authority will come back, etc.

It's just an example and I don't think the loudness is part of those properties but the abstract mechanism has been observed along few generation (I think this mechanism had a proper name but I cannot find it again).

kreco··on Parameterized types in C using the new tag compatibility rule
My point is that it would make simpler for the lexer and for the human being.
kreco··on Parameterized types in C using the new tag compatibility rule
This Facebook repository also use a new "extension" to do a similar thing:

https://github.com/facebookresearch/CParser#multiline-macros

kreco··on Parameterized types in C using the new tag compatibility rule
The backslashes itself make the preprocessor way more complicated for no real advantage (apart when it's unavoidable like in macros).

For every single symbol you need to actually check if there is a splice (backslash + new line) in it. For single pass compiler, this contribute to a very slow lexing phase as this splice can appear anywhere in a C/C++ code.

kreco··on How the BIC Cristal ballpoint pen became ubiquitous
I don't think ballpoint pen belongs to history only because you don't use them.

I use BIC ballpoint because they are the only ones who don't die when I carry them in my backpack. All others just cease to function for unknown reason or leak.

kreco··on Apple introduces a universal design across platforms
> Every Electron app is going to feel incredibly out of place.

Consistency with native app/style had never been an issue, ever. It's stylistic choice. while I get that someone would like to have the same theme everywhere it does not prevent anything.

Every single webpage is different that the other and yet everybody browse the web.

kreco··on Apple introduces a universal design across platforms
I don't fully disagree but this is not the root of the cause.

If I'm being employed to create bad product (bad UI) then I'm bad at my job.

Everything single decision should have a rational about it. You should fix what is broken, improve what can be improved and certainly not doing feng shui changes.

TL;DR: It's a management issue.

kreco··on A leap year check in three instructions
> such micro-optimizations are totally unnecessary because modern CPUs are so fast that instructions are almost free.

I'm amazed by the fact there is always someone who will say that such optimization are totally unnecessary.

kreco··on Fast machines, slow machines (2023)
Why not both?

The applications are launched at startup time because they have runtime startup slowness. The applications have startup slowness because of the JIT runtime/deps/.dll.

At the end of the day, end users pay for the cost of developer convenience (JIT and deps most of the time, even thought there are some case where dynamic linking is alright) because they don't do native apps.

Offloading everything at startup is a symptom IMO.

Replying to your specific point about virus scans. For some (naive) reason, I expect them to run a single time against a binary app that is never changed. So in theory it shouldn't even be a problem, but the reality says otherwise.

kreco··on Turritopsis dohrnii: Immortal jellyfish
Not an expert but I'm wondering why this jellyfish does not age.

Usually, at some point in time, cells cannot replicate correctly due to telomere shrinking.

Are jellyfishes not subject to any of this?

kreco··on The world could run on older hardware if software optimization was a priority
Your whole reply is focused at business level but not everybody can afford 32GB of RAM just to have a smooth experience on a web browser.
kreco··on Show HN: Lux – A luxurious package manager for Lua
And TOML.
kreco··on What is Local first development
Not sure I really understand the "development" part of it even after reading the article.
kreco··on AI cheats: Why you didn't notice your teammate was cheating
Makes sense! Thanks for the necessary addition.

I should have mentioned the social aspect of the winning.

Interestingly, I didn't even think about the single player game...

kreco··on AI cheats: Why you didn't notice your teammate was cheating
I forget where I read this, but somehow, some people have the "brain stimuli award" associated with the "winning" aspect even when they are using cheats. So winning is winning.

I'm still having hard time believing in this, but I haven't found better explanation for cheaters.

kreco··on AI cheats: Why you didn't notice your teammate was cheating
The title of the article is "why you didn’t notice your teammate was cheating"

Then you have the answer here:

> Cheats have escaped the host PC

> [...]

> Colorbots are quite hard to detect. You can essentially just plug in a capture card to your PC and pass the images to another PC that the cheat runs on.

If the article is low effort I would say that your comment is not great either because you seems frustrated to not have more information and just blame the author for not writing more about the subject.

kreco··on Show HN: Zig Topological Sort Library for Parallel Processing
Wouldn't you be happy if you could add attributes to functions,members etc (and obviously analyze them at compile time)?
kreco··on Show HN: Zig Topological Sort Library for Parallel Processing
Thanks for the reply.

I totally understand how those two features could be useful.

For the parameter name feature, I can't imagine a strong reason for not implementing it (I mean, apart of "we have other stuff to prioritize").

For the tag I could see an attribute system like in C++ [0]

On a tangential topic, I believe that's exactly the Pandora box of meta-programming.

[0] https://en.cppreference.com/w/cpp/language/attributes#Explan...

kreco··on Show HN: Zig Topological Sort Library for Parallel Processing
Could you describe briefly what feature you are sorely missing?

I like the language intention but I can't get past the syntax.

kreco··on Zinc, a systems programming language prototype
Definitely a feature to me.

I don't have to be worried that a 3rd party library without dependency begins to have 30 transitive dependencies which now can conflict with other diamond dependencies.

I need my dependency tree to be small to avoid every single factor of friction.

Language specific package manager is exactly what encourage the exponential explosion of packages leading to dependency hell (and lead to major security concerns).

kreco··on Show HN: CodeTracer – A new time-traveling debugger implemented in Nim and Rust
Especially since the trace files are in .json. [0]

[0] https://github.com/metacraft-labs/runtime_tracing#format

kreco··on Show HN: I built a modern Goodreads alternative
> Would love feedback. What do you think? 1) It looks very nice.

2) However, the UI density is not good for me.

I have a 23" monitor and I can only see 2,5 items of the "Trending Review This Week". I should be able to read 5 of them (even though there are only 3 items displayed).

The "landing screen" is also too big, I should be able to see some content that make me want to have a look and sign-in, not just sign-in to have a look.

3) As a personal opinion I prefer Bad/Neutral/Good rating system + review for the nuance.

kreco··on You're not a senior engineer until you've worked on a legacy project (2023)
In one of my past job, for some reasons I was the only one diving into legacy 12+ years old code.

The other members kept producing new code and debugging new code.

Disregarding of whether it's fair or not, there was a kind of balance that kept the boat floating.

I left since then and it wouldn't surprise me if the legacy was being rewritten from scratch (and over-engineered).

kreco··on The state of Rust trying to catch up with Ada [video]
And from what I get it's basically the same idea as Ada's "subtyping"[0].

    subtype Rainbow   is Color range Red .. Blue;
    subtype Small_Int is Integer range -10 .. 10;
[0] https://www.adaic.org/resources/add_content/standards/05rm/h...
kreco··on Nintendo announces the Switch 2 [video]
> But zero info on anything that could actually make this worth a buy.

Obvious answer: no more game released on Switch 1 so you want a Switch 2 if you want to play new games.

That's work well enough for Playstation/Xbox.

The difference with the other consoles mentioned is that it's portable, and the time already made clear (with Switch 1 and Steam Deck) there is a massive need.

kreco··on Obvious things C should do
> Evaluating Constant Expressions

The examples are quite simple in the article but I believe more complex cases would significantly degrade the compiler speed (and probably the memory footprint as well) and would require a VM to leverage this.

Which is probably assumed "too complex" to go into the standard. I'm not saying it's impossible, but I kind of understand why this would not go into any kind of standard.

> Importing Declarations

I wish C++ (or even C) would have gone into this direction instead the weird mess of what is defined for C++20.

Additionally you might import module into some symbol, like:

  #import "string.c" as str
and every non-static symbols from the file can be accessed from like:

  str.trim(" Hello World ");
> __import dex;

This is totally tangential but I don't like when file paths are not explicit. In this specific case I don't know if I'm importing dex.d or dex.c.

kreco··on Before Squid Game, there was Battle Royale
Kaiji is a fantastic manga!

The atmosphere is quite unique and for 1996 it was so innovative.

← PreviousPage 4 of 6Next →