Go to advanced search

by ag123
Sat Jul 20, 2019 7:59 am
Forum: C/C++
Topic: I dont get it... Why is everyone from science schools so obsessed with Perl and Python when we got C?
Replies: 303
Views: 11462

Re: I dont get it... Why is everyone from science schools so obsessed with Perl and Python when we got C?

Java - write once, debug everywhere! The opposite of that is: Java, that's C++ without the ammunition and the smoking weapon. You don't get the same level of opportunity to create pointer errors with Java because there's a single, clean, clearly defined interface for passing data between methods. W...
by ag123
Sat Jul 20, 2019 6:58 am
Forum: C/C++
Topic: I dont get it... Why is everyone from science schools so obsessed with Perl and Python when we got C?
Replies: 303
Views: 11462

Re: I dont get it... Why is everyone from science schools so obsessed with Perl and Python when we got C?

Basic was never meant to be majestic but rather as simple as possible while at the same time being all purpose. Note that in addition to being easy to learn, it was important for Basic to be easy to implement. This is because the original Dartmouth computer-literacy project specified that the under...
by ag123
Fri Jul 19, 2019 4:12 pm
Forum: C/C++
Topic: I dont get it... Why is everyone from science schools so obsessed with Perl and Python when we got C?
Replies: 303
Views: 11462

Re: I dont get it... Why is everyone from science schools so obsessed with Perl and Python when we got C?

c++ is good it is catching up with java with things like boost https://www.boost.org/ and poco https://pocoproject.org/ you nearly has an SDK like encyclopedic library as for python, below python is c & c++, and that can further hook that up to superpower cuda or opencl driven super computers and th...
by ag123
Thu Jul 18, 2019 8:53 am
Forum: Java
Topic: Rasbperry, JVM, Java and Arm Jazelle #HELP#
Replies: 8
Views: 3372

Re: Rasbperry, JVM, Java and Arm Jazelle #HELP#

Jazelle has little if anything to do with java from an 'end user' perspective https://en.wikipedia.org/wiki/Jazelle you can run java apps on Rpi so long as you install a JVM on it. https://elinux.org/RPi_Java_JDK_Installation and java isn't really an easy platform to deal with 'low level' stuff such...
by ag123
Thu Jul 18, 2019 8:27 am
Forum: Beginners
Topic: web server on raspberry pi
Replies: 2
Views: 173

Re: web server on raspberry pi

thanks! node.js is an interesting use case i'd likely try that out. for what is worth tomcat works alright but is 'heavy' and if one use the oracle's jvm, i think oracle may consider that 'non free' usage. but there is openjdk as an alternative. c/c++ is a little raw, but it seemed poco is pretty go...
by ag123
Thu Jul 18, 2019 7:45 am
Forum: Beginners
Topic: i have a tight buget. is the pi 3 worth buying or should i just buy the 4
Replies: 29
Views: 1908

Re: i have a tight buget. is the pi 3 worth buying or should i just buy the 4

normally the consideration of using pi 3 or pi 4 isn't too much about budget rather than the intended use i think the pi4 is pretty much a small mini desktop pc replacement given its speeds and prowess but if it is in some niche use cases e.g. monitoring and logging slow moving temperatures, the pi4...
by ag123
Thu Jul 18, 2019 7:25 am
Forum: Beginners
Topic: web server on raspberry pi
Replies: 2
Views: 173

web server on raspberry pi

i'm pretty much a newbie in raspberry i've seen the conventional web servers installation https://www.raspberrypi.org/documentation/remote-access/web-server/apache.md https://thepi.io/how-to-set-up-a-web-server-on-the-raspberry-pi/ as for myself i actually setup and run tomcat (java servlet based on...
by ag123
Mon Jan 09, 2017 5:53 pm
Forum: General discussion
Topic: Heatsink
Replies: 9
Views: 1971

Re: Heatsink

you may like to do some tests with and without the heatsink if u feel u're unlikely to encounter situations running parallel intense loads, chances are u could make do without a heatsink, the main thing is it'd throttle down when it hits its temperature limit as for myself i did some tests and i'm u...
by ag123
Wed Jan 04, 2017 2:41 pm
Forum: General discussion
Topic: Logging in as Root via SSH
Replies: 35
Views: 7636

Re: Logging in as Root via SSH

