HNHacker News
TopNewBestAskShowJobs

jfkebwjsbx

1,123 karma · joined February 12, 2020

submissionscomments
jfkebwjsbx··on Moving from TypeScript to Rust / WebAssembly
You are probably being downvoted because of this sentence:

> Working in other languages feels like going back to assembly

This is not a preference, it is an exaggeration and an attack on all other languages.

It is also quite ironic given Rust is intended for low level programming.

jfkebwjsbx··on Moving from TypeScript to Rust / WebAssembly
WASM isn't "more ambitious". It is a spec for portable bytecode, nothing more, nothing less.

LLVM is one of the best toolchains for many languages.

They are completely different things.

jfkebwjsbx··on Moving from TypeScript to Rust / WebAssembly
> maybe 2-3x the speed of the equivalent javascript code.

That is an insane difference even if nowhere close to native code.

Some engineering fields would be crazy with a 20% gain... 200% is huge!

jfkebwjsbx··on Moving from TypeScript to Rust / WebAssembly
For a lot of "usual" webdev, any reasonably modern language will do. Even modern JavaScript will be fine. Something like C# would have been way better, though, but we cannot change that now.

However... software development has become a mess of slow technologies and abstractions one on top of the other.

Some people are working routinely in a text editor that is behind three operating systems: the VM/hypervisor, the usual operating system (Windows/macOS/Linux) and then a browser instance (which is like a operating system now). Then add all the drivers, libraries, frameworks etc. that go in-between.

While I don't like that WebAssembly is yet another abstraction, at least it is a chance for a resurgence of system programming languages and to proper software engineering...

jfkebwjsbx··on Git commit accepts several message flags (-m) to allow multiline commits
No, commit messages are not meant for "auxiliary information", but for giving the reasoning behind a change.
jfkebwjsbx··on Git commit accepts several message flags (-m) to allow multiline commits
Of course people read them.

If you work in projects with a hundred other engineers or projects with maintenance, then there is no way you can get a sane code base without commit messages and reviews.

However, if you work alone and do not need maintenance, then yes, they are pointless since you will never need to read them.

jfkebwjsbx··on I got 400 signups with a video of a product that didn’t exist
A UI prototype is not a product, much less a viable one.
jfkebwjsbx··on Google offers free fabbing for 130nm open-source chips
Commercial games benefit way less than other code from being open source, since they are very short-lived projects once released.

Further, games would be very easy to copy for users, to develop cheats for multiplayer, to duplicate by competitors, etc.

jfkebwjsbx··on Professor solves 240 computer science exam problems in 4 hours [video]
Eeh... automata, languages (of all kinds, not just regular), grammars, complexity, etc. are used in computer engineering all the time.

If a computer engineering degree does not have those, then it is a pretty bad one.

jfkebwjsbx··on Rust for JavaScript Developers – Functions and Control Flow
That is the same in C++.

Again, I think you are talking about C's type system, not C++'s.

jfkebwjsbx··on Booting a 486 from floppy with the most up-to-date stable Linux kernel
No, it will not be reintroduced. There is no use for it. That belongs in a fork.
jfkebwjsbx··on Rust for JavaScript Developers – Functions and Control Flow
I love that idea, but I still prefer it’d read the same as an if. Meaning the condition first and the false case last.
jfkebwjsbx··on Rust for JavaScript Developers – Functions and Control Flow
> In C++ it's so rare

If you were talking about C, perhaps.

Modern C++ has a strict type system if you don't walk around it.

Nevertheless, the borrow checker can help with bugs that otherwise could be hiding, which is the actual advantage over C++. But those are not the kind you see right away after running your program again.

jfkebwjsbx··on Elements C++ GUI Library
Well, I am not sure I call huge compile times a joy to use...

Abusing metaprogramming is always a bad idea.

jfkebwjsbx··on Elements C++ GUI Library
Agreed, C++ for declarative-anything is a bad idea and will make compile times suffer a lot.
jfkebwjsbx··on Our Intellectual Property Laws Are Out of Control (2013)
> How doesn't this support my argument of reforming copyright laws? If even the (imo flawed) intent of copyright laws isn't doing what it's supposed to do (an economic incentive for creation of work) then what is the harm in reform?

It doesn't because your suggested reform would only make it (even) worse...

It'd imply only rich people could be full-time artists/authors. That is how it used to be centuries ago, by the way.

jfkebwjsbx··on Our Intellectual Property Laws Are Out of Control (2013)
That is a vacuous statement.

Yes, profit is only a problem if money is a problem. But given money is still used by society (and will be used for decades), it is pretty obvious you cannot remove profit.

Do it, and only rich people will be able to create. No Harry Potter for us.

jfkebwjsbx··on Our Intellectual Property Laws Are Out of Control (2013)
> But I don't think simply writing a book entitles you to income.

Writing a copyrighted book today does not entitle you to income either.

Do you really think artists make money just because they publish something?

> I see them as good, noble pursuits in and of themselves. They should be done for their own sake.

Agreed, but unless you are rich or someone supports you, that simply does not work.

