Data script CGI

Processing Data. A script is a program that controls a program on your Web server. Using a script, you can format responses for a particular application, summarize them on a page that’s returned to the site visitor, or do practically anything else with the data. ... See Creating Aliased Folders and Setting the CGI-BIN Directory. If the script ... CGI uses two methods to pass data between the browser and the web server, GET and POST. The GET method passes data in the URL and is the method employed here. The web server will pass environment variables into the execution environment of the CGI shell script which also may be used. Data may be passed as a parameter to a cgi script by putting the data at the end of the script's URL, after a `+' sign. This method of passing data may only be used if the data is a constant value, i.e., the same data will be passed every time the script is run. Simple CGI Program: Here is a simple program to understand the working of CGI Programming in Perl. Here, we will be getting inputs in the HTML program and then run the CGI script for the resulting web page. Since, HTML determines a number of input fields which we can use for passing the user data to the CGI program. By placing counter.cgi and count.txt in the cgi-bin directory, you can run the script. All that the script does is generate a page that says, 'The current count is: X,' where X increments once each time you run the script. Try running it several times and watch the content of the page change! Name is the identifier for the text input field in the form (each input field on a form should have a unique identifier), and John+Smith is a typical name that might be entered on the form. Note that the '+' replaces the space character. From this example, you can see that the basic process of setting up a form and getting data from a form into a CGI script is fairly straightforward.

PowerShell for CGI Scripting

2020.09.24 12:59 theirpuppet PowerShell for CGI Scripting

I have a need to get certain data from a web-request (URL). So I started looking at how to run PowerShell scripts as CGI scripts. I started with IIS, but am happy to use any other reputable web server software (such as Apache).
Effectively, I implemented the HandlerMapping settings from https://stackoverflow.com/questions/23727232/using-powershell-as-a-cgi-binary-in-iis-express
I continue to get an issue with empty headers (The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are ""). I can guess that the PowerShell script output was not getting back to IIS.
Has anyone here implemented a working configuration with any web server?
Thanks in advance!
submitted by theirpuppet to PowerShell [link] [comments]


2020.09.23 13:33 malornwsx Play FusionFall via Wine [GUIDE]

Play FusionFall via Wine [GUIDE]
\ - originally posted via* /fusionfall sub-channel via /reddit site. Because the posts were redacted meaning the general public is unable to view I could access the content & forward here to our new sub-channel /fusionfall2
X - https://bugs.winehq.org/show_bug.cgi?id=45713
https://appdb.winehq.org/objectManager.php?sClass=application&iId=19046
{official user statements via WineHQ Forums}
https://preview.redd.it/655bti0y3wo51.png?width=342&format=png&auto=webp&s=6ac863cf63f421ec35c529c4c67084b801f682ff

FusionFall Retro: fails to launch

Bug 45713 - FusionFall Retro: fails to launch
Status: NEW
AppDB: Show Apps affected by this bug
Product: Wine
Component: -unknown
Version: 3.14
Hardware: x86-64 Linux
See Also:
Regression SHA1:
Distribution: Ubuntu
X - https://bugs.winehq.org/show_bug.cgi?id=45713
{official user statements via WineHQ Forums}
Stellarspace 2018-08-26 09:47:38 CDT
Created attachment 62144 [details]
Upon getting the error message, I exit Terminal to kill Wine.
The launcher allows me to log into my account, but when the launcher downloads the files necessary to play the game, it doesn't launch. Unity Web Player displays an error message stating that Unity Web Player needs to be updated. It works on Windows correctly, but not in Wine. The game uses a custom version of Unity Web Player 2.x.x.
Fabian Maurer 2018-08-26 10:12:43 CDT
I get a crash with Win7, and a whitescreen with XP, but not this error. Are you running in a clean WINEPREFIX?
Fabian Maurer 2018-08-26 10:46:17 CDT
Ok, after downloading and installing webplayer from https://unity3d.com/de/webplayer, I get the same error. But this also seems to happen to windows users, can't test on windows right now.
Stellarspace 2018-08-26 11:34:19 CDT
(In reply to Fabian Maurer from comment #1) > I get a crash with Win7, and a whitescreen with XP, but not this error.
> > Are you running in a clean WINEPREFIX? I created this script to create a clean WINEPREFIX.
rm -vr ~/.wine32
WINEPREFIX=~/.wine32 WINEARCH=win32 wineboot --init
WINEPREFIX=~/.wine32 WINEARCH=win32 winetricks -q vcrun2015 vcrun2013 d3dx11_43 d3dcompiler_43
WINEPREFIX=~/.wine32 WINEARCH=win32 winetricks -q win7
wget https://cdn.fusionfalluniverse.com/launcheULInstaller.exe
WINEPREFIX=~/.wine32 WINEARCH=win32 wine ULInstaller.exe
rm ULInstaller.exe
I am on Ubuntu (Linux). It won't work on macOS because OpenGL 4.5 is not supported.
Stellarspace 2018-08-26 11:35:45 CDT
(In reply to Fabian Maurer from comment #2) > Ok, after downloading and installing webplayer from > https://unity3d.com/de/webplayer, I get the same error. But this also seems > to happen to windows users, can't test on windows right now. The latest version of Unity Web Player does not work for FusionFall Retro. FusionFall Retro uses a custom version of Unity Web Player that is much older than the latest version.
Stellarspace 2018-08-26 11:51:20 CDT(
In reply to Fabian Maurer from comment #5) > Confirming. > > How does it behave on windows? When it's using an older version of > webplayer, shouldn't it skip the update? On Windows, the launcher opens the client, which is called Retro.exe and the client proceeds to download the game resources. There is no error message in the client that displays something like this message: "Failed to update - a newer version of Unity Web Player is required, but the AUTO-UPDATE download failed." It was trying to download http://wp-cartoonnetwork.unity3d.com/ff/big/beta-20111013/autodowload_webplugin_beta/UnityPlayerfusion-2.x.x-win32.zip which is no longer available.
Fabian Maurer 2018-08-26 11:54:14 CDT
How do you know it was trying to download that file?
Stellarspace 2018-08-26 11:55:43 CDT
The launcher installs the version of Unity Web Player it needs (via some sort of script) to the PREFIX when a user clicks the PLAY NOW button for the first time. I even reinstalled the custom version of Unity Web Player with the actual installer and it still displays that message. Unity Web Player loads in Retro.exe and displays that information on the screen.
Stellarspace 2018-08-26 11:57:56 CDT
I'm trying to say that on native Windows, it doesn't try to download or install a Unity Web Player update.
Stellarspace 2018-08-26 12:04:17 CDT
(In reply to Fabian Maurer from comment #7) > How do you know it was trying to download that file? I found a post on the forums that indicates that a user on native Windows was getting the same error message. They uninstalled Unity Web Player and installed it again. Maybe a reinstall isn't good enough. It's too bad the launcher automatically installs Unity Web Player. I don't think I can prevent that from happening without developer assistance.
Fabian Maurer 2018-08-26 12:27:06 CDT
Ok, I got it to work. using wine-staging-3.14.
1) Deleted .wine
2) WINEARCH=win32 winetricks -q vcrun2015 vcrun2013 d3dx11_43 d3dcompiler_43 win7
3) wine ULInstaller.exe
4) Start game, get to the error screen, close program
5) Delete "drive_c/users/fabian/AppData/LocalLow/Unity/WebPlayer" and replace it with "drive_c/users/fabian/Application Data/FusionFall Universe/Games/Retro/WebPlayer"
6) Game starts up now It wasn't properly installing the webplayer, now to investigate why. But first, can you confirm the workaround makes the game work?
Stellarspace 2018-08-26 15:24:17 CDT
(In reply to Fabian Maurer from comment #11) > Ok, I got it to work. > using wine-staging-3.14. >
1) Deleted .wine >
2) WINEARCH=win32 winetricks -q vcrun2015 vcrun2013 d3dx11_43 d3dcompiler_43 > win7 >
3) wine ULInstaller.exe >
4) Start game, get to the error screen, close program >
5) Delete "drive_c/users/fabian/AppData/LocalLow/Unity/WebPlayer" and > replace it with "drive_c/users/fabian/Application Data/FusionFall > Universe/Games/Retro/WebPlayer" >
6) Game starts up now > > It wasn't properly installing the webplayer, now to investigate why. > But first, can you confirm the workaround makes the game work?
Yes, the workaround works. I wrote this to do it automatically:
cd ~/.wine32/drive_c/users/$USEAppData/LocalLow/Unity/ & rm -r WebPlayer mkdir -vp WebPlayer && cp -vr ~/.wine32/drive_c/users/$USEApplication\ Data/FusionFall\ Universe/Games/Retro/WebPlaye\ ~/.wine32/drive_c/users/$USEAppData/LocalLow/Unity/WebPlaye*
Is there a reason the avatar spins around and fires without touching the keyboard and mouse?
Zebediah Figura 2018-08-26 15:27:56 CDT
Is this bug a regression in Staging? If not, let's please move it to the Wine project. It would also be good to know what in Staging is necessary for this game to work, and to mark it as a dependency of this bug.
Stellarspace 2018-08-26 15:41:36 CDT
(In reply to Zebediah Figura from comment #13) > Is this bug a regression in Staging? > > If not, let's please move it to the Wine project. > > It would also be good to know what in Staging is necessary for this game to > work, and to mark it as a dependency of this bug. I was using Wine Staging 3.14 because I thought it would fix the issue of not being able to play the game, but it turns out that the launcher doesn't install Unity Web Player correctly. I will build it using Wine 3.14 to see if I can play the game in the Stable version of Wine.
Stellarspace 2018-08-26 15:58:12 CDT
(In reply to Zebediah Figura from comment #13) > Is this bug a regression in Staging? > > If not, let's please move it to the Wine project. > > It would also be good to know what in Staging is necessary for this game to > work, and to mark it as a dependency of this bug. There is no Wine 3.14 Stable in https://dl.winehq.org/wine-builds/ubuntu/pool/main/ and the client, which is named Retro.exe, crashes in Wine 3.0.2 Stable. It works in 3.14 Staging though, minus the keyboard and mouse issue.
Stellarspace 2018-08-26 16:03:23 CDT
Can we fix the keyboard and mouse issue? The avatar keeps spinning and firing with no keyboard or mouse input. The ENTER key and the Space Bar key work, but W S A D doesn't work.
Fabian Maurer 2018-08-26 16:21:33 CDT
> Can we fix the keyboard and mouse issue? The avatar keeps spinning and > firing with no keyboard or mouse input. The ENTER key and the Space Bar key > work, but W S A D doesn't work. Can't confirm, works for me. Also, this would be a separate issue. u/Zebediah Moving to Wine product and add dependency on issue fixed by staging patchset.
New approach to getting it to work:
1) Compile 32bit wine with needed staging patchset (kernel32-SetFileCompletionNotificationModes)
2) Install and start game until you get to error screen
3) Copy "player" and "mono" folders from "drive_c/users/fabian/Application Data/FusionFall Universe/Games/Retro/WebPlayer" to "drive_c/users/fabian/AppData/LocalLow/Unity/WebPlaye"
4) Start game again, works now.
Stellarspace 2018-08-26 16:28:27 CDT
Alright.
Stellarspace 2018-08-29 08:42:25 CDT
On Windows, Unity Web Player is installed in the following directory: C:\Users\%username%\AppData\LocalLow\Unity\WebPlayer\
The uninstaller is installed in the following directory: C:\Users\%username%\AppData\Local\Unity\WebPlayer\
f Unity Web Player is trying to update, then why not delete the following file: C:\Users\%username%\AppData\LocalLow\Unity\WebPlayer\UnityWebPlayerUpdate.exe
It would no longer try to update, which means it would load normally without moving any files.Comment 20
Stellarspace 2018-08-29 08:58:03 CDT
On Windows, there is no Application Data folder and FusionFall Universe folder is located in the Roaming folder.

X

u/Stellarspace1234
https://github.com/Stellarspace
https://bugs.winehq.org/attachment.cgi?id=62144
https://bugs.winehq.org/attachment.cgi?id=62144&action=edit
{official user statements via WineHQ Forums}
¯\_(ツ)_/¯
\If you wish to learn coding analyzing vast programming languages in general review* X Developer Notice 3 has external resources. If you're a quick learner & proficient with technology you'll understand the concepts & terminologies quickly.

;)

-- ARCHIVE for the GAME & ADDED the LINKS for easy access - http://bit.do/fHZmm + http://bit.do/fGk8s + http://bit.do/fGk8m {FFU Client} + http://bit.do/fGmiW + http://bit.do/fGk8z + http://bit.do/fH3jX + http://bit.do/fGk8C + http://bit.do/fHZmf [via GOOGLE DRIVE]. INCLUDES - #fusionfall data/info files + #fusionfallretro early access + #fusionfalluniverse + #fusionfall:project-revive + other DISCLOSED FUSIONFALL FILES ONLINE [CN]
DEV TEAM [FFU] -
@Bambeptin @Dogon_McBanana @DrawsKem @Funske32 @Kevman95 @KuroArtist @KyraXyreSpace @Lunar_Seastar @MattWavesx @MeModelZenpock @panman_music @przzyfied @RealWilttilt @TechTheNoob @virtanderson @WileyTheKoyote @womayhem #fusionfall #fusionfalllegacy #fusionfalluniverse via TWITTER

GAME CREDITS - https://reddit.com/FusionFall2/comments/hpansf/game_credits_ffu/

submitted by malornwsx to FusionFall2 [link] [comments]


2020.09.20 05:35 pmjm Legacy .exe cgi's

Hi,
For over a decade now, I've maintained an internal website that runs on iis 6 on Windows 2003. It uses cgi scripts that are compiled to .exe, written in delphi.
It's time to deploy a new server and I finally convinced the owner of the company to upgrade to Server 2019 and iis 10. But there is no budget to update the old site, so these cgi exe's still need to work.
I've been messing with settings for 3 days now and I can't get these darn things to execute properly. Does anyone know how to set up proper execution permissions on .exe files that return data to stdout? They write data to ms sql server plus various files & folders throughout the disk (flat MDB files, someone please shoot me) so write permissions are an issue as well.
In theory, it should be the same as making php.exe or perl.exe work, I'm just struggling with it despite following guides on those. I've started over 3x now.
Any pointers would be appreciated.
submitted by pmjm to IIs [link] [comments]


2020.09.19 20:11 nvaliotti Small python script to check application status on CollegeNet

For those late applicants who try to check CollegeNet for status update every day.
I wrote small chunk of code with Python to automate this routine (with Selenium & bs4). Hope this helps!
from selenium import webdriver from bs4 import BeautifulSoup as bs from webdriver_manager.chrome import ChromeDriverManager def check_status(username,password): driver = webdriver.Chrome(ChromeDriverManager().install()) driver.get('https://www.applyweb.com/cgi-bin/ustat?app_code=gatechg') driver.find_element_by_id("j_username").send_keys(username) driver.find_element_by_id ("j_password").send_keys(password) driver.execute_script("document.getElementsByClassName('btn btn-custom')[0].click()") source_data = driver.page_source soup = bs(source_data) skus=soup.find_all('span', {'class':['ufe-ustat-checklist-label']}) status=None for i,x in enumerate(skus): if x.contents[0]=='Application Status': status = x.findNext('dd').contents[0] return status 
submitted by nvaliotti to OMSA [link] [comments]


2020.09.19 01:33 siege801 502 Bad Gateway on Lychee installation

