How to bind disruptor producer and process threads to specific CPU cores for easier management?

So, it can ensure that the CPU cores of the machine can be allocated according to needs.

Hi again,
Version 0.3.0 is out now. See how to pin the processing thread in the docs for the Builder#pin_processor_to_core method.
(However, as of writing it's number 207 in the docs.rs publish queue!)
Kind regards,
Nicholas

Hi again,
Version 0.3.0 is out now. See how to pin the processing thread in the docs for the Builder#pin_processor_to_core method. (However, as of writing it's number 207 in the docs.rs publish queue!)
Kind regards, Nicholas

Okay, I will integrate version 0.3.0 into the project and see.

set_for_current
There was an error in the program. The information is as follows:
“thread 'main' panicked at 'Could not pin processor thread 'processor' to CoreId { id: 0 }', /Users/sean/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/disruptor-0.3.0/src/consumer.rs:83:13”

The code is:
let disruptor_producer = Builder::new(1024*1024*4, factory, processor.clone(), BusySpin).pin_processor_to_core(id).create_with_single_producer(); disruptors.push(disruptor_producer);

What OS are you running on?
I've verified it works on Linux flavours but your mileage might vary on other OS'es. It could be e.g. permissioning that's in the way. Check out any open issues for the core-affinity lib.
And - in my opinion - Linux is the only one that counts for any low latency production workload. :-)
It's of course annoying if it doesn't work in your development environment.
Kind regards,
Nicholas

What OS are you running on? I've verified it works on Linux flavours but your mileage might vary on other OS'es. It could be e.g. permissioning that's in the way. Check out any open issues for the core-affinity lib. And - in my opinion - Linux is the only one that counts for any low latency production workload. :-) It's of course annoying if it doesn't work in your development environment.
Kind regards, Nicholas
Thank you for your guidance, it can run on the Linux operating system now. However, my development environment is macOS. I was able to run the demo program separately using core_affinity = "0.8.1", but it didn't work with the disruptor library. I'm not sure if there are any other reasons because I am still a beginner in using the Rust language.

What OS are you running on? I've verified it works on Linux flavours but your mileage might vary on other OS'es. It could be e.g. permissioning that's in the way. Check out any open issues for the core-affinity lib. And - in my opinion - Linux is the only one that counts for any low latency production workload. :-) It's of course annoying if it doesn't work in your development environment.
Kind regards, Nicholas

Another question，does the processor support batch event retrieval?

The current Disruptor version uses 0.8.0 of core-affinity so that is why. I'll try and update it to the newer version and see if it works on Mac as well.
Regarding supporting batch event retrieval: You can see that in the bool flag passed into the closure. If it's true the batch has ended - otherwise the next invocation of the closure will be part of the available batch of events. See also the docs.
(I don't know if you know how this works in the original Disruptor lib - this is exactly the same.)
Kind regards,
Nicholas

Hi again,
I've tried upgrading to 0.8.1 but no luck on my Macbook.
I've now opened an issue in the core-affinity repo.
Let's see what that brings.
Kind regards,
Nicholas

Hi again,
I've published version 0.4.0 where the Builder will no longer panic on e.g. Mac if there's a thread affinity error. Instead it will log on stderr. Give it a spin. :-)
Kind regards,
Nicholas


feat: add beforeDrop hook, addresses #34

it looks like @pranavjindal999 's code would do the job for this feature. Are there any plans for fixing the conflicts and merging it in?

Never mind me, I've just realised that upgrading to the latest version of vue-smooth-dnd fixes my problem without this feature (or even needing to write any additional code). 🤦♂

Turns out updating to the latest version didn't fix it.


Read only workspace: an error should be shown when dragging a file from another workspace

Issue Type: Bug
Testing #52573
If I drag a file from another workspace into my read-only workspace nothing happens. I would expect an error to be shown.

VS Code version: Code - Insiders 1.25.0-insider (923e9ccb3fc44bfaaf4b4049015c84e42bc40f95, 2018-06-26T13:00:22.932Z)
OS version: Darwin x64 17.6.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz (8 x 2200)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: enabledrasterization: enabledvideo_decode: enabledvideo_encode: enabledvpx_decode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
2, 2, 2

Memory (System)
16.00GB (0.38GB free)

Process Argv
/Applications/Visual Studio Code - Insiders.app/Contents/MacOS/Electron -psn_0_4183037

Screen Reader
no

VM
0%

Extensions (4)

Extension
Author (truncated)
Version

svgo
100
0.8.0

vscode-svgo
ajh
0.1.0

gitlens
eam
8.4.1

python
ms-
2018.6.0

(4 theme extensions excluded)

This also happens when dragging a file from within the read-only workspace to another folder in the same workspace. We should disable the hovering when dragging so it doesn't appear like you are able to do that, otherwise it looks very confusing.

@misolori good points. However I personally prefer not to throw errors like crazy.
For now I have decided to disable the drag feedback, so a noop is not so surprising.
If we get user feedback that errors are expected in these cases then I might reconsider


Issue with number in namespaced keyword

Hi,
Thank you for this interesting library; its great.   I was exploring the UNIPROT sparql endpoint with flint and encountered an issue arising from the use numeric taxonomic identifiers.  This is the second UNIPROT sparql example:
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX taxon: <http://purl.uniprot.org/taxonomy/>
PREFIX up: <http://purl.uniprot.org/core/>
SELECT ?taxon ?name
WHERE
{
    ?taxon a up:Taxon .
    ?taxon up:scientificName ?name .
    ?taxon rdfs:subClassOf taxon:2 .
}

However, if we  try to convert this directly to flint, the taxon:2 would become :taxon/2 and this is not a valid keyword.
(f/format-query
  `{:prefixes {:taxon "<http://purl.uniprot.org/taxonomy/>"
               :up    "<http://purl.uniprot.org/core/>"
               :rdfs  "<http://www.w3.org/2000/01/rdf-schema#>"}

    :select [?taxon ?name]
    :where  [[?taxon :a :up/Taxon]
             [?taxon :up/scientificName ?name]
             [?taxon :rdfs/subClassOf :taxon/2]]
    :limit 10})

; Syntax error reading source at (REPL:128:47).
; Invalid token: :taxon/2

I'm wondering if you have suggestions on the best way to workaround this.  Pointers would be greatly appreciated.
zach cp

Doh. no sooner typed than a workaround appears. Subbing in the full IRI works great:
 (f/format-query
  `{:prefixes {:taxon "<http://purl.uniprot.org/taxonomy/>"
               :up    "<http://purl.uniprot.org/core/>"
               :rdfs  "<http://www.w3.org/2000/01/rdf-schema#>"}

    :select [?taxon ?name]
    :where  [[?taxon :a :up/Taxon]
             [?taxon :up/scientificName ?name]
             [?taxon :rdfs/subClassOf  "<http://purl.uniprot.org/taxonomy/2>"]]
    :limit 10})

