HNHacker News
TopNewBestAskShowJobs

vonseel

1,130 karma · joined April 18, 2013

submissionscomments
vonseel··on Samba on Linux the Easy Way
Well, found some logging indicating it was an issue with op-locks, so I turned those off on the server and hoping that helps
vonseel··on Samba on Linux the Easy Way
Idk, I've been using Linux and Mac since the early 00s, and I've recently been running into a bunch of mysterious issues accessing SMB shares from a Windows 11 server.

I have docker clients on the linux boxes that use the samba share for storage. Eventually I figured out that didn't work well with sqlite files, so I mapped those to local folders instead. But there are still issues with permissions when the linux clients reboot. I usually have to shut down docker, unmount the share, and re-mount with `sudo mount -a`.

Fwiw, this is my fstab line below. I think the network is up when the fstab gets mounted, because there are files visible in the /media/data tree - it just sometimes needs to be unmounted and remounted for everything to work correctly. Haven't found anything in the logs.

    //server/data /media/data cifs 
 nofail,rw,vers=3.0,credentials=/path/to/smbcredentials,uid=1000,gid=1000
I don't know as much about Windows, and the Windows server is not mine, otherwise I would get rid of that junk.
vonseel··on Use TouchID to Authenticate Sudo on macOS
More details? Is that an included auth mechanism with MacBooks or something you can install from GitHub?
vonseel··on Use TouchID to Authenticate Sudo on macOS
That depends on how long your password is I guess. I much prefer Touch ID personally it probably takes about the same time as typing my password but there’s no chance of a mistake or typo. It’s pretty seamless in my experience.
vonseel··on IFixit: Self Repair Program makes M1 MacBooks less repairable
Wow, wasn’t expecting downvotes on something that seemed non-controversial like this.

I wonder am I getting downvoted because I’m a klutz and have broken a bunch of iPhones, or is it because I didn’t have a negative experience with AppleCare?

vonseel··on Rust – A hard decision pays off
> Worst part of writing it in python was simple misspellings in the last stages of the computation breaking things.

I'm not sure I understand. Was the typo in something like a dict key? Or did you add two of the wrong variables together? How did another language protect you from this? I fail to see how you couldn't also add two of the wrong variables (with the correct type) together in a different language.

vonseel··on Rust – A hard decision pays off
>for small things I am already faster in rust than with my decade of python.

That seems like a bold claim? I've also been writing Python for a decade and it takes no time at all to whip up a small script. I have no doubts the Rust version will be much faster, but stepping into a new language would take me at least longer to write the script than an equivalent version in Python. Plus there's all the other stuff to learn.

Once you get past learning the basic syntax (creating variables, loop structure, assignment/etc.), you still have to pick up new things, like executing your work with parallelism, downloading files, parsing and dumping JSON, connecting to databases... Each new topic introduces a bunch of stuff that takes a little bit to figure out. I guess you could get through most of it in a few hours though if you had the right problem to work on.

But still, there's the muscle memory aspect. Can a new language really sink in so fast that it's faster to use than Python after 10 years of writing Python?

vonseel··on IFixit: Self Repair Program makes M1 MacBooks less repairable
My 2020 (purchased Sept. 2021) M1 MBA is at 100% health with 61 cycles. Rated for 1000 cycles.

  Health Information:
  Cycle Count: 61
  Condition: Normal
  Maximum Capacity: 100%
I use it pretty regularly several hours per day in 2022, maybe didn't use it as much in 2021. But still, seems to be holding up very well.
vonseel··on IFixit: Self Repair Program makes M1 MacBooks less repairable
Applecare screen replacement is a breeze, if you live near an Apple store. Walk into scheduled appointment, hand them your phone and sign your name on their little iPad granting them the permission to repair or replace your device and dealing with payment, and they tell you to come back an hour or two later and pick up your device. I always buy Applecare and have had to replace each of my last iPhones at least once this way, but it's really a no-biggie because it only takes maybe an hour total to drop it off and pick it up, including driving time, once the appointment is scheduled.
vonseel··on The downfall of smart TVs: From promises of seamless viewing to ad tool
What's the advantage over Plex then? I've installed Kodi before but it didn't seem nearly as polished as Plex. Plex is doing away with plugins but I've never needed those anyways for Movie/TV content.
vonseel··on The downfall of smart TVs: From promises of seamless viewing to ad tool
Yea I've never seen a wait period after the official release either. This guy must be confused.

Torrenting is great but TBH I'm not going to waste my time setting up Sonarr/Radarr and maintaining tracker accounts to torrent stuff that I can watch through services I already have access to.

vonseel··on The downfall of smart TVs: From promises of seamless viewing to ad tool
I don't remember ever clicking through an ad on Youtube or similar, so I also have to wonder if ads really work so well. I guess I'm not the average ad-viewer since I doubt I've ever purchased anything that I didn't already need or want because I saw an ad.
vonseel··on The downfall of smart TVs: From promises of seamless viewing to ad tool
Copying from another comment, in case you didn't see:

With tvOS 15.4, "Captive Wi-Fi network support on tvOS allows you to use your iPhone or iPad to connect your Apple TV to networks that need additional sign-in steps, like at hotels or dorms."

https://developer.apple.com/documentation/tvos-release-notes...

vonseel··on The downfall of smart TVs: From promises of seamless viewing to ad tool
I interviewed with them years ago. The technological challenges seemed cool but ethically I wouldn't want to work on tracking what people are watching.
vonseel··on The downfall of smart TVs: From promises of seamless viewing to ad tool
Maybe you're just not TV people. That's OK. But plenty of people on the other side would say the Golden Age of TV is still ongoing. There are more shows and productions being made than ever, maybe that's led to an abundance of mediocre content, but there have been many great shows made in the last 10 years.