Hi everyone,I've spent far too long looking at this and can't for the life of me figure it out.I have:nginx 1.14.2 Debian Buster 10.5 PHP 7.4Currently, nginx is performing the following roles:Serving Nextcloud Proxying Home Assistant I am trying to add Lychee to my installation. However, everytime I try and access the default page of Lychee I'm given a 502 Bad Gateway error. Sometimes the site log will produce:
2020/09/19 08:38:53 [error] 20269#20269: *5391 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: xx.xxx.xx.xxx, server: images.mydomain.com, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.4-fpm.sock:", host: "images.mydomain.com" 
Output from sudo nginx -T
# configuration file /etc/nginx/nginx.conf: user www-data; worker_processes auto; pid /run/nginx.pid; include /etc/nginx/modules-enabled/*.conf; events { worker_connections 768; # multi_accept on; } http { ## # Basic Settings ## sendfile on; tcp_nopush on; tcp_nodelay on; keepalive_timeout 65; types_hash_max_size 2048; # server_tokens off; # server_names_hash_bucket_size 64; # server_name_in_redirect off; include /etc/nginx/mime.types; default_type application/octet-stream; ## # SSL Settings ## ssl_protocols TLSv1 TLSv1.1 TLSv1.2; # Dropping SSLv3, ref: POODLE ssl_prefer_server_ciphers on; ## # Logging Settings ## access_log /valog/nginx/default.access.log; error_log /valog/nginx/default.error.log; ## # Gzip Settings ## gzip on; # gzip_vary on; # gzip_proxied any; # gzip_comp_level 6; # gzip_buffers 16 8k; # gzip_http_version 1.1; # gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript; ## # Virtual Host Configs ## include /etc/nginx/conf.d/*.conf; include /etc/nginx/sites-enabled/*; ## # Proxy settings for NextCloud ## proxy_connect_timeout 1000; proxy_send_timeout 1000; proxy_read_timeout 1000; send_timeout 1000; } # configuration file /etc/nginx/modules-enabled/50-mod-http-auth-pam.conf: load_module modules/ngx_http_auth_pam_module.so; # configuration file /etc/nginx/modules-enabled/50-mod-http-dav-ext.conf: load_module modules/ngx_http_dav_ext_module.so; # configuration file /etc/nginx/modules-enabled/50-mod-http-echo.conf: load_module modules/ngx_http_echo_module.so; # configuration file /etc/nginx/modules-enabled/50-mod-http-geoip.conf: load_module modules/ngx_http_geoip_module.so; # configuration file /etc/nginx/modules-enabled/50-mod-http-image-filter.conf: load_module modules/ngx_http_image_filter_module.so; # configuration file /etc/nginx/modules-enabled/50-mod-http-subs-filter.conf: load_module modules/ngx_http_subs_filter_module.so; # configuration file /etc/nginx/modules-enabled/50-mod-http-upstream-fair.conf: load_module modules/ngx_http_upstream_fair_module.so; # configuration file /etc/nginx/modules-enabled/50-mod-http-xslt-filter.conf: load_module modules/ngx_http_xslt_filter_module.so; # configuration file /etc/nginx/modules-enabled/50-mod-mail.conf: load_module modules/ngx_mail_module.so; # configuration file /etc/nginx/modules-enabled/50-mod-stream.conf: load_module modules/ngx_stream_module.so; # configuration file /etc/nginx/mime.types: types { text/html html htm shtml; text/css css; text/xml xml; image/gif gif; image/jpeg jpeg jpg; application/javascript js; application/atom+xml atom; application/rss+xml rss; text/mathml mml; text/plain txt; text/vnd.sun.j2me.app-descriptor jad; text/vnd.wap.wml wml; text/x-component htc; image/png png; image/tiff tif tiff; image/vnd.wap.wbmp wbmp; image/x-icon ico; image/x-jng jng; image/x-ms-bmp bmp; image/svg+xml svg svgz; image/webp webp; application/font-woff woff; application/java-archive jar war ear; application/json json; application/mac-binhex40 hqx; application/msword doc; application/pdf pdf; application/postscript ps eps ai; application/rtf rtf; application/vnd.apple.mpegurl m3u8; application/vnd.ms-excel xls; application/vnd.ms-fontobject eot; application/vnd.ms-powerpoint ppt; application/vnd.wap.wmlc wmlc; application/vnd.google-earth.kml+xml kml; application/vnd.google-earth.kmz kmz; application/x-7z-compressed 7z; application/x-cocoa cco; application/x-java-archive-diff jardiff; application/x-java-jnlp-file jnlp; application/x-makeself run; application/x-perl pl pm; application/x-pilot prc pdb; application/x-rar-compressed rar; application/x-redhat-package-manager rpm; application/x-sea sea; application/x-shockwave-flash swf; application/x-stuffit sit; application/x-tcl tcl tk; application/x-x509-ca-cert der pem crt; application/x-xpinstall xpi; application/xhtml+xml xhtml; application/xspf+xml xspf; application/zip zip; application/octet-stream bin exe dll; application/octet-stream deb; application/octet-stream dmg; application/octet-stream iso img; application/octet-stream msi msp msm; application/vnd.openxmlformats-officedocument.wordprocessingml.document docx; application/vnd.openxmlformats-officedocument.spreadsheetml.sheet xlsx; application/vnd.openxmlformats-officedocument.presentationml.presentation pptx; audio/midi mid midi kar; audio/mpeg mp3; audio/ogg ogg; audio/x-m4a m4a; audio/x-realaudio ra; video/3gpp 3gpp 3gp; video/mp2t ts; video/mp4 mp4; video/mpeg mpeg mpg; video/quicktime mov; video/webm webm; video/x-flv flv; video/x-m4v m4v; video/x-mng mng; video/x-ms-asf asx asf; video/x-ms-wmv wmv; video/x-msvideo avi; } # configuration file /etc/nginx/ssl.conf: ssl_certificate /etc/letsencrypt/live/mydomain.com/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/mydomain.com/privkey.pem; # configuration file /etc/nginx/sites-enabled/default: server { server_name mydomain.com; listen 80; listen [::]:80; listen 443 ssl; listen [::]:443 ssl; include ssl.conf; access_log /valog/nginx/access.log; error_log /valog/nginx/error.log; root /vawww/html/; # index.php; } # configuration file /etc/nginx/sites-enabled/hass: map $http_upgrade $connection_upgrade { default upgrade; '' close; } server { listen 443 ssl; listen 80; server_name hass.mydomain.com; access_log /valog/nginx/hass.access.log; error_log /valog/nginx/hass.error.log; include ssl.conf; proxy_buffering off; location / { proxy_pass http://192.168.1.xx:8123; proxy_set_header Host $host; proxy_redirect http:// https://; proxy_http_version 1.1; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection $connection_upgrade; } location /api/websocket { proxy_pass http://192.168.1.xx:8123/api/websocket; proxy_set_header Host $host; proxy_http_version 1.1; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection $connection_upgrade; } } # configuration file /etc/nginx/sites-enabled/lychee: server { listen 80; listen 443 ssl; server_name images.mydomain.com; root /vawww/html/Lychee/public; include ssl.conf; access_log /valog/nginx/lychee.access.log; error_log /valog/nginx/lychee.error.log; index index.php; location / { try_files $uri $uri/ /index.php?$query_string; } # location ~* \.(?:icocssjsgifjpe?gpng)$ { # expires max; # add_header Pragma public; # add_header Cache-Control "public, must-revalidate, proxy-revalidate"; # } # location = /robots.txt { access_log off; log_not_found off; } # location = /favicon.ico { access_log off; log_not_found off; } # location ~ /\. { access_log off; log_not_found off; deny all; } location ~ \.php { fastcgi_index index.php; fastcgi_pass unix:/run/php/php7.4-fpm.sock; include fastcgi_params; } } # configuration file /etc/nginx/fastcgi_params: fastcgi_param QUERY_STRING $query_string; fastcgi_param REQUEST_METHOD $request_method; fastcgi_param CONTENT_TYPE $content_type; fastcgi_param CONTENT_LENGTH $content_length; fastcgi_param SCRIPT_NAME $fastcgi_script_name; fastcgi_param REQUEST_URI $request_uri; fastcgi_param DOCUMENT_URI $document_uri; fastcgi_param DOCUMENT_ROOT $document_root; fastcgi_param SERVER_PROTOCOL $server_protocol; fastcgi_param REQUEST_SCHEME $scheme; fastcgi_param HTTPS $https if_not_empty; fastcgi_param GATEWAY_INTERFACE CGI/1.1; fastcgi_param SERVER_SOFTWARE nginx/$nginx_version; fastcgi_param REMOTE_ADDR $remote_addr; fastcgi_param REMOTE_PORT $remote_port; fastcgi_param SERVER_ADDR $server_addr; fastcgi_param SERVER_PORT $server_port; fastcgi_param SERVER_NAME $server_name; # PHP only, required if PHP was built with --enable-force-cgi-redirect fastcgi_param REDIRECT_STATUS 200; # configuration file /etc/nginx/sites-enabled/nextcloud: upstream php-handler { server unix:/run/php/php7.4-fpm.sock; } server { server_name nextcloud.mydomain.com; listen 80; listen [::]:80; listen 443 ssl; listen [::]:443 ssl; include ssl.conf; access_log /valog/nginx/nextcloud.access.log; error_log /valog/nginx/nextcloud.error.log; root /vawww/html/nextcloud; index index.php; add_header X-Content-Type-Options nosniff; add_header X-XSS-Protection "1; mode=block"; add_header X-Robots-Tag none; add_header X-Download-Options noopen; add_header X-Permitted-Cross-Domain-Policies none; add_header Referrer-Policy no-referrer; add_header X-Frame-Options "SAMEORIGIN"; add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always; fastcgi_hide_header X-Powered-By; location = /robots.txt { allow all; log_not_found off; access_log off; } location = /.well-known/carddav { return 301 $scheme://$host:$server_port/remote.php/dav; } location = /.well-known/caldav { return 301 $scheme://$host:$server_port/remote.php/dav; } client_max_body_size 512M; fastcgi_buffers 64 4K; gzip on; gzip_vary on; gzip_comp_level 4; gzip_min_length 256; gzip_proxied expired no-cache no-store private no_last_modified no_etag auth; gzip_types application/atom+xml application/javascript application/json application/ld+json application/manifest+json application/rss+xml application/vnd.geo+json application/vnd.ms-fontobject application/x-font-ttf application/x-web-app-manifest+json application/xhtml+xml application/xml font/opentype image/bmp image/svg+xml image/x-icon text/cache-manifest text/css text/plain text/vcard text/vnd.rim.location.xloc text/vtt text/x-component text/x-cross-domain-policy; location / { rewrite ^ /index.php; } location ~ ^\/(?:buildtestsconfiglib3rdpartytemplatesdata)\/ { deny all; } location ~ ^\/(?:\.autotestoccissueindiedb_console) { deny all; } location ~ ^\/(?:indexremotepubliccroncore\/ajax\/updatestatusocs\/v[12]updater\/.+oc[ms]-provider\/.+)\.php(?:$\/) { fastcgi_split_path_info ^(.+?\.php)(\/.*)$; set $path_info $fastcgi_path_info; try_files $fastcgi_script_name =404; include fastcgi_params; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_param PATH_INFO $path_info; fastcgi_param HTTPS on; # Avoid sending the security headers twice fastcgi_param modHeadersAvailable true; # Enable pretty urls fastcgi_param front_controller_active true; fastcgi_pass php-handler; fastcgi_intercept_errors on; fastcgi_request_buffering off; } location ~ ^\/(?:updateroc[ms]-provider)(?:$\/) { try_files $uri/ =404; index index.php; } location ~ \.(?:cssjswoff2?svggifmap)$ { try_files $uri /index.php$request_uri; add_header Cache-Control "public, max-age=15778463"; add_header X-Content-Type-Options nosniff; add_header X-XSS-Protection "1; mode=block"; add_header X-Robots-Tag none; add_header X-Download-Options noopen; add_header X-Permitted-Cross-Domain-Policies none; add_header Referrer-Policy no-referrer; # Optional: Don't log access to assets access_log off; } location ~ \.(?:pnghtmlttficojpgjpegbcmap)$ { try_files $uri /index.php$request_uri; # Optional: Don't log access to other assets access_log off; } # pass the PHP scripts to FastCGI server listening on (...) # location ~ \.php$ { try_files $uri =404; fastcgi_split_path_info ^(.+\.php)(/.+)$; # NOTE: You should have "cgi.fix_pathinfo = 0;" in php.ini fastcgi_pass unix:/run/php/php7.4-fpm.sock; fastcgi_index index.php; include fastcgi_params; } } 
If there's more information required to assist, please let me know. I'm 99.99999% positive it's an issue with my fastcgi / php-fpm configuration, but I can't strike it.Thanks so much in advance for any assistance given.
submitted by siege801 to nginx [link] [comments]


2020.09.11 17:15 tommygeee Google Fiber, Netgate SG-3100 periodically fails to get a new WAN IP from DHCP

Hi All,
I have removed my Google Network Box from the equation, and have the PoE fiber jack connected directly to my Netgate SG-3100. I have configured the pfsense box and added VLAN2 with priority 3 on the WAN interface per this article. I can get a DHCP address for my WAN interface manually when I connect to the console port on my SG-3100.
I have noticed that once or twice a day, my internet connectivity stops and I need to re-acquire an address for my WAN interface manually. I suspect that there is some issue with the SG-3100 renewing a lease/getting a new IP. Is there any way I can troubleshoot this? I have tried assigning a static IP, and basically it works until it doesn't, my upstream GW IP changes and then I have to go back to DHCP. I don't know what to look for, but looking in system.log I see a lot of sendto error: 65 and arpresolve: can't allocate llinfo for XXX.XXX.XXX.XXX on mvneta2.2 when this happens.

Here is the system log for today. I had set a static IP address and things on the ISP side changed. I rebooted, and assigned an IP via DHCP.

