Increase coverage of eCommerce platforms

Add following eCommerce Platforms -

Technology
Website
Pattern
Example site

ShiftCommerce
https://www.shiftcommerce.com/
?
www.matalan.co.uk

AbleCommerce
https://www.ablecommerce.com/
?
?

ReactionCommerce
www.reactioncommerce.com
One of the site has assets from CDN and another site only has copyright message in footer
https://material.bombur.de/ and https://shop.geospatial.com/

The Hut Group
https://www.thg.com/
Look for THEHUT-*.js
www.lookfantastic.com / https://www.burtsbees.co.uk/

Global-e
https://www.global-e.com/
Look for script https://web.global-e.com/
https://www.prettygreen.com/

Flow
https://www.flow.io/
Look for script https://cdn.flow.io/flowjs/latest/flow.min.js OR shopify-cdn.flow.io
https://www.mzwallace.com/ and https://www.outerknown.com/

Borderfree
https://www.borderfree.com/
look for bfx.js OR global.prd.borderfree.com
https://www.rebeccaminkoff.com/

Salesfloor
https://salesfloor.net/
look for src="/assets/scripts/salesFloor.js"
https://www.neimanmarcus.com/

Have Added Hut Group for now as it's much bigger compared to others while we wait for pattern identification for others. @AliasIO  - Please review

@AliasIO - question for you.. Tools like BuiltWith do a generic CART detection to determine eCommerce category (even if we can't detect exact platform). See example below -

I believe this detection is done by looking for /cart / basket /trolly etc. in link (this is my guess.. possibly there are few more patters).
What is your view on this? Do you instances like this in Wappalyzer ?

It's an odd one but we could add a technology called 'Cart functionality' in the Ecommerce category to serve as a catch-all. Not sure how reliable it is to detect cart functionality with generic patterns.

We can keep it tight and tweak as necessary but only issue in this case will be two entries where there is a cart link and we also identify an eCommerce platform. Is there a way to suppress 'Cart functionality' if we detect an eCommerce platform?

We can't suppress it unless we add an excludes clause to every ecommerce technology. It's a little hacky but it might be ok to show both entries.

ok.. let's do that for now. What logo and website link we use for this :-)?

@AliasIO - We can go with exact match for following URL patterns to start with
/cart
/basket
/checkout/
/bag
/trolley

The website link can be https://www.wappalyzer.com/technologies/ecommerce/cart-functionality. :)
Here's a generic cart icon:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1"  width="24" height="24" viewBox="0 0 24 24">
   <path fill="#000000" d="M17,18C15.89,18 15,18.89 15,20A2,2 0 0,0 17,22A2,2 0 0,0 19,20C19,18.89 18.1,18 17,18M1,2V4H3L6.6,11.59L5.24,14.04C5.09,14.32 5,14.65 5,15A2,2 0 0,0 7,17H19V15H7.42A0.25,0.25 0 0,1 7.17,14.75C7.17,14.7 7.18,14.66 7.2,14.63L8.1,13H15.55C16.3,13 16.96,12.58 17.3,11.97L20.88,5.5C20.95,5.34 21,5.17 21,5A1,1 0 0,0 20,4H5.21L4.27,2M7,18C5.89,18 5,18.89 5,20A2,2 0 0,0 7,22A2,2 0 0,0 9,20C9,18.89 8.1,18 7,18Z" />
</svg>

@AliasIO - I think generic 'Cart functionality' detection can be improved further by looking for a '-'. It currently matches /Cart but I think /Cart- should also be a safe match as - is a common practice in URL. Example site which will benefit from this - https://www.halfords.com/

Note for self - I think we can extend detection for 'Cart Functionality' by extending the pattern for /order. Example site to test - https://almondfurniture.co.uk/

@AliasIO - I had added Flow.io under eCommerce category as part of this commit on 26th July 2020 (https://github.com/AliasIO/wappalyzer/pull/3247/commits/c1dd10d8361afbd309eeb8eec03bcc1aaf463a0f)
But looks like your change on 6th Sep 2020 removed check for 'Flow.io'
https://github.com/AliasIO/wappalyzer/commit/7f82ac6e729809dff1313ffe14db1fb6e2e8f643
I am assuming this was by mistake.. Can you please have a look ?

@rockeynebhwani I think it was too, I added it back in db20de16f46a51f3576af714d05db6334c7ebd28.

@AliasIO - I see that Flow is now not being detected on www.mzwallace.com. I think we can enhance 'Flow' detection by checking for 'flow' window object. Example sites - www.mzwallace.com / https://www.charlesandcolvard.com/


update installation notes to use virtualenv

On Windows the qtt examples fail if installed with venv instead of virtualenv, see https://github.com/pyqtgraph/pyqtgraph/issues/1052

Did you test this solution. My pyCharm also uses virtualenv and in Python 3.7 it fails.

Yes, it Worked For Me (tm). But that was with manual commands, not with pycharm


[tool_crash] FileSystemException: Cannot create link, OS Error: Incorrect function., errno = 1

Command
flutter pub get

Steps to Reproduce

...
...
...

Logs
FileSystemException: Cannot create link, OS Error: Incorrect function.
, errno = 1
#0      _Link.throwIfError (dart:io/link.dart:254:7)
#1      _Link.createSync (dart:io/link.dart:182:5)
#2      ForwardingLink.createSync (package:file/src/forwarding/forwarding_link.dart:20:16)
#3      ForwardingLink.createSync (package:file/src/forwarding/forwarding_link.dart:20:16)
#4      _createPlatformPluginSymlinks (package:flutter_tools/src/flutter_plugins.dart:1055:12)
#5      createPluginSymlinks (package:flutter_tools/src/flutter_plugins.dart:985:5)
#6      refreshPluginsList (package:flutter_tools/src/flutter_plugins.dart:1087:5)
<asynchronous suspension>
#7      FlutterProject.ensureReadyForPlatformSpecificTooling (package:flutter_tools/src/project.dart:355:5)
<asynchronous suspension>
#8      PackagesGetCommand.runCommand (package:flutter_tools/src/commands/packages.dart:326:7)
<asynchronous suspension>
#9      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1336:27)
<asynchronous suspension>
#10     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#11     CommandRunner.runCommand (package:args/command_runner.dart:212:13)
<asynchronous suspension>
#12     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:296:9)
<asynchronous suspension>
#13     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#14     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:244:5)
<asynchronous suspension>
#15     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:91:9)

[✓] Flutter (Channel stable, 3.10.5, on Microsoft Windows [Version 10.0.22621.1848], locale en-IN)
    • Flutter version 3.10.5 on channel stable at D:\sdk flutter\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 796c8ef792 (9 days ago), 2023-06-13 15:51:02 -0700
    • Engine revision 45f6e00911
    • Dart version 3.0.5
    • DevTools version 2.23.1

[✓] Windows Version (Installed version of Windows is version 10 or higher)

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
    • Android SDK at D:\androidsdk
    • Platform android-33, build-tools 33.0.2
    • Java binary at: D:\android\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-9586694)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[✓] Visual Studio - develop for Windows (Visual Studio Community 2022 17.4.3)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.4.33205.214
    • Windows 10 SDK version 10.0.22000.0

[✓] Android Studio (version 2022.2)
    • Android Studio at D:\android
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-9586694)

[✓] Connected device (4 available)
    • sdk gphone x86 64 (mobile) • emulator-5554 • android-x64    • Android 13 (API 33) (emulator)
    • Windows (desktop)          • windows       • windows-x64    • Microsoft Windows [Version 10.0.22621.1848]
    • Chrome (web)               • chrome        • web-javascript • Google Chrome 114.0.5735.134
    • Edge (web)                 • edge          • web-javascript • Microsoft Edge 114.0.1823.51

[✓] Network resources
    • All expected network resources are available.

• No issues found!

Flutter Application Metadata
Type: app
Version: 1.0.0+1
Material: true
Android X: false
Module: false
Plugin: false
Android package: null
iOS bundle identifier: null
Creation channel: stable
Creation framework version: 9cd3d0d9ff05768afa249e036acc66e8abe93bff
Plugins
cloud_firestore-4.8.1
cloud_firestore_web-3.6.1
firebase_auth-4.6.3
firebase_auth_web-5.5.3
firebase_core-2.14.0
firebase_core_web-2.6.0
firebase_messaging-14.6.3
firebase_messaging_web-3.5.3
firebase_storage-11.2.3
firebase_storage_web-3.6.3
url_launcher-6.1.11
url_launcher_android-6.0.35
url_launcher_ios-6.1.4
url_launcher_linux-3.0.5
url_launcher_macos-3.0.5
url_launcher_web-2.0.17
url_launcher_windows-3.0.6

Closing as duplicate of https://github.com/flutter/flutter/issues/66224


ModuleNotFoundError: No module named 'openchecks.openchecks

Hello Scott,
I tried to import module from wheel package but I got following error
Traceback (most recent call last):
  File "/home/aditia/Documents/production_tools/openchecks/import_test/test.py", line 27, in <module>
    module = importlib.import_module(module_name)
  File "/home/aditia/.pyenv/versions/3.10.14/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/home/aditia/Documents/production_tools/openchecks/import_test/openchecks-0.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl/openchecks/__init__.py", line 1, in <module>
ModuleNotFoundError: No module named 'openchecks.openchecks

Here you can download the zip,
import_test.zip
and here's the step to generate the error:

cd import_test
python test.py

How did you install the wheel? I have found that pip install openchecks works. But, I'll take a look at your test case shortly.

That may be the reason. I did a quick look, and pip wheel looks like it only builds wheels, but I believe you can do pip install /path/to/openchecks-0.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
You might need to do it in a virtual environment, so you can do the following steps:

python3 -m venv .venv
source .venv/bin/activate
python -m pip install openchecks

But, if you're trying to build it, then that's slightly different. I will have to update the readme to make sure that's in there (excuse the mess).

ah ok thanks Scott, by the way the reason i use that way is I tried to bundle it in Blender Extension, so it seems I need to call pip install through blender python?

Yeah, there's a few ways you could get it to work. Doing the pip install may work, or you might need to vendor it manually. I'll be interested in hearing what you do, though.

yeah probably manually vendor is not bad idea, I also notice pip wheel will provide linux only .so file...so probably need to use os detection as well to install in user pc...I'll update again later, Thank you so much Scott.

I'm going to close this ticket for now, since it seems that the original issue is resolved. However, feel free to open a new ticket or post in the discussions.

Yes, no worries...in the end I created function to pip install openchecks on addon register. Thanks


I really appreciated the super meaningful comments.
You posted a change on the segment postings performance. I didn't expect anything to change there. This is weird. Did moving block_len in the block postings give an accidental win on perf ?
Note that it is not exactly where it should be yet. See #89 for more info.
Could you had a benchmark for the usage of skip. You can reuse what is done in segment postings, and skip different length.