A more concise workaround is the keyword function. e.g.
`{:where [[?taxon :rdfs/subClassOf ~(keyword "taxon/2")]]}

Thanks!


Fix ExecSync support for runtimes other than runC

Some OCI container runtimes (in particular the hypervisor based ones like e.g. Clear Containers) will typically create a shim process between the hypervisor and the runtime caller, in order to not rely on the hypervisor process for e.g. forwarding the output streams or getting a command exit code.
When executing a command inside a running container those runtimes will create that shim process and terminate.
Therefore calling and monitoring the runtime process directly from ExecSync() will fail. Instead we need to have a subreaper calling the runtime and monitoring the shim process, and conmon seems to be a natural place for doing so.
This PR does mostly 2 things:

Add a -e option to conmon to also monitor potential shim processes created by <runtime> exec
Modify ExecSync to call conmon instead of calling the runtime directly. ExecSync also now reads the exit status code back through the synchronization pipe.

Fixes #309

I'm overall ok to have conmon exec, @mrunalp @cyphar PTAL

When executing a command inside a running container those runtimes will create that shim process and terminate.

I don't understand it, if the argument "-d" is not added to "runtime exec", the runtime exec process must wait the new process of the container.

@laijs You're correct. I'll try playing with that. It does not work currently with clear containers, but it may be a simpler path.

I like this approach also, but I think you need to add "-d" to "runtime exec" in ExecSync()

@laijs Done, conmon now calls exec with -d.

Thanks! I will test this out today.

LGTM

Sorry that I was on holiday while this patch was being reviewed. I don't like this because now all of conmon has bifoccated logic for exec and non-exec. The code is getting really hard to follow...

I'll do a bit of cleanup in #162 ...

@cyphar Sounds good. Please ping me when you have it ready so that I can verify it does not break Clear Containers.


Why not delegate to $handler

When no valid attribute is present, the middleware could keep delegating after all... Or is there just no sensible use-case?
Asking because middlewares/base-path-router#3 makes me imagine a situation where the router has dynamic prefixes, but no default handler, it could just delegate to its own handler. Using request-handler as that delegate would then lead to a situation where request-handler would need a fallthrough. Isn't that the best place for the defaultHandler? After all, the router isn't useful without request-handler anyway, so it could just rely on the latter for the default handler.

middlewares/filesystem Reader has a continueOnError() option to continue to inner middlewares instead return a 404-405 response if the file is not found or the method is not allowed. We can include this option here, due in practice, is like a defaultHandler.

I just released v1.3.0 with the continueOnEmpty() option.


Update interop fork location after AATH update

AATH got updated so the text replacement needed to be changed again when running as a pull request. Other runs will simply use the location defined in AATH.

Updated to clone from https://github.com/openwallet-foundation/owl-agent-test-harness.git


Fix Responsiveness

Issue Description:
Problem:
The ContentCraft app is not responsive and doesn't adapt well to different screen sizes and devices. This can lead to a suboptimal user experience for users accessing the app on mobile devices or smaller screens.
Expected Behavior:
The app should be designed to be responsive, ensuring that it works well and looks great on a variety of screen sizes, from desktop to mobile.

I can try to work on that. Please assign this issue to me?

sure!


Test-DbaJobOwner - OperationStopped: (Invalid login

Is this:
Just place "x" to indicate selection (e.g. "[x]")

[ ] feature
[x] bug:

Details
Reported by @poldba on Slack - Test-DbaJobOwner -SqlInstance localhost, i get OperationStopped: (Invalid login
I get the same thing

I'm guessing it's missing reequired params?

Thanks a ton!


Some self-promotional thing (banner) that publically shows our achievements as a game

For example, banner announcement for "We got 15k users! Thank you for being a part of our journey"

Same thing as #512


Refactor grouped_by_index param

I prefer this over the CLI approach, but don't love it:

Option A, we hardcode the full grouped_by_index docs link into the docstring (with the absolute URL and all), and it breaks silently when we move it to another place
Option B, we use the relative link as I did now, mkdocs fails if it breaks which is great, but users can't click on it to open the docs, they'll probably need to search for it

Since this is a complicated argument used in several places I would argue towards making the format an enum again, called BeamEventSetFormat. This would allow us to write docs there, easily display it in docs, and easily link users towards it in the parameter specs. It also future-proofs us in case a third format comes up.
I'm up for making the change if you agree @achoum, lmk!

DB server of the loan_outcome_prediction tutorial seems to be down, will wait for some hours and try again


Carrying dev should stay on the same board.

When a dev carries a story sometimes the board they are on is important and should not change.
Given: I have a dev that is carrying a story
And: I want that dev to stay on the board
When: I rotate the devs
Then: The dev that is carrying should stay with that board
Given: I have a dev that is carrying a story
And: I have removed the board they were on
When: I rotate the devs
Then: The the dev that is carrying should be placed on a new board.
I think is a fine default behavior, and seems to be expected by the teams I have talked too.

What should happen in this scenario, when two devs are marked as carrying on the same board?

Under the current behavior, the two carrying devs will be placed into two separate pairs. What should happen to the board in that case?
These are the scenarios I came up with:

Either the first or second dev always stays on the board, and the other dev is put in a separate pair.
One of the two devs is randomly chosen to carry the board, and the other dev is put in a separate pair.
Both devs stay on the board, similar to the sticking functionality, except a third dev may be rotated in if there are an odd number of devs and soloing is not enabled.

Given: I have a dev that is carrying a story
And: I have removed the board they were on
When: I rotate the devs
Then: The the dev that is carrying should be placed on a new board.

This might be a dumb question, but Just to make sure I understand correctly the same logic applies to disabled boards as well as deleted boards right?

These are good questions, I think it might make this more complicated. Here are the scenarios I could think of and what I would want to happen.
User marked all the devs as carrying, it seem like what they really want to do is make the board stick. So maybe the correct behavior is for when all the devs on the board are marked as carrying, then the board is marked as sticking. Then we could use the current behavior for sticking to handle that case.
In the case of a tripair where two are carrying (or any number less than all), we would then want them to stay on the same board, but the third dev to be put into rotation like normal.
There is another case where the pair are carrying two different stories. In that case I think human intervention should be used, and we shouldn't guess the intent. If a team wanted to do this they could use the add board functionality to set up the pair carrying two different stories.
I think if someone is carrying and the board is deleted or disabled, the dev should be placed on a random board. The delete or disable should trump what is shown in the display.
Does that make sense?

Yeah I think that clears everything up. Thanks for answering my questions!

I thought I understood all of the conditions you outlined, but I actually have another question around this one:

User marked all the devs as carrying, it seem like what they really want to do is make the board stick. So maybe the correct behavior is for when all the devs on the board are marked as carrying, then the board is marked as sticking. Then we could use the current behavior for sticking to handle that case.

This might be a misunderstanding on my part, but I was under the impression that marking a pair as "sticking" made that pair untouchable. So in the scenario where there is an odd number of devs in rotation (with soloing disabled) and one pair sticking, that pair would never receive the extra dev. After playing around with the application I realized that the sticking pair actually does get the extra dev. The sticking pair isn't marked as sticking in the UI but they are persisted every rotation with a third dev that gets swapped out.
My question is, should we treat sticking pairs as untouchable and assume that the user wouldn't want a third dev to be paired up with that pair, or is the current functionality okay? I guess that question isn't completely related to this issue, but if the current behavior is okay, would it make sense to just get rid of the sticking functionality altogether since now the carrying functionality does exactly the same thing?

I have been thinking about this one, and I think you are right. There is no practical difference now between the two. I only hesitate to remove the sticking feature because I am unsure of how popular the feature is.


Add missing iso 639 codes

for example hyw https://iso639-3.sil.org/code/hyw, but maybe others
there's already #857 and a bunch of other issues linked from https://github.com/ufal/clarin-dspace/issues/855#issuecomment-851539170

hyw added in #997


[FR]: add SwiftLint

What is the current behavior?
https://github.com/realm/SwiftLint already has Bazel toolchain so it looks pretty quick.
Describe the feature
Provide linting for Swift code

👍

Anyone who is interested in contributing this: there's a guide at https://github.com/aspect-build/rules_lint/blob/main/lint/README.md


how to pass raw questions through tracker?

Rasa Core version: 9.6.0
Python version: 3.6
Operating system (windows, osx, ...): linux: ubuntu 16.4
Issue: I am trying to add custom actions to my bot. Actions that enable the bot to response with generated text message (eg. answer created by seq2seq nn model). Such model requires the asked question (raw) as input. I notice that the nlu module output dictionary has the asked question stored in the 'text'. How can I pass this 'text' to the core module? The same way as we pass the predicted entities would work, I need the raw question instead. Please help.
Content of domain file (if used & relevant):

You can access this in a custom action as tracker.latest_message.text , see http://rasa.com/docs/core/customactions/


Feature Request: Drag and Drop Re-Ordering

It would be nice to be able to drag and drop elements in the "selected" list into a new order.

I'm also looking forward for this feature.
Maybe implemented with an external plugin like the QuickSearch feature, using jQuery UI.


In this branch, we adjusted the features for the introduction to autoware.

In this branch, we adjusted the features for the introduction to autoware.
・Colcon build report
・Change of frame_id
・Change of package name
・Change of topic name and grouping

It is decided not to merge these branches, but to merge them by individual feature branches.


[DUOS-1850][risk=no] rm data owner console link from the old nav

Link to Jira ticket
Summary of changes:

Remove link to the data owner console from the old navigation bar

If currently using the new navigation bar, copy & paste this into the javascript console of the site:
localStorage.setItem('feature-flag:navstyle', 'anything other than DUOS-1668')
You can give yourself the data owner role through the PUT /api/user/{userId}/{roleId} Swagger endpoint

Have you read Terra's Contributing Guide lately? If not, do that first.

Label PR with a Jira ticket number and include a link to the ticket
Label PR with a security risk modifier [no, low, medium, high]
PR describes scope of changes
Get a minimum of one thumbs worth of review, preferably two if enough team members are available
Get PO sign-off for all non-trivial UI or workflow changes
Verify all tests go green
Test this change deployed correctly and works on dev environment after deployment

Side note: As shown above, I keep having old commits from a different already merged branch show up when I make new PRs. Does anyone know how to fix this?


[material-ui-nextjs] Add Link integration component

Preview: https://deploy-preview-40265--material-ui.netlify.app/material-ui/guides/nextjs/#link
Summary
Added Link for App Router and Pages Router (Both routers have different import for useRouter, so the split is required).
Usage:
// src/app/*
import { Link } from '@mui/material-nextjs/v14-appRouter';

// src/pages/*
import { Link } from '@mui/material-nextjs/v14-pagesRouter';

[x] I have followed (at least) the PR section of the contributing guide.

Related to #30858

@mnajdova @mj12albert in case you missed the notification, please review it.

The Link implementation we use on our docs got a bit simpler #40940, the gap with this one is reduced.

I'll move this to v6.


38210 segmentation fault

Is there a way to fix this? I am asking here because I couldn't find any other source.
I am using the simple example  and when I run this code I am getting the error:
38328 segmentation fault  pipenv run python3 embedding.py
machine:
Monterey version: 12.6.3
MacBook Pro (14-inch, 2021)
chip Apple M1 Max
example code:
from txtai.embeddings import Embeddings
data = ["US tops 5 million confirmed virus cases",
        "Canada's last fully intact ice shelf has suddenly collapsed, forming a Manhattan-sized iceberg",
        "Beijing mobilises invasion craft along coast as Taiwan tensions escalate",
        "The National Park Service warns against sacrificing slower friends in a bear attack",
        "Maine man wins $1M from $25 lottery ticket",
        "Make huge profits without work, earn up to $100,000 a day"]

# Create embeddings index with content enabled. The default behavior is to only store indexed vectors.
embeddings = Embeddings({"path": "sentence-transformers/nli-mpnet-base-v2", "content": True})

# Create an index for the list of text
embeddings.index([(uid, text, None) for uid, text in enumerate(data)])

# Run a search
embeddings.search("feel good story", 1)

Hi @Lionardo, thank you for posting the issue.
Unfortunately, I don't have a great solution on why the latest version of PyTorch have this issue on macOS. The current workarounds can be found in https://github.com/neuml/txtai/issues/377

Closing this due to inactivity. #377 fixed a similar issue by setting the env variable OMP_NUM_THREADS=1

A similar issue happened for me. I'm on an Intel Mac. Setting export OMP_NUM_THREADS=1 in ~/.zshrc fixed the issue for me.


merge from arlac77/npm-package-template-esm-only

package.json

chore(package): merge from template package.json

Pull Request Test Coverage Report for Build 3143

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 83.871%

Totals

Change from base Build 3140:
0.0%

Covered Lines:
72

Relevant Lines:
87

💛  - Coveralls


Failed testcases in Temporal Deduction with variable

IN: <(&&,<$x --> [boy]>,<$x --> [girl]>) =\> (&&,<$x --> [jumping]>,<$x --> [with-wings]>)>.
IN: <(&&,<$y --> [flying]>,<$y --> bird>) =\> (&&,<$y --> [boy]>,<$y --> [girl]>)>.

Expected outputs:

OUT: <(&&,<$1 --> [flying]>,<$1 --> bird>) =\>  (&&,<$1 --> [jumping]>,<$1 --> [with-wings]>)>.
OUT: <(&&,<$1 --> [jumping]>,<$1 --> [with-wings]>) =/> (&&,<$1 --> [flying]>,<$1 --> bird>)>.

Actual:

No outputs

--------------------------------------------------------------------------------------------------------------

IN: <(&/,<$x --> [boy]>,<$x --> [girl]>) =\> (&/,<$x --> [flying]>,<$x --> [with-wings]>)>.
IN: <(&/,<$y --> [with-Beak]>,<$y --> bird>) =\> (&/,<$y --> [boy]>,<$y --> [girl]>)>.

Expected outputs:

OUT: <(&/,<$y --> [with-Beak]>,<$y --> bird>) =\> (&/,<$x --> [flying]>,<$x --> [with-wings]>)>.
OUT: <(&/,<$x --> [flying]>,<$x --> [with-wings]>) =/> (&/,<$y --> [with-Beak]>,<$y --> bird>)>.

Actual:

No outputs

also this is a good find.
Best regards,
Patrick

I think the following picture will be helpful. This is how the concept network looks like for this problem, I think it should be one single network, but for this testcases, the network is separated to two parts.

this means that also terms like (&&,<$1 --> [flying]>,<$1 --> bird>) should be able to name a concept, then the for the above inference needed sub-linking happens and the inference works. I will fix it today.

That compound term should be taken as a variable term itself, so shouldn't
refer to a concept. This type of inference should happen in its constant
component, like [flying] or bird.
On Mon, Apr 27, 2015 at 12:07 PM, patham9<EMAIL_ADDRESS>wrote:

this means that also terms like (&&,<$1 --> [flying]>,<$1 --> bird>)
should be able to name a concept, then the for the above inference needed
sub-linking happens and the inference works. I will fix it today.
—
Reply to this email directly or view it on GitHub
https://github.com/opennars/opennars/issues/35#issuecomment-96726016.

In the second case it should be
OUT: <(&/,<$x --> [with-Beak]>,<$x --> bird>) =\> (&/,<$x --> [flying]>,<$x --> [with-wings]>)>.
OUT: <(&/,<$x --> [flying]>,<$x --> [with-wings]>) =/> (&/,<$x --> [with-Beak]>,<$x --> bird>)>.

instead of
OUT: <(&/,<$y --> [with-Beak]>,<$y --> bird>) =\> (&/,<$x --> [flying]>,<$x --> [with-wings]>)>.
OUT: <(&/,<$x --> [flying]>,<$x --> [with-wings]>) =/> (&/,<$y --> [with-Beak]>,<$y --> bird>)>.

Fixed, will be part of the next commit in 1.6.4-devel.

Fixed in 2c59ddd2fa58753818948d2c8e8d1397ff487be6


General fixes and update for current build; PATO placeholders

Why was PATO import placeholder needed?

The build process doesn't create them on their own - I get "target does not exist" Makefile errors if any of the imports don't already exist, even after building the update_repo and refresh_imports targets. At some times in the past I had just added the placeholders locally and not pushed them to the repo, but in this case I was building on a fresh instance, so I was starting from a clean(er) slate.


RadarPlot in ScottPlot 5

Hi!
Is there any plan to port even the RadarPlot to ScottPlot 5?

Kind regards!

Hi @nuelle16, thanks for this suggestion! I'm going to close this issue and track progress in #3457 which I recently commented on with some information to help get started. I also mentioned it in the Discord #1966
Although I personally don't intend to implement this feature in the short term, hopefully you or someone from the open source community can translate the ScottPlot 4 radar char to ScottPlot 5, and I'd be happy to review a pull request and merge it in good time! 🚀


enable mode in get io

Coverage decreased (-0.02%) to 50.322% when pulling dc33eee3efc25cfdb78d05caad109c4541643ff7 on CINPLA:master into d14c8e3cc1e31e8cbac68da68ad62c60f8a43da0 on NeuralEnsemble:master.

Hi.
I did not remember this function.
I don't known what this mode is done for.
Maybe we should have a global approach with something like this
def get_io(filename, *args, **kargs):
   ...
   return io(filename, *args, **kargs)

Absolutely, that is a much better way to solve it.
2017-05-05 10:13 GMT+02:00 Garcia Samuel<EMAIL_ADDRESS>
Hi.
I did not remember this function.
I don't known what this mode is done for.
Maybe we should have a global approach with something like this
def get_io(filename, *args, **kargs):
...
return io(filename, *args, **kargs)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/NeuralEnsemble/python-neo/pull/322#issuecomment-299407480,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADQn8ApgX6DGbey4yJh7sITJYEbXZ31gks5r2tocgaJpZM4NRlfZ
.

--
Mikkel Elle Lepperød http://cinpla.org/people/
Centre for Integrative Neuroplasticity (CINPLA http://cinpla.org)
University of Oslo (UiO http://uio.no)
Kristine Bonnevies hus, room 2513

Had an issue with the plexonio, hope it is ok that I added sampling rate to spiketrains

Coverage increased (+0.007%) to 50.346% when pulling 0cb572304d7687ba70949a14f93c780dac51c79a on CINPLA:master into d14c8e3cc1e31e8cbac68da68ad62c60f8a43da0 on NeuralEnsemble:master.

plexonio is a different thing but it is OK for me.

I'm ok to merge this, although I'm not sure that mode is a useful argument for an IO class, since this is determined by whether you call io.read_X() or io.write_X()


Fix typo

Thanks for your comments!
It's embarrassing :smiley: But I fixed them.

Thank you for quick revising. LGTM


No history for backtest

Hey hey,
i tried the current stable and develop releases for some new features.
i found out that i am not able to make back tests in the way i am used to.
so my former way way to type node gekko -c config.js -b into the command line.
This now brings me the following error...
2017-08-16 15:13:32 (INFO):     Scanning local history for backtestable dateranges.
ERROR: No history found for this market
What exactly am i missing?
The UI also does not find the history data.

Do you have trade history? This behaviour should not have changed that much.

yes trade history is there, 2h hours in history.

2h hours, meaning 2 hours? That's not a lot. If Gekko says it cannot find the history your DB might be corrupted or so..

with a very old gekko version im using 2h of history is very much enough.
the db has just been created from this test of the new version.

So you want to run a backtest over 2 hours of history in total? What candleSize do you have in mind? If you run over hourly candles that would only mean it ticks twice before it is over.

it is not in my interest to run real backtests i want to check out the version, and gekko does not find any history.

Could you quickly import a day using the importer and try again? I remember having limited the backtest period, since it doesn't make sense (imo) to backtest over 2 hours.

let me ask you a question, you are not backtesting more than 2 hours of data for a strategy?
at what candle sizes are you testing?

you are not backtesting more than 2 hours of data for a strategy? at what candle sizes are you testing?

Is this question directed towards me? If so I don't understand the question.

yes.
your statement was:

I remember having limited the backtest period, since it doesn't make sense (imo) to backtest over 2 hours.

so i wondered if you would not be backtesting for longer then 2 hours.

Ah yes, sorry!
So there is a limit on the backtester in a way where you can not backtest for less than a few hours. You can definitely backtest longer than 2 hours, just not shorter. So if you have less than 2 hours of data you cannot backtest.

2017-08-20 10:27:45 (INFO):     Setting up Gekko in backtest mode
2017-08-20 10:27:45 (INFO):
2017-08-20 10:27:45 (INFO):     Setting up:
2017-08-20 10:27:45 (INFO):              Trading Advisor
2017-08-20 10:27:45 (INFO):              Calculate trading advice
2017-08-20 10:27:45 (INFO):              Using the strategy: DEMA
2017-08-20 10:27:45 (INFO):
2017-08-20 10:27:45 (WARN):     The plugin Trader does not support the mode backtest. It has been disabled.
2017-08-20 10:27:45 (INFO):     Setting up:
2017-08-20 10:27:45 (INFO):              Performance Analyzer
2017-08-20 10:27:45 (INFO):              Analyzes performances of trades
2017-08-20 10:27:45 (INFO):
2017-08-20 10:27:45 (WARN):     Performance Analyzer wanted to listen to the undefined, however the  is disabled.
2017-08-20 10:27:45 (WARN):     Performance Analyzer wanted to listen to the undefined, however the  is disabled.
2017-08-20 10:27:45 (INFO):     Scanning local history for backtestable dateranges.
ERROR: No history found for this market

this is the whole output that i get

How much history do you have?
On 20 Aug 2017 09:30, "decoye"<EMAIL_ADDRESS>wrote:

this is the whole output that i get
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/askmike/gekko/issues/977#issuecomment-323571459, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AA7MD6__Q32MKb7ZZD8VTWRQ8PeHGjMnks5sZ-6bgaJpZM4O45Y_
.

1 days and 3 hours.
I feel like its not writing the history where gkko exoects to find it.
But in /history the files are written.

Can you upload your config.js as well as the contents of the history folder?

history.zip
sample-config.js.zip
here are the database and the config. ive attached the sample config as its also not working with this one.

Why do you think you have 1 days and 3 days of data? It looks like you don't have any data to me.

Because the log says it runs since 3 days ago :)And makes perfectly fine trades.
null

How are you running the trader (UI or CLI)? In case of CLI, what is the config used for the live trader?

I use the cli
Command is node gekko -c config.js
null

So the same config you zipped above? In that case the problem is that you are not storing candles because you have not enabled the candleWriter. Enable that if you want to store candles to disk!

Oh damn.
Okay thats what changed to the version that i am using.I missed that step. Thanks man.In my very old config it was activated by default.
null

Ah yes, I will add to the CLI docs that if you upgrade you need to make sure you manually migrate your config!

Thanks mike!
null


Exiting: error loading config file: read filebeat.yml: is a directory

Can you please post the command used. This problem is for volumes declaration is wrong

It's been almost three years,I don't remember what command it was...it may have been solved


RE: /installing-airbrake/installing-airbrake-in-a-react-app

Webpack fails, because a module is missing.  The module in question is 'cross-fetch'.

@vmihailenco can you verify this?

I think it was an offhand error, caused by something else. I'll close the issue for now 👍

Thanks @Vanluren. Let us know if you run into any issues. You can always reach us via:

<EMAIL_ADDRESS>chat on our docs site: https://airbrake.io/docs/
or by opening an issue in a specific GitHub repo of ours eg: for JavaScript, it's https://github.com/airbrake/airbrake-js


GPU Temperature/Usage Displayed on the keyboard

Hi antonpup, great work. Got my Logitech G910 this week and was very disappointed until I got Aurora to use my backlighting to it's full potential. I would like to suggest adding GPU indicators on the keys, similar to the CPU and RAM usage. It is not a necessity, but would be really nice to have. Temperature would probably be the most used variable to monitor on a GPU.
Logitech should definitely learn a few things from you in term of backlighting control.

Will see what I can do.

CPU Temperature
GPU Temperature
Mobo Temperature (not sure if useful at all?)
GPU Usage

Awesome, those would all be great. I'm sure someone out there might use motherboard temperature.
Thanks

Maybe the MoBo would not be so useful...

I use OpenHardwareMonitor to monitor my temps (CPU, GPU, MoBo). Maybe you can use WMI to get the values. So you don't need to add support for every MoBo etc. yourself. :wink:

Checkout my scripts. There are some features you are asking for, and even more.
https://github.com/VoronFX/Aurora

Also I am currently working on providing access to all this info from Aurora itself.
In my opinion temp, memory info and a lot of other things are almost useless cause they are auto controlled. What is useful is cpu usage, gpu usage, network connection.
But anyway I will add as much as I can.

Checkout my scripts. There are some features you are asking for, and even more.

Looks nice! :+1:
I would like to see OpenHardwareMonitor (with WMI) support for the Percent Effect Layer. So we can display all values (like temps, memory, fan speed, used HDD space etc.) which OHW providing, on the keyboard.

Work in progress. Need some time.

If we want to get support without using OpenHardwareMonitor w/ WMI, we need to create an wrapper for NVAPI and also for other GPU vendors.
Here's an wrapper for NVAPI: https://github.com/falahati/NvAPIWrapper

@DogeAmazed It's not a problem. I've already extracted such wrapper from OpenHardwareMonitor and using it my scripts. The problem is to integrate it into Aurora itself. Even this is not a problem, it's just a task that needs time and wish to be done. Currently I am too busy to work on it, but I believe I will do it sometime, but not now.


Add END_LINE to Crystal syntax highlighting

I found __END_LINE__ magic constant is missing in syntax highlighting for Crystal language.

I want to have review by @oprypin

I want to have review by @oprypin

Merged, good catch!

Merged, good catch!


Failed to install cfdevd error on cf dev start on Mac OSX 11.11 El Capitan

**Steps to Re-Produce : **

Run cf dev start on OSX 11.11.6
Downloads resources
Prompts user to enter sudo password
User enters password
Error occurs
Starts VPNKit
Stalls on starting VM

Fixed in Release v0.0.3


NoSuchMethodError - State was called on null.

I have StateFul widget and a class with a constructor. This class has some functions and each function simply returns a widget. I want to access the state of the Stateful widget from inside a function of the other class. That's why I'm using context.findAncestorStateOfType<>().

class MyHomePage extends StatefulWidget {

  static MyHomePageState of(BuildContext context) => context.findAncestorStateOfType<MyHomePageState>();

  @override
  MyHomePageState createState() => MyHomePageState();
}

Inside the Stateful widget's initState(), I initialize the constructor of other class with parameters. One of the functions has a GestureDetector for a widget. Inside the onTap() GestureDetector I tried to call change the value of a variable in Stateful widget. This is where I'm getting the null error. I tried setting the constructor from build() but I get the same error. Please help me with this. Thanks in advance.
Error Log:
The following NoSuchMethodError was thrown while handling a gesture:
The setter 'choosingDestinationFromMap=' was called on null.
Receiver: null
Tried calling: choosingDestinationFromMap=true

When the exception was thrown, this was the stack:
#0      Object.noSuchMethod (dart:core-patch/object_patch.dart:53:5)
#1      MapHelper.destinationPointWidget.<anonymous closure> (package:google_map/map_helper.dart:511:42)
#2      GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:182:24)
#3      TapGestureRecognizer.handleTapUp (package:flutter/src/gestures/tap.dart:486:11)
#4      BaseTapGestureRecognizer._checkUp (package:flutter/src/gestures/tap.dart:264:5)
...
Handler: "onTap"
Recognizer: TapGestureRecognizer#30707
  debugOwner: GestureDetector
  state: possible
  won arena
  finalPosition: Offset(140.4, 170.2)
  finalLocalPosition: Offset(140.4, 23.1)
  button: 1
  sent tap down

initState():
@override
  void initState() {

    super.initState();

    controller1 =
        AnimationController(vsync: this, duration: Duration(milliseconds: 200));
    controller2 =
        AnimationController(vsync: this, duration: Duration(milliseconds: 150));
    controller2_1 =
        AnimationController(vsync: this, duration: Duration(milliseconds: 500));
    controller3 =
        AnimationController(vsync: this, duration: Duration(milliseconds: 150));
    controller3_1 =
        AnimationController(vsync: this, duration: Duration(milliseconds: 500));

    offset1 = Tween<Offset>(begin: Offset(0.0, -1.0), end: Offset.zero).animate(controller1);
    offset2 = Tween<Offset>(begin: Offset(0.0, -1.0), end: Offset.zero).animate(controller2);
    offset2_1 = Tween<Offset>(begin: Offset(0.0, -0.40), end: Offset.zero).animate(controller2_1);
    offset3 = Tween<Offset>(begin: Offset(0.0, -1.0), end: Offset.zero).animate(controller3);
    offset3_1 = Tween<Offset>(begin: Offset(0.0, -0.40), end: Offset.zero).animate(controller3_1);

    mapHelper = MapHelper(controller1, controller2, controller2_1, controller3,
        controller3_1, offset1, offset2, offset2_1, offset3,
        offset3_1, textController1, textController2, context);
}

Other class:
class MapHelper {

  AnimationController controller1;
  AnimationController controller2;
  AnimationController controller2_1;
  AnimationController controller3;
  AnimationController controller3_1;

  Animation<Offset> offset1;
  Animation<Offset> offset2;
  Animation<Offset> offset2_1;
  Animation<Offset> offset3;
  Animation<Offset> offset3_1;

  TextEditingController textController1;
  TextEditingController textController2;

  BuildContext context;

  MapHelper(this.controller1, this.controller2, this.controller2_1,
      this.controller3, this.controller3_1, this.offset1, this.offset2,
      this.offset2_1, this.offset3, this.offset3_1, this.textController1,
      this.textController2, this.context);

  destinationPointWidget() {

    return SlideTransition(
      position: offset3,
      child: Align(
        alignment: Alignment.topCenter,
        child: Container(
          color: Colors.white,
          height: 110,
          width: double.infinity,
          child: Column(
            mainAxisAlignment: MainAxisAlignment.end,
            children: <Widget>[

              SlideTransition(
                position: offset3_1,
                child: Align(
                  alignment: Alignment.bottomCenter,
                  child: Container(
                    alignment: Alignment.center,
                    margin: EdgeInsets.only(left: 8, right: 8),
                    decoration: BoxDecoration(
                      borderRadius: BorderRadius.circular(10),
                      border: Border.all(color: Colors.black26),
                    ),
                    child: Row(
                      children: <Widget>[

                        Flexible(
                          flex: 1,
                          child: IconButton(
                            icon: Icon(
                              Icons.arrow_back,
                              color: Colors.black,
                            ),
                            onPressed: () {
                              controller3.reverse();
                              controller3_1.reverse();
                              controller1.forward();
                            },
                          ),
                        ),

                        SizedBox(width: 10,),

                        Flexible(
                          flex: 7,
                          child: TextField(
                            controller: textController1,
                            cursorRadius: Radius.circular(10),
                            style: TextStyle(
                              fontSize: 17,
                            ),
                            decoration: InputDecoration(
                              hintText: "Choose destination point",
                              border: InputBorder.none,
                            ),
                            onSubmitted: null,
                          ),
                        ),
                      ],
                    ),
                  ),
                ),
              ),

              SizedBox(height: 6,),

              GestureDetector(
                child: Container(
                  padding: EdgeInsets.only(bottom: 8),
                  margin: EdgeInsets.only(left: 8),
                  child: Row(
                    children: <Widget>[

                      Flexible(
                        flex: 1,
                        child: Container(
                          alignment: Alignment.center,
                          height: 40,
                          child: CircleAvatar(
                            radius: 15,
                            backgroundColor: Colors.black12,
                            child: Icon(Icons.map, color: Colors.black54, size: 20,),
                          ),
                        ),
                      ),

                      SizedBox(width: 10,),

                      Flexible(
                        flex: 8,
                        child: Container(
                          height: 40,
                          alignment: Alignment.centerLeft,
                          child: Text(
                            "Choose on map",
                            style: TextStyle(
                              fontSize: 16,
                            ),
                          ),
                        ),
                      ),
                    ],
                  ),
                ),
                onTap: () {

                  MyHomePage.of(context).choosingDestinationFromMap = true;
                  print(MyHomePage.of(context).choosingDestinationFromMap);
                  MyHomePage.of(context).positionMarkerAtCenter();
                },
              ),
            ],
          ),
        ),
      ),
    );
  }
}

Hi @imsajib02
Please see https://flutter.dev/community for resources and asking questions like this,
you may also get some help if you post it on Stack Overflow.
Could you provide a minimal reproducible and complete code sample, such that I can simply copy and run?

@imsajib02
I hope you've solved the issue.
Closing as additional information isn't provided.
Could everyone who still has this problem please file a new issue with the exact descriptions what happens, logs and the output of flutter doctor -v please.


relational algebra in JuMP

See https://github.com/jump-dev/JuMP.jl/issues/3438, specifically https://jump.dev/JuMP.jl/stable/tutorials/linear/multi_commodity_network/ is mentioned. It'd be good to get an acsets implementation.

See the other issue here https://github.com/jump-dev/JuMP.jl/issues/3212 and the linked paper https://www.sciencedirect.com/science/article/abs/pii/S0167923697000079?via%3Dihub
Want to look for examples where a single dataframe cannot accomplish the required task, and where acsets can really shine.

Also This question https://discourse.julialang.org/t/speeding-up-jump-model-creation-with-sets-that-depend-on-other-indexes/107333 which evolved into a discussion on how to improve DataFrames performance https://discourse.julialang.org/t/help-improving-the-speed-of-a-dataframes-operation/107615


Month view: entries for one day are not displayed in chronological order

Later appointments are displayed before earlier appointment in month view. The error always seems to occur when an entry has more than a "30 minutes" timeslot.
Steps to reproduce:

Compile the demo and run jetty.
Visit localhost:8080.
You are presented with the week view.
Add an entry by clicking on the 09:00 timeslot on one day.
Use the same day but this time add an entry which uses two consecutive timeslots (e.g. 10:00am-11:00am).
Switch to month view. The 10:00AM entry will be above the 9:00AM entry in the month view.

week view:

month view:

itemSortOrder solved the issue!
Found the method org.vaadin.addon.calendar.Calendar#setItemSortOrder, set itemSortOrder to org.vaadin.addon.calendar.client.CalendarState.ItemSortOrder#START_DATE_DESC and everything is sorted according to date now.


fix: update docker check workflow

Fixes #23

:tada: This PR is included in version 1.3.117 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Deploy Checklist: New Expensify 2023-09-20

Release Version: 1.3.72-9
Compare Changes: https://github.com/Expensify/App/compare/production...staging
This release contains changes from the following pull requests:

[x] https://github.com/Expensify/App/pull/22145
[x] https://github.com/Expensify/App/pull/24137
[x] https://github.com/Expensify/App/pull/24502
[x] https://github.com/Expensify/App/pull/25421
[x] https://github.com/Expensify/App/pull/25818
[x] https://github.com/Expensify/App/pull/26148
[x] https://github.com/Expensify/App/pull/26151
[x] https://github.com/Expensify/App/pull/26176
[x] https://github.com/Expensify/App/pull/26198
[x] https://github.com/Expensify/App/pull/26271
[x] https://github.com/Expensify/App/pull/26447
[ ] https://github.com/Expensify/App/pull/26508
[x] https://github.com/Expensify/App/pull/26836
[x] https://github.com/Expensify/App/pull/26845
[x] https://github.com/Expensify/App/pull/26923
[x] https://github.com/Expensify/App/pull/26944
[x] https://github.com/Expensify/App/pull/27119
[x] https://github.com/Expensify/App/pull/27142
[x] https://github.com/Expensify/App/pull/27162
[x] https://github.com/Expensify/App/pull/27172
[x] https://github.com/Expensify/App/pull/27199
[x] https://github.com/Expensify/App/pull/27216
[x] https://github.com/Expensify/App/pull/27220
[x] https://github.com/Expensify/App/pull/27230
[x] https://github.com/Expensify/App/pull/27236
[x] https://github.com/Expensify/App/pull/27268
[x] https://github.com/Expensify/App/pull/27272
[x] https://github.com/Expensify/App/pull/27276
[ ] https://github.com/Expensify/App/pull/27286
[ ] https://github.com/Expensify/App/pull/27304
[ ] https://github.com/Expensify/App/pull/27307
[x] https://github.com/Expensify/App/pull/27308
[x] https://github.com/Expensify/App/pull/27320
[x] https://github.com/Expensify/App/pull/27321
[x] https://github.com/Expensify/App/pull/27332
[x] https://github.com/Expensify/App/pull/27349
[x] https://github.com/Expensify/App/pull/27351
[x] https://github.com/Expensify/App/pull/27380
[x] https://github.com/Expensify/App/pull/27410
[x] https://github.com/Expensify/App/pull/27419
[x] https://github.com/Expensify/App/pull/27428
[x] https://github.com/Expensify/App/pull/27430
[x] https://github.com/Expensify/App/pull/27435
[ ] https://github.com/Expensify/App/pull/27441
[x] https://github.com/Expensify/App/pull/27443
[x] https://github.com/Expensify/App/pull/27451
[x] https://github.com/Expensify/App/pull/27489
[ ] https://github.com/Expensify/App/pull/27499
[x] https://github.com/Expensify/App/pull/27517
[x] https://github.com/Expensify/App/pull/27529
[x] https://github.com/Expensify/App/pull/27542
[x] https://github.com/Expensify/App/pull/27552
[x] https://github.com/Expensify/App/pull/27574
[x] https://github.com/Expensify/App/pull/27581
[x] https://github.com/Expensify/App/pull/27614
[x] https://github.com/Expensify/App/pull/27629
[x] https://github.com/Expensify/App/pull/27635
[x] https://github.com/Expensify/App/pull/27639
[x] https://github.com/Expensify/App/pull/27642
[x] https://github.com/Expensify/App/pull/27655
[x] https://github.com/Expensify/App/pull/27674
[x] https://github.com/Expensify/App/pull/27681
[x] https://github.com/Expensify/App/pull/27692
[x] https://github.com/Expensify/App/pull/27693
[x] https://github.com/Expensify/App/pull/27711
[ ] https://github.com/Expensify/App/pull/27727
[x] https://github.com/Expensify/App/pull/27729
[x] https://github.com/Expensify/App/pull/27732
[ ] https://github.com/Expensify/App/pull/27742
[x] https://github.com/Expensify/App/pull/27761
[x] https://github.com/Expensify/App/pull/27763
[x] https://github.com/Expensify/App/pull/27798
[x] https://github.com/Expensify/App/pull/27823
[x] https://github.com/Expensify/App/pull/27825
[ ] https://github.com/Expensify/App/pull/27868
[x] https://github.com/Expensify/App/pull/27907
[ ] https://github.com/Expensify/App/pull/27908

Deploy Blockers:

[x] https://github.com/Expensify/App/issues/27094
[x] https://github.com/Expensify/App/issues/27560
[x] https://github.com/Expensify/App/issues/27673
[x] https://github.com/Expensify/App/issues/27677
[x] https://github.com/Expensify/App/issues/27710
[x] https://github.com/Expensify/App/issues/27713
[x] https://github.com/Expensify/App/issues/27722
[x] https://github.com/Expensify/App/issues/27754
[x] https://github.com/Expensify/App/issues/27774
[x] https://github.com/Expensify/App/issues/27782
[x] https://github.com/Expensify/App/issues/27802
[x] https://github.com/Expensify/App/issues/27805
[x] https://github.com/Expensify/App/issues/27858
[x] https://github.com/Expensify/App/issues/27864
[x] https://github.com/Expensify/App/issues/27869
[x] https://github.com/Expensify/App/issues/27873
[x] https://github.com/Expensify/App/issues/27878
[x] https://github.com/Expensify/App/issues/27890
[x] https://github.com/Expensify/App/issues/27892
[x] https://github.com/Expensify/App/issues/27895
[x] https://github.com/Expensify/App/issues/27901
[ ] https://github.com/Expensify/App/issues/27903
[ ] https://github.com/Expensify/App/issues/27928
[ ] https://github.com/Expensify/App/issues/27931
[ ] https://github.com/Expensify/App/issues/27949

Deployer verifications:

[ ] I checked the App Timing Dashboard and verified this release does not cause a noticeable performance regression.
[ ] I checked Firebase Crashlytics and verified that this release does not introduce any new crashes. More detailed instructions on this verification can be found here.
[ ] I checked GitHub Status and verified there is no reported incident with Actions.

cc @Expensify/applauseleads

:rocket: All staging deploys are complete, @Expensify/applauseleads please begin QA on version https://github.com/Expensify/App/releases/tag/1.3.72-3 :rocket:

@thienlnam Interim report summary:
Regression TR is with 50% progress.
PRs - Team is working on the PRs
#26836 failing with #27895 - repro in production. Checking off
#27119 failing with #27884 - Reprod in production, checking it off
#27286 failing with #27893 - Is this ok to checkoff?
#27441 failing with #26566 - not fixed in android

@thienlnam Interim report summary:
Regression TR is with 63% progress.
PRs - Team is working on the iOS slots
#27286 failing with#27893 - Is this ok to checkoff?
#27441 failing with #26566 - not fixed in android
#26508 failing with #27903

https://github.com/Expensify/App/pull/27286 failing with https://github.com/Expensify/App/issues/27893 - Is this ok to checkoff?

Asked about this here https://github.com/Expensify/App/pull/27286#issuecomment-1728705322

@thienlnam This is the current status of the progress
Regression is 12% left in the TR
#27307 failing with #26529 - not fixed in iOS

@thienlnam Regression just 2 steps left to be completed. We are waiting for the build to be updated in android to validate #27908
#27441 failing with # 26566 - not fixed in android
#26508 failing with #27903
#27307 failing with #26529 - not fixed in iOS
#27304 failing with #24423 (offline testing)
#27742 failing with #27864

Staging is down for some time.

Regression is complete.
Build version 1.3.72-9 is still not available in android to validate #27908
#27441 failing with #26566 - not fixed in android
#26508 failing with #27903
#27307 failing with #26529 - not fixed in iOS
#27304 failing with #24423 (offline testing)
#27742 failing with #27864
#27499 failing with #27888
#27868 failing with #27959 repro in production checking off
#27727 failing with #27328 in android. Issue closed, ok to check it off?

https://github.com/Expensify/App/pull/27441 failing with https://github.com/Expensify/App/issues/26566 - not fixed in android

They're continuing in the issue - fine to mark off

https://github.com/Expensify/App/pull/26508 failing with https://github.com/Expensify/App/issues/27903

We're working on the deploy blocker fix here https://github.com/Expensify/App/pull/27974

https://github.com/Expensify/App/pull/27742 failing with https://github.com/Expensify/App/issues/27864

CPed a fix for this

https://github.com/Expensify/App/pull/27727 failing with https://github.com/Expensify/App/issues/27328 in android. Issue closed, ok to check it off?

Yeah this looks fine to check off

:shipit:


Renaming NullArtifactCoordinates,NullArtifactGenerator,NullRepository

#1587
#1582

@wpater Please rebase your branch once this PR is accepted.

@carlspring Pls accept this PR.

@wpater Please rebase your branch once this PR is accepted.

Conflicts incoming :)

@wpater Please rebase your branch once this PR is accepted.

Conflicts incoming :)

@wpater Please rebase your branch once this PR is accepted.

Conflicts incoming :)

:)


No matching distribution for torch

To reproduce
Create a virtual environment using conda.
Install every requirements using 'pip install -r requirements.txt'.
Error:
"No matching distribution found for torch==1.8.2+cu111".

Hi,
Thanks for reaching out. I assume torch >1.8 or even >2.0 should also work. Feel free to give it a try.
Best
Tim


performance improvement on mask distance calculation

i'm trying to replicate the results from this paper, but I noticed that the performance on the mask distance calculation is unnecessarily slow. Instead of re-calculating the masks for each pairwise comparison, I propose calculating all the masks at once, saving them, and indexing them when needed. This should should run (end_epoch-start_epoch) times faster.

That is correct, thanks for your commit!


Timer::getTimeOnTimer() not functioning properly

Returns 0 indefinitely... look into this.

This issue was caused by forgetting to set a flag in the Timer class.


STT and At having lacking progress tracker.

There's currently no indication on the tracker of the player's progress across the entire Atlantica or Simulated Twilight Town (before Computer Room).
For Atlantica, it would be nice if there's a tracker for Tutorial, Ursula's Revenge, and A New Day is Dawning. For STT, it might be nice to track Twilight Thorn and Struggle Fights.
If needed, Televo has made the icons at https://github.com/Televo/kingdom-hearts-icon-collection/tree/main/progression

Fixed by #80


Formatting [dotenv] against my explicit consent

Does this issue occur when all extensions are disabled?: Yes/No

Version: 1.85.1
Commit: 0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2
Date: 2023-12-13T09:48:16.874Z
Electron: 25.9.7
ElectronBuildId: 25551756
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: <IP_ADDRESS>-electron.0
OS: Darwin arm64 23.2.0
Steps to Reproduce:

Open .env file and save.
It will get formatted if defaultFormatter is set, or show a pop asking to configure one.

GUI Example:

getting a popup if I hide default formatter in the settings as such

"[dotenv]": {
    // "editor.defaultFormatter": "foxundermoon.shell-format",
    "editor.formatOnSave": false,
    "editor.codeActionsOnSave": {
        "source.fixAll": false,
        "formatOnSave": false
    }
}

file gets formatted against my explicit consent stating "editor.formatOnSave": false when settings are

 "[dotenv]": {
    "editor.defaultFormatter": "foxundermoon.shell-format",
    "editor.formatOnSave": false,
    "editor.codeActionsOnSave": {
        "source.fixAll": false,
        "formatOnSave": false
    }
}

I observe the same behaviour with editor.formatOnSave set to false globally.

Actually thanks to writing this issue, I discovered I was wrong.
It is the issue of the shell formatter extension, which slipped through because file type is "dot env".
Related:

https://github.com/foxundermoon/vs-shell-format/issues/303
https://github.com/microsoft/vscode/issues/173689


Exclude tab/window from shortcut and open as window

Instructions about how to: https://brianhaines.com/2019/06/23/google-chrome-add-application-shortcut/

Fixed in 804edcc6580cbe469f6925e2d9cad6d9a63d06cd


bug in youtube

Script version
What version is the script on eg 2.9 , 3.1 ect
Describe the bug
When I activate this script and play the video on YouTube, I get two issues.

In the shorts, instead of the video, only a screen filled with black comes out.
In a typical video, the advertisement is partial (about three to five seconds) and the video appears. Sometimes the advertisement doesn't appear. In fact, that's not a problem. That's how much you can afford. The real problem is that there are two audio clips. One is the sound when the advertisement is removed normally, and the other is the sound of the video after a short advertisement. Sometimes one sound comes out first without the sound of an advertisement, followed by the same sound after a while. It's like a spinning song (canon, for example). You might pause the video and suggest a way to timing the two audio. I actually tried it. But to no avail.
I desperately hope these issues will be resolved.  I look forward to your update.
All of these sentences have been translated. I hope you understand.

Expected behavior
A clear and concise description of what you expected to happen.
I desperately hope these issues will be resolved.  I look forward to your update.
All of these sentences have been translated. I hope you understand.
Screenshots
If applicable, add screenshots or a video to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

Same here, the sound is actually playing, but I haven´t started the video yet. Basically, I have a still image, but hear the advertisement first, and then the sound of the video, without the video actually playing. Or I also have double the sound overlapping, the sound of the ad and the sound of the video. I can stop the sound only by reloading.


Nav component: Elements must have sufficient color contrast

The aXe a11y tool is finding issues within the Nav component. The area's flagged appear to be the Current Link styles and the Horizontal Nav styles (see screen caps below).

UPDATE: After rechecking, the styles for horizontal nav (shown below) currently pass. The example above still fails (unless we choose to make the text bold for this color combination).

Additional information is available at #620

Just double checked and this issue is still valid, it's being flagged in our build audit;

@jgiardino @jessiehuff @mcoker Do you know if this is still an issue?

I think we can close it. I ran axe on the the dark and light theme, horizontal, and tertiary nav pages and it passes. We will also be using new axe tool checks, so we can open a new issue if that flags a problem.


Why is no client secret required?

In the section "Register the app in Azure AD B2C" it says that a client secret isn't required in this tutorial. I'd like to understand why? Does there not need to be a secret trust relationship between the application and Azure B2C?

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

ID: 765e611b-a170-db1a-fa50-2771d79b2732
Version Independent ID: ef34ebdf-977a-b797-e263-cb32c1643272
Content: Cloud authentication with Azure Active Directory B2C in ASP.NET Core
Content Source: aspnetcore/security/authentication/azure-ad-b2c.md
Product: aspnet-core
Technology: aspnetcore-security
GitHub Login: @CamSoper
Microsoft Alias: casoper

It's not doing the following
If your application exchanges an authorization code for an access token, you need to create an application secret.


The remaining controls

Is there any plans to add the remaining asp.net controls: Treeview, Menu and Chart?

No, there are other options (css, js library ect) and I don't feel the need to migrate them.


Multicore pvalues 2

Implented computation of pvalues distributed on Python worker processes using the multiprocessin module.
Replacement for previous pull request which did not work for Python 2.

Thank you for your interest in GOATOOLS and taking the time to make these contributions. We will take a look soon. Thank you for your patience.

Thank you very much for your pull request. So sorry this is so late. We have been working on some GOATOOLS projects (as well as the work from regular day-jobs). It has been quite consuming. I will take a look at this soon. Thank you very much for taking your time to make this contribution.


homebridge-playstation v1.4.1 problems authenticating PS4

Describe The Bug:
Cannot add authenticate PS4 (PS5 works though)
Device "PlayActor" does not appear in the IOS "second screen" app when trying to authenticate with the "homebridge-playstation-login" command.
To Reproduce:
$ cat /etc/sudoers|grep homebridge
homebridge ALL=NOPASSWD:/usr/bin/systemctl restart homebridge
homebridge ALL=NOPASSWD:/usr/bin/journalctl --no-pager --unit=homebridge.service
homebridge ALL=NOPASSWD: ALL

$ su - homebridge
# homebridge-playstation-login

Discovered device: {
  address: { address: '<IP_ADDRESS>', family: 'IPv4', port: 64992, size: 158 },
  hostRequestPort: 997,
  extras: {
    statusLine: '200 Ok',
    statusCode: '200',
    statusMessage: 'Ok',
    status: 'AWAKE'
  },
  discoveryVersion: '00020020',
  systemVersion: '09510001',
  id: 'xxxxxxxxxxxx',
  name: 'PS4-889',
  status: 'AWAKE',
  type: 'PS4'
}
Authenticate to PS4-889? (y/n) y
No credentials for PS4-889 and unable to request (need root permissions).
Attempting to request root permissions now (we will relinquish them as soon as possible)...
Discovered device: {
  address: { address: '<IP_ADDRESS>', family: 'IPv4', port: 62782, size: 158 },
  hostRequestPort: 997,
  extras: {
    statusLine: '200 Ok',
    statusCode: '200',
    statusMessage: 'Ok',
    status: 'AWAKE'
  },
  discoveryVersion: '00020020',
  systemVersion: '09510001',
  id: 'xxxxxxxxxxxx',
  name: 'PS4-889',
  status: 'AWAKE',
  type: 'PS4'
}
Authenticate to PS4-889? (y/n) y
Registering with device via Second Screen.
Open the PS4 Second Screen app and attempt to connect to the device named:
  PlayActor

Expected behavior:
Should appear in "PS4 Second Screen App" to be able to add the PS4 Homebridge device but it does not appear.
Logs:
No interesting log output
Plugin Config:
{
    "bridge": {
        "name": "Homebridge",
        "username": "xxxxxxxxx",
        "port": 51826,
        "pin": "xxxxxxxxx",
        "advertiser": "bonjour-hap",
        "bind": [
            "eth0"
        ]
    },
    "platforms": [
        {
            "name": "Config",
            "port": 8080,
            "auth": "form",
            "theme": "auto",
            "restart": "sudo -n systemctl restart homebridge",
            "tempUnits": "c",
            "lang": "auto",
            "sudo": false,
            "log": {
                "method": "custom",
                "command": "sudo /usr/bin/journalctl --no-pager --unit=homebridge.service"
            },
            "platform": "config"
        }
 .........
       {
            "pollInterval": 5000,
            "platform": "playstation"
        }
 .........

Environment:

Plugin Version:
Homebridge Version: 1.4.0
Node.js Version: v16.13.1
NPM Version:8.3.0
Operating System:PRETTY_NAME="openSUSE Leap 15.3"

Having the same problem. it shows instructions via terminal to find playactor (in ps4 second app). but it never shows. tried ps4-waker. but cant get that to work either. Using homebridge node.js 16.16.0

I have this issue also. Is this likely to be looked at as I see last post was back in July?

exact same problem. never managed to solve. the link to authenticate the ps4 does not arrive

i have the same problem. stuck here...playactor..no link..how can we do?

Hello; I can test with the PS4 I Have; so far I've only tested on PS5.

HI.  I would be grateful, I have a ps4 and something is wrong with playactor.  it doesn't let me authenticate between plugin and ps4.. I don't receive the link to authenticate.
Inviato da Andrea Russo

Il giorno 17 apr 2023, alle ore 13:48, Flavio De Stefano @.***> ha scritto:
Hello; I can test with the PS4 I Have; so far I've only tested on PS5.

Having the same issueInviato da iPhoneIl giorno 17 apr 2023, alle ore 15:49, and43a @.***> ha scritto:
HI.  I would be grateful, I have a ps4 and something is wrong with playactor.  it doesn't let me authenticate between plugin and ps4.. I don't receive the link to authenticate.
Inviato da Andrea Russo

Il giorno 17 apr 2023, alle ore 13:48, Flavio De Stefano @.***> ha scritto:
Hello; I can test with the PS4 I Have; so far I've only tested on PS5.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

Hello; I can test with the PS4 I Have; so far I've only tested on PS5.
hello KOPIRO, any news in your tests?


Fix task scheduling issue

Fixes https://github.com/opensrp/fhircore/issues/2393 and Task scheduling issue
Engineer Checklist

[x] I have written Unit tests for any new feature(s) and edge cases for bug fixes
[x] I have added any strings visible on UI components to the strings.xml file
[x] I have updated the  CHANGELOG.md file for any notable changes to the codebase
[x] I have run ./gradlew spotlessApply and ./gradlew spotlessCheck to check my code follows the project's style guide
[x] I have built and run the FHIRCore app to verify my change fixes the issue and/or does not break the app
[x] I have checked that this PR does NOT introduce breaking changes that require an update to Content and/or Configs? If it does add a sample here or a link to exactly what changes need to be made to the content.

Code Reviewer Checklist

[ ] I have verified Unit tests have been written for any new feature(s) and edge cases
[ ] I have verified any strings visible on UI components are in the strings.xml file
[ ] I have verifed the CHANGELOG.md file has any notable changes to the codebase
[ ] I have verified the solution has been implemented in a configurable and generic way for reuseable components
[ ] I have built and run the FHIRCore app to verify the change fixes the issue and/or does not break the app

@ellykits The storage of last process task (authoredDate/any other id) would lead to failed updates for all tasks in future once they are processed. A task created today would need to be checked again and again in future if it should be expired or made ready until it has been cancelled/completed.
I have changed the implementation to use task.start/task.end (Task.period) to pick tasks which should be expired OR made ready. This already is now leading a very small subset of tasks (Unless app was never used and now leading to huge number for first time processing). If we still need to make it more performant we would want to add a service on server that ends replicates this functionality. In an ideal case by new logic there should not be a large number tasks that are to be expired today OR made ready for processing.

@ellykits @Rkareko @maimoonak here are the Task statuses as defined.
Tasks status

Requested -- This status is given to a Task when the executionPeriod.start date is in the future.
Ready -- This status is given to a Task when the executionPeriod.start date is <= to today and the executionPeriod.end date >= today

The background task should change the Task status to ready if the executionPeriod.start date is <= to today and the executionPeriod.end date >= today

In Progress -- This status is given to a Task when the QuestionnaireResponse it acts on is marked as draft
Completed -- This status is given to a Task when the QuestionnaireResponse it acts on is marked as completed
Overdue -- Is status is not assigned to the Task resource. This status is inferred from the following logic. A Ready / In Progress task that the executionPeriod.end date < today

Since this is not an actual status we might want to write a function on the RuleFactory to get the status to OVERDUE in order to change the Task Background color.

Expired -- This status will be represented by the cancelled status on the Task resource. This is a Task that has been Overdue for a while and therefore it can't be performed anymore.

We have 2 ways to achieve this.
It can be achieved through the Workflow closure from the Event Management functionality.
It can also be closed when the date today > Restriction.period.end

So that you know – the discussion already happened. I have removed the unnecessary labels.

@maimoonak To share a few stats to demonstrate any performance gains from the new queries (NOT required to merge this PR though)


Test: need a test for the flock(logfile) approach to serializing allocation and log append

I'm thinking the test should prove that while the lock is held, other processes can't get the lock. What else? We currently rely on this being bulletproof...

Adding more context, please correct if it's inaccurate:
We need to serialize space allocations and log append(.log file). This is currently done under flock() on log file.
Add a test that proves that when the log file is under flock() anyone else trying to get the lock is blocked.

That's right. The flock() serializes both space allocation and log append.


Add caveat section to the docs to warn about this GDAL bug.

@nvkelso could you review, please?

Frank returns from 7 years ago!
Should the tick marks be around the whole export GDAL_SKIP=JPEG and specify that should be run in the shell before executing the Joerd commands?


Refactor code based on Credo suggestions

This pull request includes code refactoring based on the suggestions from running the Credo static code analysis tool. The following changes were made:

Updated pattern matching in function arguments for clarity.

In render_notebook_footer/3, changed _include_stamp? = false to false = _include_stamp?.

Modified variable assignment to avoid reassigning function parameters.

In handle_cast/2, replaced the reassignment of state with a new variable new_state and updated the subsequent broadcast_changes/2 call to use new_state and state.

These changes are aimed at improving the readability and maintainability of the code by adhering to Elixir best practices and Credo's suggestions.
wdyt?

Thank you @ByeongUkChoi but we don’t plan to incorporate Credo feedback for now, as we don’t intend to make it part of our tooling.


Issue #56 Random Forest Documentation

@tanvi355 This looks good to me @geekquad  what do you think?


fix notification with url changes

Status
Ready
Description
Notification didn't include the modified link when the front matter was too big. As can be seen here: https://github.com/demisto/content-docs/pull/417
Screenshots
Paste here any images that will help the reviewer

TDD: failing unit test (before fix): https://github.com/demisto/content-docs/pull/418/checks?check_run_id=1605719200


"ChatGPT Was Unable To Process The Response"

See the following screenshot. I am getting error messages that read: ChatGPT was unable to process the response about XYZ:

This action has the correct permissions to write comments to the PR. Also, it appears the OpenAI token is working as I created it with maximum permissions on the OpenAI side, and I can see it is hitting the OpenAI API on the usage page for the token.
QUESTION: Any idea why I might be getting these responses?
This Github Action looks terrific and would love to be able to use it.
The code I am using is as follows. I removed the "davinci" engine that is in the sample / readme as I was receiving warnings it was deprecated in the Github Action logs:
jobs:
    review-1:
        runs-on: ubuntu-latest
        name: ChatGPT Cirolini Code Review
        steps:
        - name: ChatGPT Cirolini Code Review
          uses<EMAIL_ADDRESS>          with:
            openai_api_key: ${{ secrets.openai_api_key }}
            github_token: ${{ secrets.GITHUB_TOKEN }}
            github_pr_id: ${{ github.event.number }}
            openai_engine: "gpt-3.5-turbo-1106"
            openai_temperature: 0.5
            openai_max_tokens: 2048
            mode: patch

Sorry for delay in response.
Maybe you can try the v2.


cuelang.org: an on-page search widget's most prominent/clickable real-time "auto-complete" links redirect to the general search page

What page were you looking at?
https://cuelang.org/docs/concept/find-a-guide/
What version of the site were you looking at?
https://github.com/cue-lang/cuelang.org/commit/fcdc044c24832b430ce066ba418dbe4d8e17d839
What did you do?
Whilst testing if #2841 still strikes, I used the search widget on https://cuelang.org/docs/concept/find-a-guide/. I started typing "unification". When I was halfway through the word, the page looked like this:

Notice the link at the top of the real-time, pop-up search results that purports to complete the word "unification" for me.
What did you expect?
I expected that if I clicked the finish-typing-the-word-for-me "unification" search link, then that would result in the same search view as if I finished typing "unification" myself, and hit enter. In other words, I expected that the URLs linked to by these finish-the-typing links would respect the page that I was already on, and would merely reload the current page with an additional q query string parameter.
What did you see instead?
Clicking the "unification" link took me to https://cuelang.org/search/?q=unification, which not only removes the implicit content-type restrictions from my search query, but also navigates away from the page/hierarchy that I was reading.

This is probably also fixed with the same fix as
https://github.com/cue-lang/cue/issues/2841
https://github.com/cue-lang/cuelang.org/pull/467
@jpluscplusm @myitcv Can you verify?

Confirmed as fixed by https://github.com/cue-lang/cuelang.org/pull/467


Had to remove arr.pop() on line 373 in model.js to get this library working

This line here was removing the last item from each vector which made their lengths different which caused a whole bunch of chaos down the line (multiplying by undefined).
I have no idea why it's there, but I did notice that it works for the example vector.txt in this project. Maybe something to do with \r and \n?
Also I added this:
if(isNaN(words) || isNaN(size)) {
  throw new Error("First line of input text file should be <number of words> <length of vector>. See example data 'vectors.txt' in repo");
}

After this line since that caused me a lot of trouble (I don't think it's mentioned anywhere in the readme).
Thanks for the awesome library!

Thanks for this report, I will look into it. If I recall correctly, I indeed put the .pop() call there to remove newline and carriage returns from the array.
Regarding your isNaN checks, any call to word2vev should write a file where the first line consists of <number of words> <length of vector>.  I guess you have been using the library differently?

Oh, right, yes I was using a pretrained file that I found on the internet. I just added the <number of words> <length of vector> manually.
Also, sorry to pester, but did you see this issue on your node-wordnet-magic project?

Yeah, sorry for not coming back to that later. I will have a look today into what's wrong with the WordNet module.

Thanks :+1:


Spread operator is breaking syntax

Please see image attached. Seems like Spread operator is breaking the syntax within methods block.

If you are not fixing code for Sublime Dev Builds, then you might close this.
PS, just realized that I left a mistake (double method definition), but it is not breaking stuff. I had to disable eslint, because it was quite glitchy past days as well.

Strangely, spread works fine for me with the exact same build of Sublime Text Dev (3157)

.

@yyx990803 Thanks for letting me know that you have atleast everything okay. Maybe I've messed up my Sublime Text settings. Will try later to wipe everything and start fresh. Otherwise:

Will let you know later how does it look then.

@yyx990803 Unfortunately there are some issues with the syntax highlighter.
I did download fresh Sublime Text, removed ~/Library/Application Support/Sublime Text 3 - did not help.
Vue:

Babel:

You probably need to:

Set Babel as the default for js files
Disable the built-in JavaScript package.

@yyx990803 Did what you said, it seemed still a bit not good, but once installed Ayu theme back on - it was OK after your steps! Thanks!


merge package from arlac77/npm-package-template

package.json

chore(package<EMAIL_ADDRESS>chore(scripts): cover@#overwrite c8 --temp-directory build/coverage ava && c8 report -r lcov --temp-directory build/coverage
chore(package): add xo from template
chore(package): add nyc from template
chore(package): set $.ava.require='esm' as in template
chore(package): set $.ava.files='tests/-test.js,tests/-test.mjs' as in template
chore(package): set $.ava.extensions='js,mjs' as in template

Codecov Report

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

@@           Coverage Diff           @@
##           master     #313   +/-   ##
=======================================
  Coverage   84.11%   84.11%
=======================================
  Files           1        1
  Lines         214      214
=======================================
  Hits          180      180
  Misses         34       34

Continue to review full report at Codecov.

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

Codecov Report

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

@@           Coverage Diff           @@
##           master     #313   +/-   ##
=======================================
  Coverage   84.11%   84.11%
=======================================
  Files           1        1
  Lines         214      214
=======================================
  Hits          180      180
  Misses         34       34

Continue to review full report at Codecov.

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

Coverage remained the same at 84.81% when pulling c6b8f97f4e063a89972815c51e67fa24ca324925 on template-sync-1 into 214ea42382d2ee13dff7e14337c1a7749b3dfb11 on master.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add Functions and proposed changes

I wanted the ability to Acknowledge Events, but then I realized there wasn't a way to see Problems, and then I realized it might be handy to dynamically create the Body of the API call.
Then I started messing with Templates and Triggers.
So Here is a brief summary of what I am proposing..
New internal command that creates the API body based on parameter input (New-ZBXRestBody). This function is not exported on purpose.
Any of the case sensitive API params are put into an [Alias()] of the parameter so it can be called programmatically without violating the PowerShell best practices for naming parameters.
Only add if/else/switch statements when API param values need to be cast a specific way (bool)
Include as much information in the API return so that users may filter what they want at the Powershell pipeline (maybe need a way of filtering the API call more/less output in the future).
Don't use the return keyword or unnecessary script blocks end {}
I only included these changes on new cmdlets I have written as examples (except for Get-ZBXEvent where I needed some more info on which host an Event fired on), but these changes could be added to the existing ones as well, and could allow for quicker creation of additional cmdlets as one is only adding parameters (with alias), and maybe a few internal logic changes.
Let me know what you think of these changes.

Brilliant, I love it!
The build will populate the psm1 with functions to export. Anything in public will be included and anything in private will not.

Sweet! I will have a few more PRs coming in then.


Device information in one line

Hi, buddies. If is there method for getting device information by one call or any other solution for this?
Something like this:
Android v25.0.2, Redmi Note 3, ru.
iOS v10, iPad 6,3, en.
Thanks.

Hi @antofa, there's no such method as its output would really depends on your requirements.
You can use getBrand(), getModel(), getSystemVersion() etc to achieve this.


double quote "Sensitive" header value

In the implementation of Debug for HeaderValue if a value is not marked sensitive, the value is written to the formatter with double quotes added. However, if marked sensitive the unquoted static string Sensitive is instead written to the formatter. This causes issues when attempting to output headers during tracing/logging.
This PR adds double quotes to the "Sensitive" string output in the case of a sensitive HeaderValue.

It would be interesting to hear what issues that causes. The existing implementation purposefully doesn't wrap the word in quotes, so as to not be confused with a value that literally has the string "Sensitive".

The existing implementation purposefully doesn't wrap the word in quotes

That's fair. My specific issue was using tower-http DefaultMakeSpan to output http headers.  Specifically Line 91 adds a headers key with the value being the map of http headers. The header values get outputted with double quotes.
This works fine until a header value gets marked sensitive. Then, that header value is output as Sensitive (without double quotes) while other values are quoted. Unfortunately, I'm outputting as JSON which makes the Sensitive output invalid.
The answer could just be I need to write a serializer for the headers which check the same sensitive flag and set a known string in the JSON output. However, it might make more sense (or be less confusing for other devs) for the tower-http default MakeSpan to just continue to work with marked sensitive values.
Maybe some more obvious string like ""? It would just be nice to have the output always be quoted strings.


Removed unnecessary logs

These logs can fill the console pretty easily, we keep manually removing these lines every time we update the pod. Thanks for a great library though!

You can just define SD_LOG_NONE before importing the SDWebImagePrefetcher class and the logs will go away because of this
#if (!defined(DEBUG) && !defined (SD_VERBOSE)) || defined(SD_LOG_NONE)
#define NSLog(...)
#endif

closing this as its a matter of opinion. thanks


Calling .click() on element.all result doesn't work for all elements in FireFox

MacOS X 10.11.3
FF 44, Protractor 3.0.
Worked well with Protractor 2.x and FF <= 32
Works well with Protractor 3.0 and Chrome 48.0.2564.97 (64-bit)
Code:
it('[DXUITC-76] verify collapse/expand at tactic level', function() {
  behaviors.flights.clickToggleTacticFlightsVisibilityButton();
  expect(behaviors.flights.isFlightPartsDisplayed().then(function(isPartsDisplayedArray) {
    return isPartsDisplayedArray.some(function(isPartDisplayedArray) {
      return isPartDisplayedArray.every(function(isPartDisplayed) {
        return !isPartDisplayed;
      });
    });
  })).toBe(true);
  behaviors.flights.clickToggleTacticFlightsVisibilityButton();
  expect(behaviors.flights.isFlightPartsDisplayed().then(function(isPartsDisplayedArray) {
    return isPartsDisplayedArray.some(function(isPartDisplayedArray) {
      return isPartDisplayedArray.every(function(isPartDisplayed) {
        return isPartDisplayed;
      });
    });
  })).toBe(true);
});

clickToggleTacticFlightsVisibilityButton: function() {
  return  elements.flights.toggleTacticFlightsVisibilityButton.click();
}

toggleTacticFlightsVisibilityButton: element.all(By.css('.tactic-table button.collapser'))

Fails with:
2) Campaign Dashboard [DXUITC-76] verify collapse/expand at tactic level
  Message:
    Expected false to be true.
  Stack:
    Error: Failed expectation
        at Object.<anonymous> (/test/protractor/scenarios/campaign-dashboard.protractor.js:65:9)
        at process._tickCallback (node.js:368:9)
  Message:
    Expected false to be true.
  Stack:
    Error: Failed expectation
        at Object.<anonymous> (/test/protractor/scenarios/campaign-dashboard.protractor.js:73:9)
        at process._tickCallback (node.js:368:9)

Workaround:
clickToggleTacticFlightsVisibilityButton: function() {
  return protractor.promise.map(elements.flights.toggleTacticFlightsVisibilityButton, function(elt) {
    return browser.executeScript('arguments[0].click()', elt.getWebElement());
  });
},

Notes:

clicking those buttons leads to vertical collapsing of quite big UI parts (it changes scroll position)
when doing this with element.all().click() only first section is collapsed.
also I noticed that with element.all().click() scroll position is being twitched - it seems like Protractor somehow tries to adjust it. And with browser.executeScript scroll position stays at the same place.

This appears to be a duplicate to #2895.


Xcode 12, Mac Catalyst target

When compiling a Mac Catalyst target, I get this error:
.../SourcePackages/checkouts/SwiftUIX/Sources/Intramodular/Documents/FileImportLink.swift:7:8:
UniformTypeIdentifiers is not available when building for Mac Catalyst.
Consider using `#if !targetEnvironment(macCatalyst)` to conditionally import this framework.

