HNHacker News
TopNewBestAskShowJobs

tekkk

1,716 karma · joined March 3, 2017

goto.tekk@gmail.com
submissionscomments
tekkk··on Introducing tmux-rs
A fatal mistake he surely won't be making again.
tekkk··on Introducing tmux-rs
If your "honest opinion" is just a take down without much thought behind it, you could just as well keep it to yourself is my opinion. If you want to provide criticism, please at least put a little effort to it. So simply referencing the article can't refute you.
tekkk··on Introducing tmux-rs
Just appalling. Someone publishes a post about their WIP project reaching an important milestone, and here comes the naysayers whining about the fact it's not finished yet.

Did you even the article? He clearly states his aims to convert it to safe rust. And for the code size, he clearly hasn't needed to optimize it yet and I don't think you necessarily want to code golf codebase like this.

tekkk··on A receipt printer cured my procrastination
Great article! Many ideas that I have also noticed put together, nicely done. Although I'm kinda curious how long you have used this system to truly "know" it's bullet-proof.

In my experience, all systems fail without outside pressure and/or right nutrition and exercise. If I eat a lot of carbs and in general, gain fat and dont exercise I get nothing done. Eating ketoish and exercising every 2/3 days and I get a lot done.

Thinking about work as loops is the right idea, I do agree. Human brains slowly accomodate new thought-patterns and one must continously keep at them to make them appear easy. Any time I come back after vacation I feel immediate exhaustion and repulsion towards programming even though it's easy to me. You just lose the familiarity.

Anyway, I write tasks down as well although my system is just a webapp I built for myself. It's interesting I built it as hacky prototype but I've never come around finishing it even though I've been using it somewhat regularly for 5 years or so. Or I write down things on paper.

The least ceremony required for the process, to me, seems is the only long-term solution. But I appreciate this another take on it.

tekkk··on Research suggests Big Bang may have taken place inside a black hole
Interesting sci-fi plot device but seems far-fetched, not gonna lie. To think that our highly stable universe is just compressed mass of another universe is a lot to take in. Does that black hole emit Hawking radiation as well and shouldnt our universe lose mass in result? And how exactly can our universe expand if the size of the black hole is fixed?

Well, at least it does make for interesting conversations. Someone will surely milk it for Youtube content.

tekkk··on US Ends Support For Ukrainian F-16s
And now you're back-tracking on it so yes, US is extremely unreliable as an ally. I mean nobody is surprised you had some ulterior motive and undermined your geo-political enemies. It's the abandonment of those you supported that hurts US image.
tekkk··on Visualize Ownership and Lifetimes in Rust
You are polluting every variable signature with `readonly`. This also can create cascading effects where making one function accept only readonly variables forces you to declare readonly elsewhere as well. Quite similar, in a way, to Rust.
tekkk··on Show HN: HTML visualization of a PDF file's internal structure
I meant JS or WASM
tekkk··on Show HN: HTML visualization of a PDF file's internal structure
This would be really nice as browser library. Could just dragn drop a file and see its insides. But impressive nonetheless.
tekkk··on Visualizing all books of the world in ISBN-Space
Wow, what a cool little project, congratulations on shipping!
tekkk··on Moving on from React, a year later
It's interesting to hear varying takes on this.

But my personal belief is that web apps are moving towards static sites that are cache-friendly and offline-ready. This for couple of reasons, first is easy integration with CDN. Second is easy integration with webviews for mobile apps.

And easiest way to implement offlineness so far has been through a state management library. Doesn't mean that doing what the article suggests, moving logic to server, is impossible but it's quite a pain. Much easier is to move logic to client and handling it there.

Moreover, the fact there's so many UI components and libraries available for React and so forth, makes developing much faster. Depends on the developer, of course (and I personally prefer Svelte), but is a rather big advantage if you are doing anything complex in UI.

tekkk··on [dead]
Wow great news! ts-node has always been a bit clunky to use. Even without enums this should be useful for one-off scripts
tekkk··on Ask HN: Programmers who don't use autocomplete/LSP, how do you do it?
Certainly and nothing wrong with it. Just have to make sure no forks get lost in there. And I myself have started to prefer more intellectual "lib"
tekkk··on Ask HN: Programmers who don't use autocomplete/LSP, how do you do it?
I myself coined a term "kitchenware principle" that I have applied to my codebase as well. You put forks and knives adjacent because they serve similar utility and common purpose. Same with plates, cups, weird gadgets in separate drawer.

