Better HN
topnewbestaskshowjobs
Log inSign up

simplify

2,061 karma · joined May 24, 2009 (17y ago) · 911 submissions

Submissions

comment 3y ago · link · parent

The optimal solution is to avoid react+hooks, which is too confusing for humans anyway :) Mithril.js has been plain javascript for years, and unsurprisingly enough this is easier for chatGPT / copilot to deal with.

comment 3y ago · link · parent

You can. Just write a descriptive comment, enter a newline, and it will attempt to autocomplete the code for you.

comment 3y ago · link · parent

Algebraic effects is a fantastic type system feature that needs to break into mainstream ASAP.

comment 3y ago · link · parent

Not trying to say you're wrong in your decision, but in the context of the post you're replying to, aren't these points arguments against the node client rather than redis itself?

comment 3y ago · link · parent

I only heard about vector databases along with the recent advents of AI. Assuming they've been around for a while, what were the benefits of using them over "normal" search engines (e.g. ElasticSearch)?

comment 3y ago · link · parent

How is usage based billing taken from the user's point of view? Isn't there a sense it disincentivizes a paying customer from using your product?

comment 3y ago · link · parent

An open source lib where I can type up some text configuration, hook it up to a sql database, and get a nice looking generated form (for internal surveys in my case).

comment 3y ago · link · parent

This is really cool! I was just thinking the other day, it would be nice to have Prolog-like interactions for excel/tabular data. Excel is useful, but getting insights into data relationships can be hard or impossible for certain queries.

This is exactly what I was thinking. Can't wait to play around with it.

comment 3y ago · link · parent

Your trust point is valid but needs tweaking: You need to trust someone with your money if you want to buy at an exchange. Although exchanges are the most convenient way to right now, they are not the only way. Peer-to-peer is always an option; you can trade with someone directly, or even do work and get paid directly in e.g. Ethereum.

But even if exchanges were the only way, that trust time is quite minimized, compared to the status quo.

To your second point, I agree it has to do with convenience. IMO the main reason is crypto UX is still very bad. The space is going to need some major new hardware and software solutions before going anywhere near mainstream.

comment 3y ago · link · parent

Blind faith how so? I merely stated a technical fact. Blockchain is programmable money; they could have programmed a system such that FTX could not run away with user funds – there are defi systems that do this already.

But they didn't. Instead, FTX used crypto as a means to transfer funds into their own, centralized custody. Not much different from a bank wire.

This isn't a "communism would work perfectly" style argument at all. I'm really not sure of what you're getting at, or if you understand how crypto works beyond surface level articles.

comment 3y ago · link · parent

A proper use of cryptocurrency could have prevented the problem, but FTX and users mutually agreed to give FTX more trust by giving FTX custody of user funds. That's really all it was. Not very interesting.

comment 3y ago · link · parent

I'd be curious to see the source on those numbers and how they're broken down. For example, Terra/Luna was a spectacular crypto failure. FTX, on the other hand, was just plain old fraud, not really related to crypto itself.

comment 3y ago · link · parent

Which of the 9 levels of nothing are we talking when we say "Proof-of-Nothing"? I'm gonna need to see a whitepaper :) https://www.youtube.com/watch?v=PhfqdBk8qxk

comment 3y ago · link · parent

> another clear example is how John identifies Jesus with the Logos, a Greek philosophical concept.

I don't think this example is so clear. First, "logos" is a common word that appears hundreds of times in the NT. Second, "the word of God / the LORD" is a common and important occurrence in the OT. John's argument is that Jesus was the one delivering these messages, as he existed beforehand to do so (see John 8:52-58).

Third, just because it was a Greek concept, doesn't mean John is intending to apply it here. An easy example is how the Septuagint always translates the Hebrew word "sheol" to the Greek word "hades". Even though hades is a Greek philosophical concept, the intention is not to apply that concept; it's just the word that the translators decided is closest to the meaning of the original.