Mac Catalyst compiled fine with Xcode 11.

@jcrate please use the 0.0.2 tag for now. Mac Catalyst is currently broken on master because Apple decided to release Xcode 12GM without the Big Sur SDKs.

I tried the 0.0.2 tag before and that didn't compile either, with a few errors like:
.../SwiftUIX/Sources/Intramodular/Controls/ActionLabelView.swift:59:50:
No type named 'Label' in module 'SwiftUI'

despite the fact that it's marked @available(iOS 14.0, OSX 10.16, tvOS 14.0, watchOS 7.0, *) and my project has a destination of macOS 10.15. I guess that's also because of the Xcode 12 GM not shipping with Big Sur SDKs.
The project does compile and run for iOS 13 with SwiftUIX.
I only used SwiftUIX for a couple things in this project and it won't need to be released before we get an Xcode with 10.16 SDKs. So now that I know what the problem is I'll just close this issue and re-integrate SwiftUIX once 10.16 SDKs are available.

@jcrate ah, my bad, I meant the 0.0.3 tag. Could you try that and let me know whether it works?

Sorry I should have been more specific when I opened this issue. The UniformTypeIdentifiers  error was with 0.0.3.


buildAuthenticatedRouter not working correctly in 4.0.2

Hello there,
I am using this package in one of my project and I noticed that after updating to 4.0.2 the authentication is not working as intended.
When i visit the url http://localhost:8080/admin everything works fine, it redirects me to the login route. When i visit http://localhost:8080/admin/(with the / in the end) it just lets me in and i can see the dashboard.
I can also see the the resource urls for example http://localhost:8080/admin/resources/User
I made a small test project so you can test it out.
package.json
{
  "dependencies": {
    "@adminjs/express": "^4.0.2",
    "@adminjs/mongoose": "^2.0.0",
    "adminjs": "^5.6.1",
    "express": "^4.17.2",
    "express-formidable": "^1.2.0",
    "mongoose": "^6.2.1"
  }
}

