News for hackers. Stuff that matters.

banana_maker

Re:What are your most used self-hosted applications? on Tuesday May 10, 2022 @05:56PM (#31333223)
* The UI is nice to have

* You get features like issues, project wiki, etc

* You can still collaborate/handle PRs easily with other people

I selfhost for the above and just to have a handy backup in case github is down.

Re:Sorbet and 100% cov makes Ruby refactoring possible on Monday April 25, 2022 @06:10PM (#31161405)
Comparing a trivial <500 LoC program between languages doesn't tell you anything that's useful other than the terseness of the syntax. You might as well chain unix utilities together at that point.

Maintaining a 5k+ LoC java/c#/go/rust/crystal codebase is orders of magnitude simpler than standard ruby. Sorbet/RBS bridge that gap now, but are a pita to use compared to natively implementing a type system. I know with rust/go I get a simple binary at the end to copy over. Rust, unfortunately, has slow compilation times still compared to go, but I really can't stand error handling in go compared to rust.

That said, "ruthlessly productive" is an apt description. I just don't want to have to maintain a large rails codebase again without sorbet/rbs. I'm hoping phoenix/elixir or something in rust catches on.

Re:Ask HN: What creative field will be safe from AI? on Saturday April 09, 2022 @11:35PM (#30974278)
All of 'em. All of them will be safe. AI generated content is devoid of meaning and randomly generating some pictures isn't indicative of anything to me. Human works of creativity are so much more than randomly generating things from prompts - and don't forget you're not seeing ALL of the pics that have been generated, but some of them.

As people start to generate crap at tremendous volume with AI, more value and emphasis will be placed on creative works made by humans. I very well could be wrong, but either way it's not happening anytime soon.

---

Games like go and chess are different, of course computers are better for calculating and optimizing moves and branching paths - no creativity is needed. This portion is completely irrelevant to the discussion of computers trying to generate art.

Re:Show HN: Warp, a Rust-based terminal on Tuesday April 05, 2022 @09:35PM (#30927419)
Warp wants to john deere-ify our tools. Soon you won't be able to buy a hammer or table saw without some sort of platform marketing speak and a subscription service.
Occasionally that thought pops up. Then I remember I’m making insane amounts of money, from the comfort of my desk in my house. At 25 I’m making more than my parents ever did, with a fraction of the physical effort.

If I really hated it, I could save up for some time and do something else, because again… I’m pulling insane amounts of money for software work.

Trades like plumbing, electrical work etc are -hard- work. I recognize that I have the privilege of not sacrificing my body and health for my income. My biggest concerns are making sure my posture is correct and that I take enough walks. Such a hard life.

I’ve noticed that some programmers tend to romanticize things like farming or plumbing, and generally speaking not understand the hard physical work those people have to go through. It can be quite patronizing.

Edit: sitting a desk is not “sacrificing your body”. Comparing that to the labor that people in trades do is completely detached from reality. Obviously there are things like standing desks and working out. But in life you have to sit or stand regardless.

Re:Call of Duty Adds Kernel Level Driver for Anti-Cheat on Thursday October 14, 2021 @11:13AM (#28865421)
So your solution to other people cheating is .... contributing to the cheating problem yourself? Wow.

You know it's possible to choose to -not- play a game, right? There are so many games available that don't have ridiculous cheating problems.

Re:The damaging effects of 'boreout' at work on Sunday July 11, 2021 @12:00AM (#27798373)
This is simply not the case once you’ve been in that situation long enough. It’s pretty terrible. I would rather have lots of busywork than be sitting on my hands with nothing to do yet still have the obligation for the company.

Working on something due to lack of work during a zoom meeting is entirely different than doing something in my own time when I have zero obligation to get called out of it at any moment. This prevents Deep Work from occurring. It’s thoroughly unsatisfying, and work is simply not just “time for money”.

The shopping online etc that they’re referring to is being done out of boredom, not out of necessity. It’s a dopamine loop. Same with browsing social media or chatting online.

Please don’t dismiss people and handwave when they’re trying to discuss issues.

The word master has many usages. One specific context (master/slave) is inappropriate, but that doesn't mean every other context is unusable now.

Github changing master->main was the epitome of virtue signaling. This literally does not affect black people at all, nor does it do -anything- to help with racial inequality in the US. It's actually quite patronizing and tone-deaf to think that instead of all the things -Microsoft- could be doing to help racial inequality, they're putting in as little effort as possible.

Congrats on granting power over words to unreasonable people who ignore things like context in language and common sense.

Re:Our experience with the Fediverse, and why we left on Monday January 25, 2021 @12:36PM (#25906103)
Not every mastodon instance lets you browse their local feed if you're not registered to that instance. Now, it would be interesting if one could subscribe to multiple "local" feeds...
Re:Show HN: MDAnki – convert Markdown to Anki cards on Saturday February 22, 2020 @01:10PM (#22392365)
I was referring to the mental energy spent on busting through that leech, not anki's system.
Re:Show HN: MDAnki – convert Markdown to Anki cards on Friday February 21, 2020 @06:14PM (#22387967)
> due to the sheer exposure you're getting in the meantime.

This helps less than you'd think. Many of my leeches are due to word similarities. Sometimes I'd have an issue of erroneously swapping two similar words, and my brain would get "stuck" following that circuit. If that makes sense?

The fix that I found was suspending one or both of the words and making up a lot of sentences for them. And physically writing them.

Re:Show HN: MDAnki – convert Markdown to Anki cards on Friday February 21, 2020 @05:38PM (#22387670)
It's kind of well known that anki has some seriously bad defaults for long term studying. Not to plug myself but I've written about this at length. [0]

There are a few big issues, but the easiest one to fix is the reset interval.

When you forget a word that you're reviewing (that is, when you hit "Again"), anki resets the interval to 0%, as if it were a totally new card.

This is bad for 2 reasons. 1) A lapse is not the same as learning a completely new word. When you review a lapsed card you're just refreshing that connection that you've already made. So it's wasteful to completely reset the interval unless you've really totally forgotten the word.

2) The interval reset can be huge (going from 7 months to 1 day) so it makes it tempting to just hit "Hard" instead. I know I've done that.

The fix here is to set a more reasonable reset value like 40-60%. I use 45%.

---

The other big issue is the algorithm works differently than you would expect. I discuss this in more detail in my post, but essentially anki gives each card a modifier value. Starting at 250%. Every time you hit Again/Hard/Easy, it -- permanently -- modifies this card. This is quite unintuitive! When people grade a card, they're really grading their own memory / ability to recall. Not how hard the card itself is.

Why is this bad? Because if you hit "Hard" a lot, then you're seriously capping the interval growth rate for a word. In other words you'll see it way more often than you need to. Most people don't hit "hard", -then- "easy" once they learn it. A lot of people I know hit "hard" to be on the safe side instead of "good", purely out of habit. This picture explains why a low modifier is bad. [1]

The way I fix this is by using 2 plugins: the first makes grading buttons not modify a card's modifier, and the second one resets ALL cards to 250%. Low-Key anki goes over this in detail. [2]

However! This fix assumes a relatively homogeneous deck in terms of card difficulty. I.e. words for a language. If you're studying, say, algorithms or something where the difficulty may be heterogeneous, then you may want anki's default behavior.

[0]: https://andrewzah.com/posts/better-anki-usage-guide-2019/

[1]: https://s3.amazonaws.com/andrewzah.com/posts/017/ease-exampl...

[2]: https://massimmersionapproach.com/table-of-contents/anki/low...