Bump to haskoin-core v1.x

Haskoin uses NoFieldSelectors which means we could only access record fields
via explicit pattern matching or in this case using NamedFieldPuns without
resorting to RecordDotSyntax.
This also fixes building the package on GHC 9.4.8.
If we don't want this, an alternative is to keep haskoin-core as is and fix
by adding some constraints to a cabal.project file.

These change are not compatible with previous versions of haskoin. Let's use the CPP to apply the changes conditional on the version.

Ok @GambolingPangolin fixed, I tested by pointing to haskoin-core pre v1.0.0 in a cabal.project.local, but to build there is necessary to also add these constraints in the cabal.project:
constraints:
    -- haskoin-core-0.21.2
    base16 < 1
    -- haskoin-core-0.22.0
    secp256k1-haskell < 1

these are not necessary for building against haskoin-core > 1.0.0 so I did not include them.


Set a canonical URL on all documentation pages that points to the latest docs

I was sure we had an issue open for having documentation pages missing from the Google index, but I can't find it.
After a rather confusing investigation with Google Search Console, I believe our missing documentation pages are being skipped during indexing or excluded from the Google index because we have multiple versions of every documentation set hosted and available.
We should set a canonical URL on every documentation page and point to the latest stable/beta/branch release using the same logic as we have for where the “Documentation” button links to.

Found the "issue" in Discussions:

https://github.com/SwiftPackageIndex/SwiftPackageIndex-Server/discussions/2078#discussioncomment-4044751
https://github.com/SwiftPackageIndex/SwiftPackageIndex-Server/discussions/2078#discussioncomment-4145500
https://github.com/SwiftPackageIndex/SwiftPackageIndex-Server/discussions/2078#discussioncomment-4274739