app.js
const AdminJS = require('adminjs');
const AdminJSExpress = require('@adminjs/express');
const AdminJSMongoose = require('@adminjs/mongoose');
const mongoose = require('mongoose');
const express = require('express');
const app = express();

AdminJS.registerAdapter(AdminJSMongoose);

const run = async () => {
    const User = mongoose.model('User', { name: String, email: String, surname: String });
    const mongooseDb = await mongoose.connect('mongodb://localhost:27017/adminjsissue', { useNewUrlParser: true })

    const adminJs = new AdminJS({
        resources: [User],
        rootPath: '/admin',
    });

    const Admin = {
        email<EMAIL_ADDRESS>        password: "password"
    }

    const router = AdminJSExpress.buildAuthenticatedRouter(adminJs, {
        authenticate: async (email, password) => {
            if (Admin.email === email && Admin.password === password) {
                return Admin;
            }
            return false;
        },
        cookiePassword: 'some-secret-password-used-to-secure-cookie',
    }, null, {
        resave: false,
        saveUninitialized: true
    });

    const port = 8080;
    const adminPath = adminJs.options.rootPath;

    app.use(adminPath, router);
    app.listen(port, () => console.log(`AdminJS is under localhost:${port}${adminPath}`));
}

run();

If you try it with "@adminjs/express": "4.0.1" it will work just fine.

