ByteCode.News
Submit RSS Atom Sign in

Back to the channels

#java

  1. NeXeN dreamreal: the romans began the custom of the tribe. you had various geological and family groups in the conquerored areas to pull from, and it was not fair to pull from any area unevenly, so the tribe was formed as a unit of designation like a legion but it described swathes of people irrespective of class. before you only had class based groupings
  2. NeXeN when they looked down their noses at us german barbarians they called us tribe folk, and we much obliged to fit the stereotype to make them scared
  3. NeXeN same as we do today looking at the people in the amazon who will definitely pick the meat off your bones over a bottle of yac
  4. NeXeN so tribalism is just the organized not being like me
  5. dreamreal NeXeN:the concept of the tribe long predated the romans - or etruscans - and tribalism's required compliance mechanic is a necessary thing, but has limits, especially in the modern world
  6. dreamreal and I was pointing out the tribal mechanic as a neutral thing, although I find it usually harmful considering how the tribes work *today*
  7. NeXeN well i'm glad you agree with my point then, having so sleuthfully sniffed out the indistinction
  8. dreamreal I routinely offend whatever tribe I happen to be incidentally associated with :D
  9. NeXeN i prefer to think of them has hive mind not tribe mind. it's not their idosyncracy, but their ability to all do the dumb thing together
  10. dreamreal sure. I call them egregores, not really tribes; tribes are actually *more* healthy than egregores are but we tend to listen to egregores more
  11. NeXeN that's good, more like a lion and a pride, as the single lion will run the little males off, and they have to go spread out to find mates to keep genetics not inbred
  12. dreamreal You might not believe this, but I've written a lot about egregores :D
  13. NeXeN at least with a tribe you get the village idiot and the wise man, so that you know who to listen to
  14. NeXeN i believe it, i didn't know what an egregore was until you spoke it into existance just now, but i can infer much about them
  15. nmourey Can anyone give me a one or two liner on how to connect to a mariadb in Java?
  16. ernimril nmourey, https://mariadb.com/docs/connectors/mariadb-connector-j/about-mariadb-connector-j
  17. javabot ernimril's title: "About MariaDB Connector/J Guide | Connectors | MariaDB Documentation"
  18. ernimril nmourey, what part are you having a problem with?
  19. nmourey Just basic connection and create a db. Is there a pastbin that I can use?
  20. nmourey Short method 5~6 lines
  21. nmourey ~pastebin
  22. javabot Please paste your code and any errors online. For runnable classes, try https://ideone.com/ . For general code and errors, use https://gist.github.com or https://dpaste.org/
  23. nevet Discover gists
  24. jreicher "create a db"?
  25. nmourey Here is a paste of both the sql and the error. https://gist.github.com/NathanMourey/607caef8f70fcb868ad72d266da9dba4
  26. nevet Java problem.
  27. nmourey I haven't gotten to creating the db yet.
  28. jreicher Aren't you just missing a closing brace? I don't know if you pasted the whole file but that seems to be what the compiler is saying
  29. dreamreal Exeception, too
  30. dreamreal you may want to spell "Exception" properly
  31. dreamreal if you're using netbeans, let the IDE help you spell. And I'm not sure this is an architecture you want, but you seem to be learning; doing it the wrong way is a good way to learn.
  32. dreamreal MedInit() is not a great method name. Consider doing the JDBC tutorial, and you may want to do a Java refresher too
  33. jreicher nmourey: it might also be worth adding that your errors here are unrelated to mariadb. There is a kind of "hierarchy" of errors, and syntax errors are the first. It is usually not worth looking at anything else until they are fixed, as it confuses the issue.
  34. dreamreal nmourey: and I don't say any of this to be down on you - just make sure you're progressing sanely. Don't flail. Read the error messages, which are TELLING you what the problem is.
  35. dreamreal Maybe not well, but that's a problem with pretty much every ALGOL descendant. :/
  36. dreamreal also note that ant may not be the best tool in your toolbox. It's the netbeans default, but this is a poor choice made for valid historical reasons on netbeans' part.
  37. dreamreal I'm not telling you to CHANGE, just be aware that you're using tooling that is helping you less than it could, and will acquire skills that are less transferable than they should be.
  38. dreamreal The GOOD side of that is when and if you DO move to good tooling you'll appreciate it a lot more than others will :D
  39. nmourey Got it. I fixed to spelling and added the missing '{' Thanks.