Forum Discussions - Codetown2024-03-28T13:54:44Zhttps://codetown.com/forum/topic/list?feed=yes&xn_auth=no&sort=mostRecentBe Careful What You Wish Fortag:codetown.com,2019-08-08:2197786:Topic:1126442019-08-08T10:56:40.744ZMichael Levinhttps://codetown.com/profile/MichaelLevin
<p><a href="https://www.apnews.com/bc2f19097a4c4fffaa00de6770b8a60d" rel="noopener" target="_blank"><img class="align-center" src="https://storage.ning.com/topology/rest/1.0/file/get/3413898804?profile=RESIZE_710x"></img></a></p>
<p></p>
<p><span><a href="https://www.apnews.com/bc2f19097a4c4fffaa00de6770b8a60d" rel="noopener" target="_blank">Interesting</a>. Ask Elon Musk what scares him about AI. Watch the <a href="https://youtu.be/ycPr5-27vSI" rel="noopener" target="_blank">Joe Rogan interview</a>. Be careful what you wish for. AI knows you better than you know yourself. Don’t bother wondering if it’s…</span></p>
<p><a href="https://www.apnews.com/bc2f19097a4c4fffaa00de6770b8a60d" target="_blank" rel="noopener"><img src="https://storage.ning.com/topology/rest/1.0/file/get/3413898804?profile=RESIZE_710x" class="align-center"/></a></p>
<p></p>
<p><span><a href="https://www.apnews.com/bc2f19097a4c4fffaa00de6770b8a60d" target="_blank" rel="noopener">Interesting</a>. Ask Elon Musk what scares him about AI. Watch the <a href="https://youtu.be/ycPr5-27vSI" target="_blank" rel="noopener">Joe Rogan interview</a>. Be careful what you wish for. AI knows you better than you know yourself. Don’t bother wondering if it’s true. It’s true.</span></p>
<p></p>
<p><span><a href="https://youtu.be/ycPr5-27vSI">https://youtu.be/ycPr5-27vSI</a> (The Joe Rogan podcast with Elon Musk)</span></p>
<p></p>
<p><span>Consider this: What if a <a href="https://www.mbtionline.com/" target="_blank" rel="noopener">Myers-Briggs test</a> was run on everyone who applied for a permit to buy a gun or a concealed carry permit? Of course, that violates constitutional rights here in the United States to own a gun because it’s too subjective.<span class="Apple-converted-space"> </span></span></p>
<p></p>
<p><span>What if a Myers-Briggs test was run on everyone who applied for a job, or a lease, or a voters certificate, or the right to have a child...or shop at Walmart? The list goes on. It’s endless.<span class="Apple-converted-space"> </span></span></p>
<p></p>
<p><span>Elon runs <a href="https://www.neuralink.com" target="_blank" rel="noopener">Neuralink</a>. It’s a fascinating idea. What if it were reversed and piped your thoughts into a computer?<span class="Apple-converted-space"> </span></span></p>
<p></p>
<p><span>Bryan Johnson is the co-founder of Braintree, purchased by PayPal, and creator of Kernal, a startup whose goal is to enhance human cognition. <a href="https://kernel.co/">https://kernel.co/</a></span></p>
<p></p>
<p><span>“We know if we put a chip in the brain and release electrical signals, that we can ameliorate symptoms of Parkinson's,” Johnson told The Verge in an interview late last year. (Johnson also confirmed Musk’s involvement with Neuralink.) “This has been done for spinal cord pain, obesity, anorexia… what hasn’t been done is the reading and writing of neural code.” Johnson says Kernel’s goal is to “work with the brain the same way we work with other complex biological systems like biology and genetics.” (from <a href="http://www.theverge.com/2017/2/22/14631122/kernel-neuroscience-bryan-johnson-human-intelligence-ai-startup" target="_blank" rel="noopener">The Verge</a>)</span></p>
<p></p>
<p><span>What if your answer was recorded every time the check out clerk at the grocery store asked you whether you prefer paper or plastic?</span></p>
<p></p>
<p><span>“Are you a member? Type in your member number for a discount.”</span></p>
<p></p>
<p><span>“Click this link to see your past purchases.”</span></p>
<p></p>
<p><span>“Add item to your public wish list.”</span></p>
<p></p>
<p><span>“Click this link to see your browsing history.”</span></p>
<p></p>
<p><span>Elon’s answer to the AI question in the Rogan interview is regulation. Watch the <a href="https://youtu.be/ycPr5-27vSI" target="_blank" rel="noopener">interview</a>. It was a costly interview:</span></p>
<p></p>
<p><span><a href="https://youtu.be/ycPr5-27vSI">https://youtu.be/ycPr5-27vSI</a></span></p>
<p></p>
<p><span>Larry Ellison was <a href="https://codetown.com/video/oracle-ceo-larry-ellison-talks-google-apple-and-the-nsa" target="_blank" rel="noopener">interviewed</a> by Charlie Rose: 4:30 “The great thing is we live in a democracy.”<span class="Apple-converted-space"> </span></span></p>
<p><span><a href="https://codetown.com/video/oracle-ceo-larry-ellison-talks-google-apple-and-the-nsa">https://codetown.com/video/oracle-ceo-larry-ellison-talks-google-apple-and-the-nsa</a></span></p>
<p></p>
<p><span>Think about that when you decide whether it’s worth your time to vote or run for office.</span></p>
<p></p>
<p><a href="https://www.apnews.com/bc2f19097a4c4fffaa00de6770b8a60d">https://www.apnews.com/bc2f19097a4c4fffaa00de6770b8a60d</a></p>
<p><span><a href="https://www.mbtionline.com/">https://www.mbtionline.com/</a></span></p>
<p><span><a href="https://www.neuralink.com">https://www.neuralink.com</a></span></p>
<p><span><a href="https://www.theverge.com/2017/3/27/15077864/elon-musk-neuralink-brain-computer-interface-ai-cyborgs">https://www.theverge.com/2017/3/27/15077864/elon-musk-neuralink-brain-computer-interface-ai-cyborgs</a></span></p>
<p><span><a href="http://www.theverge.com/2017/2/22/14631122/kernel-neuroscience-bryan-johnson-human-intelligence-ai-startup">http://www.theverge.com/2017/2/22/14631122/kernel-neuroscience-bryan-johnson-human-intelligence-ai-startup</a></span></p>
<p><span><a href="https://en.m.wikipedia.org/wiki/Personality_test">https://en.m.wikipedia.org/wiki/Personality_test</a></span></p>
<p><span><a href="http://enneagramtypetest.com/">http://enneagramtypetest.com/</a></span></p>
<p><span><a href="https://www.themuse.com/advice/14-free-personality-tests-thatll-help-you-figure-yourself-out">https://www.themuse.com/advice/14-free-personality-tests-thatll-help-you-figure-yourself-out</a></span></p> Error trying to use Fragmenttag:codetown.com,2017-10-10:2197786:Topic:579872017-10-10T13:38:16.614ZRobert Sobolhttps://codetown.com/profile/RobertSobol
<p>I am new to Android. I have been working thru some examples in a book called Head First Android Development. I entered a small program using fragments and get a Casting Error.</p>
<p></p>
<p>cannot cast andoid.app.fragment to com.hilights.rsobol.workout.WorkoutDetailFragment</p>
<p></p>
<p>I am hoping someone can download the attached zip file and show me the error of my ways. It is most likely a simple error that someone with some experience can see.</p>
<p></p>
<p>Thank you in advance…</p>
<p>I am new to Android. I have been working thru some examples in a book called Head First Android Development. I entered a small program using fragments and get a Casting Error.</p>
<p></p>
<p>cannot cast andoid.app.fragment to com.hilights.rsobol.workout.WorkoutDetailFragment</p>
<p></p>
<p>I am hoping someone can download the attached zip file and show me the error of my ways. It is most likely a simple error that someone with some experience can see.</p>
<p></p>
<p>Thank you in advance for your help,</p>
<p>Rob</p>
<p>rsobol@hilightsinc.com</p> Fragment Syntax Problemtag:codetown.com,2017-10-10:2197786:Topic:577882017-10-10T13:32:52.923ZRobert Sobolhttps://codetown.com/profile/RobertSobol
<p>My name is Rob Sobol.</p>
<p></p>
<p>I have been working through a book called Head First Android Development.</p>
<p>I hit a syntax error in a simple exercise that uses one fragment. I have been trying to figure out the error for days. I am hoping some in the forum can download the attached project and show we where I went wrong.</p>
<p>'Inconvertible types; cannot cast 'android.app.Fragment' to 'com.hilights.rsobol.workout.WorkoutDetailFragement'</p>
<p>It most likely is an obvious error…</p>
<p>My name is Rob Sobol.</p>
<p></p>
<p>I have been working through a book called Head First Android Development.</p>
<p>I hit a syntax error in a simple exercise that uses one fragment. I have been trying to figure out the error for days. I am hoping some in the forum can download the attached project and show we where I went wrong.</p>
<p>'Inconvertible types; cannot cast 'android.app.Fragment' to 'com.hilights.rsobol.workout.WorkoutDetailFragement'</p>
<p>It most likely is an obvious error that a newbie like me cannot see.</p>
<p></p>
<p>Thank you in advance for your support,</p>
<p>Rob</p>
<p>rsobol@hilightsinc.com</p> Hadoop getting old?tag:codetown.com,2017-04-10:2197786:Topic:561252017-04-10T21:41:59.403ZMichael Levinhttps://codetown.com/profile/MichaelLevin
<p>An article just came out in InfoWorld about trends, which is always an interesting subject. Funny, they said Hadoop wasn't hot. Spark is. It's a good read. <a href="http://www.infoworld.com/article/3188464/application-development/21-hot-programming-trends-and-21-going-cold.html">http://www.infoworld.com/article/3188464/application-development/21-hot-programming-trends-and-21-going-cold.html</a></p>
<p>An article just came out in InfoWorld about trends, which is always an interesting subject. Funny, they said Hadoop wasn't hot. Spark is. It's a good read. <a href="http://www.infoworld.com/article/3188464/application-development/21-hot-programming-trends-and-21-going-cold.html">http://www.infoworld.com/article/3188464/application-development/21-hot-programming-trends-and-21-going-cold.html</a></p> What's functional programming, anyway?tag:codetown.com,2016-02-21:2197786:Topic:540982016-02-21T19:11:05.998ZMichael Levinhttps://codetown.com/profile/MichaelLevin
<p>Can you believe people are still trying to come up with a good definition or explanation of what functional programming is? Paul Krill is a journalist with InfoWorld. Here's an article he just wrote: <a href="http://www.infoworld.com/article/3033912/application-development/functional-languages-what-they-are-where-theyre-going.html">http://www.infoworld.com/article/3033912/application-development/functional-languages-what-they-are-where-theyre-going.html</a> </p>
<p></p>
<p>"A function,…</p>
<p>Can you believe people are still trying to come up with a good definition or explanation of what functional programming is? Paul Krill is a journalist with InfoWorld. Here's an article he just wrote: <a href="http://www.infoworld.com/article/3033912/application-development/functional-languages-what-they-are-where-theyre-going.html">http://www.infoworld.com/article/3033912/application-development/functional-languages-what-they-are-where-theyre-going.html</a> </p>
<p></p>
<p>"A function, Odersky says, is a piece of code that maps inputs to outputs and has no other effects beyond that. "It's the mathematical definition of function we are using here. Sometimes these functions are called 'pure,' to distinguish them from, say, functions in C." A functional language focuses on programming with pure functions, making it easy and powerful to do so, says Odersky, who founded Typesafe, the provider of the Typesafe JVM application development platform.</p>
<p>Functional programming can be combined with other paradigms, he notes. "For instance, functional goes really well with object-oriented. Scala is a functional language in that sense. I agree that just having lambdas does not make a language functional; it is necessary but not sufficient."</p> Santafe Collegetag:codetown.com,2016-01-08:2197786:Topic:537372016-01-08T21:04:53.391ZDan Lackeyhttps://codetown.com/profile/DanLackey37
<p>Santafe just added a new BAS bachelor's program of study. </p>
<p>5651 Programming</p>
<p>Santafe just added a new BAS bachelor's program of study. </p>
<p>5651 Programming</p> The advantages of a RESTfull web-based APItag:codetown.com,2015-10-04:2197786:Topic:531752015-10-04T15:59:39.893ZKevin Neelandshttps://codetown.com/profile/KevinNeelands
<p>I need to get a better handle on the advantages of a RESTful web-based API. People tell me they scale better than other methods, but I don't see how they reduce database access or have any other feature that helps handle large amounts of traffic. The RESTful naming convention certainly helps keep them organized and 'orthoganal' , so if you DO have a web API it makes sense to keep it RESTful, but my main question is - if you don't plan on your database being accessed from anything other…</p>
<p>I need to get a better handle on the advantages of a RESTful web-based API. People tell me they scale better than other methods, but I don't see how they reduce database access or have any other feature that helps handle large amounts of traffic. The RESTful naming convention certainly helps keep them organized and 'orthoganal' , so if you DO have a web API it makes sense to keep it RESTful, but my main question is - if you don't plan on your database being accessed from anything other that the server/client apps you write yourself, is their any advantage?</p> Using SQL with Node,.jstag:codetown.com,2015-10-04:2197786:Topic:533322015-10-04T15:55:40.036ZKevin Neelandshttps://codetown.com/profile/KevinNeelands
<p>All the tutorials and books for node.js seem to use Mongo as the database. I am not sold on 'document' databases and would like to know how difficult it is to use any version for plain old tried-and-true SQL with Node.js.</p>
<p>Does anybody have any experience in this area?</p>
<p>All the tutorials and books for node.js seem to use Mongo as the database. I am not sold on 'document' databases and would like to know how difficult it is to use any version for plain old tried-and-true SQL with Node.js.</p>
<p>Does anybody have any experience in this area?</p> Storing Sensitive Data ( like SSNs )tag:codetown.com,2014-04-24:2197786:Topic:498272014-04-24T20:54:42.350ZKevin Neelandshttps://codetown.com/profile/KevinNeelands
<p>We might have to store Social Security Numbers. We REALLY don't want to do this in our own database, we'd like some external 'vault' service that stores them encrypted and getting to them is difficult. Does anyone have any ideas along these lines?</p>
<p>We might have to store Social Security Numbers. We REALLY don't want to do this in our own database, we'd like some external 'vault' service that stores them encrypted and getting to them is difficult. Does anyone have any ideas along these lines?</p> Oracle Embedded MOOC w/ Raspberry PItag:codetown.com,2014-04-10:2197786:Topic:498122014-04-10T16:35:13.917ZChris Schaeferhttps://codetown.com/profile/ChrisSchaefer
<p>If your interested in playing with Java on Raspberry PI - another round of the "Oracle Massive Open Online Course: Develop Java Embedded Applications Using a Raspberry Pi" is starting May 19th. You can find more details and <a href="https://blogs.oracle.com/java/entry/oracle_massive_open_online_course?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+orana+(OraNA)" target="_blank">register here</a>. Should be fun!</p>
<p></p>
<p>Register soon and be sure to get the required…</p>
<p>If your interested in playing with Java on Raspberry PI - another round of the "Oracle Massive Open Online Course: Develop Java Embedded Applications Using a Raspberry Pi" is starting May 19th. You can find more details and <a href="https://blogs.oracle.com/java/entry/oracle_massive_open_online_course?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+orana+(OraNA)" target="_blank">register here</a>. Should be fun!</p>
<p></p>
<p>Register soon and be sure to get the required hardware in advance if you don't already have everything. They sell a prepackaged bundle, but looks like stock won't arrive for 15-20 business days (last I saw).</p>
<p></p>
<p></p>