@dziraf This issue was only partially resolved. Authentication to the resources pages are now working as expected, but access to http://localhost:8080/admin/ is still unauthenticated.


Is the document about globals section correct?

For now, this document says:

List value in the resource will replace with the map value from Global.
Example:
SecurityGroupIds of VpcConfig will be set to ["sg-first"]

Globals:
  Function:
    VpcConfig:
      SecurityGroupIds:
        - sg-123
        - sg-456

Resources:
  MyFunction:
    Type: AWS::Serverless::Function
    Properties:
      VpcConfig:
        SecurityGroupIds:
          - sg-first

But, this SAM template attaches 3 security groups( sg-958b48ec / sg-cb8d4eb2 / sg-808e4df9 )  to Lambda.

---
AWSTemplateFormatVersion: 2010-09-09
Transform: AWS::Serverless-2016-10-31
Description: Sample 4

Globals:
  Function:
    Runtime: python3.6
    Timeout: 60
    Handler: index.handler
    VpcConfig:
      SubnetIds:
        - subnet-98cd5bd1
        - subnet-b3cc5afa
      SecurityGroupIds:
        - sg-958b48ec
        - sg-cb8d4eb2

Resources:
  Func1:
    Type: AWS::Serverless::Function
    Properties:
      Policies:
        - arn:aws:iam::aws:policy/service-role/AWSLambdaVPCAccessExecutionRole
      CodeUri: src/handlers/sample-func1
      VpcConfig:
        SecurityGroupIds:
          - sg-808e4df9