I suggest you take a look at universal income instead. One of its advantages is that people could work on non-profitable endeavors if they are fine with a very basic life.

That, or wait until Star Trek becomes a reality :-)

> I value seeing a musical artist perform live, so I will pay for a concert even if I can download their album for free.

How do you do that for books and software which do not have any equivalent to a concert or performance?

> This is how you separate the truly valued works, from the works that have been artificially given a monetary value for the sake of profit raising.

Giving a concert does not mean your work is valuable. Neither publishing it digitally. And neither guarantee any audience whatsoever, much less profit...

> Just because you can publish an ebook in 3 clicks, doesn't mean it is good literature, and doesn't mean it is worth paying for.

This seems to follow from the "copyright entitles you to income", but since that isn't true, this does not follow either.

Someone publishing a bad ebook (actually, not even a bad one, average ones and even many good ones too) is not going to get any sales. Ask any aspiring average author or artist. They will have countless stories of how their endeavors have not paid any bills yet.

jfkebwjsbx··on Our Intellectual Property Laws Are Out of Control (2013)
That wouldn't work.

Free copies, even if you restrict profiting on the copies, implies the value effectively goes to zero. Most things can be digitally copied for free (art, books, software...). It is already a problem even with the restrictions.

Derivative works without royalties implies you would get countless copy-pasted works with the minimum amount of changes done to claim they are derivative. It already happens nowadays with things that try to claim they are not derivative works but completely new things when it is clear they are not.

Both these things are already super expensive to keep track and defend for small companies. If anything, what should be done is make them cheaper.

The 70 years is the only thing I agree. 10 is quite short. 20 would be fair and way better than the 70.

jfkebwjsbx··on Show HN: USA.css – units set in inches, 1776 bytes
1) Even if you combine the top 3, they would be quite smaller than the rest combined.

2) The actual markets is what you should look at, since you are talking about business, trade, etc. The EU is bigger than the US.

3) You wrote "most websites", not just HN. That is just incredibly wrong. Even if you had written "most English-speaking websites", you would still be wrong for the most popular sites.

jfkebwjsbx··on Our Intellectual Property Laws Are Out of Control (2013)
This is already how copyright works, so I am not sure what you are proposing. A reduction of time? How much?
jfkebwjsbx··on Show HN: USA.css – units set in inches, 1776 bytes
That would be very surprising considering how small it is compared to eg Europe alone.

So citation needeed, I guess.

jfkebwjsbx··on Json-Base – Database built as JSON files
> they have to have some clue about the domain, because the domain is their own problem

They can be lifelong experts on their problem, yet have no clue about writing a database engine and low-level programming in general.

> Antirez said literally he didn't know about existing solutions when he went to write redis

Nobody is born with knowledge. The difference is that Antirez studied previous solutions, studied how to do it, and then applied that knowledge right.

Instead, that person did the equivalent of building a bridge disregarding everything humans learnt about it since the Roman empire. It will not be a surprise if the bridge ends up collapsing.

jfkebwjsbx··on Json-Base – Database built as JSON files
You're welcome! I am glad you took it in a good way and helped you.
jfkebwjsbx··on Kongregate closed to new games, shutting down forums and chat
Thanks! I agree in a platform like HN (where readers likely have above average critical thinking skills) that can work.
jfkebwjsbx··on Json-Base – Database built as JSON files
There is nothing bad about writing your own solutions.

What is bad is putting them in production when you don't have a clue about the domain.

jfkebwjsbx··on Json-Base – Database built as JSON files
> And the first time I used couch, my programming "knowledge" was very basic HTML (no JS).

That probably explains a lot: you have a hammer and everything looks like a nail.

CouchDB makes no sense whatsoever for the requirements described.

jfkebwjsbx··on Kongregate closed to new games, shutting down forums and chat
Thanks dang, I apologize then.

Out of curiosity, how do you deal then with veiled ads etc. in this day and age?

jfkebwjsbx··on Fighter pilot breaks down every button in an F-15 cockpit [video]
Excuse me? There has been no ad hominem here.

Pointing out a flaw in your argument has nothing to do with your person or condition, which as you say I have no clue about. You have made your UI preferences crystal clear in this thread, and I disputed your arguments supporting them. Discussion is the goal of this forum, by the way.

If you really believe you have been attacked, then may I suggest we leave the discussion here and please flag the comments you find disruptive and let a moderator work it out.

As a friendly side note: claiming "all someone has to say is attacking ad hominem" is quite ad hominem itself, because you are attributing an implicit trait to that person (eg pushy) or a motive irrelevant to the discussion (eg not "liking you" or whatever).

jfkebwjsbx··on Fighter pilot breaks down every button in an F-15 cockpit [video]
The point is that it does not matter that keyboards have 50, 100 or 200 keys dedicated to characters for text entry. That is something that came out of biology and the average human capacity to coordinate their fingers, their length, etc.; as well as the limits of technology at the time.

The comparison with cockpits is meaningless because keyboards are not "104 switches", but a single method to deliver input text (for the most part). The same way touchscreens are a method to deliver input, not an interface on itself.

← PreviousPage 5 of 29Next →