unmount does not work

File: machine/reference/mount.md, CC @gbarr01
if you try to unmount with the flag you get:
You must have a copy of the fusermount binary locally to use the unmount option
per:
https://github.com/osxfuse/sshfs/issues/31
fusermount does not work for mac, the install isnt' there. Cost me a lot of time and possibly data if I can't unmount this. Please change the docs and find a way to unmount.

Closing this ticket due to its age, and the impending refactor. If you think this is in error, feel free to reopen. Thanks!


adding footer to website

a general footer created for the website. Colors might need a little more tweaking but other than that all should be good.

All Good. Just have to move footer.html to teamplate folder not a separate footer folder.


Hardcoded addresses

Hello and thanks for sharing your code.
Looking at your code, I see a lot of hardcoded addresses, it makes me wonder about the integrity of your project.
Are you sending the claimed tokens to your address?
It does look that way, but Im not that experienced with blockchain, ARB and smart contracts yet, so please just take this as a question for more information. I do have a lot of experience in programming, I am just being careful.
Thanks in advance for your response

First of all, thank you and yes you're right. After the ARB claim, the wallet address to be sent was stored as my own wallet address, and I assigned this address to a variable called "recipientAddress," assuming that the person using it would change it. You're right, I should have corrected this. The other addresses are present in the "contractAddress" variable, which holds the ARB claim contract address, and in the "getBlockAddress" section, the contract address that communicates with L1 and retrieves the latest block data. The purpose of the code is to enable individuals whose wallets have been hacked or stolen to claim the ARB airdrop and transfer it to their secure wallets.

https://github.com/codeesura/arbitrum-claim-send/commit/3e76c7512853bda4730df81bac07d27d59ff288c


Add YouTube channel for Deep Dojo.

Machine learning with a focus on Apple hardware.

Thanks! I think you're just missing a comma in the JSON.

Yikes. Sorry about that. Should now be fixed.

Thanks!
Sent with GitHawk


Support Docker in Docker using /var/run/docker.sock

Currently only remote SSH contexts are supported by d.rymcg.tech. It is considered an anti-pattern to install it directly to the same machine that runs the Docker daemon (always clone it to your workstation instead). However, in the case of a containerized "workstation", using Docker in Docker, the usual way is to bind mount /var/run/docker.sock, so it would be nice to be able to support that as well.

This is partially implemented in #99 but traefik make open does not work, and host networking does not work in Docker Desktop.


How to customize resolve rules in order to align with webpack configuration

On client side, webpack can use resolve.alias to helps you shorten module resolving rules. If I specify:
resolve: {
  alias: { common: path.resolve('some/path/to/common') }
}

I can write something like:
.example {
  composes: one-helper from 'common/helpers';
}

and webpack will resolve 'common/helpers' to './some/path/to/common', and it works very well on client side.
How to achieve this functionality on server-side by using css-module-require-hook? I've solved many types of modules, only except for css modules. Thanks in advance.

Hello,
Since I use require.extensions to resolve require calls in runtime there are not many possibilities here and they may affect all the require calls in runtime.
Anyways, you may use global NODE_PATH environment variable (see the reference for the proper usage) and provide particular paths where node.js will search for the modules. I used it in early versions to test loading from the node_modules folder:
https://github.com/css-modules/css-modules-require-hook/blob/3.0.0/package.json#L16
https://github.com/css-modules/css-modules-require-hook/tree/3.0.0/test/tokens

Great, I'll look into that, thanks for your advices.


 I should be named noteID.
We need to consider how to mitigate API-breakage impact from this change, but AFAICT we will need to have an API-breaking change to rename the property. But maybe there is some clever way to avoid the API breakage.

Tracked in Apple’s issue tracker as rdar://116485448


Fix fela simple test

This PR adds the previously missing unused class usage in the Fela simple test.

For reference, this was added to the other cases in https://github.com/hellofresh/css-in-js-perf-tests/commit/460f88f598f286edc9cfd61844453abc00def6aehttps://github.com/hellofresh/css-in-js-perf-tests/commit/460f88f598f286edc9cfd61844453abc00def6ae

+1


Certificate https://www.googleplaymusicdesktopplayer.com/ expired

@MarshallOfSound The Certificate of https://www.googleplaymusicdesktopplayer.com/ has expired at the end of March.

Please fix that to be able to share this application to other people :)

It looks as if this cert was properly updated on 29 March 2020 PDT:

This can probably be closed.

Correct. Works now :)


Netlify/Formspree contact forms refined.

@lxndrblz I ... think this PR is what you wanted. I was thrown because perhaps ... you didn't complete the previous pull request? I was worried that I was ahead of your upstream repository that I had messed up something, but now that I look it seems like perhaps the other PR didn't complete.
I cleaned up that error you were seeing, I believe (and tested to confirm).

@cdichiara Thanks for restoring the PR and fixing the problem. I will have a look tomorrow. 👍

@cdichiara Thanks for restoring the PR and fixing the problem.  I'll try to undo that commit.

 I'll try to undo that commit.

Actually if you don't mind leaving that one head.html line in there ... I don't think it'll break anything, and it makes custom css a lot more flexible.

Actually if you don't mind leaving that one head.html line in there ... I don't think it'll break anything, and it makes custom css a lot more flexible.


Auto remove quote pair is broken

Issue Type: Bug

Create a new Javascript file
Write console.log(
Press single or double quote key so VScode adds a pair of quotes
Write anything like check and move the caret to the next line
Go back at the end of the word check and remove the whole word including the first quote
Closing quote remains

VS Code version: Code 1.56.2 (054a9295330880ed74ceaedda236253b4f39a335, 2021-05-12T17:44:30.902Z)
OS version: Darwin x64 20.5.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz (16 x 2300)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
3, 4, 6

Memory (System)
32.00GB (4.60GB free)

Process Argv
--disable-extensions --crash-reporter-id 0022c47a-4f46-441d-a819-669ad7e02cc7

Screen Reader
no

VM
0%

Extensions disabled
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
pythonvspyt678:30270856
pythonvspyt602:30300191
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyt639:30300192
pythontb:30283811
vspre833cf:30267465
pythonptprofiler:30281270
vshan820:30294714
vscoreces:30290705
pythondataviewer:30285071
vscus158:30286553
vscgsv2:30307504
vscorehov:30309549
vscod805cf:30301675
binariesv517cf:30312826

@aminpaks By default, the editor will only delete the quotes it inserted if your cursor stays within. Once you leave that area (like doing arrow down), the quotes are considered "committed" and will no longer get deleted. I think you want to use "editor.autoClosingDelete": "always".

@alexdima Thanks for clarification. I'm wondering when this feature was added, I clearly remember this was done by default not long ago.

:+1: You have a very good memory. The default was changed in 1.55


[Question] Model type for tt/ee not found, assuming encoder-only architecture

Reporting this as requested by the warning message, but as a question because I'm not entirely sure if it's a bug:

Here's the code I ran:
let quantized = false; // change to `true` for a much smaller model (e.g. 87mb vs 345mb for image model), but lower  accuracy
let { AutoProcessor, CLIPVisionModelWithProjection, RawImage, AutoTokenizer, CLIPTextModelWithProjection } = await import('https://cdn.jsdelivr.net/npm/@xenova/transformers@2.5.4/dist/transformers.min.js');
let imageProcessor = await AutoProcessor.from_pretrained('Xenova/clip-vit-base-patch16');
let visionModel = await CLIPVisionModelWithProjection.from_pretrained('Xenova/clip-vit-base-patch16', {quantized});
let tokenizer = await AutoTokenizer.from_pretrained('Xenova/clip-vit-base-patch16');
let textModel = await CLIPTextModelWithProjection.from_pretrained('Xenova/clip-vit-base-patch16', {quantized});

function cosineSimilarity(A, B) {
  if(A.length !== B.length) throw new Error("A.length !== B.length");
  let dotProduct = 0, mA = 0, mB = 0;
  for(let i = 0; i < A.length; i++){
    dotProduct += A[i] * B[i];
    mA += A[i] * A[i];
    mB += B[i] * B[i];
  }
  mA = Math.sqrt(mA);
  mB = Math.sqrt(mB);
  let similarity = dotProduct / (mA * mB);
  return similarity;
}

// get image embedding:
let image = await RawImage.read('https://i.imgur.com/RKsLoNB.png');
let imageInputs = await imageProcessor(image);
let { image_embeds } = await visionModel(imageInputs);
console.log(image_embeds.data);

// get text embedding:
let texts = ['a photo of an astronaut'];
let textInputs = tokenizer(texts, { padding: true, truncation: true });
let { text_embeds } = await textModel(textInputs);
console.log(text_embeds.data);

let similarity = cosineSimilarity(image_embeds.data, text_embeds.data);
console.log(similarity);

Thanks for the report - will fix :)