You should organize your code similarly and with as little fanfare. They are just tools, dont get clever with them. Sometimes, you get too many forks in same holder so you have to divide them but again, common sense prevails.

tekkk··on Popeye and Tintin enter the public domain in 2025 along with Faulkner, Hemingway
Wow, haven't seen those images in a long time. I can't recall where I read this Gaston comic—translated of course—but I have never laughed so much at comic strips in my life. I still remember that cigarette machine he built as well as alcoholmeter.

Should have been made into cartoon series, but seeing how old it is I wonder if it was before its time. It really had an originality unlike anything I've read before or since.

tekkk··on Romanian court annuls result of presidential election first round
If a foreign, hostile country is helping you to win the election I think you ought to report it. I get if you are of the school that all that matters is winning and not how you do it, ethics aside, but setting a precedent that all is allowed is just dangerous. That's why I think it's great that there's new vote. I believe he might as well win again, but this time it's much more transparent what's behind it.

> Are you kidding? In the 2024 election, super PACs spent $4.5 billion on helping one candidate or the other win, and the source of more than 50% of those funds is unknown. I don’t think you can name a single democratic country where this doesn’t happen.

Yes, US the shining beacon of democratic process. But even in that system, there's a money trace—clear evidence who has spent and what amount. But since you are enthusiastic about it, can you analyze the Nordic systems as well?

> It’s kind of funny how people are willing to shut down all critical thinking when they want to believe a particular thing.

To me the funny part is that you can't argue without trying to dismiss my point of view. I think you should evaluate your own critical thinking before critizing others.

Look, I merely wanted to point out that it's good the interference was caught and put on display, probably the people will elect him to 2nd round nonetheless. I think he should be allowed to run of course, if that's why you are getting so worked up about this. It's clear the other parties probably try to out-maneuver him this time, but this might just as well help him.

tekkk··on Romanian court annuls result of presidential election first round
Without his consent seems implausible. Clearly somebody has been coordinating it and he should have noticed this and done something. Pretending that it was all just coincidence is just bad faith.

"And happens in most countries" is just a blanket statement. Major proportion is still declared and you dont just skate into presidential election 2nd round with 0€ spent.

tekkk··on Romanian court annuls result of presidential election first round
I don't know what the big fuss is about. There are clearly rules in places that force you to declare your voting budgets and where the money comes from. Seems pretty clear. So saying you spent 0€ and then have ads everywhere and _win_, is clearly illegal. In smaller scale, this could have been omitted but this is just blatant fraud.

For people who say this undermines democracy, I think this is perfectly the opposite. We have rules in democracy that need to be followed. If he now declares he got the money from Russia and China or wherever and people still vote for him, so be it. He'll probably end up in 2nd round either way but it's good Romania shows that they are vigilant even though their people aren't necessarily that smart.

tekkk··on Why America's economy is soaring ahead of its rivals
Quick googling shows that WHO/World Bank at least.
tekkk··on UK counter-terrorism unit demands Steam withdraw controversial shooter from sale
Show me a fun game you could make out of Holocaust and I'll be impressed. You can't look at a game purely from mechanics perspective. Nazi flag is just red, white and black in an intricate order but it produces an emotional response in people. You can deconstruct it at some level, but in the end you're just hopping over trip-wires.
tekkk··on Redis is trying to take over the all of the OSS Redis libraries
Plenty of OSS developers/companies have survived and make a living out of their work. You just have to provide enough value on top of your project with your closed-source services that people are inclined to pay for them, instead of hacking up their own solutions. Or consultation.

No one forces you to make your project OSS. It's a trade-off you should consider carefully before you do. But because people keep doing it, it's clear there are massive benefits to it.

And many open source projects are just modules extracted from the company code base to gather developer mindset and to reduce costs by harnessing outside developers. It's, as such, a fine model as it is. Rug-pulling and exertion of power through stupid lawyer BS is what kills those projects if anything. If people are not paying for your OSS addons, perhaps they aren't that good after all.