Sep 11 08:07:44 pfSense rc.gateway_alarm[4990]: >>> Gateway alarm: WANGW_2 (Addr:136.49.0.1 Alarm:1 RTT:1.777ms RTTsd:1.617ms Loss:22%) Sep 11 08:07:44 pfSense check_reload_status: updating dyndns WANGW_2 Sep 11 08:07:44 pfSense check_reload_status: Restarting ipsec tunnels Sep 11 08:07:44 pfSense check_reload_status: Restarting OpenVPN tunnels/interfaces Sep 11 08:07:44 pfSense check_reload_status: Reloading filter Sep 11 08:07:45 pfSense php-fpm[363]: /rc.openvpn: Gateway, none 'available' for inet6, use the first one configured. '' Sep 11 08:07:46 pfSense rc.gateway_alarm[31026]: >>> Gateway alarm: WANGW (Addr:136.49.14.1 Alarm:1 RTT:3.107ms RTTsd:.282ms Loss:21%) Sep 11 08:07:46 pfSense check_reload_status: updating dyndns WANGW Sep 11 08:07:46 pfSense check_reload_status: Restarting ipsec tunnels Sep 11 08:07:46 pfSense check_reload_status: Restarting OpenVPN tunnels/interfaces Sep 11 08:07:46 pfSense check_reload_status: Reloading filter Sep 11 08:07:47 pfSense php-fpm[41538]: /rc.openvpn: Gateway, none 'available' for inet6, use the first one configured. '' Sep 11 08:08:36 pfSense sshd[81786]: user tgeorge login class [preauth] Sep 11 08:08:36 pfSense sshd[81786]: user tgeorge login class [preauth] Sep 11 08:08:36 pfSense sshd[81786]: user tgeorge login class [preauth] Sep 11 08:08:38 pfSense sshd[81786]: user tgeorge login class [preauth] Sep 11 08:08:38 pfSense sshd[81786]: Accepted password for tgeorge from 192.168.1.169 port 51856 ssh2 Sep 11 08:11:28 pfSense login: login on ttyu0 as root Sep 11 08:11:43 pfSense php-cgi: rc.initial.reboot: Stopping all packages. Sep 11 08:11:46 pfSense reboot: rebooted by root Sep 11 08:11:46 pfSense syslogd: exiting on signal 15 Sep 11 08:12:36 pfSense syslogd: kernel boot file is /boot/kernel/kernel Sep 11 08:12:36 pfSense kernel: Copyright (c) 1992-2020 The FreeBSD Project. Sep 11 08:12:36 pfSense kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 Sep 11 08:12:36 pfSense kernel: The Regents of the University of California. All rights reserved. Sep 11 08:12:36 pfSense kernel: FreeBSD is a registered trademark of The FreeBSD Foundation. Sep 11 08:12:36 pfSense kernel: FreeBSD 11.3-STABLE #238 885b1ed26b6(factory-RELENG_2_4_5): Tue Jun 2 17:52:40 EDT 2020 Sep 11 08:12:36 pfSense kernel: [email protected]:/build/factory-crossbuild-245-armv6/obj/armv6/kJlGauaG/arm.armv6/build/factory-crossbuild-245-armv6/sources/FreeBSD-src/sys/pfSense-SG-3100 arm Sep 11 08:12:36 pfSense kernel: FreeBSD clang version 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1) Sep 11 08:12:36 pfSense kernel: CPU: ARM Cortex-A9 r4p1 (ECO: 0x00000000) Sep 11 08:12:36 pfSense kernel: CPU Features: Sep 11 08:12:36 pfSense kernel: Multiprocessing, Thumb2, Security, VMSAv7, Coherent Walk Sep 11 08:12:36 pfSense kernel: Optional instructions: Sep 11 08:12:36 pfSense kernel: UMULL, SMULL, SIMD(ext) Sep 11 08:12:36 pfSense kernel: LoUU:2 LoC:2 LoUIS:2 Sep 11 08:12:36 pfSense kernel: Cache level 1: Sep 11 08:12:36 pfSense kernel: 32KB/32B 4-way data cache WB Read-Alloc Write-Alloc Sep 11 08:12:36 pfSense kernel: 32KB/32B 4-way instruction cache Read-Alloc Sep 11 08:12:36 pfSense kernel: real memory = 2147479552 (2047 MB) Sep 11 08:12:36 pfSense kernel: avail memory = 2073812992 (1977 MB) Sep 11 08:12:36 pfSense kernel: SOC: Marvell 88F6820, TClock 250MHz, Frequency 1600MHz Sep 11 08:12:36 pfSense kernel: Instruction cache prefetch enabled, data cache prefetch disabled Sep 11 08:12:36 pfSense kernel: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs Sep 11 08:12:36 pfSense kernel: wlan: mac acl policy registered Sep 11 08:12:36 pfSense kernel: random: entropy device external interface Sep 11 08:12:36 pfSense kernel: ipw_ibss: You need to read the LICENSE file in /usshare/doc/legal/intel_ipw.LICENSE. Sep 11 08:12:36 pfSense kernel: ipw_ibss: If you agree with the license, set legal.intel_ipw.license_ack=1 in /boot/loader.conf. Sep 11 08:12:36 pfSense kernel: module_register_init: MOD_LOAD (ipw_ibss_fw, 0xc0135c50, 0) error 1 Sep 11 08:12:36 pfSense kernel: ipw_monitor: You need to read the LICENSE file in /usshare/doc/legal/intel_ipw.LICENSE. Sep 11 08:12:36 pfSense kernel: ipw_monitor: If you agree with the license, set legal.intel_ipw.license_ack=1 in /boot/loader.conf. Sep 11 08:12:36 pfSense kernel: module_register_init: MOD_LOAD (ipw_monitor_fw, 0xc0135d00, 0) error 1 Sep 11 08:12:36 pfSense kernel: iwi_bss: You need to read the LICENSE file in /usshare/doc/legal/intel_iwi.LICENSE. Sep 11 08:12:36 pfSense kernel: iwi_bss: If you agree with the license, set legal.intel_iwi.license_ack=1 in /boot/loader.conf. Sep 11 08:12:36 pfSense kernel: module_register_init: MOD_LOAD (iwi_bss_fw, 0xc013f1ec, 0) error 1 Sep 11 08:12:36 pfSense kernel: iwi_ibss: You need to read the LICENSE file in /usshare/doc/legal/intel_iwi.LICENSE. Sep 11 08:12:36 pfSense kernel: iwi_ibss: If you agree with the license, set legal.intel_iwi.license_ack=1 in /boot/loader.conf. Sep 11 08:12:36 pfSense kernel: module_register_init: MOD_LOAD (iwi_ibss_fw, 0xc013f29c, 0) error 1 Sep 11 08:12:36 pfSense kernel: iwi_monitor: You need to read the LICENSE file in /usshare/doc/legal/intel_iwi.LICENSE. Sep 11 08:12:36 pfSense kernel: iwi_monitor: If you agree with the license, set legal.intel_iwi.license_ack=1 in /boot/loader.conf. Sep 11 08:12:36 pfSense kernel: module_register_init: MOD_LOAD (iwi_monitor_fw, 0xc013f34c, 0) error 1 Sep 11 08:12:36 pfSense kernel: ipw_bss: You need to read the LICENSE file in /usshare/doc/legal/intel_ipw.LICENSE. Sep 11 08:12:36 pfSense kernel: ipw_bss: If you agree with the license, set legal.intel_ipw.license_ack=1 in /boot/loader.conf. Sep 11 08:12:36 pfSense kernel: module_register_init: MOD_LOAD (ipw_bss_fw, 0xc0135ba0, 0) error 1 Sep 11 08:12:36 pfSense kernel: ofwbus0:  Sep 11 08:12:36 pfSense kernel: simplebus0:  on ofwbus0 Sep 11 08:12:36 pfSense kernel: simplebus1:  on simplebus0 Sep 11 08:12:36 pfSense kernel: l2cache0:  mem 0x8000-0x8fff on simplebus1 Sep 11 08:12:36 pfSense kernel: l2cache0: cannot allocate IRQ, not using interrupt Sep 11 08:12:36 pfSense kernel: l2cache0: Part number: 0x3, release: 0x9 Sep 11 08:12:36 pfSense kernel: l2cache0: L2 Cache enabled: 1024KB/32B 16 ways Sep 11 08:12:36 pfSense kernel: gic0:  mem 0xd000-0xdfff,0xc100-0xc1ff on simplebus1 Sep 11 08:12:36 pfSense kernel: gic0: pn 0x390, arch 0x1, rev 0x2, implementer 0x43b irqs 192 Sep 11 08:12:36 pfSense kernel: mpic0:  mem 0x20a00-0x20ccf,0x21870-0x21b6f irq 19 on simplebus1 Sep 11 08:12:36 pfSense kernel: mp_tmr0:  mem 0xc200-0xc21f irq 3 on simplebus1 Sep 11 08:12:36 pfSense kernel: Timecounter "MPCore" frequency 800000000 Hz quality 800 Sep 11 08:12:36 pfSense kernel: mp_tmr1:  mem 0xc600-0xc61f irq 4 on simplebus1 Sep 11 08:12:36 pfSense kernel: Event timer "MPCore" frequency 800000000 Hz quality 1000 Sep 11 08:12:36 pfSense kernel: cesa0:  mem 0x90000-0x90fff,0x9d000-0x9dfff irq 1 on simplebus1 Sep 11 08:12:36 pfSense kernel: cesa1:  mem 0x92000-0x92fff,0x9f000-0x9ffff irq 2 on simplebus1 Sep 11 08:12:36 pfSense kernel: spi0:  mem 0x10600-0x1064f irq 5 on simplebus1 Sep 11 08:12:36 pfSense kernel: twsi0:  mem 0x11000-0x1101f irq 7 on simplebus1 Sep 11 08:12:36 pfSense kernel: iicbus0:  on twsi0 Sep 11 08:12:36 pfSense kernel: iic0:  on iicbus0 Sep 11 08:12:36 pfSense kernel: gpio0:  at addr 0xc0 on iicbus0 Sep 11 08:12:36 pfSense kernel: device_attach: gpio0 attach returned 6 Sep 11 08:12:36 pfSense kernel: gpio0:  at addr 0xce on iicbus0 Sep 11 08:12:36 pfSense kernel: gpiobus0:  on gpio0 Sep 11 08:12:36 pfSense kernel: gpioc0:  on gpio0 Sep 11 08:12:36 pfSense kernel: gpio1:  at addr 0xc0 on iicbus0 Sep 11 08:12:36 pfSense kernel: device_attach: gpio1 attach returned 6 Sep 11 08:12:36 pfSense kernel: uart0:  mem 0x12000-0x120ff irq 9 on simplebus1 Sep 11 08:12:36 pfSense kernel: uart0: console (-1,n,8,1) Sep 11 08:12:36 pfSense kernel: uart1: <16550 or compatible> mem 0x12100-0x121ff irq 10 on simplebus1 Sep 11 08:12:36 pfSense kernel: timer0:  mem 0x20300-0x20333,0x20704-0x20707,0x18260-0x18263 on simplebus1 Sep 11 08:12:36 pfSense kernel: timer0: only watchdog attached Sep 11 08:12:36 pfSense kernel: pmsu0:  mem 0x22000-0x22fff on simplebus1 Sep 11 08:12:36 pfSense kernel: mvneta0:  mem 0x30000-0x33fff irq 26 on simplebus1 Sep 11 08:12:36 pfSense kernel: mvneta0: version is 10 Sep 11 08:12:36 pfSense kernel: mvneta0: Ethernet address: 00:08:a2:11:8d:0d Sep 11 08:12:36 pfSense kernel: miibus0:  on mvneta0 Sep 11 08:12:36 pfSense kernel: mv88e151x0:  PHY 1 on miibus0 Sep 11 08:12:36 pfSense kernel: mv88e151x0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, 1000baseSX, 1000baseSX-FDX, auto Sep 11 08:12:36 pfSense kernel: mvneta1:  mem 0x34000-0x37fff irq 27 on simplebus1 Sep 11 08:12:36 pfSense kernel: mvneta1: version is 10 Sep 11 08:12:36 pfSense kernel: mvneta1: Ethernet address: 00:08:a2:11:8d:0e Sep 11 08:12:36 pfSense kernel: mdio0:  on mvneta1 Sep 11 08:12:36 pfSense kernel: e6000sw0:  on mdio0 Sep 11 08:12:36 pfSense kernel: e6000sw0: single-chip addressing mode Sep 11 08:12:36 pfSense kernel: e6000sw0: PHY at port 1 Sep 11 08:12:36 pfSense kernel: miibus1:  on e6000sw0 Sep 11 08:12:36 pfSense kernel: e1000phy0:  PHY 17 on miibus1 Sep 11 08:12:36 pfSense kernel: e1000phy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto Sep 11 08:12:36 pfSense kernel: e6000sw0: PHY at port 2 Sep 11 08:12:36 pfSense kernel: miibus2:  on e6000sw0 Sep 11 08:12:36 pfSense kernel: e1000phy1:  PHY 18 on miibus2 Sep 11 08:12:36 pfSense kernel: e1000phy1: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto Sep 11 08:12:36 pfSense kernel: e6000sw0: PHY at port 3 Sep 11 08:12:36 pfSense kernel: miibus3:  on e6000sw0 Sep 11 08:12:36 pfSense kernel: e1000phy2:  PHY 19 on miibus3 Sep 11 08:12:36 pfSense kernel: e1000phy2: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto Sep 11 08:12:36 pfSense kernel: e6000sw0: PHY at port 4 Sep 11 08:12:36 pfSense kernel: miibus4:  on e6000sw0 Sep 11 08:12:36 pfSense kernel: e1000phy3:  PHY 20 on miibus4 Sep 11 08:12:36 pfSense kernel: e1000phy3: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto Sep 11 08:12:36 pfSense kernel: e6000sw0: CPU port at 5 Sep 11 08:12:36 pfSense kernel: e6000sw0: fixed port at 5 Sep 11 08:12:36 pfSense kernel: e6000sw0: switch is ready. Sep 11 08:12:36 pfSense kernel: etherswitch0:  on e6000sw0 Sep 11 08:12:36 pfSense kernel: ehci0:  mem 0x58000-0x584ff irq 28 on simplebus1 Sep 11 08:12:36 pfSense kernel: usbus0: EHCI version 1.0 Sep 11 08:12:36 pfSense kernel: usbus0 on ehci0 Sep 11 08:12:36 pfSense kernel: mvneta2:  mem 0x70000-0x73fff irq 29 on simplebus1 Sep 11 08:12:36 pfSense kernel: mvneta2: version is 10 Sep 11 08:12:36 pfSense kernel: mvneta2: Ethernet address: 00:08:a2:11:8d:0f Sep 11 08:12:36 pfSense kernel: miibus5:  on mvneta2 Sep 11 08:12:36 pfSense kernel: mv88e151x1:  PHY 0 on miibus5 Sep 11 08:12:36 pfSense kernel: mv88e151x1: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, 1000baseSX, 1000baseSX-FDX, auto Sep 11 08:12:36 pfSense kernel: rtc0:  mem 0xa3800-0xa381f,0x184a0-0x184ab irq 30 on simplebus1 Sep 11 08:12:36 pfSense kernel: rtc0: registered as a time-of-day clock, resolution 1.000000s Sep 11 08:12:36 pfSense kernel: ahci0:  mem 0xa8000-0xa9fff irq 31 on simplebus1 Sep 11 08:12:36 pfSense kernel: ahci0: AHCI v1.00 with 2 6Gbps ports, Port Multiplier supported with FBS Sep 11 08:12:36 pfSense kernel: ahci0: quirks=0x200010<2CH,MRVL_SR_DEL> Sep 11 08:12:36 pfSense kernel: ahcich0:  at channel 0 on ahci0 Sep 11 08:12:36 pfSense kernel: ahcich1:  at channel 1 on ahci0 Sep 11 08:12:36 pfSense kernel: armada_thermal0:  mem 0xe4078-0xe407b,0xe4074-0xe4077 on simplebus1 Sep 11 08:12:36 pfSense kernel: sdhci_fdt0:  mem 0xd8000-0xd8fff,0xdc000-0xdc0ff,0x18454-0x18457 irq 34 on simplebus1 Sep 11 08:12:36 pfSense kernel: sdhci_fdt0: 1 slot(s) allocated Sep 11 08:12:36 pfSense kernel: xhci0:  mem 0xf8000-0xfbfff,0xfc000-0xfffff irq 36 on simplebus1 Sep 11 08:12:36 pfSense kernel: xhci0: 32 bytes context size, 32-bit DMA Sep 11 08:12:36 pfSense kernel: usbus1 on xhci0 Sep 11 08:12:36 pfSense kernel: pcib_ctrl0:  on simplebus0 Sep 11 08:12:36 pfSense kernel: pcib0:  on pcib_ctrl0 Sep 11 08:12:36 pfSense kernel: pci0:  on pcib0 Sep 11 08:12:36 pfSense kernel: pcib1:  on pcib_ctrl0 Sep 11 08:12:36 pfSense kernel: pci1:  on pcib1 Sep 11 08:12:36 pfSense kernel: pcib2:  on pcib_ctrl0 Sep 11 08:12:36 pfSense kernel: pci2:  on pcib2 Sep 11 08:12:36 pfSense kernel: pcib3:  on pcib_ctrl0 Sep 11 08:12:36 pfSense kernel: pci3:  on pcib3 Sep 11 08:12:36 pfSense kernel: cpulist0:  on ofwbus0 Sep 11 08:12:36 pfSense kernel: cpu0:  on cpulist0 Sep 11 08:12:36 pfSense kernel: cpu1:  on cpulist0 Sep 11 08:12:36 pfSense kernel: cryptosoft0:  Sep 11 08:12:36 pfSense kernel: Timecounters tick every 1.000 msec Sep 11 08:12:36 pfSense kernel: mvneta1: link state changed to UP Sep 11 08:12:36 pfSense kernel: spibus0:  on spi0 Sep 11 08:12:36 pfSense kernel: mx25l0:  at cs 0 mode 0 on spibus0 Sep 11 08:12:36 pfSense kernel: mx25l0: device type w25q32jv, size 4096K in 64 sectors of 64K, erase size 4K Sep 11 08:12:36 pfSense kernel: e6000sw0port1: link state changed to DOWN Sep 11 08:12:36 pfSense kernel: e6000sw0port2: link state changed to DOWN Sep 11 08:12:36 pfSense kernel: e6000sw0port3: link state changed to DOWN Sep 11 08:12:36 pfSense kernel: e6000sw0port4: link state changed to DOWN Sep 11 08:12:36 pfSense kernel: usbus0: 480Mbps High Speed USB v2.0 Sep 11 08:12:36 pfSense kernel: usbus1: 5.0Gbps Super Speed USB v3.0 Sep 11 08:12:36 pfSense kernel: ugen0.1:  at usbus0 Sep 11 08:12:36 pfSense kernel: uhub0:  on usbus0 Sep 11 08:12:36 pfSense kernel: ugen1.1:  at usbus1 Sep 11 08:12:36 pfSense kernel: uhub1:  on usbus1 Sep 11 08:12:36 pfSense kernel: uhub1: 2 ports with 2 removable, self powered Sep 11 08:12:36 pfSense kernel: mmc0:  on sdhci_fdt0 Sep 11 08:12:36 pfSense kernel: mmcsd0: 8GB  at mmc0 50.0MHz/8bit/65535-block Sep 11 08:12:36 pfSense kernel: mmcsd0boot0: 4MB partion 1 at mmcsd0 Sep 11 08:12:36 pfSense kernel: mmcsd0boot1: 4MB partion 2 at mmcsd0 Sep 11 08:12:36 pfSense kernel: mmcsd0rpmb: 4MB partion 3 at mmcsd0 Sep 11 08:12:36 pfSense kernel: uhub0: 1 port with 1 removable, self powered Sep 11 08:12:36 pfSense kernel: e6000sw0port1: link state changed to UP Sep 11 08:12:36 pfSense kernel: Release APs Sep 11 08:12:36 pfSense kernel: Trying to mount root from ufs:/dev/diskid/DISK-0A7261D4s2a [rw,noatime]... Sep 11 08:12:36 pfSense kernel: random: unblocking device. Sep 11 08:12:36 pfSense kernel: lo0: link state changed to UP Sep 11 08:12:36 pfSense kernel: e6000sw0port1: link state changed to DOWN Sep 11 08:12:36 pfSense check_reload_status: Linkup starting e6000sw0port1 Sep 11 08:12:36 pfSense check_reload_status: Linkup starting mvneta2 Sep 11 08:12:36 pfSense kernel: mvneta2: link state changed to UP Sep 11 08:12:36 pfSense kernel: vlan0: changing name to 'mvneta2.2' Sep 11 08:12:36 pfSense php-cgi: rc.bootup: Resyncing OpenVPN instances. Sep 11 08:12:36 pfSense kernel: vlan1: changing name to 'mvneta1.100' Sep 11 08:12:36 pfSense kernel: pflog0: promiscuous mode enabled Sep 11 08:12:36 pfSense kernel: done. Sep 11 08:12:37 pfSense sshd[30059]: Server listening on :: port 22. Sep 11 08:12:37 pfSense sshd[30059]: Server listening on 0.0.0.0 port 22. Sep 11 08:12:39 pfSense rc.gateway_alarm[32484]: >>> Gateway alarm: WANGW (Addr:136.49.14.1 Alarm:1 RTT:0.000ms RTTsd:0.000ms Loss:100%) Sep 11 08:12:39 pfSense check_reload_status: updating dyndns WANGW Sep 11 08:12:39 pfSense rc.gateway_alarm[33318]: >>> Gateway alarm: WANGW_2 (Addr:136.49.0.1 Alarm:1 RTT:0.000ms RTTsd:0.000ms Loss:100%) Sep 11 08:12:39 pfSense check_reload_status: Restarting ipsec tunnels Sep 11 08:12:39 pfSense check_reload_status: Restarting OpenVPN tunnels/interfaces Sep 11 08:12:39 pfSense check_reload_status: Reloading filter Sep 11 08:12:39 pfSense check_reload_status: updating dyndns WANGW_2 Sep 11 08:12:39 pfSense check_reload_status: Restarting ipsec tunnels Sep 11 08:12:39 pfSense check_reload_status: Restarting OpenVPN tunnels/interfaces Sep 11 08:12:39 pfSense check_reload_status: Reloading filter Sep 11 08:12:39 pfSense php-cgi: rc.bootup: Default gateway setting Interface wan Gateway as default. Sep 11 08:12:39 pfSense php-cgi: rc.bootup: Gateway, none 'available' for inet6, use the first one configured. '' Sep 11 08:12:39 pfSense kernel: done. Sep 11 08:12:40 pfSense check_reload_status: Linkup starting e6000sw0port1 Sep 11 08:12:40 pfSense kernel: Sep 11 08:12:40 pfSense kernel: e6000sw0port1: link state changed to UP Sep 11 08:13:31 pfSense php-cgi: rc.bootup: sync unbound done. Sep 11 08:13:32 pfSense kernel: done. Sep 11 08:13:33 pfSense kernel: done. Sep 11 08:13:33 pfSense kernel: done. Sep 11 08:13:33 pfSense php-cgi: rc.bootup: NTPD is starting up. Sep 11 08:13:33 pfSense kernel: done. Sep 11 08:13:33 pfSense kernel: done. Sep 11 08:13:33 pfSense check_reload_status: Updating all dyndns Sep 11 08:13:34 pfSense kernel: .... Sep 11 08:13:34 pfSense kernel: .done. Sep 11 08:13:38 pfSense php-cgi: rc.bootup: Creating rrd update script Sep 11 08:13:38 pfSense kernel: done. Sep 11 08:13:38 pfSense kernel: done. Sep 11 08:13:39 pfSense root: /etc/rc.d/hostid: WARNING: hostid: unable to figure out a UUID from DMI data, generating a new one Sep 11 08:13:41 pfSense syslogd: exiting on signal 15 Sep 11 08:13:41 pfSense syslogd: kernel boot file is /boot/kernel/kernel Sep 11 08:13:41 pfSense kernel: done. Sep 11 08:13:42 pfSense php-fpm[363]: /rc.start_packages: Restarting/Starting all packages. Sep 11 08:13:42 pfSense SuricataStartup[5895]: Suricata START for WAN(38533_mvneta2.2)... Sep 11 08:13:43 pfSense getty[13441]: open /dev/ttyv0: No such file or directory Sep 11 08:13:43 pfSense login: login on ttyu0 as root Sep 11 08:14:38 pfSense check_reload_status: Syncing firewall Sep 11 08:14:40 pfSense php-cgi: rc.initial.setlanip: Shutting down Router Advertisment daemon cleanly Sep 11 08:14:40 pfSense kernel: arpresolve: can't allocate llinfo for 136.49.0.1 on mvneta2.2 Sep 11 08:14:40 pfSense kernel: arpresolve: can't allocate llinfo for 136.49.0.1 on mvneta2.2 Sep 11 08:14:40 pfSense check_reload_status: rc.newwanip starting mvneta2.2 Sep 11 08:14:41 pfSense php-cgi: rc.initial.setlanip: Default gateway setting Interface wan Gateway as default. Sep 11 08:14:41 pfSense php-cgi: rc.initial.setlanip: Gateway, none 'available' for inet6, use the first one configured. '' Sep 11 08:14:41 pfSense kernel: arpresolve: can't allocate llinfo for 136.49.0.1 on mvneta2.2 Sep 11 08:14:41 pfSense php-fpm[363]: /rc.newwanip: rc.newwanip: Info: starting on mvneta2.2. Sep 11 08:14:41 pfSense php-fpm[363]: /rc.newwanip: rc.newwanip: on (IP address: 136.49.97.224) (interface: WAN[wan]) (real interface: mvneta2.2). Sep 11 08:14:41 pfSense dhcpleases: /etc/hosts changed size from original! Sep 11 08:14:43 pfSense php-fpm[363]: /rc.newwanip: Default gateway setting Interface wan Gateway as default. Sep 11 08:14:43 pfSense php-fpm[363]: /rc.newwanip: Gateway, none 'available' for inet6, use the first one configured. '' Sep 11 08:14:43 pfSense php-fpm[363]: /rc.newwanip: IP Address has changed, killing states on former IP Address 136.49.14.244. Sep 11 08:14:45 pfSense dhcpleases: /etc/hosts changed size from original! Sep 11 08:14:45 pfSense dhcpleases: Could not deliver signal HUP to process because its pidfile (/varun/unbound.pid) does not exist, No such process. Sep 11 08:14:45 pfSense dhcpleases: kqueue error: unknown Sep 11 08:14:48 pfSense php-fpm[363]: /rc.newwanip: Resyncing OpenVPN instances for interface WAN. Sep 11 08:14:48 pfSense php-fpm[363]: /rc.newwanip: Creating rrd update script Sep 11 08:14:50 pfSense php-fpm[363]: /rc.newwanip: pfSense package system has detected an IP change or dynamic WAN reconnection - 136.49.14.244 -> 136.49.97.224 - Restarting packages. Sep 11 08:14:50 pfSense check_reload_status: Starting packages Sep 11 08:14:51 pfSense php-fpm[51634]: /rc.start_packages: Restarting/Starting all packages. 
submitted by tommygeee to PFSENSE [link] [comments]


