Lurker News
What are you working on? Any new ideas that you're thinking about?

Comments (996) 601 threads

Earlier comments
kazinator#
On the FOSS front, I've been doing some minor things in TXR Lisp land.

Here is one:
When the random/rand functions are called with small moduli, well under 32 bits wide, they still draw a 32 bit word from the PRNG. I fixed that. Now the random state has a 32 bit shift register which it can load from the PRNG and take bits from it (in batches of 2, 4, 8 or 16).
There is a way to do this without any additional state other than that 32 bit word to indicate that the register has run out of bits.
We pretend that the register is 33 bits wide, giving it an indicator high bit that is always 1. Thus whenever the value drops to 1 or 0, it has to be reloaded. We cannot fit that indicator bit into the register, so what we do is: when we are reloading it with a fresh value, we immediately take bits we need from that value, shift it right, which creates the space for the bit. We then mask the bit in the right spot, depending on the shift size.
I worked on enhancing brace expansion in the glob* function. The regularglob* function has brace expansion if it is provided by the POSIX C library one, but the extended glob* has its own. I added numeric and string range expansion to it. It's better than the corresponding features in bash, because you can use more than one character, as in {AA..ZZ}. Also, if you use leading zeros in numeric ranges you get leading zeros in the output, as in {000..999}. The step sizes are supported.
Inspired by the step sizes in brace expansion, I added the same to range iteration:

  2> [map cons 0..10..2 "a".."z"..3]
  ((0 . "a") (2 . "d") (4 . "g") (6 . "j") (8 . "m"))
... and other stuff. There are a number of items remaining on the TODO list marked for next release.
jweatherby1 reply#
Very much WIP: I'm working on an alternative to subscriptions for online publications. Instead of subscribing to entire publications / blogs, publishers would register their publication on this network and configure thresholds and pricing. Add a bit of code to the site and a paywall will show up, allowing readers to pay for individual articles. The prices would be minimal, amounting to less than a dollar in most cases. i.e. reading articles using micro-transactions

I know it's been tried before, but I thought I'd attack it with a few different angles - web based, no chrome extension, and thresholds to help verify the article is worth it.
You can see the proof-of-concept here: https://paperwall.io/

vingerjas#
I think it's a great idea. Feel free to email me if you're interested in feedback.
vibrane#
ever feel buried in applicants and wasting time on interviews that lead nowhere?i’m building an AI tool to help you instantly screen candidates so you only spend time on the best ones (and don’t miss out on great hires while stuck interviewing the wrong ones).

if that hits home, i’d love 30 mins to share what i’m building and get your thoughts. reply here or DM me if you’re up for a quick chat! Calendly link (feel free to lmk if any other times work better for you) - https://calendly.com/vibrane/30min

byteware#
zero-knowledge proof framework to prove for example that a bank has the necessary funds, or for a loan application that I make enough without revealing how much

Load more comments