OK so the first attempt at a fix (#2360) is live for this and results are being tracked in this spreadsheet:
https://docs.google.com/spreadsheets/d/1PZDxI4jRJh3Mc2qCQmVq4Il26HslAzWheffZF3FGruU/edit?usp=sharing
Tracking five packages at their root and at a specific documentation page and I'll check in every Tuesday to see when they all hopefully turn green 🤞

This is not working very well. Google has picked up the canonical URLs on the root of each documentation version but is still selecting the URL without the version in as the canonical (which means that it doesn't index anything as that "canonical" link it's selecting is just a redirect.

We have two possible options next:

The simple option, change the documentation URL on the package page to be the canonical and de-emphasise that redirect.
Proper sitemaps for documentation content, as discussed in #2078.


Belgium vat validation issue

See parent/forked repo: https://github.com/se-panfilov/jsvat/issues/104
I ask to the community, is this something we want ?

Is the question if we want the BE VAT input validation without the 0 to fail or if we want the validation to pass but somehow signal that the initial input was invalid?

Is the question if we want the BE VAT input validation without the 0 to fail or if we want the validation to pass but somehow signal that the initial input was invalid?

I'm also wondering if Belgium is the only country we change such input?
I would suggest having strict validation in any case, without changing the input value.
So validating based on formats:
BE0 + 9 numbers
OR
BE1 + 9 numbers
Regex would be: /^(BE)?([0-1]?\d{9})$/
Making the following valid:
BE0838713666
BE0838713666
BE1838713666
And making the following invalid:
0838713666
0838713666
1838713666
And we leave it to the developers to add it before validating if they would like to validate only numbers of vat:
For example: checkVat('BE0' + userInput)
This would also mean we don't need to change the input nor alert that an input has changed.
But I'm open for discussing this, what is your current use-case?

Like previously mentioned, I've changed Belgium such that the format becomes:
BE + Prefix (0 or 1) + 9  numbers
"BE" prefix currently needs to be present, but can be changed if that is a use case that is needed.
I've added 3 lines for this in commentary with the notice: "BE: Optional Country Code".
Validating without BE could be achieved by: checkVat('BE' + userInput, ...)

A Belgian company number without BE is indeed a valid KBO number (local company registry), but not a correct VAT number that will need the prefix to be present

I'm closing this issue for now, feel free to comment if the community has other concerns about this specific case


Added the path plugin.

This adds the ability set your $PATH from a file, $HOME/.path.

Closing as this is old and likely not to be merged.


Fog dark

I experienced an issue with the fog when testing the 3d Models Sandcastle. This happens when I first orient the camera into the ground (horizon view), and then start zooming out.

@bagnell can you look at this before the 1.16 release?  I suspect this is because of the time of day and the view direction, the blend color is dusk/dawn, but it's strange that it changes when zoomed out.

@bagnell just a reminder that 1.16 is coming up next week.  No one has reported running into this yet so we can push if it is really hard to fix.

Its either a problem with the atmosphere code or the camera collision with the terrain but I haven't tracked it down. This happens in master too. If you go to the same Sandcastle example in master, keep rotating down and the sky will become super bright.

In Camera changing
Matrix4.inverse(camera._viewMatrix, camera._invViewMatrix);
to inverseTransformation fixes both fog and shadows. It looks like the camera vectors are a bit wrong, I'll look into this more but at least here is the easy fix.

Whoops other way around, inverseTransformation to inverse fixes it.

There was a proposed workaround in #3750.


Add NoteTab connector

NoteTab allows to display in Tableau data from Jupyter notebooks

Coverage remained the same at 98.913% when pulling a255a85b227c2f36b05f8f1f9d3f82eedffe112e on btribonde:patch-1 into 4e85e2a07ca60b692357faf6d56e20a15a3e1b69 on tableau:master.


Error chdir crashes

/usr/lib/haxe/std/neko/_std/Sys.hx:87: characters 2-24 : Error chdir /Applications/Sublime
tools/haxelib/Main.hx:309: characters 17-43 : Called from
tools/haxelib/Main.hx:1508: characters 2-22 : Called from
--macro:1: character 0 : Called from
Aborted

Trying to use haxelib on 3.2.0-rc.3 version, is irregularly broken.
It looks related to paths with spaces in them, as the only time I have this issue is when that is the case.
#191 could be related, I have used haxelib setup to a custom location.
#197 mentions this, but somehow ends with a PR for HG support, I have no idea how those relate.
This is becoming rather problematic in practice, as it affects all IDE's being able to query haxelib reliably, returning invalid results and sometimes errors in "unrelated" code, because the assumption is that haxelib isn't returning errors on stdout.
I'm filing the issue so that I can also look into it, hopefully when I have some time, but since there is so much going on behind the scenes with haxelib right now that isn't user facing, I have to assume it might already be fixed, somewhere.
Advice welcome!

Definitely related to spaces:
$ mkdir test
$ cd test
$ haxelib run something
//works
$ cd ../
$ mkdir "test test"
$ cd test\ test/
$ haxelib run something
//unrelated errors

Here's a paste from the above:
sven$ pwd
/Users/sven/dev/test test
sven$ haxelib run flow
Unknown command test
Haxe Library Manager 3.2.0-rc.3

Also crashes : missing dev paths.
haxelib dev libname ~/some_path/
rm -rf ~/some_path/
haxelib run libname
Error chdir ~/some_path/

Can you please open a separate issue for the latter and also make
suggestions as to what the behavior should be in that case?
On Sat, May 2, 2015 at 6:03 AM, Sven Bergström<EMAIL_ADDRESS>wrote:

Also crashes : missing dev paths.
haxelib dev libname ~/some_path/
rm -rf ~/some_path/
haxelib run libname
Error chdir ~/some_path/
—
Reply to this email directly or view it on GitHub
https://github.com/HaxeFoundation/haxelib/issues/207#issuecomment-98299584
.

I'm still trying to figure out exact problems without spamming the list, but sure I can move it to another issue.

Yep, i had this problem. I removed the space in a folder name and that fixed it. Thanks @underscorediscovery! (this was on OSX 10.7, haxelib 3.2.0-rc.3)

Just also bumped into this problem. My way of fixing it was to put double quotes around the working directory that is passed to haxelib in the haxelib executable script, like so:
exec haxe -D haxelib_client=3.2.0-rc.3 --run tools.haxelib.Main -cwd "$OLDCWD" $@ (instead of simply -cwd $OLDCWD)

As I understand, this too is now "fixed" by the fact haxelib is not a shell script anymore, but a nekoboot-ed executable (#291)


feat: enable stateful workers

What are we doing?
Our current SDK has no concept of state. It simply generates messages that are sent to the renderer, so that it updates the scene in some way. This works, but it has some disadvantages. As part of the builder in-world feature, we want to start considering the scene's state as a first class citizen, and share it across players. By doing so, we will be able to support multiplayer world edit tools, such as the builder in-world.
General idea
Right now, each scene runs in a different webworker. We decided to create a new webworker that runs completely independent from the others, so that we can switch between them when the user enters and leaves edit mode. The new webworker will contain the scene's state, and keep it in sync with the renderer. It will also be in charge of saving and retrieving the state on a semi-persistent storage.
Implementation details
We took the current SceneWorker and created an abstraction for it. This implied hiding a lot of exposed properties behind class methods. Then, we took the current implementation and called it SceneSystemWorker. The new worker is called StatefulWorker.
When the user enters edit mode, it will send a message to kernel. Kernel will then kill the scene worker, and start a new stateful one. The opposite will happen when the users leave edit mode.
We are now storing the state in local storage. This was mainly done to enable an easy integration with the builder in-world feature, without needing to have deploy access to a LAND. The state is stored in a json format, in an easy to read format. We could change this in the future if we want to, but until the feature is stable enough, it will make things easier.
How to test it locally

Run kernel
make watch
Go to http://localhost:8080/?DEBUG_MODE&position=-1%2C-51. You will see a regular scene being executed.
Open the console and execute
var sceneId = 'Qm2uuMLmJKSZ1Z4PUnDgxqnvWnVTMGDaJmdke98cTKWHSxVgg649rTiMZojqcTj2ft1X4mb7uZSn11Xi7LBBMtUjTV'
Finally enter stateful mode by executing on the console:
browserInterface.ControlEvent({eventType: 'StartStateMode', payload: {sceneId}})
You will see how the scene unloaded, and a new version of the scene loads. That version is defined in a descriptive way.

From there on, you can trigger the following actions:

Leave edit mode:
browserInterface.ControlEvent({eventType: 'StopStateMode', payload: {sceneId}})
Add entities:
browserInterface.SceneEvent({sceneId, eventType:'stateEvent', payload: { type: 'AddEntity', payload: { entityId: 'E2', components: [{ id: 1, data: { position: { x: 8, y: 0, z: 15 }}}, { id: 54, data:{ src: 'models/BlockDog.glb' } }]}}})
Modify components:
browserInterface.SceneEvent({sceneId, eventType:'stateEvent', payload: { type: 'SetComponent', payload: { entityId: 'E1', componentId: 1, componentData: {position: { x: 8, y: 0, z: 1 }}}}})
Remove entities:
browserInterface.SceneEvent({sceneId, eventType:'stateEvent', payload: { type: 'RemoveEntity', payload: { entityId: 'E2' }}})
Remove components:
browserInterface.SceneEvent({sceneId, eventType:'stateEvent', payload: { type: 'RemoveComponent', payload: { entityId: 'E1', componentId: 1 }}})
Store the current state in local storage:
browserInterface.SceneEvent({sceneId, eventType:'stateEvent', payload: { type: 'StoreSceneState', payload: { }}})

It is important to mention that whenever you execute one of the above, you won't see it reflected on the renderer. This is because we are simulating changes that happen on the renderer, so it makes no sense to send them back. If you want to see the changes reflected, then you have to:

Save the changes
Reload the scene and enter edit mode, or directly enter edit mode again

Open questions
Components support
With this PR, we are only supporting two types of components: Transform and GLTFShape. The current builder also supports Script and NFTShape. Which ones do we want to support for the builder in-world feature?
Files
We need to figure out how to handle files, such as gtlfs. We are currently only syncing state data between kernel/worker & the renderer
Component data
We need to agree on what the renderer will send to the worker. Will it send the whole component, or will it send just the updates? We should use the same logic for syncing between players in the future.
Next steps

Agree on open questions and handle those changes in future PRs
Start sending the scene's state to content server (when not in DEBUG_MODE)
Generate the scene's code, so that it is compatible with the current way of executing a scene

@nchamo I had to revert this PR merged in master (https://github.com/decentraland/explorer/commit/41070c3c8f65651c4d208657ae99d2797956bbdc) because it breaks something related to the playerPosition used from the SDK.
It is reproduced with 100% repro rate at https://explorer.decentraland.zone/branch/feat/enable-stateful-workers/index.html?ENV=org&position=-53,2
you'll see that when the monster finishes spawning he always goes to the west (instead of going to the player, I assume it is going to the 0,0,0). Also, Mika's eyes that should point to the nearest page are always pointing to the east, so the problem is probably with the player position. You can see that it works well in prod https://explorer.decentraland.org&position=-53,2
I took an hour to debug but didn't find what's provoking the bug.
I restored this PRs branch but I can't re-open the PR probably because I didn't create it, not sure why.


Add support for Fortran

Adding a new lua file to support Fortran language.
This commit covers at least basic Fortran structures.
I am really enjoying this plugin.
Thank you

great, thank you!


Retrospective MCMC squid plots done - You need to update r4ss

Done here: 7f1f1d3bb3d437f2a700df3b2fbe3ea64f7b42ab
I had to fix r4ss here: https://github.com/pacific-hake/hake-assessment/commit/7f1f1d3bb3d437f2a700df3b2fbe3ea64f7b42ab
Note that change is on my fork of r4ss so you'll have to pull from there: https://github.com/cgrandin/r4ss/tree/bioscale
I think the command is remotes::install_github("cgrandin/r4ss", ref = "bioscale")

[ ] Kelli
[ ] Andy
[x] Aaron
[x] Chris

@kellijohnson-NOAA - If/when you want to include this in the official r4ss code, let me know and I will send a pull request.
The cohort recdevs in the MCMC version appear to stabilize a year sooner than in the MLE version..
Here is the MCMC version:

And the MLE version:

Thanks @cgrandin. I am looking now at merging it in, which I can do without a pull request. Just trying to think about the repercussions of renaming main recruitment deviations to late deviations. Also, for the squid plot ... should we subset the mcmc differently rather than renaming? Seems like it would be better to just find the years rather than if they are labelled main or late.

@kellijohnson-NOAA by all means if you can get that to work go ahead. I was trying to leave as much as possible the r4ss code as it was. I doubt anyone else is using the retrospectives with MCMC so my thought is that the SSplotRetroRecruit function changes would be fine. I was more worried about changes to SSsummarize.

I can actually take another look in a bit if you have other stuff to do, now that you mention that it may be a better way.

I am in it right now. merge.duplicates is used for more than the recruitments, so I am just trying to think of a way that doesn't break people's code. Also, names might be different based on how you ordered your models in the list b/c the modification takes the name from the first element. Right now, the code works, so we can just roll with it; I will just needs to think of how to best modify it for ALL models going forward is all.

BTW thanks for using :: :)

That was where I knew you might have a better idea. You could just have two merge functions, one for recruitments and the original ones for the others. Then just change the call to it at the end of the Sssummarize function. I knew you’d like the ::

What about tidyr::separate? And we can drop the stuff before the first "_", then downstream greps would still work I think.

Sure, that’s worth a try. I didn’t know about tidyr::separate, looks useful

You can also use mutate(x = sub())

late-period years without data and forecast period recruitment deviations

In MLE mode are 0.0 unless they are set to be the mean of a period, which is a new feature in SS that we are not using.
Any late-period year without data (2020 for the 2021 because there are no age-0 age data) or forecast-period year have a recruitment deviation of zero in MLE.

MLE bias adjustment to adjust recruitment deviations to be mean unbiased

MCMC can fully explore the lognormal domain of each recruitment deviation and doesn't need bias adjustment, thus there is estimated uncertainty or recruitment deviations in this period.
MLE recruitment deviations are penalized towards zero, thus for years with no information in the data, these will be overly penalized and the mean will be smaller than it should be.
Calculations based on median or geometric mean recruitment will underestimate mean biomass because the expected arithmetic mean depends on the geometric mean and the variability of the lognormal distribution.
In the ramp down, i.e., last_yr_full to first_recent_yr_nobias, there will be a small bias adjustment applied to the recruitment deviation which penalizes it towards zero; sometimes this penalty will make it where the recruitment is not large enough to remove catches.

Positive recruitments in forecast period are often a result of the model needing enough biomass to support catches.

Does anyone think that I should put a sentence in the document or just leave it as is? I tried to find a good place to put it, but there is only half of a sentence in the main text that actually references this figure.

This is interesting; and wrt the MCMC and fully exploring the lognormal domain of each recruitment deviation statement - I think that help me explain our observations for #747.  I think basically we just need to explain it.  If we were going to put it somewhere maybe a sentence in the figure caption (????) explaining the phenomenon.

Good sleuthing Kelli! Maybe worth mentioning somewhere (yes, maybe just in caption) if you like.

Great description @kellijohnson-NOAA. I think that since we are no longer using MLE and the MCMC fully explores the domain of the deviations we don't need an explanation in the document. Previous years' documents would have benefited a lot more from this. It's a great piece to keep at the ready I think. Thanks for delving into it.


Images not uploading to s3

Hi @thaiphan ,
I have installed your extension and followed the steps mentioned in installation guide.
1] After running php bin/magento s3:storage:export, the console says that it's uploading the files but nothing is being uploaded to the S3 bucket.
2] I have tried to insert the images in static block from admin it throws the below error.
Error executing "PutObject" on "my bucket path" AccessDenied (client): etc
All credentials are fine and its working from CLI.
Could you please let me know the reason why it is not working as expected.
If this is the permission issue then please mention permission details
Thanks

HI @thaiphan
I have same issue on Magento 2.2.2 uploaded extension via composer. S3 has full access

when try to save image from backend shows error

when try to upload new image shows error

After running php bin/magento s3:storage:export, the console says that it's uploading the files but S3 bucket is empty.

Hi @vijaydcyb
Sorry for taking so long to reply.
Reading the error that you have provided, it looks like the bucket you have provided it wrong. It should not be "my bucket path". It should be whatever the name of the bucket you've specified in S3 is!
Can you please update your config and tell me if that fixes it?
Regards,
Thai

I have faced the same issue now. All credentials are perfect. When I run the export command images uploaded successfully but images not showing on my bucket. Can you tell me what the issue there.

I've had the same issue as well. Ensure you are using the credentials from Access Keys in "My Security Credentials" In addition, the bucket needs to have public permission settings allowed to be changed. This is shown in the screenshot.

I'm having the same issue. However the following exception is being reported when uploading files to the S3 bucket (in the importFiles function of \Thai\S3\Model\MediaStorage\File\Storage\S3.php)
Unserialization failed: Decoding failed: Syntax error

@thaiphan please help me also below error.
Unserialization failed: Decoding failed: Syntax error

@stevenlavine @jyotinykaa
Yeah, apparently Magento changed the way serialisation worked in 2.2. Some guy made a change request to make it work but then it broke for 2.1. I'm having trouble making it work for both versions. I'll get it right eventually! Please hang tight!

@thaiphan can you please share the previous build which doesn't contain serialization fixes for 2.2

@jyotinykaa You can use https://github.com/thaiphan/magento2-s3/releases/tag/1.3.0

@thaiphan can u tell me how to install this package because we install this package with composer and it takes the master branch.

Hey @jyotinykaa
You can run
composer install<EMAIL_ADDRESS>

@thaiphan  we get following error.
[InvalidArgumentException]
Could not find package<EMAIL_ADDRESS>at any version for your minimum-stability (alpha). Check the package spelling or your mi
nimum-stability

S3 Credentials updated as per your advice, As well as Default IAM role assigned the particualr instance should talk Defaulty to s3  bucket Get object (PUT|PUSH|PULL|GET|POST)
pub/static/version1560817443/adminhtml/Magento/backend/en_US/Magento_Catalog/images/product/placeholder/small_image.jpg

Image upload not happening when product image adding to magento2 1/5 it was only one image uploading to the product image , other image showing the static content images. also after upload to fron end webstore it was buffering very long time.

@thaiphan can you update anything , we have been installed the as er your wiki installation steps , Product images not uploading directly from admin  console , Region of bucket -Mumbai & the same region of EC2 Instance.

For me the issue was my bucket ACL wasn't correct. During the sync it adds a setting to each object 'ACL' = 'public-read' but your bucket ACL must be configured to allow this. So on the Access Control List tab, for Public Access enable List Objects for Everyone.


soundness of noncumu (realizability)

I don't have much more to say other than these minor points.


Optimize product and vendor load times

This PR has two different parts to it. The first part is some optimizations to make the vendor and product pages load faster. The result of the optimizations in the first commit are as follows:

Without any optimizations: 112516ms (10340 sql queries in vendors)
With "includes" optimizations 80057ms (6384 sql queries in vendors)

Additionally the tmp:clear rake task is now enhanced to also rebuild the cache right away after it is cleared. This means that in reality after running tmp:clear (which is run after every upgrade) the load time should be about 7868.5ms with no sql queries run. I believe the additional time is due to the cache being actually loaded into memory. Subsequent reloads are in the < 1s range.
The second part of this is the infinite scrolling. Due to the design of the vendors page it was not possible to implement infinite scrolling on it, the problem being that sorting would no longer work correctly if additional elements were being added as the user scrolled. This problem was mitigated by the above optimizations. For the products page it was possible to implement actual infinite scrolling which helped the performance of that page on a cold cache considerably.
At this point I have not implemented any tests for the infinite scrolling code, if those are desired I can attempt to add those in as well.
@ehathaway The reason I included you on this specifically is due to the product infinite scrolling since it does affect the UI behavior a bit.

Converted to js, everything seems to still work fine.


Fix processor passing in CreateLocalTracks options

closes https://github.com/livekit/track-processors-js/issues/50

need to investigate why the tests are failing with this.


Conflict between alpha.nvim and preview feature

Greatest feature!
When there's no open buffer (such as starting with the alpha-nvim greeting), disabling preview causes some errors:
Other than that, it works great.
E5108: Error executing lua: ...rt/neo-tree.nvim/lua/neo-tree/sources/common/preview.lua:150: Vim(append):Error executing lua callback: ..
.are/nvim/site/pack/packer/start/alpha-nvim/lua/alpha.lua:550: Cursor position outside buffer
stack traceback:
        [C]: in function 'nvim_win_set_cursor'
        ...are/nvim/site/pack/packer/start/alpha-nvim/lua/alpha.lua:550: in function 'draw'
        ...are/nvim/site/pack/packer/start/alpha-nvim/lua/alpha.lua:566: in function 'redraw'
        ...are/nvim/site/pack/packer/start/alpha-nvim/lua/alpha.lua:473: in function <...are/nvim/site/pack/packer/start/alpha-nvim/lua/a
lpha.lua:473>
        [C]: in function 'nvim_win_set_buf'
        ...rt/neo-tree.nvim/lua/neo-tree/sources/common/preview.lua:150: in function 'setBuffer'
        ...rt/neo-tree.nvim/lua/neo-tree/sources/common/preview.lua:73: in function 'revert'
        ...t/neo-tree.nvim/lua/neo-tree/sources/common/commands.lua:400: in function 'func'
        .../packer/start/neo-tree.nvim/lua/neo-tree/ui/renderer.lua:695: in function <.../packer/start/neo-tree.nvim/lua/neo-tree/ui/rend
erer.lua:693>
stack traceback:
        [C]: in function 'nvim_win_set_buf'
        ...rt/neo-tree.nvim/lua/neo-tree/sources/common/preview.lua:150: in function 'setBuffer'
        ...rt/neo-tree.nvim/lua/neo-tree/sources/common/preview.lua:73: in function 'revert'
        ...t/neo-tree.nvim/lua/neo-tree/sources/common/commands.lua:400: in function 'func'
        .../packer/start/neo-tree.nvim/lua/neo-tree/ui/renderer.lua:695: in function <.../packer/start/neo-tree.nvim/lua/neo-tree/ui/rend
erer.lua:693>

Originally posted by @barreiroleo in https://github.com/nvim-neo-tree/neo-tree.nvim/issues/482#issuecomment-1217084511

@barreiroleo @mrbjarksen
I don't have alpha.nvim, but I'm pretty sure the fix I just pushed will prevent this error. Can you give it a try?

After update and reenable the preview command, the issue come up again.
E5108: Error executing lua: ...rt/neo-tree.nvim/lua/neo-tree/sources/common/preview.lua:153: Vim(append):Error executing lua callback: ...are/nvim/site/pack/packer/start/alpha-nvim/lua/alpha.lua:550: Cursor position outside buffer
stack traceback:
        [C]: in function 'nvim_win_set_cursor'
        ...are/nvim/site/pack/packer/start/alpha-nvim/lua/alpha.lua:550: in function 'draw'
        ...are/nvim/site/pack/packer/start/alpha-nvim/lua/alpha.lua:566: in function 'redraw'
        ...are/nvim/site/pack/packer/start/alpha-nvim/lua/alpha.lua:473: in function <...are/nvim/site/pack/packer/start/alpha-nvim/lua/alpha.lua:473>
        [C]: in function 'nvim_win_set_buf'
        ...rt/neo-tree.nvim/lua/neo-tree/sources/common/preview.lua:153: in function 'setBuffer'
        ...rt/neo-tree.nvim/lua/neo-tree/sources/common/preview.lua:78: in function 'revert'
        ...t/neo-tree.nvim/lua/neo-tree/sources/common/commands.lua:379: in function 'func'
        .../packer/start/neo-tree.nvim/lua/neo-tree/ui/renderer.lua:696: in function <.../packer/start/neo-tree.nvim/lua/neo-tree/ui/renderer.lua:694>
stack traceback:
        [C]: in function 'nvim_win_set_buf'
        ...rt/neo-tree.nvim/lua/neo-tree/sources/common/preview.lua:153: in function 'setBuffer'
        ...rt/neo-tree.nvim/lua/neo-tree/sources/common/preview.lua:78: in function 'revert'
        ...t/neo-tree.nvim/lua/neo-tree/sources/common/commands.lua:379: in function 'func'
        .../packer/start/neo-tree.nvim/lua/neo-tree/ui/renderer.lua:696: in function <.../packer/start/neo-tree.nvim/lua/neo-tree/ui/renderer.lua:694>

Could it be that the issue is just inconsistent, and that's why it seemed to be fixed? You just got lucky on the last try?

I'm looking at the code for alpha.nvim, and I think this is really a bug in that project that was just revealed by this project. This is probably the only situation where the alpha.nvim is navigated away from and then back to again. I see three possible solutions:

Set redraw_on_resize = false in your alpha.nvim config, this will disable the problematic code block.
Open an issue on the alpha.nvim project so that the set_cursor call can be changed to a pcall or otherwise checked for validity before being run.
I can put a special handler in place to never revert the buffer when alpha.nvim would be the target.

I have a 4th option: Don't use alpha anymore, haha
It isn't a necessary plugin really. For someone else, it might be helpful if alpha.nvim resolves their bug. If it's not your responsibility, don't care about it.

I have a 4th option: Don't use alpha anymore, haha
It isn't a necessary plugin really.

In that case, I'll just leave the issue open for others to find. If there is a lot of interest I might do option 2 or 3.


Brazil is not recognized as a country

Describe the bug
I'm not sure if I'm not using geograpy correctly or if this is an issue. Brazil is not extracted at all using get_place_context with an expression and considered to be an US region when passed on its own.
Additionally, Aorus, which is definitely not a place name, is recoginzed as a geoEntity when using the extractor - instead of Brazil.
>>> geograpy.get_place_context(text='Aorus league 2021 Brazil').countries
[]

>>> geograpy.get_place_context(text='Aorus league 2021 Brazil').other
['Aorus']

>>> e = Extractor(text='Aorus League 2021 #1 Brazil')
>>> e.find_geoEntities()
['Aorus']

>>> e = Extractor(text='Brazil')
>>> e.find_geoEntities()
['Brazil']

>>> geograpy.get_place_context(text='Brazil').countries
['Brazil', 'United States']

>>> geograpy.get_place_context(text='Brazil').regions
['Brazil']

Environment (please complete the following information):

OS: Ubuntu 20.04
Python Version: 3.8

@drdarina  Thank you for reporting this. The Extractor is not using the latest information provided by geograpy3. You might want to use the locator functionality instead and be aware that there is of course a need for disambiguation for place names. E.g. "London/Ontario" is different then "London/UK". Thats why we provide disambiguation helping information e.g. by adding the population info. We have the same problem for our own usecases in scientific event disambiguation so you might want to stay tuned. The Aorus match is probably an issue with the underlying library we are using.


Feature/review findings

:tada: This PR is included in version 1.3.0-rc.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


TaskExecutionListener.afterExecute sent long after task completes when Workers are used.

When using
https://docs.gradle.org/current/javadoc/org/gradle/api/execution/TaskExecutionListener.html
the afterExecute() method javadoc's are clearly stating that the callback will be called immediately after the task completes.
However if the task spawns a few Worker items and does not wait for their completion the afterExecute() will be called at random times and certainly long after the last worker completed (which should represent the logical completion time for the task).
It seems the event is only sent once Gradle is looking for the next task to pick and is updating the outstanding "running" ones.
The information in the Gradle scans is also incorrect, making task profiling incorrect and unpredictable.

Just a heads up. Workers are turned on by default in 3.5 canary 12. This means console output and build scan are going to start showing wrong data because of this.

A task isn't complete until all of its worker actions have completed and its task actions have completed. The event fires once this has happened. This way, the timing information is actually correct.

That is not what we are seeing.
Here's a scenario representing what we see.
Let's say task A uses workers and is a dependency of B which has other dependencies that run long after A is done. What we see is A getting its end event fired just before B starts rather than when A's worker end.
We show some traces using our own profiling code which tracks a task actions and workers vs a scan of the same build. In our profiling code we actually correct (in post-processing) the end event to the task to be the end of the latest task action or workers.
I'll send you details.

The observed behaviour can be explained by the fact that Gradle will always acquire the project-mutation lock before completing a task action.
So in the example above:

After task A submits the work items, it releases the project lock
task A1 (another dependency of taskB) grabs the lock and starts executing
All work items of task A complete, but task A must wait task A1 to complete so it can acquire the project lock, collect the failures and fire the "complete" event.

With the current implementation, Gradle will always acquire the project lock in order to complete the task action. This behaviour could be improved: there are certainly cases where this is not necessary (eg. when no user code will be invoked after the task action completes).
However, the handler for TaskExecutionListener.afterExecute has access to the Project object, and thus Gradle must acquire the lock before such a listener is invoked.

That makes sense. The question is whether there are any plans to change this?
It makes the gradle scan output very misleading.

We are definitely planning on fixing build scans so that they correctly report task execution times, including the time spent waiting for workers to complete, waiting for locks, etc. We'd also like to make additional timing information available via org.gradle.tooling.events.ProgressListener.
We don't have current plans to address the issue reported here: TaskExecutionListener.afterExecute sent long after task completes when Workers are used.

@ducrohet @jdochez  It turns out that fixing this at the build scan level is not really practical, so we're instead going to fix the issue directly in Gradle (#9611). In essence, this will mean that as soon as the last work item completes the task will be marked as complete, assuming that no additional work is configured for the task.
If the task has additional actions configured (e.g an extra doLast), or if a TaskExecutionListener is added to the graph, then we will need to reacquire the project-mutation lock prior to completing the task. In these cases, the current behaviour will remain unchanged.
Since it appears that you are using a TaskExecutionListener in the Android plugin, we'll need to find an additional fix in order for you to benefit from this improved behaviour.  So I'm curious: what do you use a TaskExecutionListener for in the Android plugin? (Please link to the sources if that's easy)
Depending on the requirements, we might decide to add some additional events to org.gradle.tooling.events.ProgressListener, or we might choose to add a new TaskExecutionListener API that does not provide access to the backing Project instance.

@bigdaz , we use it to measure task execution spans. This is useful internally to create chrome traces but also for users who opted in, we upload task execution span data to our server and create performance/usage graphs from it.
Find code there and in associated classes in the same package.
let me know if you need more details.

@jdochez Thanks. There's already a Tooling API mechanism for getting the task start/finish times without requiring a task listener. Is there a reason you couldn't use that? Are you collecting this data for build invocations that are not triggered by the Tooling API?

@bigdaz That's correct, first it predates the Tooling API mechanism you referenced and second, a lot of our users build from the command line and we want those numbers. Having said that, we have worked around internally the issue I initially filed so I cannot say we are in need of a solution for the TaskListener implementations. As long as the build scans are correct, feel free to close this.

There's already a Tooling API mechanism for getting the task start/finish times without requiring a task listener

Is it possible to register this ProgressListener inside a custom plugin?
We collect high-level build metrics in it.


 Please integrate a suitable easter egg into your environment.
Cool website. Will be in touch again soon!

easter eggs will be a Q1 priority! thanks for kind words


should fix #8593

should fix #8593 please take a look

@brettsmason can you take a look?

Yep will take a look when I'm home - sorry been a busy week!

I can confirm this works correctly, thanks @designerno1!
I will merge this now and I'm going to add a visual test to support it.


No available for any of my Devices

I tried to install this app from the Play Store and even though I have the OnePlus One updated, it says it's not available for my phone.
Location: México.

Hi, yelrado!
Right now, we have limited availability and are exploring options for expanding. I'll let you know when we have an update on this.
Thanks for reaching out!
-Allison

Good news
Mimicker Alarm is now available in Brazil, Colombia, Mexico, Russia, UAE (support for English only). You can download it on the Google Play Store:
https://play.google.com/store/apps/details?id=com.microsoft.mimickeralarm
Thanks again for contacting us!
-Allison


ReflectingConverter does not support getters that aren't backed by a field

I am building a POC to prove that I can support multiple output formats from
one service with minimal changes.  I am using both Spring HATEOAS and Siren as
my two test formats.  For all intents and purposes, the Resource objects that I
create are identical EXCEPT that for HATEOAS I need to extend ResourceSupport
and for Siren4j I need to extend BaseResource.

As a result, I could end up with a lot of code duplication.  So I thought I
would extract the core object info into a delegate object.  Then each resource
would implement the same interface and use the delegate as the backing object.
Then the resources can have the same signature, but extend from two different
objects.

The problem is that the ReflectingConverter calls
ReflectionUtils.getExposedFieldInfo(clazz) which only processes getter methods
if it can find the Field reference.  Further, the @Siren4JProperty annotation
only supports use on FIELD where as the @Siren4jPropertyIgnore supports both
FIELD and METHOD.

I think that if @Siren4JProperty supported METHOD as well, then the
getExposedFieldInfo could be amplified to use the property as assigned to the
method or field.  You'd need to establish a priority in case someone put the
annotation in both places.

What steps will reproduce the problem?
1. Create a resource that extends BaseResource
2. This resource should have getters that are not backed by class fields
3. Attempt to RefelctingConverter.newInstance().toEntity(resource)

What is the expected output? What do you see instead?
I expect any non-ignored getter to be included in the property collection of
the Entity object.  None of the getters that do not have a field are
represented in the final Entity.

What version of the product are you using? On what operating system?
1.0.11
jdk1.7.0_51 on Win7

Please provide any additional information below.
Here is a ridiculously simplified example.  Like I mentioned above, the purpose
would be to have another ErrorResource impl that extended ResourceSupport from
Spring HATEOAS.

public interface IErrorResource {
    Integer getHttpStatusCode();
    void setHttpStatusCode(Integer httpStatusCode);
}

public class BaseErrorResource implements IErrorResource {
    private Integer httpStatusCode;
    @Override
    public Integer getHttpStatusCode() {
        return httpStatusCode;
    }
    @Override
    public void setHttpStatusCode(final Integer httpStatusCode) {
        this.httpStatusCode = httpStatusCode;
    }
}

@Siren4JInclude(Include.NON_EMPTY)
@Siren4JEntity(name = "error")
public class ErrorResource extends BaseResource implements IErrorResource {
    private final IErrorResource delegate = new BaseErrorResource();

    @Override
    public Integer getHttpStatusCode() {
        return delegate.getHttpStatusCode();
    }
    @Override
    public void setHttpStatusCode(final Integer httpStatusCode) {
        delegate.setHttpStatusCode(httpStatusCode);
    }
}

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 17 May 2014 at 12:30

1
Currently I am making proof of concept for using immutables as Siren resources. It works fine for simple types (Strings, numbers) that have no need to be annotated with Siren4JProperty, but for complex user-defined types I cannot use Siren4JProperty on methods and thus they are skipped from siren resource.

Implemented support for methods not backed by fields. See PR.

Will be fixed in version 2.0


Add cookie to store current URL location

Add cookie to store current URL location

@swatikode Per Swati, cookie isnt the option to go for storing GitHub Releases due to limit in storage.
So we will be going with localStorage: https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage

There is no immediate need for this, we will reopen when there is a relevant use case


Easyrsa version range

Pull Request (PR) description
This pull request addresses 3 problems:

Since easy-rsa version 3.0.3 the name of the easy-rsa configuration file did change from "openssl-1.0.cnf" to "openssl-easyrsa.cnf"
The following is a link to the corresponding commit:
https://github.com/OpenVPN/easy-rsa/commit/e8cd6c980742bb86c34286e655346778275cc36d.
To tackle that problem I would like to introduce easy-rsa version ranges and change the file name if a version above 3.0.3 is used.
I did also run into a problem with the "./easy-rsa build-server-full" command which opened an input prompt, which could be suppressed using the "--batch" option
The whole openssl output with text gets copied to the client configuration file. I've added a exec resource which runs the "openssl" command with the "-noout" option to suppress the unnecessary text output.

@bastelfreak Could we get a review please? Thanks :)

@fraenki I cannot merge this with the failing jobs. Can you pick up https://github.com/voxpupuli/puppet-openvpn/pull/441? We need to get the latest modulesync in, afterwards we can drop the EoL operating systems, that should get the pipeline green again. I currently don't have the time to work on it.


refactor: avoid redundant map

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

#442  👈
#440
#439
#438
#437
#436
#435
#434
master

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

Join @rphmeier and the rest of your teammates on  Graphite

Merge activity

Oct 10, 11:03 AM EDT: A user started a stack merge that includes this pull request via Graphite.


Reply service

A webserver that handles HTTP and Websockets
Clients create a WS connection, asking for reply of an upload
Server keeps the client holding, until it receives a CloudEvent
Then it sends the prediction to the client over WS

Note: service is implemented to run independently, and a test UI is available at /test.
Not included:

Actual trigger
Actual integration with the predictions

cc @pierDipi


[RESOLVED] Interface eth0(): High error rate (>2 for 5m)

Problem started at 11:42:29 on 2023.05.18
Problem name: Interface eth0(): High error rate (>2 for 5m)
Host: S100-Primario
Severity: Warning
Operational data: errors in: 0, errors out: 0
Original problem ID: 20893
Event details in Zabbix: http://<IP_ADDRESS>/tr_events.php?triggerid=23483&eventid=20893

Problem has been resolved in 3m 0s at 11:45:29 on 2023.05.18
Problem name: Interface eth0(): High error rate (>2 for 5m)
Host: S100-Primario
Severity: Warning
Original problem ID: 20893


Have you seen CoC?

Hi Greg! Have you seen https://github.com/neoclide/coc.nvim? I think it's better than deoplete in every aspect. I just wonder your opinion about them because looks like you still use deoplete.

I believe your custom completers about your snippets? If it's so, coc has its own snippet engine that supports UltiSnips syntax without installing UltiSnips plugin. This is a big plus for me because there shouldn't be any conflict between snippet plugins whatsoever.
I used to use deoplete but generally what I like about coc is; it works out of the box, it seems fast, and supports language extensions since you don't need to deal with language servers.

I believe your custom completers about your snippets?

I do have a bunch of UltiSnips snippets, but the completers — sources actually — I'm thinking of are in this directory; specifically, one for completing links to wiki articles when editing Markdown files in my website repo, and one for completing email addresses while editing Mutt emails. So migrating is likely to be a bit costly (I already migrated once, from YCM), so I'm pretty conservative about switching.

@wincent
coc is very friendly to neovim's floatwindow support, coc supports lsp, so its experience is based on the language server, if the language server is done very well you will feel how good the coc is, and transplanted a big Some of the features that vscode has, coc has a lot of extensions that can reduce a lot of plugins, and most importantly, coc is faster than deoplete.

Yeah. LSP is great. I'm using LanguageClient-neovim for that.
I have tried out CoC but didn't notice any speed improvement over deoplete, so it didn't seem worth the switch; the one time I did see a regression in deoplete performance, it was rapidly fixed. I'd love to hear more about your speed claim though. If it really were provably faster I'd consider switching, even though I already have an investment in custom deoplete completers like I commented earlier.
Seems there are other ways to get the floating window preview. For now I've been using the standard preview in Vim but I might try it out
I have a colleague at work who tried CoC a bit more seriously than I did (I just tried it for a few minutes, he tried it for a few days); he ended up switching to deoplete + LanguageClient-neovim because apparently he was seeing issues with the background processes launched by CoC (too many of them).
On the balance, my preference is to keep something that works well (because I rely on this set-up) than be an early adopter of an interesting but fast-changing upstart. I'm not ruling out switching to CoC in the future though; just saying that I want to wait until the advantage it compelling.

@wincent   thanks for your replay .
I have used deoplete + LanguageClient-neovim too, and there are too many problems with their cooperation. At present, I have seen a lot of things. The author of coc used to use  LanguageClient-neovim for a while, and was very disappointed with its performance, so he made coc. Coc support for lsp is more complete, all lsp features coc are supported. more importantly. The patch for the completed floating window is provided by the coc author, so I believe that the coc support will be better. Regarding speed, I write more about golang, golang does not have a good languageserver, but if you write js, I believe that coc-tsserver will bring you a better experience. I am not familiar with other languages, so I can't evaluate them and the performance of coc.

The corresponding support for the floating window was added to LanguageClient-neovim in https://github.com/autozimu/LanguageClient-neovim/commit/53ce2fee7d24dd9262ea783908e2edebc71635dc

Probably not going to take any action on this at this time. Some context: https://youtu.be/8PZZkIr5Dcc


Use serde, schemars to make structure output code easy

Use serde and schemars to write structure output example.

Tested in local:

Relating issue: https://github.com/64bit/async-openai/issues/302


Wrong links on dmarc-metrics-exporter pyp.org module page

Hi,
The Homepage and Repository links on the pypi.org page currently point to the doveseed repository instead of this one.

Classic copy&paste mistake, thanks for letting me know.

Classic copy&paste mistake, thanks for letting me know.


can't npm install because appears to be git repo

node_modules/@dorgtech/daocreator-lib/node_modules/websocket: Appears to be a git repo or submodule.

probably because of old version of web3

Hey @dkent600, this repo is a monorepo that uses yarn, so it means that you should (from root directory):

Make sure you're using the right node version nvm install $(cat .nvmrc) nvm use $(cat .nvmrc)
Install all packages by running yarn

Then you should be able to go into each directory and run commands there like yarn build.
Please feel free to DM me on Telegram if you're making changes to the daocreator-lib package. Something we need to do a better job of is adding contribution documentation to this repo :p sorry for the confusion

then you should be able to go into each directory and run commands there like yarn build.

That is just not an option.  I'm not working in your repo.  We include this package in Alchemy and are trying to NPM install Alchemy when experience this problem.

Oh very interesting, can you please provide me with steps to repro this locally so I can better understand what's going on @dkent600 ?

Also please feel free to DM me on Telegram for faster response times :P sorry about that
@dOrgJelli


If a cell type contains a / in its name on the wheel its heat map URL will be malformed

Step to reproduce:

Go to SCXA Home page
Click on lung cancer (disease/condition) in the list of examples
On the cell type wheel click on retinal pigment epithelial cell/retinal rod cell/melanocyte cell type. It is the 3rd cell type from the right above the pigmented layer of retina and optic choroid group.

Expected result:
Heat map for the top genes for the selected cell type
Actual result:
Error: /gxa/sc/json/cell-type-marker-genes/retinal%20pigment%20epithelial%20cell/retinal%20rod%20cell/melanocyte?experiment-accessions=E-GEOD-135922 => 404

Here is a screen shot about the error:


Import Testset from an Endpoint

Feature Description:
To streamline the integration with external data sources, we need the ability to import testsets directly from an endpoint. This feature will allow users to fetch and utilize testsets hosted on remote servers or services without manual downloads or uploads.
Use Case:

A user has a testset available on an external service exposed.
The user would like to directly import this testset into our application for immediate use.
After providing the endpoint URL the application fetches and integrates the testset.

Proposed Solution:

Add an "Import from Endpoint" option in the add Testset section.
Provide fields for endpoint URL
On submission, the application fetches the testset from the provided endpoint and processes it for use within the system.
Handle and display any errors (e.g., invalid URL, authentication failures, incompatible testset format) to the user.

Hi. I'd like to work on this issue. Would it be possible to assign this issue to me?

@stemeas yes please it's for you!


Platform Windows: Get CMake working to build windows native build

hi, this is my first pull request I've been tinkering with the for the past month to understand the CMake and get the code to start building with MSVC(edit: ClangCL) and Visual Studio I'm hoping this will be the first of many pull requests to start to work to port to windows Native. 😊

Ok i'll get to work on this tomorrow and see if i can knock out the issues

Please also make sure to fixup-squash your updates in response to PR review. We don't squash-merge, we rebase/cherry-pick commits from your branch directly onto master.

Somewhat tangential, but given it's been discussed a bit, maybe it'd be useful to have a doc in-tree that describes the desired end state in windows.

Please also make sure to fixup-squash your updates in response to PR review. We don't squash-merge, we rebase/cherry-pick commits from your branch directly onto master.

I have never need to do this before and normal use gitKraken to had git so have no clue how to do this 😅

I have never need to do this before and normal use gitKraken to had git so have no clue how to do this 😅

Have a look at this video/article, and ask around on discord if it's still not clear how to spruce up your commits  https://youtu.be/ElRzTuYln0M

@ADKaster is this better?

before this is merged if it is good enough I'm seeing if I can decouple the Windows build from Visual Studio

I need to do a change requested in the discord so i'll get that done and then it will be ready for phase two reviews

I need to do a change requested in the discord so i'll get that done and then it will be ready for phase two reviews

this configures and starts the build with errors on windows and is ready for rereview

I'm sorry for all the issues this pull request has caused here and on Discord. I thank all the people who have helped me get it ready for CI PASS and hopefully merged.

 Please configure your git client and editor to not do this to the affected files.
Disabling cmake warning/flag paths without adding the equivalent warnings is not particularly useful. Have a look at the other branches in Windows support #38 for examples of how to set the right msvc flags
The VisualStudio config is equivalent to the default options with the generator changed. It would make more sense to just have a "default-generator" hidden configure preset to set the defaults based on OS.

all checks are met and the issues stated fixed is this mergable?

What command should be used to configure on Windows? I am trying cmake ., but it fails in AK/CMakeLists.txt:60 because it cannot find simdutf. I did install pkg-config with chocolatey.

You need to used the windows-default Cmake Preset

Thank you, that worked. Took 2.5 hours to build the dependencies.
Commands I used:
Toolchain\BuildVcpkg.py
cmake . --preset windows_msbuild
cmake --build Build\ladybird


Associativity and precedence for infix operators

Is it possible implement Haskell syntax for infix operators?
Example :
(infixr 4 +)

(1 + 2)

In this sense (infixr 4 +) is just a shorthand macro definition that gets globally applied to all expressions.

Infix operators are planned, in some way or another. The exact details are not squared away yet. However, you will need to use { curly braces } to enter “infix mode”, since there won’t be a syntactic distinction between infix operators and prefix operators like Haskell has (based on characters in identifiers). You will be able to assign associativity and precedence, though.

Could you elaborate why there will be no distinction between prefix and infix?

I would like to avoid assigning meaning to the names of identifiers. Lisp identifiers are traditionally much more lax about which characters you can use in an identifier, so you can name an identifier do-it! if you want, or even a!b@c#d$. This also avoids needing a syntax for converting prefix operators to infix ones and vice versa, since the (<>) and `elem` syntaxes wouldn’t work so well in a Lisp.

Associativity is now implemented in the new implementation in e7767ad0ecbb5ccafef3adb2c15ee8f04d0e31c5, but precedence is still unimplemented. You can now specify associativity when writing a definition by writing #:fixity left or #:fixity right. left is the default.
This means type signatures can get a bit cleaner, since -> is now properly right-associative. You can now write {Integer -> Integer -> Integer}, and it will parse the way you would expect.


Interface(System): Fix if when no interface is specified

Hi @tpcarman can you merge ? I plan to release a new minor release with this fix


Solution for "Primer reto del Ethereum Developer Program" by Gabriel ernández Valdez (onedrako)

DESCRIPTION
Solución al reto:
Nombre: Gabriel Hernández Valdez
Usuario Platzi: onedrako
Correo Electronico<EMAIL_ADDRESS>Reto:

[x] Primer problema: Primer problema: have to use limit and upset as query parameters, I use the local storage as offset and update its value when executing a petition adding the limit to add 10 new elements, only have to start an intersection observer when observer div was watched on screen and execute a new petition to backend.

[x] Segundo problema: Using DOM manipulation added the data with the map function for the elements from API, only followed the structure that was in the instructions. For SEO only put the meta tags to have it

[x] Tercer problema: When I read this, it was the first thing I did, define the offset and limit for the first elements, for the elimination for the local storage, was more complicated, I´ve never had to clean this, first think to use sessionStorage when the page was about to close, but for the reload I had to find the web API to clean this when to reload or close the page.
Because of the way the code was written, localStorage is set when the app starts, in spite of the locale storage cleaning it is initialized at the beginning.
For the async-await, only put in the syntaxis on the function

[x] Cuarto Problema: Hace to put if the result of the petition was minor than 9 elements, it means that are the last elements in the list of items, at that moment I disconnected the observer and create the element that was specified.

[x] Quinto Problema: I put the page on GitHub, and is here : https://onedrako.github.io/js-challenge/public/

(sorry if I send multiple request, trying to pass the cypress tests)
This challenge was made for the "Primer reto del Ethereum Developer Program" by Platzi.
My Platzi user is onedrako :).
The page is online on github: https://onedrako.github.io/js-challenge/public/
Have a nice day!