I ended up removing the early exit since it made things slower overall.
I would have liked to move the search code to a different function, but it was slower, regardless of me trying to use get_unchecked and/or #[inline]. The std binary search is also much slower.

@lnicola good job, is there other stuff you want to test or are we good here?

on my laptop.
After
test postings::tests::bench_skip_next_p01                  ... bench:     105,033 ns/iter (+/- 18,449)
test postings::tests::bench_skip_next_p1                   ... bench:     410,501 ns/iter (+/- 188,668)
test postings::tests::bench_skip_next_p10                  ... bench:     930,328 ns/iter (+/- 176,705)
test postings::tests::bench_skip_next_p90                  ... bench:     579,244 ns/iter (+/- 79,471)

Before
test postings::tests::bench_skip_next_p01                  ... bench:     652,467 ns/iter (+/- 210,771)
test postings::tests::bench_skip_next_p1                   ... bench:     773,190 ns/iter (+/- 182,173)
test postings::tests::bench_skip_next_p10                  ... bench:   1,018,934 ns/iter (+/- 183,300)
test postings::tests::bench_skip_next_p90                  ... bench:     555,098 ns/iter (+/- 159,895)

I think we're good.

Experimenting with replacing the complete code the exponential search + the binary search by
on optimized branchless version


MGMT-16112: Add OpenAPI handler

This patch adds a new /o2ims-infrastructureInventory/v1/openapi endpoint that returns the OpenAPI specification of the service.
Currently this specification only covers the metadata and the deployment manager endpoints. Other endpoints will be added later.
Related: https://issues.redhat.com/browse/MGMT-16112

/lgtm
Note: just wonder whether the spec can be generated from code on every change.
Maybe using huma: https://github.com/danielgtaylor/huma/blob/8f089757a73fa97636099306a6549745e1f1bb8f/docs/docs/features/openapi-generation.md?plain=1#L9


Update README.md FFI build steps

@LuisOsta @yanctrindade actually we'll need something here about the process to push the ffi artifacts upstreams


Error parsing Character: You do not have permission to browse the host file system!

Getting an error when importing sheets as a player user. The error on the import matches that in the Console. Player stats get set to level 0.

This error only began after I updated both Foundry and the ddb-importer.
foundry: 9.24
ddb-importer: 2.7.7
If I run the same import as a DM user however, it succeeds, and the character's level is restored.
I double-checked that all needed folders exist on my server and are owned by the running process, so I don't think this is a file system error.

This is a permissions error for the users - check that the role permissions the user has - are they able to browse/upload data?

That fixed it, thank you!
For whatever reason when I updated foundry it dropped our saved settings in a lot of places, including modules. I forgot that I had set that setting awhile back when we set the server up.


Add implicit relative path support for python 2X

https://chrisyeh96.github.io/2017/08/08/definitive-guide-python-imports.html#absolute-vs-relative-import
https://www.python.org/dev/peps/pep-0328/
https://docs.python.org/2/library/__future__.html: from __future__ import absolute_import

https://github.com/Microsoft/python-language-server/pull/361


Split cells when neighbouring inaccessible cells

PolarRoute Pull Request
Date: 26/03
Version Number: 0.3.14
Description of change
Adds a method to the VesselPerformanceModeller that will split any cells neighbouring inaccessible cells (including land cells).
Fixes #264
Testing
Files Changed:
polar_route/vessel_performance/vessel_performance_modeller.py

[x] My changes require one or more test files to be updated for all regression tests to pass.

Failing tests:
vessel_test_results.txt
Checklist

[x] My code follows pep8 style guidelines.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have updated the documentation of the codebase where required.
[x] My changes generate no new warnings.
[ ] My PR has been made to the 0.3.x branch (DO NOT SUBMIT A PR TO MAIN)

This PR causes various regression tests to fail as the additional splitting modifies the vessel performance mesh and its neighbour graph. I have not updated the test files on this branch yet as the final changes @Ulvetanna needs to make to resolve the issue with splitting around waypoints will also require changing the tests and it may be easier to roll all of these changes into one big update.

Difference in the meshes for the grf_normal mesh from the regression test examples:
Reference mesh:

New mesh:

I have now modified the vessel performance regression test files to match this version of the code as any further changes related to waypoint splitting will only change the route planning test results.


How update HeatmapData with different size data?

If the size of HeatmapData is change how update it?
Same question about scatter plot.
private void ChangeData()
 {
     Text = $"Updated {++UpdateCount} times";

     Random rand = new();
     for (int y = 0; y < HeatmapData.GetLength(0); y++)
     {
         for (int x = 0; x < HeatmapData.GetLength(1); x++)
         {
             HeatmapData[y, x] += rand.NextDouble() - .5;
         }
     }
}

You can use
formsPlot1.Plot.Remove<ScottPlot.Plottables.Heatmap>(); // remove all heatmaps from the plot

Then add a new heatmap with your data of a different size and call formsPlot1.Refresh() to redraw the screen.
For the case of heatmaps note that you can set the values of cells to double.NaN and that makes them transprent, so that's an alternative strategy for growing/changing heatmaps https://scottplot.net/cookbook/5.0/Heatmap/HeatmapTransparentCells/


Star Wars Revised RPG

I hope I figured this github pull request out. I'm trying to submit my Star Wars Revised RPG character sheet for community use. I'm using it and it works great. I saw a few people on the forums requesting it. I figured I would pass it around

Upon further testing, there are a few bugs I need to work out. Will re-pull when further tested.


Remove a hack used to retrieve schematized data from HL7v2 messages, …

…now that the schamatized parser is available publicly. Also removed a few methods that are not used anywhere.
R: @pabloem @jaketf

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
Post-Commit Tests Status (on master branch)

Lang
SDK
Apex
Dataflow
Flink
Gearpump
Samza
Spark

Go

---
---

---
---

Java

Python

---

---
---

XLang
---
---
---

---
---

Pre-Commit Tests Status (on master branch)

---
Java
Python
Go
Website

Non-portable

Portable
---

---
---

See .test-infra/jenkins/README for trigger phrase, status and link of all Jenkins jobs.

retest this please.

retest this please

retest this please

retest this please

retest this please

retest this please

retest this please


reading the response is taking too long - 10 minutes

I am using native_tls::{TlsConnector, TlsStream} as part of building a browser project in Rust.
reader.read_to_end(...) - this read operation hangs for about 10 minutes - and only after this enormous delay, the html contents of the URL (www.bbc.com for example) is resolved.
for comparison - in browsers like chrome - takes 2 seconds for www.bbc.com, in curl takes 2-5 seconds.
any thoughts on why this process my take so long ? (nothing serious on the wireshark logs, handshake times seems reasonable)
simplified version of my code:
let mut response = Vec::new();
let mut tcp_stream = TcpStream::connect((ip, protocol_port)).expect("Error...");
let connector = TlsConnector::new().expect("Error creating TLS connector");
let mut tls_stream = connector.connect(host.as_str(), tcp_stream).expect("Error connecting with TLS");
tls_stream.write_all(request.as_bytes()).expect("Error....");
let mut reader = io::BufReader::new(tls_stream);
let mut buffer = [0; 4096];
reader.read_to_end(&mut response).expect("error...");
note: tried with a buffer, tried with 'read' instead of read_to_end

read_to_end reads until the connection closes. You need to parse the response to determine when it is complete.

@sfackler thank you for your answer.
as I mentioned the code I shosed is a simplified part. the rest of the code includes:
let response_str = String::from_utf8_lossy(&response);
println!("response_str: {}", response_str);
and also writing to files.
the operation is successfull, however it takes 10 minutes to complete (unlike using curl / browser which takes 2 seconds)
I tried buffering and didn't work.
any thoughts ? or even how to debug ?

I will also add that with Rustls library there were no issues (maybe related to the fact TLS 1.3 is used ?)
anyway I prefer the API of native-tls so I hope I will resolve it

Again, you cannot just read until the socket closes to get a complete HTTP response: https://en.wikipedia.org/wiki/HTTP_persistent_connection


Update report process status page title to include processing state

Add report processing status to title of processing view:
Processiing
Processing complete

Added feature:
"FAE Processing..."
and
"FAE Complete"


Update PAX logo

In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:

[x] Filename in the lowercase format
[x] Image format: png
[x] Image size: 256 by 256 px

update with a higher quality logo

Image already exist

Not sure if I did something wrong. I followed the steps and request was closed due to "image already exist".
Please help. Here is the updated image and contract address - 0x8e870d67f660d95d5be530380d0ec0bd388289e1

@tigersgt image is updated. Done!
It might be cached on the mobile side for 7 days tho, but new users will see already updated logo.


[Crunchyroll] youtube-dl does not extract special episodes output

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like this: [x])
Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.12.17. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2018.12.17

Before submitting an issue make sure you have:

[x] At least skimmed through the README, most notably the FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones
[x] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

[x] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-f', 'best[height=360]', '-o', 'C:\\Users\\USERNAME\\Desktop\\%(series)s %(episode_number)s.%(ext)s', 'https://www.crunchyroll.com/91-days/episode-75-brief-candle-778618', '-v']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2018.12.17
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.17763
[debug] exe versions: ffmpeg N-92795-gcdbf8847ea, ffprobe N-92795-gcdbf8847ea, rtmpdump 2.5
[debug] Proxy map: {}
[crunchyroll] 778618: Downloading webpage
[crunchyroll] 778618: Downloading audio-enUS m3u8 information
[crunchyroll] 778618: Downloading audio-enUS-hardsub-enUS m3u8 information
[crunchyroll] 778618: Downloading media info
[debug] Invoking downloader on 'https://v.vrv.co/evs/b4470b5f647ed3b00ea7f4d20affe37f/assets/abafa33f3c9e2368878d1ed81f82004b_3573574.mp4/index-v1-a1.m3u8?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly92LnZydi5jby9ldnMvYjQ0NzBiNWY2NDdlZDNiMDBlYTdmNGQyMGFmZmUzN2YvYXNzZXRzL2FiYWZhMzNmM2M5ZTIzNjg4NzhkMWVkODFmODIwMDRiXyoiLCJDb25kaXRpb24iOnsiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjE1NDU5Mjg1NjF9fX1dfQ__&Signature=JeJDEHKxKlHa74L3hNQ6vERrB~qlGLKhzbCaoHjk99jTaKCl49IVe6JM3GsKiEpFUzvUkettUiVVbRWHcPtzpltxhydScJX9BmUwrQAmv9xeHokhRvlSbkgWchFt~l6RzrS4Rc~4Hj9c53TqIEOhKIFriK14VmYws9D5eE42SlKvCWabN~jRZ237by58nzBvN2x1AfXGtAk2d7DRLUWOQFNiexxpyjxAM-dLd5WcMW3s6wh2TfcisbCY3tllQ3xnG-08NCqfniZ~HSQgM~LRifjroDWpbTfDfZGkLPFDdbkUvNYYbp928kviopNqd-B5qxucYoV4WYD7btUksnz5IA__&Key-Pair-Id=APKAJMWSQ5S7ZB3MF5VA'
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 149
[download] Destination: C:\Users\USERNAME\Desktop\91 Days NA.mp4
[download]  18.1% of ~81.33MiB at  1.74MiB/s ETA 00:02

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

