Can't resolve 'html' in './templates' after upgrading to webpack-2.1.0-beta28

After updating from webpack-2.1.0-beta.25 to 2.1.0-beta.28 I get the following error. I spent close to an hour trying to fix it, I still couldn't find out what causes it. I would appreciate any help.
    ERROR in ./~/html-webpack-plugin/lib/loader.js!./templates/index.html
    Module not found: Error: Can't resolve 'html' in './templates'
    BREAKING CHANGE: It's no longer allowed to omit the '-loader' suffix when using loaders.
                     You need to specify 'html-loader' instead of 'html'.
     @ ./~/html-webpack-plugin/lib/loader.js!./templates/index.html 40:10-43

Could you please post your config and plugin version?


Majority Element | C++

💥 Proposal
Finding the majority element using Moore voting algorithm in linear space and time complexity in c++ ie, finding the element whose frequency is more than n/2 times.
Have you read the Contributing Guidelines on Pull Requests?
yes
/assign

/assign


Documentation Request: PATH for Windows

When installing ttx for use as a standalone application (e.g. to do "ttx Arial.ttf" or something like that) on Windows, the setup.py file creates a ttx.exe file in a Scripts directory in the computer's Python install location.  However, the PATH environment variable isn't updated to point to this ttx.exe file.
If this were documented, install would be more straightforward.  I'm happy to write up a paragraph or two to point this out, but I don't know where the best place to put it would be.

Hi @apnorton,
Sorry but is not fonttools' job to configure your Python environment, nor to explain users how to do it.
The official documentation covers all you need to know.
https://docs.python.org/3.5/using/windows.html
Cheers,
Cosimo


messy code

got the messages of apache accesslog ,but they are messy code...
how can i resolve it?

We are using GitHub issues for tracking bugs in Graylog itself, but this doesn't look like one. Please post this issue to our discussion forum or join the #graylog channel on freenode IRC.
Thank you!


SW-4961 Remove mock user data in global roles service and redux

These are removed because they are handled in a different service / redux flow now.

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#2329
#2328  👈
#2327
#2326
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @nickgraz and the rest of your teammates on  Graphite

Merge activity

Mar 18, 12:22 PM EDT: @nickgraz started a stack merge that includes this pull request via Graphite.


A way to gracefully keep the grpc server alive without the sleep() thing

Hi,
Isn't there a more proper way to keep the grpc server alive in a dynamic manner not like this hard-coded death time of the server (e.g. One day in seconds)?
code

Python does not currently have an equivalent of the C++ server's Wait() method. I thought I remembered some earlier discussions about this, but could not locate the relevant issue(s). I've marked this issue as a feature request for gRPC Python.


Snippets for YAML not showing up

VSCode Version: 1.11.2 (1.11.2)
OS Version: MacOS Sierra 10.12.4

Snippets for YAML not showing up. Both local snippets file and packaged extension not working.
Steps to reproduce locally:

(Mac menu) Code > Preferences  > User Snippets > select YAML.
Uncomment default snippet with "prefix": "log".
Create new YAML file and type "log".

Snippets work for other languages available (json, dockerfile, batch etc.).

Does it work in 1.12?

No it doesn't. Tried with 1.12.2 (1.12.2)

I just tried in the latest insiders and it works for me.

Please verify that your editor is in YAML mode. If you have any extensions enabled, please start code with code --disable-extensions to make sure this is not caused by an extension redefining the YAML mode.

Tried latest Insiders with no extensions both on Mac and Windows with no success.

What do you see when you do code assist on the empty file?

When I type I see "log" in orange color. There's no intellisense for snippets at all (comparing to Batch snippet):

I was able to get tab completion by enabling user specific language settings. Thus when I type "log" and hit <TAB> it will replace it with console.log('');
Settings I've used in YAML specific language settings:
{
    "workbench.welcome.enabled": false,
    "window.zoomLevel": 3,
    "[yaml]": {
    },
    "editor.tabCompletion": true

}

But snippet support still does no work.

@aws-scripting-guy what do you see when to select F1 > Insert Snippet while have an editor with yaml?

I see the log snippet in the list

Can you check your settings, esp for "editor.snippetSuggestions" and "editor.tabCompletion". Also when happens when you just press Ctrl+Space in an empty file. Last, please attach there snippet here

Default settings are as follows:
"editor.snippetSuggestions": "inline",
"editor.tabCompletion": true
When I hit Ctrl+Space I get list of snippets. (in my case just "log" snippet.)
YAML Snippet below:
{

	// Place your snippets for YAML here. Each snippet is defined under a snippet name and has a prefix, body and
	// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
	// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the
	// same ids are connected.
	// Example:
	"Print to console": {
		"prefix": "log",
		"body": [
			"console.log('$1');",
			"$2"
		],
		"description": "Log output to console"
	}

}

It seems that only "intellisense" functionality does not work when typing.

@aws-scripting-guy What happens when you by log and hit Ctrl+Space?

It will pick up snippet correctly from the list (verified both with "log" and "other" snippet)

Ok, then this isn't an issue, right?

Correct. The issue is that it does not provide intellisense while typing without hitting Ctrl + Space

Correct. The issue is that it does not provide intellisense while typing without hitting Ctrl + Space

And it does that with other suggestions? Do you have "editor.quickSuggestions": true set?

Can we re-open this please? This is not resolved yet. (I came here to report the same issue)
@jrieken

Found a workaround, though this is not ideal.
I had to change my settings to:
  "editor.quickSuggestions": {
    "other": true,
    "comments": false,
    "strings": true
  }

strings is false by default. Apparently VS Code thinks everything in a YAML file is a string, but that's not the case. Seems like quick suggestion handling should behave differently in YAML files than in other lexical environments.


[CINFRA-256] Create large enough term

Scope & Purpose
When writing an empty term after a leader failure has been detected make sure the term is larger than any term reported in the spearheads of participants.
Builds on #15996 so t hat should be merged first
Draft PR because need to add a test.

[x] :hankey: Bugfix
[ ] :pizza: New feature
[ ] :fire: Performance improvement
[ ] :hammer: Refactoring/simplification

Checklist

[ ] Tests

[ ] Regression tests
[ ] C++ Unit tests
[ ] integration tests
[ ] resilience tests

[ ] :book: CHANGELOG entry made
[ ] :books: documentation written (release notes, API changes, ...)
[ ] Backports

[ ] Backport for 3.9: (Please link PR)
[ ] Backport for 3.8: (Please link PR)
[ ] Backport for 3.7: (Please link PR)

Related Information
(Please reference tickets / specification / other PRs etc)

[ ] Docs PR:
[ ] Enterprise PR:
[ ] GitHub issue / Jira ticket:
[ ] Design document:

Test Failures are completely unrelated.


Bandit Baseline with severity filtering is broken

If the baseline feature is used along with severity filtering the results end up broken.
Basically, the current baseline routine is to check if there are different results in the currently checked file than what is present in the baseline.  If so, all the issues from the current file are inputted and then filtered.  To make this clear let's say we have original file a.py:
import subprocess
do_something_benign()
os.system('/tmp/something_bad')
We'll get a low severity finding for subprocess usage, but if we examine this file with a -ll filter, this will be suppressed from the baseline output.  We also get a higher severity error which for /tmp.
Now we run a baseline comparison against it, the first action that is performed is checking the results against the previous level.  Since the previous level had the LOW severity finding filtered out, it only has the MEDIUM.  Since no filtering has been done yet, the current version of the file includes the low severity issue.  Basically the baseline has the low severity issue filtered out and the current version doesn't.  So they don't match and all of the issues from the file get added to the results.
At this point filtering is done so the LOW severity issue is removed, but the point is even though nothing changed in this file Bandit thinks it did.
The correct behavior is to filter severity first.

(by hudson-openstack)
Reviewed:  https://review.openstack.org/240880
Committed: https://git.openstack.org/cgit/openstack/bandit/commit/?id=8333dd4503eaa80ac18897da0d93cb8f0d54e32b
Submitter: Jenkins
Branch:    master
commit 8333dd4503eaa80ac18897da0d93cb8f0d54e32b
Author: Travis McPeak
Date:   Mon Nov 2 14:51:51 2015 +0100
Fixing Baseline when a filter is used

This current baseline doesn't work if a filter is provided due
to the details mentioned here:
  https://bugs.launchpad.net/bandit/+bug/1512360

This fixes it by implementing the severity and confidence
filtering before baseline filtering.

Additionally, since each formatter used an IF statement to check
severity after getting issues, we've just moved the filtering to
the get_issues call.  If for some reason a formatter wants
to get unfiltered, they can omit the call.

Change-Id: I39c1d826f44a8c0d829fb7017d03dbff25779cba
Closes-Bug: #1512360


008_quiz: Replaced the type of the index variable

Replaced the type of the x variable to usize instead of u8.
I may be wrong, but usize is more preferable when indexing or declaring an array.

@ZapAnton Thanks! I sat on this PR for a while because I was trying to decide if I wanted to introduce usize in this lesson. But it looks like I never explain it later and it's an important type to know, so I'll add a comment above this line.  Thanks!


Unnecessary --name argument is being passed to all GRPC provider servers

In addition to --port, we are now passing --name flag to GRPC provider servers at the time of running Start(). If the external provider doesn't handle this argument well, it can make the provider fail. --name is only needed in the generic provider to differentiate between which underlying lsp provider is being used...I think its unnecessary in the context of all GRPC providers.

/triage accepted
/kind cleanup


Prerequisites: Office 365 admin roles

Could you change the list of the admin to the actual names?
Couldn't find the "Support" admin

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 3296698b-48cc-9655-267e-92775f33e0b7
Version Independent ID: fe8f88d2-5fd4-6946-4ae6-d1abb856bf2f
Content: Get Help + Support - Power Platform Admin center
Content Source: power-platform/admin/get-help-support.md
Service: power-platform
GitHub Login: @jimholtz
Microsoft Alias: jimholtz

@ValerianHeints
Thanks for the feedback. We're pulling the list for now and considering providing a list at a later date.


VPS needed

I'm looking for VPS for MultiOgar.
I have no any profit for providing you with a free and fast server and have no money to buy VPS.
If someone can help me with VPS, I can make a free and fast server (much faster than MultiOgar) with smooth physics, different game modes, convenient server tracker, and other interesting things, such as a new game modes, fast and powerful client,  etc.
So, I will be glad if someone can help.

I have one for you, free of charge. Is there any way I can contact you to give you the server details?

Im not sure about free ones... theres not that many out there. but i searched google for free vps servers and I found this one idk
http://5jelly.info/vps/

@Barbosik  you can contact me I love  help developers  skype:david12ali9 I got a vps with high specs(32GB ram 12 core, can run alot of servers ) I can share with you :) I already ran 4 servers with no problem of lag I run 2 servers now you can use my vps I only use it to run servers I dont even go on vps

