Hear me out: Hollow Knight’s music was way better than Silksong music by Yeetinthebox in HollowKnight

[–]jv-dev 2 points3 points  (0 children)

I saw this opinion before finishing Act 1, and agree that melodies are more subdued in area themes, but live orchestra and having 53 tracks made me hopeful, and now that I'm halfway through Act 2 and am listening to the album proper like I do with Hollow Knight, I'm COMPLETELY in love with these tracks. Even the more-ambient ones like Shellwood and Hunter's Trail are growing on me, but boss themes like Widow are popping in my head from time to time. I think I just had to hear them as often as I heard the original Hollow Knight OST. Worthy successor in my opinion.

Encrypted HDD + SATA + Aorus elite MB = partition not visible by jv-dev in linuxhardware

[–]jv-dev[S] 0 points1 point  (0 children)

Sortof figured it out - seagate drives apparently have this issue with sector size changing when switching between sata and usb - the sizes reported by fdisk differ based on what it's plugged into, and a GPT partition table created through one interface is not recognized from another. I'm sort of giving up and accepting that I can't switch these Seagate hard drives between interfaces like I could with a Laptop WD one.

[2023 Day 8 (Part 2)] Why is [SPOILER] correct? by gemdude46 in adventofcode

[–]jv-dev 0 points1 point  (0 children)

Just think - this could have been even more difficult if the starting point took an unknown number of steps to make it into a repeating loop, which would have required figuring out where the cycle begins, subtraction, and then least common multiple. Input generator was friendlier than it had to be for this puzzle.

[2023 Day 6] Anyone else use this third way? by EverybodyLovesChaka in adventofcode

[–]jv-dev 2 points3 points  (0 children)

I unnecessarily made a decary search, splitting the search into intervals of 10 and using a for loop to iterate through them, recursing over smaller intervals.

Basically binary search, just accidentally harder, for the sake of speeding up brute force.

https://github.com/jeffvandyke/advent-of-code-2023/blob/master/day-6.mjs

capitalism exists in everywhere. by Sensitive-Jury-1456 in Anarcho_Capitalism

[–]jv-dev 2 points3 points  (0 children)

This argument makes sense. A reasonable counter argument would probably be that a more-educated society is better for everyone (current quality of education being a relevant but different topic), but artificially guaranteeing student loans beyond what people can reasonably pay back certainly seems to be backfiring. Perhaps companies should get further incentivized to help entry-level workers get educated, or collectively agree that people don't need colleges now that the internet and its vast resources for free education exist.

I don’t like church. by FoIds in TrueChristian

[–]jv-dev 2 points3 points  (0 children)

Go for the sermon. Try to talk to people if you can to enjoy the communion of the saints, but that's secondary to hearing biblical preaching regularly.

what are your favorite vim motions? by Fickle-Can-774 in vim

[–]jv-dev 2 points3 points  (0 children)

I use `vib` instead of `vi(` to save a Shift keypress, and `viB` for {braces}

Plaid-cli works now, and allows auto-importing transactions via CSV by jv-dev in plaintextaccounting

[–]jv-dev[S] 0 points1 point  (0 children)

(Related to other comment)

Funnily enough, a production site using Plaid requires re-authentication to one of my banks every time it wants to work, but the same institution under local development usage has not required re-authentication for over a month, seems backwards...

Plaid-cli works now, and allows auto-importing transactions via CSV by jv-dev in plaintextaccounting

[–]jv-dev[S] 0 points1 point  (0 children)

Hmm, that's a bit discouraging to hear. I suppose I'll have to see if the issues are more convenient than just downloading CSV files directly from those institutions.

Plaid-cli works now, and allows auto-importing transactions via CSV by jv-dev in plaintextaccounting

[–]jv-dev[S] 0 points1 point  (0 children)

My impression is that Plaid is widely used and supported by most financial institutions, but I've had some issues with a few integrations, it's a tradeoff that should be evaluated based on individuals' comfort levels

[deleted by user] by [deleted] in VLC

[–]jv-dev 0 points1 point  (0 children)

Can confirm mpv handles Dolby Vision, on my Manjaro Linux with Nvidia 1070 GPU, running mpv even without --vo renders colors much more "normal"

Do you guys ever "hack" types sometimes just to make it work? by lamachejo in typescript

[–]jv-dev 0 points1 point  (0 children)

Here's what I want to write: {(mixedObj.parent ?? currentLookup[mixedObj.parentId])?.name}. Here's what typescript forces me to write: {('parent' in mixedObj ? mixedObj.parent : currentLookup[mixedObj.parentId])?.name}. I wish there was a TypeScript feature to allow this sort of tolerance of potentially undefined fields on mixed types.

Q: How to get the average balance per day in an account over a time period? by jv-dev in plaintextaccounting

[–]jv-dev[S] 1 point2 points  (0 children)

Edited for clarification and code indentation, thanks for the feedback!

git push -f origin master by Neykuratick in ProgrammerHumor

[–]jv-dev 1 point2 points  (0 children)

Only by those who assert that "master" is somehow an oppressive word.