Although sudo seems popular, it has always seemed less secure to me than having a separate root password. How is typing the same user-level password twice more secure than having a completely different password for root access? Aside from the debates, I'd guess In /etc/sudoers, add this line Defaul...
by ag123
Wed Jan 04, 2017 2:19 pm
Forum: General discussion
Topic: script at boot?
Replies: 11
Views: 1560

Re: script at boot?

use the booted flag on a ram disk it will be cleared on reboot. but systemd is the way to go agreed! that's an even better idea actually putting a tmpfs entry in /etc/fstab would do the trick https://wiki.archlinux.org/index.php/Tmpfs linux & r-pi has really come of age, with 10 mil R-pi & counting...
by ag123
Wed Jan 04, 2017 2:03 pm
Forum: General discussion
Topic: Need help with Pi3 temperature management
Replies: 12
Views: 3664

Re: Need help with Pi3 temperature management

pi 3 is fun because u don't really need to overclock it, it is pushed to the performance limits (similar to overclocked) & u'd just need to find the solution to cool it down :lol:
by ag123
Wed Jan 04, 2017 1:44 pm
Forum: General discussion
Topic: script at boot?
Replies: 11
Views: 1560

Re: script at boot?

The script doesn't start at all. I want to script to run on bash only on the first time and I don't want it to run whenever bash opens again. ok here is a cheap hack, just thoughts not tested or if it'd work :lol: BOOTED=$HOME/.booted00 if [ ! -e $BOOTED ] ; then touch $BOOTED echo "1) continue to ...
by ag123
Wed Jan 04, 2017 12:46 pm
Forum: General discussion
Topic: Need help with Pi3 temperature management
Replies: 12
Views: 3664

Re: Need help with Pi3 temperature management

there are many threads and articles about the 'fire breathing pi 3' :lol: http://makezine.com/2016/03/02/raspberry-pi-3-not-halt-catch-fire/ accordingly 80 degrees from /opt/vc/bin/vcgencmd measure_temp may literally be 100 deg C measured on the surface here is what i'm doing, https://www.raspberryp...
by ag123
Wed Jan 04, 2017 12:03 pm
Forum: General discussion
Topic: Logging in as Root via SSH
Replies: 35
Views: 7636

Re: Logging in as Root via SSH

In general, permitting remote login as root is discouraged. The reason behind this is because there is malware which tries to log in by guessing the username and password. Since it is known that root is a valid username on Unix-like systems, then only the password needs to be guessed which is easie...
by ag123
Tue Jan 03, 2017 5:25 pm
Forum: General discussion
Topic: Deciding to take the plunge
Replies: 5
Views: 1371

Re: Deciding to take the plunge

i recommend the Raspberry Pi 3 Model B https://www.raspberrypi.org/products/raspberry-pi-3-model-b/ this board has fast hardware quad core ARM A53 cpu / soc among the PIs, search the web and u'd probably find comparisons showing its cpu performance vs other PIs has many usb host ports, has ethernet,...
by ag123
Thu Dec 22, 2016 8:45 am
Forum: General discussion
Topic: RPi 3 SoC at nearly 100 °C, reporting 80 °C
Replies: 238
Views: 98083

Re: RPi 3 SoC at nearly 100 °C, reporting 80 °C

i'm trying to cool my hot pi 3 too :lol: i think much of the higher power consumption is that we transits to superscalar processor could be a large factor. it possibly means *a large number more* transistors and that those transistors are all running to make super-scalar possible. hence, it *draws m...
by ag123
Wed Dec 21, 2016 3:42 pm
Forum: General discussion
Topic: Pi3 Configuration, Overclocking, Stability Testing & Cooling
Replies: 11
Views: 30769

Re: Pi3 Configuration, Overclocking, Stability Testing & Coo

my own current trials i found some rather good ideas including a case like this offered for sale on ebay http://www.ebay.com/itm/Transparent-Clear-Case-Enclosure-Box-Cooling-Fan-for-Raspberry-Pi-3-2-Model-B-/301727422137 not affliated with those case sellers but i'm looking for a thermal solution fo...
by ag123
Sun Dec 18, 2016 12:48 pm
Forum: General discussion
Topic: Rpi with onboard EMMC storage
Replies: 19
Views: 20458

Rpi with onboard EMMC storage

hi would RPi release an official board with on-board flash storage, e.g. EMMC storage? i'd think betw 4-8 GB would be adequate but of course the bigger the better e.g. 32 GB :lol: on board eMMC not only makes it more convenient to use R-Pi, it is easier to get started for newbies, simply power up an...

Go to advanced search