"Im not sure about free ones... theres not that many out there. here's one i found idk
http://5jelly.info/vps/
you can find alot of them on google - @Megabyte918"
That's a scam website.

well f*ck me then

Don't, rewrite it in assembly instead.

It'd be awesome have OUR own server tracker. By the way, look for VPS's that would give you, (and from a trusted source) So that your code stays safe.

I feel like all these people that are listing servers with insane specifications are 100% sharing it. If you need something dedicated and small I could possibly hook you up in the future-ish.

If you want to test some things there free 5-day trial in https://www.axfone.eu/products-and-services/hosting-services/vps-virtual-server/ But I presonally use ovh.com

@Barbosik you can contact me at<EMAIL_ADDRESS>

Influxx: I sent you email

@Barbosik send me an email at<EMAIL_ADDRESS>I want you to lead the development of my agario server. In return I will give you VPS access to one of my servers, which only you got access to. I made over $20.000+ USD from my previous project, which was a bot service "V-CELLS" for agar.io.  There is a lot of potential in bot services, but there is even much more potential in agario private servers. Contact me, you got my email address.

I made over $20.000+

20$ or 20,000 of of bots?

@NatsuTheGreat $20 000+ USD.

I see now, I've meat you before :) On a xat chat :)

Oh okay, I think I remember you ;)

20,000$ is amazing.

Can I earn something on http://c0nsume.me ? xD

Ads help, but ads are annoying.

Lulzyyy, please contact me here at<EMAIL_ADDRESS>

@NatsuTheGreat More specifically, I made approx. $21 000 USD from total income. I never profited from advertisements, even though my website had over 8 000+ daily visitors

@TheGoldenXY  can please make some bots for MultiOgar Servers for personal use only

^^ That would be amazing.

@David1ali12 I have already implemented bots for several private servers, including one of the most popular server - http://gota.io. It's not that difficult for me to make bots for a private server, mainly because I have already implemented working bots for the official game, agar.io. It's funny how @Barbosik claims that scrambling coordinates will prevent bots from calculating offset and target players. It is mathematically difficult to patch this game. I still got working bots for agario

TheGoldenXY: MultiOgar is not intended for those who renaming it to his own name and using for commercial purposes. This is main reason, why I don't want to sharefast server and client

scrambling level 1 doesn't prevent bots. Scramble level 2 makes it a little harder. The main mode to prevent bots is scrambling level 3

@Barbosik  When I use agarpowerups the cell dont follow mouse ( I have to click on mouse for every movement )scramble is off please some help

@Barbosik My intention is not to use MultiOgar for commercial purposes. It's a great and clean server to work on and my aim is to make a better gameplay, much better than the original game, agar.io. I am planning to implement unique and cool features, such as a leveling system (much better compared to agar.io), weapons, spells, etc. I am also planning to rewrite the game architecture in a better language, which supports real multi-threading and more possibilities. I simply want to revolutionize the original gameplay and make it more difficult and exciting - so that it will be worth playing. Check out my web client here - www.BitBlobs.io.

TheGoldenXY: I just see that you renamed it and using to get payments for bots. I don't think that payments for bots makes better gameplay.

@Barbosik There is nothing wrong with renaming it. I am still not using it for commercial purposes. I made a lot of money from V-CELLS, which was the main aim and intension of that project. It's different this time, in this project I don't care about the money. I look at coding as art. I want to learn new languages such as Java and C++, while I'm continuing learning websockets and binary protocols. I love coding and computer science. It's like cooking - I just can't describe my passion for it..
I want to learn Java and C++, while I'm developing my own game. I believe I will achieve all of that.

No problem at all. We can add more free private servers as we need them.
@TheGoldenXY Be respectful, there's no need for name calling. Barbosik has already made clear that he is not interested in your offer, accept it and move on.

@Influxx Who are you to talk?

Well that escalated quickly.

@Megabyte918 Agreed

i earn money from using your project, for your good work i'm ready to give you an VPS for 1 year with specifications you need from OVH, or what ever company you like.
contact me<EMAIL_ADDRESS>

you should make option that ppl can donate you @Barbosik  you did Great job

@Barbosik i have free vps :)

@mafiakb How ? I'm searching for one two ^^

@MastaCoder what you're saying is probably true anyway I can share my personal vps which has 14 GB of ram that I doesn't share with anyone else (8+ GB free)
I've got all ready: PHP, MySQL, mail server... I currently use it to host my website and the performance is really good

._.

I'm looking for VPS for MultiOgar.
I have no any profit for providing you with a free and fast server and have no money to buy VPS.
If someone can help me with VPS, I can make a free and fast server (much faster than MultiOgar) with smooth physics, different game modes, convenient server tracker, and other interesting things, such as a new game modes, fast and powerful client, etc.
So, I will be glad if someone can help.

Hi Barbosik, I can provide one. Where can I contact you?

@Barbosik Happy to help. Where can I contact you. Do you have discord?


error[E0599]: no method named total_cmp found for struct f16 in the current scope

Reported by @Ted-Jiang  in ASF slack
Describe the bug
If a user has an outdated Cargo.lock compile may fail:
yangjiang@LM-SHC-15009782 arrow-rs % rustup --version
rustup 1.25.1 (bb60b1e89 2022-07-12)
info: This is the version for the rustup toolchain manager, not the rustc compiler.
info: The currently active `rustc` version is `rustc 1.64.0 (a55dd71d5 2022-09-19)`
yangjiang@LM-SHC-15009782 arrow-rs % cargo test -p parquet
   Compiling arrow v25.0.0 (/Users/yangjiang/CLionProjects/github/arrow-rs/arrow)
error[E0599]: no method named `total_cmp` found for struct `f16` in the current scope
   --> arrow/src/datatypes/native.rs:283:22
    |
283 |                 self.total_cmp(&rhs).is_eq()
    |                      ^^^^^^^^^ method not found in `f16`
...
309 | native_type_float_op!(f16, f16::ONE, f16::ZERO);
    | ----------------------------------------------- in this macro invocation
    |
    = note: this error originates in the macro `native_type_float_op` (in Nightly builds, run with -Z macro-backtrace for more info)

The problem can be solved by cargo update
@jhorstmann  notes it is likely due to the fact we use half 2.1 features but only declare half 2.0
To Reproduce
not sure
Expected behavior
deps are correctly encoded
Additional context
slack: https://the-asf.slack.com/archives/C01QUFS30TD/p1666706313186039?thread_ts=1666704542.258779&cid=C01QUFS30TD

label_issue.py automatically added labels {'arrow'} from #2927


Rm transaction_expiry_hr

Explain your changes:
This PR removes transaction_expiry_hr, which removes the check for transaction expiry in the pool.
Explain how you tested your changes:
*
Checklist:

[ ] Modified the current draft of release notes with details on what is completed or incomplete within this project
[ ] Document code purpose, how to use it

Mention expected invariants, implicit constraints

[ ] Tests were added for the new behavior

Document test purpose, significance of failures
Test names should reflect their purpose

