Earlier quoted context omitted.
Not necessarily all . It’s possible to use PHP to stream a file to the output. It’s how things like `download.php` on some websites work.
But that's not what file_get_contents does.
Automate any tasks that require multiple entries of data in a browser
31–40 of 42 posts
Re: Automate any tasks that require multiple entries of data in a browser
#32I'm seeing an error on the homepage: > Warning: file_get_contents( https://vimeo.com/api/v2/video/466939644.php ): failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden in /home/customer/www/cognifirm.com/public_html/wp-content/plugins/Ultimate_VC_Addons/modules/ultimate_videos.php on line 208 That the site is trying to fetch the contents of a Vimeo page at runtime is quite the code smell!
Just from that one error message we can infer the following issues: 1. Not using the built-in WP_Http class or related helper methods (wp_remote_get) that provide headers, timeouts, useragent, auth, etc. 2. Unserialising remote, untrusted PHP objects (!) (Why does Vimeo provide/encourage this?) 3. Not handling HTTP error response codes. 4. PHP errors are not hidden from users.
I see nothing in the error message to show that this is the case, what am I missing?
Re: Automate any tasks that require multiple entries of data in a browser
#33Earlier quoted context omitted.
I agree the pricing model could be improved and personally think simplification would be best change. Imagine you have a single user subscribe who works inside a big company. They implement whatever process they needed and show a colleague who wants to do that too - either run the same process to build a new one. Your goal in this situation is to rapidly expand adoption inside that company and complex licensing will…
I understand the pricing model of getting in the door that's not where you are going wrong. TRY THIS EXERCISE ACTUALLY LISTEN WHEN PEOPLE ARE TRYING TO HELP YOU. I don't think you understand, I AM your target market for this product and I'm trying to tell you the model makes no sense, you seem to be focussing on the dollar issue. I did NOT say you are priced too high, I said the pricing/usage model does not make SENS…
Hope you are doing okay and find a way to vent your frustrations better than all caps on HN comments.
Re: Automate any tasks that require multiple entries of data in a browser
#34Earlier quoted context omitted.
Just from that one error message we can infer the following issues: 1. Not using the built-in WP_Http class or related helper methods (wp_remote_get) that provide headers, timeouts, useragent, auth, etc. 2. Unserialising remote, untrusted PHP objects (!) (Why does Vimeo provide/encourage this?) 3. Not handling HTTP error response codes. 4. PHP errors are not hidden from users.
> Unserialising remote, untrusted PHP objects (!) (Why does Vimeo provide/encourage this?) I see nothing in the error message to show that this is the case, what am I missing?
a:1:{i:0;a:23:{s:2:"id";i:466939644;s:5:"title";s:17:"Cognifirm intro 3";s:11:"description";s:0:"";s:3:"url";s:27:"https://vimeo.com/466939644";s:11:"upload_date";s:19:"2020-10-10 16:14:03";s:15:"thumbnail_small";s:49:"https://i.vimeocdn.com/video/972928988_100x75.jpg";s:16:"thumbnail_medium";s:50:"https://i.vimeocdn.com/video/972928988_200x150.jpg";s:15:"thumbnail_large";s:46:"https://i.vimeocdn.com/video/972928988_640.jpg";s:7:"user_id";i:112487323;s:9:"user_name";s:12:"Per Damgaard";s:8:"user_url";s:31:"https://vimeo.com/user112487323";s:19:"user_portrait_small";s:55:"https://i.vimeocdn.com/portrait/defaults-blue_30x30.png";s:20:"user_portrait_medium";s:55:"https://i.vimeocdn.com/portrait/defaults-blue_75x75.png";s:19:"user_portrait_large";s:57:"https://i.vimeocdn.com/portrait/defaults-blue_100x100.png";s:18:"user_portrait_huge";s:57:"https://i.vimeocdn.com/portrait/defaults-blue_300x300.png";s:21:"stats_number_of_likes";i:0;s:21:"stats_number_of_plays";i:111;s:24:"stats_number_of_comments";i:0;s:8:"duration";i:109;s:5:"width";i:1920;s:6:"height";i:1080;s:4:"tags";s:0:"";s:13:"embed_privacy";s:8:"anywhere";}}
It's designed to be directly passed to unserialize($str) which is an incredibly dangerous thing to do with potentially unsafe input.This is perhaps the strangest API design I've ever seen and these data could have easily been returned and parsed as JSON.
Re: Automate any tasks that require multiple entries of data in a browser
#35Each one of those blue icons is a PNG > 1MB. The page is loading for slowly for me. For example. https://cognifirm.com/wp-content/uploads/2020/10/Cognifirm_w...
Re: Automate any tasks that require multiple entries of data in a browser
#36we're building more technology and supporting less of it. the future will include a lot of obsolescence (planned + unplanned), and 'approximate compatibility' services like this one may have a bigger role than we want
Re: Automate any tasks that require multiple entries of data in a browser
#37Coincidentally there is another post on the front page talking about you should "buy not build." Bit of a misleading site name.
Side note: are there any places on the web where people just post and comment on personal engineering and CS projects they're working on and not necessarily trying to sell? I'm having a hard time finding any active ones :-(
Re: Automate any tasks that require multiple entries of data in a browser
#38Patent title: "A method for automatically presenting to a user online content based on the user's preferences as derived from the user's online activity"
Reading into the patent it seems to be a user tracking algorithm for content suggestion. The description seems overly-broad and generic.
He also added: "Also because we have not started in implement out AI yet So the focus should not be on that part now,"
So this is a patent that is not being used yet although it is included prominently on Cognifirm marketing material.
More info: https://patentscope.wipo.int/search/en/detail.jsf?docId=WO20...
Re: Automate any tasks that require multiple entries of data in a browser
#39I reached out to learn more about the patent mentioned on this site. Per Damgaard Husted responded by linking to https://www.dkpto.dk/media/7607/patent-aarsregister-2017.pdf Patent title: "A method for automatically presenting to a user online content based on the user's preferences as derived from the user's online activity" Reading into the patent it seems to be a user tracking algorithm for content suggestion. The…
I like discussions and critique, and almost all of what you have said in this forum is true, and your reflections are valuable learnings for us. Please don't take this remark as a signal that I am not open to feedback because that is what we are seeking, and I prefer the negative because that is where you learn the most.
Re: Automate any tasks that require multiple entries of data in a browser
#40I reached out to learn more about the patent mentioned on this site. Per Damgaard Husted responded by linking to https://www.dkpto.dk/media/7607/patent-aarsregister-2017.pdf Patent title: "A method for automatically presenting to a user online content based on the user's preferences as derived from the user's online activity" Reading into the patent it seems to be a user tracking algorithm for content suggestion. The…
Per Damgaard Husted her with a clarification to this remark. First of all, I would like to thank you all for the valuable feedback that we have got from you for the last 24 hours. It means everything to us. This being said, I feel like this Patent comment is making us look dishonest. So here is the deal. I hold an AI patient that we are currently not using in the product as it is now because it is not AI-based. We me…
I'm interested in your product so I'll definitely check it out again in future once the feature set has been improved.