This is a thread for random discussions that gets posted everyday at 5am central.
Tell us what you're doing today, ask questions, or vent about your life. Whatever you want, let it rip!
Part of the recent latency issues were caused by me grabbing the current user several times from the database unnecessarily on the path of every request for signed in users.
reply
10 sats \ 1 reply \ @sam 7 May 2022
Don't feel bad. I recently worked on a website that would retrieve data exclusively from Redis. The problem was, whoever wrote the thought that Redis calls were free. It would make thousands of Redis calls in a single request... for the same data.
reply
Lol redis is so good it’s always abused. Did you guys end up pipelining the requests?
… in this case I was grabbing the user 3 times, thinking that because it’s a primary key lookup it’d be fast, but it was ~30ms in some cases. Probably because Postgres’ cache is otherwise full or getting invalidated.
reply
Optimization always feels good :)
reply
When stacker news subs like subreddits?
reply
Soon™️
Which subs would you want to see?
I was reading through Reddit's timeline the other day and it looks like they started with /r/science
reply
With subreddits, does the front page aggregate from subs as well, or does the front page stay for bitcoin-related? If it aggregates then I suppose the bitcoin needs to become a sub them. What would it be, /~bitcoin/ ?
reply
It'll probably aggregate/merge in eventually, but it'd start out segregated for simplicity.
reply
why do you ask? let users create them :) i mean they already create their own user
reply
10 sats \ 0 replies \ @a 7 May 2022
I like the idea of starting with r/science
reply
Here are a few suggestions:
  • Privacy
  • Liberty
  • Self Hosting
  • Self Improvement
  • Programming
  • Food
  • Memes
  • Self sufficiency/homesteading
reply
History Books
reply
Cool! Just hope we can have some more topics other than BTC.
personally I'd like r/investing or r/stocks, r/conspiracy r/technology r/programming r/linux, but also some esoterics like r/selfimprovement or r/meditation lol...
I don't know about you guys but I became more bullish in a bear market, reason being I get to stack cheap corn...
reply
Macca’s!
reply
@k00b you should remove or find another way to distribute sats from jobs posting. I know that some users are here just to "milk" those sats for "passive income" shit. I am sure that wasn't your intention to create this precedent.
reply
Definitely don’t want milkers. I’m going to be messing with the algorithms soon and hopefully I can figure out how to mostly reward generous users producing good content.
reply
Reward also you those that are tipping more. Then create some kind of circular rebalancing. I saw many that are tipping quite a lot here. I tip also but not so much as others. Maybe you can come up with an algorithm.
reply
FWIW getting the daily reward is what made me tip more sats per post recently...
reply
I’ll try
reply
Who else learned a bunch of positive random stuff because of the BIP-119 drama?
I learned yesterday that BIP's are not assigned sequential numbers (even though I've seen the numbers jump around, I never really paid attention).
reply
34 sats \ 6 replies \ @a 6 May 2022
What is the SN community's "bot defense" strategy? Can we detect or defend against the inflow of bots onto this platform as it gets more popular and lucrative?
Or should we welcome bots with open arms, value for value? May the best bot win?
reply
Well, the main protection is monetary cost of making a comment or post. And after that the algorithm sorts things by popularity. Isn't that enough?
reply
23 sats \ 4 replies \ @a 6 May 2022
what if a bot could earn more sats on SN than it costs to post, it would still be making a profit
reply
then it would be a good bot
reply
That means that it made good content that people enjoyed, wouldn't it?
reply
24 sats \ 1 reply \ @a 6 May 2022
So good bots are good, bad bots are bad
reply
Bots that behave exactly like humans are hard to prevent anyways
reply
I've now seen a couple Link Posts where the link was an .onion address. Example:
And then this bizarre one (which is, apparently, SN's LN node address):
So, my question is ... should an .onion address be valid input for a Link Post on SN?
reply
should an .onion address be valid input for a Link Post on SN?
What? Why not?
reply
There is a value in people learning how to use Tor... So maybe onion links should have a little question mark button in the detailed view that would explain what to do?
reply
Wait... in 2022 are still people that don't use Tor?
reply