With that said, there's no question that the early church beyond the twelve wrestled with and eventually incorporated many Greek philosophical concepts into their belief systems. We just don't see clear evidence of that in the gospels, I don't think.

comment 3y ago · link · parent

How does this compare to Unison[0]? Aside from looking JavaScript-like.

Doesn't look statically typed at first glance, but the docs seem to imply it is [1]. Pretty interesting overall.

[0]: https://www.unison-lang.org [1]: https://docs.winglang.io/reference/spec#18-type-inference

comment 3y ago · link · parent

Agree that familiarity is important. The "actual readability" you mention I call "communication" in my post breaking down readability[0].

Self-awareness on familiarity is important for any developer to have before declaring code as readable or unreadable :)

https://gilbert.ghost.io/dissecting-code-readability/

comment 3y ago · link · parent

Ignoring the tone and conclusions of the article, the main question is an important one to ask.

Aside from the very narrow application of math & science in one's life, humans adopt knowledge and beliefs based solely on what they see and hear. ChatGTP is no different.

What happens when it adopts a "wrong" belief, especially political? Who is responsible for "fixing" it? Who in power will make themselves the one responsible for "fixing" it?

comment 3y ago · link · parent

Excalidraw is one of my favorite tools, and for diagramming it's much better. I'm also a happy subscriber to their private collaborative workspaces features.

With that said, I look forward to tldraw's library getting open sourced, and discovering what's possible to build with it.

comment 4y ago · link · parent

His point is worthless. Just because you can't scientifically measure something doesn't mean it doesn't improve people's lives. The underlying assumption here is "if it's not scientific, then it's not helpful", which is extremely stupid.

comment 4y ago · link · parent

There is no science that helps stop someone from hating themselves. Worthless comment.

comment 4y ago · link · parent

Many who are / have been in bad marriages complain loudly about it. The many in good marriages rarely talk about it ("bragging").

Thus, take such stories online with a grain of salt. Especially since many are blind to their own faults, and therefore can't include them in their stories.

comment 4y ago · link · parent

As a programming language geek, TypeScript is one of the best things to ever happen to the industry. It's finally dispelled the notion that "types == Java == bad/annoying", and shown how powerful and convenient a type system can actually be.

(This is something that's been possible for decades, but it never hit mainstream before as it's hard to implement it well enough to satisfy the silly preferences of us typical programmers :)).

comment 4y ago · link · parent

Incredible output like this is why Justine is my proudest developer sponsorship https://github.com/sponsors/jart

comment 4y ago · link · parent

Pretty much this. Any language worth using will have its complainers. This is generally a good thing :)

comment 4y ago · link · parent

No, religion does not require suspension of critical thinking. This is only pushed by those who want to keep or abuse their power.

comment 4y ago · link · parent

The anti-religious love to harp on the whole evidence thing, but in real life you almost never make decisions based on evidence. Instead, you base them on experiences – whether based your own or other people's.

Here's a basic example: What's the evidence that Donald Trump was (or spicier, isn't) president? How do you verify this fact? Is it not simply faith in our system and word of mouth?

comment 4y ago · link · parent

This theory is only half true. Any power structure allows abuse to happen. Business, politics, universities, kingdoms, celebrities... there's nothing about religion distinct in this regard, other than religion is more widespread. Any social structure known to man will be susceptible to abuse.

What does make religion unique, as the article also states, is that it prescribes conquering the ego as one of its primary goals. The more of this we can get in the world, the better.

comment 4y ago · link · parent

> scientists don't seem to become as wildly inflated as priests or cult leaders

Isn't that simply because they don't have anywhere near the amount of power or followers? For power to corrupt, you must first have power.

comment 4y ago · link · parent

I would LOVE static typing when programming a form on a web page. However, it's the fault of HTML that this is bad, not static typing itself.

Although, in theory, one could write a parser to inject what form elements are available into the type system... :)

comment 4y ago · link · parent

I think the idea is, someone would fund it with more than just enough to pay for gas, making the snipe profitable.
1
456
31