2020.08.30 18:10 TheAvogadroConstant [For Hire] Programmer with background in VFX and CGI coding, offering his services to such artists 15$ / hour AE, Blender, Nuke, Natron, C4D, Maya, Houdini, etc

Good day.
I am the author of the one and only FOSS (Free, Open Source) After Effects plugin, Bedlam Noise Apparatus. I wrote this plugin a year and a half ago but I decided not to monetize it. BNA relies on GLSL to generate several types of noise [example work by my friend]. But AE is not the only program I can make plugins for. I can work with almost any VFX/CGI program's API or scripting language. If I don't know it, I'll learn it, and I won't count the hours spent learning them.
I henceforth divide my services into three categories, all 15$ / hr:

1- Scripting: Most CGi/VFX suites have a scripting language that helps easing the development. Through scripting, you are given access to a lot of functions that aren't present through the GUI. For example, with Houdini's scripting language, you can do wonderful things with Fuzzy Login (Fuzzy Login is a kind of logic where nothing is nether true nor false, it leans towards either by a percentage, hence, fuzzy). Or C4D's particle system that relies on scripting for a large quantity of functions. AE has a scripting system too, similar to JavaScript. If you're not in the mood to learn scripting languages of these programs, I can help you.

2- Programming: This is akin to what I did with Bedlam Noise Apparatus. Plugins and extensions. If your suite supports OFX, like Natron or Nuke do, that's even better because OFX is a plugin system that works on various programs. Most VFX and CGI suites have their own plugin APIs. I can only offer light-to-medium plugins, not massive plugins that requries a team to plan and write.

3- Stan-alone: If you need a small, stand-alone program for a limited task, such as data moshing or tracking, I can write one for you. Mostly utilizing OpenCV (for majority of VFX tasks) and OpenGL (for majority of CGI tasks).

I expect two things:

1- I'm not an artist, so I don't see any reason in buying a license for these programs. Save for Blender and Natron and similar software, if you need me to write you a scipr ot a plugin, I need a license. You can revoke it afterwards.

2- I need you to pay attention to the job, relay with me, share your ideas with me, etc. In short, I need your attention and engagement in the job.

I hope my price is fair. Thanks!
submitted by TheAvogadroConstant to forhire [link] [comments]


2020.08.29 22:26 nest-ce-pas-mon-ami [Offer] I am offering my coding skills and experience in VFX and CGI programming to such artists, 10$ / hour only

Hi! I'm Chubak, the author of Bedlam Noise Apparatus, a completely free, open source After Effects plugin which aides you in generating different kinds of noise. I myself am not a VFX artist, but someone made this with it. Neat, huh?
I currently do data programming, extraction, mining, machine learning but I need a side hustle. And I thought to myself "why not do VFX programming again?" so I headed to my favorite job posting board on Reddit, clicked on new thread button, and now I'm writing this.
I offer three kinds of services:
1- Scripting, regardless of the platform. AE, Nuke, Natron, Maya, Blender, C4D, Houdini, etc. Even if I don't know how to script for your program, I will learn it.
2- Programming, regardless of platform. Again, even if I don't know your program of choice's API, I will learn it and I will make an extension or plugin for it. LIGHT STUFF ONLY. If you need an extremely difficult plugin that requires a team, I can't do it for you.
3- Stand-alone vision programs, based on OpenCV (for VFX) or OpenGL (for CGI), written in Rust. If you need something extremely unique done that is possible with the OpenCV library or the OpenGL API, I will do it for you in Rust.

What I require is: 1- A license for the program (except for Blender andNatron), I'm not an artist so I don't need to buy these programs. If you want me to make your a plugin or a script, I need the program for testing, so I need a license. If you're using the hook finger discount, so will I. 2- Your attention. Don't just gimme a task and leave. Communicate with me. I know a little about VFX, I have a Behance page, I know ins and outs of a few programs. But not all of them. I'm not saying you need to hold my hand, no, I'm pretty self-sufficient, but you need to relay forward and backward with me.

I realize that most of you, like me, are freelancers, and due to people eating Chef Batman's soup, you're not making much now. So I work for only 10$ an hour. I will clock in and out on Clockify.me. The sum is paid upon delivery.

Well, are you a VFX or a CGI artist? Do you need a script, program, or a plugin? Let's get to work!
submitted by nest-ce-pas-mon-ami to slavelabour [link] [comments]


2020.08.28 23:46 nest-ce-pas-mon-ami Are Rust's OpenCV bindings production-ready?

Yesterday's post was basically an abortion (I'm so ashamed by it I haven't even checked if someone replied to it yet, and I never will, so if helped me there, please copy-paste your post, if that's n ot a bother) so I'll ask again.
I want into VFX programming, like camera tracking, compositing layers on top of each other, manipulating, and effects using OpenGL. I have experience with Adobe After Effects plugin dev in C++. Currently, to make some dough in the VFX market, you have three options:
1- Go the propriety route, make a plugin for AE, C4D, Maya, Nuke (their own API). I miserably failed at this. I couldn't sell my plugin on a big website because they kept insisting that I fill in a pesky form called BEN-8. Other websites have their lawyers fill this form, but this site was extremely lazy. I wasn't lazy, I'm from Cubyaran.
2- Go the open source route, make an OFX plugin for Natron or Nuke (the OFX API) but you see, VFX artists who use Natron and Nuke don't need plugins. Plugins are usually used by amateurs. CGI and VFX artists who know their shit also know how to program. But..

3- Not enough to make computer vision tools work. They mostly know Python scripting. Not systems programming with languages like C++ or Rust. That's why they need me, and that's why I wanna offer my services to them.

However, I despise C++. Programming with C++ is just not fun. And since I earn 10$ an hour, I'm not really at the level where I can hate my job. So now that I know ALOT about Rust more than I did last week (just wrote this, I know I could have done this in Python faster, but as we all know, the harder the language is, the cooler the programmer is). So I thought, why not use Rust's OpenCV bindings? They exist, but are they production ready?

To be honest, I don't wanna do this as my main job, because it's extremely niche. my main job is data programming. But see, one of our professors in college who used to be a freelancer herself told us to always widen our spectrum, have one main hustle and one or two side hustles. Some of the students were skeptic, but I told them the famous English proverb "Jack of all trades, master of none, still better than master of one" (I'm serious, that's how the saying goes.)

I wanna start by utilizing OpenCV to make a data moshevideo glitcher. And I wanna use Rust's OpenCV bindings for it. Any idea if they're stable or not?
submitted by nest-ce-pas-mon-ami to rust [link] [comments]


2020.08.27 01:21 yoasif Firefox for Android (Fenix) 79 Release - Fennec is unsupported after 11 years

As of Thursday, August 27th, around 4am EST / 10am CEST, the final migration from Fennec to Fenix will occur worldwide.
Please use this megathread for your comments, thoughts and feedback. As always, please respect the rules of /firefox and be kind to one another.

A little history...

Fennec is the long running mobile browser project for non-Apple platforms from Mozilla. First released for Maemo, a now defunct smartphone platform from Nokia, Fennec was later ported to Android in 2011, preceding Chrome on Android by about a year.
Uniquely among mobile browsers, it supported add-ons almost from the start, and was introduced with support for sync and tabbed browsing.

Dropped platforms

If you have an older Android device, you may not get the Fenix update. The minimum version supported by the new Firefox for Android is Android Lollipop.

What is Fenix?

Fenix is the new Firefox for Android. Based on the learnings that the Android team gained from Firefox Focus, Fenix is built on Android Components and GeckoView, more modular implementations of the browser chrome code and the engine, respectively. Like Firefox Focus, Fenix is a faster browser that is easier to build.

New Features

Known missing features

Although Fenix has been in development for over a year, there are still a lot of missing features that existed in the more mature Fennec.
Most of these can be found in the Fennec Transition label in GitHub. Some of the top requests are:
One of the other missing features include the venerable about:config. about:config support in release is at least temporarily dropped. See this comment for some of the reasons why. The larger reason is simply that about:config lives in GeckoView, which embeds the Gecko engine in Fenix. The stuff most people want to change are actually in the browser code, not the engine code, so most about:config options are less interesting than they were in Fennec, where the UI was also rendered with Gecko.
Not to worry - about:config is still available in Beta and Nightly.

Known workarounds