Single video: https://www.youtube.com/watch?v=BaW_jenozKc
Single video: https://youtu.be/BaW_jenozKc

Note that youtube-dl does not support sites dedicated to copyright infringement. In order for site support request to be accepted all provided example URLs should not violate any copyrights.

Description of your issue, suggested solution and other information
This is a duplicate of https://github.com/rg3/youtube-dl/issues/18576
It was closed without any consistent answer, and after 8 days there's still no answer.
So I made another issue.
The problem is that youtube-dl doesn't extract from Crunchyroll the episode.
In this case the episode is 7.5, but it will appear as NA. This happens even with this Inferno Cop's episode.
It should be Fact File 01, but youtube-dl doesn't extract it, so it is NA.

As already pointed out 7.5 is not a valid countable integer that is required by episode_number thus it's not extracted.


  For example (from Date::Manip::Lang):
%Lang = qw(
        catalan     catalan
        ca          catalan

        danish      danish
        da          danish

        dutch       dutch
        nederlands  dutch
        nl          dutch

        english     english
        en          english
        en_us       english

        finnish     finnish
        fi          finnish
        fi_fi       finnish

        french      french
        fr          french
        fr_fr       french

        german      german
        de          german
        de_de       german

        italian     italian
        it          italian
        it_it       italian

        norwegian   norwegian
        nb          norwegian
        nb_no       norwegian

        polish      polish
        pl          polish
        pl_pl       polish

        portuguese  portugue
        pt          portugue
        pt_pt       portugue

        romanian    romanian
        ro          romanian
        ro_ro       romanian

        russian     russian
        ru          russian
        ru_ru       russian

        spanish     spanish
        es          spanish
        es_es       spanish

        swedish     swedish
        sv          swedish

        turkish     turkish
        tr          turkish
        tr_tr       turkish
     );

Fixed in v1.030


textAnchor ('start') not working

Bug report
I wanted to anchor the text to the left like it is shown in your example here
On my test the text is always (near) center... not to the left/start.
Codepen
Here is my codepen example which demonstrates the problem.
Thanks

Hi, I have the same problem. Did you already fix it?

Hi, I have the same problem. Did you already fix it?

No

@Heart1010
You can achieve that alignment by using plotOptions under options:
options: {
	plotOptions: {
		bar: {
			horizontal: true,
			dataLabels: {
				position: 'bottom' // use 'bottom' for left and 'top' for right align
			},
		}
	},
	dataLabels: {
		enabled: true,
		textAnchor: 'start' // use 'start' if left aligned and 'end' if right aligned
        }
}

position: 'bottom' did it... thanks 👍


SelectiveBloomEffect doesn't work when renderer.logarithmicDepthBuffer set true

Description of the bug
SelectiveBloomEffect doesn't work when renderer.logarithmicDepthBuffer set true
To reproduce
option WebGLRenderer
{
powerPreference: "high-performance",
antialias: false,
stencil: false,
depth: false,
alpha: true,
logarithmicDepthBuffer: true
}
option EffectComposer
{
frameBufferType: HalfFloatType,
alpha: true
}
option SelectiveBloomEffect
{
opacity: 1,
blendFunction: BlendFunction.ADD,
mipmapBlur: true,
luminanceThreshold: 0,
luminanceSmoothing: 0.2,
intensity: 1,
radius: .85
}
effect.inverted = false;
effect.ignoreBackground = true;
Library versions used

Three: 0.169.0
Post Processing: 6.36.4

tips:
when set inverted=false and add a mesh in selection,it not work

Hi, I'm unable to reproduce the issue. I've tested SelectiveBloomEffect with logarithmic depth just now and it seems to work as expected.
If you need help troubleshooting, please provide a minimal reproduction of the issue with https://stackblitz.com/edit/postprocessing-v6 or some other sandbox environment.


remove ansis:SoilSurface from ansis:SoilSite

ansis:SoilSurface is to be nested under ansis:SoilProfile

Schema implementation decision. Ontology -  ansis:SoilSite has relatedSoilSurface


[WIP] Add implementation of woodcutting skill

New woodcutting skill that allows player to cut down trees.
Description
Implementation of woodcutting skill.
For the skill to be complete it must have the following:

[x] Allow players to cut down trees.
[x] Allow player to receive logs from trees.
[x] Allow player to gain experience from trees.
[ ] One click chopping (Batched skill).
[ ] Support at least one other axe. (Optional)
[ ] Support at least one other tree. (Optional)
[ ] Add tests!

Please feel free to add/remove anything to the list above.
Related Issue
There is no open issue/feature for this. This is just something fun I'm implementing for myself. If someday the woodcutting skill becomes necessary please feel free to merge this branch.
Motivation and Context
It is currently an un-required feature.
How Has This Been Tested?
N/A

Q&A (manual testing)
Screenshots (if appropriate):
Players are able to cut down trees and receive logs.

Types of change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)

Holy smokes -- this is awesome!

Holy smokes -- this is awesome!

Thanks I'm still not sure wether I should have the woodcutting batched (One click will keep cutting the tree until and return logs until the tree is empty) or have it like the current mining implementation (one click to chop the tree down and get logs). I'll have to play with it and see what makes more sense. If you have a preference please let me know 😄

Holy smokes -- this is awesome!

Thanks! I'm still not sure wether I should have the woodcutting batched (One click will keep cutting the tree until and return logs until the tree is empty) or have it like the current mining implementation (one click to chop the tree down and get logs). I'll have to play with it and see what makes more sense. If you have a preference please let me know 😄

