Failing to install using poetry

I tried to install the package on a clean env using the following commands:
poetry add  git+https://github.com/GT4SD/zberta.git

and
poetry add<EMAIL_ADDRESS>
and I getting the following error:
CalledProcessError

  Command '['git', 'clone', '--recurse-submodules', '--'<EMAIL_ADDRESS>'/var/folders/5t/lgg8r5ws1xbdm8pp6kh37ytm0000gn/T/pypoetry-git-zbertaeirek49a']' returned non-zero exit status 128.

  at /usr/local/Cellar/poetry/1.1.15/libexec/lib/python3.10/site-packages/poetry/utils/_compat.py:217 in run
      213│                 process.wait()
      214│                 raise
      215│             retcode = process.poll()
      216│             if check and retcode:
    → 217│                 raise CalledProcessError(
      218│                     retcode, process.args, output=stdout, stderr=stderr
      219│                 )
      220│         finally:
      221│             # None because our context manager __exit__ does not use them.

python version: 3.9 & 3.10
os version: MacOS Monterey 12.6
poetry version: 1.1.15

Thank you @salexln for reporting this, I will look into it!


bug: Uninstall instructions for legacy cortexso

Goal

We need clear uninstall instructions for users who installed our previous cortex-js
This should be a Docs page that we can quickly send to users

Tasklist

[ ] Remove all old files from users computers
[ ] Multiple OS instructions (e.g. Windows, Mac, Linux)

@louis-jan @hiento09 I'm taking a stab at this - can you take a look and see if I'm missing anything?
Legacy Installation Formats:
npm

npm uninstall -g cortexso

Mac

brew uninstall cortexso

Windows

winget uninstall cortexso

Linux

apt remove cortexso

@dan-homebrew @hiento09 That looks correct.
There is another legacy, deprecated package that we delivered a long time ago (removed from the npm repository):
### npm (@janhq/cortex)
npm uninstall -g @janhq/cortex

### Windows Installer
- Select Start > Settings > Apps > Apps & features > Cortex

Use the which command to find if there is somehow a cortex binary still existing
# Unix: `which cortex`
# Windows: `where cortex`

Example:
$ which cortex
/opt/homebrew/bin/cortex

On Windows, it's better to make sure that users updated $PATH to remove the existing Cortex PATH environment variable.

@dan-homebrew @hiento09 That looks correct.
There is another legacy, deprecated package that we delivered a long time ago (removed from the npm repository):
### npm (@janhq/cortex)
npm uninstall -g @janhq/cortex

Windows Installer
### Windows Installer
- Select Start > Settings > Apps > Apps & features > Cortex

Use the which command to find if there is somehow a cortex binary still existing
# Unix: `which cortex`
# Windows: `where cortex`

Example:
$ which cortex
/opt/homebrew/bin/cortex

On Windows, it's better to make sure that users updated $PATH to remove the existing Cortex PATH environment variable.

Thanks @louis-jan!

I npm uninstalled cortex, but still have the dangling cortex folder remaining - exact scenario described in #1082
Does it require manual deletion of the cortex folder? @louis-jan

 I npm uninstalled cortex, but still have the dangling cortex folder remaining - exact scenario described in #1082 Does it require manual deletion of the cortex folder? @louis-jan

What a nice catch. @gabrielle-ong I'm scared to delete the user Cortex folder, but we should mention that they should do themselves in the uninstallation docs. Also, try adding a section to ask them to run cortex stop before uninstalling would be great.


Bug: Clicking "Show Original" scrolls to the top of the page

Description
After clicking on a verse to split the Sandhi, clicking the "Show Original" button causes the view to scroll to the top of the page.
Steps To Reproduce
I've tried this so far on Firefox on Android:

Navigate to one of the texts, e.g. https://ambuda.org/texts/mahabharatam/1.1#
Scroll down some amount - 1 or 2 page lengths should work
Click on a verse to split Sandhi
Click on the "Show Original" button

Thanks, I can reproduce the error. I'll prepare a fix.


Fix: react config issues

We were missing the dependency on the airbnb package (I forgot there was a difference between airbnb general and react). Additionally, I've updated a few dependencies.

I've tested this out by publishing a 1.0.1-alpha.0 package under the next tag, and it works in solid-ui-react (though we've a lot of linting warnings to track down)


Can we get sparkline charts to work using angular2-highcharts

Please provide an example for getting sparkline charts to work with angular2-highcharts. Will be of great help.
I could try setting the chartOptions and using the  tag, but this cannot work for a table where we have a list of elements. Any help is much appreciated.
Thanks in advance.

Any update on this?


Replacement for CLK_TCK on Windows build

I am currently writing an install script for a Windows build for issue #828. What should the replacement be for this section of opensearch-tar-install.sh on a Windows build?
CLK_TCK=`/usr/bin/getconf CLK_TCK`
echo "-Dclk.tck=$CLK_TCK" >> $OPENSEARCH_HOME/config/jvm.options

Looks like this is used by performance-analyzer, let's move this issue into that repo.


why does the game crashes when i press singDOWN-alt on the ghost animations

Describe your bug here.
:/
Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
no

If it's because it's an animation you added, then you've got to save the character and reload them. It's weird, but ghost animations use the animation list of the last saved version of that character. This could also be the reason why if you reorder the animations and click one of them, you'll get a different one. Just remember to save and reload first.


FATAL ERROR: JS Allocation failed - process out of memory

Possibly related to last.fm, but hard to say at this stage.
CC @temas

use moar Buffers


Annotation 'include'

Hi,
What's the right use of '@include("myheader.h")' annotation? It doesn't seem to work for me.

Hi,
When this annotation is used, you should see this include in generated common header file. This header file can contain for example data types and functions which are defined as @external in IDL. For which version of eRPC it is not working for you? This annotation need be assigned to "program" keyword.
Example:
IDL:
@include("foo.h")
program my_program
...
Example of usage can be found in erpc/test/test_annotation/test_annotation.erpc

Hi,
It works for the 'program' keyword.
I left with the impression that it should work for 'interface' as well, looking at the doc
https://github.com/EmbeddedRPC/erpc/wiki/IDL-Reference
Is there a way to specify includes to be added not in the common header file, but in the server or client header files separately...

Hi, if you are using actuall master branch, then documentation can be wrong. We are putting on first page of repository commit sha for correct documentation on wiki. I didn't realized that you need clone wiki repo to checkout to correct branch. We will need work on this synchronization better.


Round stats system

About the PR

add system capable for counting ints and showing stuff in round end window
didn't add any stuff for now because all the code i was working with is very sus
for example - doesn't count mops and count one slip as 12

Why / Balance

funny feature
Technical details

i don't know my brain melted and turned into sauce for spaghett
added system that will create and count needed ints, event with needed int and change amount can be called from any part of code, then the system subscribed to the event will count the stuff
on round end everything greater than 0 appears in new tab in round end window
Media

Requirements

