smores's recent activity

  1. Comment on I am moving to New Jersey! Anything I should know? in ~life

    smores
    Link
    Congrats on the job, and welcome to New Jersey! I grew up in and now again live in central Jersey. I don't have much insight into the towns directly around New Brunswick, though as other folks...

    Congrats on the job, and welcome to New Jersey!

    I grew up in and now again live in central Jersey. I don't have much insight into the towns directly around New Brunswick, though as other folks have mentioned, New Brunswick itself is very much a college town and is not necessarily where you would want to actually live full time. Metuchen and Edison both have train stations on the Northeast Corridor line, which goes through New Brunswick and up to the Newark airport and New York City as well.

    There are loads of fun restaurants and activities in New Brunswick. though! My wife and I just did a Turkish lamp-making class up there the other week (I'll have to ask her what the place was called), and our favorite Ethiopian restaurant is up there too (Dashen Ethiopian Cuisine).

    If you're into hiking, you'll probably enjoy the Delaware Water Gap. You're also not far from the Jersey Shore; there are some great beach towns like Asbury Park that are pretty close to New Brunswick.

    Feel free to ask if you have any other questions, either here or via DM!

    1 vote
  2. Comment on Why are Americans fighting over no-fault divorce? Maybe they can’t agree what marriage is for. in ~life

    smores
    Link Parent
    It’s true that many legal contracts have explicit language in them that declare penalties for violations. But that’s not so much society agreeing on those penalties as it is the two parties who...

    It’s true that many legal contracts have explicit language in them that declare penalties for violations. But that’s not so much society agreeing on those penalties as it is the two parties who are entering into a contract together agreeing on them. Even in this case, the government will not force you to remain in your lease; even if there are penalties, you are allowed to break the contract.

    There’s no literal legal contract signed between two people getting married in the US, though. You have to sign your marriage license application, in which you are confirming that you didn’t lie on the application, and you have to sign your marriage certificate, in which you are confirming that the marriage actually happened and you agree to it. There are no terms and conditions on these (at least, there weren’t on mine!), the they don’t represent an agreement between two individuals, but an agreement with the state.

    Family law is complicated because of property ownership and parental rights, neither of which is intrinsically tied to marriage. If two people get married, but never pool their resources (not uncommon!) and don’t have children, divorce seems like it ought to be a simple matter, legally, of informing the state that the two are no longer married.

    1 vote
  3. Comment on Why are Americans fighting over no-fault divorce? Maybe they can’t agree what marriage is for. in ~life

    smores
    Link
    I feel like this article makes a leap in logic that I'm struggling to follow. It defines the key principle of no-fault divorce as "the ability to divorce regardless of what the other party wants",...

    I feel like this article makes a leap in logic that I'm struggling to follow. It defines the key principle of no-fault divorce as "the ability to divorce regardless of what the other party wants", but then spends the bulk of the article discussing very specifically whether love, specifically, is a "valid" reason to marry, or lack thereof a "valid" reason to divorce.

    It seems like this author is sort of having a separate conversation, barely connected to the primary concern of the importance of no-fault divorce. You can agree that marriage can or even should be transactional and still be in favor of no-fault divorce; if one member of a transactional partnership feels that they are no longer receiving their expected value from that partnership, shouldn't they be able to end their participation in it? You can agree instead that marriage is a declaration of love, still be in love with your spouse, and yet wish to end your marriage for literally hundreds of reasons that you don't think you should have to prove to a judge. The question of whether marriages are "for love" feels almost wholly orthogonal to whether divorces should require state-sanctioned justification.

    The important conversation here is the one that the author alludes to and then drops: "the ability to divorce regardless of what the other party wants", and rest honestly feels like sort of a nothing-burger of a thought.

    31 votes
  4. Comment on Redis adopts dual source-available licensing in ~tech

    smores
    Link Parent
    I could be missing something (I didn’t actually attempt to read the new licenses, for one thing), but it seems like not only are they still making all source code available, anyone is still free...

    I could be missing something (I didn’t actually attempt to read the new licenses, for one thing), but it seems like not only are they still making all source code available, anyone is still free to modify that source code for their own use as they see fit. The only change seems to be that you can no longer use Redis source code to sell a product that directly competes with Redis’ cloud offerings.

    I generally agree with you that the world would be a better place if all or almost all software was open source, but this feels like a pretty reasonable compromise for the engineers that maintain this software to be compensated for the truly immense value they’ve provided to the entire world.

    16 votes
  5. Comment on how do you manage your personal ssh keys? in ~comp

    smores
    Link Parent
    I also hopped in here to mention 1Password! I’ve started using it for SSH keys lately and it rocks. Very smooth, protected with built in biometrics, and available on all of my devices. Plus, you...

    I also hopped in here to mention 1Password! I’ve started using it for SSH keys lately and it rocks. Very smooth, protected with built in biometrics, and available on all of my devices. Plus, you can use SSH keys to sign git commits now!

    6 votes
  6. Comment on [SOLVED] Debugging a slow connection between local devices in only one direction in ~tech

    smores
    Link Parent
    I think you're like... right on the money with a driver bug for my NIC, or something in that genre. Literally minutes before you posted this, I switched to the primary NIC for my motherboard, and...

    I think you're like... right on the money with a driver bug for my NIC, or something in that genre. Literally minutes before you posted this, I switched to the primary NIC for my motherboard, and that fixed it! No idea what the heck was going on, but I think I'm ok with this outcome hahaha

    3 votes
  7. Comment on [SOLVED] Debugging a slow connection between local devices in only one direction in ~tech

    smores
    Link Parent
    Thank you for hopping in! This is a longstanding problem, and the firmware was just updated like five days ago, so it would have to be a longstanding firmware bug (which I suppose is possible!)....

    Thank you for hopping in!

    This is a longstanding problem, and the firmware was just updated like five days ago, so it would have to be a longstanding firmware bug (which I suppose is possible!). It would be weird if the bug only affected transfers to one specific device, but I suppose it could be a confluence of things.

    The laptops can upload files to other wired and wireless devices on the network at the expected speeds.

    All of the devices are on the same IP subnet for sure. I'm going to try to disable the guest network just in case, but none of the devices are on that.

  8. Comment on [SOLVED] Debugging a slow connection between local devices in only one direction in ~tech

    smores
    Link Parent
    Hm, ok. I SSH'ed into the AP and ran tcpdump src <laptop> and dst <server A>. Then I ran an iperf test (basically the same results as above). For comparison, I did the same with server B. I don't...

    Hm, ok. I SSH'ed into the AP and ran tcpdump src <laptop> and dst <server A>. Then I ran an iperf test (basically the same results as above). For comparison, I did the same with server B. I don't really see any distinction between the two outputs, but I also am not totally sure what I should be looking for.

    Another thing I did notice is that the "Congestion window" for server A is tiny compared to server B. On the order of 5 KBytes or so, compared to 1.5 MBytes. It's not clear to me why that would be, or whether it's relevant. When I run an iperf from server B to server A, the bitrate is about 950 Mb/s, and the Cwnd is like 340 Kbytes.

    1 vote
  9. Comment on [SOLVED] Debugging a slow connection between local devices in only one direction in ~tech

    smores
    Link Parent
    Ah... I'm not, really, but if you have any tips I would definitely give it a shot. One relevant thing (@first-must-burn in case this triggers anything for you) is that I just noticed that there...

    Ah... I'm not, really, but if you have any tips I would definitely give it a shot.

    One relevant thing (@first-must-burn in case this triggers anything for you) is that I just noticed that there are tons of packets dropped on the slow transfers. Here's a sample iperf run:

    Connecting to host 192.168.1.73, port 9869
    [  5] local 192.168.1.146 port 53620 connected to 192.168.1.73 port 9869
    [ ID] Interval           Transfer     Bitrate         Retr  Cwnd
    [  5]   0.00-1.00   sec  1.25 MBytes  10.5 Mbits/sec  124   4.24 KBytes       
    [  5]   1.00-2.00   sec  1.50 MBytes  12.6 Mbits/sec  134   1.41 KBytes       
    [  5]   2.00-3.00   sec  1.62 MBytes  13.6 Mbits/sec  126   5.66 KBytes       
    [  5]   3.00-4.00   sec  1.12 MBytes  9.44 Mbits/sec  138   1.41 KBytes       
    [  5]   4.00-5.00   sec  1.62 MBytes  13.6 Mbits/sec  125   19.8 KBytes       
    [  5]   5.00-6.00   sec  1.25 MBytes  10.5 Mbits/sec  137   4.24 KBytes
    

    If there's any way to determine why or where those packets get lost, that seems like it'd be very relevant??

    2 votes
  10. Comment on [SOLVED] Debugging a slow connection between local devices in only one direction in ~tech

    smores
    (edited )
    Link Parent
    Thanks so much. Some updates: Gave this a shot, same issues no matter which port I'm using. It basically can't be the cable, because server B can write to server A with no issue! Sorry for the...

    Thanks so much. Some updates:

    • Swap the cables and ports connecting the servers to the switch to see if its the cable or the port on the switch

    Gave this a shot, same issues no matter which port I'm using. It basically can't be the cable, because server B can write to server A with no issue!

    • Test speeds between server B and server A (I wasn't sure if that was included in your "all devices" comment about server A). I would do that to see if the wireless is involved.

    Sorry for the lack of clarity: yes, I can write from server B to server A with no issue (900 Mb/s). It does seem somehow specific to wireless devices.

    • Take the laptops off the wireless network and plug them into the switch, then rerun your speed tests.

    This is a good thought; I don't know if I have the necessary dongles for this (just tried daisy chaining a USB-C -> Thunderbolt and Thunderbolt -> Ethernet together to no avail) but I will keep hunting around and give it a shot if I can.

    • Take the UAPs offline one at a time to see if either of them contributes to the problem.

    It doesn't matter which UAP the wireless devices are connected to, same issue.

    • Try the wireless speed tests from different physical locations to see if interference is at play.

    It doesn't seem to matter. Also, I get exactly the expected speeds when wirelessly connecting to server B! So I don't think it's anything about the wireless connection itself.

    • if you have a spare or USB Ethernet adapter, try using it on server A to see if it's a bad port on the server.

    I think this is ruled out by successful transfers from server B to server A

    I really appreciate all of the tips, going to keep trying to find a way to connect the laptops with Ethernet!

    Update:

    Got my Macbook connected with Ethernet. It can transfer perfectly fine; 940 Mb/s on average. As soon as it's back on WiFi, down to 11 Mb/s!

    2 votes
  11. Comment on [SOLVED] Debugging a slow connection between local devices in only one direction in ~tech

    smores
    Link Parent
    This occurs when running iperf3 tests and scp'ing to /dev/null, too, so it's not related to the storage medium (that is a good a thought though and I also spent a few hours ruling that out initially!)

    This occurs when running iperf3 tests and scp'ing to /dev/null, too, so it's not related to the storage medium (that is a good a thought though and I also spent a few hours ruling that out initially!)

    1 vote
  12. [SOLVED] Debugging a slow connection between local devices in only one direction

    [SOLVED] ... well, this is in many ways very unsatisfying, because I have no idea why this worked, but I seem to have fixed it. Server A has two Ethernet ports, an Intel I219V and a Killer E3100....

    [SOLVED]

    ... well, this is in many ways very unsatisfying, because I have no idea why this worked, but I seem to have fixed it.

    Server A has two Ethernet ports, an Intel I219V and a Killer E3100. Several months ago, when trying to debug sporadic btrfs errors (I had my RAM installed incorrectly!), I had disabled some unused devices in BIOS, including the Killer Ethernet port.

    Since I had no other ideas, and it seemed like this was somehow specific to this server, I just re-enabled the Killer port and switched the Ethernet cable to that port. I'm now getting 300 Mb/s transfers from my wireless devices to my server, exactly as expected.

    I'm gonna like... go for a walk or something. Thank you so much to everyone who helped me rule out all of the very many things this could have been! I love this place, you all are so kind and supportive.

    Original:

    I'm trying to debug a perplexing networking situation, and I could use some guidance if anyone has any.

    Here's my setup:

    • UniFi Security Gateway
    • UniFi Switch Lite
    • Two UAPs
    • Two servers, A and B, connected to the USW-Lite with GbE
    • Many wireless devices, connected to the UAPs

    Here's what I'm experiencing:

    • Network transfers from the wireless devices to server A (as measured by iperf3 tests) are very slow. Consistently between 10 and 20 Mb/s.
    • Network transfers from server A to all devices are expected speeds. 900-1000 Mb/s to server B, 350-ish Mb/s to wireless devices.
    • Network transfers between server B and all devices (in both directions!) are expected speeds.
    • Network transfers from the USG to server A also seem slow, which is odd. Only about 60 MB/s.
    • Network transfers from the USG to server B and the wireless devices is about 300 MB/s

    So, specifically network transfers from any wireless device to server A are slow, and no other connections have any issues that I can see.

    Some potentially relevant details:

    • Server A is running Unraid
    • Server B is running Ubuntu
    • Wireless devices include a Fedora laptop, an iPhone, and a Macbook Pro
    • UniFi configuration is pretty straightforward. I have a few ports forwarded, a guest WiFi network (that none of these devices are on), a single default VLAN, and two simple "Allow LAN" firewall rules for Wireguard on the USG. No other firewall or routing config that I'm aware of.

    If anyone has any thoughts at all on how to continue debugging, I would be immensely grateful! I suppose the next step would be to try to determine whether it's the networking equipment or the server itself that is responsible for the throttling, but I'm not sure how best to do that.

    15 votes
  13. Comment on Lil Dicky - Harrison Ave (2024) in ~music

    smores
    Link Parent
    Lil Dicky is the stage name of David Burd. He’s been a rapper publicly since like 2013. Also, separately, he produced a loosely autobiographical TV show, DAVE. David Burd plays a fictionalized...

    Lil Dicky is the stage name of David Burd. He’s been a rapper publicly since like 2013.

    Also, separately, he produced a loosely autobiographical TV show, DAVE. David Burd plays a fictionalized version of himself in the show, as does GaTa (who is Burd’s real life friend and hype man, and himself a rapper).

    He’s now actually releasing an album called Penith, which is the name of the album that his character created in DAVE. The episode of the show that you’re referring to, that this song is about, is about a real event in Burd’s life, and he wrote Harrison Ave about it, and then wrote the episode about it/the song.

    4 votes
  14. Comment on Why the hovercraft's time might have finally arrived in ~transport

    smores
    Link Parent
    Pull quotes also drive me nuts. In their best usage, I’ve seen them used as essentially section headers, which only works when the text can be logically broken up into narrative sections, _and _...

    Pull quotes also drive me nuts. In their best usage, I’ve seen them used as essentially section headers, which only works when the text can be logically broken up into narrative sections, _and _ the author puts a considerable amount of time into choosing a quote that meaningfully represents the section.

    I actually had to implement pull quotes at the New York Times (at the time I’m pretty sure they were only used for the magazine, though, were just used the same tool for producing the magazine and the paper), and I remember being pretty disappointed by it, but they also seemed to have a power different understanding of what pull quotes were for. The pull quote block we implemented was specifically for pulling focus to a quote from a person, and included the author’s name, which I suspect could create a different utility than how they’re commonly used. I can’t even remember the last time I read a piece and didn’t find them distracting; I often find myself actively skipping them/avoiding reading them so that they don’t break my flow.

    1 vote
  15. Comment on I made an open-source, self-hostable synced narration platform for ebooks in ~books

    smores
    Link Parent
    Oh wow! Yeah I'm familiar with syncabook, it's a cool project! I hope Storyteller can make your life a bit simpler, though :)

    Oh wow! Yeah I'm familiar with syncabook, it's a cool project! I hope Storyteller can make your life a bit simpler, though :)

    1 vote
  16. Comment on I made an open-source, self-hostable synced narration platform for ebooks in ~books

    smores
    Link Parent
    Thank you!! You should be able to run this with a cloud provider for sure, and it should work with AWS ECS (I'm not super familiar with ECS but I've used analogous services in GCP and...

    Thank you!!

    You should be able to run this with a cloud provider for sure, and it should work with AWS ECS (I'm not super familiar with ECS but I've used analogous services in GCP and DigitalOcean).

    • You'll need a data volume for to bind to the /data path on the API container. It doesn't need to be massive or anything, but expect 1 to 2 GB per book (which, I guess, depending on the size of your library, could actually end up pretty massive)
    • Make sure that your environment variables are sensible. This will hopefully get simpler in the next release, but for now:
      • On the API, you need to set STORYTELLER_ALLOWED_ORIGINS to the url that you will be accessing the web interface from in the browser.
      • On the web service, you need to set STORYTELLER_API_HOST to a url that both the bockend (i.e. the web container) and the frontend (i.e. your browser) can access. If that's challenging/not an option, you can use the PUBLIC_STORYTELLER_API_HOST variable to specify an alternate url to access the API from the browser
    • You'll want a somewhat beefy machine for the API; the transcription and syncing processes are very CPU intensive and can take a while to complete

    If your plan is to expose this to the public internet (that should be fine!), make sure you're using HTTPS only!

    2 votes
  17. Comment on I made an open-source, self-hostable synced narration platform for ebooks in ~books

    smores
    Link Parent
    Please let me know if you do, and don't hesitate to reach out if you run into any issues!

    Please let me know if you do, and don't hesitate to reach out if you run into any issues!

    1 vote
  18. Comment on I made an open-source, self-hostable synced narration platform for ebooks in ~books

    smores
    Link Parent
    Thank you! You and me both, for sure. Honestly, almost every part of this has been... pretty challenging! The one piece that I was most comfortable with, building the web UI for administrating the...

    Thank you! You and me both, for sure.

    Honestly, almost every part of this has been... pretty challenging! The one piece that I was most comfortable with, building the web UI for administrating the server, was also by far the smallest and simplest part of the project.

    The forced alignment was months and months and months of tweaking and testing and tweaking and testing. I wrote up a description of the algorithm I ended up with here.

    Building the reader was also very challenging, though now that it's working it's incredibly rewarding. I had to do a lot of close readings of the EPUB spec and even more truly chaotic micromanagement of mobile WebViews in order to get the reader experience exactly how I wanted it, and there's honestly still more to do! This is also my first mobile app, though using React Native helped a lot, since I'm very comfortable with React.

    4 votes
  19. Comment on I made an open-source, self-hostable synced narration platform for ebooks in ~books

    smores
    Link Parent
    All the more reason to get that out the door, then!

    All the more reason to get that out the door, then!

    2 votes
  20. Comment on I made an open-source, self-hostable synced narration platform for ebooks in ~books

    smores
    Link Parent
    I hope it can be something useful for you! If you open a book and start playing from the mini-player, it'll highlight each sentence as it's read aloud. If you're not already familiar with self...

    I hope it can be something useful for you! If you open a book and start playing from the mini-player, it'll highlight each sentence as it's read aloud. If you're not already familiar with self hosting, the setup might be a little bit overwhelming; please don't hesitate to reach out if you have any questions!

    3 votes