added new changes pending for the cypress test

Third test waiting for approval

Fourth  try :( , think was the localStorage name, want to rest in peace. Nice day


Does "Deploy" on IBM Cloud Tools for Swift Populate Database?

I find if I simply click deploy or deploy on IBM Cloud Tools for Swift, it won't upload new database to the cloud. But if I use .sh manually, it would.

Hello, the "Deploy" button only deploys the server code to Bluemix and it will not populate the database. The populate scripts found in BluePic/Cloud-Scripts are executed automatically by IBM Cloud Tools only once a new BluePic Project option is selected and completed when creating a new Project.
Also, feel free to post any further questions here that may be related:
https://developer.ibm.com/answers/topics/cloud-tools-for-swift/

@tengpeng Did you have any more concerns with this issue?

No. Your answer is perfect. Please close this issue.
On Mon, Sep 19, 2016 at 11:42 AM, Taylor Franklin<EMAIL_ADDRESS>wrote:

@tengpeng https://github.com/tengpeng Did you have any more concerns
with this issue?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/IBM-Swift/BluePic/issues/308#issuecomment-248047727,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACmTshhlkj7Z6sWdY3w0h0drxkxtVL1Aks5qrrtjgaJpZM4J0qWY
.


Add license

Hey this is a nice tool. Could you add a license file to clarify the policy on it.

@fcollonval  Thank you for pointing it out. I have added the file.


Nested SDFG on FPGA with WCR

Nested SDFGs on FPGA using a conflict resolution result in a KeyError such as the following:
Traceback (most recent call last):
  File "dotNestedSDFG_example.py", line 126, in <module>
    match.apply(test_sdfg)
  File "/home/manuel/.local/lib/python3.7/site-packages/dace/transformation/interstate/fpga_transform_sdfg.py", line 53, in apply
    fpga_transform.apply(sdfg)
  File "/home/manuel/.local/lib/python3.7/site-packages/dace/transformation/interstate/fpga_transform_state.py", line 166, in apply
    or not isinstance(node.desc(sdfg), dace.data.Array)):
  File "/home/manuel/.local/lib/python3.7/site-packages/dace/graph/nodes.py", line 230, in desc
    return sdfg.arrays[self.data]
