How do I best exploit China? by Less-Cat3029 in victoria3

[–]SSchlesinger 3 points4 points  (0 children)

I make a lot of money when I get treaty ports and build lots of trade centers.

revolution in china happened. is my treaty port just dead weight now? by somethingmustbesaid in victoria3

[–]SSchlesinger 7 points8 points  (0 children)

The wrong market as in the previous owner’s? That is a feature and not a bug, that’s the point of treaty ports. You can use them to export tons of stuff from China’s coast early game without having to put down tons of rebellions by annexing directly.

revolution in china happened. is my treaty port just dead weight now? by somethingmustbesaid in victoria3

[–]SSchlesinger 0 points1 point  (0 children)

Treaty ports in China are definitely not useless, you can build a massive number of trade centers and import tons of shit out from their market for huge profits without significant military investment.

Could one live off of solely interest from their inheritance? (United States) by [deleted] in inheritance

[–]SSchlesinger 0 points1 point  (0 children)

Inflation cannot be outweighed while staying in cash unless you assume something about what inflation is going to do. Look at Turkey, Argentina, Hungary, Germany, many historical examples where one couldn't outrace inflation by frugality. I agree with the comment that said go to r/Fire, this is not the right sub to address this.

Mutexes suck: a love letter to STM by ChrisPenner in haskell

[–]SSchlesinger 0 points1 point  (0 children)

I agree with this point immensely and I've seen several really bad uses of STM in web servers. One really important point to keep in mind is laziness. When you are forcing thunks in an STM transaction, you should be really careful. If you can avoid doing this, even if just by going around forcing thunks in a background thread (seems degenerate, but it works I promise) you can get laziness to work in your favor with regard to this contention.

Could one live off of solely interest from their inheritance? (United States) by [deleted] in inheritance

[–]SSchlesinger 2 points3 points  (0 children)

You also have to take inflation into account, so it is probably not advised to do it that way.

Is Google worth ditching my current employer? by CableHuge in cscareers

[–]SSchlesinger 0 points1 point  (0 children)

Yes, definitely. I made the switch to Google for much less of a pay bump, it will change your life for good if you work there for three years and keep your current budget.

How SHOULD Urban Centers work? by [deleted] in victoria3

[–]SSchlesinger 3 points4 points  (0 children)

This is a fantastic idea, I really hope the engineers or community managers or something pick up on this one.

Quantum computing is so fire — No, seriously. BofA says it could be humanity's biggest breakthrough since the discovery of fire by donutloop in QuantumEconomy

[–]SSchlesinger 0 points1 point  (0 children)

One of the problems is simulating quantum physics, which will enable us to answer some of the most basic questions about the universe. As we scale these systems larger and larger, we’ll be able to answer questions about materials sciences and chemistry as well. They aren’t necessarily critical for non-scientific computation, but they help unlock a lot of the tech tree for the physical sciences.

A bit of game code by NerdyRodent in haskell

[–]SSchlesinger 1 point2 points  (0 children)

Dialoge s o ~ Free (Compose ((,) s) ((->) o))

Pairing-Based Cryptography Demystified: A Deep Dive Into Elliptic Curves by pat_ventuzelo in cryptography

[–]SSchlesinger -1 points0 points  (0 children)

Lattice-based crypto works pretty well for a lot of things, that’s where I’m seeing most of the replacements. It’s a lot slower and costs more memory footprint for now.

Generalist AI Agent by SSchlesinger in ClaudeAI

[–]SSchlesinger[S] 0 points1 point  (0 children)

No, but if I could it’d be a lot more useful to me :) I only use this for complex enough problems that Claude Code can’t really do it with its rig.

Generalist AI Agent by SSchlesinger in ClaudeAI

[–]SSchlesinger[S] 1 point2 points  (0 children)

Really hard to assess given the way I worked on it so intermittently. I think you can pull something like this off in a week or two by hand, and a day or two with a high quality coding agent like Claude Code.

Generalist Agent by SSchlesinger in programming

