Tomas Linhart

Ranch Hand
+ Follow
since Nov 26, 2014
Tomas likes ...
VI Editor Java Ubuntu
Cows and Likes
Cows
Total received
2
In last 30 days
0
Total given
0
Likes
Total received
11
Received in last 30 days
0
Total given
5
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Tomas Linhart

Hi,

I'd like to ask about the future of Android. Do you think Android will stay the most used mobile OS, and if so, where you see the reasons? Where will Android evolve, what new features are the going to be in the near future?

And question about the book - is there any ongoing project in the book that shows whole path of Android development, or are the concepts explained separately?

Thanks,
Tomas
6 years ago
Can you be more specific please? What parameters and what request (i.e. to what command) are you talking about? Thanks.
Thanks for answer, I guess I'd have to solve it another way then. What you think would be the "cleanest" solution for my requirement? One that I can think of is not to create new command copyRequest, but use the createRequest command with a templateNumber=1234567890 parameter, which would read the requisition data and prefill the form.
Hi,

I'm using Front Man 1.6.2. Is there a way to use redirectToCommand of CommandContext, so that the parameters are sent using POST method? Or is this a bad idea by nature and I should accomplish my needs other way.

To describe what I want: I have an application for creation of purchasing requisitions. So far I have these commands - createRequest to create new requisition, showRequest to show details of requisition and viewRequests to show a list of requisitions created by logged requester. CreateRequest forwards to view newRequest, where form is shown to enter header and item details of new requisition. The form is posted to the same command i.e. createRequest and in case there is an error creating the requisition, it forwards back to view newRequest (otherwise to showRequest). So that the user can just fix the errors, the form fields reuse posted data using ${param} and ${paramValues}. Now I'd like to implement an option to copy existing requisition to a new one (i.e. take it as a template). My idea is to reuse as much as I can - create new command copyRequest that takes requisition number as an parameter, reads the data, stores them as parameters and simply redirects to command createRequest. (Where it shows the filled form for the first time as there was no submit yet.)

Thanks.

Regards,
Tomas
Thanks Tim, that's basically what I thought after spending a couple of hours searching the Google. I just wanted to know if I didn't miss something.
6 years ago
Hi,

I have an application running on Tomcat that uses basic authentication for login. In Tomcat server.xml, I have JNDI realm defined. After the login, I want to retrieve some information about the logged in user from the LDAP server (Active Directory). (I use request.getRemoteUser() to get the logged in user.) That's going to happen in the servlet filter and I'll store the information in a form of Java Bean in the session. In the filter class, I can create the LdapContext, provide it the binding parameters and do the search and get the information. But I wonder if there is a way not to duplicate the connection parameters and reuse the JNDI realm definition in the Tomcat configuration instead.

Thanks.
Tomas
6 years ago
Hi,

I'd like to ask a couple of questions about Python and the book itself.

1) I have been programming in different languages for about 15 years, but have no experience with Python. Can I still gain from the book, or should I pick some "Python for XXX programmers" book?
2) What's the learning curve for Python if you could compare with other languages?
3) Python seems to be the second language of choice for data scientists (R being the first). Why do you think this is true and do you think learning Python is worthy for someone who wants to start with data science?

Thanks.

Regards,
Tomas
6 years ago
Thanks, Bear, for the reply, if I have a chance and time, I'll learn jQuery, so I don't just copy paste anymore :-)
Hi,

I have one "simple" question. I used jQuery once or twice for some single-purpose part of an application (and it was mainly copy-paste-modify scenario), so I don't really have any experience with jQuery. But I've heard a lot about it and it seems it's some kind of de-facto standard in web application development. My question is, what all can jQuery do for me? From what I gathered so far, I feel that it's just a wrap-up for the basic JavaScript, so that it decreases the amount of work that developer has to spend on the frontend side of the application. But is this the correct perception? Where lies the true power of jQuery?

Thanks.
Tomas
Hi,

I got my e-book today! It looks great and also due to it's format it seems to be a perfect companion for a way to/from work :-)
Thank you guys!

Tomas
6 years ago
Awesome! :-) I really look forward reading the book. Big thanks to the Book promos team and Kathy for her inspiring answers.
6 years ago
Thank you for your answer, Kathy. Well, it seems the book is definitely something I'd like to read :-) Something a bit different from what I thought it would be, but in a good way.

If there were a secret subtitle, it would be: "how to actually get better at virtually anything, and potentially an order of magnitude faster..."


This subtitle reminds me of Josh Kaufman's book "The first 20 hours - How to learn anything... fast!". Maybe you share some ideas, or at least the goal? :-) Also, you know Daniel Kahneman's "Thinking, fast and slow"? Not exactly the same topic as your book, but my by-now favourite "brain science" book. Gave me a lot of explanations on how our brains work and how can it often trick us.
6 years ago
Hi Kathy,

after reading the summary of the book at Amazon, I'm still a bit confused what's this book about. My assumption is that it's about beeing successfull in a competition of others doing more or less the same as you do (in general). If I'm correct, who is the target audience of the book? Who can gain the most of it? I've read quite a lot of managerial books about the topic. The books are fine to read (I like the most books from Hammer and Goldratt), but actually there's nothing new in them - they repeat thoughts known for decades and suffer from the halo effect. Something tells me your book is different. I'd like to know where it differs ;-) Also, in couple of points, what you thing are the key ingredients to make users (our customers) really happy?

Thanks,
Tomas
6 years ago
That's interesting point, Jayesh. I guess this is some sort of game. Developers are tempted to emphasize their hard skills, because they assume it's what is wanted from them on such position. Personalists are a bit further - they constitute the demand side. So it will take some time, I believe, until aligns.
6 years ago