[Enhancement #3495] Add redis admin

Fixes #3495.
Motivation
Explain the content here.
Explain why you want to make the changes and what problem you're trying to solve.
Modifications

Add redis-admin in eventmesh-admin
Add redisAdmin and redisAdminAdapter in redis-storage
Add rocketmqService in rocketmq-admin to create topic (which calls the function in rocketmq-storage

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)
If a feature is not applicable for documentation, explain why?
If a feature is not documented yet in this PR, please create a followup issue for adding the documentation

I thought about it first. considering there is a task related https://github.com/apache/eventmesh/issues/4040, I just simply added the redis-admin and submit the pr waiting for further disscusion.
I am still confused about the admin part in eventmesh-storage-plugin eventmesh-runtime and eventmesh-admin. I noticed there is a task related to re-design this part, so we can discuss it first to avoid confict.

I just simply added the redis-admin and submit the pr waiting for further disscusion.

I am still confused about the admin part in eventmesh-storage-plugin eventmesh-runtime and eventmesh-admin.

Contributing code in this way is not good, both for you and for EventMesh. You should program only after fully understanding the relevant code you are dealing with, and verify the functionality of your code.

I'm sorry for my thoughtless behavior in this pr and I will make a plan about it first the next time.


[SKiDL BUG] Failed part search in zyc due to need for KISYSMOD in skidl

Describe the bug
zyc crashes due to an issue in skidl part search
To Reproduce
Steps to reproduce the behavior:

Install skidl and zyc in a python venv
Open zyc through terminal and search for 0805
See error in terminal

Expected behavior
load function in part_query.py reads the file fp-lib-table. That file has pointers such as
${KISYSMOD}/Battery.pretty

which gives an error as KISYSMOD is not exported.
Error stack trace
Traceback (most recent call last):
  File "/home/prazzb/skidlEnv/lib/python3.6/site-packages/zyc/skidl_footprint_search.py", line 378, in OnSearch
    for lib_module in search_footprints_iter(search_text):
  File "/home/prazzb/skidlEnv/lib/python3.6/site-packages/skidl/part_query.py", line 287, in search_footprints_iter
    footprint_cache.load(os.path.join(path, "fp-lib-table"))
  File "/home/prazzb/skidlEnv/lib/python3.6/site-packages/skidl/part_query.py", line 251, in load
    for fn in os.listdir(uri)
FileNotFoundError: [Errno 2] No such file or directory: '${KISYSMOD}/Battery.pretty'

Desktop (please complete the following information):

OS - Ubuntu 18.04 LTS
Python version - 3.6.9
SKiDL version - 0.0.30 installed over pip

Additional context
Adding KISYSMOD in bashrc fixes this. However, doing a git grep on this project revealed that an old version removed
the need for KISYSMOD. I'm thus unclear.

KISYSMOD is no longer used by SKiDL for finding the location of the part libraries (KICAD_SYMBOL_DIR is now used, instead). But KISYSMOD still needs to be defined in your environment for zyc (and PCBNEW) to resolve the directories in the fp-lib-table file.

I can send a pull request to the documentation. However,the doc directory is a weird mix of markdown and sphinx so I can send a patch but not properly test it.
In any case,please add the need for KISYSMOD in the documentation similar to KICAD_SYMBOL_DIR. I struggled for a while
because of the documentation not being present.

Thanks, I'll take care of this.

The logger will now issue a warning if undefined environment variables are found.


Fix #683 IgnoringSelfEvents middleware does not filter out Message sent via response_url

This pull request resolves #683
I've confirmed that the same issue does not exist in bolt-js and bolt-java.
Category (place an x in each of the [ ])

[x] slack_bolt.App and/or its core components
[x] slack_bolt.async_app.AsyncApp and/or its core components
[ ] Adapters in slack_bolt.adapter
[ ] Document pages under /docs
[ ] Others

Requirements (place an x in each [ ])
Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.

[x] I've read and understood the Contributing Guidelines and have done my best effort to follow them.
[x] I've read and agree to the Code of Conduct.
[x] I've run ./scripts/install_all_and_run_tests.sh after making the changes.

Need to check the failing tests.
FAILED tests/scenario_tests/test_events_org_apps.py::TestEventsOrgApps::test_team_access_granted - assert False is True
FAILED tests/scenario_tests/test_message_bot.py::TestBotMessage::test_message_handler - assert 2 == 3
FAILED tests/scenario_tests/test_workflow_steps.py::TestWorkflowSteps::test_execute - KeyError: '/workflows.stepCompleted'
FAILED tests/scenario_tests/test_workflow_steps.py::TestWorkflowSteps::test_execute_process_before_response - KeyError: '/workflows.stepCompleted'
FAILED tests/scenario_tests/test_workflow_steps_decorator_simple.py::TestWorkflowStepsDecorator::test_execute - KeyError: '/workflows.stepCompleted'
FAILED tests/scenario_tests/test_workflow_steps_decorator_with_args.py::TestWorkflowStepsDecorator::test_execute - KeyError: '/workflows.stepCompleted'
FAILED tests/scenario_tests_async/test_events_org_apps.py::TestAsyncOrgApps::test_team_access_granted - assert False is True
FAILED tests/scenario_tests_async/test_message_bot.py::TestAsyncMessage::test_string_keyword - assert 2 == 3
FAILED tests/scenario_tests_async/test_workflow_steps.py::TestAsyncWorkflowSteps::test_execute - KeyError: '/workflows.stepCompleted'
FAILED tests/scenario_tests_async/test_workflow_steps.py::TestAsyncWorkflowSteps::test_execute_process_before_response - KeyError: '/workflows.stepCompleted'
FAILED tests/scenario_tests_async/test_workflow_steps_decorator_simple.py::TestAsyncWorkflowStepsDecorator::test_execute - KeyError: '/workflows.stepCompleted'
FAILED tests/scenario_tests_async/test_workflow_steps_decorator_with_args.py::TestAsyncWorkflowStepsDecorator::test_execute - KeyError: '/workflows.stepCompl...


CLI for plotting individual forecast as an image

IceNet version: 0.2.1

Description
Inheriting from notebook, for the sake of easily stitching together frames.

Oops. Duplicate of this


Adding wide string support?

Hello again. :)
In my application I tend to use a lot of national characters in wide character format, mainly in interface element placement. Apparently I cannot use methods that take a std::wstring or just const wchar_t * as LUA state just panics when I try to use them.
Basically I can have methods like:
void PrintWide(const wchar_t * characters)
{
    wprintf(L"%s", characters);
}

void PrintWideStr(std::wstring str)
{
    wprintf(L"%s", str.c_str());
}

And then call it from LUA like:
PrintWide("ąčęėįšųū")
PrintWideStr("ąčęėįšųū")

and it just fails with wrong userdata.
What are the solutions to add such support?
Thank you very much for such a great library, too. :)

Would #140 be helpful?

#140 would be a one-person, one-time fix. I'm working on adding it in for everyone, albeit it's hard with codecvt and locales not always playing nice.

As a side note, wstring is not a Unicode string. You should be using std::u16string or std::u32string to handle localization. wstring is an implementation-defined string of wchar_t which can have any encoding that the implementation/locale sees fit.

Thanks for the sugestions. :) I might be too old-schooled at that. I will investigate both #140 and the strings for now. :)

Codecvt is a piece of shit:

Support is in now: https://github.com/ThePhD/sol2/releases/tag/v2.11.3
The code you wrote at first should work.

Awesome! It does work. :)


Add support to emit object files directly from the Numba AOT compiler

Intro
The Numba project contains a package for an ahead-of-time compiler. It works by annotating the exported function with a decorator @cc.export(fn_name, signature)
from numba.pycc import CC
cc = CC('my_module')

@cc.export('multf', 'f8(f8, f8)')
@cc.export('multi', 'i4(i4, i4)')
def mult(a, b):
    return a * b

@cc.export('square', 'f8(f8)')
def square(a):
    return a ** 2

if __name__ == "__main__":
    cc.compile()

This work originates from https://github.com/numba/numba/issues/6424 and adds a python script that server as an entry point for the Numba AOT compiler. The script enables Numba to compile functions ahead of time from the command line. As a result, one can now use GNU make to compile functions in parallel for different signatures (see quicksort example below).
How to use it
# add.py
def add(a, b):
    return a + b

Then, run
# create object files
$ python numba-aot.py add.py emit-obj -f 'add' -n 'addi' -s 'int64(int64, int64)' -o 'addi.o'
$ python numba-aot.py add.py emit-obj -f 'add' -n 'addf' -s 'float64(float64, float64)' -o 'addf.o'

# emit shared library
$ python numba-aot.py add.py merge addi.o addf.o

Or via Makefile
# via Makefile
targets := int32 int64 float32 float64

all: $(targets)
	numba add.py merge *.o

run:
	python -c "import my_module; print(dir(my_module))"

$(targets):
	python numba-aot.py add.py emit-obj -f add -n add_$@ -s "$@($@, $@)" -o<EMAIL_ADDRESS>
clean:
	rm -f *.o *.pickle *.so

More examples can be found in the examples/ folder.
Speedup
The quicksort example compiles in 19s using 20 jobs with a makefile.
$ time make -j20
...
make -j20  313.97s user 63.04s system 1900% cpu 19.842 total

The single thread version takes 81 seconds to compile
$ time python quicksort.py
python quick.py  81.62s user 1.78s system 102% cpu 1:21.24 total

Caveats
To build the shared library, Numba needs to record each exported entry alongside its LLVM function and environment info. To make it work with parallel AOT compilation, this information is serialized to a second file with the same name and extension .pickled (i.e. addi.pickled) when generating *.o.
Limitations
All the original limitations persist.

@guilhermeleobas, can you add a test it?

@sklam, done!

@guilhermeleobas, one last thing, can you add a README.md to numba_extras/parallel_aot with content from this PR description and pointers to the examples?

i did the close-reopen dance to trigger GHA

There are linter errors

@sklam, would it be ok to land this patch without windows support?


ZQ1 has DISABLE_SCILLA_LIB config to disallow library deployments, ZQ2 doesn't

If the contract is a library and this config is set to true, deployment will fail:
        if (DISABLE_SCILLA_LIB && is_library) {
          LOG_GENERAL(WARNING, "ScillaLib disabled");
          this->RemoveAccount(toAddr);
          error_code = TxnStatus::FAIL_SCILLA_LIB;
          return false;
        }

We don't need to support it in ZQ2.


Short solution needed: "FTP examples" (curl)

Please help us write most modern and shortest code solution for this issue:
FTP examples (technology: curl)
Fast way
Just write the code solution in the comments.
Prefered way

Create pull request with a new code file inside inbox folder.
Don't forget to use comments to make solution explained.
Link to this issue in comments of pull request.

FTP examples


Remove src directory

App directory needs to be at the root of the repo.

Currently application structure is
└── src
    └── app
        ├── app

after refactoring it should be
└── app
    ├── api

all import have to be changed from src.app.ref to app.ref and application should run


Cannot register buffer element provider when terminal has not been opened yet

In VS Code exploration devtools console after update.
ERR Cannot register buffer element provider when terminal has not been opened yet: Error: Cannot register buffer element provider when terminal has not been opened yet
    at P.registerBufferElementProvider (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Exploration.app/Contents/Resources/app/node_modules.asar/xterm/lib/xterm.js:1:24234)
    at e.Terminal.registerBufferElementProvider (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Exploration.app/Contents/Resources/app/node_modules.asar/xterm/lib/xterm.js:1:274582)
    at vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Exploration.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:2508:33396

/closedWith 855ba20c38ae1e39d6e3ea3b2a16b53502592203

Immediately after creating a terminal, run terminal: focus accessible buffer. Verify that you don't see this message in dev tools.


Change your converter Image Sizes

you have the wrong image sizes (or atleast for NA), the correct size is 351x576

Hi,
If this is only for NA (as it seems to be), I'll have to add a select option on the website.
Thanks for letting me know that.

my apologies. for some reason when i try to take a new character photo, it is 351x576, and then when i use THAT image as the base and try to change it, it always fails to upload. but if i use an older working image that is already 378x620 from a long time ago it will work just fine. idk if they changed something or not, but either way, the ingame character shots are actually 351x576

Yeah, something definitely happened: all the pictures in my BnS folder have been somehow changed from .jpg to .thm. I don’t know what they did, but it’s really weird.
Anyway, I’ll update the app very soon, but at the moment I won’t have B&S under my hand until monday, so I prefer to wait untill then, so I can test before updating.
Thanks!


Feature/davis346

@baumlin please take a look.

thanks, @baumlin