I'm thinking the 1st one. Have it return 3-5 logs until it gets "chopped down" and regenerates. Akin to what (Old School) RuneScape does. A lot of this game is based on those mechanics.
(Also don't forget to zoom in into the game. Making the game so small was a mistake...)

I'm thinking the 1st one. Have it return 3-5 logs until it gets "chopped down" and regenerates. Akin to what (Old School) RuneScape does. A lot of this game is based on those mechanics.

Ok! Batched it is! I'll look into the way they do their formulae and try to get it as close as possible.

I would also argue that there is ONE tree you just can't chop down (the bright green one that acts like a border/fence). Other than that, any tree is game.

Hmm...Perhaps it would be better to specify to the player why the tree cant be chopped down. Like some kind of message when you examine those green trees. For example something like We shouldn't cut down the forest! or This tree doesn't look like it could be cut.. This way the players don't assume it's a bug since the sprites look so similar. What do you think?

(Also don't forget to zoom in into the game (CMD / CTRL +). Making the game so small was a mistake...)

I didn't know we could zoom in thanks for the tip!

Ok! Batched it is! I'll look into the way they do their formulae and try to get it as close as possible.

This should not be that difficult. But it can be confusing...

Hmm...Perhaps it would be better to specify to the player why the tree cant be chopped down.

Yes, let them know that this kind of tree can't be chopped down. I think the way RuneScape has it... some tree just don't have the Chop option. But I'll look into it.

I didn't know we could zoom in thanks for the tip!

I am hoping to make some improvements to the UI about this.

If you are not doing anything Saturday, I can walk you through some of Delaford and do some pair-programming, if you'd like.

I have updated some code and added a screenshot of what it looks like so far. (Excuse the picture of the logs its the best I could do with my limited GIMP knowledge..)

If you are not doing anything Saturday, I can walk you through some of Delaford and do some pair-programming, if you'd like.
Sure, I can't promise I'll be free but if I'm I'll let you know on discord! 😄

@aleks-rope I just a chance to download your branch and play it. Not bad at all. A lot of the same mechanisms from Mining applied so it was pretty much copy/paste at least.
The one bug I saw was that future trees that I cut down did not leave a stump despite getting resources. I'm guessing you're saving that for when you convert it to batches?
Also, the tile for Logs seems off. Not sure where you got your logs from but we try to find our tileset from one simple source of truth so the game feels the same: http://pousse.rapiere.free.fr/tome/tome-tiles.htm

@aleks-rope I just a chance to download your branch and play it. Not bad at all. A lot of the same mechanisms from Mining applied so it was pretty much copy/paste at least.

Thank you. I chose this skill because its close to mining and I wanted to learn how to implement skills and just get in place. Once the batching is in place it will look very different.

The one bug I saw was that future trees that I cut down did not leave a stump despite getting resources. I'm guessing you're saving that for when you convert it to batches?

Strange, you should be able to see the tree stump. I will take a look and see whats going on.

Also, the tile for Logs seems off. Not sure where you got your logs from but we try to find our tileset from one simple source of truth so the game feels the same: http://pousse.rapiere.free.fr/tome/tome-tiles.htm

As mentioned previously I whipped it up in GIMP because I couldn't quite find the right tile. This log tile is just temporary placeholder for now for me to visualize.
Im currently working on batching the chopping process and the axe bonus calculation.

Strange, you should be able to see the tree stump. I will take a look and see whats going on.

I DID see the first stump. The next one I did not.

As mentioned previously I whipped it up in GIMP because I couldn't quite find the right tile.

Gotcha. Thank you!

...

...

what

this is pretty awesome


Upgrade hadoop version

What changes were proposed in this pull request?
Upgraded hadoop version to hadoop-2.6.0-cdh5.16.1

Thanks @mpereira @akirillov good catch, upgraded the test config. This hasn't been updated for a while it seems.


Always use boto3 session when creating different objects.

As suggested here https://github.com/boto/boto3/issues/801#issuecomment-875140699,
The occasional error we get KeyError: 'endpoint_resolver' should be fixed if we replace boto3.client() with s3_session.client() .

Task linked: QF-2560 Getting KeyError: 'endpoint_resolver' when calling the S3 storage


Editing existing .xls and saving it to the server

Hi
What would be the simplest and fastest way to edit existing .xls file and then saving it to the server. By editing I mean, editing specific cells.

There are many different options, so you need to be specific.  Let's say you want to edit cell A1 of the first worksheet to say "HI".  The worksheet manipulation function would be:
function change_workbook(wb) {
  // get the first worksheet
  var ws_name = wb.SheetNames[0];
  var ws = wb.Sheets[ws_name];

  // Change cell A1 to the text "HI"
  ws["A1"] = {
    t: 's', // <-- t: 's' indicates the cell is a text cell
    v: "HI" // <-- v holds the value
  };
}

If you are using node.js and the file resides on the server and you want to edit it in the location, you can read the file, then change and write the file:
var XLSX = require('xlsx');
var wb = XLSX.readFile("original.xls");

change_workbook(wb); // ***

XLSX.writeFile(wb, "new.xls");

If the file resides on the client, you can upload and transform on the server side.  The server demo shows how to read uploaded data using formidable:
var formidable = require('formidable');
var XLSX = require('xlsx');
var server = http.createServer(function(req, res) {
	var form = new formidable.IncomingForm();
	form.parse(req, function(err, fields, files) {
		var f = files[Object.keys(files)[0]];
		var wb = XLSX.readFile(f.path);

		change_workbook(wb); // ***

		res.setHeader('Content-Disposition', 'attachment; filename="download.xls";');
		res.end(XLSX.write(wb, {type:"buffer", bookType:ext})); // send the new file back to the client
	});
}).listen(PORT);

You can also transform on the client side and upload:
// assuming <input type="file" name="xlfile" id="xlf" /> is somewhere in the page
function do_file(files) {
	var f = files[0];
	var reader = new FileReader();
	reader.onload = function(e) {
		var data = e.target.result;
		var wb = X.read(data, {type: 'binary'}));

		change_workbook(wb); // ***

		// the rest is explained in the XHR demo
		var wbout = XLSX.write(wb, {bookType:'xls', type:'base64'});
		var fd = new FormData();
		fd.append('data', wbout);
		var req = new XMLHttpRequest();
		req.open("POST", "/upload", true);
		req.send(fd);
	};
	reader.readAsBinaryString(f);
};

var xlf = document.getElementById('input_element');
xlf.addEventListener('change', function(e) { do_file(e.target.files); }, false);

İt doesn't work. I tried, when I send base 64 type I can't get files field. Is there any way to rewrite file type?

It doesn't work.

It doesn't work.

It doesn't work.

It doesn't work.

It doesn't work.

It doesn't work.

It doesn't work.

It doesn't work.

It doesn't work.

If the field not exist, you need use sheet_add_aoa:
`function change_workbook(wb) {
// get the first worksheet
var ws_name = wb.SheetNames[0];
var ws = wb.Sheets[ws_name];
// Change cell A1 to the text "HI"
ws["A1"] = {
t: 's', // <-- t: 's' indicates the cell is a text cell
v: "HI" // <-- v holds the value
};
// Add if not exist cell on original
XLSX.utils.sheet_add_aoa(ws, [["HI"]], {origin: 'A1'});
}`

If the field not exist, you need use sheet_add_aoa:
function change_workbook(wb) {
// get the first worksheet
var ws_name = wb.SheetNames[0];
var ws = wb.Sheets[ws_name];

// Change cell A1 to the text "HI"
ws["A1"] = {
t: 's', // <-- t: 's' indicates the cell is a text cell
v: "HI" // <-- v holds the value
};
// Add if not exist cell on original
XLSX.utils.sheet_add_aoa(ws, [["HI"]], {origin: 'A1'});
}


The User Story

The user story is been created.

Wiki reference: https://github.com/amineglr/SWE573_daglarguler.wiki.git


PyTorch code

Is there any timeline or estimate as to when the PyTorch code will be made available? I'm trying to decide whether to wait for that, or transcribe some code I already have from PyTorch to Tensorflow to use with this repo.

Thanks for your interest! It will take much effort and many resources to align the implementations based on two totally different framework, and the code release also depends on the publication of our improved method. Thus we can not promise the date of release. Sorry for the inconvenience.


vite + pnpm + wa-sqlite

hey, while I was upgrading my repo (hadnt touched it for 20+days) after the fluent api changes PR got merged etc, and I thought about trying to use wa-sqlite to get rid of the specific COEP/COOP issues
// vite.config.ts
// needed for @kikko-land/absurd-web-backend

 server: {
        headers: {
            "Cross-Origin-Embedder-Policy": "require-corp",
            "Cross-Origin-Opener-Policy": "same-origin",
        },
    },

so I swapped this:
import { absurdWebBackend } from "@kikko-land/absurd-web-backend";
import sqlWasmUrl from "@kikko-land/sql.js/dist/sql-wasm.wasm?url";

const backend = absurdWebBackend({ wasmUrl: sqlWasmUrl });

for this:
import { waSqliteWebBackend } from "@kikko-land/wa-sqlite-web-backend";
import sqlWasmUrl from "wa-sqlite/dist/wa-sqlite-async.wasm?url";

const backend = waSqliteWebBackend({ wasmUrl: sqlWasmUrl });

but the migrationsPlugin seems buggy, as if it didnt detect that migrations were already run
this error shows in the browser console :

I already tried clearing site data + manually removing every indexed dbs
Any idea on how to solve that ?

I see. It happens due to react Strict Mode. Fix on the way 🙂

It should be fixed now. Also, don't forget to upgrade wa-sqlite — I made some race condition fix 🙂

hey, just tried upgrading but it still seems buggy, am i doing something wrong ?

this is the deps upgrade commit

@astahmer oh I found the reason. It seems wa-sqlite doesn't support long int. But if you will take new Date().getTime() as ID it will work perfectly 🙂
It seems I will need to create an issue at wa-sqlite about this 🤔


Saved cards in chrome brake the validation

When you use the saved card in chrome and don;t put focus on the field the validation fails and it doesn't trigger the onError callback so I cannot re enable the submit button
http://screencast.com/t/eYSAHTF56ze

@vipconsult thank you for posting this issue. We have a fix in place and it will go out with an upcoming release. I will update here when it is out.

@vipconsult this issue has been fixed in the 2.9.0 release.


Function Monitoring view

This updates the function monitor tab as per the spec view.
Contains : aggregate tabs for overall success and errors,
Table for the Invocation log
On clicking a row on the above table, Invocation details grid & the Output component are displayed.
the Invocation Log data is polled every minute.
On selecting a new function all the data should be updated for the selected function
Still Pending:
Merge with the latest dev - DONE
confirm all the text headers with the PM - DONE
update the hardcoded text to use localization model - DONE

other than the few comments I had, it looks good to me.


amazing cube animation

Describe the Feature you want to end

i want to add this amazing cube animation
Expected behavior

Screenshots (optional)

https://github.com/pranjay-poddar/Dev-Geeks/assets/120590200/6165d431-1f27-46bb-814c-8f549855a5d1
Additional context (optional )

@MohitGupta121  @TusharKesarwani  please assign this issue to me

@MohitGupta121 @TusharKesarwani please assign this to me

@MohitGupta121 please assign this to me


Loading saved model config + weights

In my main.py file, I save weights using model.to_yaml() and writing a config.yaml file to disk.  I also save teh weights at the end of training as an 'h5' file.
When I want to load the config, I open the yaml file, and call read() on it.  Then I pass this read object into model_from_yaml but get the following error:
raise ValueError('Missing layer: ' + inbound_layer_name) ValueError: Missing layer: context_input
context_input is the name of my input layer.
I am using Keras 2.0.1.  What could be the issue?  I've tried many different things (model.save, json config, etc.)

to_yaml() only saves the architecture of a model, not its weights or its training configuration, you may find this helpful FAQ
It is hard to say the reason without the code, but you may try to examine the generated yaml file directly to see if context_input layer is there, as yaml is human-readable.

I have the same issue, and I am using Keras 2.0.3 functional API. I do model.save() to save the model and then try to load it using keras.models.load_model, but it produces
raise ValueError('Missing layer: ' + inbound_layer_name) ValueError: Missing layer:

Update:
I tried json and yaml tricks, they didn't work. After a lot of search online, the best solution I've found is by AahanSingh here: https://github.com/fchollet/keras/issues/5442
Works like a charm and doesn't require changing the model set up in any way.

Did you model have shared layers? If so that seems to be a known issue: https://github.com/fchollet/keras/issues/6481
With a pending fix: https://github.com/fchollet/keras/pull/7041


paused is undefined

In my custom wordpress plugin it turns out that the mediaelement instance has an undefined paused attribute, even when the video is paused. Weird.
After jQuery's $(window).load(...) I am retrieving the video html element and the mediaelement instance like that
$('#content').find('video').get(0)

// detect MediaElement instances if there are any
if (videoPlayer.player)
    videoPlayer = videoPlayer.player

then further down in my class I have these private methods
function isVideoPaused() {
    return videoPlayer.paused
}

function pauseVideo() {
    if (!isVideoPaused())
        videoPlayer.pause()
}

when calling pauseVideo() which calls isVideoPaused() the Chrome debugger tells me that videoPlayer.paused is undefined.
But when I look over at the raw HTML element in  videoPlayer.media I can see that paused is set. Confusing eh?

@binarykitchen Is this still an issue?

this is a very old ticket ;)


tests: arm: remove GNUC ifdef

Porting zephyr to IAR I stumbled onto this test.
I think these ifdefs are guarding the inline assembly in this test.
But it is better to get compile error rather than #error. (We can handle this inline assembly almost just fine)
Does this actually happen to any other toolchain?
Maybe this test should filter on CONFIG_TOOLCHAIN_HAS_GNU_EXTENSIONS or similar instead?

Ping @ithinuel

If you didn't get #error before it should be fine


[BUG] [CI] Windows tests take forever

Describe the bug
e.g. https://github.com/Shopify/hydrogen/runs/4923095034?check_suite_focus=true
It's taking upwards of 6 minutes to install dependencies, where the entire CI suite for Linux only takes about 4m.
[2/4] Fetching packages...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...
info There appears to be trouble with your network connection. Retrying...

What do we think is going on?

Hmm maybe need to increase the timeout due to a large Yarn package download https://github.com/yarnpkg/yarn/issues/4890
Going to try it. My tests are failing pretty sporadically due to missing Playwright, which is presumably what Yarn on Windows is tripping on.


Test cases missing

Describe the bug
The test cases for the code are missing which makes it harder to verify any change(s) made to the code making testing a slow and manual process.
To Reproduce
N/A
Expected behavior
There should be unit cases with at most coverage possible.
Screenshots
N/A
Additional context
N/A

Looks similar to #136
I guess this can be closed

Closing as duplicate of #136. Please follow #136 for further updates.


Mol rendering within DataFrames in a Jupyter Notebook is broken with Pandas 0.25.1

Description:

Python Version: 3.7.4
RDKit Version: 2019.03.4
Pandas Version: 0.25.1
Platform: macOS/Linux