[X] I have read and I am following the Pull Request Guidelines. I understand that not doing so may get my pr closed at maintainer’s discretion
[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes

Changelog

:cl:

add: Added round statistics! It will appear as separate tab in round end window.

we're getting more peak!?!?!?!?!?!???

Slips are tracked? I have one thing to say: Clown objectives :godo:

cvvar?

This is a pretty nifty addition and I could see people adding all kinds of stats to it!
But do fill in the Pull Request Template properly, it's there for a reason. 🙏

Peak
Times the clown was abused

Peak
Times the clown was abused

harmbaton attacks

This is such a small thing but could be so fun.
Something like amount of people arrested, shots fired by non-antags and similiar things, really love the potential

Number of wehs uttered need to be in the stats.
As a side note, some stuff needs NOT to be there, such as "people killed" or "antags arrested" or anything else gamey. These stats need to be silly, not an argument to be used in d*ck measuring contests ^^

Number of wehs uttered need to be in the stats.
As a side note, some stuff needs NOT to be there, such as "people killed" or "antags arrested" or anything else gamey. These stats need to be silly, not an argument to be used in d*ck measuring contests ^^

On the other side - this can be a tool to make people actually do their job - for example sometimes salvs just go on a journey and never come back, leaving station w/o resources and effectively breaking resource balance due to some anti-social people. I'm not saying game should prevent it. But stats ARE actually a tool to motivate people do the right thing. Its just that it should be used wisely, not like - it is for goofy jokes. We have goofy jokes in game, there is literally zero point to pull them out of the round...

On the other side - this can be a tool to make people actually do their job - for example sometimes salvs just go on a journey and never come back, leaving station w/o resources and effectively breaking resource balance due to some anti-social people. I'm not saying game should prevent it. But stats ARE actually a tool to motivate people do the right thing. Its just that it should be used wisely, not like - it is for goofy jokes. We have goofy jokes in game, there is literally zero point to pull them out of the round...

I find that this kind of serious and "gamey" stats would only fuel OOC malding if they were public - people are already inclined to blame others when things go south, without giving them numbers to back up their complaining. This is a RP game about silly spess men, not League of Legends.

On the other side - this can be a tool to make people actually do their job - for example sometimes salvs just go on a journey and never come back, leaving station w/o resources and effectively breaking resource balance due to some anti-social people. I'm not saying game should prevent it. But stats ARE actually a tool to motivate people do the right thing. Its just that it should be used wisely, not like - it is for goofy jokes. We have goofy jokes in game, there is literally zero point to pull them out of the round...

I find that this kind of serious and "gamey" stats would only fuel OOC malding if they were public - people are already inclined to blame others when things go south, without giving them numbers to back up their complaining. This is a RP game about silly spess men, not League of Legends.

People already do this, only difference is that it's justified


First Int is always 1

In the following scenario, results will always be { 0, 100000, 0, 0 }.
            var results = new int[4];
            for (int x = 0; x < 100000; x++)
            {
                var rnd = new TRandom();
                results[rnd.Next(4)]++;
            }

In the next scenario, results will be something like { 24971, 124881, 25068, 25080 }.
            var results = new int[4];
            for (int x = 0; x < 100000; x++)
            {
                var rnd = new TRandom();
                results[rnd.Next(4)]++;
                results[rnd.Next(4)]++;
            }

So the first roll is always 1. The second is sufficiently random.

I ran some additional tests and took a look at what was going on in the code. It's actually the first and third results that are repeated, and it's not always 1: that result depends on the upper bound you've set.
The issue is a consequence of the way initialization has been implemented in the XorShift128Generator (the default, if you don't pick one). The first two results of the NextULong algorithm will always be fairly similar: roughly 8.2e18 first, then 7.5e18 second. The first and third results of the NextUIntInclusiveMaxValue algorithm are similar for the same reason, with the skip over the second result being due to the way the generator caches half the bytes.
All the other random generation methods rely on the same algorithm, so the issue affects all of them. With a small range of possible values (like you'll get with Next(4)) those similar results get collapsed into the same value every time.
The issue could be resolved by changing the initialization of _y  to depend on the seed. SeedY * seed appears to produce sufficiently random results starting with the first call, though there may be more efficient options.
In the meantime, an easy workaround is to "prime" the generator by calling Next() three times after construction (and each call to Reset). The fourth result should always be sufficiently pseudo-random.

Is a fix for this currently in-progress?  I ask because my library depends on this one for RNG, and I'd be more than willing to fork and attempt a PR if it helps it get fixed nuget-side.

Fixed in v4.3.1.


Feature 77 - TwoList and Link widgets

PR Details
New TwoList widget and Link widgets
Description
TwoList widget has been implemented to cover the TwoList component
Link widget has been implemented to cover links that appear inside the TwoList

Both are new WOs.
Related Issue
#77
Motivation and Context
It enabled other projects to use these widgets in their e2e tests
How Has This Been Tested
Tested in the project's e2e tests
Types of changes

[ ] Docs change / refactoring / dependency upgrade
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist

[x] I have read the CONTRIBUTING document
[x] My code follows the code style of this project
[ ] My change requires a change to the documentation
[ ] I have updated the documentation accordingly (README.md for each widget)
[ ] I have added tests to cover my changes (at least 1 spec for each widget with the same coverage as the master branch)
[x] All tests (new and existing) passed
[ ] A new branch needs to be created from master to evolve previous versions
[x] Increase version in package.json following Semantic Versioning
[x] Add the issue into the right project with the proper status (In progress)

PR closed (declined) as it should be created against 1.10.x branch, not against main


CSV::MalformedCSVError when reading from file

Read gives a CSV::MalformedCSVError. Need to change the converter to leave quoted fields, and might as well change the other converter methods to quote fields for consisitency. Discovered in #19

in @6ed5c6bfebf5a1c70d326cfc072d4abaaf64bf14 I changed the .rename_header lambda to output quoted headers. This doesn't fix the error: “unquoted fields do not allow \r or \n”, but it's the only change that happens before #read is called.
After some digging, I came up with a few SO threads about Excel formatting saved .csv files weirdly. I thought I had addressed this with #25, but it looks like there are still issues here. There is a solution I'm working on that intercepts files, reads them and encodes them before passing them on, but it needs work.

why won't my resolve #issue comments close issues?


kafka: add support for api versions request in mesh-filter

Commit Message: kafka: add support for api versions request in mesh-filter
Additional Description: Add first request handler - api-versions requests are used by clients to actually figure out what protocol is used with Kafka brokers. This is comparatively trivial request, as we just reply with constants.
Risk Level: Low
Testing: unit tests
Docs Changes: N/A
Release Notes: N/A
Platform Specific Features: N/A

/wait

/wait


Feature request: ability to hide native menu

Would it be possible to implement an option to hide the native menu in Windows (the one with File, Edit, View, etc.) and also temporarily show it when the Alt key is pressed?

This Hide Menu is very important, "Documents Toolbar" extension don't work correctly with Split View.


switch topic maps to use urls

I changed the topic maps code to store the content of the maps on s3 instead of locally.  To serve the maps, the front end should just link directly to the url returned for each map by list_maps.  This will fix the craziness now where just pulling the map from the database, serving it to the front end, and having the front end serve it takes 10 seconds.  This is also in preparation for doing a similar thing with the pre-generated topic dumps.
I have kept the content around for the existing map, so they should keep working for the time being.
As I create this issue, a migration script is running to upload all of the existing maps to s3, but it should be done tonight.

seems to have vastly improved performance, but it looks like you are pulling the file from s3 and then serving it from mediacloud.org?  my intent was for the front end just to directly point to the s3 file.  doesn't matter much for the s3 files, but this is related to the work I'm doing today to make topic dumps available in the same way, and it seems no bueno for the front end to download a 100+MB dump file from s3 and then reserve it to the user.

no problem.  seems to work well now, so I would put it low on the todo list.


v16 ?

Hi @kvaps
Do you plan on updating to kolab v16 ?
Regards,

Yes, currently now I am on vacantion. I will work on this some time later.
New release will be include many enchancements:
Separated init scripts, docker images and more optimisations.

@kvaps: Have a nice vacation.
Does anybody know something about the semi official kolab dockerhub images? https://hub.docker.com/u/kolab/
It seems that there exists a lot of small docker images. I guess those images are used for the kolab internal continous integreation pipeline. I think the most sustainable solution would be to use official containers released by the kolab dev team. But the lack of the description and no link to source is like blackbox testing of foreign software. Is it planned by the kolab dev team to provide official docker images for productive use in future? If those linked containers are destinated for that, where we find descriptions and setup tutorials?
best,
Christian

I thinks those are related with this article
point 5. Not sure though.
2016-04-22 16:33 GMT+02:00 cguentherTUChemnitz<EMAIL_ADDRESS>
@kvaps https://github.com/kvaps: Have a nice vacation.
Does anybody know something about the semi official kolab dockerhub
images? https://hub.docker.com/u/kolab/
It seems that there exists a lot of small docker images. I guess those
images are used for the kolab internal continous integreation pipeline. I
think the most sustainable solution would be to use official containers
released by the kolab dev team. But the lack of the description and no link
to source is like blackbox testing of foreign software. Is it planned by
the kolab dev team to provide official docker images for productive use in
future? If those linked containers are destinated for that, where we find
descriptions and setup tutorials?
best,
Christian
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/kvaps/docker-kolab/issues/17#issuecomment-213450575

Thanks for the link. It describes pretty much what i expected.
The usage of those kolab provided docker containers are documented in hopfully not too far future.
https://docs.kolab.org/contributor-guide/docker-containers.html
https://git.kolab.org/T1116
I think it would be suitable to wait for this documentation. Maybe it is possible to use those kolab provided docker containers for an up to date preconfigured kolab docker system.

Any news on this? And will it be easily possible to upgrade to the newer version if I set up the old/current one now?

So far in the development stage, it may be slow, sorry, this is due my heavy workload.
The image is created from scratch and it will be much better than first image.
At the moment, I developed the baseimage from which new kolab image will be created.
It is Centos7 based and uses systemd.
More details can be found in v16-dev branch, but the work is still in full swing, so it is not working for now.
Upgrade from Kolab 4.4 will be provided automaticaly right in the new image, or I will write detailed guide.
Thanks for interesting!

Thanks a lot for the info! 4.4 should be 3.4 shouldn't it? So it would be safe to use the current image and upgrade, keeping all users, settings and data(?) Can you already give a rough estimate when you will have the new image finished (I know that such estimates are pretty much impossible, but I though I'd ask anyways)?

Yes, sure 3.4 :)
I planed to finish it after 2-3 weeks. perhaps sooner, perhaps later...

Job is done. I released kolab 16 in docker:  https://github.com/kvaps/docker-kolab/tree/v16-beta
New image is systemd based. Update from 3.4 is automatic, but it is not yet tested. Please backup before upgrade!!
Thanks all who will help with testing.

v16 readme quick start command begins like this:
docker run
*--restart: on-failure:1 *
--name kolab
...
it should be
docker run
*--restart=on-failure:1 *
--name kolab
...

fixed, thanks


Output Stuck after "Selecting objects for living room..."

Hi, I am using ubuntu machine to run holodeck and i am not able to generate the output after
AI: Selecting objects for living room....
It is stuck there and I waited for more than 30 mins.
$ cd ai2holodeck
$ python main.py --query "a living room" --openai_api_key xxx

Generating from an empty scene.
 Please assist me in crafting a floor plan. Each room is a rectangle. You need to define the four coordinates and specify an appropriate design scheme, including each room's color, material, and texture.
Assume the wall thickness is zero. Please ensure that all rooms are connected, not overlapped, and do not contain each other.
Note: the units for the coordinates are meters.
For example:
living room | maple hardwood, matte | light grey drywall, smooth | [(0, 0), (0, 8), (5, 8), (5, 0)]
kitchen | white hex tile, glossy | light grey drywall, smooth | [(5, 0), (5, 5), (8, 5), (8, 0)]

Here are some guidelines for you:
1. A room's size range (length or width) is 3m to 8m. The maximum area of a room is 48 m$^2$. Please provide a floor plan within this range and ensure the room is not too small or too large.
2. It is okay to have one room in the floor plan if you think it is reasonable.
3. The room name should be unique.

Now, I need a design for a living room.
Additional requirements: N/A.
Your response should be direct and without additional text at the beginning or end.

AI: Here is the floor plan:
living room | oak hardwood, semi-gloss | taupe wallpaper, textured | [(0, 0), (0, 6), (7, 6), (7, 0)]
AI: The floor plan is valid. (Only one room)

User: I am now designing a living room. Please help me decide the wall height in meters.
Answer with a number, for example, 3.0. Do not add additional text at the beginning or in the end.

AI: The wall height is 2.5

User: I need assistance in designing the connections between rooms. The connections could be of three types: doorframe (no door installed), doorway (with a door), or open (no wall separating rooms). The sizes available for doorframes and doorways are single (1m wide) and double (2m wide).

Ensure that the door style complements the design of the room. The output format should be: room 1 | room 2 | connection type | size | door style. For example:
exterior | living room | doorway | double | dark brown metal door
living room | kitchen | open | N/A | N/A
living room | bedroom | doorway | single | wooden door with white frames

The design under consideration is a living room, which includes these rooms: living room. The length, width and height of each room in meters are:
living room: 7.0 m x 6.0 m x 2.5 m

Certain pairs of rooms share a wall: (exterior, living room). There must be a door to the exterior.
Adhere to these additional requirements: N/A.
Provide your response succinctly, without additional text at the beginning or end.

AI: Here is the doorway plan:
exterior | living room | doorway | double | dark brown metal door
There are multiple ways between exterior and living room

User: Guide me in designing the windows for each room. The window types are: fixed, hung, and slider.
The available sizes (width x height in cm) are:
fixed: (92, 120), (150, 92), (150, 120), (150, 180), (240, 120), (240, 180)
hung: (87, 160), (96, 91), (120, 160), (130, 67), (130, 87), (130, 130)
slider: (91, 92), (120, 61), (120, 91), (120, 120), (150, 92), (150, 120)

Your task is to determine the appropriate type, size, and quantity of windows for each room, bearing in mind the room's design, dimensions, and function.

Please format your suggestions as follows: room | wall direction | window type | size | quantity | window base height (cm from floor). For example:
living room | west | fixed | (130, 130) | 1 | 50

I am now designing a living room. The wall height is 250 cm. The walls available for window installation (direction, width in cm) in each room are:
living room: west, 600 cm; east, 600 cm; south, 700 cm;

Please note: It is not mandatory to install windows on every available wall. Within the same room, all windows must be the same type and size.
Also, adhere to these additional requirements: Only one wall of each room should have windows.

Provide a concise response, omitting any additional text at the beginning or end.

AI: Here is the window plan:
living room | south | fixed | (240, 180) | 2 | 50

AI: Selecting objects for living room...

Could you refer to this issue to turn off the multiprocessing?

I was able to skip this error by setting multiprocess = False for:

ObjectSelector
WallObjectGenerator
SmallObjectGenerator


Can create NFT template without unique code, but can't edit code

Overview
An NFT template can be created in the CMS without a unique code, but that blank unique code cannot be changed without deleting or archiving the entry.

This is an odd one. It could be that the CMS database migrations weren't been applied correctly. The underlying DB column is supposed to be unique and not nullable. It wasn't in nfty-mart but it was in my local DB. Created a PR to ensure it's correctly setup going forward and manually updated the DB in question here.
Also, when NFT templates (also applies for pack templates) are marked as published, most fields cannot be edited as they are used when we generate the immutable assets on Algorand.


Failed assertion: line 435 pos 12: '_initialButtons == kPrimaryButton': is not true.

Failed assertion: line 435 pos 12: '_initialButtons == kPrimaryButton': is not true.

Could you provide the output of flutter doctor -v ? Per the changelog there was a hotfix for exactly such issue in version 2.0.2.

Hi @FoxKevin
Can you please provide your flutter doctor -v, your flutter run --verbose and a minimal complete reproducible code sample?
Thank you

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


Model/add priors

This PR addresses issue https://github.com/covid-projections/covid-data-model/issues/< >
Please Check

[ ] Will the current schema in api docs be updated with this PR?
[ ] Are tests passing?

Rebuilt for merging to master in #238


When new services should be created

@jespino - Are you open to addressing the merge conflicts on this PR?

@agnivade great, sounds good to me.


OP-18123-Added noOfDays param for Dashboard- deployment history Api

https://devopsmx.atlassian.net/browse/OP-18123

This PR  triggered this build in this execution, please wait for it  and child pipelines to succeed before merging:  https://isd.prod.opsmx.net/deck/#/applications/gcp-gitprtrigger/executions/details/01GGSKQEKSYM7FPHWK0P34KD21


Missing dependency @parcel/plugin

All dependencies required for the package to run should be included in package.json. In basic setups where no other package depends on @parcel/plugin, this will cause parcel to crash.

Hi @jhsware - thanks for contributing.
I'm not sure what you mean by "basic setups".
parcel package already includes @parcel/plugin so there is no need to re-declare it.

I made a ParcelJS built package in a lerna repos and while building worked fine, it didn't include @parcel/plugin in my node_modules folder. Might have been a glitch, but regardless I think it is good practice to explicitly include all dependencies in package.json.

Thanks for the insight @jhsware.
In the case of Parcel, plugins are built to extend the core/the bundle itself by importing modules from it.
https://parceljs.org/plugin-system/authoring-plugins/#plugin-apis
Making @parcel/plugin a dependency on its own would create a version/implementation mismatch and could lead to some nasty bugs.
I would recommend you to re-consider your architecture and possibly even migrate from Lerna given its state.
As long as the build includes parcel package (no shaking, exclusions etc.), every plugin (not just this one) should work.

It is up to the package manager (npm) to solve version resolution. npm has an entry called peerDependencies for your use case, but it has over time been implemented as a regular dependency because it has turned out to be more intuitive.
You are not only relying on parcel installing the package but also npm doing flattening of node_modules which was introduced as a work around.
I still think you should reconsider. Relying on these two side effects is not a robust solution. Predictive version resolution is a basic feature relied upon by literally every frontend framework so you don't have to worry about that blowing up any time soon. As long as you have the same semver as the parcel dependecy it will work fine.
The issue is not with lerna. There is no hoisting of parcel going on.

As long as you have the same semver as the parcel dependecy it will work fine.

Not necessarily. This would fixate us to the version of @parcel/plugin (which would be 2.5.0 in this case) for all projects.
(i.e. project using Parcel 2.1.0 wouldn't use its @parcel/plugin, but would rely on my version of @parcel/plugin)
While in theory, semver shouldn't break anything, it's only a convention and unexpected side effects can happen.
Unfortunately, I can't merge this change due to this and possibly risk breaking other projects.
With that being said, the project is MIT so you are free to take it and prepackage it for your own needs.
Thank you again.


Support maxNativeZoom

Most accessible tile sources provide tiles until a certain z-coordinate, e.g. z <= 19 for OpenStreetMap. While I could prevent zooming further in using zoom.scaleExtent(), I sometimes want to be able to zoom further in, while using tiles with less resolution.
Leaflet solves this problem with https://leafletjs.com/reference-1.5.0.html#gridlayer-maxnativezoom
I think it would be nice to solve this in d3-tile as well.

I also think maxNativeZoom isn't a really good name for this feature, but I couldn't think of a better name yet.


#10010: VIT model on WH

This branch contains the ttnn implementation of optimized VIT model on WH device. Testing of VIT modules is in progress.

Here are the performance sheets of VIT modules:
vit_attention: ops_perf_results_attention_2024_07_08_14_19_56.csv
vit_intermediate: ops_perf_results_intermediate_2024_07_08_16_32_44.csv
vit_output: ops_perf_results_output_2024_07_08_16_35_46.csv
vit_layer: ops_perf_results_layer_2024_07_08_16_39_40.csv
vit_encoder: ops_perf_results_encoder_2024_07_08_16_42_32.csv


skatejs/bore: this.document || this.ownerDocument).querySelectorAll is not a function

Bug report

bore: 4.0.3

Current behaviour
A test like this
test('flight-nav', () => {
  const wrapper = mount("<flight-nav></flight-nav>");
  expect(wrapper.all('leaflet-map').length).toEqual(1);
});

gives an error
    TypeError: (this.document || this.ownerDocument).querySelectorAll is not a function

      7 | });
      8 |

      at Text.node.matches (node_modules/@skatejs/bore/umd/@skatejs/bore.js:137:57)
      at matches (node_modules/@skatejs/bore/umd/@skatejs/bore.js:141:6)
      at node_modules/@skatejs/bore/umd/@skatejs/bore.js:216:13
      at walk (node_modules/@skatejs/bore/umd/@skatejs/bore.js:285:3)
      at walkTree (node_modules/@skatejs/bore/umd/@skatejs/bore.js:306:9)
      at Wrapper.all (node_modules/@skatejs/bore/umd/@skatejs/bore.js:215:7)
      at Object.<anonymous> (flight-nav.test.js:9:18)