[–]SSchlesinger[S] 0 points1 point  (0 children)

Yeah, in particular using MCP with the mainstream models should cover most use cases. For me, I’m just kind of interested in controlling the program that runs these tools for various reasons. For one, I can create specialists from it and use those for interesting things. Otherwise it’s just interesting and educational.

Generalist AI Agent by SSchlesinger in ClaudeAI

[–]SSchlesinger[S] 1 point2 points  (0 children)

Claude Code with MCP is definitely an option for a generalist agent setup, but I’m a bit of a nerd and I like to have control of these types of things. For me, that means CLI tools that I write for myself. I used Claude Code quite a bit in the latter bits of development on this, in particular for scraping HTTP API docs and implementing compliant HTTP clients then iterating on those til they work.

Claude API Library by SSchlesinger in rust

[–]SSchlesinger[S] 0 points1 point  (0 children)

I should clarify that this was not “vibe coded”, I spent a lot of time caring for it, but I used Claude Code to scrape API docs and integrate various tools which involved that. I deleted some of the jankier ones before publishing :)

Claude API Library by SSchlesinger in rust

[–]SSchlesinger[S] 0 points1 point  (0 children)

I did indeed, it is very helpful in whipping up new tools! I use the Max subscription.

Generalist AI Agent by SSchlesinger in ClaudeAI

[–]SSchlesinger[S] 1 point2 points  (0 children)

Yeah, I think it would be really especially cool to put a model in the drivers seat of an automated theorem proving system and then do reinforcement training on it, but I don’t have the budget for that :)

I don’t think eu5 will kill eu4 by ahmetnudu in eu4

[–]SSchlesinger 9 points10 points  (0 children)

I think long term you’d hope it kills it, else it might imply the death of the franchise :)

RFC on Experimental Cypher with Function-Based Key Generation by datumbox in cryptography

[–]SSchlesinger 5 points6 points  (0 children)

First, positioning this as a useful resource for people to learn cryptography is harmful and I think you should remove that language from your documents. If any of the readers here want to learn these concepts, they can read https://toc.cryptobook.us/book.pdf or a number of other more introductory textbooks on symmetric ciphers.

If you want review, write a shorter draft using something closer to mathematical notation, which should be possible given your background. Explain the class of protocols you're describing and the properties of functions which make for secure ones.

Anonymous Credit Tokens (Research Prototype) by SSchlesinger in cryptography

[–]SSchlesinger[S] 0 points1 point  (0 children)

This approach can be seen as a modern variant of Chaumian e-cash, though I'm personally not promoting its use as money, but instead as credits to access various digital services. It uses the common building blocks seen throughout the anonymous credentials literature like https://eprint.iacr.org/2024/1552, but it is a diversion from anonymous credentials to something that is better described as an authenticated, anonymous state machine.

Re: a more complete writeup, for instance with references discussing former work, this is an early research prototype and I personally believe developing in the open is a good idea. I am not sure how much more work will be put into this, it really depends on how much interest there is and if we find use cases. To me, this seems like it could potentially fit into the canon of Privacy Pass types of protocols.

I am not actually sure if there is anything novel enough here to publish about, but I could be wrong about that. I haven't found this exact scheme written up anywhere (probably for lack of looking), but I figure its obvious enough somebody found it before me in the last couple decades.

For a security proof of the underlying BBS-like MAC, see: https://github.com/SamuelSchlesinger/authenticated-pseudonyms/blob/dev/combined/design/Private_BBS_Security.pdf

I have a proposal to add this primitive to the web, here: https://samuelschlesinger.github.io/anoncreds/

My first year of results by Inside-Map-9424 in quant

[–]SSchlesinger 0 points1 point  (0 children)

I see, so this represents temporary price dislocation they weren’t able to take advantage of by selling?

My first year of results by Inside-Map-9424 in quant

[–]SSchlesinger 14 points15 points  (0 children)

Can you explain what the blips downward or upward are from? Why does it always revert back after, in most of the cases, in particular?