This week's book giveaway is in the Artificial Intelligence and Machine Learning forum.
We're giving away four copies of Transfer Learning for Natural Language Processing (MEAP) and have Paul Azunre on-line!
See this thread for details.
Win a copy of Transfer Learning for Natural Language Processing (MEAP) this week in the Artificial Intelligence and Machine Learning forum!

paul nisset

Ranch Hand
+ Follow
since May 13, 2009
Cows and Likes
Cows
Total received
2
In last 30 days
0
Total given
0
Likes
Total received
22
Received in last 30 days
0
Total given
7
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by paul nisset


Hi,
I  noticed you wrote another book just on Fargate . What is Fargate and it's role with Kubernetes?
thanks,
Paul
Hi,
Different programmers have different strengths and weaknesses. Is there a common/recurrent issue that you've seen that your book addresses  ?

thanks,
Paul
3 weeks ago
Consider a Hashmap with the course id as a key .
In this situation ,you need a way of prioritizing courses that is not necessarily in key order ,so your logic might involve overriding equals() where prerequisites come into play  .
3 weeks ago
Hi,

I have a ViewPager that iterates through a series of questions,creates  a page for each question and then,
adds a dynamically created radio group for each page in the ViewPager .

Each page represents  a multiple choice question with the answers being a recorded as a RadioButton in a RadioGroup being checked .

The problem I'm having is I can't figure out  way to clear the each radio group's checked button
ie myRadioGroup.clear() .

After I click the "save" button it recreates each view with the radioGroup button that is checked  .

When a button is clicked initially  the radio button's value gets recorded in an external array.
When I click 'Save' that array gets persisted to the database and cleared out ready for the next series of questions.

The ViewPager uses fragments and by default only keeps the last two created fragment views accessible .
the result of this is that if I 5 pages in myviewpager ,I can clear out the last two pages but
for pages 1 through 3 ,I can't clear the checked button in that page's  radiogroup.

I can change the behavior of the ViewPager by using viewPager.setOffscreenPageLimit(5) .
This effectively creates a cache for the 5 fragment views.
I can then clear the radio buttons on all 5 pages .

For 5 pages ,this is not a problem. For a 100 pages or 1000 pages,it will probably cause resource issues with the app.

Is there a way to programmatically clear out these buttons without caching all the pages and fragment views?




1 month ago
Hi Michael,
From the table of contents, your book looks like it covers every aspect of a Blockchain App.  As someone who doesn't know very much about the entire process ,that's  great.
When people talk about Blockchain applications they tend to be referring to Etherium and Smart  Contracts. I was wondering does the Bitcoin domain have a similar infrastructure ?
No one really writes about  that very much. If not , how are Bitcoin transactions handled programatically ?

Thanks,
Paul
1 month ago
Hi ,
JavaScript seems an odd choice for AI or Machine Learning applications.
What would be the use case using JavaScript instead of Python for a Machine Learning application?

Thanks,
Paul

make the environment load them at deploy time.



By  deploy time ,do you mean in an external bash(or something similar) deployment script ? I'm not sure how to do that .
Do you have any examples of this in the book?

I've authenticated to external servers using SAML2 .I'm guessing that AWS Secrets or other providers use the same sort of certificate mechanism to authenticate.

Thanks.
3 months ago

That either involves connecting to a database for which your app needs the password first or hard coding a table in your source code (don't do this).
3 months ago
Hi,
What would your alternative be to using properties files for information like database or server passwords for application authentication ?

thanks,
Paul  
3 months ago
If the object has inherent vulnerabilities ,how would passing it to a service help?
What would be the workflow of that strategy ?

It seems to make more sense to check vulnerabilities in Domain objects at design time rather than run time.
3 months ago

I installed Docker on a Linux virtual machine on that desktop and it worked fine, at least for some academic work.



I think running Docker within a Linux VM is the way to go rather than using Docker For Windows or Docker Toolbox but ,as Lucian mentioned, if you need to interact with your containers directly from Windows and you have a lot of memory maybe those tools are the way to go.
3 months ago
I went through a bad/time wasting experience  with Docker for Windows on a Windows 10 laptop.
The laptop has 8GB ram and could barely handle Docker for Windows. Docker for Windows is just a resource/memory hog even with an empty container running on it.
I was using Hyper-V . It was an extremely frustrating waste of time . If you just want to see Docker running ,you can try it out and see it running but don't count on being able to do anything remotely useful with it.

I came to the conclusion that Docker for Windows is not a viable solution for running containers on Windows. Maybe Docker Toolbox works but as far as I'm concerned Docker for Windows 10 was not "seamless".  It was a complete joke.

You might have better luck by creating a Linux virtual machine on your Windows box and installing the Linux Docker on that but don't plan on it interacting with your Windows OS in any sort of a useful way.
3 months ago