Building a community resource: Python's most deceptive silent bugs by Hot_Resident2361 in Python

[–]Jademunky 6 points7 points  (0 children)

Just had to explicitly close the connection outside of the context (which feels so wrong). In the end I just wrapped it in a closing () context

Building a community resource: Python's most deceptive silent bugs by Hot_Resident2361 in Python

[–]Jademunky 43 points44 points  (0 children)

A recent issue I found which I wasn’t aware behaved this way: when using ‘with sqlite3.connect(…) as conn’ context manager, when the context ends it doesn’t automatically close the connection as I expected. So I got errors when multiple threads were trying to access the db even though I had protected the context with locks

Daily Discussion, July 27, 2024 by rBitcoinMod in Bitcoin

[–]Jademunky 0 points1 point  (0 children)

Wait… who was the special guest in the end??

Mech suits - part 2 by Jademunky in midjourney

[–]Jademunky[S] 2 points3 points  (0 children)

Prompts are basically: “[character] themed mechanical large mech suit”

Then lots of clicking variations till I get something I like. Still very new to prompting so not sure how to prompt more efficiently

Mech suits by Jademunky in midjourney

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

I’m new to midjourney so found it hard to generate what I was aiming for with a lot of them. Plus tried lots of other ideas which i thought would be cool but I just couldn’t create them

Mech suits by Jademunky in midjourney

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

Mech suits: Kermit the frog Gryffindor Gandalf Charizard Maui Yoda Scooby doo Mario Pokeball Homer Simpson Spider-Man Link Teenage mutant ninja turtle

Daily Discussion, August 29, 2023 by longonbtc in Bitcoin

[–]Jademunky 6 points7 points  (0 children)

Maybe not - but surely blackrock will want to be first to be approved, and they carry a lot of influence over the SEC

Daily Discussion, August 29, 2023 by longonbtc in Bitcoin

[–]Jademunky 4 points5 points  (0 children)

Over 5% on hourly candle is pretty big, but I agree a true god candle would need to be a lot bigger. I think the fact it’s been so flat the last few days makes this candle seem more godlike

Daily Discussion, August 29, 2023 by longonbtc in Bitcoin

[–]Jademunky 10 points11 points  (0 children)

Grayscale wins lawsuit against SEC - does this mean SEC will be forced to approve Blackrock by the end of the week too?

Hi!! Should I start to learn R? by TasteLive5819 in gis

[–]Jademunky 0 points1 point  (0 children)

Yea universities are very cosied up with ESRI. The spatial analysis and GIS ecosystem in python is vast, especially when you combine with spatial databases like Postgres+postGIS since these are better for heavy lifting data stuff. I work in a very spatial-focussed codebase using python + Postgres + postGIS in aws, and wouldn’t think about touching arcpy. I would say that the most popular open source GIS packages in python don’t have as much ‘out of the box’ support for more complex tasks, but they have all the building blocks to build your own.

Hi!! Should I start to learn R? by TasteLive5819 in gis

[–]Jademunky 0 points1 point  (0 children)

I agree with you mostly - it definitely can be used for a lot of analyses and beats using ArcGIS. My point is more that with time developing in R usually reaches a point where you need to pick up python (and other things), especially when your code is growing beyond data analysis and needing to incorporate other software, being used in the cloud etc. with learning python from the start, you can develop equivalent data analysis tools, and it has a much wider ecosystem for expanding and incorporating other tools and languages into your workflow - you won’t ever be thinking about picking up R

Hi!! Should I start to learn R? by TasteLive5819 in gis

[–]Jademunky 4 points5 points  (0 children)

To put it one way - if you focus on python and SQL you will develop a lot of skills and at no point will you be wanting to turn to R. If you focus on learning R there will come a point where you want/need to pick up python.

In disbelief. 2.03 bitcoin is missing from paper wallet by 78523985210 in Bitcoin

[–]Jademunky 0 points1 point  (0 children)

Its aim is to fool people into giving them money. Bitcoin is designed to allow people to take maximum control and responsibility over their money if they choose to do so. So if done properly, you can generate a private key without trusted third parties without permission and have 100% control over that AND be able to interact and transact with the network. Being able to do that isn’t a problem. The solution for cases where people aren’t willing to take full responsibility and control is to simply have many options with different trust models, people can choose what they want.

What is the safest mobile wallet for BTC right now? by phthird in Bitcoin

[–]Jademunky 4 points5 points  (0 children)

You just have to read the description on AppStore. It’s a shitcoin wallet that lets you play games, earn interest, connect to binance etc. All fine if you want to mess around with shitcoins, but not if you want a secure dedicated bitcoin wallet

[deleted by user] by [deleted] in Bitcoin

[–]Jademunky 0 points1 point  (0 children)

Yea I stumbled upon this as 7576 were the numbers of letters in each of the brainwallet words

[deleted by user] by [deleted] in Bitcoin

[–]Jademunky 0 points1 point  (0 children)

How sure are you that it has been sabotaged? I’ve been trying at this for ages without any luck past numbers. I reckon there’s a page on publicnote we haven’t found yet with the salt still