I test that behavior with this environments.

Tokyo/N.Virginia regions
aws-sam-local: 0.2.2
aws-cli: 1.14.2 Python/3.6.3 Darwin/17.2.0 botocore/1.8.6

I think list value in the resource will not replace with the map value from global, but will be added to the map value from global. Is this right?

@knakayama Thank you for catching this. It is an error in our documentation. Lists are additive and dictionaries are merged. Feel free to send a PR with that updated. I may be able to fix this tomorrow if I have a couple minutes, if you don't get to it before me.

Hmm, I wonder if this is a doc failure or a failure in the specification. E.g. We SHOULD overwrite instead. Would be interesting to see other's thoughts -- though as of today the two have diverged in what they do so the docs do need to be updated.

List being additive was done on purpose and is a doc failure. In some cases you want this additive behavior. For example:
Globals:
  Function:
    Runtime: python3.6
    Policies:
      - arn:aws:iam::aws:policy/service-role/AWSLambdaVPCAccessExecutionRole

Resources:
  Func1:
    Type: AWS::Serverless::Function
    Properties:
      Policies:
        - some-user-defined-policy-1

  Func2:
    Type: AWS::Serverless::Function
    Properties:
      Policies:
        - some-user-defined-policy-2

I know we had some back and forth on this initially and we ended up going the additive route because of cases like these. I think globals become more powerful this way.