Starting with Pandas version 0.25.1, Mol objects within DataFrames are no longer drawn in a Jupyter notebook. The HTML string is displayed instead of the drawn molecule (<img src="data:image/png;base64,iVBORw0KGgoAAA...). With version 0.25.0 and below everything works fine.

Code to reproduce in a Jupyter Notebook:
from rdkit.Chem import PandasTools
df = PandasTools.LoadSDF('example.sdf')
df.head()

Current workaround aside from the switch to Pandas 0.25.0:
from rdkit.Chem import PandasTools
from IPython.core.display import HTML

def show(df):
    return HTML(df.to_html(notebook=True))

df = PandasTools.LoadSDF('example.sdf')
show(df.head())

Confirmed. This is due to some change in pandas v0.25.x
Now we just need to figure out how to work around it.

Hi Greg,
the current workaround from above needs, at least in my hands, the following line:
PandasTools.RenderImagesInAllDataFrames(images=True)
Without that line, only a string gets displayed.

I looked at the Pandas code and they no longer call to_html from _repr_html_ but instead go directly to a "DataFrameFormatter". So, the patched to_html will not be called for repr. The best solution might be to patch the DataFrameFormatter.to_html() instead.

Or on second thought, that would probably be too harsh since it will patch every dataframe, not only the ones with structures.
So maybe patching repr_html in addition to to_html?

Some additional info here, as I collect it:

Things work fine with pandas 0.25.0, the breakage first appears in 0.25.1
This snippet works with pandas 0.25.3 from IPython.display import HTML;HTML(df.head().to_html())


fix #1956 - add support for LATENCY HISTORY

Description

Its regarding issue https://github.com/redis/node-redis/issues/1956 request.

Describe your pull request here

A new file that builds the LATENCY HISTORY command line arguments.
Update to the general client's commands list.
A test file for the latency history command

Checklist

[x] Does npm test pass with this change (including linting)?
[x] Is the new or changed code fully tested?
[x] Is a documentation update included (if this change modifies existing APIs, or introduces new ones)?

Codecov Report
Patch coverage: 80.00% and project coverage change: -7.95% :warning:

Comparison is base (a7d5bc7) 95.70% compared to head (ae6e6b3) 87.76%.
 Consider uploading reports for the commit c0d9ed8 to get more accurate results

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2555      +/-   ##
==========================================
- Coverage   95.70%   87.76%   -7.95%
==========================================
  Files         456      458       +2
  Lines        4561     4527      -34
  Branches      524      506      -18
==========================================
- Hits         4365     3973     -392
- Misses        127      485     +358
  Partials       69       69

Files Changed
Coverage Δ

packages/client/lib/commands/CLIENT_NO-TOUCH.ts
33.33% <33.33%> (ø)

packages/client/lib/client/index.ts
85.87% <75.00%> (-7.71%)
:arrow_down:

packages/client/lib/client/commands.ts
100.00% <100.00%> (ø)

packages/client/lib/commands/LATENCY_HISTORY.ts
100.00% <100.00%> (ø)

packages/json/lib/commands/MERGE.ts
100.00% <100.00%> (ø)

... and 96 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

@avinashkrishna613 redis@4.6.9/<EMAIL_ADDRESS>is on npm :tada:


[Foundation] Set correct availability on NSValue.value(of:)

Cherry-picked from #25454.
rdar://problem/50151221

Nomination coming soon; let's get a successful test first.
@swift-ci test


Improve inlined icon in project explorer

Run icon shouldn't be inlined for not executable project (libraries).
For projects that failed there should be icon for going to status page.
Maybe? there should be build icon.

@Krzysztof-Cieslak @enricosada
I have a NetCore project and when I display the "Project status" it says:

Output Type: lib
Output: /Users/maximemangel/Workspaces/Github/ionide/ionide-fsgrammar/sample-code/bin/Debug/netstandard2.0/SampleCode.dll
Project Type: .NET Sdk (dotnet/sdk)

So it's considered alib, however here we consider that all the NetCore project are executable.
For me an executable NetCore project is when the fsproj contains something like:
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp2.1</TargetFramework>

Is the current implementation of current or should it consider this particular project as a lib?
If you want to take a look at the project, it is the one from Ionide grammar

That makes sense to me, we should be looking for the correct OutputType in that case because libraries may choose to target netcoreapp TFMs in order to make use of TFM-specific types.

I am asking this question because of point 1:

Run icon shouldn't be inlined for not executable project (libraries).

As Ionide, already show the Run icon only if the project is an executable: source

an executable has set the OutputType, for old sdk and .NET sdk.
FSAC has the info already, and that should be in the response of the info


Parsing error handling rule file

General Issue
yes
The Question

I am running the cfn-guard validation command to test the cloudformation template but getting the error with multiple rules. Attaching the screenshot with the Parsing error handling rule file error message. Am I doing it in a wrong way or there is any issue with cfn-guard handling these rules files.
using command: cfn-guard validate -v --data cfn-template --rules ./aws-guard-rules-registry-1.0.2/rules/aws
where i have my template file in yaml format inside cfn-template folder.
CloudFormation Guard Version
2.1.3
OS
Amazon Linux
OS Version
No response
Other information
Running the command while build in AWS CodeBuild. was testing it for IAM policy and all the rules related to IAM policy were PASS. But not sure why this parsing error with other rule files.

Can anyone help on this issue?

Hi, have you downloaded the release rule sets and used the rule set files in there? Check out the releases and download the aggregated rule set files from there.

Take a look at Using Guard Rules Registry docs for examples.

Hi, have you downloaded the release rule sets and used the rule set files in there? Check out the releases and download the aggregated rule set files from there.

Yes, did the same.

Take a look at Using Guard Rules Registry docs for examples.

yes, followed the same.

@grolston, Any other suggestion. I am not sure if I am the only one facing this issue.

What is appears you are doing is using the cfn-guard command not as documented:
You have cfn-guard validate -v --data cfn-template --rules ./aws-guard-rules-registry-1.0.2/rules/aws
Your rules you are using is the Guard rules directory and not a the compiled rules (it was not tested nor intended to be used like that in the raw form). When you download the release rules from here and unzip the folder you will see files you can use in the output directory. For example, in there is a file named NIST800-53Rev5.guard if I use the command:
cfn-guard validate -v --data cfn-template --rules ./NIST800-53Rev5.guard
it will test the template against the rules in the NIST800-53Rev5.guard file.
If you are looking for testing against every rule (not recommended as you should have a plan for what your rule set should include), you an use the guard-rules-registry-all-rules.guard located in the output directory of the release.


Use organization woodpecker-ci on Dockerhub

Since the git repo has moved into a project organization, it would make sense to use a project specific namespace on dockerhub for the official images, too, right?

Yep, next release will come from there: https://github.com/woodpecker-ci/woodpecker/blob/master/.drone.yml#L79
With one caveat: Docker Hub doesn't support dashes in account names 🙃

With one caveat: Docker Hub doesn't support dashes in account names 🙃

Dang!
Let's better close the issue then, before people get used to another org name.

Maybe rename the github org, better now than later? Than we can have the same org name for github and docker hub.

Right. It's just woodpecker-ci is already a mouthful / long to type. I would prefer having the dash in there just to help the eye.
And wait for Docker Hub to come to their senses and allow dashes some point in the future.
But I do see that it may lead to errors, but perhaps people copy paste stuff mostly and not try to type it :man_shrugging: I can be very wrong here.. just woodpeckerci looks bad :)

I personally think woodpeckerci would also be fine, but if there is a decision to keep the dash I can also live with that :)


Core.MailApps should be renamed with Outlook prefix

https://github.com/OfficeDev/PnP-OfficeAddins/tree/dev/Samples/Core.MailApps should be renamed accordingly with Outlook prefix, since it's a mail app.

Done ! Thanks for catching that. Updated all folders to reflect the namespacing and project structure.


Add spi-empty-preamble-frames to WS2812 SPI driver

Introduced spi-empty-preamble-frames to handle SPI masters that don't drive bus lines low when idle. Updated driver to account for preamble frames, ensuring a clean bus reset before data transmission.
Designed to address #75965 and older issue #66664

I've checked the memory impact of this change, if you leave the feature unused the RAM usage is zero.
ROM usage change is +32 bytes (driver total ROM size is 431 bytes).
When you do use the feature the RAM impact is 1 byte per byte of preamble as expected.
Before changes:
Memory region         Used Size  Region Size  %age Used
           FLASH:       45304 B       512 KB      8.64%
             RAM:        8640 B        64 KB     13.18%
        IDT_LIST:          0 GB        32 KB      0.00%

After merge without preamble usage:
Memory region         Used Size  Region Size  %age Used
           FLASH:       45336 B       512 KB      8.65%
             RAM:        8640 B        64 KB     13.18%
        IDT_LIST:          0 GB        32 KB      0.00%

With 64 byte preamble:
Memory region         Used Size  Region Size  %age Used
           FLASH:       45336 B       512 KB      8.65%
             RAM:        8704 B        64 KB     13.28%
        IDT_LIST:          0 GB        32 KB      0.00%

All report above generated with nrf52dk/nrf52832 used as the target

Since this is completely useless for nearly all boards, I would prefer it if the spi driver configuration for your board could be fixed instead, and if not, using macros here so that the overhead for people not using this feature is 0 bytes

Since this is completely useless for nearly all boards, I would prefer it if the spi driver configuration for your board could be fixed instead, and if not, using macros here so that the overhead for people not using this feature is 0 bytes

@thedjnK Understood, would it be acceptable for me to add a kconfig to remove all the new code and default that config to disabled, so I can keep the binding for DT config but have it unused unless the conf is enabled?

@thedjnK @soburi @IVandeVeire @bjarki-andreasen what do you think of this PR ? It is a little bit like https://github.com/zephyrproject-rtos/zephyr/pull/66664. I am still not a big fan of this preamble thing but perhaps it is an acceptable compromise.

Can't the nxp driver actually work properly without this though if the configuration is changed? @dleach02 ?

@simonguinot Rework complete, there is now a kconfig for toggling the feature on/off and the number of preamble frames is calculated from spi-max-frequency and reset-delay

@simonguinot This seems to be the same kind of fix as #66311 which worked for me. So I assume this will work too. Currently I am no longer working on the project where that issue occurred.

@simonguinot This seems to be the same kind of fix as #66311 which worked for me. So I assume this will work too. Currently I am no longer working on the project where that issue occurred.

@IVandeVeire Unsurprisingly that issue was relating to an I.MX RT platform too.

@bjarki-andreasen Can you please help me understand how to address the compliance failures, I can see several issues I do not understand, namely:
It seems to have a problem with my signed-off-by entries despite them looking OK to me, the email matches my github account.
It says there is trailing whitespace in the binding YAML files I modified but I cannot see any on the lines mentioned and the file is not modified in my PR as the changes were removed during rework based on review feedback.