KeyError: '__z1_out'

The same code works fine on CPU.
Here the graph for reference: Graph
Here a sample code, which reproduces the error:
dotNestedSDFG_example.zip

@tbennun @alexnick83 Do you know what could have broken this?

@definelicht This has probably always been an issue with nested SDFGs in nested SDFGs, since you loop over all_nodes_recursive and then assume that the parent SDFG is always the top SDFG, see the code:
        for node, graph in state.all_nodes_recursive():
            # ...
                                    # This must be copied to device
                                    input_nodes.append(parent_edges.dst)
                                    wcr_input_nodes.add(parent_edges.dst)

        if input_nodes:
            # ...
            for node in input_nodes:
                if (not isinstance(node, dace.graph.nodes.AccessNode)
                        or not isinstance(node.desc(sdfg), dace.data.Array)):

@manuelburger This has been merged

Issue comes up again in more complex graphs, than the previous example. Here is another graph making problems.
test_dot.zip

Different problem now, but I will investigate :-)

Fixed (hopefully) with ArrayInterface removal/revamp.


default the value of g:startify_change_to_dir to the value of autochdir

It doesn't really make sense for the g:startify_change_to_dir setting to even exist since it does the same thing as autochdir but for backwards compatibility's sake, instead of removing it, let's just default it to the value of the user's autochdir setting.
Fixes #472