Documentation is updated.

Thanks!


PHP 8.1.0alpha1 - 1 failed test

TEST 62/70 [tests/span_stacktrace_default.phpt]
========DIFF========
     Number of traces: 1
002+ array(1) {
002- array(2) {
       [0]=>
       array(3) {
         ["file"]=>
         string(%d) "%s/span_stacktrace_default.php"
         ["line"]=>
008+     int(14)
008-     int(10)
         ["function"]=>
010+     string(10) "myFunction"
010-     string(4) "abcd"
       }
012+ }
012-   [1]=>
013-   array(3) {
014-     ["file"]=>
015-     string(%d) "%s/span_stacktrace_default.php"
016-     ["line"]=>
017-     int(14)
018-     ["function"]=>
019-     string(10) "myFunction"
020-   }
021- }
========DONE========
FAIL OpenCensus Trace: Default span stackTrace [tests/span_stacktrace_default.phpt]

PHP 8.1 is not officially supported yet. Feel free to add support for it in a PR.

Any update on official support for PHP 8.1? Stable release is a few months old already. ;-)

For what it's worth, I had been running the extension just fine using PHP 8.1. But it does cost quite a bit of performance (~20%) with recent PHP versions, so I have switched to only using the PHP package with manual tracing now.

Good to know, thanks!

