Inspect - network section ( please explain what is in the picture) - inspect

Please check this image and let me know why these sections are here

You are filtering to only show XHR requests.
Of the 32 requests that the network inspector captured, only 2 (one for simulator and one for header) are XHR requests.
Those two requests use 2.6KB of the 2.0MB total traffic the network inspector captured.
If you want to see a list of all requests, click the "All" button just to the left of "XHR".

Related

How to use filters in the wireshark?

I try to capture http traffic with Wireshark and cant implement filters.
For example, I need filtered traffic by URL. I found solution in the tutorial https://www.wireshark.org/docs/man-pages/wireshark-filter.html
So I try to follows but have the error syntax error in the filter expression or invalid capture filter:
How to correctly use filters in the Wireshark?
Step – 1: Select correct interface
You need to choose the interface you're sniffing data from. If you are using wireless router to connect internet, then select the Wi-fi: en0 option.
If you are confused with many options, please remove unwanted connected devices to reduce the options, also open any YouTube video so that you can see the traffic fluctuation on your internet link interface. Note that straight line next to interface means no active traffic on that interface.
(Refer below video for detail information:
https://www.youtube.com/watch?v=1wB3ku4TSLY)
Step-2 : Design correct filter
To apply correct filter, you should know the public IP address or port (or both). In your case, open cmd prompt (windows user) and Nslookup your URL to find the ip address
(Refer video for detail information : https://www.youtube.com/watch?v=5DzG2hKAZ9U)
Hence your filter is “ip.addr == 104.26.11.240”
Step-3 : Apply filter
Instead of “http contains “Google”” please Enter “ip.addr == 104.26.11.240” without double quotes.
And hit the enter key, your red filter Colour become green & you can see at the bottom
packets : (number1) . Displayed : (number2)
number1- total number of packets captured on interface
number2 - relevant number of packets on interface of www.wireshark.org
Step-4 : save packets
Save only relevant traffic (5 packets) and exclude the unwanted traffic (397 packets).
Click on file
Click on exports specified packets
Select filename & path
Select format pcapng
First you need to choose the interface you're sniffing data from. If you wish to sniff the the wireless data then select the Wi-fi: en0 option, then when the interface is sniffing and parsing the data you can then use the filters as you wish.
That area is for a capture filter, not a display filter. If you remove your text, you should see that it indicates, "Enter a capture filter ...". The area for entering a display filter is at the top of the screen where it indicates, "Apply a display filter ... <Ctrl-/>".
As the name suggests, capture filters are applied during capturing and use a different syntax than Wireshark's display filters, which are applied after packets have already been captured when working with a capture file. For more information on capture filter syntax, refer to the pcap-filter man page.
For more information on Wireshark display filters, refer to section 6.4. Building Display Filter Expressions in the Wireshark User's Guide.

In SAP UI5 `List` the "count-indicator" [ item-N / total-M ] is missing below the "More" button

I'm developing software for 40+ years but I'm absolutely new to SAP UI5, so maybe this is very basic or a trivial problem but half a day of searching the internet brought no results:
In a Master-Detail View (defined in xml) I want to display a list of items with growing=true, growingThreshold=50 and growingScrollToLoad=false as a List.
In principle it got everything working OK now. But there is a tiny glitch, not essential, more in the category of a "nice to have":
All the examples I've seen so far show something like "[ 50 / 107 ]" below the "More" button. But in my program it is missing. I'm very sure the reason is __count is not included in the response sent from the Odata-Service implementation.
Testing directly with the SAP Gateway Service Builder (/SEGW) shows to include the count in the response $inlinecount=allpages needs to be appended to the service URI. And here it works fine - once I add this to the URI the count is included, when I leave it out or set it to none there is no count included.
Therefore the problem seems not to be in the service implementation. (At least the __count field is present or not present as expected. And I assume this is what enables the "[ # / # ]" indicator.)
When the request is then sent from the controller (implemented in JavaScript) this part is not added to the service URI, despite the OData-Model is created with defaultCountMode: "sap.ui.model.odata.CountMode.InlineRepeat". On the "Network" page of Chrome's developer tools I don't see the $inlinecount=allpages appended and also the "[ 50 / 107 ]" (or whatever is appropriate) is not shown with the "More" button.
I checked with the Chrome developer tools immediately after creating the Odata-Model if my setting in the OData-Model takes effect – and it does. And I checked once more before a request is made based on this OData-Model – and it is still there.
My only idea now is it might have something to do with the fact the request originates from the XML-view (ie. the JavaScript code created on behalf of it) and it might be using a different Odata model in which that option is not set.
How can I test for this?
Any other ideas?
Maybe an internationalization issue? (The trigger-text for displaying more entries is set to "Weiter" in German language. Maybe also the "[ # / # ]" parts needs to be re-defined elsewhere too?
The answer in the comment of Boghyon Hoffmann solved the problem:
[Use] defaultCountMode: "InlineRepeat" instead of adding a fully qualified name in string.

Connecting a dimension to a URL - Tableau

I've built a dashboard in Tableau (9.1), and in it I have a dimension of "Landing Page" with a URL (another field).
I want that when the user uses the dashboard in the web interface and clicks on a specific landing page (Let's say - I have a bar graph that shows number of view for each LP - in this case, "pressing on a landing page" means pressing on the bar that represents that LP), that a new tab will open with that URL.
I've tried Dashboard Actions - but it only worked in the Tableau Desktop (when I pressed on it - in the tooltip there was a hyperlink to the LP). When I tried it in the web interface, It addresses me to a partial tableau-server URL, back-slash, and the URL for the LP. Also, after pressing 2-3 bars, the view gets messed up and an error shows.
So my question is - has anyone tried using the URL actions?
Or maybe you have a better way to make the connection between the LP dimension and it's URL (maybe pressing directly on the LP in the dimension column)?
Thank you!
have you tried looking into articles that reference Table of Contents using Tableau?
http://kb.tableau.com/articles/knowledgebase/creating-table-contents-navigate-other-dashboards

ios: when I do a pagination in UITableview

I want to do pagination in UITableView.
For example,
If I show you 20 article
Do I need to send a 20 times HTTP Request ?
=> return 1 data row
DO I need to send a 1 times HTTP Request()
=> return 20 data row
This is a little bit tricky. Probably you don't know about 'lazy loading'. This is the choice in this regard. Before saying the reasons, lets see the problems of two options you provided.
Consider 2nd option: if you want 20 articles at a times. Then you have to wait to all data of these 20 articles. If once all 20 articles downloaded successfully then only user can see a article. Otherwise, user have to wait until it download. Which makes a user boring.
Consider the 1st option: it will reduces the 2nd option problem. But it still remains other problem.if user scrolling the table cell to see a specific article then the table cell will stack because in background thread downloading continue so UI will hang.
3rd option:download 1 by 1 items with lazy loading(like Facebook ). If data comes user will see article otherwise cell will empty but UI will never stack/ hang.
You can use these method of tableview delegate
- (void)scrollViewDidScroll:(UIScrollView *)scrollView
When your scroll reach at 20 you can call web service, these process done again when reach 40 etc.

twitter: share link with parameters

I have a share button on my site.
But I need to share link with parameters, and each time parameters will be different (I need to track user who is sharing, etc.)
For example need to share link like http://mySite.com/page?userId=111&someParam=222
I can share this well, but how can I force count to work correct?
if I set
data-url="http://mySite.com/page?userId=111&someParam=222"
data-counturl="http://mySite.com/page/"
I am getting count 0 always. How to get this work?
From http://dev.twitter.com/pages/tweet_button,
"The count box shows how many times the URL has been Tweeted."
Your problem is you simply have the url and counturl mixed up. Change url to the short one, for display purposes - that's the one people will see. Use the counturl for the one with all the parameters, to ensure they go to the right place with the parameters intact.
I suspect the reason your count kept showing zero tweets is because you have a different (unique) url as your primary url each time it is tweeted, so each tweet is the first time that url (including its parameters) was shared.
Twitter now lets you send the url through data attributes. This works perfectly for me and should work for you out of the box!
The button (check out data-url):
Tweet
The twitter javascript snippet (from https://dev.twitter.com/docs/tweet-button)
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="https://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>

Resources