Better HN
topnewbestaskshowjobs
Log inSign up

VectorLock

4,209 karma · joined May 11, 2017 (9y ago) · 1,859 submissions

Who will bell the cat?
Submissions

comment 6y ago · link · parent

Spammers really do ruin everything. The guy who acquired delicious says as soon as he turned it back on after several years of read-only mode it immediately started getting hammered by spambots again. https://twitter.com/Pinboard/status/1281285876388106247

comment 6y ago · link · parent

"Everyone gets COVID" is not an unavoidable eventuality. The spread of the virus can be attenuated enough so that it a decreasing amount of people, and eventually a vaccine can be developed.

comment 6y ago · link · parent

At a fundamental level, yes. By degree of magnitude not even in the same galaxy. If you take a 200 million mile road trip you might contribute to one death, vs. going to a party and risk contracting and spreading a pandemic that has has already claimed hundreds of thousands of lives.

comment 6y ago · link · parent

The argument that "its okay for more of other people to die so some people don't miss out on some fun" I find even more abhorrent.

comment 6y ago · link · parent

Is there an off the shelf MicroPython board that can be used to make something like this using wired switches in a Dactyl / Manuform style keyboard. I see a lot of bespoke keyboard boards using socket style microcontrollers as well.

comment 6y ago · link · parent

Being able to change settings with regular files on an a virtual USB disk and not having to install a compiler to make these changes sounds great.

comment 6y ago · link · parent

And I think a lot of people are starting to realize that "callback spaghetti" might not be the best structure to give your code either.

comment 6y ago · link · parent

>Compression is not magic and minifying has real world performance gains in JS projects at least - I don't see how Python would be different here.

How much are the gains with minifying (factoring out compression) anyways? I'm sure they're somewhat faster, but enough to justify the step/obfuscation (assuming obfuscation isn't a goal)

comment 6y ago · link · parent

I see this happening in a lot of Python libraries. It's still Python - or *ython maybe we can call it. The idiom of cutesy operator overloaded spread in from other languages; I'm personally not a fan.

comment 6y ago · link · parent

Interesting they use eval(), I wonder if their implementations could be changed to not use eval(). I guess in the end you could just use actual classes for these cases, but I sure do like namedtuple and dataclasses.

comment 6y ago · link · parent

REPL-centric development is something that has caught on a lot lately and is something that I find myself gravitating towards more and more. For 'production' the eval() might be able to be cast off, but for development the REPL is indispensable - if not a first class requirement.

comment 6y ago · link · parent

Python does have some warts with like you said hashbangs but its still eons ahead of other similar languages in this regard (like Ruby) and that is a small thing to relegate it in your mind to a 'beginner only' language, since tons of other languages do things much worse than Python does.

Python's simplicity - which makes it appealing for beginners - is its core strength that had made it so widely adopted for so many different things.

comment 6y ago · link · parent

It might have been less self-harm promoting and more conceptually correct to tell the AI to delete itself, instead.

comment 6y ago · link · parent

This is quite intriguing since my first thought after reading this is "its too bad we don't have a language thats all the syntax of Python but none of the baggage" and then the #1 child of the #1 comment is almost that. Not quite, but almost.

comment 6y ago · link · parent

I'm deeply turned off by Oni2's pre-release increasing price model.

comment 6y ago · link · parent

Python mostly. VScode just seems to get in the way with a lot of things.

comment 6y ago · link · parent

Ever year or so I look at the nice sugar that things like VScode or other IDEs have and think "it has vim mode, those nice things would be good to have" - autocomplete, things like that. So I try the IDE and I get so tired of _in the way_ it gets that I just go back to vanilla Vim.

Then I think "maybe I'll try these IDE like plugins for Vim" and get so frustrated by the Vim plugin system that its back to vanilla Vim pretty quickly.

comment 6y ago · link · parent

Stefan Molyneux not to be confused with Peter Molyneux.

comment 6y ago · link · parent

"Ha ha only serious."

comment 6y ago · link · parent

It doesn't just mean "very." It is defined as "increasing rapidly by a large amount" in several dictionaries. Sometimes we have different words for varying degrees of things, and most people seem to accept thats perfectly cromulent.

comment 6y ago · link · parent

Practices is great and all, thats how I learned, but I'd know there have to be resources out there to help people learn beyond simply "figure it out as you go."

comment 6y ago · link · parent

I've noticed the biggest difference between junior developers and more experienced individuals is their written communication abilities. This has led me down the path of trying to find resources to help teach communications to those that I mentor but since this isn't my area of expertise (teaching communications) I'd love if anybody had resources to share.

comment 6y ago · link · parent

"Style" means things that the human sees. If it changes execution its not style any more. This is what tests are designed to enforce.

comment 6y ago · link · parent

I'm strongly against over-bearing autoformatters.

In my experience a little hand crafting tweaks to formatting go a long way to increasing understandability.

It feels like a lot of people are having issues with bikeshedding and they're using enforced autoformatters to impose their will and stifle debate they may not like.

Not arguing about style is nice, but having to resort to this brutalist architecture style of code formatting doesn't seem great to me. "Its just holding people, who CARES what the building looks like!"

Also thing like line-length limits. I'm with Linus on this one, enforce line-length limits causes a lot of problems, like breaking context in greps. And an autoformatter that breaks at a certain number of characters is never going to be able to understand the context to break it intelligently.

Are people using editors that don't display long lines wrapping properly? Do people think everybody uses the same resolution, the same window size, the same columns per terminal, etc?

comment 6y ago · link · parent

Reading through all these comments I see a lot of people saying "it stops the debate about style!"

It seems like people are having more of an issue with bike shedding than actual code formatting.

comment 6y ago · link · parent

Formatters are a way for one person who likes the formatters output to enforce their will on other who might not necessarily like that.

comment 6y ago · link · parent

Formatters don't have the understanding like the developers do. Certain changes that might increase the understandability for a human might get obliterated if they don't conform to the rules of the autoformatter.

comment 6y ago · link · parent

Normally I agree with treating code as a means to an end rather than an end to itself but I take a certain enjoyment in crafting in some way aesthetically pleasing code as well. I even find that if the code is "ugly" that there frequently might be a more eloquent and objectively better way of doing things. And a little time hand formatting I think is worth it if you're maximizing understandability and readability.

Not arguing about style is nice, but having to resort to this brutalist architecture style of code formatting doesn't seem great to me. "Its just holding people, who CARES what the building looks like!"

comment 6y ago · link · parent

I agree with you. Its not in the insurance companies best interests to pay out when they can, they have no incentive to "help" you. Sometimes I wonder if home insurance is even worth it. Barring the house burning down from a lightning strike they'll try to clause their way out of almost every situation and even if they can't paying the deductible and insurance increases aren't even worth it except in the most extreme cases.

I pretty much pay them just so I don't have to experience the social ramifications of telling people I didn't have home insurance if something did happen.

comment 6y ago · link · parent

Not to defend the insurance companies, but I think it is bad faith because the intention of the insurance is to protect the insured from risk from an unforeseen situation, not to attempt to gamble or arbitrage against the insurance company.
1
353637
62