Yeah, this is because your environment wouldn't be supporting querySelector. If you're using @skatejs/ssr, we still haven't implemented that yet.

My components are gonna be hitting WebGL paths, etc, maybe @skatejs/ssr isn't the best for me in this case.

@trusktr probably not but it would be nice to see if something like https://github.com/stackgl/headless-gl works. For WebGL you may want a full browser environment depending on what you're doing. Regardless, bore works in a browser.

For reference, this is my Karma config with headless electron: https://github.com/trusktr/builder-js-package/blob/master/config/karma.config.js

Closing as there's no planned support for qSA and the rest of the issue is off topic.


Custom root domain with other reference than A-ALIAS record

Hi,
Not sure if the docs are the right place for this issue, if not please provide me with the place where I should file it.
Now that static-web-apps added support for root domain I again wanted to verify it covered all my use-cases.
I followed the following guide, but unfortunately, it requires and did not manage to get it working. Since I am not a DNS specialist and I rather not touch the dials there to much for fear of breaking something else I contacted my hosting providers DNS gurus and they replied with the following
The document is referring to an "A ALIAS" record which
we do not support. A regular "A" record only allows an
IP address which is why it's showing an error when you
try to add the "A" record. There might be alternate "A"
record that you can add instead of "ALIAS". Please check
with their helpdesk and they should be able to help you
with this.

Alternately, you can add a CNAME record for the
subdomain "www" and that should work as well. But this
wouldn't work for root domain, sorry.