Sorry if these question are silly, I'm new to contributing, still figuring it out 😄

@matt-wood-ct please reorganize/merge the commits. It will help for the review.

@simonguinot Ok, I have done so, hopefully also integrating the advice from @bjarki-andreasen .
Thanks both 😄

After some testing on hardware this morning, I've found on the I.MX RT 1040 the preamble is not enough to solve the issue, as I did in my original demo it seems you need a clean preamble and postamble. I will need to rework my changes to add a kconfig for that as an option too.
I tested using 85uS preamble and I found that he first 2 LEDs in the chain display the same colour despite the packets decoding acceptably in my logic analyser.
I also tested with just a 85uS postamble (no preamble) and that yielded strange behaviour, incorrect colours showing and LEDs combining / being skipped.
But naturally when I went back to the same setup I used in my original issue thread, a full reset low period on the head and tail of the burst, the behaviour was consistent and correct. So that seems to be test best implementation for using WS2812B LEDs on the NXP I.MX RT platform.

I re-affirm my comment that I do not like this, if there is an issue with SPI then NXP should look into it and comment, and if something needs to be fixed, it should be fixed at SPI level, not a single driver that uses any supported SPI instance

I don't disagree, but from a practicality point of view, is anyone on the NXP side going to do that? And is this idle bus behaviour a problem for any SPI slave implementation or is it just a quirk of using the SPI to emulate the WS2812B single wire comms?
If we are saying this is only a problem when using the SPIM for driving WS2812B then the solution should be in the WS2812B driver IMO

Hi @matt-wood-ct,
Thanks for your work on this issue.
But I am still not convinced. Like @thedjnK, I don't like this workaround. It really looks like a heavy hack. It seems wrong to fill a buffer with zeros before and after sending data just to ensure that the MOSI line is low.
It is true that this is not an SPI bug because the data acquisition is done on the clock signal. So the MOSI signal at idle state is not a problem in the case of "real" SPI communication.
But I still think that the fix must be done at the SPI or board level (pinctrl).

I would agree, if we where not already hacking by using a SPI controller as a protocol engine for a specific LED driver protocol it was not designed for. Using SPI here at all is a "hack". If the protocol requires MOSI be kept low, and the way to ensure that is to send out 0's. then that's what we should do.


INPUT__INTERNAL-STRICT-MODE not set for @actions/core

My github action following DeterminateSystems/update-flake-lock@main failed this morning with the following error:
TypeError: Input does not meet YAML 1.2 "Core Schema" specification: _internal-strict-mode
Support boolean input list: `true | True | TRUE | false | False | FALSE`

This seems to come from INPUT__INTERNAL-STRICT-MODE not being set so @actions/core cannot read the value and passes an empty string to the parser which gives the above error.

@gigamonster256 This should be fixed now. If not, please let us know!

Actually, #107 was not the right solution. #108 should be.


UI deployments fail

Description
Currently the UI returns two distinct errors:

unsupported argument when attempting to deploy (we now source the Azure Resource Manager metadata host endpoint instead of passing it by argument)
terraform azurerm provider mismatch error (hosted container builds 2.55, terraform source depends on 2.55 -- yet getting an error about 2.50)

Steps to Reproduce
Steps to reproduce the behavior:

deploy the UI
click 'Execute Terraform'

Expected behavior
The terraform is deployed successfully.
Actual behavior
The terraform deployment never begins.
Screenshots