Any update on this thread? This error is occurring while running make test for the extension.


Memory usage and PIDs not shown

Running ctop version 0.5, build a87bdce on Debian 8.7. It doesn't show the memory usage and PIDs for me, even when running as root.

If you're referring to the memory column showing "0B/0B", take a look at https://github.com/bcicen/ctop/issues/45

closing for now, feel free to re-open if the issue persists


fix(transformer-directives): accept duplicate class name hashing by hashFn

fix: #2667
When using the transformer class, class names defined by the developer are not allowed to have duplicates, but with classes generated by hashFn, duplicates are completely normal. In the latest update, there was confusion in filtering these classes, resulting in unnecessary duplication errors.

Can you provide more context and also some tests? Thanks

Can you provide more context and also some tests? Thanks
How can I provide context and test cases? I apologize, this is my first time creating a PR, and I am not familiar with the process.

I would suggest you create an issue first, describing that is expected vs happening. The best to provide a reproduction, or a failing test to convince the maintainer it's a bug.

I would suggest you create an issue first, describing that is expected vs happening. The best to provide a reproduction, or a failing test to convince the maintainer it's a bug.

I created new issue: #2667

Seem to related to https://github.com/unocss/unocss/pull/2577, @Techassi do you mind to have a look? Thanks

Yes, I introduced the check to prevent multiple custom class names. Just as the FIXME says, we ideally should also compare the hashed class name. If the hash value matches, we know the styles are the same and in this case we allow duplicate class names.
The fix proposed in this PR fixes the issue, but I don't think this is the right approach. It doesn't allow defining the same custom class names multiple times even if the styles are the same. This is a valid use-case and thus should be possible.

@Techassi I have just added a new commit that thoroughly resolves the issue you mentioned above without needing to change the token structure from Set to Map. Please check if you can utilize this approach.

Sorry for the delayed response. I will look into it!


Mobile browser considerations

The documentation doesn't say whether or not normalize does anything with mobile browsers. Some clarity would be great. Please do let me know, if I totally missed something that's there.

I stand correctly... There is this line: 'It supports a wide range of browsers (including mobile browsers)...'

@wamoyo, hi! Thanks for opening this. It's a good idea to review this topic, since we don't explicitly mention any mobile browser. Would you mind reopening this? Thanks! 😀

Yeah, no problem.

I use xbt to test the two-most-recent handheld-sized and tablet-sized Android and iOS browsers. How might we package that notice?

@jonathantneal, I would start by iOS Safari and Android default browser.

The two main ones will be iOS Safari, and Chrome for Android. The old Android browser is almost gone. It just seems to be Chrome now.

Okay, we will explicitly mention these.

Resolved via https://github.com/necolas/normalize.css/commit/4411f95888e1eacf6dbba66e8d63bb648eafd6fa