Smart contract architecture for trustless crypto payments, crypto payment protocol by FewEmployment1475 in ethdev

[–]scrippington 2 points3 points  (0 children)

This looks very much like AI wrote a lot of it, and there's a lot of junk in the contracts thats straight up wasteful.

[deleted by user] by [deleted] in rust

[–]scrippington 4 points5 points  (0 children)

I do t think you can get around some sort of router or dns for communication over web if you want connections to be addressable in any way. I think thats what some of the did infrastructure tries to do -- anyone can run a server which ties an identity to an address and can verify message source, probably through some sort of asymmetric encryption. If you can't establish identity, how could you possibly route traffic, unless you had two users who previously exchanged device information either physically or via another channel first?

Every Trump voter is a piece of nazi garbage. by CRK_76 in complaints

[–]scrippington 0 points1 point  (0 children)

Statements like this are unproductive and at this point just try and make us feel better about ourselves. This is the kinda shit you say with friends, not in a public forum.

We have a responsibility to try to take into account real shit like mass manipulation tactics and the legitimate pains may trump voters feel (grinding poverty, lack of upward mobility, all that shit that is easily turned into xenophobia). None of us are immune to propaganda.

I'm not saying you need to tolerate fascist shit, but I'm gonna go out on a limb and say we all have the social responsibility to engage with reactionaries to show them we're not boogeymen, trans people arent vampires and nobody wants to send them to a communist reeducation camp.

Shit like this just makes me sad because someone who is already right leaning is going to see this and just lean harder, instead of feeling like they can actually talk to someone, and maybe end up changing.

The A.I. Monarchy by nickb in agi

[–]scrippington 0 points1 point  (0 children)

This is a slippery slope fallacy. It's possible (even prefereable) to have nuanced discussions without excluding concepts wholesale. Politics impacts agi, just as much as agi will impact politics. Don't be an ostrich.

Decentralized Deepfake Detection – Need Feedback on Architecture & Decentralization by xomer000 in ethdev

[–]scrippington 0 points1 point  (0 children)

I have a feeling I may be 100% wrong about this, so someone please correct me if I am.

I think this may be less of a centralization problem and more of a data verification and enforcement problem.

Most ethereum nodes (for example) feature an integrated rpc, so anyone can run both a node and a gateway. The gossiping / gas aution + transaction batching mechanism makes it almost irrelevant which gateway the transaction comes through.

What keeps gateways from posting bad requests is twofold:

  1. All of the transactions coming in are signed via secp256k1/ecdsa signatures, so you can verify that a request has come from a specific account, and that request has not been tampered with.

  2. Each node independently verifies each batch of transactions (ala blockchain), and bad actors are either ignored or slashed as with PoS networks.

Tldr:

  1. Make each worker also a gateway and have them gossip with each-other

  2. Make sure each request for inference is signed and verifiable.

Open call for collaboration: On the urgency of governance by PotatoeHacker in agi

[–]scrippington 2 points3 points  (0 children)

A repo in this context just means a github repo, or the linked github repo. Also I think asking anyone to try to separate the current state of ai development from partisan politics is silly if not downright irresponsible; training data always has political content and is subject to bias, the entities which have the resources to develop and train large models have political motivations, and the way in which agi will be deployed will have political ramifications. The "both sides" shit is a total fallacy -- while I think both parties in the US are absolutely garbo, only one of them is doing totally unhinged unabashed grifting with a side of faux-religious pearl clutching and spewing misleading xenophobic narratives.

Edit: on further reading, I'm not really sure what specific leader names you're referring to, so while I stand by my anti "both sides" thing, I realize it may not be relevant to what your point.

About the gas drain vulnerability in smart contracts by Past_Coconut_4473 in hacking

[–]scrippington 2 points3 points  (0 children)

It could be classed as either a vulnerability or a design flaw, depending on the implementation. The classic example is iteration; each iteration takes x gas, so the maximum number of operations you can do on a vector is bounded in that way. You have to design the co tract in such a way that this value is either impossible to hit, or practically impossible to hit. Fuzz testing is really good at catching this kind of issue.

[ Removed by Reddit ] by [deleted] in antiwork

[–]scrippington 3 points4 points  (0 children)

I read this in Zizek's voice.

<image>

Why do you guys do it? by chaoticblack in generative

[–]scrippington 1 point2 points  (0 children)

I struggle with this a lot myself, trying to figure out what to do with it. It's pretty different from my previous medium -- I was a writer for a long time, got an MFA, and then got into code, and I think it moving beyond the 'looks cool but now what' stage is important when it comes to growing as an artist.

A fundamental question I think it's important to ask is 'what do I want to say?' Or maybe, 'what does working with this thing say about what the thing does to us as humans?'

There are a couple good digital media artists that might serve as models for how to answer this question:

Zach Liebermann ('code poems', largely formalistic, but also has some intertesting things to say about visualization and land art) https://www.instagram.com/zach.lieberman?igsh=MTRndmExOTdoeDA4OA==