This occurs because the machine I built the Dockerimage from to deploy the front end app instance had an existing /.terraform directory and a .terraform.lock.hcl.
That directory and that files were packaged up by previous deployments on the machine (see https://www.terraform.io/docs/language/dependency-lock.html#lock-file-location) and should probably be checked-for/purged before creating the image that gets hosted.

Thanks!  I had the same issue.

@johnsblevins this should be fixed now


Using content disposition file name when downloading PDF

Good afternoon guys.
I've been working a couple of days implementing a parser for the content disposition  response header in order to keep the  file name received from the server  when the user uses the download link.
I've uploaded all my work in branch at https://github.com/jsperezg/pdf.js.
The problem is that it's my first contribution to a project and for some reason that I don't know I'm not being able to create a pull request in the main repository.
Could anyone help me with this, or at least give me some advice on how to create it?
Kind regards.

Finally I managed to create  it.


Getting {"code":"ResourceNotFound","message":"/ does not exist"} exception while adding custom app to private channel in teams

Hi @ganeshsam14 Please provide more details. We need information about exactly what you are trying to do, steps to reproduce, version numbers, etc.

@ganeshsam14 Please let us know if you still need assistance with this. If so, please provide more information and resources to reproduce the problem.

@dmvtech sorry for the late response, I'm getting ResourceNotFound exception in Teams application while trying to add custom app to private channel.

Bots cannot be added to private channels.
@Virtual-Josh @clearab For additional visibility/comments.


[misc] Remove usage of deprecated kwarg in rw_texture type annotation

https://github.com/taichi-dev/taichi/pull/7267

Note this has pass CI in https://github.com/taichi-dev/taichi/pull/7267


Some Doubts

I have some doubts regarding some functions of the SDK.

To retrieve the record types of a clock I am using the CChex_GetUserAttendanceStatusInfo function that if I don't understand the documentation wrong, it returns a structure of the type CCHEX_SET_USER_ATTENDANCE_STATUS_STRU. The variables fp_len and atten_status_number always arrive empty but it seems that those values come in the variable data_info in positions 4 and 8, is it correct?
If this is so, is the data_info size 168 instead of 160? If they are 160 and the first 8 positions are to return the values of fp_len and atten_status_number, it would be losing characters of the last type of record.

I have three different watches (A300, W1 and Facepass). When retrieving the record types of all of them to convert the byte array to a string we do it with Encoding.Default.GetString (result.data_info) .Replace ("\ 0", ""). In the case of the A300 it does well, but in the other two clocks characters appear after each type of registration. Is there any way to avoid it?

I need to dump the record types to clocks. For this I use the CChex_SetUserAttendanceStatusInfo function, but I have the same problem as before. If I encode the record types in the 160 positions of the data_info variable of the structure in the clocks strange characters appear. And if I do it from position 8 on the clocks, the record types do not appear.

When retrieving the users of the clocks with the CChex_ListPersonInfo function, in the structure that returns, how is the fp_status field interpreted? As I interpret in the documentation from 0 to 9 it would identify each fingerprint and 10 for faces, but when I am retrieving facepass users it comes as 1024, not 10. And I don't know how to interpret it when there are two fingerprints for the same user.

After dumping faces to the Facepass clock, the clock recognizes me but the fp_status field when recovering the users returns me to 0 and if I enter through the clock configuration to see the user does not seem to have registered any face and when calling the Cchex_DownloadFingerPrint function does not return anything. How do I have to dump faces to Facepass?

Thank you very much.

Hi,
Your questions are about the official SDK. This is an open source alternative, sorry.


Cursor move to bottom when deoplete is open

when the deoplete menu opens, the cursor moves downward. It should not moving as we still type character.

Any chance you have lazyredraw set?

Good catch, it was set. Unset it fixed the issue. I guess it should be specify in the Readme ?
Now, my question is: Is it plan to make this option compatible with neovide or it's an incompatibility by design ?
If it's not the case, what about overwritting the config file with this kind of options ? With a warning maybe ? (sound dirty but can prevent people from believing it's a bug [if it isn't ])
Just for this thread information:
'lazyredraw' 'lz'	boolean	(default off)
			global
	When this option is set, the screen will not be redrawn while
	executing macros, registers and other commands that have not been
	typed.  Also, updating the window title is postponed.  To force an
	update use |:redraw|.

This is an upstream issue which I opened a day or two ago. https://github.com/neovim/neovim/issues/11806
I think it is useful in general but neovim guis interact weirdly with it.
At least in theory a more recent version of neovide should handle this already on startup. I'm not actually in charge of publishing to AUR (not sure who is doing that) so maybe a new build would help?

Actually it works with a new build, thank's !


Update docker image

The last update to the docker image was more than an year ago, with version 0.3.0.
Is it possible to update it to version 0.4.0?

updated. see https://github.com/genshen/ssh-web-console/pkgs/container/ssh-web-console%2Fssh-web-console/34856228?tag=0.4.0

Thank you so much!


Proxy

sorry using github online dev editor the PR was opened here and not in my fork. my apologies.


iOS 11 by Examples by @artemnovichkov

[x] Project URL: https://github.com/artemnovichkov/iOS-11-by-Examples
[x] Update contents.json instead of README
[x] One project per pull request
[x] Avoid iOS or open-source in description as it is assumed
[x] Use this commit title format if applicable: Add app-name by @github-username
[x] Use approved format for your entry

Thank you!


Fix oculus xsens

fix the paramters for the joypad device
remove imu option from camCalibWithPose
remove the image orientation part since now the image is fixed wrt VR headset display
remove the torso retargeting since it was only used for the image orientation in the case of xsens retargeting
fix the head configuration in the case of  xsens retargeting in order not initialize it

Moreover, I have tested only two demos with the new changes, Xsens+ virtualizer+ Oculus Walking, and Oculus+ walking. However, it should be OK for other demos, but it might be better to test them before as well.

I rebased it on top of devel.
@S-Dafarra  @GiulioRomualdi  Should I merge, or we do a new round of tests before the merge?

Following the f2f discussion, I'll do proceed with the merge.


Titles localized

Hello,
is it possibile creating libraries with movie tiltles in a language different from english?
I'd like to use it with titles in Italian.
Tnx

Just edit the library settings in Plex.
On 13 Jul 2018, at 10:43, memnos<EMAIL_ADDRESS>wrote:
Hello,
is it possibile creating libraries with movie tiltles in a language
different from english?
I'd like to use it with titles in Italian.
Tnx
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/adamgot/python-plexlibrary/issues/36, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AZiJlLF_dimhv3SKrQ6ZF5FNqymERqMqks5uGF2kgaJpZM4VOhMq
.

I can edit library in plex into it, but for example if i use recipe per imdb top 250, titles are locked as a number is put before name so they don't change into italian even if i refresh db.

I can edit library in plex into it, but for example if i use recipe per imdb top 250, titles are locked as a number is put before name so they don't change into italian even if i refresh db.

I just edited movies_imdb_top_250.yml line 25 (visible: yes) to no. I lost the number in the title, but when I refreshed the metadata, the titles changed to Spanish, in my case. I don't know if there's a better way.

I know issue is closed, but well even setting the library to another lang did not do the trick.
Titles are still in english, not in localized title, cause it is taken from trakt list i guess ?
Because then everything else is localized.


AttributeError: 'PR' object has no attribute 'S_dep_g'

Dear @CalebBell,
@yoelcortes sent me (related to this issue) 😃
To determine the power of a compressor, I am trying to calculate the entropy of hydrogen at 350 bar. However, for some reason it fails:
from thermo.eos import PR
PR(T=298.15, P=20e5, Tc=33.2, Pc=1296960.0, omega=-0.22).S_dep_g # this works
PR(T=298.15, P=350e5, Tc=33.2, Pc=1296960.0, omega=-0.22).S_dep_g # AttributeError: 'PR' object has no attribute 'S_dep_g'

I am working with thermo version 0.2.21. Any idea what I am doing wrong?
Thank you.
Ben

Hi Ben!
What is happening here is that at sufficiently high pressures, hydrogen is becoming liquid-like. For pure components, there are two cases:

Both a liquid-like and gas-like volume root are available. Use the one with the lowest Gibbs free energy, i.e. G_dep_l or G_dep_g.
There is only one volume root available. Use it.

The Peng-Robinson equation of state itself doesn't know the difference between a gas and a liquid, it just knows that there can be one or two solutions. It is easy to say one is gas and the other is liquid when there are two solutions, but when there is only one, the method described here is used.
Sincerely,
Caleb


Allow the user to configure the options for purifycss

Allow the user to configure the options for purifycss (use default options)

#19 fixed this, thank you


fix: fixed type of TextStyles and LayerStyles

Closes #1303
Description

Add a brief description

Fixed a bug where TextStyles and LayerStyles have more types than necessary.
Current behavior (updates)

Please describe the current behavior that you are modifying

New behavior

Please describe the behavior or changes this PR adds

Fixed the type of TextStyles and LayerStyles so that only objects should be accepted according to issue.
Is this a breaking change (Yes/No): No

Thanks!


set Avatar Accomplished!!! yes i did it

i managed to set an avatar using your existing code,of course i created my own activity and stuff...
am open to share my code to anyone who wants to develop CS!!!
just ask  a.s.a.p
its open source right?
Regards cb

Yup! We'd be happy to incorporate your code. Just send a pull request.

I ty for the request

Great!
When i get time i'll send a pull request...
Mean while
Here is the work around:
Its quite simple

From the NewChatActivity i passed an intent with values of the current username ID and the password to my new Profile activity
in The Profile activity i created a new connection with the intent values, picked a photo from the gallery
load the vcard then set and save it.

This worked for me Thanks so much!

i must say your Code is pretty abstract....

If your code is not tidy enough for a PR, please just share the github fork and someone will refactor it and send a PR soon enough. :)

Am so Sorry my Code only allows one type of Account (i.e one Xmpp Connection)
Like i had mentioned Above, i pulled the The Username and Password of Active Account via a simple cursor,Since i knew the Server to connect to (its one Account remember) i create a new Xmpp connection using these values...
From there on wards i pick a photo,convert it to byteArray, encode it to base64 Then load my vCard using the connection>>upload my photo >>> save my vCard.
It works only if you have one Account logged in.
i've been trying to figure out how i can make it work with multiple accounts
till now nothing yet but if you got one xmpp server, try it!!! 100% working
I didn't break down everything to scratch coz i assume you have good Knowledge on Android more than me....
If i was by any means unclear, or not vivid please point out anything am ready to help anyone use my way. people having Java problems like me are welcome to ask for the code, i can simply Comment it here if necessary, otherwise i'll Hit for a PR when i get it working with many accounts
Best.

Dear Cedybt, can you please share me your code with the avatar fix? I'm trying to build an app with a single account login. Thanks.

Sorry for the delay, things in Africa are pretty crazzy here... lol
@robertcprivett That's great with one account there many ways you can set the avatar
Here's what you gonna do.
in this example am using android SqliteDatabase to save the username and password values

you can either save the username + password in some sort of shared Preferences or simply a database (These values can be captured from the AccountActivity.java where the user signs in or registers)
Simply add these few lines of code immediately after the user presses the  mBtnSignIn button via its setOnClickListener
this is AccountActivity class right?

mBtnSignIn.setOnClickListener(new OnClickListener() {
@Override
public void onClick(View v) {
            //the password and Username EditText
            String password = mEditPass.getText().toString();
            String username = mEditUserAccount.getText().toString();

            try {
                sql = openOrCreateDatabase("DatabaseName", MODE_PRIVATE, null);

                /* Creates two Tables in the Database. for username and password */
                sql.execSQL("CREATE TABLE IF NOT EXISTS "
                  + TableName
                  + " (User VARCHAR,Pw VARCHAR);");

                /* Inserts values into the Tables*/
                sql.execSQL("INSERT INTO "
                  + TableName
                  + " (User,Pw)"
                  + " VALUES ('"+ username + "','" + password + "');");
                  }
            finally {
                sql.close();
              }
          .........other basic functionality of CS.........
             });

the profile Activity(this is an activity you'll have to make yourself)
then from there onwards in this profile activity create a new xmpp connection with the values of the username and password saved from above, load VCard from this xmpp connection, set avatar then save VCard.(don't forget to disconnect connection)

Wait a sec,not so fast!!!
First select a photo or capture it then crop it to minimize its size(coz its only set to a max of 2MB)
after crop save it to some directory. e.g Environment.getExternalStorageDirectory() + "/avatar.jpg"
to be safe i prefer doing my avatar setting in an AsyncTask its more professional
class MyTask extends AsyncTask<Void, Void, Void> {
private final Void Result = null;
String Username;
String password;
ProgressDialog pd;
       @Override
       protected void onPreExecute() {
         super.onPreExecute();
          pd = new ProgressDialog(Profile.this);
          pd.setMessage("Uploading...");
          pd.setCancelable( false);
          pd.setCanceledOnTouchOutside( false);
          pd.show();
       }

       @Override
       protected Void doInBackground(Void... params) {

           SQLiteDatabase sql = openOrCreateDatabase("DatabaseName", MODE_PRIVATE, null);
           Cursor c = sql.rawQuery("SELECT * FROM " + TableName , null);

           int ColumnUser = c.getColumnIndex("User");
           int ColumnPw = c.getColumnIndex("Pw");
           c.moveToFirst();
           if (c != null) {
            // Loop through all Results
            do {
             password = c.getString(ColumnUser);
             Username = c.getString(ColumnPw);

                 ConnectionConfiguration ccg = new ConnectionConfiguration("YourServer.com",5222);

                 XMPPConnection conn = new XMPPConnection(ccg);
                 try {
                  conn.connect();
              } catch (XMPPException e1) {
                  // TODO Auto-generated catch block
                  e1.printStackTrace();
              }

                 try {
                     //Login user
                     conn.login(Username,password);
                 } catch (XMPPException e1) {
                     // TODO Auto-generated catch block
                     e1.printStackTrace();
                 }
                  //the photo we saved when we cropped remember?!?
                 String path = Environment.getExternalStorageDirectory() + "/avatar.jpg";
                 Bitmap bm = BitmapFactory.decodeFile(path);
                 ByteArrayOutputStream baos = new ByteArrayOutputStream();
                 bm.compress(Bitmap.CompressFormat.JPEG, 100, baos); //bm is the bitmap object
                 byte[] b = baos.toByteArray();

                 //encode it to Base64 for it to be saved by our xmpp server
                 String encodedImage = Base64.encodeToString(b, Base64.DEFAULT);

                 VCard vcard = new VCard();
                 try {
                  //aSmack's load own vCard
                  vcard.load(conn);

              } catch (XMPPException e) {
                  // TODO Auto-generated catch block
                  e.printStackTrace();
              }
                 //b is the photo but encoded to Base64 right?
                 vcard.setAvatar(b, "b" + b);
                 try {
                  vcard.save(conn);
              } catch (XMPPException e) {
                  // TODO Auto-generated catch block
                  e.printStackTrace();
              }
                 System.out.println("image uploaded successfully");
                //Don't forget to disconnect connection
                conn.disconnect();
           }while(c.moveToNext());
            sql.close();
           c.close();
           }
      return null;

       }

       protected void onPostExecute(Void result) {
         super.onPostExecute(result);
         if (pd != null)
         {
            pd.dismiss();
            Toast.makeText( getApplicationContext(), "Profile Pic Changed", Toast.LENGTH_SHORT).show();

         }

}
thats it Bro
This is the simplest i could come up with,there are many ways you can archive this...
please note that the username and password are the Most important here,So which ever way you'll get them be sure they are all correct. in my example i used an SQLite database,try your own work arounds to it, twerk it a little bit, Create something cool with it,Send a PR,Save the CS world. lol
Please don't copy paste, this is just a basic example.
Any more Questions am here...
Thanks
Best Ceddy

Sorry i'd just closed it


More testing

Updated game page testing and did some testing on review. Update the build pipeline and move the react library for styling to the frontend package json file.

seems good, we might need to get rid of videogame model, if we are not using it. Also, remove any console errors we no longer need for development.


'ciw' doesn't work properly when remaping 'i' to 'k'

Hi, I'm trying to configure my .vimrc for Obsidian, this is what it looks like:
set clipboard=unnamed
nmap <F9> :nohl

noremap i k
noremap k j
noremap j h

noremap q i

noremap <C-i> {
noremap <C-k> }
noremap <C-j> b
noremap <C-l> w
noremap <C-c> y

I'm remapping I to K, so I moves a line up in Normal Mode. However, if I attempt to to ciw, it will interpret it as 'change the line above' instead of 'change inside word'.
Any work around this? Thanks

In your case, cqw will work instead

In your case, cqw will work instead
Sadly this doesn't work either, it will just do the same as pressing 'w'

The problem is, that noremap isn't supported, only map. (If you type :nnoremap i k interactively in Obsidian, it will say that it's not supported)
being able to only use nmap, these three lines will essentially map i to h... 🙈
nmap i k
nmap k j
nmap j h

However, you can work around those restrictions by using synonyms you are not using. Since hjkl uses the arrow keys as synonyms, this would work:
noremap i <Up>
noremap k <Down>
noremap j <Left>

@chrisgrieser I'm trying to move hjkl to jkl' since those are my home keys, and am trying exactly what you're describing, but it's not having any effect at all.
This is my .obsidian.vimrc:
noremap j <Left>
noremap k <Up>
noremap l <Down>
noremap ' <Right>

I previously tried this as the solution, which works in vim, but in obsidian it works for the jkl' keys, but causes my arrow keys to be messed up in turn.
noremap j h
noremap k j
noremap l k
noremap ' l

@Signynt oh sorry, I said the right thing, but posted the wrong thing in the code block.
You need nmap, not nnoremap, since Obsidian does not support noremaps.

@chrisgrieser Unfortunately doing that makes every all the keys (both jkl' and arrow keys) do the same thing, namely the last definition.
nmap j <Left>
nmap k <Up>
nmap l <Down>
nmap ' <Right>

This for example makes everthing go right one letter.
One thing I definetly don't get is why the arrow keys are being remapped, despite them not being defined anywhere. noremap does seem to work, as per my second example above, just that it also remaps the arrow keys, which I don't want.

@Signynt I'm having the same issue and it's driven me away from Obsidian for the time being. Have you found any other workarounds?

@Signynt I'm having the same issue and it's driven me away from Obsidian for the time being. Have you found any other workarounds?

Same, no workarounds found yet I think...

@Signynt I'm having the same issue and it's driven me away from Obsidian for the time being. Have you found any other workarounds?

What are you using instead? I might end up moving to vscode, the main issue for me is that the most popular latex (math code) snippet extension seems to use telemetry and I am not convinced by the others I saw.


Resolves SPRNET-1470 & SPRNET-1471

Recognizes properties of generic type IList<> and converts collections accordingly. TypeConversionUtils.TypeImplementsGenericInterface(candidateType, matchingInterface) does not handle the case where candidateType and matchingInterface are the same type. So it returns false for IList<> and IList<>.
Also implemented addition cases supporting IDictionary<> and IEnumerable<>.

Merged w slight mods to ensure build compatibility with .NET 2.0 compiler in commit 43516e6dbefc7049b26f35ec04b2c9a0bd65c051

Well now I know that I need to ensure .net 2.0 compatibility.
On Nov 15, 2011 11:13 AM, "Steve Bohlen" <
<EMAIL_ADDRESS>wrote:

Merged w slight mods to ensure build compatibility with .NET 2.0 compiler
in commit 43516e6dbefc7049b26f35ec04b2c9a0bd65c051

Reply to this email directly or view it on GitHub:
https://github.com/SpringSource/spring-net/pull/6#issuecomment-2746924

FWIW, this trips me up frequently as well (esp. .b/c compilation from within VS targeting .NET 2.0 actually uses the 4.0 csc.exe and so tends to be more liberal in permitting you to use the more recent syntactic sugar constructs in the C# language).
Since its unreasonable to expect everyone to have every version fo VS since 2005 installed in parallel, the easiest way to ensure that you haven't introduced anything that won't pass the 2.0 compiler is to run the "build.cmd" convenience script in the root of the solution folder -- this will invoke each of the specific framework-targeting builds with each of their corresponding compilers and permit you to catch these kinds of things.  The obvious culprits tend to be use of 'var' to do implicit typing, but there are other less-obvious ones that keep tripping me up all the time :)
Thanks again for the pull -- other than this (minor) housekeeping issue, it was just about perfect!

Thanks for the encouraging words. I'm glad I made it thru my first
contribution in a long while.
I would like to discuss some ideas for type conversion of generic types
with the spring.net developers at large. You know, bounce ideas. but I'm
not certain about the etiquette and I don't see any traffic or archives on
the lists I've been added to.
Should I be posting to or lurking on a google group or one of forums
instead?
One more thing, the build.cmd does not seem to work on my windows 7 x64
box. it may have something to do with the placement of the program files
directory. I finally tried on my old 32 bit xp box and the build worked
fine except for the asp.net mvc parts.
-Choy
On Wed, Nov 16, 2011 at 7:53 AM, Steve Bohlen <
<EMAIL_ADDRESS>
wrote:

FWIW, this trips me up frequently as well (esp. .b/c compilation from
within VS targeting .NET 2.0 actually uses the 4.0 csc.exe and so tends to
be more liberal in permitting you to use the more recent syntactic sugar
constructs in the C# language).
Since its unreasonable to expect everyone to have every version fo VS
since 2005 installed in parallel, the easiest way to ensure that you
haven't introduced anything that won't pass the 2.0 compiler is to run the
"build.cmd" convenience script in the root of the solution folder -- this
will invoke each of the specific framework-targeting builds with each of
their corresponding compilers and permit you to catch these kinds of
things.  The obvious culprits tend to be use of 'var' to do implicit
typing, but there are other less-obvious ones that keep tripping me up all
the time :)
Thanks again for the pull -- other than this (minor) housekeeping issue,
it was just about perfect!

Reply to this email directly or view it on GitHub:
https://github.com/SpringSource/spring-net/pull/6#issuecomment-2759049

I think http://forum.springframework.net/ is the place to start your discussion.
With regard to the 2.0 build issue: I ran into the same problem and haven't been able to fix it so far on my win7 64 bit system either. I started a thread on this issue http://forum.springframework.net/showthread.php?9515-What-are-the-prerequisites-to-do-a-succesful-build-from-a-clean-check-out. If you manage to do a 2.0 compile on your main machine, please drop a note there on how you did it.

Over the coming Thanksgiving holiday its my intent to build up a fresh
Win7(x64) VM into which I can get Spring.NET building from a fresh
check-out.  This will permit me to ensure that I've got a
correct/comprehensive list of the prerequisites.  I know it can be made
to build on this platform b/c its what I work on every day :)  Its just a
matter of isolating (and documenting) what must be an
overlooked/non-explicit dependency somewhere in the stack...!
-Steve B.
On Thu, Nov 17, 2011 at 11:08 AM, Marijn van der Zee <
<EMAIL_ADDRESS>
wrote:

I think http://forum.springframework.net/ is the place to start your
discussion.
With regard to the 2.0 build issue: I ran into the same problem and
haven't been able to fix it so far on my win7 64 bit system either. I
started a thread on this issue
http://forum.springframework.net/showthread.php?9515-What-are-the-prerequisites-to-do-a-succesful-build-from-a-clean-check-out.
If you manage to do a 2.0 compile on your main machine, please drop a note
there on how you did it.

Reply to this email directly or view it on GitHub:
https://github.com/SpringSource/spring-net/pull/6#issuecomment-2777799


Add unit tests for storage scheme v2

This adds some tests for the code related to the new storage scheme. Closes #1611.

Better yet, we can merge https://github.com/casper-network/casper-node/pull/1708 since it's good to go, rebase and use that PR...


[FR] Custom Date Format

Please confirm

[x] I am running the latest version of this plugin

Is your feature request related to a problem? Please describe.
I think it will be nice to allow the users to specify date format. For example, I prefer to have timestamp in this format: 20220217.
Describe alternatives you've considered
Or at least provide template for {{month}}, {{dayOfMonth}} so we can customize the date format ourselves.

I think it is not that straightforward...
Both ideas need to be implemented I beleive, simply adding {{month}} will only output the current month. But then what happen when you want to template other dates than the current one?
So we should have a config for the datetime_format (default would be YYYY-mm-dd)
AND we could have templates to get the current day {{now_day}}, month {{now_month}} or year {{now_year}} alone.

How would I modify the variable for the long date {{hdate}} to display in a certain language, say, German?
And how could I create custom date templates and variables, e.g. for monthly vs. weekly?

I think that it would be nice to completely separate the template stuff in a separate file. This might facilitate PRs and community improvements. People have lots of interesting ideas, often quite simple to implement (like {{now_month}},  {{last_month}},  {{next_month}}, {{timezone}}). In my opinion when it comes to templates and snippets like that, the more we have, the better. We could also have stuff not directly related to time, such as  {{filename}}, {{pwd}}, {{dir}}, {{host}},  {{user}}, {{some git stuff?}}...

Closing this as it is now possible to use {{year}}{{month}}{{day}} in the templates. So by combining all these as you wish, any date format should be possible.


support authentication

Our jenkins instance requires authentication. Could you add support for basic-auth?

Hei davidkarlsen,
we do not have the time to implement that at the moment.
But we are looking forward to merge your pull request. ;)
Best,
Marcel


Cursor now changes based on what it is touching

The system was changed from using a shape to a point (i can change it to intersect_shape to keep it like it used to be, altho it would make the cursor inconsistent with its actual position)
Now uses the physics system directly instead of using an Area2D node
Currently, the cursor may stop working while the player is dead. (this should be fixed once respawning is implemented)

For testing, hover the mouse cursor over either an NPC, item or enemy. Each should cause the cursor to change.

@NancokPS2  can you rebase and retest now that the respawn is integrated?

Can confirm, it still works.

Can confirm, it still works.

Tested:
issue found:
When loot drops, the cursor is changed to the yellowish cursors. However once the loots has been collected, it stays yellow until you change it like targeting an enemy

pointer is changed to the interact pointer when milklady is behind the menu

Fixed. The first issue was that i assumed items where a JBody2D due to having the "entity_type" property.
The other issue was solved by always considering the hovered object as null while "JUI.above_ui" is true

Tested and works fine.
Remove the print_debug and I will merge.
Thanks for your contribution.


If I were to add DOMContentLoaded, where would I add it?

would it make sense to add this in /src/webapi/events/dom.rs
or should there be a new file for DOM mutation events?

My say is to put it in /src/webapi/events/dom.rs as opposed to creating a new file for DOM mutation events. According to this MDN guide, DOM mutation events are being deprecated for MutationObserver because of performance issues and (lack of?) cross browser support.

I realized that I could use ReadyStateChangeEvent, so am not sure if this is worth adding as that API and MutationObserver seem like fine alternatives?

Yeah, I think since we have MutationObserver there is probaby not much point in adding those? (Unless you can come up with some really convincing use case.)
MutationObserver is supported since IE11 (so it's not a bleeding edge API), and IE11 is the absolute minimum I would be willing to support. (Not that I'm saying that we currently support IE11, because I haven't tested anything on IE11 in a very long time, so it probably doesn't work; I'm just saying that we can assume that anything IE11 supports we can assume is supported everywhere we'd realistically run.)

Yea, closing this in favor of keeping the API concise


[SPARK-19158][SPARKR][EXAMPLES] Fix ml.R example fails due to lack of e1071 package.

What changes were proposed in this pull request?
ml.R example depends on e1071 package, if it's not available in users' environment, it will fail. I think the example should not depends on third-party packages, so I update it to remove the dependency.
How was this patch tested?
Manual test.

Test build #71204 has started for PR 16548 at commit 5e2dd6b.

Test build #71204 has finished for PR 16548 at commit 5e2dd6b.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/71204/
Test PASSed.

Merged build finished. Test PASSed.

Merged into master and branch-2.1. Thanks for reviewing.

So there is something similar in the fulltests for R ./R/pkg/tests/fulltests/test_mllib.R (found while working on packaging).

@holdenk Could you let me know where we meet similar issue in the fulltests? AFAIK, we test functions in e1071 only when it was installed on that node, like following:
if (requireNamespace("e1071", quietly = TRUE)) {
    expect_error(m <- e1071::naiveBayes(Survived ~ ., data = t1), NA)
    expect_equal(as.character(predict(m, t1[1, ])), "Yes")
  }