Try Kingdom on Peacock.

vonseel··on The downfall of smart TVs: From promises of seamless viewing to ad tool
How is your TV a "smart TV" if it doesn't connect to networks?
vonseel··on The downfall of smart TVs: From promises of seamless viewing to ad tool
Does kodi / librelec have decent Netflix/Prime/HBO Max/Apple TV+ apps? I was under the impression they don't really support the big streaming apps and aren't really of use outside of watching torrented content.
vonseel··on LackRack: IKEA's cheapest table is perfectly sized to rackmount computers (2020)
I hope that sink never developed a leak…
vonseel··on Singing: The key to a long life (2008)
Agree 100%, and I’ve recorded hundreds of songs myself. I’m not against singing, but it’s not something I generally walk around doing anymore (in private) unless I’m going through a heavy music phase. And I would never do it in public, even if you’re good at it that’s incredibly obnoxious and annoying.
vonseel··on SQLite is not a toy database (2021)
Isn't SMB not recommended because it can lead to corrupted database? Or is there a setting I disabled somewhere in my smbd.conf that I should re-enable (oplocks maybe?? )?
vonseel··on SQLite is not a toy database (2021)
Right, and if a project is small enough to only need a small app server, it's probably small enough to just run the DB on the same server in the background.
vonseel··on SQLite is not a toy database (2021)
Moreover, many people are using ORMs which are going to hide the differences in a simple datetime query like that behind their query compilers.
vonseel··on MacBook Air M1 screen crack for no apparent reason
There's an ongoing joke in the military, MIL-SPEC just means it's a piece of crap that's going to break pretty soon. From an engineering point of view, I'd like to believe that using all MIL-SPEC components which are rated to last longer and in harsher environments would amount to a more reliable product. But maybe a product is more than the sum of its parts, and it's possible a company can build a more reliable product despite not using MIL-SPEC components or obtaining that certification. Just something to think about.
vonseel··on Hydroponics: Growing an appreciation for plants
Clay balls, air pump, air stones, tote with water in it one or more holes drilled into the top to hold the baskets with your medium (clay balls). That's what people call DWC.

You can run into issues with water temperature which are mitigated by using something like hydroguard (beneficial bacteria) or running a setup with a water cooler (which requires more pipes and pumps and stuff).

Obviously since your plants are no longer growing in soil, which holds nutrients for some time and doesn't need constant fertilization, you now have to mix nutrients into your water solution, along with pH adjustments as needed depending on what you are growing.

It's not that complex and can be really, really fun to figure out.

I hear letting the plants dry out fully between waterings helps get rid of fungus gnats. Let them dry until the pot is obviously super dry when you pick up the plant.

vonseel··on Software engineering books
Same, also isort. I don’t think about it anymore unless for some reason my file watcher isn’t running.
vonseel··on The unlikely odds of making it big on TikTok
I wonder how the app determines what users should see a video.

If someone post a clip playing guitar and singing for example, would it determine this is a performance, and it should show it to cohorts who have liked viewing performances in the past?

Or would the AI model work more like… show (unknown type) clip to random people, identify similarities in the people who like or dislike the video based on those user’s viewing habits and then try to identify the video type based on that knowledge? I guess the second method would be very inefficient unless combined with some feature extraction and metadata / tagging from the source.

Not an ML person, just a curious dev.

vonseel··on The unlikely odds of making it big on TikTok
Possibly. But users aren’t likely to switch unless the content creators leave, and the content creators will stay if they have more views there than on Instagram / YouTube / etc. (actually, they probably just post the same videos to all the platforms, to maximize exposure at almost no cost).

People always say X network is going to go the way of MySpace, but when’s the last time that happened? I wouldn’t say any of FB, Twitter, Snap, Instagram have died off the way MySpace did. Certain age groups may have migrated to other platforms, but these networks are so ingrained and established that millions of people can leave and it doesn’t matter.

There’s still a huge population using all of the networks and unless a new app provides some new unique feature like Snapchat and TikTok did when people first started using them, I don’t see anything popping up to replace them.

vonseel··on Programming languages endorsed for server-side use at Meta
Those were very good points and def. introduced a new way of thinking about it! I will check out the links, thanks!
vonseel··on How to create a Python package in 2022
Jeez, I skimmed the article, and saw what I assume to be a comprehensive but basic primer on modern packaging, like you say. But I also inferred that the author is probably a newer programmer, with only a few years of experience. He's learning about tools and best practices in an accessible language and having fun sharing knowledge through his blog.

The sentiment behind your comments is shared, but I don't see the need to sarcastically rant about it and rail all the suggestions OP made.

If anything, I'm surprised someone with more experience didn't see the post for what it is, and attacking someone's post like this just shows immaturity when you could have easily taken those opinions and formed a constructive argument or given good advice.

vonseel··on Programming languages endorsed for server-side use at Meta
Sure, I wasn't really implying that Go is more performant than Rust, but that Go is a better choice where performance is important, but not so important that you'd forgo the simplicity of Go for Rust's more complex development style (borrow checker, etc?).

I'd really love to get into Rust (and Go, tbh) but haven't needed the performance when I'm working on personal stuff and it's generally 1000x faster for me to jump in Python and write a quick script, using threading or asyncio when I need more perf and my program is IO-limited.

← PreviousPage 3 of 27Next →