News for hackers. Stuff that matters.
Re:Ganja.js: Geometric Algebra Generator for JavaScript, C++... by s1k3s on Friday December 18, 2020 @04:57PM (#25472571)
You had to name it Ganja, didn't you?

Edit: on second thought, good for you! Screw all the politically correctness BS that invades our software development stuff. There's no place for that in science.

Re:Ganja.js: Geometric Algebra Generator for JavaScript, C++... by joshuamcginnis on Saturday December 19, 2020 @12:33AM (#25475351)
> Ganja is a Hindi name for hemp, derived from the word ganjha, from the Sanskrit gañjā, referring to a "powerful preparation from cannabis sativa". The term ganja, one of the oldest and most commonly used synonyms for marijuana in the English language, dates to before 1689.

I had hoped there would be a more direct association between the Hindi name and the underlying mathematics given Indian mathematics emerged as early as 1200 BC. Would make for a perfect reverse-psychology alibi.

Re:Ganja.js: Geometric Algebra Generator for JavaScript, C++... by jacobolus on Saturday December 19, 2020 @03:02AM (#25475935)
It's also the name of the second largest city in Azerbaijan.

In high school, my school hosted some exchange students from "Ganja school #5". As we were standing at LAX airport waiting for the Azeri students to arrive, a couple of surfer dudes wearing board shorts and Hawaiian shirts walked by and stared at our sign:

"Ganja school .... duuuuuude .... I wanna go there!"

Re:Ganja.js: Geometric Algebra Generator for JavaScript, C++... by davchana on Saturday December 19, 2020 @05:33AM (#25476537)
To add, Ganja pronounced with very short sound of "a" means bald :)

Ganja as hemp is mostly pronounced as Gaanjaa, but accepted spellings are Ganja.

Re:Ganja.js: Geometric Algebra Generator for JavaScript, C++... by whalesalad on Friday December 18, 2020 @07:55PM (#25473951)
It's not really political correctness as much as it is morality. We've been conditioned to believe marijuana is bad, unfortunately.
Re:Ganja.js: Geometric Algebra Generator for JavaScript, C++... by otabdeveloper4 on Saturday December 19, 2020 @01:18AM (#25475529)
> We've been conditioned to believe marijuana is bad

Well, you'll have a really hard time convincing people that it's good. (Unless they already have a vested interest in rationalizing their decisions.)

Nobody ever got smarter from smoking too much weed.

Re:Ganja.js: Geometric Algebra Generator for JavaScript, C++... by mtraven on Saturday December 19, 2020 @01:39AM (#25475602)
http://marijuana-uses.com/mr-x/

Carl Sagan: Cannabis enables nonmusicians to know a little about what it is like to be a musician, and nonartists to grasp the joys of art. But I am neither an artist nor a musician. What about my own scientific work? ... I have made a conscious effort to think of a few particularly difficult current problems in my field when high. It works, at least to a degree. I find I can bring to bear, for example, a range of relevant experimental facts which appear to be mutually inconsistent.

Re:Ganja.js: Geometric Algebra Generator for JavaScript, C++... by antonvs on Saturday December 19, 2020 @03:28AM (#25476061)
You're repeating something you've been indoctrinated to believe, that you haven't given any thought to, so yes it's going to be difficult to convince you and others like you otherwise.
Re:Ganja.js: Geometric Algebra Generator for JavaScript, C++... by andai on Saturday December 19, 2020 @06:47AM (#25476827)
Like anything you can overdo it. I regret smoking so much in my youth. I also regret drinking so much, and eating so much pizza and chocolate, and spending all day surfing (the web, sadly, not the waves). I was doing all those things before I became old enough to buy cannabis (although cannabis did exaggerate them somewhat).

It does seem like the cannabis had a negative effect on my memory and emotional stability (I was high basically the entire day for several years while my brain was still developing). And many of my worst paranoid delusions ever have been on uncomfortably high doses of cannabis. But so have some of the most beautiful and dare I say spiritual experiences of my life, and I wouldn't take those back.

I do wish I'd waited until I was older though, and in a better place emotionally (I was using it as a painkiller, if you will.)

All things considered though, I'm a much bigger fan of psilocybin and LSD. Rather than worsening my addictions they made me quit a lot of unhealthy things I was doing. I also found microdosing to be very beneficial.

For comparison, you can conduct a business meeting on a small dose of LSD and find that it actually helps you pay attention and think clearly, while even small doses of cannabis will interfere with something as trivial as a trip to the corner store.

Re:Ganja.js: Geometric Algebra Generator for JavaScript, C++... by redisman on Saturday December 19, 2020 @01:54AM (#25475668)
> Nobody ever got smarter from smoking too much weed.

What about having fun or relaxing? Most recreational substances or activities aren’t supposed to “make you smarter”.

Re:Ganja.js: Geometric Algebra Generator for JavaScript, C++... by rtx on Saturday December 19, 2020 @03:38AM (#25476106)
Its a drug and should be promoted as such. Lets not swing the pendulum the other way. I can't be convinced putting smoke in your lungs is not harmful.
Re:Ganja.js: Geometric Algebra Generator for JavaScript, C++... by byecomputer on Saturday December 19, 2020 @04:43AM (#25476356)
Everyone knows it's a drug. It also has a handful of applications in medicine, but so do a lot of drugs. Doesn't mean it's for everyone. As a recreational drug, the societal and personal harm associated with consuming marijuana is rather low. And nobody with any integrity is acting as though smoking something isn't bad for your lungs.

Weed has already thoroughly permeated society, no use trying to turn back the clock there. We should just stop arresting people for it and stop making it so you have to take unnecessary risks to get it.

Re:Ganja.js: Geometric Algebra Generator for JavaScript, C++... by kaoD on Saturday December 19, 2020 @03:57AM (#25476182)
If smoke is the problem you can eat or vaporize it for example.
Re:Ganja.js: Geometric Algebra Generator for JavaScript, C++... by whalesalad on Saturday December 19, 2020 @08:08AM (#25477182)
Smoke is merely 1 of 100 ways to consume cannabis.
Re:Ganja.js: Geometric Algebra Generator for JavaScript, C++... by arpa on Saturday December 19, 2020 @02:57AM (#25475908)
That's a very prejudiced opinion, and you should critically review it.
Re:Ganja.js: Geometric Algebra Generator for JavaScript, C++... by LocalH on Saturday December 19, 2020 @08:40AM (#25477317)
A headier pot certainly makes my mind sharper. Now, a pot with a heavy body load, that's more of the stereotypical "lazy stoner". But to say "nobody ever got smarter from smoking...weed" is kind of short-sighted.
Re:Ganja.js: Geometric Algebra Generator for JavaScript, C++... by kaoD on Saturday December 19, 2020 @03:59AM (#25476188)
The negation of bad isn't "good". It's "not bad".
Re:Ganja.js: Geometric Algebra Generator for JavaScript, C++... by johnhenry on Saturday December 19, 2020 @04:26PM (#25481364)
Correct. You have to smoke exactly the right amount.
Re:Ganja.js: Geometric Algebra Generator for JavaScript, C++... by byecomputer on Saturday December 19, 2020 @04:05AM (#25476220)
I don't think that's it, either. I think it's that the word "ganja", in United States parlance, is sort of puerile and gets uttered ironically more than it does unironically. I think that most of us not caring about weed anymore is what makes the oblique reference to it kind of passe and eye-rolly.
Re:Ganja.js: Geometric Algebra Generator for JavaScript, C++... by nsajko on Saturday December 19, 2020 @12:05AM (#25475219)
On the one hand you're somewhat right: there are certainly many of those who fear marijuana with the only reason being that it is among "the drugs"; but is marijuana abuse not the greater issue of the two? Certainly you can agree that inhaling any smoke is bad for the lungs, for a start?
Re:Ganja.js: Geometric Algebra Generator for JavaScript, C++... by whalesalad on Saturday December 19, 2020 @12:09AM (#25475240)
You can use marijuana/cannabis without smoke in a million different ways.
Re:Ganja.js: Geometric Algebra Generator for JavaScript, C++... by supplemonte on Friday December 18, 2020 @11:05PM (#25474922)
Commenters without a substantial or interesting contribution to make tend to focus on things like names.
Re:Ganja.js: Geometric Algebra Generator for JavaScript, C++... by iso8859-1 on Friday December 18, 2020 @05:10PM (#25472689)
There is lots of place for politics in science, universities have internal politics also.

Ganja is the second largest city in Azerbaijan, why is it such a political statement?

Re:Ganja.js: Geometric Algebra Generator for JavaScript, C++... by tksb on Friday December 18, 2020 @05:14PM (#25472730)
The obvious answer is the one I assume you deliberately glossed over… Marijuana is still highly "political" in many, many places.
Re:Ganja.js: Geometric Algebra Generator for JavaScript, C++... by johnhenry on Friday December 18, 2020 @07:06PM (#25473644)
Should have named it "WearAMaskDuringAPandemic.js". No way that's going to turn political...
Re:Ganja.js: Geometric Algebra Generator for JavaScript, C++... by throwawaysea on Friday December 18, 2020 @08:46PM (#25474226)
It’s a clever joke because exterior algebra (https://en.m.wikipedia.org/wiki/Exterior_algebra) is also knows as Grassman algebra, named after Hermann Grassmann (https://en.m.wikipedia.org/wiki/Hermann_Grassmann)
Re:Ganja.js: Geometric Algebra Generator for JavaScript, C++... by throwaway2245 on Friday December 18, 2020 @07:40PM (#25473844)
It effectively makes the license "don't use this in an educational setting", unfortunately.
Re:Ganja.js: Geometric Algebra Generator for JavaScript, C++... by lou1306 on Friday December 18, 2020 @07:48PM (#25473910)
Then again, the substance it refers to is perfectly legal in several of countries (and a number of states in the US). By that metric, Wine should be avoided too.
Re:Ganja.js: Geometric Algebra Generator for JavaScript, C++... by colejohnson66 on Friday December 18, 2020 @07:58PM (#25473963)
Cigarettes are legal in every state in the US, but naming something “cigarette.js” when it has nothing to do with them won’t help.
Re:Ganja.js: Geometric Algebra Generator for JavaScript, C++... by ardfard on Saturday December 19, 2020 @02:56AM (#25475899)
cigar.js is actually a good name for a lib.
Re:Ganja.js: Geometric Algebra Generator for JavaScript, C++... by seba_dos1 on Friday December 18, 2020 @11:39PM (#25475084)
...nor hurt.
Re:Ganja.js: Geometric Algebra Generator for JavaScript, C++... by throwaway2245 on Friday December 18, 2020 @07:53PM (#25473934)
I didn't give any metric.

By yours, semen is perfectly legal in several countries (and a number of states in the US). That doesn't make it appropriate as a name in an educational setting.

Or, "Today we are going to be using Wine" doesn't need quite so much careful disambiguation.

Re:Ganja.js: Geometric Algebra Generator for JavaScript, C++... by dj_mc_merlin on Friday December 18, 2020 @11:50PM (#25475136)
> semen is perfectly legal in several countries (and a number of states in the US)

Ah, yes, Illinois made semen illegal in 1923, as we all know. I now run around hiding from the cops.

Re:Ganja.js: Geometric Algebra Generator for JavaScript, C++... by jessaustin on Friday December 18, 2020 @08:05PM (#25473999)
What educational setting, primary school? Congratulations on your precocious children!
[dead]
Re:Ganja.js: Geometric Algebra Generator for JavaScript, C++... by LocalH on Saturday December 19, 2020 @08:43AM (#25477333)
Yes, please, let's continue the race to the bottom where anything that could possibly offend anyone, anywhere, is excised and removed from usage.
Re:Ganja.js: Geometric Algebra Generator for JavaScript, C++... by wishinghand on Saturday December 19, 2020 @01:44AM (#25475624)
What language is that? And that issue appears for a number of words in a variety of different languages. While it’s not exactly a minefield matrix, is it really so bad that the makers of a thing don’t know how to check the meaning of their word in every language?
Re:Ganja.js: Geometric Algebra Generator for JavaScript, C++... by starmonger999 on Saturday December 19, 2020 @02:51AM (#25475879)
Urdu/Hindi. So your basically excluding about 2 billion right off the bat. And as for your other point, it's not like the word just happened to be offensive, he deliberately sought out something he knew would be controversial.
Re:Ganja.js: Geometric Algebra Generator for JavaScript, C++... by egghese on Saturday December 19, 2020 @05:42AM (#25476566)
I am an Indian and knows Hindi. I am curious to know how it is offensive or an insult. And among students it may earn some giggles and nothing more. And for South India, which probably has the infrastructure to use a library like this, Hindi isn't even the medium for communication.
Re:Ganja.js: Geometric Algebra Generator for JavaScript, C++... by enkimute on Saturday December 19, 2020 @06:09AM (#25476675)
Thanks for this background info. I also agree with your assessment - so far its just gotten some giggles and maybe even some extra attention from students who are not always easy to motivate when it comes to math. Its also racked up quite a few references in scientific publications (as its the only library offering these types of easy visualizations) - so it does appear most can appreciate it for the silly joke it was meant to be.
Re:Ganja.js: Geometric Algebra Generator for JavaScript, C++... by arpa on Saturday December 19, 2020 @03:02AM (#25475934)
That's interesting. Could you please elaborate how it is an insult? Genuinely curious.
Re:Ganja.js: Geometric Algebra Generator for JavaScript, C++... by haskman on Saturday December 19, 2020 @03:17AM (#25476016)
It's not. Ganja could mean either marijuana or "bald" depending on how you pronounce it. Not offensive or an insult which would "exclude 2 billion people" either way.