@mhinz can you take a look at this and at least let me know whether you plan on merging it or not? its a 1 line change.

https://github.com/mhinz/vim-startify/issues/472#issuecomment-824789013


RNDatePicker Not found in UIManager

Bug report

Summary
After following the installation steps (npm install and then npx pod-install) my app either fails at build with RNDatPicker Not found in UIManager, or build and shows the error when trying to use the component
Environment info

react-native info output:
System:
    OS: macOS 10.15.3
    CPU: (4) x64 Intel(R) Core(TM) i5-3470S CPU @ 2.90GHz
    Memory: 57.10 MB / 8.00 GB
    Shell: 3.2.57 - /bin/bash
  Binaries:
    Node: 13.8.0 - /usr/local/bin/node
    Yarn: 1.22.0 - /usr/local/bin/yarn
    npm: 6.13.7 - /usr/local/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.8.4 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 13.2, DriverKit 19.0, macOS 10.15, tvOS 13.2, watchOS 6.1
    Android SDK:
      API Levels: 27, 28, 29
      Build Tools: 28.0.3, 29.0.2, 29.0.3
      System Images: android-29 | Intel x86 Atom_64, android-29 | Google APIs Intel x86 Atom
      Android NDK: Not Found
  IDEs:
    Android Studio: 3.5 AI-191.8<IP_ADDRESS>10548
    Xcode: 11.2.1/11B53 - /usr/bin/xcodebuild
  Languages:
    Java: 1.8.0_242 - /usr/bin/javac
    Python: 2.7.16 - /usr/bin/python
  npmPackages:
    @react-native-community/cli: Not Found
    react: 16.13.1 => 16.13.1
    react-native: 0.63.2 => 0.63.2
  npmGlobalPackages:
    *react-native*: Not Found