Since I want to use root domain and not a required www prefix for my customers I thought I ask here regarding the possibilities.
note I checked with two different DNS providers they both only support regular A type records.
Another alternative is of course A type pointing towards an IP (similar to step 5 in https://docs.github.com/en/pages/configuring-a-custom-domain-for-your-github-pages-site/managing-a-custom-domain-for-your-github-pages-site#configuring-an-apex-domain)
But I am not sure if Azure Static Webapps offer (static?) IP addresses to resolve this.

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

ID: 190b1ed3-0712-2f19-4e8f-a2a8519d136e
Version Independent ID: b02adbf4-d2a8-6c84-e70a-ff59fb3cbb7b
Content: Set up a custom domain in Azure Static Web Apps
Content Source: articles/static-web-apps/custom-domain.md
Service: static-web-apps
GitHub Login: @burkeholland
Microsoft Alias: buhollan

@kaylumah we'll review your feedback and get back to you shortly. Thanks.

Upon further review, we feel your feedback would be best received by the doc author to add any necessary clarity to the docs.

Hi @Grace-MacJones-MSFT not sure what you mean. Who needs to do what exactly?

Thanks, @kaylumah for raising this issue. The product team is aware of this issue and tracking it internally. For now I am going to #please-close this issue since it's not a documentation issue.


PreCommit Configured as a Script

I have a monorepository and pre-commit hooks just don't work at this level.
However, I do wish to make it trivial to check changes before pushing.
I'd like to be able to configure pre-commit to install a script in the project, such as check so that developers can run all the checks with a single command.

We could have a setting that prevents installing into git hooks, but you can still run pre-commit run -a.

That would be good


java.lang.IllegalArgumentException: Invalid Api secret

I'm creating a facebook app (https://developers.facebook.com)
This is my code:
import OAuthManager from 'react-native-oauth';
const manager = new OAuthManager('test');
manager.configure({
        facebook: {
		client_id: 'xxxx',          //Application ID
		client_Secret: 'xxxxxxxx'   //App secret
	}
});
manager.authorize('facebook')
.then(resp => console.log(resp, 'Your users ID'))
.catch(err => console.log(err, 'There was an error'));

And I have this error:
allErrorMessage: "java.lang.IllegalArgumentException: Invalid Api secret"
errorMessage: "Invalid Api secret"
Any help please ?

Hey @northern-fox
I just pushed a small update to the npm module that fixes that over here. Can you try and see if it fixes it on your end?

Hi @auser
Your update resolved my another issue, but I get the error yet

Make sure you copied the complete strings without while space

@auser, I changed client_Secret key to client_secret now it's works.


Crete a disk_write() function

This function have the responsibility to update file of the database in the correct memory address.

done.


Codec decorator for AddressedEnvelope support

#1349 gives me an interesting idea:
pipeline.addLast("udpDecoder", new DatagramPacketDecoder(new ProtobufDecoder(..)));
pipeline.addLast("udpEncoder", new DatagramPacketEncoder(new ProtobufEncoder(..)));

where DatagramPacketDecoder unwraps the packet and feeds the enclosed ByteBuf to ProtobufDecoder, and DatagramPacketEncoder unwraps an AddressedEnvelope and feeds the enclosed ByteBuf to ProtobufEncoder to produce a DatagramPacket.
If we add a new copy operation to AddressEnvelope that allows us to specify the new content while preserving other properties such as remote address, we can get it work for all AddressedEnvelope messages rather than only DatagramPacket.

This one can be closed now.

@windie Thanks for the heads up!


add 31 bit integer support; blink and hello working

31 bit integers documentation
Integers are odd 32-bit integers (the final bit of 1 distinguishes them from pointers). The C-translation of SSLANG integer operations are defined below. Most operations use the general translations of binary a OP b  or unary OP a. Translations of addition, subtraction, and bitwise not (~) can be optimized to use fewer steps than the general translations.
The following operations are unaffected by the final bit always being 1:

Comparisons Greater than (>), Less than (<), Equal to (==), GTE (>=), LTE (<=)
Bitwise AND (&) and btiwise OR (|)

a OP b

a >> 1 //arithmetic
b >> 1 //arithmetic
c = a OP b
c << 1
c | 00000001

OP a

a >> 1 //arithmetic
c = OP a
c << 1
c | 00000001

Add/Subtract Optimization

b & 11111110
c = a OP b

1's Complement Optimization

c = ~a
c | 00000001

a OP b direct translation (for unaffected OPs)

c = a OP b

Testing

currently works with hello and blink
TODO: make sure edit I made to make blink work won't break other programs
TODO: make more tests

You can be a little more clever. 1's complement can be expressed x ^ (~1) (Note that ~1 is a constant).


Configuration is not fully checked if the unified read pool is partially enabled

Bug Report
What version of TiKV are you using?
Nightly or latest release-4.0.
What operating system and CPU are you using?
Unrelated.
Steps to reproduce
The following invalid configuration is not rejected:
[readpool.storage]
use-unified-pool = false
stack-size = "1MiB"

[readpool.coprocessor]
use-unified-pool = true

What did you expect?
The above configuration is rejected because the minimal stack size is 2MiB.
What did happened?
TiKV starts.

Closed by #7387


Update version.cs to <IP_ADDRESS>

We also decided to move the github CI to M4 for Helium and IMDB.
The last PR we will want to approve is the change to the version number.
After that is merged, we'll label each repo with v0.4.0 which will run the CI-CD and publish the docker containers.

Resolved in PRs


add /etc/nsswitch.conf

Registry's notification relies on /etc/nsswitch.conf to check the order of DNS resolving
https://github.com/docker/distribution/issues/2467

https://github.com/docker/distribution/issues/2467

@stevvooe
Hello?

https://github.com/docker/distribution/issues/2467

see also: https://github.com/docker-library/docker/pull/84/

LGTM
@tianon What do we need to do to get this updated?

Once this is merged, that'd be a PR to https://github.com/docker-library/official-images/blob/master/library/registry, which I'd be happy to make for you if you'd like. :+1:

(Probably worth considering whether 2.5.x is still actually supported and update to the new RFC 2822-based format while we're at it.)

@tianon I'm OK, thanks for making that PR.
BTW @stevvooe , I have another PR for registry, would you mind take a look? https://github.com/docker/distribution/pull/2465

Closing as wildly outdated. Feel free to reopen.


Use proteins weights for comparison of prediction scores

...

addressed in https://github.com/skrakau/metapep/pull/51

addressed in https://github.com/skrakau/metapep/pull/51


Support more general container types as abbreviations

This pull request adds or improves support for various container types used as abbreviations for @interact:

Properly support a list of 2-tuples: the first element of each tuple should be converted to a string.
Support any kind of Mapping instead of just dict (and OrderedDict which subclasses dict).
Support any kind of Iterable instead of only list.

Tests are added for all new cases.

Looks good to me, thanks for the tests! @SylvainCorlay anything I'm forgetting?

Can we wait until tomorrow? I am afk tonight.
On Aug 31, 2016 8:48 PM, "Min RK"<EMAIL_ADDRESS>wrote:

Looks good to me, thanks for the tests! @SylvainCorlay
https://github.com/SylvainCorlay anything I'm forgetting?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ipython/ipywidgets/pull/744#issuecomment-243793082,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACSXFix2ZzJIXKd2TWxmQRDf2VSyMuUfks5qlZd3gaJpZM4Jxhct
.

Yup, no problem.

ping...


Add linux aarch64 wheel support

Added linux aarch64 wheel support.
Closes #180. @sethmlarson could you please have a look at this PR.

Thanks for opening this, I have concerns about how long the CI is for aarch64, is it possible to only have one aarch64 build while maintaining reasonable guarantees that things don't break? (No prior experience building wheels with ARM)

I have removed the aarch64 test job as it was taking more time compared to x86. I have tested the package for aarch64 and it is working fine. Please release the wheels, if there are any issues in future I will take care of it.


ScriptUtils cant load postges dump

given:

Spock with testcontainers;
Dump from postgres 13.6;
PostgresqlContainer.withInitScipt(dump.sql);
when:
container starts;
then:
It falls with loads of exception: from dropping not existent table till synthax errors, i.e. it can't read "\connect template1".
Is there any workaround?

This is very likely related to issues similar to this concrete one:
https://github.com/testcontainers/testcontainers-java/issues/4441
ScriptUtils does not support the full extent of all SQL dialects. I would recommend using your regular tooling for managing database schemas (e.g., Flyway or Liquibase).
You can share your dump and we might be able to pinpoint the issues, but I am fairly confident it is because of the reasons above.

The funny thing is that we supposed to use TC for proving correctness of liquibase's scipts. Something like custom
https://github.com/liquibase/liquibase-test-harness


[zh] Resync /services-networking/service.md

content/zh-cn/docs/concepts/services-networking/service.md

I'm kicking this in because the upstream has a huge refactoring going on that touches many pages.

/lgtm
/approve


Remove time field before sending data to Influx.

We were experiencing spammy Influx logs from a large number of lines that looked
like:
dropping field 'time' from ...

To prevent this problem, we will remove the time field before sending data
points to Influx.

Ok. Fixed.


Great Post!

I tried the ICommand way and worked for me right away

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

ID: 1e56a604-3af6-80e9-b9df-382e3102a098
Version Independent ID: 29cc319e-2736-013c-7934-b4335eb8242d
Content: Adding a Tap Gesture Gesture Recognizer - Xamarin
Content Source: docs/xamarin-forms/app-fundamentals/gestures/tap.md
Product: xamarin
GitHub Login: @davidbritch
Microsoft Alias: dabritch

Hi @abhijitv
Thanks for the feedback and glad it worked for you!

Sure ,.thanks so much!
On Tuesday, 19 June 2018, 9:51:59 PM GMT+8, David Britch<EMAIL_ADDRESS>wrote:
Hi @abhijitv
Thanks for the feedback and glad it worked for you!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.


Use on Google Colab?

Hello:)
It is great to see this project.
I was trying to see if it worked on Google Colab but it seemed to give an error
screenshot

ERROR:    [Errno 99] error while attempting to bind on address ('::1', 43081, 0, 0): cannot assign requested address

is this expected? i was interested in the servir code cause that worked seemlessly locally in the jupyter lab notebook

is this expected? i was interested in the servir code cause that worked seemlessly locally in the jupyter lab notebook

Thanks. This should be working. I ran into it the other day and wonder if Colab has changed something. Ideally, we would use anywidget to send the data but servir is a quick workaround to expose a background webserver to the client. However, as you are noticing, there are more issues that arise with this due to a need to separately configure the web sever for differnt environments. Whereas if we used the Jupyter websocket (via anywidget), we could reuse this channel for better consistency.

random other note: i think this repo is missing a license

oops, just added. Thanks for pointing this out!

For context, Google Colab (historically) has used a Service Worker in the front end to authenticate and proxy HTTP requests to http://localhost in the google notebook to the backend kernel. This behavior is not documented and I'm guessing there is some change.

excellent, thanks for checking that out! I am really curious what something like https://github.com/manzt/pygv/issues/1 could look as well...


Add Hubspot embed to email partial

At Erik's request, this replaces the old email-subscription form with Hubspot.
This is a quick and dirty fix; there is still a bunch of old in-partial CSS from the previous email subscription service that we're relying on to display this box. But Erik just wants this up as quickly as possible. So that's what I've done here.
Note I'm opening this PR against the new staging branch. Fingers crossed the new deploy action works as advertised when we merge this 🤞🏻
Linear issue: DEV-1534

Oh and also: one of the things to check when this gets up on staging is the form's behavior in Firefox. In testing over localhost, Firefox was neither rendering nor even receiving the thank-you message Hubspot is supposed to be passing back (Chrome and Safari both did fine).
So whether that's a Firefox security issue, a Hubspot issue, or something else--more eyes will help us figure that out.

If I look here: https://blog.staging.daily.co/comparing-domain-room-and-meeting-token-rest-api-configurations-for-daily-video-calls/ I'm still seeing the old form, I think 🧍♀

Hmm yes, the code itself lgtm but I also still see the old version on Staging

Right, I think that's because the deploy action only gets triggered on a merge (push).
That presents a paradox, because deploy to staging only happens on a merge. But that should only happen after a review. BUT, a review is better/easier to do when the code in question is up on staging...
Is there a better way to do this? There's a huge list of events that can trigger actions, including opening a PR, but that could make for chaos on staging if ever there are multiple open PRs...

Cool. I think freely merging to staging is a good plan, for now (we might ultimately change the branch-protection against force pushing just so staging can be restored to the same state as main if things get weird up there.
I'm going to go ahead and merge now and see how the deploy script works...


Relicense under dual MIT/Apache-2.0

This issue was automatically generated. Feel free to close without ceremony if
you do not agree with re-licensing or if it is not possible for other reasons.
Respond to @cmr with any questions or concerns, or pop over to
#rust-offtopic on IRC to discuss.
You're receiving this because someone (perhaps the project maintainer)
published a crates.io package with the license as "MIT" xor "Apache-2.0" and
the repository field pointing here.
TL;DR the Rust ecosystem is largely Apache-2.0. Being available under that
license is good for interoperation. The MIT license as an add-on can be nice
for GPLv2 projects to use your code.
Why?
The MIT license requires reproducing countless copies of the same copyright
header with different names in the copyright field, for every MIT library in
use. The Apache license does not have this drawback. However, this is not the
primary motivation for me creating these issues. The Apache license also has
protections from patent trolls and an explicit contribution licensing clause.
However, the Apache license is incompatible with GPLv2. This is why Rust is
dual-licensed as MIT/Apache (the "primary" license being Apache, MIT only for
GPLv2 compat), and doing so would be wise for this project. This also makes
this crate suitable for inclusion and unrestricted sharing in the Rust
standard distribution and other projects using dual MIT/Apache, such as my
personal ulterior motive, the Robigalia project.
Some ask, "Does this really apply to binary redistributions? Does MIT really
require reproducing the whole thing?" I'm not a lawyer, and I can't give legal
advice, but some Google Android apps include open source attributions using
this interpretation. Others also agree with
it.
But, again, the copyright notice redistribution is not the primary motivation
for the dual-licensing. It's stronger protections to licensees and better
interoperation with the wider Rust ecosystem.
How?
To do this, get explicit approval from each contributor of copyrightable work
(as not all contributions qualify for copyright) and then add the following to
your README:
## License

Licensed under either of
 * Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
 * MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)
at your option.

### Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any
additional terms or conditions.

and in your license headers, use the following boilerplate (based on that used in Rust):
// Copyright (c) 2016 sctp-sys developers
//
// Licensed under the Apache License, Version 2.0
// <LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0> or the MIT
// license <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. All files in the project carrying such notice may not be copied,
// modified, or distributed except according to those terms.

Be sure to add the relevant LICENSE-{MIT,APACHE} files. You can copy these
from the Rust repo for a plain-text
version.
And don't forget to update the license metadata in your Cargo.toml to:
license = "MIT/Apache-2.0"

I'll be going through projects which agree to be relicensed and have approval
by the necessary contributors and doing this changes, so feel free to leave
the heavy lifting to me!
Contributor checkoff
To agree to relicensing, comment with :
I license past and future contributions under the dual MIT/Apache-2.0 license, allowing licensees to chose either at their option

Or, if you're a contributor, you can check the box in this repo next to your
name. My scripts will pick this exact phrase up and check your checkbox, but
I'll come through and manually review this issue later as well.

[ ] @phsym

I license past and future contributions under the dual MIT/Apache-2.0 license, allowing licensees to chose either at their option


fix #21: add __bool__ so shows with empty ep lists are still considered truthy

Ref #21.

Thanks for doing the PR, but I had already put it in my dev locally and am about to push it.  I'd accept yours but in order to support Python 2 as well I also need to define _nonzero_.  Standby for new push to master soon

No problem, thanks :)
On 3 Dec 2015 12:37 PM, "srob650"<EMAIL_ADDRESS>wrote:

Thanks for doing the PR, but I had already put it in my dev locally and am
about to push it. I'd accept yours but in order to support Python 2 as well
I also need to define nonzero. Standby for new push to master soon
—
Reply to this email directly or view it on GitHub
https://github.com/srob650/pytvmaze/pull/22#issuecomment-161512252.


Flatpak Installation on Lenovo Duet Chromebook; Error on Launch

Godot version:
3.2.3
OS/device including version:
Chrome OS 86.0.4240.183 (32-Bit) / Lenovo Duet Chromebook
Issue description:
When trying to launch Godot (installed as a flatpak) I am met with the following error:
Godot Engine v3.2.3.stable.flathub - https://godotengine.org
OpenGL ES 3.0 Renderer: llvmpipe (LLVM 9.0.1, 128 bits)
Unable to find target for this triple (no targets are registered)
handle_crash: Program crashed with signal 11
Dumping the backtrace. Please include this when reporting the bug on https://github.com/godotengine/godot/issues
[1] /usr/lib/arm-linux-gnueabihf/libc.so.6(+0x275d0) [0xf6ff15d0] ()
-- END OF BACKTRACE --
/app/bin/godot: line 3:     4 Aborted                 (core dumped) /app/bin/godot-bin "$@"

I'm not sure if this is a Godot issue or if it belongs to https://github.com/flathub/org.godotengine.Godot/issues
@Calinou Does the FlatHub distribution include an armv7 build? I see you're excluding aarch64 on https://github.com/flathub/org.godotengine.Godot/blob/master/flathub.json, but I don't know which platforms are then still included by default.
For the reference, I build Godot successfully on armv7 and aarch64 on Mageia Linux (though I admit I never actually tried the binaries to see if they're functional).
@sly-roccoon Do you have Linux support enabled for your Chrome OS? See https://www.computerworld.com/article/3314739/linux-apps-on-chrome-os-an-easy-to-follow-guide.html (might not be the best resource around this, I just picked one of the first links).

Does the FlatHub distribution include an armv7 build?

I think it does, otherwise you'd get an "Exec format error" on startup (or flatpak would refuse installing the Flatpak altogether).

Working now, thanks!


"executor must be set" error when building without the "tcp" feature

Version
0.14.16
Platform
x86_64
Description
I'm building code to run hyper with an in-memory connection, so I implemented my own Connector, Connection and Accept. I want my package to not impose unnecessary dependencies, so my Cargo.toml contains:
hyper = {version = "0.14", features = ["client", "server", "http1"]}

However this code prevents me from doing that:
https://github.com/hyperium/hyper/blob/f1b89c117cffebed4b2b8eb2d221fd9b25c1d3d1/src/common/exec.rs#L51-L55
I need to turn on tcp support, even though I won't be using it with my in-memory connection.

Relevant code: https://github.com/communityvi/communityvi/tree/95fe7825ea4d46ccc22e6abf9590d2d66cedfdca/communityvi-server/hyper-test

This is currently expected behavior. If you don't enable the Tokio integration, then you must provide an executor, since it can't default to using Tokio.

Thanks for clearing that up, that works. Sorry for the inconvenience!


Methylation update

Phil added a 12 of new samples, prefixed with<PHONE_NUMBER>. Need to update the metadata for these.

Done.


Move Templates to Folder: Update File for Main

relates to https://github.com/SeattleColleges/nsc-events/issues/29
The feature request had been edited but never carried over to other repos. Changing it back to the way it was prior to the edit.
The following needs to be done for this issue:

update feature_request.md.

I went ahead and pushed this update to an existing PR on this repo which was already dealing with this folder to simplify things.


FR: make menus more readable

First off—I love this theme. Thank you so much for it! I wouldn't have thought that "something like this" would become my daily driver, but there you go.
Only the menus could be a bit more "readable", as in:

have a border, a drop shadow, or a darker or lighter background color so they're easily distinguishable from what's underneath
have the same bright text color on mouse hover as when selected using the keyboard

Thank you so much again!

Brilliant suggestion! This theme is still work in progress so thank you for coming up with improvements. I will submit an update by end January, just got caught in the holiday season.

Made a quick fix to the menu color for now. It is a bit hard to target it because it influences other elements and there is no menu class or selector as of now. Will keep this in mind and will try to rework in the future. Also see the discussion here: https://discord.com/channels/725182569297215569/752845138148982877/927081452993146882

Thanks for the follow-up!

As a quick fix for the time being I updated my css with:
.ui__modal-panel,
.absolute-modal,
.rounded-md {
	border-radius: 0;
}

.dropdown-wrapper,
.ui__modal-panel,
.absolute-modal,
.modal {
	border: 1px solid var(--ls-border-color);
}

.menu-link:hover {
	color: var(--ls-primary-text-color);
}

So that all menus have a border, and mouse hover colors work as intended.

I fixed this for myself with
a.chosen {   background: var(--lighter-background); }
Currently --ls-a-chosen-bg maps to --light-background which to my eye is only barely visible on the dark background.

@ThomPatterson mind submitting a PR? I am happy to merge, just struggling with time in the past two months. I know I need to refresh the theme :)


Add lint script & modulus/standard to the CLI.

First step in order to push linting changes directory by directory, as not to overwhelm reviewers.

:+1:

:+1:


use pdf links for riptutorial

We have a few resources from riptutorial.com
We accepted a few with the credit " Compiled from StackOverflow Documentation"; it seemed similar to goalkicker which is a similar idea but IIRC reasonable for what it was.
I had a closer look at one of these, and I found it was mostly an unusable ad-infested content farm
Should we keep these or remove them?

Aprendizaje TypeScript - riptutorial (PDF)
Aprendizaje TypeScript - riptutorial (PDF)
Aprendizaje Angular - riptutorial (PDF)
Aprendizaje Angular - riptutorial (PDF)
Aprendizaje Angular 2 - riptutorial (PDF)
Aprendizaje Angular 2 - riptutorial (PDF)
Learning Dart (PDF)
Learning graphqL (PDF)
Learning Java Language - Compiled from StackOverflow Documentation (PDF)
Learning Vue.js (PDF)
Learning Kotlin (PDF)
Learning MongoDB - Based on Unaffiliated  Stack Overflow Documentation (PDF)
Rip Tutorials
Iniziare con Erlang Language

I’d say the PDFs should be acceptable as it follows the fundamental principles and guidelines of the usual content that’s submitted in this repository (at least from first glance with the given examples). Additionally, I’d recommend making further contributing guideline changes on websites that are solely/mainly designed for ad-farming. It really doesn’t fit in with the repository’s professionalism, but drawing the line to what can be considered as “ad-farming” can be somewhat subjective. My personal recommendation would be to avoid adding HTML tutorials of the website.