tekkk··on Trump wins presidency for second time
That's true... It's hard to make sense of it. But I suppose you can try to just skip that part, not get triggered by it, and just focus on practical issues and explanations why things are such. Inflation is high because of Covid aid et cetera.

I though personally believe this was mostly just Covid & immigration fallout and not really tied to Trump per se. Could have been almost anybody with those talking points with a sprinkle of charisma and they would have won. Assassination attempt helped probably as well.

tekkk··on Trump wins presidency for second time
You just gotta laugh at this point. It wasn't even that close so people have spoken. What hopefully we all have learnt from this is that average American is mostly concerned with themselves and how their lives can get better. For others, boo-hoo. Especially with this economy.

And I wish the politics would move towards less vitriol. It's just sad how both parties are so dug in with their opinions. I'm sure there could have been reasonable discussions with regards to eg economy and immigration where the concerns of the large portion of the population had been seriously addressed.

Being practical isn't a fault, in fact one of the things I think Mr Trump got elected. We'll see does it translate to reality but he definitely has ideas.

tekkk··on Trump wins presidency for second time
Lol. Yeah well if we are willing to trade our last shreds of integrity and capitulate that dictatorship is the winning strategy then sure. I mean, not to bring WW2 in the discussion, but back in that time people thought giving them what they want would lead to peace.

These things also span decades or centuries so I think there will be time when Russia and the West will be closer again. It's just they have to stop their imperialism and grabbing land. Think they have enough already.

tekkk··on Tesla's Cybertruck is outselling almost every other EV in the US
That thing is all steel and sharp corners. Not at all the same as a delivery truck, adhering to basic pedestrian safety standards and also driven mostly by workers with special driving licenses. Also they are way slower than these steel battering rams.
tekkk··on Toasty, an async ORM for Rust
No type safety & writing manual SQL is slower. I get your point but the bottleneck is often developement speed, not query efficiency. I know and hate how stupid the ORM is underneath but I have to admit it's a blessing that I dont have to think about SQL at all (until I do).
tekkk··on Show HN: Offline audiobook from any format with one CLI command
Very interesting. I have listened to an AI audiobook once and although the inflection was somewhat jarring at first you got kinda used to it. I suppose it's good enough for your own use. And audiobook prices being what they are rather affordable one as well.
tekkk··on Is Kotlin Multiplatform Replacing Flutter?
Well I don't want to throw poop at Flutter but I hope so. There's no need for yet another language for doing cross-platform mobile apps and having single overlord (Google) financing the language (Dart) as well as the toolkit (Flutter) doesn't seem sustainable in the long run (cough Stadia etc).

Kotlin has Java interoperability as well as wider community support which to me seems a lot more organic than Flutter's. And, personally, I dislike Flutter's obtuse OOP patterns. From what little I used Kotlin it seemed like more modern Java that didn't make your fingers sore with its boilerplate. Although Gradle is still the worst package manager I have ever used.

tekkk··on Cloudflare took down our website
Huh. Now that was some high-stakes poker right there. It seems the casino knew they were breaking the TOS and paying too little and Cloudflare caught up with that. Then knowing their situation they decided to ask for payment for all the expenses of the previous years (and some extra). In quite passive-aggressive manner.

But the casino still decided to stretch the penny and alas, whoever at Cloudflare was in charge got quite upset their extortion-tactic failed. So they decided to resolve it the American way and kick them out with zero warning - ouch! How fascinating.

I myself like using Cloudflare as it's quite affordable to setup and use. Makes me sad to know they have to resolve to tactics like this to finance their service. Well, at least I don't work in dubious businesses that violate TOS so perhaps I can at least wish for a graceful termination when my Enterprise bill is due.

tekkk··on Rolldown: Rollup compatible bundler written in Rust
Great! Hopefully this makes using dynamic import easier when you say want to chunk your language dependencies and only import them as needed during runtime. As I just tried this with Vite it was quite a hassle and I decided it was easier to just import all async after initial render.
← PreviousPage 2 of 19Next →