@modrobert How in the world can you consider those countries to "control the means of production" which is the definition of socialism... and no china is **not** communist as it doesnt constrol consumption, we covered this, it only controls production, thus is socialist not communist by the definition, the definition that has been established since the 1800s by the very people who founded socialism and communism.
Your welcome to disagree, but you are wrong.
@modrobert First one should be a picture of a casket :) China, being one of the few successful socialist countries to compare to, have a horribly morbid survival rate when it comes to cancer compared to the USA.
Attached are the survival rate for prostate and eye cancer by country. As you can see china is pretty much at the bottom, usa top.
@Co python will probably work and be easy enough... numworks calculator has a python interpreter in it that is kinda cool.
I'd suggest you play with the python CaS libraries availible to you first before you get too far along just to make sure they will be a good solution.
@modrobert Socialism is where the means of production is owned by the people and equally distributed. Communism is the same but where production **and** consumption are regulated.
Therefore all communistic countries are socialist by definition, just a specific form.
China, for example, is a socialist country because its government owns huge portions of the businesses (the means of production), however people are free to make more or less money and buy more or less things from one another.
Communist countries go a step further, they ration the people to ensure everyone has equal buying power as well. So the "means of consumption" as people say is also controlled.
Since no country in europe ensures the vast majority of its means of production are owned by the government, no country in europe is a socialist country.
These terms are well defined since the 1800s... now if the media wants to reframe and misrepresent them (I agree they often do), thats on them. But I'm using the real definitions here, not what the media uses.
=======
To your point about democracy, yes generally they will vote for what favors the many, not the few... but that is not socialism or communism. Many would argue (correct or not) that pure capitalism with no regulation of any kind benefits the many also.
What defines socialism is not, and never has been, who benefits. It is about who owns the means to production and/or consumption, nothing more or less.
@Co Whatever language you are most comfortable with that has a CaS .. R is a shitty language to work in but it is meant for math stuff, so you may find it a good choice here. Python has a CaS library too.
@Co I dont think a calculator would be all that useful without it... its also why i wouldnt go with an UNO.. a good calculator needs good processing power. Personally I'd throw a raspberry pi or other SBC in there and then use existing CAS libraries behind the scenes.
@Co Computer Algebra System... it is wha seperates a typical calculator (which tends to just do operations on numbers) to a more advanced one like the TI-89, where it can do symbolic manipulation (integration, solve for x, solve ODE, etc)
@Co and no, off hand i cant think of a cheap LCD that is a good enough size.. im sure there are plenty and ive used some, just not sure what they were off hand. I need to check which one im using on my ROES project.. it is a little small but close.
@modrobert No its not... Social Democracy is a distinctly different form of government than Democratic Socialism. It is trivial and straightforward to determine if a country is one or the other based on, among other things, if it has a free-market system of capitalism or not. European countries are a capitalism as they employ free markets and taxes are used to pay for social programs. A democratic socialism would be government owned markets, and would not have significant capitalist elements like we have in europe.
@Co Nice! Excited. Is it going to have a full CAS?
@noelle I think there is a huge difference between papers identifying a persons identity, and papers that violate ones privacy of medical records.. The most disturbing part is I thought we learned this lesson long ago with HIV when that disease was already being abused... now we are repeating it with a new disease.
@ck_SNARKs Agree, though I wouldnt say bitcoin, its a deadend tech as-is.. but one of the several excellent cryptocurrencies out there other than bitcoin for sure.
Actually i figured it out.. saw an email in my spam mail from them. Apparently they wanted me to write an article about how i got listed as a top Big data company and link to URL and then they would reshare my article...
They were looking for link backs for SEO apparently.
Do you know why that worked?
When the daemon is on then the call to nginx command returns immediately and it spawns in the background. This was causing your container to exit when nginx returned.
So the reason your curl statement wasnt working was because your container wasnt running when you tried it.
The stuff i was saying about binding to localhost is generally still true, but it appears you were correctly binding nginx to the wildcard IP and not exclusive to localhost. Keep this in mind for your future debugging so you dont use localhost in the future when debugging inside the container (which wasnt helpful)
@pganssle hit me up if you have any more problems or need help using it. I am using it to run all the QOTO services by the way so its fairly well tested.
@pganssle Here is my container for docker swarm, let me know if you need the one for plain docker (I think its in the readmes which i dont think i really updated as I mostly use it for myself):
@pganssle Sure, give me a minute and ill pop you a link.
@pganssle yes as I said it is inside the container that needs to bind to the public IP not outside... localhost on the outside is the norm..
You were curling localhost inside the container, which is where you were going wrong testing.
@pganssle I already designed a container that does exactly what you need AND will automatically obtain and renew lets encrypt certificates.
It also auto-configures.. that is, you dont need to tell it (in a static way) what the other containers are or what their subdomains are. It will discover it based on swarm variables set.. if you dont use swarm and want to do it with plain docker there is already a container that does everything I just mentioned there as well (it is what my own container is based off of).
If you still want to roll your own for any reason, then I'd be happy to help you debug this. You are most of the way there but by the looks of it you just arent binding to 0.0.0.0 for some reason. Looks like your only binding to localhost in the container, which wont work. Or at least, your only testing localhost... hard to tell since you didnt test against the proper IP (maybe it is binding to it, your config does have a wildcard bind).
If you want to roll your own lets start simple... show me the output of ifconfig to see what your various ip addresses are, then lets try curling the correct IP
@pganssle here is what I use to get the specific IP you need to bind to (assuming you cant bind to all IPs): #!/bin/bash
HOST_IP=$(/sbin/ip route|awk '/default/ { print $3 }')
echo "$HOST_IP host.docker.internal" >> /etc/hosts
Jeffrey Phillips Freeman
Innovator & Entrepreneur in Machine Learning, Evolutionary Computing & Big Data. Avid SCUBA diver, Open-source developer, HAM radio operator, astrophotographer, and anything nerdy.
Born and raised in Philadelphia, PA, USA, currently living in Utrecht, Netherlands, USA, and Thailand. Was also living in Israel, but left.
Pronouns: Sir / Mister
(Above pronouns are not intended to mock, i will respect any persons pronouns and only wish pronouns to show respect be used with me as well. These are called neopronouns, see an example of the word "frog" used as a neopronoun here: http://tinyurl.com/44hhej89 )
A proud member of the Penobscot Native American tribe, as well as a Mayflower passenger descendant. I sometimes post about my genealogical history.
My stance on various issues:
Education: Free to PhD, tax paid
Abortion: Protected, tax paid, limited time-frame
Welfare: Yes, no one should starve
UBI: No, use welfare
Racism: is real
Guns: Shall not be infringed
LGBT+/minorities: Support
Pronouns: Will respect
Trump: Moron, evil
Biden: Senile, racist
Police: ACAB
Drugs: Fully legal, no prescriptions needed
GPG/PGP Fingerprint: 8B23 64CD 2403 6DCB 7531 01D0 052D DA8E 0506 CBCE