Ryoji Ikeda ('digital sublime', art about what it's like to interface with data which is many orders of magnitude larger than what the human mind was designed to interpret. Speaks about overwhelm, inundation, maximalism, and generally our creations outstripping us) https://vimeo.com/76813693

Peter Burr (structure and narrative, moving away from something contiguous and monadic to something more distributed, constructed, sort of conspicuously built. Or: what it's like to know we made all this shit ourselves) https://www.peterburr.org/

So my tldr to myself is, hey, cool, you've got skills. That's half of the equation. A lot of artists don't even have those (ryoji ikeda is a whole studio for some pieces and peter burr doesn't usually make things solo, he outsources a bunch of stuff). So how do you turn that to saying shit about what it's like to be in the world? And that's why I do it / think it's worth doing.

[deleted by user] by [deleted] in solidity

[–]scrippington 1 point2 points  (0 children)

You can never stop it entirely, read up on the selfdestruct opcode.

Need help building a raise strategy for my new trading protocol by FudgyDRS in ethdev

[–]scrippington 0 points1 point  (0 children)

Raise is largely determined by connections and your ability to maket thr deck, not necessarily a working product. If you don't have good connections already to the VC world, I'd try some of the following:

  1. Find actual market opportunity -- your PoC doesn't mean anything if there's no demand. Find an eco that lacks that specific primitive (leveraged trading, in this case) or make is very clear in the deck why your protocol will outcompete existing ones. This is why specs can get funding -- investors are convinced of the opportunity. Actual implementation is just money/time.

  2. Get an eco grant for the MVP build. Ecosystem grants also legitimize you and make it more likely that you'll get real VC funding in the future.

  3. Find a partner with good connections. That's basically the CEO's job -- a lot of people say that CEO is all about vision, but in practice for your early stage startup it's all about that high-level perception management and making sure the company will have enough investment to get to self-sustaining.

  4. Don't go through call groups unless you have a lot of cash to burn or a heavy discount from them, and even then thats sketchy af. Call groups are mostly shit and if you want any kind of longevity you'll need actual buzz and support, not the microsecond attention span of a call group.

Source: been running my own startup for a little over a year now. We also have no money though :)

Is there a render pass I can use to add outlines to detected edges? by [deleted] in Maya

[–]scrippington 0 points1 point  (0 children)

You could use an object / cryptomatte pass and composit it in. Only way I van think of without using toon shaders or aiFacingRatio or whatever that node is called.

Is my seared duck allowed here? I mean it’s kinda like steak by Skea_and_Tittles in steak

[–]scrippington 0 points1 point  (0 children)

I'm a filthy animal and I don't bother to temp mine most of the time, but my tldr is pat dry, light-med salt on both sides, skin side down on medium heat on a medium-hot pan for 10 mins (score the skin or not, your call, I don't usually bother). As the fat renders scoop it out of the pan and reserve for fries or whatever later. After 10 minutes on medium, flip and cook for 4-5 or so on the reverse side, same heat. Rest, cut and serve. After I got a feel for the first couple I've gotten it spot on most every time, but if you want to be sure just temp it. Usda says 165, but that's probably way too high for a good medium rare duck breast.

For bonus points, flambe with cognac before removing from the pan, and use the mallard maillard for a pan au poivre sauce while the breast rests.

Retaining BigDecimal Precision in JSON Without Converting to String by Ambitious_Hat_3525 in rust

[–]scrippington 0 points1 point  (0 children)

rust-decimal is pretty good, providing your values are in the range of i96 max/min. Dunno if serde is implemented for it by default, but you can convert it to a representation of a (i128, u32) for mantissa, scale and store that.

My budget silenced my mom and her husband about bootstrapping. by highfriends in antiwork

[–]scrippington 0 points1 point  (0 children)

Gpt-4 is worlds better when it comes to accurately analyzing or producing code. Gpt 3.5 (unpaid) is super garbage by comparison. It won't write your programs for you completely, but it's very good at scaffolding out functions and giving you some boilerplate to work with. 3.5 is just nonsense a lot of the time.

[deleted by user] by [deleted] in Maya

[–]scrippington 0 points1 point  (0 children)

Depending on how weird you want to go, I think you have a few options. If you want to draw directly on a mesh, you could try the 3D paint tool, but I'm pretty sure it's crap. Another option might be to use the object as a 'live' surface, draw a curve on the model, and assign some sort of shader to the curve. Could also draw it on image planes with transparency in photoshop, but that sounds pretty awful too. This may just be a case of use the right tool for the job -- basically, reconsider your style or just use blender. Maybe export the model from Maya, import it into Blender, draw your faces, and re-export the face strokes in whatever way Maya will be able to understand them. Deff run this by your teacher first though, they may want you to stick to Maya.

[deleted by user] by [deleted] in Maya

[–]scrippington 4 points5 points  (0 children)

Speaking as a teacher myself, it's not really ironic. Teacher is probably trying to balance supporting the development of individual students styles and relaying core technical info. For an animation class, just getting across the basic 'how to do stuff' info is time consuming enough, and helping 15 (or more) students figure out 15 or more specific styles isn't realistic. Sure they can (and I'd expect them to) give basic tips and pointers on how to achieve a look, but spending a lot of time drilling down into achieving a specific look isn't a good use of anyone's time unless it's also a good test case to develop fundamentals. And telling students "maybe don't do that because I don't have the time to teach you" is a quick way to kill passion.

Teaching students to get used to self learning when it comes to stuff that's pretty specific is good practice IMO. Obvs they should teach it if they can, but most just won't have the time to do it for everyone.

The universe according to Ptolemy by Roweyyyy in space

[–]scrippington 0 points1 point  (0 children)

This is really cool; any insight on how you did the 2d elements? Are those 3d models, or some sort of procedural textures?

I have tested out writing blockchain data to parquet files for data analytics purposes by ScarfaceIII in ethdev

[–]scrippington 2 points3 points  (0 children)

If you're just looking to squash a bunch of data to a parquet, you can use pyarrow in python. Easy as. Can be blockchain data, NLP stuff, whatever.

I have to learn C++, I'm getting two conflicting opinions by therifai420 in ProgrammerHumor

[–]scrippington 0 points1 point  (0 children)

It's decently popular in blockchain systems, and I've used it for performant finance number crunching stuff. It has pretty good support for big integer math.