No ads showed for me either, not sure why. I assumed it was some configuration I did on my browser that I forgot about or something.

also insterstial ads every few clicks.

sample:

It's just I mentioning here https://github.com/EbookFoundation/free-programming-books/issues/6153#issuecomment-939582590

PDFs. Several links mentioning read this topic on the website (most of that html pages with few content... "ad-farming" ???)

What if you replaced the link to the page with the direct link to the pdf instead? It would solve the problem of ads.

What if you replaced the link to the page with the direct link to the pdf instead? It would solve the problem of ads.

The PDF has several links to these pages https://github.com/EbookFoundation/free-programming-books/issues/6153#issuecomment-939582590. Download one :wink:

The PDF has several links to these pages #6153 (comment). Download one 😉

I know but the books are very interesting and it's a shame not to include them. Maybe you could put a notice next to the link saying that there are numerous advertisements on the page....

could someone post a "good" pdf link so we can be talking about the same thing?

Its my first time to hear about ad-farming.
Gonna rectify link and direct it to pdf

I'd like to contribute a system design handbook. Please grant me permission to contribute and I'm committed to following all guidelines and standards.
Thank you for your consideration.

I am not admin to grant permissions but hope that you do a research about
who gives such permissions
On Wed, Oct 11, 2023 at 12:10 PM sagar gaud @.***>
wrote:

I'd like to contribute a system design handbook. Please grant me
permission to contribute and I'm committed to following all guidelines and
standards.
Thank you for your consideration.
—
Reply to this email directly, view it on GitHub
https://github.com/EbookFoundation/free-programming-books/issues/6153#issuecomment-1757218429,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVZHTEUITXCPW25X6WWMEZ3X6ZPARANCNFSM5FW5VSYA
.
You are receiving this because you commented.Message ID:
@.***>


missing color channels ?

tried release version 20200224
cmd: run.exe -i .\input\2225654d7eac7d8b1706169d4bd75d3e_original.jpg -o .\output\test1.jpg -n 1 -s 2 -g 0
went from

to

windows 10 64x 1909
gpu: rx 5700 xt and rx 470 (both gpu same result)
driver: 20.2.2

i have too , version 20200224 from "pre-compiled binary for windows 64bit" have this bug, but version 20200223 work fine. win 10 x64 1909, gtx1070, driver laters

I have the same issue with the 5700 XT and the 20.2.2 driver.

Can't reproduce on Linux with Mesa 19.3.3 [version 20200224].
This bug might be specific to Windows only.

same bug on windows 5700 XT and driver 20.2.1

Vega 56, driver 20.2.2 - same problem

This issue might be caused by "net.opt.use_int8_storage".
https://github.com/Nlzy/vapoursynth-waifu2x-ncnn-vulkan/issues/1#issuecomment-591960319
Here is a binary with "net.opt.use_int8_storage" to false.
https://ci.appveyor.com/project/f11894/waifu2x-ncnn-vulkan/builds/31510642/artifacts
please check if the issue is solved.

net.opt.use_int8_storage=false issue is not solved

Could you try this binary as well?
https://ci.appveyor.com/project/f11894/waifu2x-ncnn-vulkan/builds/31514244/artifacts
build with waifu2x-ncnn-vulkan 4b626f8
build with ncnn 20200223 3621009

Version with Your fixes process images correctly, at least on my rig. Thank you, f11894!

Could you try this binary as well?
https://ci.appveyor.com/project/f11894/waifu2x-ncnn-vulkan/builds/31514244/artifacts
build with waifu2x-ncnn-vulkan 4b626f8
build with ncnn 20200223 3621009

Could you try this binary as well?

issue is not solved

I am not sure if I tested it correctly, I used version 20200224 as a base and replaced "waifu2x-ncnn-vulkan.exe" with the one from the new binary you posted and it didn't fix the issue on my system, which conists of: Windows 10 1909, AMD RX 5700 XT, Adrenalin 2020 Edition 20.2.2. I also tried the binary in the fp32 folder and the binary from the root folder with the fp32 folder in the program folder.

It seems to be an image decoding / encoding issue.
waifu2x-ncnn-vulkan use Windows Image Component for image decoding and encoding on Windows platform, while stb_image for others.
However, this issue can not be reproduced in my window 10 box atm.

It seems to be an image decoding / encoding issue.
waifu2x-ncnn-vulkan use Windows Image Component for image decoding and encoding on Windows platform, while stb_image for others.
However, this issue can not be reproduced in my window 10 box atm.

Can't be ffmpeg used to decode the image?

build two version of binary for testing, with the latest ncnn and waifu2x-ncnn-vulkan code
one uses windows image component for image decoding and encoding
another one uses stb_image
please comment if any of them solves this issue
waifu2x-ncnn-vulkan-20200412-stb.zip

@nihui It is still green for me ( tested the two version ) and the ouput is still green

@nihui It is still green for me ( tested the two version ) and the ouput is still green