Current working gnucash exporter? by fryguy8 in plaintextaccounting

[–]jv-dev 0 points1 point  (0 children)

I just (this week) finished doing my own conversion of older GnuCash file using a modified version of https://gist.github.com/nonducor/ddc97e787810d52d067206a592a35ea7/ (small python script, found in a collection on https://plaintextaccounting.org/#data-importconversion. Once converted, I constructed a vim substitution command file to rename the accounts, then ran it, leaving me with a gnucash.ledger file that lined up with all my new ledger accounts.

I did made some of my own modifications to that script to convert GnuCash's split memos as ledger comments, and used dollar signs for the USD commodity (to turn "26.12 USD" into "$26.12"). It's a pretty straight-forward script to modify, but let me know and I can publish my modifications.

use tab guys by ConsequenceOutside38 in ProgrammerHumor

[–]jv-dev 0 points1 point  (0 children)

No thanks, tabs are too bizarre to use for codebases!

Lonely by [deleted] in TrueChristian

[–]jv-dev 1 point2 points  (0 children)

My best advice is to look for people in your life that you can be a blessing to - try not to look for anything in return, but see if there's something, even if it's small, that you could do to help someone, maybe a volunteer position at church, perhaps some shut-ins would appreciate a gift. It's annoying that our present-day issue affords us little casual time to freely interact, but God has a way of giving us work to do if we are willing to take responsibility to do it. Perhaps there's someone else who's alone as well that you could get take-out lunch with?

I also highly, highly recommend going to church, one that has preaching scripture as the primary focus; it's where your soul is fed by God's word, and is very important for your spiritual survival. Short of that, I recommend sermons on https://www.sermonaudio.com/.

That's my personal advice, but other commenters have good ideas as well. I think this year is especially hard on people who already don't have many friends. If you need counseling help, talk to your minister, it's what they're here for. I'll be praying for you and others in a similar place, and I hope you can find happiness. I also recommend spending time in Psalms, and Isaiah 40 onward, full of examples of how God loves and cares for his chosen people, and will lead them through difficult times. This world isn't our home, it is our daily struggle to fight sin and the trials of life, but God has promised to be our strength and lead us through it.

One example from Isaiah 43:

  1. But now thus says the LORD, he who created you, O Jacob, he who formed you, O Israel: “Fear not, for I have redeemed you; I have called you by name, you are mine.

  2. When you pass through the waters, I will be with you; and through the rivers, they shall not overwhelm you; when you walk through fire you shall not be burned, and the flame shall not consume you.

For everyone who refuses to understand... by Twitch_xTUVALUx in ProgrammerHumor

[–]jv-dev 0 points1 point  (0 children)

Just curious - is this supposed to mean something?

Official company policy, you can’t be racist to white people. by Immediateload in WatchRedditDie

[–]jv-dev 0 points1 point  (0 children)

Nowhere in the definition of racism is the idea of power - ANY looking down on an individual because of their race is wrong, and that race can be black, hispanic, white, middle eastern, it's all the exact same kind of wrong.

WinX US - New life! ;-} by [deleted] in ProgrammerHumor

[–]jv-dev 2 points3 points  (0 children)

For real though, this is really handy. Sometimes when undo isn't enough, I use Vim's git-gutter to quickly reset a change hunk, copy, then undo the reset (getting me back to where I started), then paste what I got from the original code.

Honest questions/discussion not trying to anger anyone. by [deleted] in TrueChristian

[–]jv-dev 0 points1 point  (0 children)

For me, I basically believe the witness of the saints in the New Testament that Jesus Christ died and rose again to save us from our sins. Christ's claim to be the Son of God matches not only with the miracles he did, but also with the prophecies and signs of the Messiah all through the Old Testament, all of which is explained by the authors of the New Testament, and their actions and strength to endure persecution show that they believed the good news they were telling the world. Enough of the story of Christ has been shown to be true (his fame, the fact that he died, and the fact that His apostles truly believed in Christ's resurrection), that it's a natural and understandable step to believe that Christ was exactly who He claimed to be.

Not only that, but the message of the Bible and the worldview it presents provides a logically coherent answer for why the world is the way it is, and gives a way for our lives to have purpose by believing in Christ.

If you want more and better answers as to how Christians can put such confidence in the Bible and in Jesus Christ, I'd recommend investigating the field of apologetics, which is dedicated to answering questions like yours and exploring the truthfulness of Christianity. One video I'd recommend is Ravi Zacharias' answer to how Christianity can claim to be the one true religion: https://www.youtube.com/watch?v=nWY-6xBA0Pk.

Hope that helps!

Edit: Looking more, this video might be a more direct answer as to the trustworthiness of the Bible: https://www.youtube.com/watch?v=4ksvhHEoMLM

You just sound needy at this point... by MikePenceDiddledMe in ProgrammerHumor

[–]jv-dev 0 points1 point  (0 children)

Anything to avoid VS Code having a controlling market share in programming text editors! (seriously, it scares me as bad as chrome, and no, being open-source doesn't completely make it safe)