[ ] All tests pass (CI will check this if you didn't)
[ ] Serialized types are in stable-versioned modules
[ ] Does this close issues? List them

Closes #0000

!ci-build-me

!ci-build-me

!ci-build-me


Create a new dataset associated to the current project in context

Which version of the fractal server are you experiencing this with? I'm currently in 1.1.0a0 and no error shows up in the server validation if the request sent to the server has the following body:
{
  "name":"test",
  "project_id":"1",
  "type":"",
  "meta":{},
  "read_only":false
}

You're right, this is a very recent update to fractal-server - available starting from 1.1.0a2.

Ref: https://github.com/fractal-analytics-platform/fractal-web/issues/51

For the moment, we do not set (nor send) the type attribute.
To be fixed later, so that the user has the possibility of setting it


The ComfyUI-PuLID-Flux-Enhanced node is not installed

The ComfyUI-PuLID-Flux-Enhanced node is not installed. I tried to install it from the manager and manually in the folder E:\ComfyUI\ComfyUI_Windows_portable\ComfyUI\custom_nodes - the node is red. No error messages (!?) Clicking the blue "Try fix" button does not change anything - the node is still red. The node does not connect in any workspace where it is present. Please help me understand the problem.  ComfyUI version - updated.
Here is a significant fragment of the log related to this node:
Execute install/(de)activation script for 'E:\ComfyUI\ComfyUI_Windows_portable\ComfyUI\custom_nodes\ComfyUI-PuLID-Flux-Enhanced'
[2024-10-28 14:45:51.826]  Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com
[2024-10-28 14:45:51.826]  Collecting facexlib
[2024-10-28 14:45:52.570]    Downloading facexlib-0.3.0-py3-none-any.whl.metadata (4.6 kB)
[2024-10-28 14:45:52.848]  Collecting filterpy (from facexlib)
[2024-10-28 14:45:53.066]    Downloading filterpy-1.4.5.zip (177 kB)
[2024-10-28 14:45:53.143]    Preparing metadata (setup.py): started
[2024-10-28 14:45:53.366]    Preparing metadata (setup.py): finished with status 'error'
[2024-10-28 14:45:53.610] [!]   error: subprocess-exited-with-error
[2024-10-28 14:45:53.614] [!]
[2024-10-28 14:45:53.614] [!]   python setup.py egg_info did not run successfully.
[2024-10-28 14:45:53.614] [!]   exit code: 1
[2024-10-28 14:45:53.614] [!]
[2024-10-28 14:45:53.614] [!]   [6 lines of output]
[2024-10-28 14:45:53.614] [!]   Traceback (most recent call last):
[2024-10-28 14:45:53.614] [!]     File "", line 2, in
[2024-10-28 14:45:53.615] [!]     File "", line 34, in
[2024-10-28 14:45:53.615] [!]     File "C:\Users\User\AppData\Local\Temp\pip-install-qiie3ol7\filterpy_828dbb2620d44be9a55a9842a0fe72fe\setup.py", line 4, in
[2024-10-28 14:45:53.615] [!]       import filterpy
[2024-10-28 14:45:53.615] [!]   ModuleNotFoundError: No module named 'filterpy'
[2024-10-28 14:45:53.615] [!]   [end of output]
[2024-10-28 14:45:53.615] [!]
[2024-10-28 14:45:53.616] [!]   note: This error originates from a subprocess, and is likely not a problem with pip.
[2024-10-28 14:45:53.616] [!]
[2024-10-28 14:45:54.562] [!] [notice] A new release of pip is available: 24.3 -> 24.3.1
[2024-10-28 14:45:54.562] [!] [notice] To update, run: E:\ComfyUI\ComfyUI_Windows_portable\python_embeded\python.exe -m pip install --upgrade pip
[2024-10-28 14:45:54.562] [!] error: metadata-generation-failed
[2024-10-28 14:45:54.562] [!]
[2024-10-28 14:45:54.562] [!] Encountered error while generating package metadata.
[2024-10-28 14:45:54.562] [!]
[2024-10-28 14:45:54.562] [!] See above for output.
[2024-10-28 14:45:54.562] [!]
[2024-10-28 14:45:54.562] [!] note: This is an issue with the package mentioned above, not pip.
[2024-10-28 14:45:54.562] [!] hint: See above for details.
[2024-10-28 14:45:54.562] install/(de)activation script failed: E:\ComfyUI\ComfyUI_Windows_portable\ComfyUI\custom_nodes\ComfyUI-PuLID-Flux-Enhanced
[2024-10-28 14:45:54.640]
[ComfyUI-Manager] Startup script completed.

So far, this node is not meant to be installed from comfy manager, please try installing from code.
And it may conflicts with the original one, you can zip that node temporally.

Thanks for your participation and quick response.
Installed via /custom_nodes, - not detected.
Disable original which one: https://github.com/balazik/ComfyUI-PuLID-Flux ?

I'm sorry but I'm not fimiliar with comfy manager things and don't understand how you manage your comfyui.
If git clone doesn't work for you, you can also download the code zip from repo page and unzip to custom_nodes.
There is no need to run any setup things, if you have installed https://github.com/balazik/ComfyUI-PuLID-Flux before. It should work if the code file is present.

The solution in my case:: python.exe -s -m pip install --use-pep517 facexlib

Please tell me how to solve this problem. I have been looking for a solution for the whole day. Please

Watch this video and repeat all the steps: https://www.youtube.com/watch?v=o_JOs56Q3zk
E:\ComfyUI\ComfyUI_Windows_portable\python_embeded>python.exe -m pip install --use-pep517 facexlib


Added global stats query

Added calculation for user-scoped stats
Also added migration for project-scoped stats (it's about another PR to come for easier review)

Codecov Report

Merging #152 into develop will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop     #152   +/-   ##
========================================
  Coverage    54.09%   54.09%
========================================
  Files           10       10
  Lines           61       61
  Branches         6        6
========================================
  Hits            33       33
  Misses          28       28

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 39078a8...3a47450. Read the comment docs.


Debug build works fine but Release build on IOS hangs or crashes at gl rendering,

I have an issue where the release build on IOS (using the bazel/tulsi/Xcode pipeline as per MediaPipe recommendation) regularly hangs.  Frustratingly the debug build version works fine which makes debugging challenging.
IOS Version: 14.3
Bazel: 3.7.2
Xcode: 12.4
Mediapipe: latest (ea8d45731f5a052f79745e35bfd8240d6ac568d2)
I will explain our use case below and the suspected culprit but for potential reproducibility I can get a similar outright crash just using the demo holistic tracking app.  In release build, if I switch the MediaPipe app to the background and foreground a few times (say opening a safari page), the mediapipe release build eventually freezes and then crashes (sometimes this happens immediately, sometimes after a few switches).  The debug version works fine even if I switch back and forth a dozen times.  I can't be sure this is the exact same problem as the demo app is simpler, but hopefully it highlights something not WAI between debug and release.
My own issue is in our app which (i) launches an MPP graph with rendered output stream, (ii) at some point user returns to a menu screen (cancelling graph) and (iii) then the user relaunches.  In debug build everything works.  In release build the app usually hangs on step (iii), rendering one or two frames and then taking 10-30 seconds per frame (instead of 30+ frames per second!) and the UI becomes unresponsive (not completely, but tapping to go back to menu takes another 10-30 seconds).  Occasionally it resolves itself back to working smoothly after a minute, usually not.  Sometimes it completely hangs. Surprisingly it almost never outright crashes.
The call in line  "MPPLayerRenderer.m" line 74 to [_glRenderer.glContext presentRenderbuffer:GL_RENDERBUFFER] seems to be where the app hangs.  If I comment it out in release build, it obviously disables rendering of the output on the phone, but the MPP graph performs as expected (I stream model results to the desktop which works fine) => I believe the rendering is the problem.   I have tried using a single render object and also creating a new one each time a new graph is launched.   I note that glContext and the mutex functionality used in MPP modules is deprecated by Apple since IOS 12.
Can anyone shed light on what the problem could be?

Hi @PoseAI, Could you please share your issue status ?

AFAIK it is still an issue. We moved forward by avoiding the mediapipe render pipeline and using native IOS rendering function calls if we want to show the camera feed (we don’t use any of the MP primitive drawing on the camera image).

Good to know you got some workaround. Closing this ticket.


fix stack overflows when deserializing with serde

see
-https://github.com/dtolnay/serde-stacker
-https://docs.rs/serde_json/latest/serde_json/struct.Deserializer.html#method.disable_recursion_limit
fixes https://github.com/ayrat555/frankenstein/issues/67

I think a better solution for the same problem is implemented in https://github.com/ayrat555/frankenstein/pull/69

closed in favour of https://github.com/ayrat555/frankenstein/pull/69


add refresh button

currently there is no way to recreate the chat at the same zoom/pan position with new data.

there are workarounds though.
if period buttons are not used then it's possible to reload by a zoom or pan.
if period buttons are used and the dataframe was resampled then it's possible to update it by changing period.


Add crawldb statistics check

crawldb REST API stats access is verified.

this is minor functionality but crucial for Memex Explorer.  testing the second patch of pub/sub functionality now (routing keys).


Project Factory

Outputs require some love, but I wouldn't really know what could be interesting to return.
Any taker?

Outputs require some love, but I wouldn't really know what could be interesting to return. Any taker?

I would merge and refine iteratively, WDYT?

I would merge and refine iteratively, WDYT?

sg


Updated validations.py python script

Fix validation_user function in validations.py
Add validations to return False if username starts with "." or "_"
Fixes #1

It's a good idea to open an issue first for discussion.

[ ] Tests pass
[ ] Appropriate changes to README are included in PR

@googlebot I signed it!


Add example showing SQLitePCLRaw.provider.sqlite3

Using the system version of SQLite just got easier in SQLitePCLRaw version 2.0.3. We should add an example showing how to use the SQLitePCLRaw.provider.sqlite3 NuGet package.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: b40bd2bd-59d9-15dc-244c-458f3de8aa37
Version Independent ID: c9f7dd88-1824-3935-1063-95009a8a8db1
Content: Custom SQLite versions - Microsoft.Data.Sqlite
Content Source: docs/standard/data/sqlite/custom-versions.md
Product: dotnet
Technology: dotnet-data
GitHub Login: @bricelam
Microsoft Alias: bricelam

Hi @bricelam,
Thank you for posting this issue. I'll try to incorporate this into the doc.

Yes, that’s the exception you’ll get on Windows since it doesn’t have a system-wide version on SQLite. On iOS, macOS, and Linux it should work.

Also, I probably should have assigned this issue to myself. 🙂 But I’m happy to review it if you still want to write something.


About the sampling strategy of slowfast feature extraction

Thanks for sharing your work.
You guys provided a slowfast feature for each video. I just wondering how did you sample the frames in the raw videos as the input of slowfast model. Casuse I am doing some experiment but I need the exact index of the corresponding slowfast input frames.It would be great if you could provide a function for sampling.
Thanks for your time, have a nice day~.

The documentation explains this. See here: https://ego4d-data.org/docs/data/features/#description
SlowFast has a stride of 16 frames and a window size of 32. If a video has 100 frames, we start with frames [0, 31] feed it in the model and obtain the features, then move to frames [16, 47] then move to frames [32, 63], etc. etc. You can see the corresponding code here. There is potentially one additional feature for the end of the video - this is described in the example.
Also please note that omnivore features are released and available. These have a stride of 6 frames and window size of 32, which equates to 5 frames per second. They should be higher quality features than slowfast.


Add -Wno-range-loop-analysis to avoid clang warning

I'm on macOS 10.15.7 and "Apple clang version 12.0.0 (clang-1<IP_ADDRESS>)" . When compiling I'd get:
[ 56%] Building CXX object renderdoc/driver/shaders/spirv/CMakeFiles/rdoc_spirv.dir/spirv_debug_setup.cpp.o
renderdoc/renderdoc/driver/shaders/spirv/spirv_debug_setup.cpp:2379:18: error: loop variable 'id'
      of type 'const rdcspv::Id' creates a copy from type 'const rdcspv::Id' [-Werror,-Wrange-loop-analysis]
    for(const Id id : curFunction->parameters)
                 ^
renderdoc/renderdoc/driver/shaders/spirv/spirv_debug_setup.cpp:2379:9: note: use reference type
      'const rdcspv::Id &' to prevent copying
    for(const Id id : curFunction->parameters)
        ^~~~~~~~~~~~~
                 &
renderdoc/renderdoc/driver/shaders/spirv/spirv_debug_setup.cpp:2381:18: error: loop variable 'id'
      of type 'const rdcspv::Id' creates a copy from type 'const rdcspv::Id' [-Werror,-Wrange-loop-analysis]
    for(const Id id : curFunction->variables)
                 ^
renderdoc/renderdoc/driver/shaders/spirv/spirv_debug_setup.cpp:2381:9: note: use reference type
      'const rdcspv::Id &' to prevent copying
    for(const Id id : curFunction->variables)
        ^~~~~~~~~~~~~
                 &
2 errors generated.

This PR avoids this issue. Ideally, however, we should fix the underlying issue.

(It would be nice if you can tag this PR for hacktoberfest inclusion as described in https://hacktoberfest.digitalocean.com/details#rules - feel free to ignore this last bit if you don't want this)

The warning is nonsense since the id is register sized but it's harmless and easy to fix, so this should be fixed correctly instead of being silenced.


Interpolation Search

Have you read the Contributing Guidelines on Pull Requests?
Yes
Description
Implemented the Interpolation Search algorithm in JavaScript with dynamic I/O
Checklist

[x] I've read the contribution guidelines.
[x] I've checked the issue list before deciding what to submit.
[x] I've edited the README.md and link to my code.

Related Issues or Pull Requests
Closes: #3945

Kindly review @HarshCasper :)


macOS broken

aera effect not work any more...
Please maintain this good repo, please post workable code before release, many users depends on this!!

@damywise AM using flutter 3.7.5

Done. Simply upgrading to flutter_acrylic 1.1.1 should fix the problem.

Apparently static analysis failed on pub.dev. I have run flutter analyze lib/window.dart using lints_core and couldn't reproduce the issue. I'll see what I can do later.

Oh,

@Adrian-Samoticha  windows failed build

remove macos_windows_utils depdency on windows? it's not properly to using macos api on windows.

The issue isn't Windows-related. I was able to reproduce it on macOS as well. I am currently still investigating it.


Prevents heat wizard from leaking styles to other wizards

Ref. #2258
At the moment, the setDefaults method in TorqueHeatWizard is bound to the wizard change event. This makes sure that setDefaults does no action unless it is acting over a torque heat visualisation.
@javisantana
@saleiva

Frontend tests were OK :+1: (details)


cleanup(userspace/libsinsp): remove and rearrange legacy definitions

What type of PR is this?
/kind cleanup
Any specific area of the project related to this PR?
/area libsinsp
Does this PR require a change in the driver versions?
What this PR does / why we need it:
This makes some steps in the direction of removing or rearranging legacy definitions and ifdefs around libsinsp. Most of the things touched here are unused, and thus removed.
Which issue(s) this PR fixes:
Special notes for your reviewer:
Does this PR introduce a user-facing change?:
NONE

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: jasondellaluce
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [jasondellaluce]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/milestone 0.15.0

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: Andreagit97, jasondellaluce
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [Andreagit97,jasondellaluce]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

LGTM label has been added.  Git tree hash: 35f10dc1b8495fd8d2f75638bcd4a70170338841

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: Andreagit97, FedeDP, jasondellaluce
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [Andreagit97,FedeDP,jasondellaluce]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


bootstrap datetimepicker loses keyboard navigation when selecting a date

When i focus on the input datetimepicker first time after page load the widget displays correctly and i can navigate inside it using keyboard keys perfectly, but once i choose a date using keyboard enter key and get back to the same input, the widget displays correctly but i can't use keyboard keys to navigate inside it anymore,
Is there a way to handle this??
Thank you.

Hi, for this please refer to #1690, and to be more prices this comment https://github.com/Eonasdan/bootstrap-datetimepicker/issues/1690#issuecomment-284269985
Closing as a duplicate.


MultiSelect Component broken

I am using PrimeVue and Tailwind in my Vue.js app and cannot get the MultiSelect component to work as intended (well, I guess it works, but the CSS is not correct somehow). I just installed a new test project with no CSS whatsoever to make sure I'm not overwriting my styles, but it still looks like this:

I also tried the PrimeVue Examples with the same outcome. Can anybody help to get this thing working? Everything else from PrimeVue works like a charm...

Hello, I have the same issue, Could you solve it? @seking01

I solved it, I had downgrade de version of primevue to @3.46.0

Hi, this issue has likely been resolved in the latest updates.
If you're still experiencing the problem, please feel free to reopen the issue or create a new one with more details.


Websockets: Guard against synchronous onError() calls

See https://github.com/apollographql/apollo-kotlin/issues/5862#issuecomment-2404607206

🛠 Docs Preview Building...

Configuration
{
  "repoOverrides": {
    "apollographql/apollo-kotlin@main": {
      "remote": {
        "owner": "apollographql",
        "repo": "apollo-kotlin",
        "branch": "guard-against-synchronous-on-error"
      }
    }
  }
}

f4c76724449703a98feb4b705e723cc86140d7ce


Mark Stacker as abandoned; Last commit 5 years ago

As titled.

Looks like this pulled in some ToC changes that someone has previously forgot.


How to suppress Deserialization exception using DeadLetterPublishingRecoverer, commit offset so that we can move ahead for other records

In what version(s) of Spring for Apache Kafka are you seeing this issue?
For example:
2.8.2
Between 2.7.0 and 2.8.2
Describe the bug
A clear and concise description of what the bug is.
Do not create an issue to ask a question; see below.
To Reproduce
Steps to reproduce the behavior.
Expected behavior
A clear and concise description of what you expected to happen.
Sample
A link to a GitHub repository with a minimal, reproducible,  sample.
Reports that include a sample will take priority over reports that do not.
At times, we may require a sample, so it is good to try and include a sample up front.

See the documentation: https://docs.spring.io/spring-kafka/docs/current/reference/html/#error-handling-deserializer

When a deserializer fails to deserialize a message, Spring has no way to handle the problem, because it occurs before the poll() returns. To solve this problem, the ErrorHandlingDeserializer has been introduced. ...


Add spark343 shim for scala2.13 dist jar

We missed spark343 shim for the scala2.13 dist jar on branch-24.06.
Add scala2.13 spark343 shim for v24.06.0
Signed-off-by: Tim Liu<EMAIL_ADDRESS>

build


Update full-callendar to 3.0.1 version

Hello,
This is a major update that might break our implementation of the calendar as well as others who use the template. This would be ok if we were to release a major update of AdminLTE, but since were aren't, I can't merge this at the moment. Thanks!


Docs - add index naming note to clarify

Ticket adds clarifying note about index naming.
Thanks for sending a pull request! Here are some tips if you're new here:

Ensure you have added or run the appropriate tests for your PR.
Be sure to keep the PR description updated to reflect all changes.
Write your PR title to summarize what this PR proposes.
If possible, provide a concise example to reproduce the issue for a faster review.
Read our contributor guidelines
If you're making a documentation change, see our guide to documentation contribution

Commit messages should follow the following format:
<One sentence description, usually Jira title or CHANGES.txt summary>

<Optional lengthier description (context on patch)>

patch by <Authors>; reviewed by <Reviewers> for CASSANDRA-#####

Co-authored-by: Name1 <email1>
Co-authored-by: Name2 <email2>

The Cassandra Jira

I need to merge this work to trunk and 5.0.


test: add unit test for pkg/generic

What type of PR is this?
test
What this PR does / why we need it (English/Chinese):
Adding missing tests for pkg/generic
Which issue(s) this PR fixes:
Fixes #372

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


add empty folders in ZCL_ABAPGIT_GIT_PORCELAIN=>FIND_FOLDERS  Generates duplicate entries

I've end with a dump in ZCL_ABAPGIT_GIT_PACK=>ENCODE_TREE
With : ASSERT NOT <ls_node>-name IS INITIAL.
Because of an initial name.
I've got this initial name because ZCL_ABAPGIT_GIT_PORCELAIN=>FIND_FOLDERS
Generate folder with a '/' at the end.
With a folder list in rt_folders line 21 :

add empty folders
LOOP AT rt_folders ASSIGNING <ls_folder>.

PATH
COUNT
SHA1

/
0

/S51/100/BC/T000
0

/S51/100/CA/T000ATP
0

/S51/100/FI/T000C
0

/S51/100/FI/T000CLNT
0

/S51/100/FI/T001
0

/S51/100/FI/T001Z
0

/S51/100/LO/T001K
0

/S51/100/LO/T001L
0

/S51/100/LO/T001W
0

/S51/100/MM/T001Y
0

/S51/100/PA/T001P
0

/S51/100/PP/T000MD
0

I end with this list which includes duplicates.

PATH
COUNT
SHA1

/
0

/S51/
0

/S51/100**/**
0

/S51/100/BC**/**
0

/S51/100/BC/T000
0

/S51/100/BC/T000**/**
0

/S51/100/CA/
0

/S51/100/CA/T000ATP
0

/S51/100/CA/T000ATP**/**
0

/S51/100/FI/
0

/S51/100/FI/T000C
0

/S51/100/FI/T000C**/**
0

/S51/100/FI/T000CLNT
0

/S51/100/FI/T000CLNT/
0

/S51/100/FI/T001
0

/S51/100/FI/T001/
0

/S51/100/FI/T001Z
0

/S51/100/FI/T001Z/
0

/S51/100/LO/
0

/S51/100/LO/T001K
0

/S51/100/LO/T001K/
0

/S51/100/LO/T001L
0

/S51/100/LO/T001L/
0

/S51/100/LO/T001W
0

/S51/100/LO/T001W/
0

/S51/100/MM/
0

/S51/100/MM/T001Y
0

/S51/100/MM/T001Y/
0

/S51/100/PA/
0

/S51/100/PA/T001P
0

/S51/100/PA/T001P/
0

/S51/100/PP/
0

/S51/100/PP/T000MD
0

/S51/100/PP/T000MD/
0

I've fixed this with this change :

add empty folders
LOOP AT rt_folders ASSIGNING <ls_folder>.
SPLIT <ls_folder>-path AT '/' INTO TABLE lt_paths.
CLEAR lv_path.
LOOP AT lt_paths INTO lv_split.
  **CONCATENATE lv_path lv_split INTO lv_path.**
  READ TABLE rt_folders WITH KEY path = lv_path TRANSPORTING NO FIELDS.
  IF sy-subrc <> 0.
    APPEND INITIAL LINE TO rt_folders ASSIGNING <ls_new>.
    <ls_new>-path = lv_path.
  ENDIF.
  **CONCATENATE lv_path '/' INTO lv_path.**
ENDLOOP.

ENDLOOP.

The '/' is added at the end of the loop.
I also suggest to replace :
APPEND INITIAL LINE TO rt_folders ASSIGNING <ls_new>.
With
INSERT INITIAL LINE INTO rt_folders ASSIGNING <ls_new> index 1.
For performance reason as rt_folder is a standard table...
I've got a lot of folder...

I've forgot the '/' at the end of the path


[Bug]: Will not display pdf until all chunks are loaded when using range requests

Attach (recommended) or Link to PDF file
Any large, linearized pdf
Web browser and its version
Chrome 128.0.6613.138
Operating system and its version
Windows 10
PDF.js version
4.6.82
Is the bug present in the latest PDF.js version?
Yes
Is a browser extension
No
Steps to reproduce the problem

Open the live demo (https://mozilla.github.io/pdf.js/web/viewer.html)
Use the console to load a (large ~1000+ page) pdf from a location that serves range requests

PDFViewerApplication.open({
  url: "http://localhost:3000/getPdf" ,
  disableAutoFetch: true,
  disableStream: true,
})

What is the expected behavior?
Able to view the first few pages before the rest of the document has finished loading from the server.
(additionally, should only see a few chunks loaded as disableStream and disableAutoFetch are set to true)
What went wrong?
Nothing is shown in the viewer until the entire pdf has streamed in. If you watch the network tab, you can see that it waits until every single chunk is finished downloading until it displays anything. Additionally I wouldn't expect it to even load all chunks since the aforementioned options were set to true.
Link to a viewer
No response
Additional context
This works in version 2.5.207. If I change my local implementation to the current version, I see the same behavior as I see in the live demo. Simply downgrading to 2.5.207 will get this to work.

I am serving my document from a nodejs server. Here is the endpoint for reference:
app.get("/getPdf", (req, res) => {
  const filePath = path.join(__dirname, "./static/P180010.pdf");
  const stat = fs.statSync(filePath);
  const fileSize = stat.size;

  const range = req.headers.range;
  if (range) {
    const [start, end] = range
      .replace(/bytes=/, "")
      .split("-")
      .map(Number);

    const endRange = Math.min(end || fileSize - 1, fileSize - 1);
    const chunkSize = endRange - start + 1;

    res.writeHead(206, {
      "Content-Type": "application/pdf",
      "Accept-Ranges": "bytes",
      "Content-Range": `bytes ${start}-${endRange}/${fileSize}`,
      "Content-Length": chunkSize,
    });
    try {
      const fileStream = fs.createReadStream(filePath, {
        start,
        end: endRange,
      });
      fileStream.pipe(res);
    } catch (err) {
      console.error(err);
    }
  } else {
    res.writeHead(200, {
      "Content-Type": "application/pdf",
      "Accept-Ranges": "bytes",
      "Content-Length": fileSize,
    });
    try {
      fs.createReadStream(filePath).pipe(res);
    } catch (err) {
      console.error(err);
    }
  }
});

Attach (recommended) or Link to PDF file
Any large, linearized pdf

Sorry, but as mentioned in the issue template the actual PDF document is required in order for any issue to be actionable/valid.
Note that nowadays we have more validation, in order to deal with various corrupt PDFs, and it's thus possible that we might need to load the entire document in some cases.
I've just tested the following locally, in both Firefox Nightly 132.0a1 respectively Google Chrome 129.0.6668.42 running on Windows 11, and it works just fine with only a limited number of range request needed to render the first page:
http://localhost:8888/web/viewer.html?file=/test/pdfs/pdf.pdf#disableStream=true&disableAutoFetch=true

Thank you for the timely response. My apologies - I'm unfortunately unable to share the pdfs that I'm working with but thank you for the additional context. I'll take a closer look at the pdf structure.
One other thing I noticed in implementations that did load the first page with a limited number of requests, if I jumped to a far off page, it will load everything between the two in order. With a perfectly working implementation, should I expect it to only send a few range requests to load the requested page or is what I described the intended behavior?

Thank you for the timely response. My apologies - I'm unfortunately unable to share the pdfs that I'm working with but thank you for the additional context. I'll take a closer look at the pdf structure.

In that case, let's close this for now since it's unfortunately not actionable currently. As mentioned in https://github.com/mozilla/pdf.js/issues/18745#issuecomment-2350196507 there are working examples, so this cannot be completely broken in general (and we'd need a test-case to actually look into this further).

[...] if I jumped to a far off page, it will load everything between the two in order. With a perfectly working implementation, should I expect it to only send a few range requests to load the requested page or is what I described the intended behavior?

Again, it really depends on the internal structure of the PDF document. In general we cannot jump straight to another page, but will need to walk part of the /Pages-tree to reach it, which may require some intermediate data-fetching.

One thing that you might want to confirm is that your server is actually sending appropriate data, e.g. by placing break-points in the PDF.js code, since we validate the response to ensure that range requests can be used; please see

https://github.com/mozilla/pdf.js/blob/c72fb9b7332d5db523736b76d0297cfb97c14385/src/display/fetch_stream.js#L132-L138
https://github.com/mozilla/pdf.js/blob/c72fb9b7332d5db523736b76d0297cfb97c14385/src/display/network_utils.js#L39-L83


500 error -

Sorry for only ever opening issues here, and not bringing good news, but:
[2022-01-26 14:12:10,940] ERROR in app: Exception on /feed/LindseyStirling [GET]
Traceback (most recent call last):
  File "C:\Users\25030\AppData\Local\Programs\Python\Python310\lib\site-packages\requests\models.py", line 910, in json
    return complexjson.loads(self.text, **kwargs)
  File "C:\Users\25030\AppData\Local\Programs\Python\Python310\lib\json\__init__.py", line 346, in loads
    return _default_decoder.decode(s)
  File "C:\Users\25030\AppData\Local\Programs\Python\Python310\lib\json\decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "C:\Users\25030\AppData\Local\Programs\Python\Python310\lib\json\decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\25030\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\app.py", line 2073, in wsgi_app
    response = self.full_dispatch_request()
  File "C:\Users\25030\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\app.py", line 1518, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "C:\Users\25030\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\app.py", line 1516, in full_dispatch_request
    rv = self.dispatch_request()
  File "C:\Users\25030\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\app.py", line 1502, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
  File "C:\Users\25030\Desktop\TikTok-RSS\main.py", line 16, in feed
    feed = generate_feed(username)
  File "C:\Users\25030\Desktop\TikTok-RSS\generator.py", line 56, in generate_feed
    body = res.json()
  File "C:\Users\25030\AppData\Local\Programs\Python\Python310\lib\site-packages\requests\models.py", line 917, in json
    raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: [Errno Expecting value] : 0
<IP_ADDRESS> - - [26/Jan/2022 14:12:10] "GET /feed/LindseyStirling HTTP/1.1" 500 -

I have some free time, so I'll have a look and see if I can find what's causing the issue myself, but putting this here in case anyone is better at this than I am :)

client.call_api seems to return a 200 response but contains no content

I'll check it out later, probably an authentication issue.
On Wed, Jan 26, 2022, 9:41 AM BritishBenji @.***> wrote:

client.call_api seems to return a 200 response but contains no content
—
Reply to this email directly, view it on GitHub
https://github.com/SuperSonicHub1/TikTok-RSS/issues/4#issuecomment-1022261646,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGDQCMTL4ZOTIKSEDBRZOITUYAB3FANCNFSM5M3EX7YA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

This seems to be an issue yt-dlp is also having. We'll need to wait on them:

https://github.com/yt-dlp/yt-dlp/issues/2534
https://github.com/yt-dlp/yt-dlp/issues?q=is%3Aopen+tiktok

Come back to me in about a week and I'll check on this again.

Issue fixed in commit #2161 https://github.com/yt-dlp/yt-dlp/pull/2161


"didn't export a Plugin instance"

Can't get the plugin to work, am I doing something wrong?
$ babel --plugins babel-gettext-plugin src/store.js
TypeError: The plugin "babel-gettext-plugin" didn't export a Plugin instance
    at PluginManager.validate (/Users/jacobrask/.nvm/versions/io.js/v2.1.0/lib/node_modules/babel/node_modules/babel-core/lib/transformation/file/plugin-manager.js:164:13)

I get the same issue with Node v4.0.0.
Thanks.

I think, the syntax to declare a plugin for babel is changed. So I will correct.

Ok it is fixed, you have a new version 1.6.0. The version have been tested on node 4 and Babel 5.8.23.

Thanks for the quick fix! :)


add: Raviraj Solanki

@RaviSolanki27 Thank you so much for your contribution! Your efforts are greatly appreciated and will go a long way in improving our project. Please feel free to share it with others and Star the repo to help us grow even further!


Test README example on CI

I believe it's currently broken, as of #13

One solution is to use rust-skeptic.
Another - is to add rustdoc --test README.md to the CI scrit. It's not clear if this is supposed to work, but it's currently blocked by inability to link rustdoc to the Froggy library.
Current state of the issue - no consensus, postponed till rustdoc is fixed.

The cargo/rustdoc doesn't appear to be in a rush to fix this - https://github.com/rust-lang/cargo/issues/383
Let's get the skeptic running then.


Issue with Existing Line Breaks

I have installed this on Text Areas that are getting existing data from a mySQL database.
However, in the database it has the line breaks so I assume it is using /r/n rather than br, so all of my content is put onto a single line.
Is there a way to change it or make it notice my existing line breaks?

If you are using php you should use the nl2br : http://php.net/manual/en/function.nl2br.php


revoke on configurations page does not work/or does not trigger CRL reload

crl was not activated in openvpn :(


Explore integration test frameworks kubetest-2 and/or kubetest.

Currently we are looking into : https://kuttl.dev/. We are writing and validating basic e2e tests for gen-2 cluster deploy and cluster update using this


Fix "folderId" propagation for "update_dashboard"

Hi there,
coming from the original patch https://github.com/m0nhawk/grafana_api/pull/85, this fixes https://github.com/m0nhawk/grafana_api/issues/82. Users reported the original flaw through https://github.com/panodata/grafana-wtf/issues/5.
When the folderId is not available within the dashboard payload, populate it from the nested meta object, if given. On the other hand, if it is given within the dashboard payload, it should take precedence.
With kind regards,
Andreas.

Codecov Report

Merging #7 (39293f0) into main (1052363) will increase coverage by 0.07%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main       #7      +/-   ##
==========================================
+ Coverage   87.48%   87.55%   +0.07%
==========================================
  Files          17       17
  Lines         655      659       +4
==========================================
+ Hits          573      577       +4
  Misses         82       82

Impacted Files
Coverage Δ

grafana_client/elements/dashboard.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update aed1ffb...39293f0. Read the comment docs.

Thanks @amotl 🚀


Add Missing Meta Tags for SEO Enhancement

The current project lacks essential meta tags that are crucial for search engine optimization (SEO). To improve the visibility and ranking of the website on search engines, we need to add the following missing meta tags:

Title tags
Description tags
Keywords tags
Open Graph tags for social media sharing
Robots meta tag

@DeadmanAbir  Please assign this issue to me (@myselfshivams).
Labels:

GSSoC
Hacktoberfest

The current project lacks essential meta tags that are crucial for search engine optimization (SEO). To improve the visibility and ranking of the website on search engines, we need to add the following missing meta tags:

Title tags
Description tags
Keywords tags
Open Graph tags for social media sharing
Robots meta tag

@DeadmanAbir Please assign this issue to me (@myselfshivams).
Labels:

GSSoC
Hacktoberfest

hey we have setted up dynamic meta tags for every component, you can check that by sharing any component link over whatsapp or discord.


Add JokerManor Token

Project Website: https://www.jokerfi.com
instagram: https://www.instagram.com/joker_manor
Telegram: https://t.me/jokermanor
Discord: https://discord.com/invite/nPhe8WkH
Twitter: https://www.twitter.com/JokerManor
Linkedin: https://www.linkedin.com/company/joker-manor-metaverse/
Meduim: https://www.medium.com/@JokerManorMetaverse
Facebook: https://www.facebook.com/Joker-Manor-Metaverse-108697078277335

Hi @JokerManor - this is ETH assets? I can not find details about 0x8E8123e286437B281cAa8abbF3A7f0CDf72b0aE6 asset contract

it's a BSC asset,
bscscan: https://bscscan.com/token/0x8E8123e286437B281cAa8abbF3A7f0CDf72b0aE6


add support for es6

support! no es6 support, almost un-usable today...

Temporary solution

Convert ES6 to ES5. Online-converter.
Convert ES5 to CoffeeScript, use js2coffee.

Thanks.


Line height and font size are too large by default

VSCode Version: 1.10.2
OS Version: win10 x64
My monitor native resolution is 1920x1200

When opening any file in VSCode, it shows only 56 lines at any time.
I feel that the current line height and font size are too much by default.
For reference:
Sublime Text 3: 71 lines
 Notepad++ 6.9: 65 lines
      gVim 7.4: 66 lines
  UltraEdit 23: 67 lines

In contrast, Atom 1.15 displays even less: 49 lines

By default VSCode has in its settings:
"editor.fontSize":  14,    // Controls the font size in pixels.
"editor.lineHeight": 0     // Controls the line height. Use 0 to compute the lineHeight from the fontSize.

If I set them to 13 and 15 respectively
then the visible lines area becomes on par with the other editors: 71 lines.

Also, (while using the default Dark+ theme
and the default setting   "editor.fontFamily": "Consolas, 'Courier New', monospace")
with my suggested settings, 13pt Consolas I think it is appears a bit boldish.
Changing the value"editor.fontWeight": "normal" to anything below 400 doesn't make a difference. (related issue: #381)
That's why I believe that, in conjunction with the above two suggested changes,
it would be even better to switch to a slightly different font that would support setting fontWeight below 400 e.g. something like "Consolas Light" -I know that this font currently doesn't exit- )

So, my suggestion is to change the default values of these settings to 13 and 15 respectively,
plus lower the fontWeight value somehow

Here is VSCode with its default settings:
screenshot 682
And here is comparison of VSCode with my suggested settings vs Sublime Text 3:
screenshot 678
screenshot 678b

@darkred Thank you for the comparison, really good analysis!
Changing defaults is a very problematic thing to do for us. We have to keep in mind that we have a large user base, of which a considerable percentage, possibly, are using the defaults. Changing the defaults via an auto-update might surprise existing users as it might lead to a change in the appearance of their editor.
If we decide to change the defaults in this area, we should try to detect new installs vs updates. A new install could get the new defaults, while the existing install should maintain the old defaults. I don't think we have at this point this mechanism in expressing configuration options.
fyi @sandy081 @aeschli @bpasero

I do agree that 13pt Consolas appears too bold. I'm comparing the VSCode font to Sublime Text 3 and JetBrains IDE's font, where I'm using Consolas too. Unfortunately the setting "editor.fontWeight":  has no effect on actual rendering. I'm using Win10. I'm also using the same fontSize and lineHeight as @darkred  (found the settings via trial and error). Also I think that @alexandrudima has a point in saying that changing the defaults is not advisable. I don't mind configuring the settings myself, but having actually working editor.fontWeight would be really nice.

For my taste default font size and line height are good. Don't like lines closely stuck to each other. It greatly reduces readability.
@TanelS
So far Consolas doesn't have light and ultra-light versions. It's up to Consolas devs. Hope someone will make them know it one day.

Consolas looks much better on JetBrain's IDE-s and in Sublime Text. The same font size. The font weight on VS Code is messed up because of the underlying Electron code, which is mostly being developed outside of MS. GitHub's own Atom editor suffers the same problem.
@regs01 I agree that the font size and height is a matter of taste. As the editor is configurable, everyone can "tune" it to suit his/her preferences :-)

Consolas looks much better on JetBrain's IDE-s and in Sublime Text. The same font size. The font weight on VS Code is messed up because of the underlying Electron code, which is mostly being developed outside of MS. GitHub's own Atom editor suffers the same problem.
@regs01 I agree that the font size and height is a matter of taste. As the editor is configurable, everyone can "tune" it to suit his/her preferences :-)

Well the original Issue shows that it is not possible to tune it to preference. The default font-rendering renders the font too bold and there is no light-type, so you are out of luck.
I agree though that vscode font rendering should be more in line with other text editors.

Hey fellow folks interested in font/line height configuration in VSCode: Any chance we could get your upvote over on #115960?
We're trying to get line height expressible as a ratio of font size, as it is in other editors and in other parts of VSCode, and we could really use your help. We've got just a few more days to get those last few votes! It'd make it much easier to dynamically resize fonts!

Consolas looks much better on JetBrain's IDE-s and in Sublime Text. The same font size. The font weight on VS Code is messed up because of the underlying Electron code, which is mostly being developed outside of MS. GitHub's own Atom editor suffers the same problem.
@regs01 I agree that the font size and height is a matter of taste. As the editor is configurable, everyone can "tune" it to suit his/her preferences :-)

Can't agree more. However even I set font size to 13, the margin between lines are still larger than sublime text. Looks pretty strange and difficult to read than ST.
This is Sublime Text

This is VS code:


Outline for markdown preview

Now markdown preview mode doesn't show outline information, which seriously affects its ability to be a markdown reader (and the fact that there is an outline in edit mode makes this thing even more irrational).

/duplicate of #97095


Elder project not loading

Took me a while to step to 1.26, but today was the day. Unfortunately, some project are not accepted to load and the sequencer stays reset playing empty sequences.
Sorry to say I can’t tell exactly the version used to write them. But I could provide the project files from SD card if of any interest.

0.1.6 did break backwards compatibility. If you used a later version, send me the project files and I can have a look. In general they should load fine but there might be small incompatibilities I havent caught.

Yes, sure. What's your preferred method to receive the file?

You can just drag a file to a new comment.

Version 1.26
Project 1 and 2 loading properly, 3 and 4 determined as invalid project files, 5 causing module reset.
PROJECTS.zip

Had a quick look at the project files and this is what I read from the files:
001 - file version 4 (v0.1.8)
002 - file version 4 (v0.1.8)
003 - file version 11 (v0.1.21)
004 - file version 11 (v0.1.21)
005 - file version 11 (v0.1.21)
Its surprising that the files written with v0.1.21 are broken. This should not be the case. Did you use an official release when writing these files or was your firmware compiled from source (e.g. master branch)?

Thanx for investigating. Yes, I do my own compiles. Had no issues in that are so far. Can you confirm loading doesn’t work on your end neither? If steppin back to 1.21: what would be a workable migration path?

Yes, same result using even the v0.1.21 version over here. Compiles from master can be dangerous when it comes to file versioning. The reason is that whenever a new data field is added to the data model, the file version is incremented. However, when I add multiple new fields from one release to the next, I keep adding to the same file version, meaning that writing files in between releases sometimes would only work on that exact commit. It might make sense to do this differently in the future and possibly increment the file version multiple times between releases.
As for how to mitigate this, it's a bit tricky. You would have to figure out which exact commit the project files were written from, then check what has been added before the next release. Then hack the firmware to read the "inbetween" version but write a correct "release" version. I'm not willing to do that for you, but feel free to try yourself. And in the future, it makes sense to stick to release versions.

Sure, get that point. Well, the files didn’t contain enough “gold” to put effort in that anyway, haha. Lessons learned, I’ll stick to official release when working on and saving next projects ;-)

Oh I didn't know these projects mean that much to you. Sorry to hear.  I can have a quick look, if there was not too much noise in between those releases it might be a quick one.

No, I wanted to express they don’t have big value to me. Everything sorted, Simon. Thank you so much!

Sorry for confusion. ;-)

Ah i see :) completely mis-read that statement. I actually think I know where the thing broke. I give it a try to just make sure no funky business is going on and my analysis was correct.

Ok, it was all as I expected. Here are the fixed project files.
PROJECTS.zip

Wow, great, thank you 1000 times. Of course now I am curious what did the trick?

Looking at https://github.com/westlicht/performer/compare/v0.1.20...v0.1.21 you can see that two fields were added to the model (clockOutputSwing and curveCvInput). You used a commit that did write the clockOutputSwing but not the curveCvInput yet, but they use the same project file version. So when you try to read back in a later firmware version the loaded expects both fields to be there but in the files only one is present.


Facturation 2

Closing Facturation PR and reopening Facturation 2 after GitHub crashed (22:10:2018)

This PR is an extension of the closed PR from the facturation branch.
Here facturation.xml is developed to run locally in root/tools directory (.shed.yml was moved to .shed.yml.local to escape travis/planemo tests
condafication is prepared but not executing properly (to do latter if beneficial)
a requirements.txt file is provided which allows to install easily python module (py27) using the command

pip install -r requirements.txt

The tools was installed successfully in lbcd41.snv.jussieu.fr as well as in a GalaxyKickStart instance. Basically, what has to be done is (i) copy the tool folder in root/tools (ii) edit the appropriate tool_conf.xml file to indicate the relative pathway to the tool (iii) restart the galaxy instance

To be fixed

There is a parsing bug: values of prices have in some instances an extra space which causes error in the formula calculation of the generated xlsx file.

The parsing is poorly annotated, which makes the code very difficult to maintain in the future. There is probably more simple / transparent coding (with less dependency modules).

Squash commits before merging !

@michelraymond the tests are now passing, including with condafication ! Yet GitHub seems still sick and I will profit from the time before recovery to squash the numerous commits of this PR !

Ping @michelraymond for your review and feedback

@michelraymond

Editing the galaxy parser should do the trick, but it limits the portability of the script.

What do you mean by "Editing the galaxy parser" ?

Sorry, the galaxy sniffer.

Sorry, the galaxy sniffer.

OK, lets keep this for the next step. I'll merge !


Add phpmyadmin image version

Add latest version to phpMyAdmin image.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


NAT Server not functioning properly.

Version Number and Operating System(s):
Unity 2019.2.21f1 - Latest NAT server build from Git.
Windows Server 2016 Datacenter (10.0.14393 Build 14393) Running on AWS EC2 instance. (t2.medium | us-east-1d)
Summary:
I'm currently running the included NAT server on  a Windows Server 2016 instance being hosted by AWS. Roughly 60% of the time the functionality is as you would expect, clients can connect to each other using the NAT server.
Often though, the NAT server will stop registering new hosts. My temporary solution is to simply close and reopen the NAT server executable. This isn't acceptable as I don't want to interrupt users games at random intervals.
I'm also unable to have clients connect to a host more than once via NAT. Meaning if a host begins a game, then closes the game, and relaunches a new server. It's not registered on the NAT and users are unable to connect.
Both TCP & UDP ports are open on the server and Windows firewall on the server has been disabled.
Expected behavior:
NAT server should register a new host when they begin to host a session.
Actual behavior:
(See summary)
Steps to reproduce:
Install Forge, setup an Amazon EC2 instance, and launch the NAT server.
[Optional] Discord Username:
Funnyguy77#3828

I seem to have the same problem.
After a few successful connections clients can't connect anymore and I have to restart natholepunch.exe
Some of my client can never connect though, but I'm unsure if that's a firewall problem on their part.


Type Hinting the code base

Because the code is forked and customized it seems as if adding type hints would help guide people in the right direction. For example it is hard to know what a basket is when working in views.py.
A challenge, I see, is having proper types for objects loaded using oscar.core.loading. Maybe it makes sense to add a types.py in each app to define the type, but that could easily get out of date. Another option is to directly import the objects with a _ in the front.  What are some other options?
If there is traction for this. I would probably start updating the checkout app as a first step.

I think type hinting will be useful to developers working with Oscar, and would support your efforts to work on it!
That said, Oscar's dynamic class loading is potentially going to make this tricky. Direct imports of the abstract classes are almost certainly going to increase the risk of circular imports etc., which are already a common gotcha for projects that override Oscar core logic. I feel like a types.py would likely have the same issues. Don't have any better ideas at this stage - not having spent a lot of time thinking about possibilities. It feels like something that may need a bit of experimentation.

what about pyi files?

We use stubs (pyi files) on an Oscar project without too much issues. Providing stubs for Oscar would be great, some other projects also have chosen this option (Django has Django stubs, DRF has DRF Stubs, maintained in separate repos).

I hadn't heard of them before. What would the user experience be for extending the stubs? Lets say I add more properties and methods to the product model what would I need to do to include those into the stubs?

Not sure if I understood your question correctly. I will try to answer as I can.
For example this is an extract of a stub file we wrote:
class AbstractProduct(models.Model):
    title = models.CharField(max_length=255, blank=True)
    slug = models.SlugField(max_length=255, unique=False)
    categories = models.ManyToManyField("catalogue.Category", through="ProductCategory")
    attr: ProductAttributesContainer

    upc = models.CharField(max_length=64, blank=True, null=True, unique=True,)
    is_public = models.BooleanField(default=True, db_index=True,)
    def get_title(self) -> str: ...
    def primary_image(self) -> Any: ...
    def get_all_images(self) -> QuerySet[ProductImage]: ...
    def get_categories(self) -> QuerySet[ProductCategory]: ...

We only wrote the stub file with want we need. The current cases are:

A method is missing in the stub file (a method we did not used yet in the codebase): in this case we add it to the stubs file
Django Oscar changes a method/property/attribute we change the appropriate stub.

Now if you are extending Oscar by inheriting from abstract models (which is was we do, and I believe is the way to go with oscar) you do not have to touch the stubs, because the represent the typing from the codebase of oscar, not of your codebase. If you want to add a new method to an object you just have to add the correct type annotations in the definition of the method.
I am sure I am super clear so don't hesitate if you have any questions


servers check times out on large clouds

On large clouds check_servers can time out (the default is 10s which is often not enough to query all servers and check their status), it would be better if the charm could run the checks in a cronjob and read the results from a cache file (similarly to Octavia checks).

Close this issue because openstack-service-check is no longer actively developed. We are moving checks to openstack-exporter. You can file a new feature request in the new charm, in the way that the new charm can provide the functionality you need.
You can also create alerts on cos-configuration-k8s-operatorto monitor single servers if you install openstack-exporter-operator.


What are the URL need to whitelist in my network to use Scoop?

What are the URL need to whitelist in my network to use Scoop?

github and any URL contained in app manifests.


Removing Arc from Blueprint to prevent side effects

Summary:
Removing Arc from Blueprint to prevent side effects.
Issue Reference(s):
Build & Testing:

[x] I ran cargo test successfully.
[x] I have run ./lint.sh --mode=fix to fix all linting issues raised by ./lint.sh --mode=check.

Checklist:

[ ] I have added relevant unit & integration tests.
[ ] I have updated the documentation accordingly (if applicable).
[x] I have performed a self-review of my own code.

@shashitnak There is a slight degradation in perf — https://github.com/tailcallhq/tailcall/actions/runs/7116029969/job/19373484273?pr=719#step:17:16
Compared to main https://github.com/tailcallhq/tailcall/commit/9b203052fa244941e9c304e149365706b04a2078#comments

@shashitnak There is a slight degradation in perf — https://github.com/tailcallhq/tailcall/actions/runs/7116029969/job/19373484273?pr=719#step:17:16
Compared to main 9b20305#comments

@tusharmath could it be because of the conversion from Arc<Vec<>> to Vec<Arc<>>? because it's creating a new list with the references instead of taking the reference to the entire list


Static Magnet for Connectors

First of all, thank you very much for all contributors to this MuJoCo project. This is an awesome repository.
Is your feature request related to a problem? Please describe.
I want to make a magnet to implement something like MagSafe 3 of Mac.
Implementing magnetic forces might be useful for other functions too. For example, adhesion currently attracts all objects within margin - gap with the same force strength. However, if one needs a realistic suction gripper, its force strength needs to depend on the distance between the gripper and an object, in a way similar to magnetic forces. (Closer, stronger.)
Describe the solution you'd like
It would be nice if we can add to an object a sclar attribute (like "magnetism"), which determines the magnitude of the force, and another attribute that determines the orientation of the magnetism (S and N). It would be also nice if setting the orientation to some special value allows to instantiate something like metal-like objects (no repulsion, no attraction of other objects, only attraction to magnets) and gravitation (no repulsion, only attraction). That said, for the purpose I descibed above (i.e., MagSafe 3), ferromagnetism and magnetic forces caused by electric currents are unnesesary.
Describe alternatives you've considered
Currently, I have no other idea on how to implement magnets.  Setting contype and conaffinity with adhesion actuators allows an ad-hoc method to implement something like magnets. However, it sometimes leads to no contacts between some objects.
Additional context
I opened an issue about this topic, and Yuval asked me to open a feature request. See this issue for the additional context: https://github.com/deepmind/mujoco/issues/615#issuecomment-1332673517

Yeah this will be a great addition. Passive magnets or even electromagnets can add a lot of potential.
@yuvaltassa  do you think it's easy enough to implement?

Yes, this should be straightforward to implement. Unfortunately we are very busy with other things and it's hard to imagine that this will be top priority. If you are up for it we can discuss what would be the best API (I have an idea) and you could implement and send a PR?

Yes of course, I'd love to contribute!

Okay, let's talk features and then once we're happy with them, we'll talk API.
In terms of features, here's what I think we *might want, some of this should probably be excluded. Comments welcome. @saran-t, @quagla, @kbayes, your input in particular.

Unsigned monopoles with force $\propto r^{-2}$ to simulate Newtonian gravity.
Signed monopoles with force $\propto r^{-2}$ in the direction of the sign product to simulate Coulomb electrostatic force.
Signed dipoles to simulate fixed magnets. Note that dipole interaction is roughly $\propto r^{-4}$ (I think? My memory is blurry) and involves torques as well as forces.
Actuated signed dipoles to simulate electromagnets.
Unsigned monopoles that interact with the dipoles in two ways: interaction of charged particles with the magnetic field a-la Maxwell, interaction of ferromagnetic materials with magnetic fields. One could also imagine dielectric materials I suppose? This entire item might be out of scope.
Ways of specifying the interaction constants (gravitational constant, permittivity, susceptibility, permeability etc.) such that reasoning about units is possible.

In terms of API all of these will likely be specified as point source at sites, but let's leave that until we agree on the feature set.
@brilliant-ember do you have the required physics background to follow the above?

Last time I saw a physics textbook was few years ago. I would need a big refresher

We might as well allow a vector of multipole moments (equiv. spherical harmonics coefficients) to be specified for each body. That's more principled.

Has there been any update on this?

Not really. It's not a very requested feature...
I'll make a deal with you. If you find me the equations for dipole-dipole interaction, I will make the feature 🙂

I'm more interested in having objects that emit a magnetic flux, for use with a magnetometer (to represent a Hall-Effect sensor)


Fix small issues

Description
Fixed a width issue on book covers in the Review cards.
Also took the change to fix an issue with the Apollo cache and the insert of new reviews.

Codecov Report

Merging #8 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master       #8   +/-   ##
=======================================
  Coverage   96.27%   96.27%
=======================================
  Files           9        9
  Lines         215      215
=======================================
  Hits          207      207
  Misses          8        8

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9643bb8...5442805. Read the comment docs.


Issue with importing JWT for Authentication after following the tutorial

I'm getting the following error after following the tutorial. It's worth noting that I am only getting this error in heroku and not local.
ImportError: Could not import 'rest_framework_jwt.authentication.JSONWebTokenAuthentication' for API setting 'DEFAULT_AUTHENTICATION_CLASSES'. ImportError: No module named rest_framework_jwt.authentication.
The error appears to be with importing in here:

REST_FRAMEWORK = {
    'DEFAULT_PERMISSION_CLASSES': (
        'rest_framework.permissions.IsAuthenticated',
    ),
    'DEFAULT_AUTHENTICATION_CLASSES': (
        'rest_framework.authentication.SessionAuthentication',
        'rest_framework.authentication.BasicAuthentication',
        'rest_framework_jwt.authentication.JSONWebTokenAuthentication',
    ),
}

It's in the requirements.txt:
dj-static==0.0.6
Django==1.9.2
django-cors-headers==1.1.0
djangorestframework==3.3.3
djangorestframework-jwt==1.8.0
PyJWT==1.4.1
static3==0.7.0

Any help will be really appreciated.
Thanks in advance.

In the INSTALL_APPS, make sure you included 'auth_jwt" entry.

@whippersnapper  adding 'auth_jwt' does not solve the problem. Does anyone know what module to add to installed apps so that 'rest_framework_jwt' becomes available? Thanks

In my case the problem was I had the wrong virtualenv activated. For rest_framework_jwt to be available, all you need to do is pip install djangorestframework-jwt into your virtual environment. Your interpreter will find it just fine.

None of the above solutions works for me. Any other ideas?

djangorestframework-jwt is a  seperate package.pip install djangorestframework-jwt should solve the problem.

I get the same issue, tried all above solutions given, nothing worked.., any help??
Thanks in advance.

I fixed it by running pipenv shell before running the server

@warlordzephyr , would please provide more descriptiin and the steps you used?


[$1000] Workspace - No workspace available when signing in from a user with only one workspace

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Create a very new account
Create a workspace
Signout and signin again
Observe that workspace is not displayed.

~1. Open App and login using the Apple ID (tap the Apple icon)~
~2. Click Continue for all the prompts~
~3. Navigate to Settings -> Workspaces (Make a few workspaces)~
~4. Sign out~
~5. Sign in with Apple ID and Navigate to Settings -> Workspaces (notice a workspace is deleted)~
~Note: WS is gone~
~6. Close the app (put app into background)~
~7. Open app again~
~Note: WS is visible.~
Expected Result:
List of workspaces should appear if available
Actual Result:
List of workspaces does not appear
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android / native
[x] Android / Chrome
[x] iOS / native
[x] iOS / Safari
[x] MacOS / Chrome / Safari
[x] MacOS / Desktop

Version Number: <IP_ADDRESS>
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/93399543/7f06b51b-a535-4f16-aa83-8c3bf92eca81
https://github.com/Expensify/App/assets/93399543/de13a5b4-2192-46fc-bb93-aee941eb985e
https://github.com/Expensify/App/assets/93399543/468f1e4e-6391-4d59-98f4-141995bc261b
https://github.com/Expensify/App/assets/93399543/d67b189b-96ef-436d-b80f-2b6a1a22a1b1
https://github.com/Expensify/App/assets/93399543/ffa1fbda-932c-4583-874e-e7ce69a8a3cc
https://github.com/Expensify/App/assets/93399543/fddcc2eb-3f9b-411a-9015-12e08380847e

Expensify/Expensify Issue URL:
Issue reported by: @ufumerfarooq
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1696001301025309
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01f132917068b6c5f3
Upwork Job ID:<PHONE_NUMBER>262095872
Last Price Increase: 2023-10-12

i can reproduce - this might need to be Internal since it's related to Apple. What do you think @0xmiroslav (internal or external)?

Hmm, I'm not able to reproduce this issue. I might be missing something here?

@MonilBhavsar you need to use "Apple Signin" because it's still reproducible

@MonilBhavsar  Retested these 2 scenarios:
Scenario 1: Tested using old account
Note: Email was hidden by "Hide my email" apple feature and it's reproducible.
 It's something else
Videos are attached in Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1696001301025309

Still no dice for me.
Had a look at the logs and nothing sus.
@Christinadobrzyn could you please retest and confirm

I'm not able to reproduce anymore either. Following the steps in the OP - I signed in through Apple ID > created a workspace > signed out > signed back in and the workspace exists.

This also seems to be the same behaviour as in this video in slack - https://expensify.slack.com/archives/C049HHMV9SM/p1696430345182549?thread_ts=1696001301.025309&cid=C049HHMV9SM
So if there's something else happening, I think that is a new bug report - this bug report doesn't seem to be happening anymore.

Thanks for confirming! @kbecciv is QA team able to reproduce this?
We need to update bug report if we're missing something or we can close this if we're not able to reproduce

I'll ask QA to test, good thinking!

@Christinadobrzyn  Workspace is unavailable after re-logging, but it reappears after close and reopen the app. Please check video. Thank you
https://github.com/Expensify/App/assets/93399543/21da7717-15c5-48e1-8f6b-bb57fbc8c2cb

Yes, this is still happening @MonilBhavsar. Seems to only be happening on IOS. I updated the steps in the OP to reproduce. can you try to reproduce again?

I will try on iOS, thanks!

Okay, I captured the occurrence and most probably the issue...

This is issue in general, and not related to Apple signin at all. Will update the title

This issue can be worked externally!
The server returns required data in server response when calling OpenApp.

A collection of policies - mergeCollection Onyx method
An activate policy update - merge Onyx method

Looks like we're somehow not applying the first Onyx update in the storage and only apply the second update.
We'll need to investigate if it's issue with Onyx. The code lies in react-native-onyx repo https://github.com/Expensify/react-native-onyx/

Thank you so much for all the testing @MonilBhavsar!

Disagree to above message from Melvin since External label was applied on Friday! cc @Christinadobrzyn
Waiting on proposals...

Melvin, I updated above 😕

waiting on proposals!

increase the price to get some proposals

I'll post in expert contributors group considering a critical issue and might be affecting other flows of the app

Seems like the RCA is the same as here: https://github.com/Expensify/App/issues/28737
In the OpenApp API response, we have 2 operations related to the newly created collection:
{
            "onyxMethod": "mergecollection",
            "key": "policy_",
            "value": {
                "policy_7D84B7F95450B5C8": {
                    "isFromFullPolicy": false,
                    "id": "7D84B7F95450B5C8",
                    "name": "Paultsimura+ws5's Workspace",
                    "role": "admin",
                    "type": "free",
                    "owner"<EMAIL_ADDRESS>                    "outputCurrency": "PLN",
                    "avatar": "",
                    "employeeList": [],
                    "isPolicyExpenseChatEnabled": true,
                    "areChatRoomsEnabled": true,
                    "lastModified":<PHONE_NUMBER>456091
                },
            }
        },
        {
            "onyxMethod": "merge",
            "key": "policy_7D84B7F95450B5C8",
            "value": {
                "autoReporting": true,
                "autoReportingFrequency": "immediate",
                "defaultBillable": false,
                "disabledFields": {
                    "defaultBillable": true,
                    "reimbursable": false
                }
            }
        },

After this response is processed, in Onyx the policy contains only the data from the merge operation, the mergecollection is neglected:

@Julesssss @ospfranco you might be interested ☝

Looks like this is fixed now. I am not able to reproduce

@MonilBhavsar reproduced just now:

I'm not able to reproduce on latest main either 🤔

@Christinadobrzyn are you still able to reproduce this issue? I am not able to reproduce. I believe it's fixed. cc @0xmiroslav

Issue not reproducible during KI retests. (First week)


Error when getting documents using the _id field

Hi team,
I'm getting an error when I'm querying for a specific record by _id
var business = controller.storage.businesses.get(
    user.businessId
,
function (error, business) {
   ...
});

Where inside user.businessId it is stored the _id of the user that created that specific business.
When executing, I get the following error:
Error: Argument passed in must be a single String of 12 bytes or a string of 24 hex characters
and according to the stack overflow topics I found _id should be fine containing any data (it's a little bit tricky since none of them is specific to botkit storage). Could you help? Is there any additional process I need to do to the _id field to be able to find those records?
Thanks!

Never mind, I found the issue! :D
It looks the way I was saving _id wasn't the standard format expected by Mongo and Botkit, not a botkit issue
Thank you anyway!


HAWQ-113. Fix NONE mode resource broker minus more pending resource w…

Please review

+1 The change is good to me.

The fix look good. +1


fix missing onend function

This fixes issue #245.
Edit: Whoops, forgot to update my local copy with newest master commits, rebased/amended/pushed. My bad.

The merge conflict seems to be in the test I've added. Not sure why...

I wrote you a small comment but apart from that LGTM! Thanks!

Sorry, habitual ASI.
Fixed, rather than pollute commit history I've just amended and forced pushed

Sure, that's completely fine :-) I should make a release soon with the accumulated bugfixes.


When I select other languages in the text extractor, such as Arabic or Japanese Kanji, it doesn't detect them correctly.

Microsoft PowerToys version
0.70.0
Installation method
Microsoft Store
Running as admin
Yes
Area(s) with issue?
TextExtractor
Steps to reproduce
i have 2 iq
✔ Expected Behavior
No response
❌ Actual Behavior
No response
Other Software
No response

Please provide screenshots of examples so I can try to determine where the issue might be. /needinfo

Please provide screenshots of examples so I can try to determine where the issue might be. /needinfo

I also have this problem and I'm pretty sure we have the same problem.
When i try to extract an arabic text it extracts gibberish, for example "• _ 31
. 14
l' 14"
I put this command  Get-WindowsCapability -Online | Where-Object { $_.Name -Like 'Language.OCR*' } into powershell and it says that the Arabic OCR pack isn't even installed, so i think thats the problem but i dont know how to fix it

yes to no avail
On Mon, 19 Feb 2024 at 10:13, Joseph Finney @.***>
wrote:

Have you followed these steps? /needinfo
https://learn.microsoft.com/en-us/windows/powertoys/text-extractor#how-to-install-an-ocr-language-pack
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/PowerToys/issues/31376#issuecomment-1952659821,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BGHPA3KMH7BURMBETMILE5TYUNTZ3AVCNFSM6AAAAABDCJ2AV6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJSGY2TSOBSGE
.
You are receiving this because you commented.Message ID:
@.***>

please run these two commands and tell me what the output is:
$Capability = Get-WindowsCapability -Online | Where-Object { $_.Name -Like 'Language.OCR*ar-SA*' }
$Capability | Add-WindowsCapability -Online
/needinfo


Is this currently possible?

Hi Marko,
Thanks for making the extension - it will be be very useful.
I currently use pass and have a large repository of password in the store. the gpg key was generated on my local machine.
I noticed the instructions for building an new password store in your documentation. Using the keybase cli is it possible for me to upload my machine generated gpg key and use it for the keybase git repository?
I could do some trial and error to try and sleuth it, but I thought asking first might be the safer option for me.
Cheers,
Stu

Hey,
sorry I'm a bit late.
The keybase extension and your local gpg key you re using for pass are decoupled and are different things or lets say technologies. You can import your gpg key into your keybase keychain. keybase help pgp gives an good overview how and when your local gpg keychain are touched.
I did not upload/import any of my local gpg key's yet. I'm using my local gpg keys to manage my pass repo. and the keybase extension as an alternative.
What do you mean with keybase git repository? Can you give me more insights about what do you want to achieve?
marko

Gidday,
Let me focus on explaining the use case - to stop me making the water murkier through my lack of understanding of the security architecture you are looking at.
I have over 300 gpg encrypted files in my password store. I would like to create a keybase git project for this collection of files and then use the keybase git project to sync password changes between my different computers and android phones (if possible).
At one point I had the above set up working using a personal instance of gogs (go implementation of gitlab) - although at some point it stopped working and I haven't tried to get that set up working again. I could probably get this working again using gogs - but I thought keybase git would be a better solution since it is less self-managed.

Hey,
thx for the explaination. Got it.
so your main goal is

sharing your pass git repo accross your private machines.
encrypt/decrypt the content of this repo again with gpg (btw: the content of the git repo is already encrypted, and will be decrypted since in will be loaded on to your machine)

So sharing the repo can  be made with the keybase+git feature. the content would be encryted and signed with your device keys. But you are using a third party app - pass - which encrypts the content again via GPG. So what you need is a mechnism to share the gpg key accross all your machines. You wanna do it with the keybase gpg feature. With that also your gpg key would be available on all your devices. Sure that should work.
My solution is: having a personal server running in my living room where I host my git repo.
I clone it at home on all my machines. Using a yubikey I plugin into all my machines to be able to encrypt/decrypt with it.
Let me now if your idea/workflow works well.
Cheers
Marko


add dumb-init to image

requires https://github.com/redhat-developer/odo/pull/1112 to work
see https://github.com/redhat-developer/odo/pull/1112 and https://github.com/redhat-developer/odo/issues/1076 for more info

Let's get this merged then so the tests in https://github.com/redhat-developer/odo/pull/1112 can pass

Merging based on above acks

Let's get this merged then so the tests in redhat-developer/odo#1112 can pass

I think we'll need to push out this as a release also for the odo PR to use this as version 0.5.0


small fix for UnlinkGameObjectFromEntity

Contributions: We are not currently taking public contributions - see our contributions policy. However, we are accepting issues and we do want your feedback.

Description
we forgot to remove the GameObjectReference from the entity and to actually flush the viewCommandBuffer on OnDestroyManager.
Tests
tested it locally.
Documentation
none needed
Primary reviewers
If your change will take a long time to review, you can name at most two primary reviewers who are ultimately responsible for reviewing this request. @ mention them.

so it did work before in the playground. however I did some changes in a private repo, where I realized that unlinking the gameobject from the entity actually didn't unlink everything correctly. i.e. unlinking the game object, but keeping the entity alive => the entity still had a GameObjectReference