Why am I getting this spam???
From: Elias Mueggler<EMAIL_ADDRESS>Sent: Sunday, February 05, 2017 1:41 PM
To: uzh-rpg/rpg_dvs_ros
Cc: Subscribed
Subject: Re: [uzh-rpg/rpg_dvs_ros] Feature/davis346 (#17)
Merged #17 https://github.com/uzh-rpg/rpg_dvs_ros/pull/17 .
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/uzh-rpg/rpg_dvs_ros/pull/17#event-949568098 , or mute the thread https://github.com/notifications/unsubscribe-auth/ADWA4Y6Bd9w_gQsAdK7oEldB-pNqQmjJks5rZkIIgaJpZM4Lz07L .  https://github.com/notifications/beacon/ADWA4eCTzSXVOm4kLrwXsqiO6-dq2dwwks5rZkIIgaJpZM4Lz07L.gif


Router not setting directory, class or method on time.

When using a routing directory in index.php, the routing directory is not being set before _set_routing() is called [in the Router.php constructor method]. The result is a 404 on the default controller and full routes required (including the directory name) in routes.php.

I have received this error if I forget to follow the naming standards. Assuming this is for CI version 3; is your default controller named like so: Controller_name.php? If not, what is the setting for your default controller and what is the name of your default controller?


NEW Topic Test for jms client

new test for durable subscription
new test for durable subscription with transactions
new test for non durable subscription

'issue' branch for this: https://github.com/EnMasseProject/enmasse/tree/issue-336_dur_sub


DNS proxy: reuse TCP connection

This is a slightly involved one, please review commit by commit and read the commit messages for details.
Fixes: #31197
Fixes DNS proxy "connect: cannot assign requested address" errors in transparent mode, which were due to opening multiple TCP connections to the upstream DNS server.

/test

/test

Marking this for 1.16 backport since it's a bug, but I wouldn't call it a major bugfix (since DNS over TCP isn't incredibly common).

The bugfix PR is merged, and hence this should be backported together.


npm test fails

λ npm test

<EMAIL_ADDRESS>test D:\tmp\node-xml2js
zap

bom/test decoded BOM... passed
builder/test building basic XML structure... passed
builder/test setting XML declaration... passed
builder/test pretty by default... passed
builder/test setting indentation... passed
builder/test headless option... passed
builder/test explicit rootName is always used: 1. when there is only one element... passed
builder/test explicit rootName is always used: 2. when there are multiple elements... passed
builder/test default rootName is used when there is more than one element in the hash... passed
builder/test when there is only one first-level element in the hash, that is used as root... passed
builder/test parser -> builder roundtrip... failed
events.js:74
throw TypeError('Uncaught, unspecified "error" event.');
^
TypeError: Uncaught, unspecified "error" event.
at TypeError (:null:null)
at Parser.emit (events.js:74:15)
at Parser.exports.Parser.Parser.parseString (D:\tmp\node-xml2js\lib\xml2js.js:407:16)
at Parser.parseString (D:\tmp\node-xml2js\lib\xml2js.js:6:61)
at Object.exports.parseString (D:\tmp\node-xml2js\lib\xml2js.js:433:19)
at D:\tmp\node-xml2js\test\builder.test.coffee:123:14
at fs.js:271:14
at Object.oncomplete (fs.js:107:15)

That's odd, because the test succeeds on Travis CI as well as on my system.

i thought it might be windows. but i tried in ubuntu and it didnt succed there either.
does the test from my pull request succeed on your machine?
  'test parsing a date': (test) ->
    expected = '<?xml version="1.0" encoding="UTF-8" standalone="yes"?><adate>2000-01-01T00:00:00.0</adate>'
    opts = renderOpts: pretty: false
    builder = new xml2js.Builder opts
    obj = {"adate": new Date(2000, 0, 1, 1, 0, 0, 0)}
    actual = builder.buildObject obj
    diffeq expected, actual
    test.finish()

No, that test fails (only the one you added):
builder/test parsing a date... failed

/home/marek/node-xml2js/test/builder.test.coffee:21
      throw patch;
            ^
Index: test
===================================================================
--- test	expected
+++ test	actual
@@ -1,1 +1,1 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?><adate/>
\ No newline at end of file
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?><adate>2000-01-01T00:00:00.0</adate>
\ No newline at end of file

yes it does. i want to demonstrate an error in der builder. it doesnt write out date nodes.
i couldnt fix it.
...

Am 16.01.2015 um 16:39 schrieb Marek Kubica<EMAIL_ADDRESS>No, that test fails (only the one you added):
builder/test parsing a date... failed
/home/marek/node-xml2js/test/builder.test.coffee:21
throw patch;
^
Index: test
--- test    expected
+++ test    actual
@@ -1,1 +1,1 @@
+
\ No newline at end of file
-2000-01-01T00:00:00.0
\ No newline at end of file
—
Reply to this email directly or view it on GitHub.

But having a failing test in the regression test suite serves hardly any purpose, except making it more difficult to see whether there errors.
Also, I am not sure what the proper serialization for dates is supposed to be. Is there any agreed-upon notation in XML?
So, I'm closing this for now.

hi,
i thought a test would make easier to develop a solution as it shows the problem in a reproducible environment. to have a failing test should be the first step.
i think the library should have this feature because it seems not very good to ignore a basic type like datetime. and yes there is a agreed upon format for datetime: http://www.w3.org/TR/xmlschema-2/#dateTime. i think it is represented like this in the test.
i took a look at the sourcecode but couldnt figure the fix by myself. perhaps later or you could give a hint how its done (or add comments ;-) ).

The probelm with a failing test is, that every time someone pushed something, it would throw an error and for example for new features you wouldn't know if the test was supposed to fail or not.
(That said, the JS->XML route is not a big priority for xml2js because generating the exact XML you want is rather complex. Most of the time it is just causing trouble that someone has to fix)


[RedisError: Redis internal error]

every time it shows this error after passing valid host and port

@sallarahmed, thanks for reporting issue. Unfortunately, currently I have no time to maintain this project, though if I'd have some spare time in future I take a look into this issue. Till that time I'd like to have more info (like OS specs, Redis version, etc.) on this issue. Meanwhile you can try fork this repo and try to update Redisson version to latest one in build.gradle of this plugin - this is simplest solution which could help with your issue so far. Without any additional info it's hard to predict what true reason behind this. And like it was mentioned above - I have no time to dig dipper into this for the moment, sorry.


Backend Jupyter Magic not working

Information

Qiskit Terra version: 0.7.0
Python version: 3.7.1
Operating system: macOS 10.14.2
Browser: Firefox and Chrome

What is the current behavior?
No informative output for the %qiskit_backend_monitor backend and %qiskit_backend_overview commands:

Note that the text versions backend_monitor(back)and backend_overview() return properly.
What is the expected behavior?
Backend information, eg:

@attp was this solved for you?

@nonhermitian - I am running %matplotlib inline at the top of my notebook and I'm using ipywidgets version 7.4.2
@ajavadia unfortunately, this hasn't been solved for me yet.

I have just tried creating a whole new conda environment with a clean install of qiskit, and it still doesn't work. I don't know what in my setup could be causing this. Feel free to close this if you want, I can't find anybody who can replicate the issue.

@nonhermitian any other ideas why this may be failing apart from ipywidgets?

I have no idea. It is JavaScript at output. Perhaps a JavaScript blocker in the web?  What happens if browsers are switched?

I have just tried this in Firefox, Safari and Chrome with no success.

Ok, last try. Run this in terminal then check again:
jupyter nbextension enable --py widgetsnbextension

Or maybe this if in virtual env
jupyter nbextension enable --py --sys-prefix widgetsnbextension

Success! (not sure which of the enabling extension commands fixed the issue, I ran both)

Ok great. I believe it was pip installing the widgets did not activate them.


--include= and --exclude=

I always steered people towards find | grep -E | grep -Ev | xargs black to do custom file matching. But that doesn't work on Windows. We need support for --include= and --exclude= within Black.
They hold regular expressions. The former is "what gets included on recursive searches", the latter "what gets dropped on recursive searches". You can pass multiple --include and multiple --exclude. Checks for --exclude are done first, checks for --include later.
--include= would have a default that is now stores in PYTHON_EXTENSIONS (".pyi?$" in regex form)
--exclude= would have a default that is now stored in BLACKLISTED_DIRECTORIES
This functionality is required by https://github.com/pypa/pip/pull/5425.

Re 1: Agreed.
Re 2: Yes, your suggestion is good to append / when we discover entry.is_dir() :-)


feat: support multi-geo for Konnect

Please rebase.

Please rebase.

done

Codecov Report

Merging #732 (36a55d3) into main (49d2f98) will decrease coverage by 3.06%.
The diff coverage is 13.63%.

@@            Coverage Diff             @@
##             main     #732      +/-   ##
==========================================
- Coverage   43.05%   39.98%   -3.07%
==========================================
  Files          74       87      +13
  Lines        9016     9715     +699
==========================================
+ Hits         3882     3885       +3
- Misses       4763     5459     +696
  Partials      371      371

Impacted Files
Coverage Δ

konnect/types.go
0.00% <ø> (ø)

konnect/login_service.go
3.06% <13.63%> (ø)

konnect/control_plane_service.go
0.00% <0.00%> (ø)

konnect/error.go
0.00% <0.00%> (ø)

konnect/document_service.go
0.00% <0.00%> (ø)

konnect/request.go
0.00% <0.00%> (ø)

konnect/service_package_service.go
0.00% <0.00%> (ø)

konnect/client.go
0.00% <0.00%> (ø)

... and 5 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Problem with DeepAR Notebook

when running your notebook (3.DeepAR.ipynb), there is problem plotting the prediction (Section4) saying that pred_ts Not Found when calling plot_forecast(pred_ts, readings_10T['reading'][-144:], col=['0.01','0.5','0.99']).
What is the pred_ts?

Not the most elegant solution, but it worked:
pred_ts = clicks_10T[-144:].copy() pred_ts = pred_ts.drop(columns=['page','user','click','fault']) json_data = json.loads(prediction.decode('utf-8')) pred_ts['0.01'] =  json_data['predictions'][0]['quantiles']['0.01'] pred_ts['0.5'] =  json_data['predictions'][0]['quantiles']['0.5'] pred_ts['0.99'] =  json_data['predictions'][0]['quantiles']['0.99']


PHP option not showing up in jupyter after kernel install

Hi I just installed the PHP kernel on mac osx and got
"The Jupyter-PHP kernel has been successfully installed"
But after starting jupyter notebook, there is no php option showing up when trying to create a new notebook. There are no additional steps in the installation guide, so I am not sure what the problem is?
This is the install log:
You are running PHP-CLI with xdebug enabled. This will have a major impact on the kernel's performance.
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 28 installs, 0 updates, 0 removals