You can re-enable background video playback using a custom filter in uBlock Origin.
You can continue to use a custom sync server, even if there doesn't seem to be an obvious way to to set it up.

Fixed in beta

There are some features missing in the release rolling out now that are already fixed in the beta version.

Add-ons

Most previously available add-ons are not available in Fenix. There is an open bug to re-allow arbitrary add-ons in Nightly builds, but that is not yet available - see bug 14034.
The currently available add-ons are:
New add-ons for inclusion are being prioritized by install count.

How to get involved

If you want to test the newest features, go ahead and install Nightly and report bugs and feature requests. Remember to see the contribution overview.
If you want to contribute code to Fenix, check out the Contributor's Guide. You can find good first issues to get started. Introduce yourself to development on Matrix at the Introduction chatroom.
Join the official /firefox Matrix chat - an Android client is available. Element is open source.
submitted by yoasif to firefox [link] [comments]


2020.08.23 06:01 coolsheep769 Is there anything we can do to encourage developers to make more "pro" apps for iPad? Especially IDEs and text editors?

As I'm sure everyone on this sub knows, the iPad Pro, and honestly just normal iPad are more than ready to go as laptop replacements hardware-wise, but the bottleneck is software.
We have some nice things beginning to show up, like the Affinity suite for photo editing and desktop publishing type stuff, and the stock iMovie app is decent for video editing. Virtual DJing on iPad has been around a while, and while I prefer Ableton still, the Logic Pro X Mac/iPad is impressive, though not exactly to the point of the iPad running a DAW solo. Apple tend to focus more on the creative stuff with their products, and in that way I'm most of the way there on the iPad, but I'd still like to see true DAWs for music production, more sophisticated video editing stuff like Final Cut, or maybe a lighter equivalent of After Effects that an iPad could handle. I don't see proper CGI/rendering happening, but that's fine, and this seems to be among the few areas that I actually prefer the iPad- iMovie on iPad is ridiculously intuitive, Affinity suite suffers no loss of utility or smoothness, and I watched a local DJ play an hour long set off his iPad back in like 2014 with no difficulty, so a proper DAW is the only missing for me.
For office stuff, I think we're mostly there between the Microsoft 365 stuff, Google Drive Suite, Slack, and the stock notes, reminders, and email apps. The workflow can be a bit awkward, but I think the enhanced split screen features on their way will help a lot. I'd say the utility is there, but we're not quite yet to the point that people prefer iPad to Mac/PC within reason, though I'm hopeful that the Apple Pencil, split screen, and portability combined with the now huge push for remote work will shake out in the iPad's favor.
A superior machine would be needed for quality rendering, but the AutoCAD mobile software seems surprisingly powerful, although lacking some of the depth of features available on desktop according to its reviews. I haven't worked much in this area, and don't feel comfortable doing my own assessment, but this sounds to me like the typical story- technically possible, but inconvenient enough that people won't be migrating. This area has a lot of potential between the Pencil, and the advances Apple's made in AR, so I think moving forward, we'll be good to go here, it just might be a minute.
(I don't know if this really needs its own category, but I'd like to throw in that the iPad has enormous potential in medicine, but is quickly being chased out by Microsoft Surface for whatever reason. Most EHR systems I've seen are browser-based, so this would be an easy and lucrative fight for Apple to win, since the iPad is far more portable and convenient imo)
The real problem seems to be with development, I.T., and data science type applications. About every third month I go through a phase of trying to make my iPad a viable workstation, but it just doesn't quite work out, and it's always due to a shortage of apps. The SQLPro RDMBs clients are fantastic (though way overpriced), Termius is decent for SSH/SFTP, Microsoft RPD is great, and the AWS Console app is ok, but aside from that, I feel like little or no effort has been made here, and I don't quite understand why. The closest I can come to development is either SSHing to another machine and using Vim (or RDP to a Windows machine, VNC to *nix, etc.), or running some clumsy browser setup like Jupyter, and while it's "possible" in these ways, none of these are even close to a dedicated, even remotely intuitive app. Where are the IDEs? Where are even basic text editors like Vim, eMacs, Atom, or Sublime? As far as I know, not even Apple's own Xcode runs on iPad right now. This seems strange given that by and large, developers love Mac, and while portability may not be at the top of their list, the iPad has full keyboard, mouse, and even external display support via USB C now, while boasting a far more powerful CPU than the MacBook Air, so if nothing else, it'd be a bargain compared to the MacBook Pro. Low level development in C or C++ may lead to problems with how iPadOS works as a platform, but can we not at least make basic web apps? Write basic Python scripts? Run administrative panels for our servers? Apple is hellbent on marketing these as laptop replacements, so where is the utility?
I'm sure I'm in the minority when I say I'd enthusiastically migrate to iPad Pro as my daily driver if development on it were even slightly feasible, but there's got to be demand for it out there, and I just don't understand why neither Apple, not 3rd party developers have any interest in the platform. Is there anti-competitive chicanery at work I'm unaware of? Is Apple just *that* uninterested in pushing for it? I don't understand. Is there anything we, as consumers, can do to let them know we're interested?
I just want to be able to take a 5G iPad to the beach and work remote from there (I'm a database guy).
submitted by coolsheep769 to ipad [link] [comments]


2020.08.20 13:56 Mozza7 [Linux,Selenium] Timeout exception

I have a script that I am running from a website using CGI. When ran, the script uses selenium to scrape some requested data.
 
This script works flawlessly when ran via python3 searchname_comp.py. However, when ran through the website, I get a timeout and the logs say I am getting a TimeoutException from a WebDriverWait set to 30 seconds. This is more than enough to load the initial page.
 
I installed apache2 and cgi on my windows computer, and had this working with the exact same script - so it seems this is something with Linux, but I am not experience with Linux enough to understand what might be going wrong.
Here is my apache2 error.log, I know there is a deprecation warning:
[Thu Aug 20 12:49:18.406746 2020] [cgi:error] [pid 58070:tid 139681681393408] [client 10.10.52.200:50621] AH01215: /uslib/cgi-bin/searchname_comp.py:18: DeprecationWarning: use service_log_path instead of log_path: /uslib/cgi-bin/searchname_comp.py, referer: http://10.10.52.205/ [Thu Aug 20 12:49:18.406829 2020] [cgi:error] [pid 58070:tid 139681681393408] [client 10.10.52.200:50621] AH01215: driver = webdriver.Firefox(firefox_profile=fp, options=options, log_path='/uslocal/logs/geckodriver.log'): /uslib/cgi-bin/searchname_comp.py, referer: http://10.10.52.205/ [Thu Aug 20 12:49:18.407301 2020] [cgi:error] [pid 58070:tid 139681681393408] [client 10.10.52.200:50621] AH01215: Traceback (most recent call last):: /uslib/cgi-bin/searchname_comp.py, referer: http://10.10.52.205/ [Thu Aug 20 12:49:18.407333 2020] [cgi:error] [pid 58070:tid 139681681393408] [client 10.10.52.200:50621] AH01215: File "/uslib/cgi-bin/searchname_comp.py", line 18, in : /uslib/cgi-bin/searchname_comp.py, referer: http://10.10.52.205/ [Thu Aug 20 12:49:18.407383 2020] [cgi:error] [pid 58070:tid 139681681393408] [client 10.10.52.200:50621] AH01215: driver = webdriver.Firefox(firefox_profile=fp, options=options, log_path='/uslocal/logs/geckodriver.log'): /uslib/cgi-bin/searchname_comp.py, referer: http://10.10.52.205/ [Thu Aug 20 12:49:18.407432 2020] [cgi:error] [pid 58070:tid 139681681393408] [client 10.10.52.200:50621] AH01215: File "/uslocal/lib/python3.8/dist-packages/selenium/webdrivefirefox/webdriver.py", line 170, in __init__: /uslib/cgi-bin/searchname_comp.py, referer: http://10.10.52.205/ [Thu Aug 20 12:49:18.407448 2020] [cgi:error] [pid 58070:tid 139681681393408] [client 10.10.52.200:50621] AH01215: RemoteWebDriver.__init__(: /uslib/cgi-bin/searchname_comp.py, referer: http://10.10.52.205/ [Thu Aug 20 12:49:18.407496 2020] [cgi:error] [pid 58070:tid 139681681393408] [client 10.10.52.200:50621] AH01215: File "/uslocal/lib/python3.8/dist-packages/selenium/webdriveremote/webdriver.py", line 157, in __init__: /uslib/cgi-bin/searchname_comp.py, referer: http://10.10.52.205/ [Thu Aug 20 12:49:18.407521 2020] [cgi:error] [pid 58070:tid 139681681393408] [client 10.10.52.200:50621] AH01215: self.start_session(capabilities, browser_profile): /uslib/cgi-bin/searchname_comp.py, referer: http://10.10.52.205/ [Thu Aug 20 12:49:18.407572 2020] [cgi:error] [pid 58070:tid 139681681393408] [client 10.10.52.200:50621] AH01215: File "/uslocal/lib/python3.8/dist-packages/selenium/webdriveremote/webdriver.py", line 252, in start_session: /uslib/cgi-bin/searchname_comp.py, referer: http://10.10.52.205/ [Thu Aug 20 12:49:18.407600 2020] [cgi:error] [pid 58070:tid 139681681393408] [client 10.10.52.200:50621] AH01215: response = self.execute(Command.NEW_SESSION, parameters): /uslib/cgi-bin/searchname_comp.py, referer: http://10.10.52.205/ [Thu Aug 20 12:49:18.407648 2020] [cgi:error] [pid 58070:tid 139681681393408] [client 10.10.52.200:50621] AH01215: File "/uslocal/lib/python3.8/dist-packages/selenium/webdriveremote/webdriver.py", line 321, in execute: /uslib/cgi-bin/searchname_comp.py, referer: http://10.10.52.205/ [Thu Aug 20 12:49:18.407672 2020] [cgi:error] [pid 58070:tid 139681681393408] [client 10.10.52.200:50621] AH01215: self.error_handler.check_response(response): /uslib/cgi-bin/searchname_comp.py, referer: http://10.10.52.205/ [Thu Aug 20 12:49:18.407723 2020] [cgi:error] [pid 58070:tid 139681681393408] [client 10.10.52.200:50621] AH01215: File "/uslocal/lib/python3.8/dist-packages/selenium/webdriveremote/errorhandler.py", line 242, in check_response: /uslib/cgi-bin/searchname_comp.py, referer: http://10.10.52.205/ [Thu Aug 20 12:49:18.407750 2020] [cgi:error] [pid 58070:tid 139681681393408] [client 10.10.52.200:50621] AH01215: raise exception_class(message, screen, stacktrace): /uslib/cgi-bin/searchname_comp.py, referer: http://10.10.52.205/ [Thu Aug 20 12:49:18.407794 2020] [cgi:error] [pid 58070:tid 139681681393408] [client 10.10.52.200:50621] AH01215: selenium.common.exceptions.TimeoutException: Message: connection refused: /uslib/cgi-bin/searchname_comp.py, referer: http://10.10.52.205/ [Thu Aug 20 12:49:18.407798 2020] [cgi:error] [pid 58070:tid 139681681393408] [client 10.10.52.200:50621] AH01215: : /uslib/cgi-bin/searchname_comp.py, referer: http://10.10.52.205/ 
I think this is more something Linux related, but I wasn't sure where best to ask this.
submitted by Mozza7 to learnpython [link] [comments]


2020.08.18 18:29 the_interrobanger HOWTO: You may not need that C4000XG (or whatever else they gave you)

Disclaimer: I'm just a somewhat tech-savvy dad, your mileage may vary. Take what I say with a grain of salt because I may only think I know what I'm talking about.
I recently had CL gigabit fiber installed after realizing that their offering was $15 cheaper than the 200mbps down / 12mbps (?) up I was getting from Comcast in Portland, OR. I've had cable internet since broadband has been a thing, and I've been pretty particular about being able to bring my own hardware. I'm a software engineer myself, and have a very low tolerance for the poorly designed and implemented firmware that tends to plague the routing devices that telecom companies provide their customers. I used DD-WRT for a while when the WRT54g was the device (as well as trying a couple other similar alt firmwares - anyone remember Tomato?).
So you can imagine my dismay during my install when the tech comes in with that air purifier-looking monstrosity, and my confusion when he started referring to it as both the "modem" AND the "router".

It's not a modem.

I want to clear this up, because I've been seeing the routers referred to as "modems" in multiple places, including CenturyLink's own documentation. If you have fiber, you don't have a modem, you have a terminal. A modem (a contraction of the words "modulator - demodulator") is used to send data over an analog line. Outgoing data is modulated into an analog signal to send over the cable (or phone) line, and the incoming analog signal is demodulated into your incoming digital data. Fiber is used to transmit a digital signal, so there is no modulation or demodulation required, and thus, no modem. The fiber terminal (for me, it's a black rectangle box that looks much more like traditional consumer networking gear than the C4000XG), as you might guess, terminates the fiber, and gives you an ethernet port.

It's not a modem: C4000XG edition

I explain this all to make the point that the extra device you get from the service provider doesn’t do anything particularly special. It is not required to convert any signals the way a cable or telephone modem does, nor in our case does it have anything directly to do with the fiber media itself (that’s the fiber terminal’s domain). It does not do anything that can’t be done by many consumer-grade routers and internet gateways.
In other words, the C4000XG is not a modem, and you may not need it.
If you've read this far and are still interested, you probably have a piece of networking hardware kicking around that does do everything you need. If you want to throw that telecom-provided router to the curb (or, at least back to the telecom), you will need the following:

Finding your PPPoE credentials

I've read elsewhere that you can just call up CenturyLink support (or possibly use the chat) and ask for your PPPoE info and they'll give it you. Personally, as a CenturyLink customer since this past Saturday (well, Friday I guess, if you count the install tech being a no show, not bothering to call to let me know he wasn't coming, and then showing up unannounced at 9:30am Saturday morning) - that makes 4 or 5 days - I don't want to have to talk to anyone from CenturyLink any more than necessary. If you're familiar at all with your browser's dev tools, it's very easy to find, at least on the C4000XG.
  1. If for whatever reason your C4000XG isn't already set up, go through the guided setup so that it is connected to the internet.
  2. Log into the admin GUI
  3. Open your browser's dev tools, making sure that it's recording the network requests (this is usually enabled by default, I think?)
  4. Click "Quick Setup" in the admin GUI
  5. In the dev tools "network" tab, look for a request to https://192.168.0.1/cgi/cgi_get?Object=Device.PPP.Interface.1. (for me it was near the top - it may help to filter for "XHR" requests) and click on it
  6. Click on the "response" tab and hit CTRL+F (or CMD+F on a Mac) and search for Username. You should see your username, and right below it, your password. Mine is 8 alphanumeric characters.

Configuring your hardware

Further disclaimer: Once you do this part, you'll likely have limited options for tech support from CenturyLink - I can't imagine they'll support stuff that isn't on their Compatibility List, so any trouble you get into that isn't directly related to their fiber terminal or their wiring outside your house will be yours to work through.
At this point, you can disconnect the C4000XG and throw it in the trash where it belongs put it back in its box to return to CenturyLink, and connect the ethernet cable from the fiber terminal (note: for CenturyLink, my understanding is that they only ever enable port 4 - make sure you use the same one the C4000XG was plugging into) directly into the WAN port on your device of choice.
Specifics here vary by device and firmware of course, so I'm assuming that if you've gotten this far, you at least somewhat know what you're doing and are familiar with the configuration of the device you're using.
  1. If your device is capable of acting as either a router or a gateway, make sure it is set up for "gateway" mode (DD-WRT users: See the "Advanced Routing" tab, "Operating Mode" setting)
  2. Configure the WAN port of your device - you may have a "port type" setting where you pick between DHCP, PPPoE, Static IP - DD-WRT also has PPTP, L2TP, and several others. You want PPPoE, of course.
  3. Enter the username and password you collected from the C4000XG admin
  4. Set the VLAN ID (also called VLAN tag or number) to 201
    1. DD-WRT users: I believe you'll need to go to the "Networking" tab and add a VLAN tag with 201 as the tag number. Make sure you select the correct interface. Fair warning, I haven't done this myself on a DD-WRT device.
    2. I use a UniFi USG3, and I had to use the security gateway's admin UI (via the LAN IP address of the gateway) to set the VLAN tag - the setting doesn't seem to be available when configuring through the controller.
  5. Apply your settings and cross your fingers!
For me, the connection came up right away, but I've read elsewhere that it can take a few minutes the first time.

Security

The fiber terminal is just a dumb terminal - essentially a firehose to the internet, and it does not provide any sort of security features for you. That's the job of the gateway / router device you just disconnected ;) Make sure your own gateway device has features like a firewall so that you're protected from all the hackers and script kiddies.

My setup

If you're interested in what I'm using, I have the USG3 Security Gateway from Unifi (as well as several of their managed WiFi access points - and for what it's worth, I do not work for Ubiquiti, I'm just a fan). I'm able to get 930mbps up/down from my basement server that's hardwired (CAT6):
https://preview.redd.it/33lc71bwesh51.png?width=1374&format=png&auto=webp&s=35fc00f6910560c6888c888812e310be8b674da0
It's worth noting that this is a dedicated gateway device - it doesn't have integrated WiFi, so I can't say whether the performance would be different on an integrated device.
Anyhow, I hope this was helpful! Let me know if this worked for you!

One last note on the C4000XG

One thing I did notice was that when doing a speed test with the C4000XG was that I was seeing the full 1Gbps down, but only ~600mbps up. This was not an immediate problem for me, as I was just happy to have more than the 12 mbps I had been getting from Comcast. I might've even been fine to just sit with the C4000XG - except that after the tech left, I wanted to relocate the equipment under my desk, which required unplugging everything. I'd already done all my own configuration on the C4000XG to make it work with my network (more on that in a moment), which included changing the default admin username and password.
When I plugged everything back in, it appeared to come back up initially, but my internet connectivity was very sporadic - it would be on, and then just drop out randomly. This was odd because all the lights on both the fiber terminal and the C4000XG looked right - all green, nothing flashing that shouldn't be.
However, when I logged in to the C4000XG admin, everything was broken. All the internet connection, wan link stats, and even hardware information just read n/a, and many of the admin settings appeared to be disabled and unable to be changed, when I had been able to change them before. Looking in dev tools, the XHR requests being made were all being returned with zero length, and/or with HTTP status 444 (who even does that??).
I have a suspicion that this behavior may have been at least in part because I changed the name of the admin user - that because the user I was logged in as was not named "admin", things just broke, possibly due to the "admin" username being hardcoded somewhere in the firmware. From what I've read elsewhere about the C4000XG, this would be right on-brand, but to be honest I didn't bother poking at it much more. A factory reset (poke the inset "reset" button on the back for 10-15 sec) got me back up and running, but at that point, I'd decided that I'd had enough and didn't want to ever have to deal with it again.

Make the C4000XG work for you

If you can't, or don't feel comfortable taking the C4000XG completely out of the equation, but you already have a working routing/networking setup, here's what I'd done initially to make it mostly transparent:
submitted by the_interrobanger to centurylink [link] [comments]


2020.08.18 13:43 quini200 Sonarr: Sudden Index problems

Hello,
My indexers stopped working as of two days ago, but I've seen comments in other threads where RARGB is working, any thoughts?
From Sonarr error log:
Rarbg HTTP request failed: [403:Forbidden] [GET] at [https://torrentapi.org/pubapi_v2.php?get_token=get_token&app_id=Sonarr]Close
HTTP Error - Res: [GET] https://torrentapi.org/pubapi_v2.php?get_token=get_token&app_id=Sonarr: 403.Forbidden Attention Required! Cloudflare

One more step

Please complete the security check to access torrentapi.org

Please stand by, while we are checking your browser...

Why do I have to complete a CAPTCHA?

Completing the CAPTCHA proves you are a human and gives you temporary access to the web property.

What can I do to prevent this in the future?

If you are on a personal connection, like at home, you can run an anti-virus scan on your device to make sure it is not infected with malware.

If you are at an office or shared network, you can ask the network administrator to run a scan across the network looking for misconfigured or infected devices.


submitted by quini200 to sonarr [link] [comments]


2020.08.17 21:55 sandialy Docker Ubuntu container CGI program is not working.

Hi Docker
I have created an Ubuntu container with the following Dockerfile. I am having an issue running a CGI program, whereas the curl getting the index.html from its /vawww/html file works fine. I have reviewed the serve-cgi-bin.conf file which seems to be fine (see below),
Can someone review and advise? I am new to Ubuntu. I have googled to find a fix none worked.
# ============================================================= Dockerfile
[[email protected] webpub]$ cat Dockerfile
FROM ubuntu:latest
RUN apt-get update && apt-get install -y tzdata
RUN apt-get -y install apache2
RUN apt-get -y install perl
RUN apt-get -y install curl

WORKDIR /uslib/cgi-bin
COPY example-bash.sh example-bash.sh
RUN chown www-data:www-data example-bash.sh
RUN chmod 755 example-bash.sh
WORKDIR /etc/apache2/
RUN echo "ServerName 172.0.0.1" >> apache2.conf

WORKDIR /vawww/html
COPY *.html ./
RUN chown www-data:www-data *.html
LABEL [maintainer="[email protected]](mailto:maintainer="[email protected])" \
version="1.0"
EXPOSE 80
RUN /etc/init.d/apache2 restart

#================================================================== My CGI example
-----------------------------------------------------------------------
[email protected]:/uslib/cgi-bin# cat example-bash.sh
#!/bin/bash
echo "Content-type: text/html"
echo ''
echo 'CGI Bash Example'
[email protected]:/uslib/cgi-bin#
----------------------------------------------------------------------
#====================================================================== My Container
[[email protected] webpub]$ docker run -it -p 5000:80 --name ad_httpserver -d ad_httpserver
[[email protected] webpub]$ curl http://localhost:5000/index.html


This is Andialy's First Webpage










Hello!
I am Andialy Sokone
This is my first Web Site built on docker container using perl as CGI counter
See how easy docker is !!







[[email protected] webpub]$
[email protected] webpub]$ curl http://localhost:5000/cgi-bin/example-bash.sh


404 Not Found

Not Found


The requested URL was not found on this server.



Apache/2.4.41 (Ubuntu) Server at localhost Port 5000


[[email protected] webpub]$

# ======================================================= Login into the container
[[email protected] webpub]$ docker container exec -it ad_httpserver bash
[email protected]:/vawww/html# uname -a
Linux f94faab68ce2 5.4.17-2011.3.2.1.el8uek.x86_64 #2 SMP Sun May 24 13:36:59 PDT 2020 x86_64 x86_64 x86_64 GNU/Linux
[email protected]:/vawww/html#
[email protected]:/vawww/html# more /etc/lsb-release
::::::::::::::
/etc/lsb-release
::::::::::::::
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04 LTS"

[email protected]:/uslib/cgi-bin# ps -ef grep apache
root 237 1 0 05:45 ? 00:00:00 /ussbin/apache2 -k start
www-data 239 237 0 05:45 ? 00:00:00 /ussbin/apache2 -k start
www-data 240 237 0 05:45 ? 00:00:00 /ussbin/apache2 -k start
root 700 298 0 06:03 pts/1 00:00:00 grep --color=auto apache
[email protected]:/uslib/cgi-bin# cd /etc/apache2/conf-available/
[email protected]:/etc/apache2/conf-available# more serve-cgi-bin.conf


Define ENABLE_USR_LIB_CGI_BIN



Define ENABLE_USR_LIB_CGI_BIN



ScriptAlias /cgi-bin/ /uslib/cgi-bin/

# AllowOverride None
AllowOverride All
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Require all granted




# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
[email protected]:/etc/apache2/conf-available#
[email protected]:/etc/apache2/conf-available# ls -al /vawww/html/index.html /uslib/cgi-bin/example-bash.sh
-rwxr-xr-x. 1 www-data www-data 75 Aug 17 06:13 /uslib/cgi-bin/example-bash.sh
-rw-r--r--. 1 www-data www-data 413 Aug 14 19:22 /vawww/html/index.html
[email protected]:/etc/apache2/conf-available#

Can someone help me figure out why this is not working? Any missing configuration
I took the same script and put in on a container I created based on Oracle Linux 8.2, it works fines, without changing any of the httpd.conf file parameters. I should work on Ubuntu, right?

Nothing is coming out thru the tail -f /valog/apache2/error.log and tail -f /valog/apache2/access.log and docker container logs -f ad_httpserver when I access the curl http://localhost:5000/cgi-bin/example-bash.sh from the docker server.
submitted by sandialy to docker [link] [comments]


2020.08.14 09:32 crab_balls Scraping EDGAR meta-data for SEC filings by a ticker

I'd like to build a machine-readable list for a single ticker that contains the latest SEC filings (filing type, filing date, URL directly to the document) for that ticker on EDGAR.
I thought the easiest way would just be to automate entering a ticker into the EDGAR company search web page, but it doesn't work well. The field accepts more than just tickers, so you can quickly end up on a totally unrelated company's page. Additionally, the search box has some JavaScript drop-down where you have to actually select one of the results. Things get really hairy when trying to automate it.
If I knew the CIK of the company I could just go straight to the filings page with https://www.sec.gov/cgi-bin/browse-edgar?CIK=XXX, and start scraping, but I don't know the mapping between a ticker and a CIK. Anyone know how to do that?
Or have any other suggestions?
I also found http://rankandfiled.com/, which looks amazing, but seems to have stopped adding any new data since a year or so ago.
Update: Just found out about https://www.sec.gov/include/ticker.txt which has ticker to CIK mappings. I hope this can be useful for someone else.
submitted by crab_balls to algotrading [link] [comments]


2020.08.14 09:25 crab_balls Scraping EDGAR meta-data for SEC filings by a ticker

I'd like to build a machine-readable list for a single ticker that contains the latest SEC filings (filing type, filing date, URL directly to the document) for that ticker on EDGAR.
I thought the easiest way would just be to automate entering a ticker into the EDGAR company search web page, but it doesn't work well. The field accepts more than just tickers, so you can quickly end up on a totally unrelated company's page. Additionally, the search box has some JavaScript drop-down where you have to actually select one of the results. Things get really hairy when trying to automate it.
If I knew the CIK of the company I could just go straight to the filings page with https://www.sec.gov/cgi-bin/browse-edgar?CIK=XXX, and start scraping, but I don't know the mapping between a ticker and a CIK. Anyone know how to do that?
Or have any other suggestions?
I also found http://rankandfiled.com/, which looks amazing, but seems to have stopped adding any new data since a year or so ago.
Update: Just found out about https://www.sec.gov/include/ticker.txt which has ticker to CIK mappings. I hope this can be useful for someone else.
submitted by crab_balls to algorithmictrading [link] [comments]


2020.08.12 08:16 VashxShanks A Guide to the Differences Between JRPGs Ports and Enhanced Versions (Part 1).

A new day, a new guide.
This is the hardest one of the guides I wanted to make, because the information is never easy to get, which is weird. So please forgive me if I missed some changes, and by all means tell me if I missed any of them or if any of them are incorrect.
Since this list is really long, this guide is going to come in parts, this part covers:

Important Notes:

  • This is made for Ports and Enhanced versions, so No Remakes. So this is about differences between the different versions of Chrono Trigger, and not about the differences between FF7 ps1 and FF7 Remake.
  • The differences are taken from all over the internet, either from official sources, wikis, youtube, and even forums.
  • I cover all the changes for a game, unless there is too many, in which case I will highlight the ones worth mentioning.

~ Valkyrie profile (PSX US.ver): vs Valkyrie Profile: Lenneth PSP vs iOS & Andriod. ~

Valkyrie profile PSX:

Nearly identical to the Japan version but with minor fixes in the menu screen. In the Japanese version, Characters not in the party were unable to change or learn skills nor were they able change or remove equipment. The US version allowed out of party members to change and learn skills as well as change or remove equipment without being added to the party. Also in the Japanese version, Lenneth would unequip all her skills and equipment when switching between sword and bow. The US version 'remembers' the previous setting when switching weaponry and is automatically equipped with the skills and equip. Another improvement over the Japanese version is an improved item sorting option.
There are a few instances of censoring such as Badrach's smoking.

Valkyrie Profile: Lenneth PSP:

Valkyrie Profile: Lenneth lacks the improvement made in US version. Rather than re-rendering the textures of the dungeon maps, TOSE cropped and upscaled the pre-rendered images to fit the portable console's screen, resulting in severe blurring in some areas. This version also removes the anime opening movie in favor of 3D CGI, animated movie. Certain key story-sequences were animated in the same style as the opening movie and can be viewed at anytime in the Gallery option in the title screen once unlocked in the story. The animated scenes include:
  • Opening Movie
  • Lenneth's Awakening
  • Jelanda's Transformation
  • Alicia witnesses Barbarossa's execution
  • Lenneth's encounter with the Lord of the Undead
  • Lenneth and the Homunculi
  • A chance encounter between "Meril" and Lucian
  • Lenneth in Weeping Lily Meadow
  • Lucian's departure to Valhalla
  • Hrist's Awakening
  • The Sovereign's Rite
  • A Ending
Other big changes are:
  • An enhanced version of the original game's localization
  • Square Enix cleaned up the original game's English script and additional voice over dialogue for the CG movies was recorded by New Generation Pictures, rather than the original company, TAJ Productions.

Valkyrie Profile: Lenneth iOS & Andriod:

This is the PSP version being ported to iOS & Andriod, with the following changes:
  • Enhanced graphics such as character portraits. >* Enhanced Text.
  • Enhanced UI.
  • The option to skip cut-scenes.
  • In-app purchases to unlock collectibles
  • Ability to turn on auto-battle.

~ Chrono Trigger (SNES): PSX vs NDS vs iOS & Andriod vs PC. ~

Chrono Trigger PSX:

Anime cut scenes created by original character designer Akira Toriyama's Bird Studio and animated by Toei Animation.
A new Extra Mode Option was added that is divided into different categories of viewable extras, that are unlocked as you finish the game, and just as shown in the picture, they are:
  • Theater.
  • Art Gallery.
  • Music Box.
  • Tech Showcase.
  • Monster Data.
  • Boss Data.
  • Endings.
  • Treasure Map.

Chrono Trigger NDS:

This version includes everything new in the PSX version, and also has big and a long list of changes and additions, which I will try to condense them as much as possible:
  • Ability to play using the two screens and the touch screen, or in classic mode through a single screen.
  • Added the Arena of Ages: A monster arena where You pick basic monsters and raise them to fight computer and wireless opponents.
  • Added the Lost Sanctum: A sidequest during the main game. It consists of two dungeons in two different eras.
  • Added the Dimensional Vortex: A extra Dungeon, available after beating the game once and appears in three different eras. Each dungeon is different.
  • A lot of New Items.
  • New Enemies in the new dungeons, in the form of palette swaps of old enemies.
  • One New Ending after finishing the Dimensional Vortex completely.
  • New Translation that changes a lot of names form the original version to something more faithful to the Japanese version.

Chrono Trigger iOS & Android:

Both versions initially were based on the NDS version, but later on got an update to make them similar to the PC version.

Chrono Trigger PC:

Everything on the NDS version is present here except there is No Arena of Ages. What they did add however is:
  • Auto-Save feature.
  • Higher Resolution Graphics and update UI.
  • Support for mouse and keyboard controls.
  • Remastered sound and music.

~ Star Ocean: The Second Story (PSX): vs Star Ocean: Second Evolution (PSP) vs PS4 (JP.ver). ~

Star Ocean: Second Evolution:

  • A New Translation that changes almost everything in the game.
  • New voice actors. >* New voiced acted scenes; All major story events now have voice acting.
  • New recruitable character: Welch Vineyard.
  • New Private Actions and 13 new Endings.
  • Unlocking the Galaxy and Universe modes now require defeating a specific number of enemies in a single playthrough rather than unlocking voices in the Voice Collection. >>>* Practically all Combat Skills have been refined, some being removed (such as Cancel, which is now automatically implemented).
  • The combat system has been slightly refined, now allowing all melee fighters to perform a 3-hit combo as their normal attack.
  • The Super Specialty "Bunny Call" no longer allows the player to "climb" on towns and some terrains. The player now will enter a town upon approaching while in Bunny Form, and can even activate private actions.
  • All items in the inventory screen are now depicted as 2D icons instead of the original 3D models.
  • Many bugs and glitches have been fixed (most notably the infamous random Cave of Trials screen freeze).
  • Ring of Lightspeed (called Slayer Ring in Second Story) now works on Dias Flac.
  • New character designs and portraits.
  • No magic combo mechanic.
  • Crafting animations are now replaced by a still 2D image.

Star Ocean: Second Evolution PS4 JP.ver:

This enhanced version was released only in Japan on the PS4, with enhanced graphics and BGM, and a DLC that helps you with the gameplay.

~ The Last Remnant (Xbox360): vs PC vs PS4 & Switch Remastered. ~

The Last Remnant PC:

This version is only available to purchase in the EU SquareEnix online store as of right now:
Battles:
  • Turbo Mode is now available, and can be toggled on or off while giving orders to unions in battle. When on, battles play out at double the speed.
  • Crimson Flare, a new Arcana, is now available.
  • New formations, such as Eremurus Rain, are now available.
  • Enemies hit considerably harder.
  • Rare Monsters can have significantly higher HP than their XBOX 360 counterparts.
  • Arcana require substantially more AP.
  • Unique Arts now require AP.
  • Remnant Arts can only be performed by union leader, Weapon Arts now require high union morale.
  • Offensive Weapon Arts now increase morale when used.
  • Additionally, Arcana and offensive Special Arts now raise morale by a fixed amount.
  • Likewise, certain Enemy Arts now lower morale by a fixed amount.
  • Wards now affect the entire union.
  • Attributes required for formation upgrades are vastly different.
  • Healing no longer raises morale, and morale increased by Critical Hits has been dramatically reduced.
  • Union morale now fluctuates based on more conditions (IE: taking an action, successfully landing a hit, receiving damage, etc.). In the X360 version, union morale stayed somewhat static, usually changing when being healed, being KO'd/terminated, executing a successful Critical Trigger. It also did not drop to 0 whenever an offensive Special Art was executed, whereas it will do so on the PC.
  • Linking additional enemies together does not increase your Battle Rank further than having fought them separately.
  • Special commands, such as the use of David's Gae Bolg, are no longer interrupted by being raidlocked by a different union or having targeted enemy union defeated by an ally.
  • Allies now have the option to cure a friendly union's Curse status ailment via "Cure them even if it kills them!" command. This command is in the XBOX 360 version as well, but is only available when the union is Enthralled; it will not be available when the union is cursed.
Items:
  • Items are color-coded in the PC version, and a new preview feature lets you see what the item looks like in battle.
  • You can now toggle between viewing the stats of a weapon or shield and viewing a preview of what it looks like in battle.
  • Components and consumables are now categorized.
  • Items are now color-coded based on their rarity.
  • Creation or customization of some items require fewer components.
  • New items available via Blueprint 4.
  • Various weapon stats have changed.
  • Some very rare monster-specific drops can now be split from monsters (e.g., Godwood Timber, Spiritwood Timber).
Units:
  • The leader limit is no longer imposed. Unions can be composed entirely of leader units if the player desires.
  • Likewise, soldiers can now be set as union leaders.
  • The stat cap has been lifted for all characters to allow a maximum of 255 for each stat.
  • The Seven are now recruitable after completing Union of the Golden Chalice Task #70: For Our Lord.
  • Rush can now be removed from the active party.
  • Khrynia can learn the new Unique Art Dual Snowpetal.
  • Arts can be disabled, filtering which skills a unit may use in combat.
  • Leaders' requested components are displayed when viewing their stats.
  • Leaders' wield style can be changed depending on their equipped weapon.
  • Shields now prevent style changes mid-battle.
  • The following classes now prevent style changes: Guardian, Scout, Hunter, Wanderer, Thief, Alchemist, all Mystic classes, Vagrant, Mercenary, Aristocrat, Djin, Fortuneteller, Sage and General.
  • The experience required to advance Wield Style skills has been reduced, and the experience required to advance Weapon Type skills has been increased.
  • Three new classes are now available: Ataraxian, Cleric, and Ninja.
  • The Guardian, Fencer, and Warrior classes now require non-sovani wield styles, and are thus not available to Sovani.
  • The Gladiator class now requires Power Grip and Wards.
  • Hybrid classes (Item+Combat and Mystic+Combat) can now be achieved by units who do not start in one.
  • Some leaders now have a different weapon upgrade path, which caused some units to learn new Weapon Arts while others lost theirs.
  • Leaders can request weapons that do not coincide with their weapon upgrade path as long as they match their equipped weapon type and size.
  • Soldiers can now request weapon drops.
  • Some units have had their starting Unit BR level, stats, class, equipment, arts, and hiring wage changed.
Sidequests:
  • The completion of At Hatred's End is no longer required in order to activate Things Unchangeable.
  • Duke of Ghor now has a … icon when you speak with him between the first, third, and fifth base battles.
  • The component requirements in The Assistant have lowered.
  • The DLC content is now unlocked differently; the majority of the extra content now requires the completion of certain guild tasks.
  • The Leader Extraordinaire guild tasks which required three units of a single class now only require one.
  • The Monsterslayer guild tasks require different enemies to be defeated.
New Game Plus and Hard Mode: After the epilogue and credits, you can now save your game. When you're taken back to the main menu, you can load this save to begin a new playthrough that carries over certain elements from your previous playthrough. You will also be given the option to start the new game in Hard Mode.
Miscellaneous:
  • The PC version will warn you if you cannot leave an area without a fight.
  • Auto Save is now available, which automatically saves after having changed zones or having won a battle.
  • Battle Rank is now viewable outside of combat, in the party menu.
  • Battle Rank progression has been slowed considerably; it takes more encounters/enemy unions terminated to increase in rank.
  • Characters with … icons are now identified with markers on the map.
  • Enemies can no longer be respawned by saving and reloading an adjacent area.
  • New saving opportunities are now available, such as before the base's boss.
  • A warning message is now displayed if you attempt to save your game in an area which you cannot leave until you defeat a boss.
  • Mr Diggs's digging animations are now much quicker.
  • The loading screens that explained some of the game's mechanics have been disabled.
  • Many areas of the game have had their spawn tables altered or repopulated.
  • Starting battle music now coincides with starting morale in most battles.
  • "Turn the Tide" and "Beat the Odds" now play during the second half instead of after entering Elysion.
  • Union highlighting during the selection phase has been toned down (ie: ally unions don't look quite as blue).
  • Leaders in reserve no longer gain skills via the Rush only skill grind trick.
  • Soldiers now slowly improve their stats in reserves.
  • Camera in battle doesn't swing around as wildly anymore.
  • Mitra soldiers' idle stances now come in 2 varieties: the one shared by both male and female units and the one exclusive to larger male units, rather than just the "large male mitra" stance.

The Last Remnant Remastered PS4 & Switch:

Based on the PC version, also added:
  • Graphics now are in Unreal Engine 4
  • A new function to run faster on the overworld.
  • Extra save slots.
Yes I am salty about this if you can't tell, since they removed the PC version from steam.

~ Tales of Vesperia (Xbox360): vs PS3 vs Tales of Vesperia: Definitive Edition vs PS4/PC/Switch/Xbox One. ~

Tales of Vesperia PS3:

  • Features full voice acting, nearly twice as much voice work as the original.
  • New Characters, including 2 new playable characters: Flynn (permanantly playable now), and Patty Fleur.
  • New subplots, skits, and main game quests, and sidequests.
  • New mini-games
  • New songs
  • Remodeled towns and new towns and dungeons.
  • New bosses.
  • The ability to replay boss fights.
  • New 8 Mystic Arts.
  • New artes, skills, and equipment.
  • New item: the "Artes Ball", which allows an additional eight artes shortcuts to be assigned to the previous eight slots combined with the L1 button, which allows for a maximum of 16 artes
  • New character costumes

Tales of Vesperia: Definitive editionvs PS4/PC/Switch/Xbox One:

Based on the PS3 version, it has everything from it and all the DLC included for free, with higher resolution graphics depending on the system.

~ Tales of Symphonia (GC): vs PS2 (JP.ver only) vs PS3/PC. ~

Tales of Symphonia PS2 JP.ver only:

  • New animated sequences.
  • New Mystic Arts.
  • New Unison Arts.
  • New Arts for playable characters and enemies.
  • New Techniques.
  • The frame rate was lowered from 60 frames per second to 30 frames per second.
  • New customs.
  • The "Synopsis" option in the menu displays newer entries at the top
  • The Casino in the game is now actually fully playable with it's own mini-games, and chips to collecet and exchange for items.
  • The skits are graphically more dynamic. Portraits get larger or smaller quickly, swing from side to side, shake, and so on.
  • New Titles
  • More post-battle animations.
  • Niflheim dungeon extended and 6 new boss characters, fought in 2 new boss battles.
  • Bug Fixes
  • New events to help raise affection.
  • Includes new side quests, new camera angles on some cutscenes, new animated cutscenes not featured in the GameCube version

Tales of Symphonia PS3/PC:

  • More customs.
  • Improved character textures and improved some environments.
  • Dual-audio support: Japanese and English voiceovers, which neither the PS2 or GameCube versions had
  • Cutscenes support voice acting in both languages, but skits only have voice acting in Japanese. If you select English, you will just see the subtitles during skits. This is not a porting issue, as this is just how the GameCube version was.
  • While the original GameCube version ran at 60fps, the Japanese PS2 port which the PS3 Chronicles HD version is based off of ran at 30fps. The Steam version can run at 40FPS.
  • HD graphics

~ Skies of Arcadia (DC): vs Skies of Arcadia: Legends GC. ~

Skies of Arcadia: Legends GC:

  • New Ranks for the Swashbuckler Rating system.
  • Random encounters occur less frequently and load considerably faster than the Dreamcast version, and EXP offered per battle is adjusted to compensate.
  • Graphically, the game sports mild improvements to character models, most noticeably adding individual fingers to the designs. The modifier volume shadows and (weirdly enough) point-mipmapping from the original release are still present.
  • One of the new sidequests available is Bounty Hunting. Sailor's Guilds offer information about each person on the bounty list as they are unlocked through story progression. After reading about them, they can be found in a constant location.
  • There are a number of new discoveries to be found.
  • Two linked sidequests
  • "Pinta Quest" minigame was removed
  • DLC comes with the game.

~ Persona 3 (PS2): vs Persona 3 FES PS2 (English.ver) vs P3P PSP. ~

FES PS2 (English.ver):

  • A whole additional epilogue has been added, The Answer. This chapter is only available in one difficulty setting, which is supposed to be on par with Persona 3's Hard mode.
  • New Personas have been added
  • Secret videos of the protagonist's dorm mates have been added to flesh them out.
  • Koromaru can now be taken on walks.
  • Several of the Social Links have been modified slightly, such as Tanaka being available at a different time
  • Several new Quests have been added.
  • New costumes can be worn in battle.
  • A new event involving Chidori Yoshino was added.
  • Naganaki Shrine was completely overhauled.
  • A hard mode was added.
  • Save data from Persona 3 can be transferred into the game,

P3P PSP:

  • The Answer is not included in this verion.
  • Added a Female Main Character, so now you can choose between the Male and Female MCs.
  • The game lacks 3D environments and character models (outside of Tartarus), all anime cutscenes are gone, the graphics and audio quality were compressed,
  • The storyline of the female protagonist features many differences from that of the male protagonist, such as new social interactions as well as Social Links.
  • New voiced dialogue.
  • Players have the choice of selecting Elizabeth or a male-equivalent named Theodore to be Igor's assistant in the Velvet Room.
  • The ability to pick who the protagonist spends the last moments of the game with. This feature is only accessible on a New Cycle
  • The Desert of Doors from the Abyss of Time seen in The Answer will still appear, however, in an extra feature known as the Vision Quest. In this mode, the party can fight stronger incarnations of the Full Moon shadow bosses — save for Arcana Magician — and partake in special battles that test the party's abilities. When all of the battles have been successfully met, a second optional boss can be fought: Margaret, Igor's assistant in Persona 4 and guardian of the Desert of Doors in P3P.
  • There are now two overworld save points; Aside from the log book in the Iwatodai Dormitory, there is also one on the main character's desk at school.
  • In Paulownia Mall, the police station is now the only place where the protagonist can buy equipment and sell items. Aohige Pharmacy is now a buy-only store, and Be Blue V is just a part-time work site and hangout to improve the main character's condition
  • From previous versions, two difficulty modes have been added: Beginner and Maniac alongside Easy and Normal in Persona 3 and Hard in Persona 3 FES:
  • A new tactic, "Direct," has been added to the game, allowing control of the party members, unlike Persona 3 and Persona 3 FES.
  • The "Wait" command is replaced with the "Defense" command, and will decrease the damage and any knockdown effects of the next attack the user suffers.
  • The game grants "1 More" to a combatant who attacks multiple enemies not knocking all of them down; the original Persona 3 required all hit enemies to be knocked down for a 1 more.
  • Party members who have been knocked down no longer spend the turn by getting up and can act as soon as they stand.
  • Upon landing a critical hit or striking an enemy's weakness, party members can follow up with a co-op attack.
  • Fusion Spells from the original Persona 3 are now activated from items instead of equipping a persona and selecting it like other spells.
  • Allies can now take a fatal blow to the protagonist for them if they are able.
  • "Dizzy" has been added as a status effect.
  • Returning to the main lobby in Tartarus no longer automatically restores the party, and must now be done for a fee via the save point (this cost varies based on the date in-game and status effects currently inflicted on the party)
  • Floors can be directly returned to from the entrance of Tartarus instead of being restricted to the restore point like previous versions.
  • "Tired" status no longer is inflicted during Tartarus exploration, and is inflicted to all used party members after leaving (this will only drop to "Good" if the character used was at "Great" during exploration).
  • Unlike previous versions, money found by party members when split up will now be given to the protagonist.
  • Party members' equipment and status can now be accessed at any time from the pause menu, unlike in previous versions, which required the protagonist to speak to them while exploring Tartarus in order to change their equipment or view their status.
  • You can now control Party members directly.
  • The protagonists only have access to one weapon type (instead of having access to all weapon types like in P3 and FES); the male protagonist wields one-handed swords, and the female protagonist wields naginatas. As a result, the Skills "Fist Master," "Bow Master," "1hdSwdMaster" and similar skills have all been combined into a single skill called "Weapons Master." Its skill card is called "Phys Boost," and all Personas which had learned a "master" ability (like Cybele with Bow Master) now learn "Weapons Master."
  • Personas now have the ability to produce a Skill Card when raised to a specific level. Each card can be used on any Persona to teach them a skill.
  • The Inari Sushi in Naganaki Shrine no longer grants random bonuses for item gaining and Tartarus explorations. Instead, it offers to duplicate Skill Cards, which will take 5 days to complete

~ Persona 4 (PS2): vs Persona 4 Golden Vita vs Persona 4 Golden PC. ~

Persona 4 Golden Vita:

  • Two new Social Links.
  • A New Dungeon.
  • A New bad ending.
  • New Difficulty levels have been added: Safety/Easy/Normal/Hard/Risky.
  • Several new music tracks.
  • Additional voice-over dialogue.
  • Chie and Teddie have new voice actors in the English version.
  • New animated cutscenes.
  • More Personas, including new Ultimate Personas for the Investigation Team.
  • New areas can be visited.
  • New events.
  • The protagonist can now explore Inaba in the evening when Dojima is not home.
  • The protagonist and his friends now have motorized scooters to explore various areas.
  • Costumes are now available to buy at Croco Fur, in Okina City.
  • New Garden and Bug Catching features.
  • The ability to choose which skills can be inherited by the Persona the protagonist is fusing.
  • New scene skipping function
  • If the necessary criteria for at least the good ending are fulfilled, daily activities are expanded to February 14, 2012, giving more time for events and social links.
  • New epilogue has been added for the True Ending.
  • The list of Requests and the Fox' emas have been modified.
  • Rise can now assist the Investigation Team in All-Out-Attacks.
  • Added Tag Team attacks: two members can team up to perform a united attack.
  • Added Cavalry Attacks: Attacks from members of the Investigation Team that are not currently in the party.
  • Spell buffs and debuffs can now be used on the same character to prolong the effect
  • A new gallery menu has been added: "TV Listings." It displays bonus content unlocked through the main game at any time.
  • Floors and chests in dungeons can now reset by changing floors instead of leaving the dungeon and TV world, or visiting another dungeon.

Persona 4 Golden PC:

  • Bug fixes
  • The game will run at up to 4K resolution with 60FPS+ as opposed to the Vita's 476p resolution and 30FPS target
  • Includes dual audio language and multiple text language. The anime cutscenes now also include subtitles
  • In the Steam version, the player may customize their difficulty setting at any time, in contrast to the Vita version only letting you do so on New Game Plus.The player may select a preset difficulty setting, or individually alter the following parameters
  • The player may select a preset difficulty setting, or individually alter the following parameters.

~ .hack//G.U (PS2): vs .hack//G.U. Last Recode PS4/PC. ~

.hack//G.U. Last Recode PS4/PC:

  • A brand new episode titled Vol.4//Reconnection, which takes place a year and three months after the events of Redemption
  • HD graphical update for the whole game.
  • Ability to restart the battle from the beginning if Haseo dies.
  • Movement speed on foot has somewhat increased.
  • The item stack size has increased from 50 to 99. The maximum number of item stacks in the inventory has increased from 30 to 90
  • Item menu shortcuts and sort features
  • When using an item in the field, pressing the X button repeatedly will cause the item to be used again without navigating the menu a second time.
  • The maximum number of Chim Spheres and Virus Cores the player can possess has increased from 99 to 999
  • Platforms now include the Platform Recovery feature, recovering a large portion of the party's HP and SP. It can only be used once per visit to a field.
  • Saku and Bo no longer switch the active player based on their level being even or odd. They can instead be selected as separate options in the Party screen.
  • Decreased the probability of allies selling the items the player give them.
  • Voice clips for returning characters and NPCs between games have been updated to use the Volume 3 clips from the beginning, except where said clips are unavailable.
  • Attack power has been increased and hit stops during attacks have been reduced to speed up the battle tempo.
  • Learning weapons proficiency increased and acquired experience points increased.
  • Awakening scenes can be skipped using the Option/Start button.
  • Some of the really tough enemies have been made a bit easier
  • Skeith’s general shot bullet speed has increased during Avatar Battles.
  • Enhanced battle balance and game pacing to provide an optimal experience.
  • Avatar battles now show a stun gauge over the enemy's head. Red diamonds have been added around attacks meant to be deflected using scythe slashes that are in range.
  • Added suspend feature during Avatar battle gameplay.
  • In Volume 3, the player is given 22 "Promise" greeting cards, meaning it is possible to do the "Forever in Love" / "Best Wishes" events with all party members in a single playthrough.
  • A new Cheat Mode allowing players who want to just enjoy the story to start the game with a large amount of items, best equipment, maximum money and chim spheres, and maximum level and affection for the respective volume.
  • Save files from Cheat Mode plays can be converted to the next volumes.
  • The videos from “The End of the World” Terminal Disc included with the limited edition PS2 release of Volume 1 are included in the collection
  • A New Job Form for Haseo with a new weapon.
  • A New Form for Skeith.
  • Ovan joins the party.

~ Final Fantasy 12 (PS2): vs FF 12: International Zodiac Job System PS2 (JP.ver only) vs FF12 Zodiac Age PS4/PC/Switch/Xbox One. ~

Final Fantasy 12: International Zodiac Job System PS2 (JP.ver only):

  • Addition of a "Zodiac Job System" featuring twelve jobs with individual License Boards corresponding to twelve zodiac signs
  • Addition of a 16:9 widescreen mode with menus and HUD at 4:3.
  • Addition of three new game modes: Trial Mode/New Game+ Strong Mode/New Game+ Weak Mode.
  • Pressing L1 will speed up gameplay. Conversations and events continue to play at normal speed.
  • Quickening doesn't consume MP. Now they use their own Mist gauge similarly to Limit Breaks from previous Final Fantasy titles.
  • UI Changes.
  • Playable characters' starting LP, consumables, gil, gambits, equipment, licenses, and base stats have been modified.
  • You have more control over Guests now, they also gain EXP/Item/Gold.
  • Many magick spells and technicks have been tweaked, renamed and recategorized.
  • Obtaining Quickenings no longer affects max MP and Mist charges do not diminish when MP is consumed (unless the player is affected by a reversed Elixir or Megalixir). The player's MP is also unaffected by the depletion of Mist charges. However, effects that recover the player's MP will also restore Mist charges. One Mist charge is granted each time the amount recovered totals the player's maximum MP. Effects that fully restore a player's MP recover all Mist charges.
  • You can now fully control Espers, they also require MP to cast magicks
  • Almost all attacks now break the 9999 damage limit from the original by default.
  • New items have been added, such as Cura Mote, Bubble Mote, Domaine Calvados, Baltoro Seed, Dark Energy and various Meteorites.
  • Bacchus's Wine now has 100% chance of inflicting Berserk (previously it was 50%).
  • Several equipment pieces were added, while some available in the original release were removed or tweaked.
  • New Weapons added.
  • Most shops had their assortments changed. Many weapons are now available from shops earlier because of the job system, and were thus made weaker.
  • Treasures respawn by moving just one area away as opposed to two. Treasures were moved around, changed the items they can give, or were removed altogether. The "forbidden chest" concept was removed, that in the original prevented the player from obtaining the Zodiac Spear in Necrohol of Nabudis if they opened a wrong treasure.
  • Dark Matter can no longer be acquired from the bazaar, and selling the ingredients needed to make it in the original will result in making the Dark Energy instead. The Dark Energy is an item that does not charge up with Knot of Rust or Devour Soul and always deals 50,000 damage to each enemy in range.
  • Treasure chests are now in different locations and contain different items.
  • There are more traps throughout the map.

Final Fantasy 12: Zodiac Age PS4/PC/Switch/Xbox One:

  • Remastered HD graphical upgrade.
  • English and Japanese voices (switch between them in the game configuration).
  • Original and newly re-recorded background music (switch between them in the game configuration).
  • Auto-save functionality added (game saves automatically when moving to each new screen, excepting boss arenas)
  • Improved high-speed mode and improved play time operability during high-speed mode
  • Ability to invert both the X and Y camera axes
  • The game balance has been overhauled to make it easier.
  • Each playable character can have two jobs at once.
  • Job Reset function added; talk to Montblanc in the Clan Hall to use.
  • The Effect Capacity system that limited spell-casting in the PlayStation 2 versions has been removed.
  • Fire, Thunder, Blizzard, and Cure only affect a single target again.
  • Espers' HP values have been doubled, but other stats kept the same as in Zodiac Job System.
  • The animation for summoning Espers is removed.
  • A glitch concerning Dyce's character model has been fixed.
  • New Game Plus and New Game Minus are now accessible from the beginning of the game.

~ Rune Factory 4 (3DS): vs Rune Factory 4 Special Switch. ~

Rune Factory 4 Special Switch:

  • HD Graphics.
  • Newlywed Mode.
  • Hell Difficulty.
  • Additional Movies.
  • Another Episode DLC.
  • Swimsuit Day DLC.
  • Many Town Events are now prioritized if requirements have been met. This includes Memories, which unlocks the last story arc and the events required for marriage.
  • The map has been moved to the main screen and can be removed and resized with the press of a button (the Switch has only one screen) or by using the touch screen icon.
  • The teleport spell has been mapped to a dedicated button. It can still be used from the touch screen.
  • You can now change the voice acting language between English and Japanese.
  • Many bug fixes.

This is just part 1, if you have any suggestions for titles to be in part 2, please post them here.

submitted by VashxShanks to JRPG [link] [comments]


2020.08.11 04:11 jsee06home Sonarr Capcha error

Below is a string pulled from my logs. I noticed when adding a show via "Add Series" that it comes back and says there was an error when searching for ******, so I went in the console and found this:






One more step


Please complete the security check to access services.sonarr.tv


































Why do I have to complete a CAPTCHA?


Completing the CAPTCHA proves you are a human and gives you temporary access to the web property.




What can I do to prevent this in the future?



If you are on a personal connection, like at home, you can run an anti-virus scan on your device to make sure it is not infected with malware.


If you are at an office or shared network, you can ask the network administrator to run a scan across the network looking for misconfigured or infected devices.


















If I try to go to services.sonarr.tv it pulls up a capcha page. I complete its request, but for some reason it's not functioning. What am I doing wrong?
submitted by jsee06home to sonarr [link] [comments]


2020.08.02 18:57 UltraChip Random Triops (RandT): A Prehistoric-Powered PRNG

I'll say up front that I realize there are far better RNG solutions out there - I'm a Python noob and haven't actually touched Python in a couple years, so I banged this out this weekend just to get back in to the swing of things.
----------
So years ago I read about Lavarand - a random number generator that worked by pointing cameras at active lava lamps and using the images from those cameras as seeds for the PRNG algorithm. The reasoning was that since the constantly-moving lava was never in quite the same state from moment to moment using it for seed data would result in truly random numbers.
Well, I don't own any lava lamps, but I do happen raise triops - a type of aquatic crustacean. Triops are fascinating for a lot of reasons (they're "living fossils" from the Cambrian period, for starters) but one of their attributes is that their swimming patterns are very spastic and random. You see where I'm going with this.
I already had a webcam pointed at the aquarium and had it streaming through a Raspberry Pi so I could monitor the animals when I'm away. I wrote a short Python script which grabs an image from the webcam, makes an MD5 hash of that image, and then uses the hash as the seed to select a random integer from a given range (default range is 0-1000 but that can be changed through command line arguments).
I also went ahead and installed lighttpd and rigged the script up with CGI so that other machines on my network can make use of RandT - whenever I want a random number all I have to do is curl the hostname of my Pi.
Is it useful? Eh, probably not. There are much more elegant ways to get truly-random numbers out of a computer these days. But it was a fun little Saturday project and now I can claim my computers harness chaos from prehistoric beasts and I'm technically not lying.
The source code can be found here on GitHub. If you want to try the script for yourself note that it requires the fswebcam package in order to work (can be found in the standard repositories of most major Linux distributions). Additionally, make sure that the user you run the script from has sufficient privileges to access the camera - on the distros I tested you only had to add the user to the 'video' group but other distros may be set up differently. I've tested the code on Raspbian and Mint but I have no reason to believe it wouldn't work on any distro that supports fswebcam.
submitted by UltraChip to Python [link] [comments]


2020.07.31 15:21 Capitalpunishment0 HTTP programming(?) in Python, what would be the best choice?

I got an idea about having my phone communicate to my PC and process some data, as well as how I would go about it using Python, and so I started working on it right away. I thought of setting up my PC as a "server" of sorts, and have my phone transfer the data to it. I read a bit about Python's HTTPServer, watched some videos, mangled some sample code I found on the internet, and have come up with the following:
from http.server import BaseHTTPRequestHandler, HTTPServer from cgi import parse_header, parse_multipart from urllib.parse import parse_qs import imghdr from datetime import datetime import threading class CustomHandler(BaseHTTPRequestHandler): # def __init__(self, *args, **kwargs): # super().__init__(*args, **kwargs) def _set_response(self): self.send_response(200) self.send_header('Content-type', 'text/html') self.end_headers() def do_GET(self): self._set_response() self.wfile.write("GET request for {}".format(self.path).encode('UTF-8')) self._GET_processes() def do_POST(self): self._set_response() self._POST_manipulation() def _GET_processes(self): CustomHandler.ui.server_callback('GET', 'This is from get!') def _POST_manipulation(self): content_type, params = parse_header(self.headers['content-type']) content_length = self.headers['Content-Length'] if 'boundary' in params: params['boundary'] = bytes(params['boundary'], 'UTF-8') params['CONTENT-LENGTH'] = content_length now = datetime.now() filename = now.strftime('%Y%m%d_%H%M%S') if content_type == 'multipart/form-data': parsed = parse_multipart(self.rfile, params) byte_file = parsed['file'][0] type_ = imghdr.what(None, h=byte_file) with open(f'received/{type_.upper()}_{filename}.{type_}', 'wb') as new_file: new_file.write(byte_file) print(f'File {filename}.{type_} written.') elif content_type == 'application/x-www-form-urlencoded': # parsed = parse(self.rfile) # print(parsed) content = self.rfile.read(int(content_length)) parsed = parse_qs(content) """ Supported POST keys(?): • b'message' """ supported = [b'message'] success = True if 'message'.encode('UTF-8') in parsed: message = parsed['message'.encode('UTF-8')] decoded = [item.decode('UTF-8') for item in message] CustomHandler.ui.server_callback('POST', decoded) # elif: # pass # For supporting other "keys" in the future? else: success = False message = 'Received POST data not supported. Valid keys are: {}'.format( ', '.join([item.decode('UTF-8') for item in supported]) ) self.wfile.write(message.encode('UTF-8')) print(f'{message} \nReceived - {parsed}') if success: self.wfile.write('POST request received successfully.'.encode('UTF-8')) def _get_server_address(self): return '{}:{}'.format(self.address_string(), self.server.server_port) @staticmethod def _initialize_ui(port, server, ui_class): CustomHandler.ui = ui_class() CustomHandler.ui.set_server_reference(port, server) CustomHandler.ui.run() def run(): PORT = 8000 server_address = ('', PORT) httpd = HTTPServer(server_address, CustomHandler) # httpd.serve_forever() thread = threading.Thread(target=httpd.serve_forever) thread.daemon = True thread.start() from main import ServerUI CustomHandler._initialize_ui(port=PORT, server=httpd, ui_class=ServerUI) if __name__ == '__main__': run() 
(I built a small UI with this using Kivy, hence the UI references, but the code is in a separate file)
I don't really know much about HTTP, but I have recent projects that use requests. This was the first time I've tried creating a "server." I have a few questions:
Thank you very much.
submitted by Capitalpunishment0 to learnprogramming [link] [comments]


2020.07.30 17:53 look_wide Firefox will not open the first tab in this hTML homepage file. any ideas on how to fix?

Gmail

submitted by look_wide to firefox [link] [comments]


Data Off - New Tamil Short Film 2019 - YouTube CGI Scripts & Using The Data Of CheckBoxes , Radio Buttons ... Run Cgi Script in Python Using Windows - YouTube How To Get & Use Web Html Forms Data With Python Cgi ... The 'submit' event on forms in JavaScript - YouTube Learning Apache http server - Executing CGI scripts - YouTube How to Automate Data Entry in a web form using excel ... Python Advanced Tutorial 7 - CGI Programming - YouTube Plotting real-time data using Python - YouTube

Processing Data with a CGI Script - NetObjects

  1. Data Off - New Tamil Short Film 2019 - YouTube
  2. CGI Scripts & Using The Data Of CheckBoxes , Radio Buttons ...
  3. Run Cgi Script in Python Using Windows - YouTube
  4. How To Get & Use Web Html Forms Data With Python Cgi ...
  5. The 'submit' event on forms in JavaScript - YouTube
  6. Learning Apache http server - Executing CGI scripts - YouTube
  7. How to Automate Data Entry in a web form using excel ...
  8. Python Advanced Tutorial 7 - CGI Programming - YouTube
  9. Plotting real-time data using Python - YouTube

Cgi script In this tutorial we would learn: 1. How to automate data entry in a web form 2. How to fetch data from excel file and populate a web form/page More videos like this online at http://www.theurbanpenguin.com. One thing we find using a minimal setup of Apache is that we have to enable everything. This ... You can use the 'submit' event in JavaScript to react to when the user submits an HTML form. This can be useful when you want to use AJAX for your form proce... #TALK_IS_CHEAP___SHOW_ME_THE_CODE How To Get & Use Web Html Forms Data With Python Cgi Without Any Web Framework Watch #DataOff New Tamil Short Film 2019 Cast and crew Cast - THAMIZH , MADHAVI Director - LOGAN Dop - UMASUDHAN NANDHAGOPAL Music - UDHAY Editing - A KUMARA... In this video, we give a brief Explanation about CGI Scripts Using Get & Post Methods in python in Telugu. INSTALL PYTHON SOFTWARE : https://drive.google.com... This is tutorial covering how to set up a basic web server on Ubuntu and use python for our server-side scripts. All Links and Slides will be in the descript... Learn how to plot real time data using Python. Here, we plot the live CPU usage percentage of PC using matplotlib. Code here: https://gist.github.com/nikhilk...