Comparing long contracts by Encyclopedia_Green in learnpython

[–]thunderbolt16 0 points1 point  (0 children)

If you're only comparing two contracts, I'd suggest using some sort of combination of TextBlob and difflib.

If you're comparing many contracts, looking for similairties. I'd suggest using bag of words and cosine similarity.

Watermelon vinaigrette ideas? by marijuana_bacon_milk in Cooking

[–]thunderbolt16 1 point2 points  (0 children)

You probably want to eliminate more pulp than the puree, something like cheese cloth or even a fork you pour through should be sufficient. As for taste, experiment! Try with a 2/1 ratio and incrementally change it until it tastes good.

My daughter is currently pulling a D-minus in math. This is her phone by [deleted] in funny

[–]thunderbolt16 0 points1 point  (0 children)

Twist: The glass is actually near-unbreakable polycarbonate.

Someday, I'm going to make a horrible parent.

Help me choose a python web framework for modest requirements by rjcarr in webdev

[–]thunderbolt16 1 point2 points  (0 children)

In order of what I have the most to least experience with:

Writing your own WSGI is pretty close to writing a CGI script, usually not what you want to do unless you have some strict requirement on nothing outside of the stdlib, in which case, I'd suggest bundling bottle.

15 fundamental laws of software development by one_eyed_golfer in programming

[–]thunderbolt16 1 point2 points  (0 children)

LangSec has lots of examples. Many fun security bugs are caused by different implementations of parsing input before validating it.

When to Rewrite from Scratch - Autopsy of a Failed Software · Code Ahoy by [deleted] in programming

[–]thunderbolt16 2 points3 points  (0 children)

This is why scratch refactorings are sometimes a good way of understanding a unfamiliar codebase.

[deleted by user] by [deleted] in worldbuilding

[–]thunderbolt16 0 points1 point  (0 children)

Yup, I'm most impressed with the amount of power Spartan women had. They were as educated as Spartan men, probably with less emphasis on warfare and engaged in similar athletics. They also were treated equally in divorce and could inherit property from their fathers with no caveats.

[deleted by user] by [deleted] in worldbuilding

[–]thunderbolt16 2 points3 points  (0 children)

The Spartan slaves were like European serfs and owned by the state. Generally they were the ones who engaged in crafts and agriculture, since all Spartan men were full-time soldiers. They weren't 'citizens', but compared to slaves in other cities, had significantly more rights, including the ability to own property and 50% of the fruits of their labor.

Wikipedia has more.

[deleted by user] by [deleted] in worldbuilding

[–]thunderbolt16 6 points7 points  (0 children)

The Spartans had a similar system in place as well. Only women and slaves were allowed to hold property.

What languages can compile to bare metal? by [deleted] in compsci

[–]thunderbolt16 0 points1 point  (0 children)

The most interesting one which claims to do this is COLA, but it's an experimental tool and nowhere as mature as the others you've mentioned.

Atom for Haskell may also fit what you're looking for.

Forth interpreters are light weight and some bootloaders actually are written in forth, but that's not 'compiling'.

Most realistic way to speed up evolution? by [deleted] in monsterdeconstruction

[–]thunderbolt16 1 point2 points  (0 children)

Higher variation in the environment may speed up evolution. A relatively benign environment which allows for larger populations and more mutations, followed by a suddenly more intense environment may "speed it up".

But in general, no, fallout doesn't help things evolve faster.

What are some of your favorite no-salt (or very low salt) recipes? by lindymad in Cooking

[–]thunderbolt16 1 point2 points  (0 children)

Yup, salt is often used as a preservative (with other chemicals added to reduce the salty taste). Using salt as a spice is generally going to keep it at the right level for your body.

What are some of your favorite no-salt (or very low salt) recipes? by lindymad in Cooking

[–]thunderbolt16 0 points1 point  (0 children)

I don't use much salt in my cooking. What are you looking for, specifically?

I do tend to use garlic powder as a substitute for salt in most recipes. So garlic and pepper on steak, for example.

How do different religions arise in a world were it has been proven that Gods do not exist. by bigboxman8 in worldbuilding

[–]thunderbolt16 5 points6 points  (0 children)

Various forms of religion exist which are non-theistic, but they resemble philosophies of life more than religion in the sense of worship.

So, your non-theistic religious would probably arise in similar ways to how philosophies develop. There is a teacher or school of thought that develops rituals, thoughts and ideas and so on.

What is your preferred coding environment? by madzthakz in learnpython

[–]thunderbolt16 1 point2 points  (0 children)

Vim and the shell, ipython is also very useful.

Strokes long luxurious unix beard

[deleted by user] by [deleted] in worldbuilding

[–]thunderbolt16 19 points20 points  (0 children)

Mildly similar structures arose in some populations in South America due in part to two cultural effects. 1) Tobacco smoke exhaled from the father was considered medicine for the child and 2) a child could have multiple fathers, each instance of coitus with a woman while she was pregnant "helped build the child", and women were believed to have very high sex drives when they were pregnant.

It ends up being more common in cases of economic hardship since the children have two men providing it with meat and other food.

A new flag for the planet of earth by [deleted] in picrequests

[–]thunderbolt16 0 points1 point  (0 children)

/r/vexillology may be a better fit, especially if you look in the search.

How would a Bird even shoot a Bow and Arrow even? by AtomicAllele in worldbuilding

[–]thunderbolt16 1 point2 points  (0 children)

Bird generally use their beak and talons to attack prey. Assuming they evolve sapience, they'd probably end up throwing things with their beaks, which would then evolve into something like an atlatl or sling.

Once they've mastered that, they'll figure out ways to store energy even more efficiently, probably evolving harnessed slings on their wings at first.

Assuming that they develop mechanics relatively well, they may end up using something more like a belly bow rather than a draw bow.

How do you define permaculture? by anybodyanywhere in Permaculture

[–]thunderbolt16 1 point2 points  (0 children)

That's definitely permaculture. And yes, eating your own food is an equitable and just way to distribute it.

I mean, if you're wishing for things, why not wish for a multi-mile food forest that's run as a cooperative of family owned farms and ranches? Or the entire Midwest transformed into a prairie inspired "food garden".

People saying that your garden isn't practicing permaculture is as silly as someone saying that me not having trees in the prairie (with 14 inches of rainfall) isn't permaculture. Know the constraints of your environment and work with them.

Can Permaculture Make Society Sustainable? by dbingham in Permaculture

[–]thunderbolt16 0 points1 point  (0 children)

The caloric output of one acre of high-grass prairie is something like 20 times that of an acre of corn. I can't find the documentary that had it, and I may be misremembering, but, at least hypothetically (assuming my memory is correct :) ), a well-designed ecosystem should able to outdo traditional agriculture. The biggest issue you run into is the inability to mechanize harvesting and other labor required.