Installing react/event-loop (v0.4.3): Downloading (100%)
Installing evenement/evenement (v2.1.0): Downloading (100%)
Installing react/zmq (v0.3.0): Downloading (100%)
Installing paragonie/random_compat (v2.0.10): Downloading (100%)
Installing ramsey/uuid (3.7.0): Downloading (100%)
Installing jakub-onderka/php-console-color (0.1): Downloading (100%)
Installing jakub-onderka/php-console-highlighter (v0.3.2): Downloading (100%)
Installing dnoegel/php-xdg-base-dir (0.1): Downloading (100%)
Installing nikic/php-parser (v3.1.1): Downloading (100%)
Installing symfony/polyfill-mbstring (v1.5.0): Downloading (100%)
Installing symfony/var-dumper (v3.3.8): Downloading (100%)
Installing psr/log (1.0.2): Downloading (100%)
Installing symfony/debug (v3.3.8): Downloading (100%)
Installing symfony/console (v3.3.8): Downloading (100%)
Installing psy/psysh (v0.8.11): Downloading (100%)
Installing monolog/monolog (1.23.0): Downloading (100%)
Installing symfony/process (v3.3.8): Downloading (100%)
Installing symfony/finder (v3.3.8): Downloading (100%)
Installing symfony/filesystem (v3.3.8): Downloading (100%)
Installing seld/phar-utils (1.0.1): Downloading (100%)
Installing seld/jsonlint (1.6.1): Downloading (100%)
Installing seld/cli-prompt (1.0.3): Downloading (100%)
Installing justinrainbow/json-schema (5.2.1): Downloading (100%)
Installing composer/spdx-licenses (1.1.6): Downloading (100%)
Installing composer/semver (1.4.2): Downloading (100%)
Installing composer/ca-bundle (1.0.7): Downloading (100%)
Installing composer/composer (1.5.1): Downloading (100%)
Installing litipk/jupyter-php (0.2.0): Downloading (100%)
react/event-loop suggests installing ext-libevent (>=0.1.0)
react/event-loop suggests installing ext-event (~1.0)
react/event-loop suggests installing ext-libev (*)
paragonie/random_compat suggests installing ext-libsodium (Provides a modern crypto API that can be used to generate random bytes.)
ramsey/uuid suggests installing ircmaxell/random-lib (Provides RandomLib for use with the RandomLibAdapter)
ramsey/uuid suggests installing ext-libsodium (Provides the PECL libsodium extension for use with the SodiumRandomGenerator)
ramsey/uuid suggests installing ext-uuid (Provides the PECL UUID extension for use with the PeclUuidTimeGenerator and PeclUuidRandomGenerator)
ramsey/uuid suggests installing moontoast/math (Provides support for converting UUID to 128-bit integer (in string form).)
ramsey/uuid suggests installing ramsey/uuid-doctrine (Allows the use of Ramsey\Uuid\Uuid as Doctrine field type.)
ramsey/uuid suggests installing ramsey/uuid-console (A console application for generating UUIDs with ramsey/uuid)
symfony/var-dumper suggests installing ext-symfony_debug ()
symfony/console suggests installing symfony/event-dispatcher ()
psy/psysh suggests installing ext-pdo-sqlite (The doc command requires SQLite to work.)
psy/psysh suggests installing hoa/console (A pure PHP readline implementation. You'll want this if your PHP install doesn't already support readline or libedit.)
monolog/monolog suggests installing aws/aws-sdk-php (Allow sending log messages to AWS services like DynamoDB)
monolog/monolog suggests installing doctrine/couchdb (Allow sending log messages to a CouchDB server)
monolog/monolog suggests installing ext-amqp (Allow sending log messages to an AMQP server (1.0+ required))
monolog/monolog suggests installing ext-mongo (Allow sending log messages to a MongoDB server)
monolog/monolog suggests installing graylog2/gelf-php (Allow sending log messages to a GrayLog2 server)
monolog/monolog suggests installing mongodb/mongodb (Allow sending log messages to a MongoDB server via PHP Driver)
monolog/monolog suggests installing php-amqplib/php-amqplib (Allow sending log messages to an AMQP server using php-amqplib)
monolog/monolog suggests installing php-console/php-console (Allow sending log messages to Google Chrome)
monolog/monolog suggests installing rollbar/rollbar (Allow sending log messages to Rollbar)
monolog/monolog suggests installing ruflin/elastica (Allow sending log messages to an Elastic Search server)
monolog/monolog suggests installing sentry/sentry (Allow sending log messages to a Sentry server)
Writing lock file
Generating optimized autoload files

The Jupyter-PHP kernel has been successfully installed.

Are you on Mac OSX ?

Yes, I am on Mac OSX: Sierra, 10.12.6

I had the same problem and created a pull request, for the time being, you can execute
mv ~/.local/share/jupyter/kernels/jupyter-php ~/Library/Jupyter/kernels/

I've released the 0.2.1 version with the fix provided by @SebCorbin .


Finish Adding the FIRE implementation

Add the ICRA2022 implementation for  the FIRE framework

A new implementation of pyre that includes ICRA2021/ICRA2022 and is fully in python will be added by the end of the summer

Hello, @ChamzasKonstantinos I hope this message finds you well. I was wondering if the FIRE framework (ICRA2022) has been implemented. I couldn’t find it in this repository, but I may have overlooked it. If possible, could you kindly confirm? Thank you in advance for your assistance.


adjustments due to changed login page layout

This will close #28
There is room for improvements as I am not a good frontend engineer

I pushed some more changes
now the fav icon looks better
would be great if you can merge the fix


Navbar toggler not working on groups page

Describe the bug
Navbar toggler not expanding on the groups page.
To Reproduce
Steps to reproduce the behavior:

Go to any of your groups view page.
Click on any navbar toggler.

Expected behavior
Togglers should expand on click.
Screenshots
https://user-images.githubusercontent.com/73848723/149690122-85d52159-ec16-4d42-b990-bbbf75452463.mp4
Device Information [optional]:

OS: Ubuntu
Browser: Chrome

Are you working on this issue? Yes

Duplicate #2739


Package manager support

Is your feature request related to a problem? Please describe.
Vcpkg or conan support help alleviate the setup for multiple libraries in a project. They help to get started quickly with a framework while still allowing other libraries to be added quickly.
Describe the solution you'd like
Rather than premade build setups, I think that having vcpkg or conan support would enable more ambitious discord bots to be created faster.
Describe alternatives you've considered
Additional context
Tasks added by @braindigitalis

[x] vcpkg
[x] xmake
[x] AUR
[x] SW Network
[x] Libhunt
[x] gentoo emerge/GURU
[x] void linux XBPS
[ ] apt, custom repository
[ ] yum
[ ] conan

