Better HN
topnewbestaskshowjobs
Log inSign up

usrbinbash

4,687 karma · joined Dec 4, 2021 (4y ago) · 1,693 submissions

Submissions

comment 4y ago · link · parent

> and another that detects whether it's a chatbot or a real conversation?

Problem is: How would it do that? In order to for a machine to accurately decide whether its conversation partner is a human or another machine, it would require a model that already accurately understands the difference.

So it's basically a hen-and-egg problem; In order to make the Discriminator for a GAN that should pass the Turing test, I need a machine that could already pass the Turing Test.

Sure, we could feed it billions of human conversations, and train it to recognize some sort of difference, and that could result in a Generator which somewhat mimics the way human conversation works, but that's not what the Turing Test evaluates...when I ask something that is nonsensical like "what does the magnetopause smell like", and the system simply simulates a human speech pattern along the lines of "i don't know, I never tried smelling it", instead of showing actual understanding about the universe that tells it that the question is absurd, it may fool the Discriminator-Algorithm of the GAN, but its not going to convince humans for long.

comment 4y ago · link · parent

Aaaand what about Web4?

comment 4y ago · link · parent

> it will often show very quickly that a candidate is absolutely terrible.

It CAN show that.

Problem is; even a terrible candidate can prepare, knowing the kinds of things that will likely be tested, by memorizing the solutions to these very specific problems.

comment 4y ago · link · parent

> There's a significant backlash at least in the startup space to "whiteboard coding"

Good.

Whiteboard coding is probably one of the least useful methods I have ever seen to evaluate candidates. It tells me nothing about the persons actual qualification and can be gamed.

comment 4y ago · link · parent

What "new technology" are we talking about exactly?

Because new technology as in better robots, better medical/agricultural/transportation technology, better network tech, better electronics, more efficient power generation technology, faster chips, improved algorithms for things like logistics etc. etc. HAVE made us much more productive.

The problem is, as with almost all developments that actually matter for our progress as a species, these things kinda fly under the radar. They just work in the background, keeping the ship afloat. They usually don't get big shiny sparkly stage presentations. They are, simultaneously, the most important things happening to our technological and scientific progress, and the most ignored.

comment 4y ago · link · parent

There are 2 hard problems in IT:

    0. Cache invalidation
    1. Naming things
    2. Off-by-one errors
Index 0 is why reboots are so effective.

comment 4y ago · link · parent

AB testing doesn't show many very different variants, but a few (usually 2) which are only slight variations of one another.

So the AI would still need very narrow guidelines (aka. an existing design) to build the interfaces for testing, it couldn't try a lot of variations, and the process would be slow, as each new set of iterations has to be presented to testers/users and evaluated, before the next small batch can be prepared.

comment 4y ago · link · parent

> it would be trivial to generate user interfaces with help of an AI

There is a difference in composing a described image and engineering an interface. The image has to satisfy it's constraints (eg. "a spheroid blue giraffe"), the interface has to be useful to the user.

There are endless ways to draw something that is spheroid, blue-ish and looks somewhat like a giraffe, and all of them are correct.

Similarly, there are endless ways to draw "Three buttons and an input field"...but not all of them are useful. If I put the input field in the upper left corner, let two buttons overlap in the middle, and put the third one in the lower right, I satisfied the constraints, but who wants to use the result?

Sure, I could make the description more precise, that is, make the constraints so narrow that in order to fulfill them, the AI has no choice but to generate exactly what I want. But at that point, I already did the work myself.

comment 4y ago · link · parent

And what good is the ledger if the vast majority of users interacting with it do so through very centralized, very old fashioned platforms controlled by a single entity?

comment 4y ago · link · parent

> Honestly Go seems to be over its honeymoon period and is probably a safe bet also

This. Go is an established technology by now. Plus, it is really, really easy to learn and get productive in...I mean, being accessible even to beginners was one of the design goals of the language. One can literally get to grips with its basics over a long weekend.

comment 4y ago · link · parent

The number 1 thing to ensure developer productivity: Help them maintain their flow.

Nothing destroys productivity quicker than flow disruption: eg. lots of "really quick" meetings, bonus points if they are spread about 45 minutes apart and take no longer than 15-20 minutes.

comment 4y ago · link · parent

If requirements change next week, I change the code ... next week. I don't change code now to be prepared for something that may or may not happen.

> but at least it should isolate chunks that can be understood with little effort.

The chunks are easier to understand. But the laundry list function that calls them isn't because it's logic is now spread over 10 different functions.

comment 4y ago · link · parent

> For what it's worth, my take on it is that you should extract whatever bits of pure functions you can find in the 1000-line ones.

Do these bits of pure functions appear anywhere else in the code? If so, sure, I happily pull them out into their own functions.

If not, I will leave them exactly where they are. It's easier to read a laundry list than to look up many different parts in isolation without context.

As for testability: If some bit of code only appears in that one long laundry-list function, what do I gain by testing it outside of that context?

comment 4y ago · link · parent

> Overzealous (or compelled) decomposition into 5-line chunks over tens of files. Pointless renaming, re-exporting and encapsulation. Higher-order code golf. All this done to a finished non-extensible project makes no sense and makes it harder to read, for no reason.

Exactly.

For decades, people were told this is the way to go, and would somehow, almost magically, make code readable, maintainable, reusable. The result is the exact opposite, a gigantic pile of needless abstractions and spread-out functionality, most of which exist solely to satisfy some paradigms.

comment 4y ago · link · parent

> Change is breakage for someone so their ought to be a reason to do it,

Simplicity is reason enough to change something.

When things break because of reasonable change, they can be fixed. And in this case, backwards compatibility can be ensured simply by symlinking things.

comment 4y ago · link · parent

Backward compatibility can be ensured with a couple of symlinks.

comment 4y ago · link · parent

> so why should those be present in the user's path

And why shouldn't they?

It's not as if a user could do anything damaging with them, if the system is setup properly.

> Having only usable binaries in the path aids discoverability of the system.

Except when someone new has to go online to ask "I found this tutorial telling me to use the `xyz` command to do this, but all I get is `bash: xyz: command not found`, please help!"

comment 4y ago · link · parent

This is by far the best explanation for the mess that is historical file hierarchies I have ever read.

comment 4y ago · link · parent

As you can probably guess from my username, I am among the last people who would disagree on the usefulness of common shell utils, and the benefit of knowing them.

But I still hold that one should rewrite into a proper programming language, as soon as a shell script becomes too large, and that point is usually around the 100 LOC mark. Yes, I can do amazing things just with sh/bash and the coreutils. But a small Go program or python script, is just alot more readable, at least imho, because they impose STRUCTURE, which the shell lacks on purpose: It's a CLI first, and a programming language second.

I can read through several hundred lines of Go in one sitting. When asked with analyzing some old bash script, and `wc -l` tells me something along the lines of 400+, I grab the coffee machine and bring it to my desk.

comment 4y ago · link · parent

> I have never seen good argument against PowerShell

As long as I have to type `Get-Content` instead of `cat`, that's argument enough for me.

comment 4y ago · link · parent

As someone who has little to no idea how colors and operations on them work, I must say that was an incredibly interesting read!

comment 4y ago · link · parent

> In every other cases it sucks

It doesn't for basically everything I do, and I have a lot of systems, subscriptions, and profiles to worry about.

> random devices most of them even does not support any passwd mngr

In the simplest case, 2 things are needed to support a password manager: Network access, and copy-paste.

comment 4y ago · link · parent

> Easy to forget login, easy to forget passwd, easy to forget what passwd is attached to some login.

All solved by a password manager.

1
353637
57