Thanks for your reply
I have to investigate further  :(

Cannot reproduce here :(
Windows 10 1909 18363.720
nvidia driver 445.75

The output is also still green with either binary on my machine:
GPU: AMD Radeon RX 5700 XT
Driver: 20.4.1
OS: Windows 10 1909 18363.720

https://github.com/nihui/waifu2x-ncnn-vulkan/releases/tag/20200414
A special binary is provided for some old and buggy driver.
I am not sure if this issue could be resolved, but have a try..

releases/tag/20200414 green image GPU: gtx1070 Windows 10 1909 18363.752 Nvidia 445.75

@nihui
20200414 is still green with AMD GPUs
the last build that works is 20200223

@nihui
20200414 is still green with AMD GPUs
neither executable works
the last build that worked is 20200223

I also have the same issue with both binaries.
GPU: AMD Radeon RX 5700 XT
Driver: 20.4.1
OS: Windows 10 1909 18363.720

I also have the same issue.
I did "a bit" of testing with different parameters.
Build: 20200414.
OS: Windows 10 1909 (18363.778).
Results were the same on GTX 1060 6GB (tried drivers: 441.87 and 445.87) and Intel HD 630.
Bug appeared in both normal and fp16p versions.
models-upconv_7_photo and models-upconv_7_anime_style_art_rgb made result picture in blue. models-cunet made result picture in green.
Intensity of color distortion varies depending on noise-level parameter, where -1 resulted in less distorted colors and 3 resulted in very distorted(cunet) or almost black(upconv) picture.
In testing I usually used -t 100 -j 1:1:1 parameters. Examples without them are marked with "no-t no-j" in name.
Examples are on Google Drive
I'll try testing on another workstation (Intel HD 5300 and older Windows) later.
Also please tell me if I can help with testing this bug.

Updated to 20200414 today and having the same issue;
all tested images have a strong green tint.
Windows 10 1909 (18363.815)
NVIDIA RTX 2070 with Driver 445.87
Normal and FP16p executable

So, tested builds:
Bug appears on builds 20200414 and 20200224.
Builds 20200223 and before it don't have color distortion.
Problem is somewhere in those commits?

Here is a new snapshot release build with recently updated ncnn library
Please give it a try, Thank you.
The download link is at the artifact section
https://github.com/nihui/waifu2x-ncnn-vulkan/actions/runs/112581139

Sadly the issues persists for me.
GPU: AMD Radeon RX 5700 XT
Driver: 20.4.1
OS: Windows 10 1909 18363.836

green image
waifu2x-ncnn-vulkan.exe -i 2.jpg -o 2x.jpg
input:

output:

Still having this problem with version 20200530

https://github.com/k4yt3x/video2x/issues/254#issuecomment-639482430

To summarize, @xyz00777 found that this bug will be triggered when the display language is German or some other non-English languages.

Huh? But I'm using English

I've prepared a binary that reverts 2041d93 and 28207dd, so you can try it out.
https://ci.appveyor.com/project/f11894/waifu2x-ncnn-vulkan/builds/33341219/artifacts
https://github.com/f11894/waifu2x-ncnn-vulkan/tree/locale_revert

I just tested further and I think it's because of region decimal symbol setting.
Original:

Command line I used: .\waifu2x-ncnn-vulkan.exe -i ".\illust_82084647_20200605_062417.jpg" -o ".\illust_82084647_20200605_062417vUSComma.jpg" -x USComma can change based on the region setting
If I'm using my usual setting (English (Netherlands)), I got this:

If I'm using English (United States):

If I'm using English (United States) but changed the decimal symbol to comma:

I've prepared a binary that reverts 2041d93 and 28207dd, so you can try it out.
https://ci.appveyor.com/project/f11894/waifu2x-ncnn-vulkan/builds/33341219/artifacts
https://github.com/f11894/waifu2x-ncnn-vulkan/tree/locale_revert
Ninja'd :(

I got invalid outputpath extension type error on both executables. I used the same command from the one I posted before.

@f11894 Works for me now with sv-SE (Swedish) locale.
@christantoan Try deleting all the "." behind the filenames except the executable. PowerShell is fun 🙃

I AM STUPID!!!
I used .jpg as the output extension when it should be .png even when the program already said it.
Anyway, it works now with comma as decimal separator (EN-NL)

Oh wow. Actually insane how not using English (United States) as Region format causes these graphical issues.

@lextra2, you don't need to reboot or set the region to EN-US. Changing decimal symbol setting to period should be enough.

@christantoan ohhh thats much better. thanks a lot!

Not a fix but a workaround. How does language settings even affect script?

Maybe parsing error or something? When it sees comma it thinks it's a decimal separator or vice versa.
I've seen it happens before with other software.

reproduced
will work out a fix in ncnn and push a new release
Thanks to all

So this is an upstream issue?

@nihui Work good for me in laters CI Artifacts. Thank You!

https://github.com/nihui/waifu2x-ncnn-vulkan/releases/tag/20200606


Go-Go relations are the same as Protein-Go relations?

Hello, researchers.
I have a question about your pre-train datasets, when I checked your lists of pre-train datasets, I found only one dataset named relation2id.txt that is related to relations. And I found you use the same file for GO-GO relations and Protein-GO relations in your codes. Therefore, I am confused about this. And I want to ask if the relation file for Protein-GO and GO-GO are the same, if yes, I want to know why they are the same or how you define or think the relations for Protein-Go and GO-GO should be the same.
Thanks.
Best regards,
Xinghao

From the knowledge graph perspective, Protein-GO triplet is in the same knowledge graph as the GO-GO triplet. Hence, we unified the relations that occurred in the Protein-GO triplet and relations in the GO-GO triplet into the same relation id mapping list.

generate  create_goa_triplet('data/original_data/goa_uniprot_all.gaf', 'data/onto_protein_data/protein_go_triplet', 'data/onto_protein_data/protein_seq_map.txt') an error occurred：
File "gen_onto_protein_data.py", line 53, in create_goa_triplet
if rec[0] != 'UniProtKB' or rec[11] != 'protein':
IndexError: list index out of range

generate create_goa_triplet('data/original_data/goa_uniprot_all.gaf', 'data/onto_protein_data/protein_go_triplet', 'data/onto_protein_data/protein_seq_map.txt') an error occurred： File "gen_onto_protein_data.py", line 53, in create_goa_triplet if rec[0] != 'UniProtKB' or rec[11] != 'protein': IndexError: list index out of range

Hi, the Gene Ontology annotation format has been updated. It's our error that we don't timely update the annotation file format in the README. You need to re-download goa_uniprot_all.gaf instead of *.gpa.

Thank you for your reply
I also meet an error, when I want to create_go_data ,the result of godag = GODag(fin_path, optional_attrs={'relationship'}),
for go_id, go_term in godag.items():
File "gen_onto_protein_data.py", line 115, in create_go_data
cur_node_desc = f'{cur_node_name}: {go_term.definition}'
AttributeError: 'GOTerm' object has no attribute 'definition'
the fin_path is go.obo (http://current.geneontology.org/ontology/go.obo)

You could refer to https://github.com/zjunlp/OntoProtein#environment-for-pre-training-data-generation.


refactor: migrate to yarn workspace

close #6

No longer need to use workspace since cactbot is published as a npmjs package


Add pytests

https://docs.pytest.org/en/latest/
It would be good to get some decent tests in as well as coverage reports. I'll setup travis and codecov at some point.

@mattjegan I'll take it. I'll finish today.

@lk-geimfari thanks for grabbing this one, let me know if you need any pointers.


Short solution needed: "How to fill Numpy array with values" (python-numpy)

Please help us write most modern and shortest code solution for this issue:
How to fill Numpy array with values (technology: python-numpy)
Fast way
Just write the code solution in the comments.
Prefered way

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

How to fill Numpy array with values


UI not working

Describe the bug
I Don't know why and haven't seen any other issues about it but since version 0.30.x the Vitest UI has stopped working for me. I Can see the tests running in the terminal but when trying to access http://localhost:51204/__vitest__/ i get blank page. I tried different ports, and different browsers but it didn't help.

Tests are running in the console:

Reproduction
vitest --ui
System Info
System:
    OS: macOS 13.4
    CPU: (8) arm64 Apple M1
    Memory: 58.80 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 18.13.0 - /usr/local/bin/node
    Yarn: 1.22.19 - ~/.yarn/bin/yarn
    npm: 8.19.3 - /usr/local/bin/npm
    pnpm: 8.3.1 - ~/Library/pnpm/pnpm
    Watchman: 2<IP_ADDRESS> - /opt/homebrew/bin/watchman
  Browsers:
    Chrome: 114.0.5735.133
    Edge: 114.0.1823.55
    Safari: 16.5

Used Package Manager
npm
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

Update: I found the root cause. in my vite.config.ts i have a custom server config:
    server: {
      https: true,
      host: 'local.foo.bar',
      port: 3000
    }

If i comment it out Vitest UI is working as expected.
Here is the reproduction link

+1
but i don't have custom server in config

Can see the tests running in the terminal but when trying to access http://localhost:51204/vitest/

Why are you trying to access it on http://localhost:51204/__vitest__/  instead of https://local.foo.bar:3000/__vitest__?

https://local.foo.bar:3000/__vitest__ takes you to the app itself. why should it work?
BTW as a reference we are using a project name ladle which is also Vite based and also starting a local server based on vite.config and with this project everything works as expected, so i wonder what they do different in the local server config.

why should it work?

I guess because it's a dev server? I am not sure how it's configured in your system, so I cannot really understand what is the expectation here. Should Vitest ignore the default server config and only use --api?

Problem solved in Vite 5. this is no longer an issue.


During Installation

Getting following message after running the command "php artisan filament-invoices:install"
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'example_app.types' doesn't exist (Connection: mysql, SQL: select * from types where for = invoices and type = status and key = draft limit 1)

just make sure that filament-types is installed, and we will allow it on the composer.json


Change UnixMountPoint getters to not require &mut self

Fixes https://github.com/gtk-rs/gio/issues/245
CC @GuillaumeGomez @EPashkin

:+1:

@sdroege Thanks, 👍


Laravel Linter

This pull request includes changes and recommendations for crafting your application "The Laravel Way". Feel free to commit any additional changes to the shift-106359 branch.
Before merging, you need to:

Checkout the shift-106359 branch
Review all pull request comments for additional changes
Thoroughly test your application (no tests?, no CI?)

Much of the lint detected may be automatically fixed by running the Laravel Fixer or tasks within the Shift Workbench.

:warning: Shift found uses of the old array() syntax. Laravel adopted the short array syntax [] since it became available in PHP 5.4.

:x: The following configuration files differ from the Laravel defaults. If you are modifying configuration values directly, consider using an environment variable instead to keep these files maintainable. You should compare your configuration files against the latest version and merge any updates.

[ ] config/app.php
[ ] config/auth.php
[ ] config/broadcasting.php
[ ] config/cache.php
[ ] config/database.php
[ ] config/filesystems.php
[ ] config/hashing.php
[ ] config/logging.php
[ ] config/mail.php
[ ] config/queue.php
[ ] config/services.php
[ ] config/session.php
[ ] config/view.php

:warning: The following files reference Laravel facades through the global namespace. For example, you're referencing \DB or importing use DB. Instead import Illuminate\Support\Facades\DB and reference DB.
While global references are allowed through aliases, you should import the facade explicitly. This can improve clarity not only for developers, but static analysis used by your IDE.

[ ] app/Console/Commands/User/Create.php

:warning: The following classes do not extend the standard Laravel Model and Controller class. This may add complexity which makes your application harder to upgrade. Often a trait may be used instead of inheritance. You should review the following classes:

[ ] app/Http/Controllers/API/Controller.php

:warning: Shift found inline validation in the following controllers. Unless you require this level of control, you should use a Form Request to encapsulate this validation logic and keep your controller clean. You may automate this conversion with the Laravel Fixer.

[ ] app/Http/Controllers/API/Admin/TicketController.php
[ ] app/Http/Controllers/API/Clients/InvoiceController.php
[ ] app/Http/Controllers/API/Clients/TicketController.php
[ ] app/Http/Controllers/Admin/AnnouncementController.php
[ ] app/Http/Controllers/Admin/CategoryController.php
[ ] app/Http/Controllers/Admin/ClientController.php
[ ] app/Http/Controllers/Admin/ConfigurableOptionController.php
[ ] app/Http/Controllers/Admin/CouponController.php
[ ] app/Http/Controllers/Admin/InvoiceController.php
[ ] app/Http/Controllers/Admin/OrderController.php
[ ] app/Http/Controllers/Admin/ProductController.php
[ ] app/Http/Controllers/Admin/RoleController.php
[ ] app/Http/Controllers/Admin/SettingController.php
[ ] app/Http/Controllers/Admin/TicketController.php
[ ] app/Http/Controllers/Auth/AuthenticatedSessionController.php
[ ] app/Http/Controllers/Auth/ConfirmablePasswordController.php
[ ] app/Http/Controllers/Auth/NewPasswordController.php
[ ] app/Http/Controllers/Auth/PasswordResetLinkController.php
[ ] app/Http/Controllers/Auth/RegisteredUserController.php
[ ] app/Http/Controllers/CheckoutController.php
[ ] app/Http/Controllers/Clients/APIController.php
[ ] app/Http/Controllers/Clients/HomeController.php
[ ] app/Http/Controllers/Clients/TicketController.php

:warning: The following controllers contain actions outside of the 7 resource actions (index, create, store, show, edit, update, destroy). For more details, review the docs or watch Cruddy by Design to see if you may rework these into resource controllers.

[ ] app/Http/Controllers/API/Admin/APIController.php
[ ] app/Http/Controllers/API/Admin/InvoiceController.php
[ ] app/Http/Controllers/API/Admin/TicketController.php
[ ] app/Http/Controllers/API/Admin/UserController.php
[ ] app/Http/Controllers/API/Clients/APIController.php
[ ] app/Http/Controllers/API/Clients/InvoiceController.php
[ ] app/Http/Controllers/API/Clients/TicketController.php
[ ] app/Http/Controllers/API/Controller.php
[ ] app/Http/Controllers/API/Website/AnnouncementController.php
[ ] app/Http/Controllers/API/Website/CategoryController.php
[ ] app/Http/Controllers/API/Website/ProductController.php
[ ] app/Http/Controllers/Admin/ClientController.php
[ ] app/Http/Controllers/Admin/ConfigurableOptionController.php
[ ] app/Http/Controllers/Admin/EmailController.php
[ ] app/Http/Controllers/Admin/ExtensionController.php
[ ] app/Http/Controllers/Admin/InvoiceController.php
[ ] app/Http/Controllers/Admin/OrderController.php
[ ] app/Http/Controllers/Admin/ProductController.php
[ ] app/Http/Controllers/Admin/SettingController.php
[ ] app/Http/Controllers/Admin/TicketController.php
[ ] app/Http/Controllers/AnnouncementController.php
[ ] app/Http/Controllers/Auth/AuthenticatedSessionController.php
[ ] app/Http/Controllers/Auth/SocialLoginController.php
[ ] app/Http/Controllers/BasisController.php
[ ] app/Http/Controllers/CheckoutController.php
[ ] app/Http/Controllers/Clients/APIController.php
[ ] app/Http/Controllers/Clients/HomeController.php
[ ] app/Http/Controllers/Clients/InvoiceController.php
[ ] app/Http/Controllers/Clients/TicketController.php

:warning: Shift detected the following HTTP components accessing the authenticated user through Auth::user(). Within these components, you may access the authenticated user through the request object as well. Doing so limits your dependencies by leveraging objects already available.

[ ] app/Http/Controllers/Auth/AuthenticatedSessionController.php
[ ] app/Http/Controllers/CheckoutController.php
[ ] app/Http/Controllers/Clients/HomeController.php
[ ] app/Http/Controllers/Clients/ProductController.php
[ ] app/Http/Controllers/Clients/TicketController.php
[ ] app/Http/Middleware/HasPermission.php

:x: Shift found files using the Route methods within your app folder. You should consolidate your routes into one of the default route/api.php or route/web.php route files.

[ ] app/Extensions/Gateways/Mollie/routes.php
[ ] app/Extensions/Gateways/PayPal/routes.php
[ ] app/Extensions/Gateways/Stripe/routes.php
[ ] app/Extensions/Gateways/Xendit/routes.php
[ ] app/Extensions/Servers/Proxmox/routes.php
[ ] app/Extensions/Servers/VirtFusion/routes.php
[ ] app/Providers/AppServiceProvider.php

:information_source: Shift detected your database migrations are using custom classes. Starting with Laravel 9.0, database migrations now use anonymous classes. This avoids class name collisions and streamlines migrations.

:x: Laravel 10 added PHP type hints to all user-land code included in a new Laravel application. Shift detected these files are missing type hints. Shift recommends adding them to align with the latest Laravel conventions. You may automate this process by running the Laravel Type Hints task within Shift Workbench.

:information_source: As noted, much of the lint detected above can be automatically fixed using the Laravel Fixer. Save yourself time and clean up your codebase quickly with this new Shift.

:warning: Laravel uses PSR-4 autoloading for the app/ folder. While you may configure your application to load these files within composer.json, all files under the app folder should be classes with a PSR-4 compliant namespace.
The following PHP files are missing a namespace:

[ ] app/Extensions/Gateways/Mollie/routes.php
[ ] app/Extensions/Gateways/PayPal/routes.php
[ ] app/Extensions/Gateways/Stripe/routes.php
[ ] app/Extensions/Gateways/Xendit/routes.php
[ ] app/Extensions/Servers/Proxmox/routes.php
[ ] app/Extensions/Servers/VirtFusion/routes.php


setup: fix install, remove messages module

I'm tripping up on this when trying to package the latest master for nixpkgs. There is no messages module so it fails when trying to copy this as a directory during installation. not sure if this installation logic is just a nixpkgs python thing, but I think this change makes logical sense regardless.
error:
building '/nix/store/d6qgmvwv78gbxasj9xfd0lwr39qwakpr-python3.9-hwi-2.0.2.drv'...
error: builder for '/nix/store/d6qgmvwv78gbxasj9xfd0lwr39qwakpr-python3.9-hwi-2.0.2.drv' failed with exit code 1;
       last 10 log lines:
       > copying hwilib/devices/trezorlib/client.py -> build/lib/hwilib/devices/trezorlib
       > copying hwilib/devices/trezorlib/log.py -> build/lib/hwilib/devices/trezorlib
       > copying hwilib/devices/trezorlib/firmware.py -> build/lib/hwilib/devices/trezorlib
       > copying hwilib/devices/trezorlib/__init__.py -> build/lib/hwilib/devices/trezorlib
       > copying hwilib/devices/trezorlib/models.py -> build/lib/hwilib/devices/trezorlib
       > copying hwilib/devices/trezorlib/btc.py -> build/lib/hwilib/devices/trezorlib
       > copying hwilib/devices/trezorlib/exceptions.py -> build/lib/hwilib/devices/trezorlib
       > copying hwilib/devices/trezorlib/device.py -> build/lib/hwilib/devices/trezorlib
       > copying hwilib/devices/trezorlib/tools.py -> build/lib/hwilib/devices/trezorlib
       > error: package directory 'hwilib/devices/trezorlib/messages' does not exist

I think this change is still worth merging to make master installable right now. What do you think @achow101?

@prusnak patch for nixpkgs is here[1], I just added this as a substituteInPlace step.
[1] https://jb55.com/s/70cbb1c75a8e2e65.txt
will PR to nixpkgs once we get a new release. @achow101 mentioned this file is generated automatically? so maybe it's fine if we just patch it on the distro side.

so maybe it's fine if we just patch it on the distro side.

The reason why I want to get this trivial change in is that people who want to try taproot-enabled HWI can't install it via pip install https://github.com/bitcoin-core/HWI.git. The change should've been a part of https://github.com/bitcoin-core/HWI/pull/544.

I thought this might just be a nixpkgs thing but if pip fails to install then I can reopen.

If we are touching this package then lets touch the other packages also:
packages = \
['hwilib',
 'hwilib.devices',
 'hwilib.devices.ckcc',
 'hwilib.devices.jadepy',
 'hwilib.devices.ledger_bitcoin',
 'hwilib.devices.ledger_bitcoin.btchip',
 'hwilib.devices.ledger_bitcoin.exception,
 'hwilib.devices.ledger_bitcoin.ledgercomm',
 'hwilib.devices.trezorlib',
 'hwilib.devices.trezorlib.transport']

I had to remove devices.btchip 3312801c399735c7228fb83f9a97574a58c665f9 as well since that was failing on master when trying to install via nix

fixed with https://github.com/bitcoin-core/HWI/commit/f0021502d470660b9d8a5e79fcc440ac809a610f
can be closed now


If settings search string contains a space, it should be more strict

Since the search term is terminal ar, I'm explicitly indicating that they are different words so it should not return results matching /a.+r/.

Fixed while improving Search for settings


fix: make xhprof faster, fixes #5712

The Issue
xhprof_prepend.php uses:
xhprof_enable(XHPROF_FLAGS_CPU + XHPROF_FLAGS_MEMORY);

This makes xhprof unnecessary slow. (~ 50% more overhead on function calls)
How This PR Solves The Issue
It uses just:
xhprof_enable(XHPROF_FLAGS_MEMORY);

Manual Testing Instructions
Ensure that xhprof output does no longer show the CPU columns and generally has less function call overhead.
Automated Testing Overview
Tests should not be affected, because they only test the existence of a run and not the run itself.
Related Issue Link(s)
#5712
Release/Deployment Notes
None

FYI: https://github.com/buggregator/server/issues/259
This change and the new default basically breaks Buggregator's Profiler.


mouse middle drag can not work normally when model is transparent

I set my 3dtiles model transparent, like this:

I used mouse middle drag to rotate model, it do not rotate centered by the point that the mouse on the model.it rotate by the point that cross the model and on the groud.I can not rotate transparent model like normal model,but when i used mouse left click to highlight model ,it can select transparent model normally. like this:

I need to cross the transparent model to select the model do not have transparent attributes,how can i do it?

@happyfeet1996 try setting scene.pickTranslucentDepth to true.
Here's a sandcastle demo for reference: Sandcastle
Also in the future you can post questions like this to the Cesium Community

@happyfeet1996 try setting scene.pickTranslucentDepth to true.
Here's a sandcastle demo for reference: Sandcastle
Also in the future you can post questions like this to the Cesium Community
Thank you for your patience, I understand


Add save and revert to handler

cc @jasongrout

:+1:

+1.  Let's iterate from here.

I'll update js-plugins now.


chore: Bind {Command,Response}Handle to {Client,Server}Flow

Currently there is no binding and client_flow1 can theoretically accept handles from client_flow2. We will have the same issue with the Scheduler/TaskManager/...
Depending on how (and if) we want to solve this, Tags could be a related topic. We could make sure to never generate a Tag twice.

https://gitlab.mpi-sws.org/FP/ghostcell/-/blob/master/ghostcell/src/lib.rs

I'm not sure why you linked GhostCell, it uses lifetimes and I don't think we want to use lifetimes in our case because it would cause a usability nightmare.
Would an integer from an atomic counter be good enough?

Would an integer from an atomic counter be good enough?

Yeah :-)

When we work on this, we could also already refactor ClientFlow.next_command_handle (same for server) to hold a generator. This way, the type would be self-contained and we can replace ...
let handle = self.next_command_handle;
self.next_command_handle = ClientFlowCommandHandle(handle.0 + 1);

... with ...
let handle = self.command_handle_generator.next();

Though it's nice to have different handle types for server and client for better documentation and preventing misusage during compile time.

Yeah, we should keep that. Only suggested to encapsulate differetly.


[20.03] wordpress: 5.3.2 → 5.3.3

Motivation for this change
https://wordpress.org/support/wordpress-version/version-5-3-3/
Fixes: CVE-2020-11030, CVE-2020-11029, CVE-2020-11028, CVE-2020-11027, CVE-2020-11026, CVE-2020-11025
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[x] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

CC @basvandijk

@GrahamcOfBorg test wordpress


Tag 5.1.0 not found in repository docker.io/nodesource/trusty

Seems that the nodesource/trusty docker repo got dropped from hub.docker.com within the last hour or so?

I'm seeing the same thing for nodesource/trusty:4.2.4 and nodesource/trusty:4.2.3.

@cymen @matthewoden Yes.
We are in the process of migrating off of the automated builds: https://nodesource.com/blog/nodesources-docker-images/
In order to convert an image from an automated build to a regular repository, Docker Hub requires that you first delete the repository and recreate it.
We had anticipated there to be about a 10 minute disruption in availability while we uploaded the images to the docker registry: https://twitter.com/NodeSource/status/693114472366366720 . This estimate was based on a test run I had done several weeks ago in preparation for today. This was done on a test account on the Docker Hub.
We are about 1 hour and 10 minutes into the transfer now and only Jessie has uploaded. I fear that our uploads are being throttled at some layer, and (based on the 5XX errors I'm ocassionally seeing during the upload) we may be being rate limited as well. I wouldn't be surprised by this, we did just delete several hundred docker images and are now pushing ~300GB worth of images to their servers.
An additional complication arose during the process of deleting the repositories and recreating them. It appears that Docker Hub has gotten itself into an unstable state. The repository is deleted, as you can see. However the hub is preventing me from recreating it, giving an error message saying that the repository already exists.
I've reached out to the Docker's support team for both of these issues and will be posting updates here as they become available.

@retrohacker :+1: thank you -- I appreciate the work you and the rest of the team do.

In the meantime, the images can be built directly on your machine by doing the following:
git clone https://github.com/nodesource/docker-node.git
cd docker-node/base/ubuntu/trusty
docker build -t nodesource/trusty-base .
cd ../../../ubuntu/trusty/node/4.2.4
docker build -t nodesource/trusty:4.2.4

@cymen :heart:

@cymen and @matthewoden,
Docker support came through and was able to get the trusty repository back up. I triggered a second push last night before going to bed and it filled in the holes caused by the 500s as well as populated the new trusty repo.
We are back to 100% coverage, thank you for your patience while we performed the migration.
https://hub.docker.com/r/nodesource/trusty/tags/