Better HN
topnewbestaskshowjobs
Log inSign up

ptato

219 karma · joined Apr 4, 2019 (7y ago) · 104 submissions

Submissions

comment 3y ago · link · parent

>You’re not exploring something. Asking for something. Acting on something. Why? Because it’s a bad idea.

No, it's because it is hard. If it is a bad idea, why would I want to do it?

comment 3y ago · link · parent

Spain - most people wouldn't ask guests to take their shoes off

comment 3y ago · link · parent

What is Kanban?

comment 3y ago · link · parent

I've found enough Firefox-only bugs when doing things through spanish government sites that I started using Chrome for them preemptively.

comment 3y ago · link · parent

Zig embeds clang to compile C code. This doesn't add a new dependency since Zig already depends on LLVM. If there is a future where the self-hosted Zig backend is good enough to not depend on LLVM anymore, there might be a reason to use a C compiler written in Zig (possibly https://github.com/Vexu/arocc)

comment 3y ago · link · parent

For Morrowind it didn't just upgrade the rendering, it completely changed the aesthetic of the scene. Is that on purpose? At that point you can't call the results better, only different.

comment 3y ago · link · parent

good enough

comment 3y ago · link · parent

Can you write GUIs with Janet?

comment 3y ago · link · parent

Yeah... he says you can learn the language in an afternoon, but his book is so long-winded... I just want a short intro so that I can start writing programs.

comment 3y ago · link · parent

I've thought about setting up something like this before for myself. You might have given me the motivation I needed...

comment 3y ago · link · parent

Built-in names are essentially reserved words, and there are dozens of them. The @ prefix ensures you don't step on user's variable names, and that you can add new built-ins without making breaking changes.

comment 3y ago · link · parent

Please don't do "const Self = @This();" if the type isn't generic. It is pointless, redundant, ugly.

What issues could public struct fields have caused?

comment 3y ago · link · parent

It isn't possible, compiler will complain about "actual" being an undeclared identifier. The function arguments are declared in order.

comment 3y ago · link · parent

Nobody knows.

comment 3y ago · link · parent

I don't know if this fits what you were thinking of but I love rateyourmusic.com. Great community, great content, simple website.

comment 3y ago · link · parent

A good side effect of this game is that you can find great songs from cultures that aren't as well represented in popular culture.

comment 3y ago · link · parent

The answer to help beginners understand highly generic rust code is not more abstraction and magic.

comment 3y ago · link · parent

the self-hosted rewrite took a long time so it felt like the project had stalled for the past ~year. the team has started working on new features like the package manager, though.

comment 3y ago · link · parent

I'd like to know the name of these libraries.

comment 3y ago · link · parent

That looks great. I had no idea this was coming. Now I wonder which other ideas the Obsidian team has.

comment 3y ago · link · parent

So because most people on this site are American and might misread the title, the authors have to consider changing it? Why would the authors of Carp care about the demographics of Hacker News?

comment 3y ago · link · parent

> Elon claimed he would not “ban” the account. And he has not done so. They were suspended.

So the argument is that the word he used is different?

comment 3y ago · link · parent

from only a glance and without having ever used nim, it seems to be more abstracted from the machine, whereas zig is closer. nim code should be shorter, nicer, closer to ideal pseudocode. safer too, i imagine. zig code should be more explicit, and if you do it right, more efficient in time and memory.

zig also has a philosophy of, quoted from https://ziglang.org: "No hidden control flow. No hidden memory allocations. No preprocessor, no macros.". this also should make zig code more explicit, but probably more verbose too.

i could also be completely wrong. like i said, i know nothing of nim other than what the homepage says. don't listen to me.

comment 3y ago · link · parent

On Windows one can use https://scoop.sh too. There's a "zig" package for numbered releases, and a "zig-dev" package for nightly.

comment 3y ago · link · parent

https://www.youtube.com/watch?v=YHk2T8fCYSw

this would be "the grinder's whistle" for me

:)

comment 3y ago · link · parent

You're making a lot of assumptions. Sometimes a blog post just isn't meant for you.

comment 3y ago · link · parent

Where is that spot? That has never happened to me, but I'm curious to see what it looks like.

comment 4y ago · link · parent

How? Immigration?

comment 4y ago · link · parent

Advertising is not meant to be educational, it's meant to make you aware the product exists. Of course you're don't have to trust what the company is saying, but now you know their product exists and what it does. If it was something you were looking for, you can now research it and ask for opinion.
1234