I added DPP to xmake repository (see https://github.com/xmake-io/xmake-repo/pull/1222), with my changes it compiles fine on Windows, MinGW, Linux, macOS in both dynamic and static linking.
Since xmake is able to handle dependencies (will find libraries on the machine like cmake but is able to download and compile them if it doesn't find them), I managed to build the lib using a very short xmake.lua.
Usually, xmake packages use CMake to build CMake libraries, but the way dependencies are handled on DPP doesn't help much (mostly because they are embedded). Which is why I patched nlohmann/fmt out of the lib.
I also fixed the export.h header which made static linking impossible on Windows, here's the diff:
diff --git a/include/dpp/export.h b/include/dpp/export.h
index b7b35b5..838f79d 100644
--- a/include/dpp/export.h
+++ b/include/dpp/export.h
@@ -24,25 +24,29 @@
 // Investigate: MSVC doesn't like this
 //static_assert(__cplusplus >= 201703L, "D++ Requires a C++17 compatible compiler. Please ensure that you have enabled C++17 in your compiler flags.");

-#ifdef DPP_BUILD
+#ifndef DPP_STATIC

-	#ifdef _WIN32
-		#include <dpp/win32_safe_warnings.h>
-	#endif
+	#ifdef DPP_BUILD
+
+		#ifdef _WIN32
+			#include <dpp/win32_safe_warnings.h>
+		#endif

-	#ifdef _WIN32
-		#define DPP_EXPORT __declspec(dllexport)
+		#ifdef _WIN32
+			#define DPP_EXPORT __declspec(dllexport)
+		#else
+			#define DPP_EXPORT
+		#endif
 	#else
-		#define DPP_EXPORT
+		#ifdef _WIN32
+			#define DPP_EXPORT __declspec(dllimport)
+		#else
+			#define DPP_EXPORT
+		#endif
 	#endif
+
 #else
-	#ifdef _WIN32
-		#define DPP_EXPORT __declspec(dllimport)
-		/* This is required otherwise fmt::format requires additional file linkage to your project */
-		#define FMT_HEADER_ONLY
-	#else
-		#define DPP_EXPORT
-	#endif
+	#define DPP_EXPORT
 #endif

 #ifndef _WIN32

nlohmann and fmt are header only. it would be nicer if they weren't patched out, because we test with specific versions and not just whatever the latest is which could cause support issues

xmake can be instructed to use a specific version of nlohmann/fmt.
The main issue here is that by embedding a specific version of those libraries (and not putting them in a namespace), you conflict with the user nlohmann/fmt libs (obligating them to use the very same version you're using for API/ABI compatibility).
Since these libraries are very well tested, I think it would be better to not embed them to prevent such issues.

I added DPP to xmake repository (see xmake-io/xmake-repo#1222), with my changes it compiles fine on Windows, MinGW, Linux, macOS in both dynamic and static linking.
Since xmake is able to handle dependencies (will find libraries on the machine like cmake but is able to download and compile them if it doesn't find them), I managed to build the lib using a very short xmake.lua.
Usually, xmake packages use CMake to build CMake libraries, but the way dependencies are handled on DPP doesn't help much (mostly because they are embedded). Which is why I patched nlohmann/fmt out of the lib.
I also fixed the export.h header which made static linking impossible on Windows, here's the diff:
diff --git a/include/dpp/export.h b/include/dpp/export.h
index b7b35b5..838f79d 100644
--- a/include/dpp/export.h
+++ b/include/dpp/export.h
@@ -24,25 +24,29 @@
 // Investigate: MSVC doesn't like this
 //static_assert(__cplusplus >= 201703L, "D++ Requires a C++17 compatible compiler. Please ensure that you have enabled C++17 in your compiler flags.");

-#ifdef DPP_BUILD
+#ifndef DPP_STATIC

-	#ifdef _WIN32
-		#include <dpp/win32_safe_warnings.h>
-	#endif
+	#ifdef DPP_BUILD
+
+		#ifdef _WIN32
+			#include <dpp/win32_safe_warnings.h>
+		#endif

-	#ifdef _WIN32
-		#define DPP_EXPORT __declspec(dllexport)
+		#ifdef _WIN32
+			#define DPP_EXPORT __declspec(dllexport)
+		#else
+			#define DPP_EXPORT
+		#endif
 	#else
-		#define DPP_EXPORT
+		#ifdef _WIN32
+			#define DPP_EXPORT __declspec(dllimport)
+		#else
+			#define DPP_EXPORT
+		#endif
 	#endif
+
 #else
-	#ifdef _WIN32
-		#define DPP_EXPORT __declspec(dllimport)
-		/* This is required otherwise fmt::format requires additional file linkage to your project */
-		#define FMT_HEADER_ONLY
-	#else
-		#define DPP_EXPORT
-	#endif
+	#define DPP_EXPORT
 #endif

 #ifndef _WIN32

with this diff applied does dpp still build ok outside of xmake?
the FMT_HEADER_ONLY was there for a reason and otherwise it would build but fail at runtime...

with this diff applied does dpp still build ok outside of xmake?

Yes, but DPP_STATIC should be handled in the cmakelists.

the FMT_HEADER_ONLY was there for a reason and otherwise it would build but fail at runtime...

It makes little sense to build the lib without FMT_HEADER_ONLY and use it with user code, the reason it was failing was because fmt has to be linked to the final executable without that flag, something a proper package manager guarantees.

xmake can be instructed to use a specific version of nlohmann/fmt. The main issue here is that by embedding a specific version of those libraries (and not putting them in a namespace), you conflict with the user nlohmann/fmt libs (obligating them to use the very same version you're using for API/ABI compatibility).
Since these libraries are very well tested, I think it would be better to not embed them to prevent such issues.

I see, I will consider moving dpp's copies to a namespace to prevent conflicts.

with this diff applied does dpp still build ok outside of xmake?

Yes, but DPP_STATIC should be handled in the cmakelists.

the FMT_HEADER_ONLY was there for a reason and otherwise it would build but fail at runtime...

It makes little sense to build the lib without FMT_HEADER_ONLY and use it with user code, the reason it was failing was because fmt has to be linked to the final executable without that flag, something a proper package manager guarantees.

thanks! can you please submit a pr of this diff against dev branch and I'll merge it in...

I see, I will consider moving dpp's copies to a namespace to prevent conflicts.

Unfortunately this won't be enough, because of preprocessor defines (libs header guards), there's no proper way to embed fmt/nlohmann in a project.

thanks! can you please submit a pr of this diff against dev branch and I'll merge it in...

Someone else is working on this already, all my changes will only be applied when installing dpp through xmake.
If you wish to keep using CMake, xrepo-cmake may help you to handle dependencies in a better way.

Vcpkg support would be quite nice, is it coming anytime soon?

there's an open pr over there, ive not had time to work on it though...

Vcpkg support would be quite nice, is it coming anytime soon?

there is now a finalized pr in vcpkg thanks to @RealTimeChris - we should be in vcpkg very soon!

fyi
Added to SW https://software-network.org/org.sw.demo.brainboxdotcc.dpp-10.0.15

Nice, thanks! does this auto update from github releases?

No, not yet.
Such feature is on todo list, but won't be here soon enough.

Since I have already an ebuild for Gentoo, I might as well move it to ::guru (the AUR equivalent for Gentoo). DPP is probably not big enough (in terms of consumers) for the main repo, but ::guru should suffice.
However, since I had to patch the installation for DPP to work on my Gentoo machines (mainly to correct some paths and file names), I might submit a PR making some changes to the installation procedure first.

Since I have already an ebuild for Gentoo, I might as well move it to ::guru (the AUR equivalent for Gentoo). DPP is probably not big enough (in terms of consumers) for the main repo, but ::guru should suffice.
However, since I had to patch the installation for DPP to work on my Gentoo machines (mainly to correct some paths and file names), I might submit a PR making some changes to the installation procedure first.

thanks, i'd like to see this 😊

Hey @NexAdn are you still going to move your ebuild for Gentoo to the GURU?
If not, would you mind if I do that?

bruh

@SirObby oh boy, I totally forgot that :sweat: Feel free to move your ebuild. If you want, we can co-maintain it (you can use<EMAIL_ADDRESS>as my email for metadata.xml).

The Gentoo package is now uploaded to GURU and should be available for the public soon. it is maintained by @SirObby and me

add openssl to vcpkg on linux its not present

add openssl to vcpkg on linux its not present

... who uses vcpkg on linux 😂
nah, PR welcome. vcpkg is broken right now, and needs redoing.

... who uses vcpkg on linux joy nah, PR welcome. vcpkg is broken right now, and needs redoing.

Regarding vcpkg, looking at the CI logs it just looks to me like the patch in vcpkg doesn't apply. So we'd “just” have to rebase the patch onto the current master and the vcpkg build should work again.

Work's fine you just have to add OpenSSL package as dependency :o

Working on Void Linux support right now

Is there interest in having conan support?

Is there interest in having conan support?

of course, is this something you have experience with?

Yes I do. I can look into writing a conan recipe.

i guess the best opiton is to push it into nixpkgs

AUR needs a new maintainer. The current maintainer (@Eremiell) hasn't been around in a while. If anyone knows how to do this, that'd be great!

I'm looking at creating a brew package for silicone Mac processors (Darwin). It's currently in the works right now and I'll be back with more information soon.

Brew PR is up, we have to wait til next release for it to go anywhere as currently our unit test is broken on Mac.

We are now on Brew!! 🥳

any update on conan support?

We've had a couple of people say they want to do it but we've not heard anything since, sadly. Is this something you know how to do?

any update on conan support?

I have a PR that has a conan recipe. Some work is left to be done to finalize it as well as get it on the conan center.

any update on conan support?

We've had a couple of people say they want to do it but we've not heard anything since, sadly. Is this something you know how to do?

tbf me and Emirell were going to do it but at that point conan 2.0 was still not fully supported

No longer marked as stale

I can get working on conan if no one else has

I can get working on conan if no one else has

That would be wonderful! https://github.com/brainboxdotcc/DPP/pull/1066 is the best place to pickup, there was some good progress made here.

we are now in Conan centre!
https://github.com/conan-io/conan-center-index/pull/25745

anyone want to take on ppa?


Edit timeout countdown bug on frontend

it happens when system time is wrong.
on my windows 10 install I have a windows bug  - time is always a few hours behind for some reason.
If user time is different from server time this bug occure.
to fix it all you need to do is check that timeout is less than 301

I don't see how this <301 check will solve anything. There is no way frontend can accurately adjust local time without syncing with the server in some way.
@igoradamenko this is not a bug but sort of unexpected thingy due to time mismatch. I'm not sure we should do anything about it but if we do - the most straightforward way is to use Date header and get that timestamp instead of the local time for the countdown on your side.

@umputun, I think you're right about the solution. We will try it.

I'll try to resolve this issue.

To resolve this bug I've calculated time span between server and a client and save it in every comment for future use — in the 'remaining' time for comment editing calculation. This bug appeared in both conditions, when user time is in the past and when it al little bit ahead of the server time. Now everything is working fine. @Modi34 could you please confirm?

@jackburg it works - great job


function append_slash_redirect misredirects

file test.py
from flask import Flask, request
from werkzeug.utils import append_slash_redirect

app = Flask("test")

@app.route('/<path:path>')
def r(path):
    if not path.endswith('/'):
        return append_slash_redirect(request.environ)
    return path

run FLASK_APP=test.py flask run
A request for http://localhost:5000/parent/child gives a redirect that browsers interpret as http://localhost:5000/parent/parent/child/
Expecting a redirect that browsers interpret as http://localhost:5000/parent/child/
Possible solution:
The code strips the front '/' which leads to this situation. i.e. the returned location header is relative: 'parent/child/'
Use environ["PATH_INFO"].rstrip("/") + "/" instead

Duplicate of #1538

Addressed in #2338


plumbing/object: add Commit.FirstParent

First parents are somewhat special in git.
There's even a --first-parent flag to 'git log'.
Add a helper method to look them up.
This avoids boilerplate and spares the client from
having to arrange for a handle to the Storer,
which is stored in the unexported field Commit.s.

@ajnavarro @orirawlings what do you thing about this?

I agree it needs a test, but I think it can be useful.
Perhaps it would be more useful to generalize further:
// Parent returns the ith parent of c.
func (c *Commit) Parent(i int) (*Commit, error) {

FirstParent() appears good to me, it has some use cases. Into the method documentation I would add what happens if the commit does not have parents.

@orirawlings this is the signature from "git2go" and I must to say that for me wasn't clear that the first commit has any special meaning. But it's because doesn't have it, the order of the parents is something relevant when you are flattering the tree (like in git log).
So yes, I prefer the signature
func (c *Commit) Parent(i int) (*Commit, error) {

@joshbetz can you update the PR with the request? Thanks!

I think you mean @josharian :)

Yup, sorry.

Thanks for the review. Will add a test and update docs a bit later; distracted by other matters at the moment.


Added FaceEntity and FaceLocation events.

Closes #537 .
Additions/modifications proposed in this pull request:

Added events for FaceEntity and FaceLocation.
Added slash commands for FaceEntity and FaceLocation.

Don't worry about the Appveyor failure

Added comments and updated the on_activate_power() events to face the target/location.

This is failing CI in SlashCommand.cpp
/home/travis/build/Segs/Segs/Projects/CoX/Servers/MapServer/SlashCommand.cpp:1471:70: error: a function-definition is not allowed here before ‘{’ token
 void cmdHandler_EmailSend(const QString &cmd, MapClientSession &sess){

When possible, please take a look at the latest commit

This works great. One small issue:
When firing a power that targets oneself (Sprint or Heal Self, for example) the player turns to face North. Behavior should be that player doesn't turn at all.

Please resolve merge conflicts when you have time. Thank you


Pool migration

Description
This pr adds new pool migration support
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Dependency changes
[ ] Code refactor / cleanup
[ ] Documentation or wording changes
[ ] Other

How should this be tested?
Please provide instructions so we can test. Please also list any relevant details for your test configuration.

[ ] Test A
[ ] Test B

Visual context
Please provide any relevant visual context for UI changes or additions. This could be static screenshots or a loom screencast.
Checklist:

[ ] I have performed a self-review of my own code
[ ] I have requested at least 2 reviews (If the PR is significant enough, use best judgement here)
[ ] I have commented my code where relevant, particularly in hard-to-understand areas
[ ] If package-lock.json has changes, it was intentional.
[ ] The base of this PR is master if hotfix, develop if not

Also, when the migration is complete, as in the screenshot, there should be a button linking to the toPool page with text like "Go to new pool". @pkattera what do you think about wording here?

Yes, let's using the wording: Go to new pool

Could we not use usePoolsQuery here instead to reduce fetching:
const poolsQuery = usePoolsQuery(ref([]), {}, { poolIds: [fromPoolId, toPoolId]);


Fix font theming of state machine editor.

Fixes the font color and style being displayed incorrectly in the state machine editor. Was broken in the commit 5afe78bd9c7e619ebc2dd2fb43d549d16382b51d which changed the internal format of the GraphNode which, while the state machine is not a graph node, does derive theme data from it.

Superceded by #82210

Ah, sorry about that! Had the issue report on my TODO and didn't notice there was this PR already.

It's no problem, I fixed it on a whim and yours is more extensive improvement to the editor interface anyway.


Is it possible to use this extension to join a VM to a tenant other than the one to which the subscription belongs to?

I tried this extension, and I love it. I have VMs that I create in a separate subscription in a tenant, which is different from the tenant whose users I want to allow to login. Is it possible to join the VM to another tenant?

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

ID: c946fe0f-e18d-2529-2fbf-bce04759fbca
Version Independent ID: 885a61d1-6096-5aa0-fe8d-f1ec8d55e542
Content: Sign in to Windows virtual machine in Azure using Azure Active Directory (Preview)
Content Source: articles/active-directory/devices/howto-vm-sign-in-azure-ad-windows.md
Service: active-directory
Sub-service: devices
GitHub Login: @MicrosoftGuyJFlo
Microsoft Alias: joflore

@sandeepiiit Thanks for your feedback! We will investigate and update as appropriate.

@sandeepiiit, I apologize for the delay in my response, as it took some time to conclude this one. So as of now there is no way that a guest user could get authenticated while logging in to a Azure AD joined machine. It is not possible with an Hybrid Azure AD joined machine either..
Hope this helps.


refactor(selectors): Patch organic search result

New selector: div:not([data-hveid]):not(.yStFkb) > div.Gx5Zad.xpd.EtOod.pkphOe
data-hveid and .yStFkb filters our similar questions section.

tests are failing for a weird reason only on actions, cannot reproduce on local builds. merging for now, will lookout for future issues and fix them as a patch


Feature: Make the Website responsive

The website isn't currently mobile friendly.
Can you show me how I can contribute a PR to do a quick fix or otherwise add to your backlog please?

Are you speaking regarding the landing page at auxpack.com or the served html that comes with the plugin?

http://auxpack.com/ on mobile is not responsive.
Padding is excessive and I've seen some overflow


Fix typo arguements -> arguments

Hey, I've found a typo and submit this PR to resolve it.

Thank you!


feat: add multiple binary classifiers

Adding binary classifiers for:

lighttpd
proftpd
zstd
xz utils
gzip
sqlcipher
jq

Thanks for adding these bin patterns!
I pushed up tests for each new pattern... for reference, I captured snippets with:
cd syft/pkg/cataloger/binary/test-fixtures
make add-snippet
...


Trouble with reproducing result

Hi,
Thank you for making the code & pretrained models public. I am trying to reproduce the results. However, the result I got after running your pretrained ExU-Net model on VoxCeleb1-O is different from the paper's result. My reproduce result is EER_clean: 0.22067868504771956. To get the result, I just commented the train step and load the pretrained model in the test step. I am asking whether you have encountered this problem?
Once again, thank you for sharing the code. I am looking forward to hear from you!

Thank you for bringing this issue to our attention, and we apologize for any inconvenience caused. We have tested the ExU-Net model on VoxCeleb1-O with the method you described, and we were able to reproduce the results as reported in our paper.
For loading the pre-trained model, we added the following code at line 140 in main.py:
"checkpoint = torch.load('./weights/ExU-Net.pt', map_location=args['device'])"
"trainer.model.load_state_dict(checkpoint)"
In addition, we commented out "self.train(epoch)" in 30 line of trainer.py, and used our evaluation method to obtain the following results: EER_clean: 0.02757158006407247, Min_DCF_clean: 0.16362672322375393.
We suggest that you try our modified approach and evaluate the model again. Please let us know if you have any further questions or concerns.
Thank you for your interest in our work, and we look forward to hearing from you soon.

Thank you for your fast response. I have tried your code modification, but I still cannot get the similar result, mine is  EER_clean: 0.20349946977730635.
I also have run the training of your U-Net. While the loss value does decrease over time, EER value fluctuate around 0.18. Here is my last 10 lines of the loss log in loss.txt:
[122412] loss: 1.7106375694274902
[122462] loss: 1.7007594108581543
[122558] loss: 1.6928579807281494
[122608] loss: 1.7107104063034058
[122658] loss: 1.6798439025878906
[122708] loss: 1.7123098373413086
[122804] loss: 1.694210410118103
[122854] loss: 1.687063455581665
[122904] loss: 1.6687785387039185
[122954] loss: 1.7010258436203003

Here is my last 10 lines of the EER_clean log in EER_clean.txt:
EER_clean: 0.18881230116601733
EER_clean: 0.18849416755037113
EER_clean: 0.19241781548255543
EER_clean: 0.19008483563100959
EER_clean: 0.19209968186638388
EER_clean: 0.19151643690365103
EER_clean: 0.19072110286323188
EER_clean: 0.1916755037115547
EER_clean: 0.19141039236478782
EER_clean: 0.1908801696712625

I am trying the narrow down where is the problem. I want to ask you whether your loss value in the end of training U-Net is similar to mine. If so, the problem may come from calculating EER value.
Thank you for spending time to support me!

Hi, I have been able to achieve your result by using the same python environment as yours. My old env consisting of:

python: 3.8
torch: 1.11.0+cu113
torchaudio: 0.11.0+cu113
However, I sill don't know why my old env cannot achieve the same result.

I am pleased to hear that you were able to reproduce my experiment in your environment.
I have encountered similar issues with experiment results and reproducibility when the environment changes, not only with this model but with others as well.
This is because internal operations and randomness within Torch and other libraries may differ under different environmental conditions.
Although not entirely certain, I hope this information serves as a helpful reference for you.

Thank you for your help! I appreciate that!

Excuse me, can I reproduce the results just by changing the environment?

Hi chen11111010,
I think you can reproduce the test result with their given pretrained model. However, I am sure you can reproduce the same result if you re-train the model because I am still unable to obtain the same result by re-training


WIP: Add support for DHCP option 15 (domain name)

Builds on top of https://github.com/smoltcp-rs/smoltcp/pull/972

For the ones following a long I need some extra support from smoltcp before continuing here.
Follow the linked PR in the description for that.

This is not building currently due to https://github.com/smoltcp-rs/smoltcp/pull/974

This is tested working now. Lets see where the smoltcp PR goes.
It it's not accepted I'll move this impl to use the DhcpPacket API.


{Network} Clean up the remaining SDKs within Network

Related command

Description

Testing Guide

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change
[Component Name 2] az command b: Add some customer-facing feature

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR title and description has followed the guideline in Submitting Pull Requests.

[ ] I adhere to the Command Guidelines.

[ ] I adhere to the Error Handling Guidelines.

Network


Adding Async and Sync modes to fs Module

Adding Async and sync modes for Read as well as Write modules

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Closed and Reopened this PR to attempt to resolve a specific Travis build failure.

Thank you for your contribution to the page! 👍
We're happy to accept these changes, and look forward to future contributions. 🎉


ios integration test does not close app

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce
Hi Flutter Team i run into the following issue while trying to make test run on firebase testlab.
It runs as expected when using flutter test integration_test/inc_test.dart

run flutter create --platforms ios .
Add integration_test package to pubspec.yaml
add file integration_test/inc_test.dart with content
update file lib/main.dart
open xcode
select development team
add RunnerTests.m to RunnerTests
run

output="../build/ios_integ"
product="build/ios_integ/Build/Products"
dev_target="17.0"

# Pass --simulator if building for the simulator.
flutter build ios integration_test/inc_test.dart --release

pushd ios
xcodebuild build-for-testing \
  -workspace Runner.xcworkspace \
  -scheme Runner \
  -xcconfig Flutter/Release.xcconfig \
  -configuration Release \
  -derivedDataPath \
  $output -sdk ios
popd

xcodebuild test-without-building \
  -xctestrun "build/ios_integ/Build/Products/Runner_iphoneos${dev_target}-arm64.xctestrun" \
  -destination id={REAL_IOS_DEVICE_ID}

Expected results
Test runs and close the app when done.
Actual results
Test runs but does not close the app.
Code sample
RunnerTests.m
@import XCTest;
@import integration_test;

INTEGRATION_TEST_IOS_RUNNER(RunnerTests)

inc_test.dart
import 'package:flutter_test/flutter_test.dart';
import 'package:ios_integration_test/main.dart' as app;

void main(){
  group('Fab test', () {
    testWidgets('should inc', (t) async {
      app.main();
      await t.pumpAndSettle();
      for(var i=0; i<5;i++){
        await t.tap(find.byKey(app.MyApp.fabKey));
        await Future.delayed(const Duration(seconds: 2));
      }
    }
    );
  });
}

main.dart
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  static Key fabKey = const Key('fab');
  const MyApp({super.key});

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) => MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key, required this.title});

  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  int _counter = 0;

  void _incrementCounter() {
    setState(() {
      _counter++;
    });
  }

  @override
  Widget build(BuildContext context) => Scaffold(
      appBar: AppBar(
        backgroundColor: Theme.of(context).colorScheme.inversePrimary,
        title: Text(widget.title),
      ),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            const Text(
              'You have pushed the button this many times:',
            ),
            Text(
              '$_counter',
              style: Theme.of(context).textTheme.headlineMedium,
            ),
          ],
        ),
      ),
      floatingActionButton: FloatingActionButton(
        key: MyApp.fabKey,
        onPressed: _incrementCounter,
        tooltip: 'Increment',
        child: const Icon(Icons.add),
      ), // This trailing comma makes auto-formatting nicer for build methods.
    );
}

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
[!] Flutter (Channel stable, 3.16.3, on macOS 14.1.2 23B92 darwin-arm64, locale en-DE)
    • Flutter version 3.16.3 on channel stable at /Users/xxx/fvm/versions/3.16.3
    ! Warning: `dart` on your path resolves to /opt/homebrew/Cellar/dart/3.1.3/libexec/bin/dart, which is not inside your current Flutter SDK checkout at /Users/xxx/fvm/versions/3.16.3. Consider adding /Users/xxx/fvm/versions/3.16.3/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision b0366e0a3f (4 days ago), 2023-12-05 19:46:39 -0800
    • Engine revision 54a7145303
    • Dart version 3.2.3
    • DevTools version 2.28.4
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
    • Android SDK at /Users/xxx/Library/Android/sdk
    • Platform android-33, build-tools 33.0.1
    • ANDROID_HOME = /Users/xxx/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15A507
    • CocoaPods version 1.13.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

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

[✓] VS Code (version 1.85.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (3 available)
    • iPhone von XXX (mobile) • 59b9485ad003c48737134a856227aadc5af50ace • ios            • iOS 15.7.9 19H365
    • macOS (desktop)                  • macos                                    • darwin-arm64   • macOS 14.1.2 23B92 darwin-arm64
    • Chrome (web)                     • chrome                                   • web-javascript • Google Chrome 119.0.6045.199

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

Hi @garlicPasta
I think your test is missing a verification to trigger a close. Let's try adding this at the end of the test to see if it works:
expect(find.text('5'), findsOneWidget);


Building components fails when the base path contains src

When building locally, @timbl had:
><EMAIL_ADDRESS>build:components /Users/timbl/src/github.com/solid/community-server
> componentsjs-generator -s src -c dist/components -i .componentsignore

Tried to reference a file outside the current package: /Users/timbl/dist/components/github.com/solid/community-server/dist/authentication/BearerWebIdExtractor.jsonld

Tested on:

Node 12.7
Node 14.x (latest)
9160b52d5b54d9f981c57e0c98bd8fb93893df33 (so Components-Generator.js 2.x)
v0.4.1 (so Components-Generator.js 1.x)

Relevant line is here: https://github.com/LinkedSoftwareDependencies/Components-Generator.js/blob/v2.0.0/lib/serialize/ComponentConstructor.ts#L93
Suspect it is a symlink problem.

Relevant line is here: https://github.com/LinkedSoftwareDependencies/Components-Generator.js/blob/v2.0.0/lib/serialize/ComponentConstructor.ts#L93
Suspect it is a symlink problem.

Suspect it is a symlink problem.

Do you know what symlinks @timbl had setup?

Suspect it is a symlink problem.

Do you know what symlinks @timbl had setup?

I start thinking that the problem is the presence of src in /Users/timbl/src/, which means "our" src folder is actually /Users/timbl/src/github.com/solid/community-server. Could it be that the componentsjs-generator -s src jumps to the first src folder instead of the correct one?

I start thinking that the problem is the presence of src in /Users/timbl/src/, which means "our" src folder is actually /Users/timbl/src/github.com/solid/community-server. Could it be that the componentsjs-generator -s src jumps to the first src folder instead of the correct one?

Ah, that definitely seems very likely. To be investigated...

Ah, that definitely seems very likely. To be investigated...

Suspicion confirmed! Can reproduce now.
$ pwd
/Users/ruben/Desktop/src/foo/bar/community-server

gives
Tried to reference a file outside the current package: /Users/ruben/Desktop/dist/components/foo/bar/community-server/dist/authentication/BearerWebIdExtractor.jsonld

Suspicion confirmed! Can reproduce now.
$ pwd
/Users/ruben/Desktop/src/foo/bar/community-server

gives
Tried to reference a file outside the current package: /Users/ruben/Desktop/dist/components/foo/bar/community-server/dist/authentication/BearerWebIdExtractor.jsonld

@rubensworks It's this one, innit? https://github.com/LinkedSoftwareDependencies/Components-Generator.js/blob/v2.0.0/lib/serialize/ComponentConstructor.ts#L101 😉 Replaces the first occurrence. Should be a "replace from start".
But in general, I think we need to add cwd() resolution to the bin: https://github.com/LinkedSoftwareDependencies/Components-Generator.js/blob/v2.0.0/bin/componentsjs-generator.ts#L30-L32 as we do here: https://github.com/solid/community-server/blob/e544e6dc1111eac16124ec29f65d58e7fc29a7b0/src/init/CliRunner.ts#L68-L76

@rubensworks It's this one, innit? https://github.com/LinkedSoftwareDependencies/Components-Generator.js/blob/v2.0.0/lib/serialize/ComponentConstructor.ts#L101 😉 Replaces the first occurrence. Should be a "replace from start".
But in general, I think we need to add cwd() resolution to the bin: https://github.com/LinkedSoftwareDependencies/Components-Generator.js/blob/v2.0.0/bin/componentsjs-generator.ts#L30-L32 as we do here: https://github.com/solid/community-server/blob/e544e6dc1111eac16124ec29f65d58e7fc29a7b0/src/init/CliRunner.ts#L68-L76

Should be a "replace from start".
But in general, I think we need to add cwd() resolution to the bin

Indeed, those seems like the right solution.

Should be a "replace from start".
But in general, I think we need to add cwd() resolution to the bin

Indeed, those seems like the right solution.

Fixed in generator 2.1.0. (Won't open a PR for this due to the minor nature of this bug and not to spam the commit log, might be better to group with one big npm dependency update)

Fixed in generator 2.1.0. (Won't open a PR for this due to the minor nature of this bug and not to spam the commit log, might be better to group with one big npm dependency update)

Thank you!

Thank you!


Add Snapdeal app to showcase

Snapdeal is one of the largest e-commerce marketplace in India.
Snapdeal uses react-native for its services offering in otherwise iOS app.
Closes #12537

This looks good. We just changed the way the showcase works, can you pull from master and add your entry to https://github.com/facebook/react-native/blob/master/website/showcase.json instead?

Thanks for sending this pull request. For consistency the Showcase is now fully managed by the open source team at Facebook and we unfortunately cannot accept more pull requests to it. Feel free to post about the app in the React Native Community group on Facebook to increase visibility.


License Updated_T11400

Did you also check if there are any files which are missing license header?

No I didn't check that


Make use of Python's email package for EmaiMessage types

This PR addresses #434.
It inclues:

changing ListservMessage to ListservMessageParser and using email.message.EmailMessage together with mailbox.mboxMessage to represent a ListservMessage
editing listserv tests to according to the changes above
isort and black formatting have become incompatible so that we continue to use only black code formatting
edit the priority in which message payloads are stored in the following way: 1) text/plain 2) text/html, otherwise return None
some messages seems to cause error executing mailbox.mbox() .add(), they are captured on exception and recorded through the logger

As all test have been adapted to the changes made and the code shows to work smoothly even appr. 12h into scraping 3GPP from the web, I suggest we merge it.


Fix the return type of Progress.__enter__

Type of changes

[x] Bug fix
[ ] New feature
[ ] Documentation / docstrings
[ ] Tests
[ ] Other

Checklist

[x] I've run the latest black with default args on new code.
[x] I've updated CHANGELOG.md and CONTRIBUTORS.md where appropriate.
[ ] I've added tests for new code.
[ ] I accept that @willmcgugan may be pedantic in the code review.

Description
Fixed the incorrect return type issue in the subclass of Progress.

Thanks


Check in changes for working with macOS

Landed in https://github.com/eps1lon/types-react-codemod/pull/208


Definitions of recommended classes and properties are inconsistent

§2 Terminology defines recommended classes and properties inconsistently. Quoting:

Recommended class: a sender of data SHOULD provide information about instances of the class; a sender of data MUST provide information about instances of the class, if such information is available; a receiver of data MUST be able to process information about instances of the class.

Recommended property: a receiver MUST be able to process the information for that property; a sender SHOULD provide the information for that property if it is available.

They should be aligned.

Proposed revision:

Recommended class: a receiver of data MUST be able to process information about instances of the class; a sender of data SHOULD provide information about instances of the class; a sender of data MUST provide information about instances of the class, if such information is available.

Recommended property: a receiver MUST be able to process the information for that property; a sender SHOULD provide information for that property; a sender MUST provide information for that property, if such information is available.

Proposed revision implemented via PR https://github.com/SEMICeu/GeoDCAT-AP/pull/50


add registration of -cache and -origin (SOFTWARE-3368)

@zvada, @matyasselmeci  - @djw8605 and I are working on StashCache issues today and are planning to push the requested fixes @matyasselmeci has requested to this branch.
(Marian is actually out today so there shouldn't be any clobbering of changes... just wanted to record that we're starting to work on this right now.)

I am splitting this document.  The stuff about putting the cache in caches.json and putting it in the oasis config, I am moving to ops documentation.  There will be a handoff where those steps are done by the ops team.

@djw8605 @matyasselmeci - can we drive this one home today?  Marian is still out, but I'd like to check this off my list.

@zvada @djw8605 - please don't forget this document.

I'm a bit lost for all the changes after original pull request proposed from zvada:register-cache. Should we simply merge it as is now and focus on further edits from there? Or another trick I get the actual version to be worked on?

The changes are so small now since we broke some of this documentation out into the ops pages that the previous reviews are no longer relevant.  @matyasselmeci re-review please.


fix typo

Hello @braulio94 would you tackle the company name as well ? So we can merge everything at once.

For sure


Add SQL parsing funcionality to allow "CREATE TABLE" statements to be used

Solves #18

Closed via #52.


Multiplication Error with PostgreSQL

Why is mapbox unable to multiply the following correctly?  Answer should look more like  13,776, not 103,776.  I'm very perplexed.

update: 137.76 * 79.84 AS debugval2 gives me a sane answer, but multiplying anything higher than 79.84 such as 79.85 gives me an incorrect number


ASGIRequest has no attribute 'app'

I'm creating a reviews plugin that exposes a GraphQL endpoint on it's own (it's up to the user to use federation to unify the /graphql/ and /plugins/reviews.plugin/ as one endpoint. Anyway, I'm using your GraphQLView implementation. here's my webhook
    def webhook(self, request: HttpRequest, path: str, previous_value) -> JsonResponse:
        return csrf_exempt(GraphQLView.as_view(schema=schema))(request)

and when I go to http://localhost:8000/plugins/reviews.plugin/ everything works, my mutation inherits your ModelMutation and does some logic, unrelated for now, this is solved if I do this
    def webhook(self, request: HttpRequest, path: str, previous_value) -> JsonResponse:
        request.app = None  # here
        return csrf_exempt(GraphQLView.as_view(schema=schema))(request)

I found that the reason behind this is that the middleware that adds .app only works with the /graphql/ and not with plugins, like
def app_middleware(next, root, info, **kwargs):

    app_auth_header = "HTTP_AUTHORIZATION"
    prefix = "bearer"
    request = info.context

    if request.path == API_PATH:    # here
        if not hasattr(request, "app"):
            request.app = None
            auth = request.META.get(app_auth_header, "").split()
            if len(auth) == 2:
                auth_prefix, auth_token = auth
                if auth_prefix.lower() == prefix:
                    request.app = SimpleLazyObject(lambda: get_app(auth_token))
    return next(root, info, **kwargs)

I think the first if statement is useless, plugins also need to work with the builtin methods (I don't mind writing my own, but I don't like repeating myself, so I used ModelMutation, get_node_or_error, some other stuff which needed the info.context to get the .app or .user out of it

@korycins @patrys Can you take a look at this issue?

It seems that it something which was useful when we had the templates views. IMO we could drop it.
@NyanKiyoshi  What do you think?

I'd drop that first if. There's no harm in setting request.app to None.

I can help with a PR if you tell me the reason behind the first if in the first place

not stale

not stale

The issue is known and occurs when requesting the GraphQL endpoint with another path than /graphql/ which are to be returning 404. @fowczarek is assigned for this fix. Example of failing and common mistakes for people to check when they see that exception:/graphql//, /graphql/graphql/


Access to originator of notification

Hi every one
I try to get the originator of the notification. When I print ('[WebSocket Data]: Received notification: ${notification.notifications}');
I can see the originator. But when I try to access it by ‘notification.notifications?.first’. , I can't get any originator suggestions but other parts exist.
This problem is shown at below :

Please guide me on how I can access to originator of notification.

Hi @mahshadparsa!
Could you please add a print output for print ('[WebSocket Data]: Received notification: ${notification.notifications}');? Also, mark the field you are interested in.


bug: waitForTransaction call throws 'block not found' error and returns transaction receipt

Is there an existing issue for this?

[X] I have searched the existing issues

Package Version
1.0.5
Current Behavior
waitForTransaction call some times 'throws block not found' error. This error cannot be caught. But it returns transaction receipt as expected after a while
Expected Behavior
waitForTransaction call should return transaction receipt without throwing any error
Steps To Reproduce
try {
const receipt = await waitForTransaction({
hash,
onError(error: any) {
// error is not caught here
reject(error);
},
});
if (receipt) {
resolve(receipt);
} else {
reject();
}
} catch (e) {
// error is not caught here
reject(e);
}
Link to Minimal Reproducible Example (StackBlitz, CodeSandbox, GitHub repo etc.)
No response
Anything else?
No response

@nikakhachi this issue was closed because there wasn't a reproducible example. if you can add one of those, with clear steps on how to reproduct, then we can take a look.


[RESOLVED] High ICMP ping response time

Problem started at 09:40:14 on 2023.04.12
Problem name: High ICMP ping response time
Host: MF-FG
Severity: Warning
Operational data: Value: 663ms
Original problem ID: 16112
Event details in Zabbix: http://<IP_ADDRESS>/tr_events.php?triggerid=23132&eventid=16112

Problem has been resolved in 8m 0s at 09:48:14 on 2023.04.12
Problem name: High ICMP ping response time
Host: MF-FG
Severity: Warning
Original problem ID: 16112


Fix instance picking when in billboard mode

See https://forum.babylonjs.com/t/billboardmodeall-breaks-pick-order-for-instances/19673

LGTM but just for my information why the TMP 0 was not working ? was it overriden later on in the code ?

Yes, TmpVectors.Matrix[0] is used in ray intersection code, so the world matrix was modified along the way.

In this case could we not use another TMP Matrix like the TmpVectors.Matrix[1] ? or at least a static in the file ? to prevent over allocating and adding properties to the mesh class and not go over the limit ?

That seems dangerous to me: any code can be executed after the time one calls InstancedMesh.getWorldMatrix(). So, if some code is using the same temp variable we used, it will fail.
I think the life time of those temp variables should be limited to the scope they are used in and that we should never return a temp vector/matrix from a function the user can call: we can't know which code will be called afterwards. If this code is using for internal computation this same temp, we are screwed up.
I don't see another safe way to do it than having a local per instance variable to hold the matrix... What I can do is to let it undefined and create it the first time we need it (as billboard mode is rarely used, the penalty will occur only in this case).

Ok Totally agree if not used directly here so all good :-)


Error while re-training model

Below are my terminal work:
applify@appadmin-Vostro-15-3568:~$ cd ~/Downloads/tensorflow
applify@appadmin-Vostro-15-3568:~/Downloads/tensorflow$ ls
android  CONTRIBUTING.md  ios  LICENSE  README.md  scripts  tf_files
applify@appadmin-Vostro-15-3568:~/Downloads/tensorflow$ ls tf_files/flower_photols: cannot access 'tf_files/flower_photo': No such file or directory
applify@appadmin-Vostro-15-3568:~/Downloads/tensorflow$ ls tf_files/flower_photos
daisy  dandelion  LICENSE.txt  roses  sunflowers  tulips
applify@appadmin-Vostro-15-3568:~/Downloads/tensorflow$ IMAGE_SIZE=224applify@appadmin-Vostro-15-3568:~/Downloads/tensorflow$ ARCHITECTURE="mobilenet_0.50_${IMAGE_SIZE}"
applify@appadmin-Vostro-15-3568:~/Downloads/tensorflow$ python -m scripts.retrain -h
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/home/applify/Downloads/tensorflow/scripts/retrain.py", line 108, in
import numpy as np
ImportError: No module named numpy
applify@appadmin-Vostro-15-3568:~/Downloads/tensorflow$

ImportError: No module named numpy


Corrected Crouton Filter

Filter made to return List of Models

please reach out to discuss the use case in more detail

Hi, Coby.
When I started modifying crouton, I made sure it returned a Single Model when it used Query. But on the other endpoints, I had to use the Query to return multiple models. So I reversed it to it's Original return value of List[Model], for with and Without Query

please reach out to discuss the use case in more detail

@cobycloud
Hey Coby, Can we discuss these changes?


Added thiserror for improved error handling and removed no_std

This pull request introduces thiserror to simplify and improve error handling in the library and removes no_std for broader compatibility with standard Rust environments.
Changes include:
Error Handling with thiserror: Replaced custom error handling with thiserror, providing clear, concise error messages and aligning with idiomatic Rust practices.
Removed no_std: Dropped no_std configuration, making the library more compatible with standard Rust projects, as no_std is often too specific to embedded environments.
Simplified API: Streamlined the API by removing scroll dependency and replacing Deref and DerefMut with a standard as_bytes() method for safer internal access.
These changes simplify the codebase, reduce dependencies, and improve the library’s usability in non-embedded projects.

Hi, thanks for this pull request, however I'm not going to be able to merge this, since this library was intended specifically for embedded environments and use with scroll. Removing no_std reduces the number of targets we can support. If you're looking for something more userspace friendly, I suggest looking into eui48.
Requiring std for such a simple library breaks so many other targets, while delivering only a very mild improvement for std targets.
This library is already in active use on the ESP32 in one of my projects, and a set of my other libraries also relies on this.
As a slight nitpick, code comments for open source code should be written in English, since that's what most people in the open source world understand.

Hi,
Thank you for your feedback and for reviewing my pull request. I understand your decision not to merge, given the specific focus on embedded environments and the dependency on scroll for compatibility with non-std targets like ESP32. I appreciate the explanation and see how important it is to keep no_std in this context.
I also appreciate the note on English for comments in open source projects. I’ll keep this in mind for future contributions.
If there are any other areas where I could contribute, or if there’s room for adding a userspace-friendly version in the future, please let me know.
Thanks again for your time!
Best,
Cyprien avico


fix:🐛prevent Invalid 'main' field in './package.json' of 'dist/index.js' warning in production build

:tada: This PR is included in version 5.5.2 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


I have dot hiding issue

I don't want extra dots if no item to slide don't want extra dots
In reactjs
I am unable to figure out solution
check the code sand box
https://codesandbox.io/s/quiet-fog-ekwqd?file=/src/App.js

Looks like your using a different library and not Slick Carousel


Conda forge openmm testing

[ ] Tag issue being addressed
[ ] Add tests
[ ] Update docstrings/documentation, if applicable
[ ] Lint codebase
[ ] Update changelog

Closing as this has produced the desired feedback and I see no reason to keep this workflow running long-term. Feel free to re-open, push to this branch, or re-run the existing CI jobs as desired.


GH-40833: [Docs][Release] Make explicit in the documentation that verifying binaries is not required in order to case a vote

Rationale for this change
Based on the discussion on https://lists.apache.org/thread/ogp9dthp124oq0fmvlyzvjorjsyom03v making clear that binaries verification are not required in order to cast a positive vote for the release.
What changes are included in this PR?
Document the required process
Are these changes tested?
preview-docs job on archery will be run
Are there any user-facing changes?
No

@github-actions crossbow submit preview-docs

http://crossbow.voltrondata.com/pr_docs/40834/developers/release_verification.html


Profile and Chip component improvements

Resolves #509

Just kidding. it's going to be addressed in https://github.com/saving-satoshi/saving-satoshi/pull/548


Fix basic-build-test.sh to work in different env

fixed to work in xxx-arm-firmware repository

When importing this fix to xxx-arm-firmware, also file scripts/output_env.sh must be imported

2 approving reviews, passing CI, ready for merge


calendar: not showing event location

Hello,
i'm using the latest version of MM (2.22.0) and the default calender is not showing event locations. I'm using following code in my config file:
module: "calendar",
position: "middle_center",
header: "Dieter",
maximumEntries: "10000",
wrapEvents: "true",
showLocation: "true",
broadcastEvents: "true",
broadcastPastEvents: "true",
config: {
calendars: [
{
symbol: "calendar-check",
name: "DVF",
color: "#5ac1da",
url: "webcal://calendar.google.com/calendar/ical/redacted/basic.ics"
}
]
}
The calendars contain event location information (i checked by downloading the ics file and reading the contents with notepad++).

Do i have to change or add parameters to show the event locations?
Does it matter that i have multiple google calenders defined in my config? Events are showing fine for all calendars.
No custom modules are installed. This is as vanilla as can be...

best regards,
Dieter

all of these settings
maximumEntries: "10000",
wrapEvents: "true",
showLocation: "true",
broadcastEvents: "true",
broadcastPastEvents: "true",

must be INSIDE the
config: {

ok, what a stupid mistake to make :-/
You can close this and mark it with a pebkac-tag

computers are SOOOOO picky!


esbuild version conflict when installing @tanstack/router packages

Which project does this relate to?
Router
Describe the bug
When attempting to install @tanstack/router-plugin and @tanstack/router-devtools as dev dependencies, the installation fails due to a version mismatch in esbuild. The installed version (0.21.5) doesn't match the expected version (0.23.1) required by the dependencies.
Packages: +16
Progress: resolved 502, reused 418, downloaded 6, added 16, done
<EMAIL_ADDRESS>Running postinstall script, failed in 188ms
<EMAIL_ADDRESS>postinstall$ node install.js
Error: Expected "0.23.1" but got "0.21.5"
    at validateBinaryVersion (/Users/shivam/genos/Little-Bird-Client/node_modules/.pnpm/esbuild@0.23.1/node_modules/esbuild/install.js:134:11)
    at /Users/shivam/test-project/node_modules/.pnpm/esbuild@0.23.1/node_modules/esbuild/install.js:284:5

Your Example Website or App
NA
Steps to Reproduce the Bug or Issue
Try running pnpm add -D @tanstack/router-plugin @tanstack/router-devtools in a new vite project
Expected behavior
Should be installed without any issues
Screenshots or Videos
No response
Platform

OS: macOS
Browser: Chrome
Version: latest
Node version - 16.19.1

Additional context
No response

Fixed by updating node version to v22


A user should be able to enter a title and a link to store a recipe

Two input fields - one for the name of the recipe and one for the URL (Check!)
A button to save (check!)
The save button checks for http (check!)
Set up a way to store all recipes: JSON file? Database? localStorage?


Pixel shader debugger shows invalid input data (coming from vertex shader)

Description
When you try to debug a pixel shader, it seems that the data coming from vertex shader contains invalid values. Eg, in my scenario, texture coordinates have always 0.0; 0.0 value no matter what pixel I try to debug. I'm pretty sure that this issue is related to shader debugging only because vertex shader outputs correct values and I don't see any visual artifact.
Steps to reproduce

Open the RenderDoc capture at the following URL: https://drive.google.com/open?id=1XvKIfewGlvUyy1582uSok_q-_r3h6ToN
Debug pixel 60; 500 at EID call 449 and inspect value of inPs.uv0
Do the same at pixel 1200; 450
inPs.uv0 should have different values

As you can see below, vertex shader outputs correct data. If inPs.uv0 was equal to 0.0; 0.0, I wouldn't see the terrain textures sampled correctly.

Environment

RenderDoc version: 1.5 (issue happens in nightly build 2019-11-14 too)
Operating System: Windows 10, version 18362.449
API: D3D11 (custom engine based on OGRE 2.2)
GPU: NVIDIA GeForce GTX 1060, driver version 441.20

More than only the UVs were wrong here. For the pixel shader debugging I need to exactly match the HLSL definition that produces the input register mapping of the original shader. Unfortunately with FXC trying to reverse engineer the exact behaviour to ensure the same packing/arrangement is not easy. This was a case where a uint followed by a float was detected wrongly as the float being an array, which messed up all the packing after there.