Library version: 3.0.0
Steps to reproduce

Explained in Summary
Describe what you expected to happen:

I can use the DatePicker component
…

Reproducible sample code

hello, sorry, we didn't make it clear, but we tested this with latest xcode 11, that is 11.6
please upgrade to latest xcode 11, thank you!

hello, sorry, we didn't make it clear, but we tested this with latest xcode 11, that is 11.6

@vonovak  is there any other solution available rather than updating XCODE
XCODE VERISON : 11.3.1

@ZainaliSyed I used the latest 2.x version of the library because I needed to go forward with the project. The fixes for V. 3.X were not limiting for my needs, maybe it works for you too


TypeError: Cannot read property 'join' of null

I am attempting to access my application via pow at http://myapp.dev, and I am getting the following error. Any ideas what might be going wrong?
Error starting application
Your Rack app raised an exception when Pow tried to run it.
TypeError: Cannot read property 'join' of null
TypeError: Cannot read property 'join' of null
at ClientResponse.exports.ClientResponse.ClientResponse._receiveData (/Users/richardl/Library/Application Support/Pow/Versions/0.4.1/node_modules/nack/lib/client.js:249:21)
at null. (/Users/richardl/Library/Application Support/Pow/Versions/0.4.1/node_modules/nack/lib/client.js:58:33)
at EventEmitter.emit (events.js:95:17)
at Client. (/Users/richardl/Library/Application Support/Pow/Versions/0.4.1/node_modules/nack/node_modules/netstring/ns.js:206:16)
at Client.EventEmitter.emit (events.js:95:17)
at Client. (stream_readable.js:720:14)
at Client.EventEmitter.emit (events.js:92:17)
at emitReadable (_stream_readable.js:392:10)
at emitReadable (_stream_readable.js:388:5)
at readableAddChunk (_stream_readable.js:150:9)

@jayniz I had the same problem, thanks!

FWIW this is probably due to headers being set to nil. check your application.rb file or environment settings


VALIDATE TEACHERS TRYING TO CREATE A NEW CLASS

Description
Validates any Teacher(user) trying to create a new Class.
This does not contain REAL error handling but will stop non-authenticated or users who do NOT exist from creating a new Class for now.
Type of change

[x] New feature (non-breaking change which adds functionality)

How Has This Been Tested?

cd server
pipenv shell
./manage.py migrate
./manage.py runserver`
Navigate to http://<IP_ADDRESS>:8000/graphiql/
Create Teacher

mutation {
  createTeacher(ClassID:"1", TeacherName:"Mr. Benefield") {
    teacher {
      TeacherName
      ClassID
    }
    jwtString
  }
}

Copy the JWT into clipboard (this simulates saving JWT on localStorage)
Create new class

mutation {
  createClass(ClassName:"New Class", encJwt:"<< JWT >>") {
    newClass {
      ClassName
    }
  }
}

Check class was created

{
  classes {
    ClassesID
    ClassName
    createdAt
    lastModified
  }
}

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] My code has been reviewed by at least one peer
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

Nice work.  Merging pr.


#1192 avoid graph creation

fixes #1192
Before Merge - I'll check if removing the tuple representation increases performance on cluster.

You can check again. I tested your approach with the toString method but without success. Flinks Operator class has a name field which can be set through the .name() function

Thanks for the review. You are very attentive - that's exactly what we need here. Well done!


How to fine-tune on custom data?

Hello, how do I fine-tune one of your pretrained models with my custom data, is it similar to fine-tuning a detectron2 model?

Since this repo is based on detectron2, I think you have to follow this tutorial: https://detectron2.readthedocs.io/tutorials/datasets.html

I tried the tutorial of detectron2 with this repository and the model cfg.merge_from_file("configs/COCO-InstanceSegmentation/mask_rcnn_R_50_FPN_3x.yaml") and it works.
However when I try with cfg.merge_from_file("configs/COCO-InstanceSegmentation/mask_cascade_rcnn_ResNeSt_200_FPN_dcn_syncBN_all_tricks_3x.yaml") (that is the contribution of this work) it does not work and I get the following error message, and I am not sure what is the reason:
ERROR [07/16 08:35:35 d2.engine.train_loop]: Exception during training:
Traceback (most recent call last):
File "/content/detectron2_repo/detectron2/engine/train_loop.py", line 132, in train
self.run_step()
File "/content/detectron2_repo/detectron2/engine/train_loop.py", line 209, in run_step
data = next(self._data_loader_iter)
File "/content/detectron2_repo/detectron2/data/common.py", line 140, in iter
for d in self.dataset:
File "/usr/local/lib/python3.6/dist-packages/torch/utils/data/dataloader.py", line 345, in next
data = self._next_data()
File "/usr/local/lib/python3.6/dist-packages/torch/utils/data/dataloader.py", line 856, in _next_data
return self._process_data(data)
File "/usr/local/lib/python3.6/dist-packages/torch/utils/data/dataloader.py", line 881, in _process_data
data.reraise()
File "/usr/local/lib/python3.6/dist-packages/torch/_utils.py", line 395, in reraise
raise self.exc_type(msg)
NotImplementedError: Caught NotImplementedError in DataLoader worker process 0.
Original Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/torch/utils/data/_utils/worker.py", line 178, in _worker_loop
data = fetcher.fetch(index)
File "/usr/local/lib/python3.6/dist-packages/torch/utils/data/_utils/fetch.py", line 44, in fetch
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/usr/local/lib/python3.6/dist-packages/torch/utils/data/_utils/fetch.py", line 44, in
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/content/detectron2_repo/detectron2/data/common.py", line 41, in getitem
data = self._map_func(self._dataset[cur_idx])
File "/content/detectron2_repo/detectron2/utils/serialize.py", line 23, in call
return self._obj(*args, **kwargs)
File "/content/detectron2_repo/detectron2/data/dataset_mapper.py", line 138, in call
instances.gt_boxes = instances.gt_masks.get_bounding_boxes()
File "/content/detectron2_repo/detectron2/structures/masks.py", line 203, in get_bounding_boxes
raise NotImplementedError
NotImplementedError
[07/16 08:35:35 d2.engine.hooks]: Total training time: 0:00:00 (0:00:00 on hooks)
NotImplementedError                       Traceback (most recent call last)
 in ()
20 trainer = DefaultTrainer(cfg)
21 trainer.resume_or_load(resume=False)
---> 22 trainer.train()
7 frames
/usr/local/lib/python3.6/dist-packages/torch/_utils.py in reraise(self)
393             # (https://bugs.python.org/issue2651), so we work around it.
394             msg = KeyErrorMessage(msg)
--> 395         raise self.exc_type(msg)
NotImplementedError: Caught NotImplementedError in DataLoader worker process 0.
Original Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/torch/utils/data/_utils/worker.py", line 178, in _worker_loop
data = fetcher.fetch(index)
File "/usr/local/lib/python3.6/dist-packages/torch/utils/data/_utils/fetch.py", line 44, in fetch
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/usr/local/lib/python3.6/dist-packages/torch/utils/data/_utils/fetch.py", line 44, in
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/content/detectron2_repo/detectron2/data/common.py", line 41, in getitem
data = self._map_func(self._dataset[cur_idx])
File "/content/detectron2_repo/detectron2/utils/serialize.py", line 23, in call
return self._obj(*args, **kwargs)
File "/content/detectron2_repo/detectron2/data/dataset_mapper.py", line 138, in call
instances.gt_boxes = instances.gt_masks.get_bounding_boxes()
File "/content/detectron2_repo/detectron2/structures/masks.py", line 203, in get_bounding_boxes
raise NotImplementedError
NotImplementedError

We didn't modify the dataloder

It is a problem of memory, I tried with "mask_cascade_rcnn_ResNeSt_50_FPN_syncBN_1x" and it worked. I guess "mask_cascade_rcnn_ResNeSt_200_FPN_dcn_syncBN_all_tricks_3x" is a heavy model and it did not fit in my machine. As I said before, to train in custom data you just have to follow the detectron2 tutorial https://detectron2.readthedocs.io/tutorials/datasets.html. @chongruo I have a code in colab, let me know if you want I can share it with you. Regards.

@jhonygiraldo  could you share one..

I no where find any  raise statement throwing NotImplementedError ,in latest version they do have such


Added YouTube Channels

Hey there,
I have added many more English youtube channels and created the Hindi youtube channels category. Also, I have added Defcon 2020 talks and have included the legendary hacker manifesto by the mentor. Please review the PR and if you merge it, please add the hacktoberfest-accepted label. Thank you

Thank you for the PR.
I removed the Hindi part as I would like to keep only english references on the repository. (mainly because I want to read/watch and check the video in order to avoid any problematic content)

Thanks!


update(posts): add post for rfc extension

This PR adds a post for the rfc extension to the MEI website news section.

Very important. Thanks!

Thank you!


tedious ip addr setting for each device

currently, all device, either connected to router/switch, cannot have a ip address set by themselves, when we scale up the emulation, the work is too tedious to assign ip addr for all of them, the solution of this:
DHCP server on all routers
setting ip addr through dom0 using some script for all device netif currently running (it seems that we need to dig into the host system to do this, unsure if we can do this only through dom0)

Solved this by adding DHCP support, through dnsmasq, currently we rely on machines to have dnsmasq in $PATH, will add dnsmasq as part of our code in the v0.2 release


Update and Fix compiler errors on CreateIssue.hs

#194

I'm taking this PR in smaller steps, first it already compiles, however:

I didn't know how to transform (GitHub.simpleOwnerLogin $ GitHub.issueUser issue) to string
When calling main the result it:

Error: HTTPError (StatusCodeException (Status {statusCode = 422, statusMessage = "Unprocessable Entity"}) [("Server","GitHub.com"),("Date","Sun, 13 Mar 2016 13:30:47 GMT"),("Content-Type","application/json; charset=utf-8"),("Content-Length","157"),("Status","422 Unprocessable Entity"),("X-RateLimit-Limit","5000"),("X-RateLimit-Remaining","4988"),("X-RateLimit-Reset","1457878688"),("X-GitHub-Media-Type","github.v3; param=preview"),("Access-Control-Expose-Headers","ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval"),("Access-Control-Allow-Origin","*"),("Content-Security-Policy","default-src 'none'"),("Strict-Transport-Security","max-age=31536000; includeSubdomains; preload"),("X-Content-Type-Options","nosniff"),("X-Frame-Options","deny"),("X-XSS-Protection","1; mode=block"),("X-GitHub-Request-Id","546D5A58:B8C0:15785C4:56E56B86"),("X-Response-Body-Start","{\"message\":\"Invalid request.\\n\\nFor 'properties/labels', nil is not an array.\",\"documentation_url\":\"https://developer.github.com/v3/issues/#create-an-issue\"}"),("X-Request-URL","POST https://api.github.com:443/repos/amitaibu/csv2github/issues")] (CJ {expose = []}))

So it seems the labels is sent as nil instead of an empty array.

Maybe GitHub.newIssueLabels = Nothing should be (don't know exactly how) be translated to array instead of null? I'll need some pointer here :)

@phadej if you get a chance to give it look, and point me to the direction to tackle the other issues

Based on https://developer.github.com/v3/issues/#parameters-2 I'd change
data NewIssue = NewIssue {
  newIssueTitle     :: Text
, newIssueBody      :: Maybe Text
, newIssueAssignee  :: Maybe Text
, newIssueMilestone :: Maybe Int
, newIssueLabels    :: Maybe (Vector Text) -- to `Vector Text`
} deriving (Show, Data, Typeable, Eq, Ord, Generic)

newIssueLabels    :: Maybe (Vector Text) -- to Vector Text

So when creating a new issue you would have to set newIssueLabels as-well?
Is there a way to keep this as Maybe but translate a Nothing into an empty array?

@amitaibu well, you can leave it as mempty.

Seems that also with GitHub.newIssueLabels = mempty we are getting the For 'properties/labels', nil is not an array error.
I'll try to dig in :)

With sure but slow progress... I can see that if I do the following change this will work:
instance ToJSON NewIssue where
  toJSON (NewIssue t b a m ls) =
    object
    [ "title"     .= t
    , "body"      .= b
    , "assignee"  .= a
    , "milestone" .= m
-    , "labels"    .= ls ]
+    , "labels"    .= () ]

However I'm not sure how to do the conditional because it seems I can't do
object
    [ "title"     .= t
-- ...
    , "labels"    .= ls' ]
where ls' = case ls of
           Nothing -> ()
           _ -> ls

Am I in the right direction ? :)

Ok, I was able to have a conditional, by duplicated the toJson by case

Ok, I made it work!
*CreateIssue> main
amitaibu opened this issue 2016-03-30 18:36:15 UTC
open with 0 comments

A new issue

Ready for review

The failing test is just downloading ghc-7.10.3 that got stuck (but I can't restart that test myself)

@phadej tests are green :)

Friendly bump -- just checking if my PR is indeed the best way to do it ;)

the fix to example works for me. wonder why it's not yet merged?

@amitaibu I'd say it's better to do filter notNull like it's done for EditIssue below NewIssue. But I'd merge this PR long time ago anyway. It's clearly a bug.

@phadej I'm considering contributing similar fixes for other samples. I'm though discouraged by this PR not being merged.
Is there any work that needs to be done on this PR, apart from resolving the merge conflict?
Maybe configuring cabal to compile this file?
Would you like me to rebase this on top of master and take over the PR?
What would be the best way to contribute towards fixing the samples?
I'd love to open a small PR fixing the next set of samples, but would first like to see this PR reach its conclusion before I start porting other samples.
Thanks!

This probably fall through the cracks. I don't know at which point the conflict was introduced.

@phadej should I attempt to rebase this? Do you have any remarks regarding the CreateIssue.hs sample file?

@amitaibu and @ArturGajowy : Thanks for your work and interest!  Fixing the broken samples is most welcome.
This PR is continued at:

#477


Make sure to update all references to IoT pnp and targets to point to the right place.

For example, this still points to the old cmake target, which no longer exists:
https://github.com/Azure/azure-sdk-for-c/blob/feature/iot_pnp/sdk/docs/iot/README.md#build

We probably want to do a search for all such places and fix them up.
cc @jspaith, @danewalton

Thanks for catching this.  I'm naively assuming that the fix for this and other bugs will continue to be feature/iot_pnp, correct?  Does the beta/release-snap work change this or introduce anything else I should be aware of here?

Since this file and issue already exists in the README.md in main, it is cleaner to fix this in main and have that be backported to the feature branch when the "pull from main happens". And, in this case, we want the contents in main to be correct anyway.
It is largely up to you, but it is a good idea to try to make changes that minimize merge conflicts or "conflate" the source of truth, particularly when changing files that are being modified in both branches. One way to do that is to isolate and minimize the changes in the feature branch to only what is relevant to that particular feature.

Does the beta/release-snap work change this or introduce anything else I should be aware of here?

Nothing significant has changed, or comes to mind atm. I did mention the process to avoid "squash and merge" using the GitHub UI when doing any future merges from main in our weekly meeting. The steps for that are as follows:
https://dev.azure.com/azure-sdk/internal/_wiki/wikis/internal.wiki/16/FAQ?anchor=i-have-a-special-case-where-i-do-not-want-to-squash-and-merge-a-pr.--what-should-i-do%3F

Fixed in #1891.


Update CONTRIBUTORS.md

Updating CONTRIBUTORS.md to include my profile

Hey there,
Thanks for your PR & contribution :wave:!
Congratulations on being contributor number 100 🥳
Don't forget to join follow me, join our organization, & follow our organization to stay updated with the latest developments 💻
Thank you, and have a good day ahead 😊


Test that requires copying .git

So I'm in a definitely very unique situation where I have a test that requires the repos .git folder so I need something a bit more aggressive than the --gitignore true flag. I'm currently using --in-place in a separate clone of the project to avoid accidentally breaking something so there is an easy way round this if this is too exotic
For the interested this is because I interact with the coveralls API and part of that API you provide some git and github metadata so I test against the repos own metadata to make sure I'm filling out the API fields correctly

Actually, despite working around that cargo-mutants doesn't run on tarpaulin... Dose cargo-mutants make use of unix signals if so that might break things for me :thinking:

The easiest workaround for the git issue is probably --in-place, or
copying it yourself then using that.
The main thing cargo-mutants uses signals for is to kill hung tests, and to
stop them if it's interrupted itself.
Can you describe how to reproduce the problem with Tarpaulin?
On Thu, May 2, 2024, 4:48 AM xd009642 @.***> wrote:

Actually, despite working around that cargo-mutants doesn't run on
tarpaulin https://github.com/xd009642/tarpaulin... Dose cargo-mutants
make use of unix signals if so that might break things for me 🤔
—
Reply to this email directly, view it on GitHub
https://github.com/sourcefrog/cargo-mutants/issues/348#issuecomment-2090303783,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACUR42PH2XB22XHU5F45Y3ZAIRXNAVCNFSM6AAAAABHDPTACKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJQGMYDGNZYGM
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

So tarpaulin tests instrument binaries with breakpoints and do coverage which involves intercepting signals going to the process and handling them in code. There's a possibility I'm intercepting the cargo mutants kill signal and then failing the test because it's got an unexpected termination signal :thinking:
Reproducing is pretty simple, it's just cloning tarpaulin and running cargo mutants on it
git clone --depth 1 https://github.com/xd009642/tarpaulin
cd tarpaulin
cargo mutants --in-place


Unexpected packet before version

I have read all the issues with "Unexpected packet before version" but the solution of changing paths did not fix my problem. In my debug output, it also shows "Client: none auth failed". I read all other problems and add "interactiveAuth": true. Now, I still have "Unexpected packet before version" error with  "Client: none auth failed". I wonder does a specific version of ssh matter in this case? It will be really nice if you can give some new ways to think about the problem. Thank you!
Here is the debug output:
[09-25 11:04:49] [debug] Local ident: 'SSH-2.0-ssh2js0.4.2'
[09-25 11:04:49] [debug] Client: Trying test on port 22 ...
[09-25 11:04:49] [debug] Client: Connected
[09-25 11:04:49] [debug] Remote ident: 'SSH-1.99-OpenSSH_4.2'
[09-25 11:04:49] [debug] Outgoing: Writing KEXINIT
[09-25 11:04:49] [debug] DEBUG: Comparing KEXINITs ...
[09-25 11:04:49] [debug] (local) KEX algorithms: ecdh-sha2-nist2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1
[09-25 11:04:49] [debug] (remote) KEX algorithms: diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
[09-25 11:04:49] [debug] KEX algorithm: diffie-hellman-group14-sha1
[09-25 11:04:49] [debug] (local) Host key formats: ssh-rsa,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521
[09-25 11:04:49] [debug] (remote) Host key formats: ssh-rsa,ssh-dss
[09-25 11:04:49] [debug] Host key format: ssh-rsa
[09-25 11:04:49] [debug] (local) Client->Server ciphers: aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm,aes128-gcm<EMAIL_ADDRESS>[09-25 11:04:49] [debug] (remote) Client->Server ciphers: aes128-cbc,3des-cb-cbc,arcfour128,,aes128-ctr,aes192-ctr,aes256-ctr
[09-25 11:04:49] [debug] Client->Server Cipher: aes128-ctr
[09-25 11:04:49] [debug] (local) Server->Client ciphers: aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm,aes128-gcm<EMAIL_ADDRESS>[09-25 11:04:49] [debug] (remote) Server->Client ciphers: aes128-cbc,3des-cbc,blowfish-cbc,cast128,rijndael-cbc@lysator.liu.se,aes128-ctr,aes192-ctr,aes256-ctr
[09-25 11:04:49] [debug] Server->Client Cipher: aes128-ctr
[09-25 11:04:49] [debug] (local) Client->Server HMAC algorithms: hmac-sha2-256,hmac-sha2-512,hmac-sha1
[09-25 11:04:49] [debug] (remote) Client->Server HMAC algorithms: hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
[09-25 11:04:49] [debug] Client->Server HMAC algorithm: hmac-sha1
[09-25 11:04:49] [debug] (local) Server->Client HMAC algorithms: hmac-sha2-256,hmac-sha2-512,hmac-sha1
[09-25 11:04:49] [debug] (remote) Server->Client HMAC algorithms: hmac-md5,hmac-sha1,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
[09-25 11:04:49] [debug] Server->Client HMAC algorithm: hmac-sha1
[09-25 11:04:49] [debug] (local) Client->Server compression algorithms: none,zlib@openssh.com,zlib
[09-25 11:04:49] [debug] (remote) Client->Server compression algorithms<EMAIL_ADDRESS>[09-25 11:04:49] [debug] Client->Server compression algorithm: none
[09-25 11:04:49] [debug] (local) Server->Client compression algorithms: none,zlib@openssh.com,zlib
[09-25 11:04:49] [debug] (remote) Server->Client compression algorithms<EMAIL_ADDRESS>[09-25 11:04:49] [debug] Server->Client compression algorithm: none
[09-25 11:04:49] [debug] Outgoing: Writing KEXDH_INIT
[09-25 11:04:49] [debug] DEBUG: Checking host key format
[09-25 11:04:49] [debug] DEBUG: Checking signature format
[09-25 11:04:49] [debug] DEBUG: Verifying host fingerprint
[09-25 11:04:49] [debug] DEBUG: Host accepted by default (no verification)
[09-25 11:04:49] [debug] DEBUG: Verifying signature
[09-25 11:04:49] [debug] Outgoing: Writing NEWKEYS
[09-25 11:04:49] [debug] Outgoing: Writing SERVICE_REQUEST (ssh-userauth)
[09-25 11:04:49] [debug] Outgoing: Writing USERAUTH_REQUEST (none)
[09-25 11:04:49] [debug**] Client: none auth failed**
[09-25 11:04:49] [debug] Outgoing: Writing USERAUTH_REQUEST (password)
[09-25 11:04:49] [debug] Outgoing: Writing CHANNEL_OPEN (0, session)
[09-25 11:04:49] [debug] Outgoing: Writing CHANNEL_REQUEST (0, subsystem: sftp)
[09-25 11:04:49] [debug] Outgoing: Writing CHANNEL_DATA (0)
[09-25 11:04:49] [debug] Outgoing: Writing DISCONNECT (BY_APPLICATION)
[09-25 11:04:49] [debug] Outgoing: Writing DISCONNECT (BY_APPLICATION)
[09-25 11:04:49] [debug] Outgoing: Writing CHANNEL_EOF (0)
[09-25 11:04:49] [debug] Outgoing: Writing CHANNEL_CLOSE (0)

same issue for me

#202

I have found out that modifying tabs size (ieg: tabs 4) in .bashrc (possilbly elsewhere) breaks vscode-sftp with the infamous "Unexpected packet before version" error message ...
You may want to check if such a setting is present in your config files while waiting for the author implements a more sensible whitespace management.

I just renamed .bashrc to other name.

Except I need my .bashrc AND would enjoy my bash tabs not being displayed as 8 ( ! ) spaces .. ;D

check is server allow connect


PHPLIB-652: Update change stream error tests for 3.6 compat

https://jira.mongodb.org/browse/PHPLIB-652
Synced with mongodb/specifications@dbfbc0f4f10234b1fa4f3f216b0919c68e4607bb

Note: test failures are expected per PHPLIB-842.


low transport speed

Hi,
I run the server and client on local machines, but I found that the transport speed is very low, when I transport 50MB, the speed is just around 90Mbps. I'm wondering if this is the usual speed of aioquic or is there anything I need to change.

The interop performance measurements table shows lots of speed test results. 9Mbps seems pretty standard.

Hi, thanks for the resources. And may I ask is there way to run the binary of the client and server? Since I want to use perf to test the CPU uages of aioquic, but running with python might hide the CPU usages of aioquic.

I've performed similar tests with this stack and max out around 90MB/s as well (client and server on the same machine, sending over the loopback interface).
It is the CPU that is the bottleneck in my case.

The interop performance measurements table shows lots of speed test results. 9Mbps seems pretty standard.

These tests are performed over a simulated link with a 10 Mb/s bandwidth.

I seem to be missing your PR which delivers an amazing improvement, all I see is the negative comment?


Help Me Guys #1

Describe your problem here.
My Code On MainMenuState For The Animated Background Working, But It's Still Showing The HaxeFlixel Mini Logo On The Center, But I Don't Have Image. Can You Help Me?
Are you modding a build from source or with Lua?
Source
What is your build target?
Neko, HashLink, or other build system
Did you edit anything in this build? If so, mention or summarize your changes.
Just Trying To Make The Animated Background On MainMenuState

You need the image or else there will be a haxeflixel logo

You need the image or else there will be a haxeflixel logo

Nevermind, Im Fixed


Feature request: Firefox security exception warning?

Is it possible to display an error when the rest service you are attempting to call requires a security exception?
I.e. When you load a webpage in Firefox, and there is an issue with the SSL certificate. Firefox displays (I understand the risks -> Add security exception -> Confirm security exception)
A colleague and I just spent half an hour trying to figure out why we we're getting a completely blank response from the REST service, turns out the request wasn't actually being made, we needed to confirm the security exception through Firefox first.
RESTClient displays no error message in this use case, can one be added?
Cheers, keep up the good work!

+1
same problem. Development server hasn't a signed certificat.
"SSLPeerUnverifiedException: peer not authenticated" cannot be handled.
Need something like a ignoreSSLIssues() checkbox.
Otherwise a very good add-on!
Thx


Document changes to rclcpp's logging macros (#949)

I noticed that this change wasn't brought into the rolling branch from master after #949.
It might be the case that other changes were omitted in moving off of master.

@Mergifyio backport foxy dashing


Err on try_from_le_slice

Which issue does this PR close?
fix #3577
Rationale for this change
Our parquet reader is panicing when hitting metadata that is either invalid or unexpected
What changes are included in this PR?
Remove interval from_le_slice method, use T::try_from_le_slice instead.
Are there any user-facing changes?
NA?

if we could get this merged, we can point cargo to use head of arrow-rs.
Currently we're getting panics when reading parquet files which (we think) have invalid metadata.

cc @tustvold who created the original issue.

Right the point is that even if we have invalid data it's hard to even debug because by we have no ability to do error handling due the panics.

I have a repro locally but it's a 25MB file that you have to write out then load back again. So not exactly a MRE. I'm happy to share that file if that's helpful. I tried narrowing down to a specific column or value without much luck.
It happens specifically when using MetadataLoader to load metadata dumped by ParquetMetadataWriter.
Our goal by converting this panic to an error is to buy time in figuring out the root cause by falling back to loading the metadata from the file itself instead of the cached version that was written via ParquetMetadataWriter.

@alamb I've added a test, to get it to fail I've included the raw metadata from our problematic file (35KB).
Let me know if you want to keep this  or remove or, and if you want me to send you a link to the full 25MB parquet file via email.

If we make invalid statistics return an error I think it will mean the reader will not be able to read any data from the file

I don't think we should change this, if we run into errors like this we can always call again with
loader.load_page_index(false, false).await?

as shown in the test.

Okay, I've now added a a pretty good MRE test. @alamb we're really appreciate it if this could be merged.
I'm happy to remove bad_metadata_err and the raw data file if you like?

Thanks so much @alamb, I'll create an issue with a follow up.


Update Cloud Credentials screenshot to match latest version

Follow-up on #836

FWIW, for (p)review use https://deploy-preview-844--okteto-docs.netlify.app/docs/1.25/admin/cloud-credentials/ since #843 is not merged cannot find it through menu just yet.


fix: Avoid setting tunnelIdentifier if startTunnel is false

Providing startTunnel as false currently sets the tunnelIdentifier for the browser-worker to a random string, causing tests to fail.
If a tunnelIdentifier or localIdentifier is set in config, it is used as the tunnelIdentifier
when creating a new browser-worker. This is useful if the tunnel is created outside of karma by running the binary, optionally with a localIdentifier parameter.
If not set and startTunnel is true, we generate a random localIdentifier and tunnelIdentifier.

Thanks, could you add a note to the readme describing this setup please?

@Dignifiedquire, let me know if this needs more elaboration.

thanks :octocat:


Error launching app error

Describe the bug
After running npm start, an Electron error pops up saying:
Error launching app
Unable to find Electrom app at /Users...

To Reproduce
Steps to reproduce the behavior:

Clone the repo
Run npm install
Run npm start
See error

Expected behavior
The electron app should start successfully.
Screenshots

Thanks for the issue!
There was a problem with the start script so it runs some script in parallel so electron runs before the compilations (webpack + ts) complete.
Can you checkout #71 and see if it solves the problem please?

I've pulled master but it still doesn't run.
The electron app doesn't launch this time and the console is stuck on the [webpack-cli] watching files for updates... step.
I've upgraded to macOs Big Sur if that makes a difference of why the electron app isn't launching.
 It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated<EMAIL_ADDRESS>Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated<EMAIL_ADDRESS>Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797)
npm WARN deprecated<EMAIL_ADDRESS>https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated<EMAIL_ADDRESS>use String.prototype.padStart()
npm WARN deprecated<EMAIL_ADDRESS>Use cheerio-select instead
npm WARN deprecated<EMAIL_ADDRESS>fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
npm WARN deprecated<EMAIL_ADDRESS>this package is now deprecated
npm WARN deprecated<EMAIL_ADDRESS>Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
npm WARN deprecated<EMAIL_ADDRESS>request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated<EMAIL_ADDRESS>You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1

added 1299 packages, and audited 1300 packages in 2m

83 packages are looking for funding
  run `npm fund` for details

10 vulnerabilities (7 low, 3 high)

To address issues that do not require attention, run:
  npm audit fix

Some issues need review, and may require choosing
a different dependency.

Run `npm audit` for details.
sagarsaija@macbook y2mp3 % npm run start

><EMAIL_ADDRESS>start
> webpack

[webpack-cli] Compilation starting...
[webpack-cli] Compilation finished
after compile
after tsc
asset resources/app.bundle.js 18.2 MiB [emitted] (name: main)
asset resources/fonts/icomoon.eot 1.12 KiB [emitted] (auxiliary name: main)
asset resources/fonts/icomoon.woff 1.03 KiB [emitted] (auxiliary name: main)
asset resources/fonts/icomoon.ttf 980 bytes [emitted] (auxiliary name: main)
asset resources/fonts/icomoon.svg 743 bytes [emitted] (auxiliary name: main)
orphan modules 382 KiB [orphan] 183 modules
runtime modules 1.06 KiB 6 modules
modules by path ./node_modules/ 5.47 MiB
  javascript modules 5.17 MiB 891 modules
  json modules 300 KiB 29 modules
modules by path ./src/ 75.2 KiB
  modules by path ./src/components/ 31.6 KiB 16 modules
  modules by path ./src/services/ 25.4 KiB 14 modules
  modules by path ./src/styles/ 12.3 KiB 6 modules
  modules by path ./src/*.ts 921 bytes 2 modules
  ./src/mobx/store.ts 4.78 KiB [built] [code generated]
  ./src/factories/video-entity.ts 233 bytes [built] [code generated]
22 modules

WARNING in ./node_modules/fluent-ffmpeg/lib/options/misc.js 27:21-40
Critical dependency: the request of a dependency is an expression
 @ ./node_modules/fluent-ffmpeg/lib/fluent-ffmpeg.js 170:0-25
 @ ./node_modules/fluent-ffmpeg/index.js 1:85-115
 @ ./src/services/api.ts 4:0-40 44:4-24
 @ ./src/components/main.tsx 12:0-51 31:12-20 34:12-20 45:8-14

webpack 5.4.0 compiled with 1 warning in 9182 ms
[webpack-cli] watching files for updates...
[webpack-cli] Compilation starting...
[webpack-cli] Compilation finished
after compile
after tsc
assets by status 18.3 MiB [cached] 5 assets
cached modules 5.91 MiB (javascript) 1.06 KiB (runtime) [cached] 1250 modules

WARNING in ./node_modules/fluent-ffmpeg/lib/options/misc.js 27:21-40
Critical dependency: the request of a dependency is an expression
 @ ./node_modules/fluent-ffmpeg/lib/fluent-ffmpeg.js 170:0-25
 @ ./node_modules/fluent-ffmpeg/index.js 1:85-115
 @ ./src/services/api.ts 4:0-40 44:4-24
 @ ./src/components/main.tsx 12:0-51 31:12-20 34:12-20 45:8-14

webpack 5.4.0 compiled with 1 warning in 307 ms
[webpack-cli] watching files for updates...