An option to not clear old static files from being served

💡 Feature request
Overview and problem statement
Our company is switching to hosting our site via a create-react-app project with code splitting. When a user navigates to a new page they may request a new chunk of the bundle. However, if we do a deploy, and one of these users is still on the old version of the frontend app, they request a bundle that doesn't exist, it 404's and the site breaks.
It would be nice if there was a way to retain the old assets of our site for some time before clearing them out between deploys - we don't do backwards incompatible changes often, and all our scripts have hashes of file content as part of their filenames anyway so assets that change aren't really an issue.
Alternatively can some edge caching policy save us here?
In the meantime we've been reducing these errors by prefetching, and auto triggering refreshes on old bundles.
Cloudflare Support told me to post here, FYI. Thanks for the great infrastructure!

@osdiab thanks for the report! We're aware and working through solutions right now – hope to have some updates to share soon.

Sounds good @ispivey

this is a duplicate of #1553


Not able to import Flutter in existing iOS project

Steps to reproduce
https://flutter-ko.dev/development/add-to-app/ios/project-setup
Actual results
https://flutter-ko.dev/development/add-to-app/ios/project-setup
Logs

Logs

<!-- Paste your logs here -->
<img width="681" alt="Screenshot 2024-07-04 at 10 44 21 AM" src="https://github.com/flutter/flutter/assets/39948268/ddad7251-8f59-46e4-9e1f-d8f35bc2d6ee">

Flutter Doctor output

Doctor output
https://flutter-ko.dev/development/add-to-app/ios/project-setup
<!-- Paste your output here -->

Hi,
When opening an issue, please try to provide all or some of the information indicated in the template.

Issue Template
If you are looking for support, please check out our documentation
or consider asking a question on Stack Overflow:
- https://flutter.dev/
- https://api.flutter.dev/
- https://stackoverflow.com/questions/tagged/flutter?sort=frequent

If you have found a bug or if our documentation doesn't have an answer
to what you're looking for, then fill our the template below. Please read
our guide to filing a bug first: https://flutter.dev/docs/resources/bug-reports

Steps to Reproduce

Please tell us exactly how to reproduce the problem you are running into.

Please attach a small application (ideally just one main.dart file) that
reproduces the problem. You could use https://gist.github.com/ for this.

If the problem is with your application's rendering, then please attach
a screenshot and explain what the problem is.

1. ...
2. ...
3. ...

Please tell us which target platform(s) the problem occurs (Android / iOS / Web / macOS / Linux / Windows)
Which target OS version, for Web, browser, is the test system running?
Does the problem occur on emulator/simulator as well as on physical devices?

Target Platform:
Target OS version/browser:
Devices:

Run your application with `flutter run --verbose` and attach all the
log output below between the lines with the backticks. If there is an
exception, please see if the error message includes enough information
to explain how to solve the issue.

Run `flutter analyze` and attach any output of that command below.
If there are any analysis errors, try resolving them before filing this issue.

Finally, paste the output of running `flutter doctor -v` here.

Closing this issue, since no information has been provided.
Thank you.

@danagbemava-nc
I follow the above step but no luck
When I m going to import flutter in appdelegate that time I m showing error not found


Add App Logo

can i work on this issue and please tell me or describe me what the logo should be or u can give me the image

Also If possible can you please add hacktoberfest tag to the repo. It would really be helpful.


[DRAFT][#19491] Update countries list API 2023.2

Story:
https://pm.shiphawk.com/issues/19491
Description:
We need to update countries list to make it work with new version of API - 2023.2.
https://docs.oracle.com/en/cloud/saas/netsuite/ns-online-help/section_N3785183.html#Country-Enumerations
https://system.netsuite.com/help/helpcenter/en_US/srbrowser/Browser2023_2/schema/enum/country.html?mode=package

Please do not merge yet


Inconsistent evaluation of pages as leaves

Issue Summary
I'm unable to add a child page, under Home.
Steps to Reproduce

I started a new project and installed Wagtail, as per https://docs.wagtail.org/en/stable/getting_started/tutorial.html
I visited http://<IP_ADDRESS>:8000/admin/pages
Upon trying to add a child page, whether that's the existing HomePage or another page I had been creating, there's a crash during save. I've traced it to here:

        if parent_page.is_leaf():
            # set the path as the first child of parent_page
            page.path = page._get_path(parent_page.path, page.depth, 1)
        else:
            # add the new page after the last child of parent_page
            page.path = parent_page.get_last_child()._inc_path()

It appears that there's a timing inconsistency − the parent is currently a leaf, but will no longer be, by the end of the operation.

I have confirmed that this issue can be reproduced as described on a fresh Wagtail project: (yes / no)

Technical details

Python version: 3.10.12
Django version: 4.2.2
Wagtail version: 5.0.1

Trace:
[09/Jun/2023 11:09:52] "POST /admin/pages/add/home/homepage/3/preview/ HTTP/1.1" 500 98735
Internal Server Error: /admin/pages/add/home/homepage/3/
Traceback (most recent call last):
  File "/home/owen/underground/underground-crm/venv/lib/python3.10/site-packages/django/core/handlers/exception.py", line 55, in inner
    response = get_response(request)
  File "/home/owen/underground/underground-crm/venv/lib/python3.10/site-packages/django/core/handlers/base.py", line 197, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/home/owen/underground/underground-crm/venv/lib/python3.10/site-packages/django/views/decorators/cache.py", line 62, in _wrapper_view_func
    response = view_func(request, *args, **kwargs)
  File "/home/owen/underground/underground-crm/venv/lib/python3.10/site-packages/wagtail/admin/urls/__init__.py", line 176, in wrapper
    return view_func(request, *args, **kwargs)
  File "/home/owen/underground/underground-crm/venv/lib/python3.10/site-packages/wagtail/admin/auth.py", line 184, in decorated_view
    response = view_func(request, *args, **kwargs)
  File "/home/owen/underground/underground-crm/venv/lib/python3.10/site-packages/django/views/generic/base.py", line 104, in view
    return self.dispatch(request, *args, **kwargs)
  File "/home/owen/underground/underground-crm/venv/lib/python3.10/site-packages/wagtail/admin/views/pages/create.py", line 119, in dispatch
    return super().dispatch(request)
  File "/home/owen/underground/underground-crm/venv/lib/python3.10/site-packages/django/views/generic/base.py", line 143, in dispatch
    return handler(request, *args, **kwargs)
  File "/home/owen/underground/underground-crm/venv/lib/python3.10/site-packages/wagtail/admin/views/pages/create.py", line 132, in post
    return self.form_valid(self.form)
  File "/home/owen/underground/underground-crm/venv/lib/python3.10/site-packages/wagtail/admin/views/pages/create.py", line 141, in form_valid
    return self.publish_action()
  File "/home/owen/underground/underground-crm/venv/lib/python3.10/site-packages/wagtail/admin/views/pages/create.py", line 197, in publish_action
    self.parent_page.add_child(instance=self.page)
  File "/home/owen/underground/underground-crm/venv/lib/python3.10/site-packages/treebeard/mp_tree.py", line 1091, in add_child
    return MP_AddChildHandler(self, **kwargs).process()
  File "/home/owen/underground/underground-crm/venv/lib/python3.10/site-packages/treebeard/mp_tree.py", line 383, in process
    newobj.path = self.node.get_last_child()._inc_path()
AttributeError: 'NoneType' object has no attribute '_inc_path'

Here are the screens, in order:

I should be able to fix this quickly

Thanks for the report @owen9825!
The 'steps to reproduce' here do seem a bit suspicious - if that was really all it took to replicate this issue, we'd be seeing it on every Wagtail installation. Are you sure there isn't some signal handler or custom save method in your code that's triggering this?

Hmm actually yeah, I was just double-checking with a new project and it turned out fine sorry.
I hadn't modified any signals or overridden save, so I'm not sure what the point of difference is. I was unable to reproduce this :crying_cat_face:

In my original project, I cleared away the database, then applied the migrations again, created a superuser and I was able to create a new Page fine.
I hadn't directly accessed the database − it was all through Django / Wagtail.

What exactly was the solution, because I have the same problem?

@HyperUpscale See https://stackoverflow.com/a/75327195/1853523 - ./manage.py fixtree --full will usually fix this on an existing project.


Feature/all operations

hey hey, I think you had a bad rebase, I don't believe there should have been more than a dozen files warranting a change.

I think your rebase was off of rx2 branch and not develop.  I reviewed the actual meat of this pr and it looks good. The only thing that I think it is missing is a little better test coverage (I don't think there was a test for deleteAll).  Likewise there should be tests for the exception case as well.  Thank you for this PR it came together really nicely!

looking at your commits it seems like Release 2.0.0 (#130)  … should not have been in your branch as this was from rx2 branch and not develop.

Thanks @digitalbuddha . With help from Brian, I have created a new PR https://github.com/NYTimes/Store/pull/207 . I will take care of the comments you posted today.


Modus Data Table - Row actions

The Data Table should support row actions with a button on the right side of each row
Since this will most likely just be a little of icon/text, the model can look something like this:
interface RowAction {
  display: {
    icon?: string;
    text: string;
  }
  id: string;
}

The consumer should be able to pass in an array of these RowAction objects. Then when a user clicks on one of the row actions, an event is emitted:
interface RowActionEvent {
  rowActionId: string;
  rowId: string;
}

This way the consumer can receive the event 'Delete action performed on row 13' and then do the necessary work on their end

This was implemented.


[question] Repl-py-console

Why does The repl console require you to use this  when you don't need it nor you want it because your using nothing in it , not even dependencies from it

I don't understand your question

I mean Why does repl automatically add this when I don't need it for my
python project
On Wed, Dec 1, 2021, 6:03 PM Scoder12 @.***> wrote:

I don't understand your question
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/replit/replit-py/issues/116#issuecomment-984167886,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APLEXLJBSWS2COXKF5UZIM3UO2ZTLANCNFSM5JFIT3VA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

That is a question for them and not me...

They don't. This might be because of the new Nix repls, but this could be closed now?


Undeclared Variables - Make fail

Using Windows 10 x64.
Performed steps to produce issue:
1
C:\Users\Obscenity\Documents\DEV\git\bannertool-dev>git pull origin master
remote: Counting objects: 22, done.
remote: Total 22 (delta 6), reused 6 (delta 6), pack-reused 16
Unpacking objects: 100% (22/22), done.
From https://github.com/Steveice10/bannertool
 * branch            master     -> FETCH_HEAD
   327ea4d..e24233e  master     -> origin/master
Updating 327ea4d..e24233e
Fast-forward
 .gitignore     |  1 +
 Makefile       | 30 ++++++++----------------------
 buildtools     |  2 +-
 source/cmd.cpp |  1 +
 4 files changed, 11 insertions(+), 23 deletions(-)

2
C:\Users\Obscenity\Documents\DEV\git\bannertool-dev>make
fatal: No names found, cannot describe anything.
build/source/cmd.o
source/cmd.cpp: In function 'void cmd_print_usage(const string&)':
source/cmd.cpp:393:38: error: 'VERSION_MAJOR' was not declared in this scope
     printf("bannertool v%d.%d.%d\n", VERSION_MAJOR, VERSION_MINOR, VERSION_MICRO);
                                  ^
source/cmd.cpp:393:53: error: 'VERSION_MINOR' was not declared in this scope
     printf("bannertool v%d.%d.%d\n", VERSION_MAJOR, VERSION_MINOR, VERSION_MICRO);
                                                 ^
source/cmd.cpp:393:68: error: 'VERSION_MICRO' was not declared in this scope
     printf("bannertool v%d.%d.%d\n", VERSION_MAJOR, VERSION_MINOR, VERSION_MICRO);
                                                                ^
At global scope:
cc1plus.exe: warning: unrecognized command line option '-Wno-misleading-indentation'
make: *** [build/source/cmd.o] Error 1

Resolution:
Original cmd.cpp
void cmd_print_usage(const std::string& executedFrom) {
    printf("bannertool v%d.%d.%d\n", VERSION_MAJOR, VERSION_MINOR, VERSION_MICRO);
    printf("Usage: %s <command> <args>\n", executedFrom.c_str());
    cmd_print_commands();
}

Modified
void cmd_print_usage(const std::string& executedFrom) {
    int VERSION_MAJOR = 1;
    int VERSION_MINOR = 0;
    int VERSION_MICRO = 0;
    printf("bannertool v%d.%d.%d\n", VERSION_MAJOR, VERSION_MINOR, VERSION_MICRO);
    printf("Usage: %s <command> <args>\n", executedFrom.c_str());
    cmd_print_commands();
}

Result:
C:\Users\Obscenity\Documents\DEV\git\bannertool-dev>make
fatal: No names found, cannot describe anything.
build/source/cmd.o
output/bannertool.exe
output/bannertool.zip

Make sure to pull the tags too; those are defined by the Make file based on got tags.


(#41) - add test to try to reproduce

@nozelrosario I tried to reproduce #41, but it's
passing for me both locally and in Cloudant.
Could you please modify the test to reproduce your error?
Else a live HTML file that reproduces would be helpful.

merging because green, even though it doesn't repro the issue


add Glitch react starter to list of starters

This is our new "Hello World" for React, which will soon be one of our default starters on Glitch.com

@eps1lon We didn't have plans, no - but if what you mean to say is that a more minimal, less opinionated starter is more appropriate for this list, I think that's fair! I don't know what the rubric is, if any, for starters on this page. Do you find this minimal version of the starter less intimidating: https://glitch.com/edit/#!/glitch-mvp-react


InstallAssistant.pkg downloads showing more than 100% completion

Dear ninxsoft, Please fix these bug !

Hi @Chanraksmey13, I'm having trouble replicating this bug, might need your help on this one.
Is this something that you are able to replicate with relative ease?
Does the bug reproduce with any macOS Installer or just 21G217?

The same is happening here, too! Downloading Ventura (as an iso), currently showing 188% - I do not know if the download will go on forever or if it will be successful nevertheless or if Chanraksmey13 was successful...

Same here, think it likely happened after waking up from sleep too.

I'm experiencing this with Mist 0.20.1 downloading OS 15.2 from OS 12.6.1 - it happened after the system went to sleep which may or may not be related. I've disabled sleep and will continue to let it download, will try to update whether or not it completed. Says 178.5x% completed 27.29GB of 15.25GB


Controller can't handle more than 2 GET methods

I have a Controller that has 3 GET methods. Each of those methods has a different number of parameters. Here are the UriFormat definitions of the methods:
[UriFormat("/api/collections/{collectionName}/artists/{artistName}")]
[UriFormat("/api/collections/{collectionName}")]
[UriFormat("/api/collections")]
The first method never gets called. Is this 'by design'?

Kindda 😃 I don't think we want to allow a difference between a Uri with our without a trailing slash. Doesn't feel right from REST perspective. The Uri should be clear about its functionality. So the better question is, why two Uri's that are so similar and have the same verb?

I think what @EddyRubens is highlighting is that given the following code:
public class SomeController
{
    [UriFormat("/collections/{collectionName}/artists/{artistName}")]
    public IGetResponse Get(string collectionName, string artistName)
    {
        return new GetResponse(GetResponse.ResponseStatus.OK);
    }

    [UriFormat("/collections/{collectionName}")]
    public IGetResponse Get(string collectionName)
    {
        return new GetResponse(GetResponse.ResponseStatus.OK);
    }

    [UriFormat("/collections")]
    public IGetResponse Get()
    {
        return new GetResponse(GetResponse.ResponseStatus.OK);
    }
}

He would expect all three calls to be mapped correctly based on how specific your url is.
Imho it would be nice to support this, but if we explicitly don't want to support this than we should document this somewhere and add a unit test to prove this doesn't work.

@Jark you are right, this what I meant.
I was converting a web api service where this possible.
I had a look at the code there is an exception on a 'restMethods.SingleOrDefault' in RestControllerRequestHandler that has too many matches. I'll check later if I can workaround...

Oh sorry, didn't see the /{collectionName} (mobile website formatting I guess. That should work ofcourse. Probably a problem in the matching algorithm. I'll fix it when I'm home (away for the weekend). Or maybe @Jark can have a look.

There is a relatively easy fix. As all methods are working well individually, it is just a matter of picking just one of the matches. I propose to pick the one with most parameters.
For this, only one line of code needs to be changed:
The following line in RestControllerRequestHandler.cs:
var restMethod = restMethods.SingleOrDefault(r => r.Verb == req.HttpServerRequest.Method);
Could be replaced by:
var restMethod = restMethods.OrderByDescending(r => r.MethodInfo.GetParameters().Count()).FirstOrDefault();
That fixed the issue for me. I know that a complete sort of the methods is overkill, and having seen your coding, I am convinced you will come up with something way more elegant and faster 😃.
Thanks for your quick response, have a nice weekend!

Hey @EddyRubens,
That's a lot simpler solution then I had in mind! Thanks for the idea.
I think the design should be:

do the sorting when the methods are being added, e.g. use a SortedSet like for the RouteRegistrations in HttpServer
make RestControllerMethodInfo implement IComparable or use a separate comparer
change the restMethods to do a LastOrDefault / FirstOrDefault depending on the sort order

I don't mind doing this. I'll assign it to myself.
Cheers,
Jark

Hi @Jark,
Thanks for taking it up. Your solution sounds right. The problem with my solution is that I do a sort while only a taking the maximum is needed. I had to because there is no MaxBy on the collection and I wanted to keep a one line solution.
Because you build a SortedSet from the start, the effort for getting a sorted list is optimal!

Fixed with pr #58


make argoexec-image returns error in Windows expected 'package', found signal_darwin

Pre-requisites

[X] I have double-checked my configuration
[X] I can confirm the issue exists when I tested with :latest
[X] I have searched existing issues and could not find a match for this bug
[X] I'd like to contribute the fix myself (see contributing guide)

What happened/what you expected to happen?
make start make argoexec image used to work in windows with windows file system and devcontainer prior to 3.4.x
Now it returns
$ make dist/argoexec
GIT_COMMIT=877c5523066e17687856fe3484c9b2d398e986f5 GIT_BRANCH=release-3.5.1 GIT_TAG=v3.5.1 GIT_TREE_STATE=dirty RELEASE_TAG=true DEV_BRANCH=false VERSION=v3.5.1
KUBECTX= DOCKER_DESKTOP=false K3D=false DOCKER_PUSH=false
RUN_MODE=local PROFILE=minimal AUTH_MODE=hybrid SECURE=false STATIC_FILES=true ALWAYS_OFFLOAD_NODE_STATUS=false UPPERIO_DB_DEBUG=0 LOG_LEVEL=debug NAMESPACED=trueCGO_ENABLED=0 go build -v -gcflags '' -ldflags '-X github.com/argoproj/argo-workflows/v3.version=v3.5.1 -X github.com/argoproj/argo-workflows/v3.buildDate=2024-01-01T17:15:27Z -X github.com/argoproj/argo-workflows/v3.gitCommit=877c5523066e17687856fe3484c9b2d398e986f5 -X github.com/argoproj/argo-workflows/v3.gitTreeState=dirty -X github.com/argoproj/argo-workflows/v3.gitTag=v3.5.1 -extldflags -static' -o dist/argoexec ./cmd/argoexec
workflow\executor\os-specific\signal_linux.go:1:1: expected 'package', found signal_darwin
make: *** [Makefile:237: dist/argoexec] Error 1

Version
3.5.0+
Paste a small workflow that reproduces the issue. We must be able to run the workflow; don't enter a workflows that uses private images.
.

Logs from the workflow controller
kubectl logs -n argo deploy/workflow-controller | grep ${workflow}

Logs from in your workflow's wait container
kubectl logs -n argo -c wait -l workflows.argoproj.io/workflow=${workflow},workflow.argoproj.io/phase!=Succeeded

Closing per https://github.com/argoproj/argo-workflows/pull/12604#issuecomment-1972763515

Apparently this is indeed duplicative of #9590 and a general error when symlinks are not enabled in git


Removed cached trapped element;

Removed cached trapped element after untrapping to avoid multiple untraps on the element;

Coverage remained the same at 100.0% when pulling 63c4eeb8bbf29203f958586db1e1a9b3dff4f64b on oxala:master into afb74b54c6438f689b71bc8f7320c34d2c308a8e on ianmcburnie:master.

@oxala Thank you for the fix, looks good!
Sorry for the inconvenience, but could you possibly resync/rebase your PR with the other changes I committed today, then I will merge and publish to NPM.
Sorry about that, I should check my email more often and then I would have seen your PR sooner!

No worries. Next time i will slack you if i will have a PR. ;-)

Coverage remained the same at 100.0% when pulling c288c89340ca56e7fbf549816dd49c7dd95bf42f on oxala:master into b5ddbf7d4cebd1af7b0282d80b85675bd9fb2f51 on ianmcburnie:master.

Published as v0.3.2. Thanks again!


Error Generating Violating Data; Data generated twice, followed by an error

Bug Report
Steps to Reproduce:

Run command: "docker run --rm generator violate --max-rows=100 --allow-untyped-fields --replace --profile-file=profile.json --output-path=output.csv"

Expected Result:
One set of violating data
Actual Result:
Two sets of violating data are produced. Program attempts to produce a third set at which point it errors out with the following message (full error message included in Additional Context).
java.util.IllegalFormatConversionException: F != java.lang.String

    at java.util.Formatter$FormatSpecifier.failConversion(Formatter.java:4302)
    at java.util.Formatter$FormatSpecifier.printDateTime(Formatter.java:2835)
    ....

Environment:
Version: Pull from latest version of git repo.
Set-up: .txt version of profile used for set-up included below.
profile.txt
Additional Context:

I believe this is to do with our handling of violating formatting (a thing i don't believe we should do)

By design, as your profile contains three rules, you should get three sets of data output when you run in violation mode.


make course table rows alternate in color like admin panel table

Resolve #126

Resolve #126

@yusong-yan can you please add a longer description?
For example:
"In this PR, we ____ ".
It helps to include a before and after screen shot.


CellMeasurer propTypes shouldn't expect instance of CellMeasurerCache

Currently CellMeasurer explicitly checks the type of cache prop to be CellMeasurerCache. If it is expected that user is able to implement his own Cache class, then one shouldn't validate that way, instead it should be checking for specific methods to be implemented.

I worked this around temporarily by extending CellMeasurerCache but seems unnecessarily.

We should create an interface with the public api and type check based on that, nice catch.
Will do that tomorrow


Any idea why is so slow?

I test this with empty WP and getting time to first bite (TTFB) around 600ms which, I believe, is slow.
With docker-php-ext-xdebug.ini turned on is almost 2sec.
In some other environments I'm getting TTFB in ~80-200ms, talking about empty WP installation.
My computer is Ryzen7 with 8 cores, 16gb RAM and M.2 SSD (read 3.5gb/s) so that cannot be an issue.
I like this environment and would like to find out where is the bottle neck.
thanks
Bojan

+1. even after turning off xdebug

Changes in 88716cb should help with slowness


ARTEMIS-3360 Backup connector ignores TTL settings on the connection …

…factories

Failed to launch pipeline. Trying again!


Use S110 build tool version for building

Use S110 build tool version for workaround. The root cause of S111 build failure is still under investigation.

Thanks @fenxu!


Replace old logo with Layer5 logo

The old logo shown in the README needs to be replaced with the Layer5 logo available here /

thanks, @raghavaggarwal99


Request to diskfill lib daemonset to job spec with node selector

Converting node cpu hog lib daemonset to job spec with node selector.
Motivation-
https://github.com/litmuschaos/litmus/issues/1225#issuecomment-593898193

PR merged
/close


Pricing Table is misaligned with cards in Marketing Extension

Not sure what's going on here, but it ain't right. The pricing table looks as if it has a post-3 or 4 applied, but it doesn't. Anyway, the effect is that the table aligns left instead of right. Of course, it's not all bad...

This occurred after the addition of the table class, updated docs to fix in https://github.com/Esri/calcite-web/pull/938.


Converted trim-file from TSLint to ESLint

Continues the work from #489.

Woops, sorry, @AlexMunoz got to trim-file first. Didn't notice until now.


pip install -e . successful but pip show Package(s) not found: metagpt

Bug description
Checkout source code from git
Run: "pip install -e ." in MetaGPT dir
Return:
Installing collected packages: metagpt
Running setup.py develop for metagpt
Successfully installed metagpt
Run: "pip show metagpt"
Return: "WARNING: Package(s) not found: metagpt"
Run examples, Return: "ModuleNotFoundError: No module named 'metagpt'"
Environment information
MacOS 14.2.1 on M1 chip.
pip 23.3.2 from /Users/nick.cheng/Library/Python/3.9/lib/python/site-packages/pip (python 3.9)

installation method: pip install from source

Screenshots or logs

[install.log](https://github.com/geekan/MetaGPT/files/13764047/install.log)

我尝试了几次安装与卸载操作，但是没法复现这个场景。查看你的日志，发现头部的“Defaulting to user installation because normal site-packages is not writeable”日志，或许检查一下对应路径，以及这个路径是否被python sys path所正确引用？

Hello, I have the same problem and am struggling with it these days. My environment is Win10, the git repository is in the "D:\Project\MetaGPT" directory, and when I install it in conda using the "pip install -e ." command, it also fails to find the package "metagpt". When I use the "git install -e ." command in the conda environment, I also have the problem of not finding the package "metagpt".
After using "pip uninstall metagpt" and then "pip install metagpt" it works fine, but not the customized version I want.
Here is the error message:

I tried installing and uninstalling a few times, but I couldn't reproduce the scene. Check your logs and find the "Defaulting to user installation because normal site-packages is not writeable" log in the header, maybe check the corresponding path, and whether this path is correctly referenced by the python sys path?

Did some research. it is a setuptools bug. cannot find the right library path.
===Log===
Checking .pth file support in /Users/nick.cheng/Library/Python/3.9/lib/python3.9/site-packages
/Library/Developer/CommandLineTools/usr/bin/python3 -E -c pass
TEST FAILED: /Users/nick.cheng/Library/Python/3.9/lib/python3.9/site-packages does NOT support .pth files
bad install directory or PYTHONPATH
You are attempting to install a package to a directory that is not
on PYTHONPATH and which Python does not read ".pth" files from.  The
installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:

    /Users/nick.cheng/Library/Python/3.9/lib/python3.9/site-packages

and your PYTHONPATH environment variable currently contains:

    ''

Here are some of your options for correcting the problem:

* You can choose a different installation directory, i.e., one that is
  on PYTHONPATH or supports .pth files

* You can add the installation directory to the PYTHONPATH environment
  variable.  (It must then also be on PYTHONPATH whenever you run
  Python and want to use the package(s) you are installing.)

* You can set up the installation directory to support ".pth" files by
  using one of the approaches described here:

  https://setuptools.pypa.io/en/latest/deprecated/easy_install.html#custom-installation-locations

Please make the appropriate changes for your system and try again.

@mrocker Checking from your comment, it seems that you can simply add PYTHONPATH to solve this problem.

In linux/macos, you can use export PYTHONPATH=$PYTHONPATH:/YOUR/PATH
In Windows, you can refer to this link to fix it

In addition, it seems that this is a problem specific to the pip install -e . command. You may be able to avoid the problem by using pip install .

Due to the lack of updates or replies by the user for a long time, we will close it. Please reopen it if necessary.


Turning selection to multiple cursors per line

Having used both Replace All and multiple cursors, for me multiple cursors is much faster in most cases. And it also opens up possibilities that are not as easy with regex & replace all.
For example, like the following image, which is taken from a code editor such as Pycharm or VSCode:

Hey @SaeidJavadi, thanks for reporting. This is a duplicate of issue #2112.
We'll try to implement it next year, after a big refactoring that we need to do in the editor to support things like this.

Thank you
And a good feature that is great if added
reformat your code like pycharm

That is already available in this menu action

and can be configured in the menu
Tools > Preferences > Completion and linting > Code style and formatting

Hey @SaeidJavadi, thanks for reporting. This is a duplicate of issue #2112.
We'll try to implement it next year, after a big refactoring that we need to do in the editor to support things like this.

Still I can't see this feature. Any update? Thank you.

It's not there yet. But this is definitely high in our TODO list because more and more people is asking about.
So, we'll try to secure some funding to implement it next year.


Quote API returns all 0s

As of right now (10/26/2016, 14:25), the quote API seems to be returning 0s for everything/any symbol.
Even the sample page at http://markitondemand.github.io/DataApis/StockQuoteSample/ does the same thing.

I'm having the same issue. The Quote call returns the Name and Symbol but all the int fields are 0s. I'm getting a "Status":"Failure|APP_SPECIFIC_ERROR"

The GE quote works though. May be due to this comment: https://github.com/markitondemand/DataApis/issues/40#issuecomment-255873870 (i.e. not everything available due to legal reasons)

Yes many symbols do return data, it is looking like to me the Nasdaq symbols are returning all zeros.  FB, AAPL, MSFT all give zeros.

This all relates back to #38.  Some of the entitlement updates are up in Production and thus some symbols do work.  The engineer did confirm that not all of the changes made it up to production thus Nasdaq symbols are erroring out right now.  One thing to note is that we'll only be able to give end of day quotes for Nasdaq symbols due to licensing.  Once all of the changes are up in Production, we'll update the data disclaimer accordingly.
I'll close out this one and continue to keep #38 open.


Module cannot be compiled into Godot with Mingw64

In order to build windows export templates on any machine that isn't a windows machine, one needs to use mingw64:
https://docs.godotengine.org/en/stable/development/compiling/compiling_for_windows.html#creating-windows-export-templates
https://gameanalytics.com/docs/item/godot-sdk
Mingw64 version:
$ x86_64-w64-mingw32-g++ --version
x86_64-w64-mingw32-g++ (GCC) 10.2.0
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

When building on Godot 3.2.3-stable:
$ scons platform=windows tools=no target=release_debug bits=64 use_mingw=yes verbose=yes -j6

It will fail on the step that actually links the GameAnalytics.lib file to the binary.
This is the command it fails on in the verbose logs:
$ x86_64-w64-mingw32-g++ -o bin/godot.windows.opt.debug.64.exe -static -Wl,--stack,8388608 GameAnalytics.lib platform/windows/godot_windows.windows.opt.debug.64.o platform/windows/context_gl_windows.windows.opt.debug.64.o platform/windows/crash_handler_windows.windows.opt.debug.64.o platform/windows/os_windows.windows.opt.debug.64.o platform/windows/key_mapping_windows.windows.opt.debug.64.o platform/windows/joypad_windows.windows.opt.debug.64.o platform/windows/power_windows.windows.opt.debug.64.o platform/windows/windows_terminal_logger.windows.opt.debug.64.o platform/windows/godot_res.windows.opt.debug.64.o -Lmodules/gameanalytics/cpp/lib/win64 main/libmain.windows.opt.debug.64.a modules/libmodules.windows.opt.debug.64.a platform/libplatform.windows.opt.debug.64.a drivers/libdrivers.windows.opt.debug.64.a scene/libscene.windows.opt.debug.64.a servers/libservers.windows.opt.debug.64.a core/libcore.windows.opt.debug.64.a modules/freetype/libfreetype_builtin.windows.opt.debug.64.a -lmingw32 -lopengl32 -ldsound -lole32 -ld3d9 -lwinmm -lgdi32 -liphlpapi -lshlwapi -lwsock32 -lws2_32 -lkernel32 -loleaut32 -ldinput8 -ldxguid -lksuser -limm32 -lbcrypt -lavrt -luuid -ldwmapi

It fails with this error:
x86_64-w64-mingw32-g++: error: GameAnalytics.lib: No such file or directory

If one attempts to directly reference GameAnalytics.lib with ${GODOT_ROOT}/modules/gameanalytics/cpp/lib/win64/GameAnalytics.lib in the previous command instead, you get this error:
$ x86_64-w64-mingw32-g++ -o bin/godot.windows.opt.debug.64.exe -static -Wl,--stack,8388608 modules/gameanalytics/cpp/lib/win64/GameAnalytics.lib platform/windows/godot_windows.windows.opt.debug.64.o platform/windows/context_gl_windows.windows.opt.debug.64.o platform/windows/crash_handler_windows.windows.opt.debug.64.o platform/windows/os_windows.windows.opt.debug.64.o platform/windows/key_mapping_windows.windows.opt.debug.64.o platform/windows/joypad_windows.windows.opt.debug.64.o platform/windows/power_windows.windows.opt.debug.64.o platform/windows/windows_terminal_logger.windows.opt.debug.64.o platform/windows/godot_res.windows.opt.debug.64.o -Lmodules/gameanalytics/cpp/lib/win64 main/libmain.windows.opt.debug.64.a modules/libmodules.windows.opt.debug.64.a platform/libplatform.windows.opt.debug.64.a drivers/libdrivers.windows.opt.debug.64.a scene/libscene.windows.opt.debug.64.a servers/libservers.windows.opt.debug.64.a core/libcore.windows.opt.debug.64.a modules/freetype/libfreetype_builtin.windows.opt.debug.64.a -lmingw32 -lopengl32 -ldsound -lole32 -ld3d9 -lwinmm -lgdi32 -liphlpapi -lshlwapi -lwsock32 -lws2_32 -lkernel32 -loleaut32 -ldinput8 -ldxguid -lksuser -limm32 -lbcrypt -lavrt -luuid -ldwmapi
/usr/local/Cellar/mingw-w64/8.0.0/toolchain-x86_64/bin/x86_64-w64-mingw32-ld: modules/libmodules.windows.opt.debug.64.a(GameAnalytics.windows.opt.debug.64.o): in function `GameAnalytics::isRemoteConfigsReady()':
/Users/taylor/git/godot/godot/modules/gameanalytics/GameAnalytics.cpp:753: undefined reference to `isRemoteConfigsReady'
/usr/local/Cellar/mingw-w64/8.0.0/toolchain-x86_64/bin/x86_64-w64-mingw32-ld: modules/libmodules.windows.opt.debug.64.a(GameAnalytics.windows.opt.debug.64.o): in function `GameAnalytics::getRemoteConfigsContentAsString()':
...

Where it basically is unable to link the GameAnalytics.lib file.
Thinking this was an issue with me trying to build on Mac, I tried the same procedure on Windows, also using mingw64 to compile the windows build template and got the same error from scons.
I was able to successfully compile the export template when using MVSC 2019 on Windows, so I am fairly confident that is the issue is specifically with attempting to build the export templates with mingw64. This is important for making a build process that does not span multiple machines.
Could we get built .lib and .dll files for the windows export template that would link properly with building godot with mingw64?

I have fixed that now in the latest version now (v1.2.1) and I have tested it as well compiling with Mingw. Let me know if it still doesn't work for you.

Just remember to add the use_mingw=yes parameter for it to work also described here: https://gameanalytics.com/docs/item/godot-sdk#windows


[SMALLFIX]Use static imports for standard test utilities for class ResourcePoolTest

[SMALLFIX]Use static imports for standard test utilities for class ResourcePoolTest

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/18116/
Test PASSed.

Merged build finished. Test PASSed.


feat: move nitro integration into separate vite plugin package

PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our guidelines: https://github.com/analogjs/analog/blob/main/CONTRIBUTING.md#-commit-message-guidelines
[x] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

Which package are you modifying?

[ ] vite-angular-plugin
[ ] astro-angular
[ ] create-analog
[ ] router
[x] platform
[ ] content

What is the current behavior?

Currently the platform package includes a plugin that enables nitro support for development and production.
The idea is to move this plugin into its own package and ultimately allow users to pick a backend of their choice.
Issue Number: #318
What is the new behavior?
nitro integration is moved to a separate package
Does this PR introduce a breaking change?

[ ] Yes
[x] No

Not the way it is implemented right now. We are making the platform package depend on the new nitro package and include the nitro plugin as part of the platform plugin array
Other information
Open questions:

do we want to share the Options/PrerenderOptions interfaces and move them in a separate package? Currently, I just copied and pasted them to get started...
do we want to include the nitro plugin by default or leave it up to the user?
do we want to remove analog references in the nitro plugin, e.g. build output folder is analog currently?

Let me know what you think!

@brandonroberts I cannot get the e2e tests for the plugin to pass... I think it is due to https://github.com/nrwl/nx/issues/15263. If you have time to take a look at this that would be awesome. I am a little bit at my wits end because I see other PRs pass 😭

@goetzrobin no problem. Seeing as how all the other tests pass the preview builds are working, I think its good to go. Maybe it will be resolved when we publish the package.


deposit.sh doesn't work with cygwin

User@Windows /home/user/eth2.0-deposit-cli
$ sh deposit.sh
deposit.sh: line 2: $'\r': command not found
deposit.sh: line 14: syntax error near unexpected token `elif'
deposit.sh: line 14: `elif [[ "$OSTYPE" == "msys" ]] || [[ "$OSTYPE" == "cygwin"']]; then

🤔

have you tried the windows exe (after unzip) at https://github.com/ethereum/eth2.0-deposit-cli/issues/67#issue-666482444 ?

Maybe try virtualenv installation or download binary file? https://github.com/ethereum/eth2.0-deposit-cli#option-3-build-deposit-cli-with-virtualenv-1
I'm closing it now. Let me know if you want to reopen it.


Adds SPA sample app to the repository

Adds an additional sample app which is an SPA to the repository. Primarily React based.

Please rebase to master, old changes that are already commited are shown as new here

Please rebase to master, old changes that are already commited are shown as new here
Rebased, but it seems like these changes are still showing up/there are now even further changes which were not there previously

Please rebase to master, old changes that are already commited are shown as new here

Rebased, but it seems like these changes are still showing up/there are now even further changes which were not there previously

Files changed tab looks ok now.


Attempts to wrap 204 Responses crash

204 Responses cannot have a Body, and the ZBR/SW is attempting to create a Blob stream, which causes an exception.

shipped in 0.67.0


Offline-first (aka local-first) use

I wonder whether there are any plans for adopting the offline-first/local-first approach?
After many many years I think Turbo (and the ecosystem around) is in the best position among web-based or web-related technologies to make it happen.
Note I'm not advocating here advanced stuff like https://github.com/josephg/diamond-types (CRDTs on steroids) or Causal Trees.
I'd just like to support the workflow: "edit offline during long stay (hours to weeks) without internet, then synchronize automatically with manual merging in case of conflict".
Any thoughts?

Hi,
An hybrid application, like built with turbo-android, rely on the internet most of time.
Best regards

That's why I'm seeking the offline-first/local-first support :wink:.

We plan to explore service workers for first-class offline support across all platforms. Until then, there are no immediate plans in this project.

Waiting for this upgrade ! <3
Do you know when you plan to work on that ?


std.conv add toChars()

Currently, std.format does not return a range, making it not very composable, and std.conv's toImpl() allocates memory. This is a start on fixing that, by adding toChars() which takes an integral type and returns a range of characters, rather than an allocated string.
It uses compile time parameters as much as possible as it is expected this will be a bottleneck for string processing programs.
toImpl() was rewritten to use toChars() internally.

Needs https://github.com/D-Programming-Language/dmd/pull/4806 (grow exe file size)

lgtm modulo Radix which should be lowercase

lowercased radix

Auto-merge toggled on


CheckBox does not grow in height with its contained text

Problem description
A CheckBox with longer text does not grow in height to accommodate its text. This applied to certain character/word combinations. The snippet below uses One two three four which shows the problem when the available space is to small. The text One one one one does not show the problem. It seams like it is only a problem when using percentage values as in the snippet below.
Expected behavior
Always grow the CheckBox bounds to fit its text.
Environment

Tabris.js version: 3.x
Device: iPhone 6
OS: iOS 21

Code snippet
import { CheckBox, contentView, Stack } from 'tabris';

contentView.append(
  <Stack left='60%' right={0} alignment='stretchX'>
    <CheckBox text='One two three four'/>
    <CheckBox text='Five'/>
  </Stack>
);

Fixed in nightly.


docs: CoreLinearProgress documentation

Description
CoreLinearProgress documentation is incomplete, so full documentation is necessary to ensure every user can get the help they need.

The screen shot has no meaning.
Tested on https://demo.wrappid.dev
Versions: 0.0.327
@wrappid/core 0.0.568
@wrappid/native-web 0.0.343
@wrappid/styles 0.0.167


Are you a writer? We need your help writing a manifesto for the next iteration of Mozilla Club & Mozilla Campus Clubs - The Mozilla School

This may give you some ideas to get started: https://www.mozilla.org/en-US/about/manifesto/
Also, here is the Club Leader agreement in case it helps: https://docs.google.com/document/d/1DIAXJCGzTGgjRMRrjkhd4Q63XBxOAQiR-xdOV3jjLW4/edit?usp=sharing

Also, I love this poster we used for the sprint, might be able to make one like it and use during your site visits
participation-guildelines-11x17.pdf

@jvallera thanks for the resources. I love the participation guidelines, I shared these with Learning2 folks after our recent conference. Clear and concise.
We had a great start with profiles today with fifth grade.


Switch to the 4th version of the API

BrowserStack has now the 4th version of the API; the only difference is that v3 was http whereas v4 is https.
This is blocked on https://github.com/scottgonzalez/node-browserstack/issues/32

This is no longer blocked, the browserstack module supports the 4th version of the API.

PR: #46


Use envoy-api specified protos in admin endpoint output.

In order to create admin endpoint output that can be programatically processed and analyzed, envoy-api needs to define proto apis for admin endpoint output format.

Hello @junr03 , i can work on this issue . Have some questions regarding implementation

I see that "/admin" has a bunch of actions (for example clusters and routes) , do you want me to add separate proto apis for each of them .
Work for this issue will be first adding proto to data-plane-api and modify https://github.com/envoyproxy/envoy/blob/master/source/server/http/admin.cc to use apis , please correct me if i am wrong.
Thanks in advance!

Yes, the idea is that each action would have a defined proto.
Correct again.

@srikailash happy to see some work in this area, @jsedgwick at Lyft is also starting to work on this, so I would like to avoid work duplication. He is mostly working on new endpoints so his work (both in defining the protos and adding the endpoints to the admin interface) should be parallelizable with moving the existing endpoints.
I think a good first step would be to start a discussion on the structure we want to adopt for the output of the various endpoints. I am not sure if here, a google doc, or a PR or issue in data-plane-api is the best place for that. Thoughts @htuch?

We are starting to do this so closing this generic issue.


Update bundling-and-minification.md

Fixed formatting to be more consistent within the document.

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

Oh ... @MikeFoden ... Can you review and sign the CLA if you agree to the terms? :point_up:


grpc: 1.37.1 -> 1.38.0

Motivation for this change
https://github.com/grpc/grpc/releases/tag/v1.38.0
Things done

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

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

[ ] 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"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Added a release notes entry if the change is major or breaking
[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 123855 at 99a856c4 run on aarch64-linux 1

55 packages marked as broken and skipped:

python38Packages.arviz
python38Packages.dm-sonnet
python38Packages.graph_nets
python38Packages.ignite
python38Packages.optuna
python38Packages.pymc3
python38Packages.pytorchWithCuda
python38Packages.pywick
python38Packages.rl-coach
python38Packages.shap
...

7 packages failed to build:

bear
home-assistant
murmur
python38Packages.cirq
python38Packages.cirq-google
python39Packages.cirq
python39Packages.cirq-google

37 packages skipped due to time constraints:

kmymoney
python38Packages.baselines
python38Packages.edward
python38Packages.mask-rcnn
python38Packages.pyro-ppl
python38Packages.pytorch (python38Packages.pytorchWithoutCuda)
python38Packages.pytorch-lightning
python38Packages.pytorch-metric-learning
python38Packages.rising
python38Packages.scikit-tda
...

98 packages built successfully:

beancount (python38Packages.beancount)
cinnamon.warpinator
deja-dup
duplicity
duply
dvc-with-remotes
fava
gcalcli
git-annex-remote-googledrive
grpc
ledger2beancount
lieer
lndmanage
opensnitch-ui
python38Packages.beancount_docverif
python38Packages.chirpstack-api
python38Packages.drivelib
python38Packages.goobook
python38Packages.google-api-core
python38Packages.google-api-python-client
python38Packages.google-cloud-access-context-manager
python38Packages.google-cloud-asset
python38Packages.google-cloud-automl
python38Packages.google-cloud-bigquery
python38Packages.google-cloud-bigquery-datatransfer
python38Packages.google-cloud-bigtable
python38Packages.google-cloud-container
python38Packages.google-cloud-core
python38Packages.google-cloud-dataproc
python38Packages.google-cloud-datastore
python38Packages.google-cloud-dlp
python38Packages.google-cloud-dns
python38Packages.google-cloud-error-reporting
python38Packages.google-cloud-firestore
python38Packages.google-cloud-iam
python38Packages.google-cloud-iot
python38Packages.google-cloud-kms
python38Packages.google-cloud-language
python38Packages.google-cloud-logging
python38Packages.google-cloud-monitoring
python38Packages.google-cloud-org-policy
python38Packages.google-cloud-os-config
python38Packages.google-cloud-pubsub
python38Packages.google-cloud-redis
python38Packages.google-cloud-resource-manager
python38Packages.google-cloud-runtimeconfig
python38Packages.google-cloud-secret-manager
python38Packages.google-cloud-securitycenter
python38Packages.google-cloud-spanner
python38Packages.google-cloud-speech
python38Packages.google-cloud-storage
python38Packages.google-cloud-tasks
python38Packages.google-cloud-texttospeech
python38Packages.google-cloud-trace
python38Packages.google-cloud-translate
python38Packages.google-cloud-videointelligence
python38Packages.google-cloud-vision
python38Packages.google-cloud-websecurityscanner
python38Packages.googleapis-common-protos
python38Packages.grpc_google_iam_v1
python38Packages.grpcio
python38Packages.grpcio-gcp
python38Packages.grpcio-tools
python38Packages.oauthenticator
python38Packages.pathy
python38Packages.proto-plus
python38Packages.pydrive
python38Packages.weboob
python38Packages.woob
python39Packages.beancount
python39Packages.beancount_docverif
python39Packages.chirpstack-api
python39Packages.drivelib
python39Packages.goobook
python39Packages.google-api-core
python39Packages.google-api-python-client
python39Packages.google-cloud-access-context-manager
python39Packages.google-cloud-bigtable
python39Packages.google-cloud-core
python39Packages.google-cloud-dns
python39Packages.google-cloud-firestore
python39Packages.google-cloud-logging
python39Packages.google-cloud-org-policy
python39Packages.google-cloud-resource-manager
python39Packages.google-cloud-runtimeconfig
python39Packages.google-cloud-trace
python39Packages.google-cloud-videointelligence
python39Packages.googleapis-common-protos
python39Packages.grpc_google_iam_v1
python39Packages.grpcio
python39Packages.grpcio-gcp
python39Packages.grpcio-tools
python39Packages.oauthenticator
python39Packages.proto-plus
python39Packages.pydrive
python39Packages.weboob
python39Packages.woob
wal_e

1 suggestion:

warning: maintainers-missing
Package does not have a maintainer. Consider adding yourself?
Near pkgs/development/python-modules/grpcio-tools/default.nix:27:5:
   |
27 |     maintainers = with maintainers; [ ];
   |     ^

Note that build failures may predate this PR, and could be nondeterministic or hardware dependent.
Please exercise your independent judgement. Does something look off? Please file an issue or reach out on IRC.

Are you sure that grpc 1.38 is supposed to work with the current abseil version?  The grpc pkg-config files require absl_base and more, but our abseil version doesn't even provide pkg-config files.
This breaks at least bear.  Upgrading abseil fixes this.  #124030

I bisected the murmur breakage to this merge request:
04e18727c4f1797b00e9505ac9185a38c764e0f1 is the first bad commit
commit 04e18727c4f1797b00e9505ac9185a38c764e0f1
Author: Mario Rodas<EMAIL_ADDRESS>Date:   Thu May 20 04:20:00 2021 +0000

    grpc: 1.37.1 -> 1.38.0

    https://github.com/grpc/grpc/releases/tag/v1.38.0

 pkgs/development/libraries/grpc/default.nix | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

It looks like this, even though grpc inputs are conditional and default to false:
cd src/murmur/ && ( test -e Makefile || /nix/store/b7jqnhqn6mw9ly6dk1232hddbnc1166z-qtbase-5.15.2-dev/bin/qmake -o Makefile /build/source/src/murmur/murmur.pro PREFIX=/nix/store/zxrq27ja0pnbr47fcmlm9ywlh41v86pg-murmur-1.3.4 NIX_OUTPUT_OUT=/nix/store/zxrq27ja0pnbr47fcmlm9ywlh41v86pg-murmur-1.3.4 NIX_OUTPUT_DEV=/nix/store/zxrq27ja0pnbr47fcmlm9ywlh41v86pg-murmur-1.3.4 NIX_OUTPUT_BIN=/nix/store/zxrq27ja0pnbr47fcmlm9ywlh41v86pg-murmur-1.3.4 NIX_OUTPUT_DOC=/nix/store/zxrq27ja0pnbr47fcmlm9ywlh41v86pg-murmur-1.3.4/share/doc/qt-5.15.2 NIX_OUTPUT_QML=/nix/store/zxrq27ja0pnbr47fcmlm9ywlh41v86pg-murmur-1.3.4/lib/qt-5.15.2/qml NIX_OUTPUT_PLUGIN=/nix/store/zxrq27ja0pnbr47fcmlm9ywlh41v86pg-murmur-1.3.4/lib/qt-5.15.2/plugins CONFIG+=release CONFIG+=c++11 CONFIG+=shared CONFIG+=no-g15 CONFIG+=packaged CONFIG+=no-update CONFIG+=no-embed-qt-translations CONFIG+=bundled-celt CONFIG+=no-bundled-opus CONFIG+=no-bundled-speex DEFINES+=PLUGIN_PATH=/nix/store/zxrq27ja0pnbr47fcmlm9ywlh41v86pg-murmur-1.3.4/lib/mumble CONFIG+=no-speechd CONFIG+=no-client CONFIG+=grpc ) && make -f Makefile release
Project ERROR: pkg-config could not find package grpc
make: *** [Makefile:500: sub-src-murmur-release_ordered] Error 3
builder for '/nix/store/xr1rvv464zyh7hxv5piwrh2nzj8p024y-murmur-1.3.4.drv' failed with exit code 2

@mweinelt murmur builds with #124030, I think I'm just gonna merge that PR then.


SCALE_TYPE_CUSTOM caused OOM

        bigPicture.setMinimumScaleType(SubsamplingScaleImageView.SCALE_TYPE_CUSTOM);
        bigPicture.setMinScale(1);

3.10.0

sometimes it hapends

Closing because the issue template has been deleted and no information about affected images and devices was provided.


Bump tests to use scaffolding-0.4.3.

Signed-off-by: Ville Aikas<EMAIL_ADDRESS>
Summary
Use scaffolding v0.4.3 for kind tests. It has some improvements for startup flake that I observed.

Release Note
NONE

Documentation

Codecov Report

Merging #2153 (384a7d7) into main (5ec4f88) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #2153   +/-   ##
=======================================
  Coverage   26.23%   26.23%
=======================================
  Files         130      130
  Lines        7617     7617
=======================================
  Hits         1998     1998
  Misses       5362     5362
  Partials      257      257

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


compile tensorflow1.6.0 source failed

Error Occured:
bazel-out/host/bin/external/swig/swig -c++ -python -module tensorflow_wrap_toco -o bazel-out/k8-py3-opt/bin/tensorflow/contrib/lite/toco/python/tensorflow_wrap_toco.cc -outdir bazel-out/k8-py3-opt/bin/tensorflow/contrib/lite/toco/python -Iexternal/eigen_archive -Ibazel-out/k8-py3-opt/genfiles -Iexternal/protobuf_archive -Iexternal/swig -Ibazel-out/k8-py3-opt/genfiles/external/local_config_python -Iexternal/nsync -Iexternal/com_google_absl -Iexternal/gemmlowp -Iexternal/jpeg -Iexternal/com_googlesource_code_re2 -Iexternal/zlib_archive -Iexternal/flatbuffers -Iexternal/highwayhash -Iexternal/gif_archive -Ibazel-out/k8-py3-opt/genfiles/external/jpeg -Iexternal/png_archive -Iexternal/arm_neon_2_x86_sse -Iexternal/farmhash_archive -Iexternal/swig/Lib -Iexternal/swig/Lib/cffi -Iexternal/swig/Lib/python -Iexternal/swig/Lib/std -Iexternal/swig/Lib/typemaps tensorflow/contrib/lite/toco/python/toco.i
:1: Error: Unable to find 'swig.swg'
:3: Error: Unable to find 'python.swg'
tensorflow/contrib/lite/toco/python/toco.i:16: Error: Unable to find ‘std_string.i'
use bazel compile tensorflow
Please go to Stack Overflow for help and support:
https://stackoverflow.com/questions/tagged/tensorflow
If you open a GitHub issue, here is our policy:

It must be a bug, a feature request, or a significant problem with documentation (for small docs fixes please send a PR instead).
The form below must be filled out.
It shouldn't be a TensorBoard issue. Those go here.

Here's why we have that policy: TensorFlow developers respond to issues. We want to focus on work that benefits the whole community, e.g., fixing bugs and adding features. Support only helps individuals. GitHub also notifies thousands of people when issues are filed. We want them to see you communicating an interesting problem, rather than being redirected to Stack Overflow.

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
TensorFlow installed from (source or binary):
TensorFlow version (use command below):
Python version:
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version:
GPU model and memory:
Exact command to reproduce:

You can collect some of this information using our environment capture script:
https://github.com/tensorflow/tensorflow/tree/master/tools/tf_env_collect.sh
You can obtain the TensorFlow version with
python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"
Describe the problem
Describe the problem clearly here. Be sure to convey here why it's a bug in TensorFlow or a feature request.
Source code / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached. Try to provide a reproducible test case that is the bare minimum necessary to generate the problem.

Please provide details about what platform you are using  (operating system, architecture). Also include your TensorFlow version. Also, did you compile from source or install a binary?  Make sure you also include the exact command if possible to produce  the output included in your test case. If you are unclear what to include  see the issue template displayed in  the Github new issue template.
We ask for this in the issue submission template, because    it is really difficult to help without that information. Thanks!

It has been 14 days with no activity and the awaiting response label was assigned. Is this still an issue?

Closing for lack of response; please reopen if you can fill in the platform information.

I've been suffering the same error while compiling tensorflow to run in a pretty outdated cluster machine. I've been able to fix it with the patch proposed in https://github.com/bazelbuild/bazel/issues/4053#issuecomment-343134886
I'm using self compiled versions of gcc and bazel. My enviornment:
== cat /etc/issue ===============================================
Linux pgpu01 2.6.32-696.1.1.el6.x86_64 #1 SMP Tue Mar 21 12:19:18 EDT 2017 x86_64 x86_64 x86_64 GNU/Linux
== are we in docker =============================================
No
== compiler =====================================================
c++ (GCC) 6.4.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
== uname -a =====================================================
Linux pgpu01 2.6.32-696.1.1.el6.x86_64 #1 SMP Tue Mar 21 12:19:18 EDT 2017 x86_64 x86_64 x86_64 GNU/Linux
== check pips ===================================================
numpy (1.12.0)
protobuf (3.2.0)
== check for virtualenv =========================================
True
== tensorflow import ============================================
tf.VERSION = 1.8.0-rc1
tf.GIT_VERSION = b'v1.8.0-rc1-1380-g17d877b'
tf.COMPILER_VERSION = b'v1.8.0-rc1-1380-g17d877b'
Sanity check: array([1], dtype=int32)
== env ==========================================================
LD_LIBRARY_PATH /opt/shared/cudatoolkit/9.0/lib64:/opt/shared/cudatoolkit/9.0/lib:/opt/shared/cudatoolkit/9.0/samples/common/lib/linux/x86_64:/opt/shared/cudnn/7.1_cuda-9.0/lib64:/opt/shared/python/3.6.0/lib:/cluster/home/rcilla01/lib64:
DYLD_LIBRARY_PATH is unset
== nvidia-smi ===================================================
Sat May  5 09:57:24 2018
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 384.66                 Driver Version: 384.66                    |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  Tesla P100-PCIE...  Off  | 00000000:08:00.0 Off |                    0 |
| N/A   29C    P0    29W / 250W |      0MiB / 16276MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   1  Tesla P100-PCIE...  Off  | 00000000:09:00.0 Off |                    0 |
| N/A   32C    P0    27W / 250W |      0MiB / 16276MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID  Type  Process name                               Usage      |
|=============================================================================|
|  No running processes found                                                 |
+-----------------------------------------------------------------------------+
== cuda libs  ===================================================

I am having this issue as well.

The patch fixes it for me too


TypeError: webSpeechPonyfillFactory is not a function     at Composer. (Composer.js:168)

I am getting issue "react-dom-16-bundle_068bea613f5fe1903fe9fe89256cf26c.js:1 TypeError: webSpeechPonyfillFactory is not a function
at Composer. (Composer.js:168)
at Composer.result [as createWebSpeechPonyfill] (index.js:31)"
on implementation of speech in below React code,
this.webSpeechPonyfillFactory = createCognitiveServicesSpeechServicesPonyfillFactory( { region: 'west us', subscripwesteuropetionKey: '6320c24xxxx', }, );
const divStyle = {
  width: '100%',
  border: '2px solid pink'
};
    return (
    <ReactWebChat  webSpeechPonyfillFactory= { this.webSpeechPonyfillFactory }
    className={ `${ className || '' } web-chat` }  styleOptions={wesstyleOptions}  userID={this.props.email} username= {this.props.userName} directLine={this.directLine} botAvatarInitials={'Bot'} botAvatarImage='https://docs.microsoft.com/en-us/azure/bot-service/v4sdk/media/logo_bot.svg?view=azure-bot-service-4.0'
      userAvatarInitials={this.props.email} userAvatarImage={this.props.photoUrl} resize="detect" locale="en-US"
    />
);

Hey @guptarajesh001, do you by chance intend const webSpeechPonyFillFactory instead of this.webSpeechPonyFillFactory? If you take a look at our Cognitive Services Speech Services sample, you need to declare the variable. (You'll also want to throw await in front of createCognitiveServicesSpeechServicesPonyfillFactory too.)


feat: add new fork cheatcodes

Closes #142
adds new cheatcodes introduced in https://github.com/foundry-rs/foundry/pull/2301

already added in #143


association_ids method

When I define a has_many :photos association I would like to have photo_ids and photo_ids= methods. Right now I define them myself:
def photo_ids=(ids)
  self.photos = Photo.find(ids)
end

This is useful if I have a form with many checkboxes named doc[photo_ids][] so that on submit photos are set on update_attributes automatically. Active Record already has this.

Good idea. We're aiming to include this in v3.0.0 .


New collection for every day

Hi it would be great if we could config a collection for every day, just you'll do with log files that you can specified a pattern to follow
thanks!

ok, thanks


Feature/update access node pre 16

@yaniaiciin2 The tests fail, due to desmos not beeing started.  Could you check?


trading example upgrade to new version name: TransactionBlock => Transaction, useSignTransactionBlock => useSignTransaction

Description
Describe the changes or additions included in this PR.
trading example upgrade to new version name: TransactionBlock => Transaction, useSignTransactionBlock => useSignTransaction
Test plan
How did you test the new or updated feature?

Release notes
Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required.
For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates.

[ ] Protocol:
[ ] Nodes (Validators and Full nodes):
[ ] Indexer:
[ ] JSON-RPC:
[ ] GraphQL:
[ ] CLI:
[ ] Rust SDK:

@manolisliolios @hayes-mysten I think the new TypeScript SDK did some changes so we need to update this example. If I recall correctly, this looks right, but let's get another pair of eyes here please.
Thanks!

@manolisliolios @hayes-mysten I think the new TypeScript SDK did some changes so we need to update this example. If I recall correctly and after checking the migration guide, this looks right, but let's get another pair of eyes here please.
Thanks!

Thanks for your fixes @bityoume!


Tested versions
You creator is a Transphobe this is why this fork exists ADIMIT IT AND BE A MAN DREW MAKE IT CLEAR.

Free Speech you do review bombing on Godot I call you what you are COWARDS

Just contact someone to remove this post don't give any attention

COWARDS

HEHEHE ITS FUNNY

UNNY

Just contact someone to remove this post don't give any attention

JUST FREE SPEECH

Reported for spamming
Programming is rational process, therefore has nothing to do with politics


open-source Guide Picker graphics component

Open source Guide Picker 💥
Desktop Genetics is open-sourcing the Guide Picker graphics component as requested by BMC Bioinformatics. This PR contains the relevant parts of JS code that is currently deployed at https://www.deskgen.com/guide-picker.
🍾

@JoeWolanski, I'm gonna merge this regardless, but do give it a spin when it's published on npm and let me know if documentation needs improving.


Renormalize: TTKN.CNKIExpress version 0.1.18

null
Microsoft Reviewers: Open in CodeFlow

Close with reason: Not labeled Blocking-Issue. Keeping most labeled for tracking purposes;


Multiple schemes

Hi,
as developer in a large product I would need to be able to take screenshot in several schemes automatically.
I calculated that to take 5 screenshot in 6 different schemes for 10 different languages and 5 different devices, I need to leave it working 12.5 hours over night (and 1500 screenshots).
It is strongly needed something to call snapshot on the next scheme.
Thanks.

Hi Matteo,
I have a project with close to 100 schemes (96 IIRC). I solved this problem by taking my screenshots concurrently via a Jenkins parameterized build on a few OSX Jenkins slaves that we have running and storing them on Google Drive. Then, at build time, I have a make task that pulls all the screenshots into my workspace. That make task is a dependency of the make task that kicks off my deliver run. It's not the most elegant solution, but it works. I've found that there aren't many people out there doing iOS projects with high numbers of targets. My life automating this process has been interesting to say the least. If there's any other questions you might have please let me know.
Thanks,
Todd

Hey,
I solved it by having multiple projects, using the same core. Not sure how to be solve it with having hundreds of schemes.
What do you suggest?

@KrauseFx
I assume that is directed at @matteogobbi? I pointed out how I solved the problem in my above statement. I have a fairly elaborate Deliverfile and I believe that my solution(s) would port easily to a Snapfile. It all gets driven by a Makefile which does the looping over the schemes and handles building. If there is enough interest I would be more than happy to show you what I have (after some de-corporatization).

Ti is exactly what I think it is needed.
@triangletodd why don't you contribute to this repository with a pull request :P

Is it okay to close this issue? Anything you'd like to further discuss?

At the end I created a bash script to iterate the different schemes. Cheers!


Static website demo

A simple hugo based static website demo showcasing pulling two versions of a site

This is awesome. I was unable to get it running with goexec, but I swapped that out for caddy and it worked. The only thing I can think of to make it more portable is to upload the web server binary with the website and then retrieve the web server binary by platform/arch attributes.
Anyways, thats for another day. I think that this demo does a great job showing a UOR workflow and provides some great example content to get people thinking.  Thank you for this.
lgtm


feat: implement latency averages

I saw the averages jumping pretty wildly and noticed the implementation is missing, so I added it here.

Thank you @blrchen for the merge.
Would it be possible to deploy this change? I can see it working locally, but it would be great to share the deployed version with others.

@samspycher thanks for raising this up. sorry I forgot this earlier. I just get website deployed with latest code.


Update electron

According to release notes v7.3.3

Electron 7.x.y has reached end-of-support as per the project's support policy. Developers and applications are encouraged to upgrade to a newer version of Electron.

Do we update to the latest version i.e. v10.x that will probably be supported for next few years of do we just make one major bump i.e. v.7.x.y -> v.8.x.y?

@saihaj please update

https://github.com/shabados/presenter/pull/652


Add skills/interests & description to member cards on map

Member cards on the map should show the user's skills/interests tags, and maybe some of their about me info?

For now using built in ability of member cards to show tagline and skills, not worry about the summary


UI fixes

Codecov Report

Merging #400 (48c5a39) into develop (7f245ff) will increase coverage by 9.96%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop     #400      +/-   ##
===========================================
+ Coverage    76.08%   86.05%   +9.96%
===========================================
  Files           81       49      -32
  Lines         3036     1936    -1100
  Branches       469      307     -162
===========================================
- Hits          2310     1666     -644
+ Misses         726      270     -456

Flag
Coverage Δ

batch-submitter
?

contracts
86.05% <ø> (ø)

core-utils
?

data-transport-layer
?

message-relayer
?

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...ices/l1-ingestion/handlers/transaction-enqueued.ts

packages/core-utils/src/coders/sequencer-batch.ts

...itter/src/batch-submitter/state-batch-submitter.ts

...kages/data-transport-layer/src/utils/validation.ts

packages/core-utils/src/watcher.ts

packages/core-utils/src/index.ts

.../src/services/l2-ingestion/handlers/transaction.ts

packages/batch-submitter/hardhat.config.ts

packages/data-transport-layer/src/utils/eth-tx.ts

...h-submitter/src/batch-submitter/batch-submitter.ts

... and 22 more

Continue to review full report at Codecov.

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


Entities created with no @PrimaryColumn

Hello,
I managed to generate my existing mySql entities with this command:
typeorm-model-generator -h localhost -d myschema -u myUser -x myPass -e mysql --cf camel --ce pascal --cp camel --output ./data/entities --noConfig true
The problem is that none of them are generated with @PrimaryColumn and so typeorm cannot use them.
at early attempt I was getting:
Table my_aspnet_schemaversion has no PK. just for that table and so I've added PK and the message was gone on the next attempt.
yet, the @PrimaryColumn was not generated to any table.
here is one generated entity that was created:
import {Index,Entity, PrimaryColumn, Column, OneToOne, OneToMany, ManyToOne, ManyToMany, JoinColumn, JoinTable} from "typeorm";
import {Codes} from "./codes";

@Entity("pricing")
@Index("pricing_type",["Type",])
export class Pricing {

    @Column("varchar",{
        nullable:false,
        length:50,
        primary:true,
        name:"Id"
        })
    id:string;

    @ManyToOne(type=>Codes, type=>type.pricings)
    @JoinColumn({ name:'Type'})
    type:Codes;

    @Column("text",{
        nullable:true,
        name:"Properties"
        })
    properties:string;

    @Column("varchar",{
        nullable:true,
        length:50,
        name:"Description"
        })
    description:string;

}

and there is the DDL of that DB table:
CREATE TABLE `pricing` (
	`Id` VARCHAR(50) NOT NULL,
    `Type` int(11) NOT NULL,
    `Properties` TEXT DEFAULT NULL,
    `Description` VARCHAR(50) DEFAULT NULL,
    PRIMARY KEY (`Id`),
    CONSTRAINT `pricing_type` FOREIGN KEY (`Type`) REFERENCES `codes` (`Id`) ON DELETE NO ACTION ON UPDATE NO ACTION
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

The versions I am using:
MySql server 5.7.17
node modules:
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Your help is very appreciated.
Thanks
Ithav

typeorm-model-generator doesn't use @primarycolumn decorator. Instead it passes primary:true in column options. Typeorm recognizes both notations correctly.
Your model should work just fine.

Thanks @Kononnable for the quick reply and for pointing out on the primary:true which I missed.
yet, I'll refine the question with a more relevant example:
this is the exception I'm getting in run time:
name: 'MissingPrimaryColumnError',
  message: 'Entity "Feedextrainfo" does not have a primary column. Primary column is required to have in all your entities. Use @PrimaryColumn decorator to add a primary column to your entity.'

and here is the Feedextrainfo generated entity, with no primary notation:
import {
    Index, Entity, PrimaryColumn, Column, OneToOne, OneToMany, ManyToOne, ManyToMany, JoinColumn, JoinTable,
    PrimaryColumn
} from "typeorm";
import {Users} from "./users";
import {Quests} from "./quests";

@Entity("feedextrainfo")
@Index("feedExtraInfo_FeedOwnerId_idx",["FeedOwnerId",])
@Index("feedExtraInfo_ReaderId_idx",["ReaderId",])
@Index("feedExtraInfo_QuestId_idx",["QuestId",])
export class Feedextrainfo {

    @OneToOne(type=>Users, FeedOwnerId=>FeedOwnerId.feedextrainfo)
    @JoinColumn({ name:'FeedOwnerId'})
    FeedOwnerId:Users;

    @OneToOne(type=>Quests, QuestId=>QuestId.feedextrainfo)
    @JoinColumn({ name:'QuestId'})
    QuestId:Quests;

    @OneToOne(type=>Users, ReaderId=>ReaderId.feedextrainfo2)
    @JoinColumn({ name:'ReaderId'})
    ReaderId:Users;

    @Column("int",{
        nullable:false,
        name:"MostUpdatedFeedEntryIdUserRead"
        })
    MostUpdatedFeedEntryIdUserRead:number;

}

Could you provide DDL for that table?

sure, there it is:
CREATE TABLE `feedextrainfo` (
 `FeedOwnerId` int(11) NOT NULL,
 `QuestId` int(11) NOT NULL,
 `ReaderId` int(11) NOT NULL,
 `MostUpdatedFeedEntryIdUserRead` int(11) NOT NULL,
  PRIMARY KEY (`FeedOwnerId`,`ReaderId`,`QuestId`),
  INDEX `feedExtraInfo_FeedOwnerId_idx` (`FeedOwnerId`),
  INDEX `feedExtraInfo_ReaderId_idx` (`ReaderId`),
  INDEX `feedExtraInfo_QuestId_idx` (`QuestId`),
  CONSTRAINT `feedExtraInfo_QuestId` FOREIGN KEY (`QuestId`) REFERENCES `quests` (`QuestId`) ON DELETE NO ACTION ON UPDATE NO ACTION,
  CONSTRAINT `feedExtraInfo_FeedOwnerId` FOREIGN KEY (`FeedOwnerId`) REFERENCES `users` (`UserId`) ON DELETE NO ACTION ON UPDATE NO ACTION,
  CONSTRAINT `feedExtraInfo_ReaderId` FOREIGN KEY (`ReaderId`) REFERENCES `users` (`UserId`) ON DELETE NO ACTION ON UPDATE NO ACTION
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

Generation of primary keys on join columns fixed in<EMAIL_ADDRESS>

@Kononnable thanks so much!
I'm validating the fix and will report back soon.

@Kononnable
unfortunately, the generated entity looks the same. double checked I'm using 0.2.13.

Could you look at database generated by test58? I don't know why test model is generated correctly, but yours isn't. Maybe you can see any significant differences between them.

@Kononnable the only difference is at @OneToOne annotation, where test models has
{primary:true, nullable:false, }
while mine are lacking it.

What I meant was to create test db from that model and compare if db schema looks identical to yours. Then try to use typeorm-model-generator on test db - if it succeeds I don't have a clue why it generates wrong entities on your db.
Then the only solution would probably be generating schema backup from your db and sending it to me - I'm unable to reproduce the issue in my environment.

"create test db from that model"
as far as I understand you're referring to the opposite operation from what this lib is doing:
[DB -> entities/feedextrainfo.ts]  <==> [entities/feedextrainfo.ts -> DB table]
is there some command to do so? or else did you mean to manuallly craft DDL?

Yes, it's opposite operation from what lit is doing.
You can use something similar to this for basic creation of tables from model.

@Kononnable I've useed typeorm to generate DB tables from the ts models.
this is the DDL of the generated DB table:
CREATE TABLE `feedextrainfo` (
  `FeedOwnerId` int(11) NOT NULL,
  `QuestId` int(11) NOT NULL,
  `ReaderId` int(11) NOT NULL,
  `MostUpdatedFeedEntryIdUserRead` int(11) NOT NULL,
  PRIMARY KEY (`FeedOwnerId`,`QuestId`,`ReaderId`),
  UNIQUE KEY `REL_dab9c7f92178a708f1fa3356f9` (`FeedOwnerId`),
  UNIQUE KEY `REL_0f7fa3f040e6b3114fcdb6d467` (`QuestId`),
  UNIQUE KEY `REL_f5da050f1bc47d772537b61e7c` (`ReaderId`),
  KEY `feedExtraInfo_QuestId_idx` (`QuestId`),
  KEY `feedExtraInfo_ReaderId_idx` (`ReaderId`),
  KEY `feedExtraInfo_FeedOwnerId_idx` (`FeedOwnerId`),
  CONSTRAINT `FK_dab9c7f92178a708f1fa3356f94` FOREIGN KEY (`FeedOwnerId`) REFERENCES `users` (`UserId`),
  CONSTRAINT `FK_0f7fa3f040e6b3114fcdb6d4676` FOREIGN KEY (`QuestId`) REFERENCES `quests` (`QuestId`),
  CONSTRAINT `FK_f5da050f1bc47d772537b61e7c4` FOREIGN KEY (`ReaderId`) REFERENCES `users` (`UserId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

While this is the original DDL:
CREATE TABLE `feedextrainfo` (
  `FeedOwnerId` int(11) NOT NULL,
  `QuestId` int(11) NOT NULL,
  `ReaderId` int(11) NOT NULL,
  `MostUpdatedFeedEntryIdUserRead` int(11) NOT NULL,
  PRIMARY KEY (`FeedOwnerId`,`ReaderId`,`QuestId`),
  KEY `feedExtraInfo_FeedOwnerId_idx` (`FeedOwnerId`),
  KEY `feedExtraInfo_ReaderId_idx` (`ReaderId`),
  KEY `feedExtraInfo_QuestId_idx` (`QuestId`),
  CONSTRAINT `feedExtraInfo_FeedOwnerId` FOREIGN KEY (`FeedOwnerId`) REFERENCES `users` (`UserId`) ON DELETE NO ACTION ON UPDATE NO ACTION,
  CONSTRAINT `feedExtraInfo_QuestId` FOREIGN KEY (`QuestId`) REFERENCES `quests` (`QuestId`) ON DELETE NO ACTION ON UPDATE NO ACTION,
  CONSTRAINT `feedExtraInfo_ReaderId` FOREIGN KEY (`ReaderId`) REFERENCES `users` (`UserId`) ON DELETE NO ACTION ON UPDATE NO ACTION
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

@Kononnable
below is the generated model from the test table (using the command: >typeorm-model-generator -h localhost -d test -u user -x pass -e mysql --cf camel --ce pascal --output ./test --noConfig true)
import {Index,Entity, PrimaryColumn, Column, OneToOne, OneToMany, ManyToOne, ManyToMany, JoinColumn, JoinTable} from "typeorm";
import {Users} from "./users";
import {Quests} from "./quests";

@Entity("feedextrainfo")
@Index("REL_dab9c7f92178a708f1fa3356f9",["FeedOwnerId",],{unique:true})
@Index("REL_0f7fa3f040e6b3114fcdb6d467",["QuestId",],{unique:true})
@Index("REL_f5da050f1bc47d772537b61e7c",["ReaderId",],{unique:true})
@Index("feedExtraInfo_QuestId_idx",["QuestId",])
@Index("feedExtraInfo_ReaderId_idx",["ReaderId",])
@Index("feedExtraInfo_FeedOwnerId_idx",["FeedOwnerId",])
export class Feedextrainfo {

    @Column("int",{
        nullable:false,
        name:"MostUpdatedFeedEntryIdUserRead"
        })
    MostUpdatedFeedEntryIdUserRead:number;

    @OneToOne(type=>Users, FeedOwnerId=>FeedOwnerId.feedextrainfo)
    @JoinColumn({ name:'FeedOwnerId'})
    FeedOwnerId:Users;

    @OneToOne(type=>Quests, QuestId=>QuestId.feedextrainfo)
    @JoinColumn({ name:'QuestId'})
    QuestId:Quests;

    @OneToOne(type=>Users, ReaderId=>ReaderId.feedextrainfo2)
    @JoinColumn({ name:'ReaderId'})
    ReaderId:Users;
    }

On<EMAIL_ADDRESS>it should generate options for @OneToOne. It is generating for me locally and tests are passing on the CI. Probably you are not using latest version after all. Maybe you updated package locally, but are generating model with globally installed package?
Eventually you can generate model with github repo. Just clone the repo, then npm run setup, npm run compile and then npm start --  followed by parameters passed to typeorm-model-generator.


'FN' key

It could be useful to detect the 'FN' key

I don't think that key is even seen by Windows, so I doubt that this would be possible. See https://stackoverflow.com/a/24503230

yup, as @utybo mentioned, we've found that the Fn key (often) is just a hardware key and never even gets seen by the OS, making it impossible to detect/remap.

I was looking for the same thing. @saahmedm should we add a flyout/tooltip to the editor o explain that certain buttons cannot be remapped?

We currently have it on the Readme, but we are missing info on the UI. I don't know exactly where we would put it though since there isn't a play to even "select" a Fn key.

@arjunbalgovind Maybe a banner/ information button / tooltip that explains that 'hardware keys'(like Fn) are currently not supported?
I can make a XAML mockup of that if you want to, together with the other UX improvements mentioned in a few other issues?

@arjunbalgovind @niels9001 I think including the inability to map hardware keys in the Readme sufficed. Since we can't detect when a user wants to remap Fn, I'd be adverse to have a banner for every user.
an information button that directs to Readme section or has a tooltip with "hardware keys'(like Fn) cannot be remapped"

Browsers can detect pressing the FN key and also the MSI Dragon center can switch WIN-key and FN-key . So I guess there is a way of doing it...?

Browsers can detect pressing the FN key
Test for browser: https://unixpapa.com/js/testkey.html

I can explain this since I have an MSI laptop too. For most keyboards if you just press the Fn key you won't see anything appear in that browser link. For MSI keyboards it shows the code 255, however 255 is a undefined code in Windows, which is used by some keyboard manufacturers to set it as a key still detected by OS but it the OS does not handle it. In the Type Key UI if you try pressing your Fn key you will probably see the key name as "Undefined" and even if you remap it to something it will not work since it isn't possible from the OS level. This is the reason why AutoHotkey also cannot do this as mentioned in the link posted by @utybo.

MSI Dragon center can switch WIN-key and FN-key

This would apply only to the keyboard on your laptop and if you try attaching another keyboard this switch will not work on that keyboard. That is because MSI, being the keyboard manufacturer can write hardware specific programs such that for your MSI keyboard it can be remapped. So yes, it is possible to remap it but only from some software provided by your keyboard/laptop manufacturer (MSI in your case). For a Logitech keyboard for example, you would be able to do the same if the bundled Logitech software had an option to do that.

@crutkas @niels9001
since some users don't read the full wiki before opening issues for the Fn (and similar) keys, it seems we need to add an explicit link in the Settings that points directly to https://github.com/microsoft/PowerToys/wiki/Keyboard-Manager-Overview#14-keys-that-cannot-be-remapped

@enricogior The warning applies to both remapping single keys and shortcuts, right?
Would a simple HyperLinkButton work? (@crutkas has probably some better text suggesions).
Additionally, I'd add the same hyperlink in the actual editors.

@niels9001
since we have one paragraph in the wiki covering all the cases, it's fine to have one link that is in common for both single key and shortcuts.
Your change seems a good starting point, if it turns out we need to add more emphasis we can always revisit it later on.

Great, if you or @crutkas can define the correct title of the button I'll put in the PR.

@niels9001, "View what cannot be remapped"  this is short and inclusive of both shortcuts and keys.
https://aka.ms/powerToysCannotRemapKeys for URL

Shipped with 0.27 release. https://github.com/microsoft/PowerToys/releases/tag/v0.27.0


Change label: "diagnostic logs" to "diagnostic settings"

Just a quick label fix that I noticed when setting up a firewall. The docs say "Diagnostic logs" but the label is "Diagnostic settings".

@jogleasonjr : Thanks for your contribution! The author, @vhorne, has been notified to review your proposed change.

#sign-off


⚠ Thumbnails API Endpoint has degraded performance

In 3f58049, Thumbnails API Endpoint (https://thumbnails.roblox.com/v1/assets?assetIds=82738847&format=Png&isCircular=false&size=30x30) experienced degraded performance:

HTTP code: 200
Response time: 4548 ms

Resolved: Thumbnails API Endpoint performance has improved in f507183.


Groovy: lexer with wrong state after variable in string

After matching a simple variable (template option type: 'var') in a string, the lexer tries to match the subsequent expression also as a string, instead of a symbol. This state confusion seems to also affect further following tokens.
Testcase:
force "com.fasterxml.jackson.core:jackson-annotations:$jackson"
something "else"

Full parser output
{
  "type": "root-tree",
  "children": [
    {
      "type": "_start",
      "value": "",
      "offset": 0,
      "line": 1,
      "col": 1,
      "lineBreaks": 0
    },
    {
      "type": "symbol",
      "value": "force",
      "offset": 0,
      "line": 1,
      "col": 1,
      "lineBreaks": 0
    },
    {
      "type": "whitespace",
      "value": " ",
      "offset": 5,
      "line": 1,
      "col": 6,
      "lineBreaks": 0
    },
    {
      "type": "string-tree",
      "startsWith": {
        "type": "string-start",
        "value": "\"",
        "offset": 6,
        "line": 1,
        "col": 7,
        "lineBreaks": 0
      },
      "endsWith": {
        "type": "string-end",
        "value": "\"",
        "offset": 62,
        "line": 1,
        "col": 63,
        "lineBreaks": 0
      },
      "children": [
        {
          "type": "_start",
          "value": "",
          "offset": 7,
          "line": 1,
          "col": 8,
          "lineBreaks": 0
        },
        {
          "type": "string-value",
          "value": "com.fasterxml.jackson.core:jackson-annotations:",
          "offset": 7,
          "line": 1,
          "col": 8,
          "lineBreaks": 0
        },
        {
          "type": "template-tree",
          "startsWith": {
            "type": "template-start",
            "value": "$",
            "offset": 54,
            "line": 1,
            "col": 55,
            "lineBreaks": 0
          },
          "endsWith": {
            "type": "template-end",
            "value": "",
            "offset": 62,
            "line": 1,
            "col": 63,
            "lineBreaks": 0
          },
          "children": [
            {
              "type": "_start",
              "value": "",
              "offset": 55,
              "line": 1,
              "col": 56,
              "lineBreaks": 0
            },
            {
              "type": "symbol",
              "value": "jackson",
              "offset": 55,
              "line": 1,
              "col": 56,
              "lineBreaks": 0
            },
            {
              "type": "_end",
              "value": "",
              "offset": 62,
              "line": 1,
              "col": 63,
              "lineBreaks": 0
            }
          ]
        },
        {
          "type": "_end",
          "value": "",
          "offset": 62,
          "line": 1,
          "col": 63,
          "lineBreaks": 0
        }
      ]
    },
    {
      "type": "string-value",
      "value": "\nsomething ",
      "offset": 63,
      "line": 1,
      "col": 64,
      "lineBreaks": 1
    },
    {
      "type": "string-end",
      "value": "\"",
      "offset": 74,
      "line": 2,
      "col": 11,
      "lineBreaks": 0
    },
    {
      "type": "symbol",
      "value": "else",
      "offset": 75,
      "line": 2,
      "col": 12,
      "lineBreaks": 0
    },
    {
      "type": "string-tree",
      "startsWith": {
        "type": "string-start",
        "value": "\"",
        "offset": 79,
        "line": 2,
        "col": 16,
        "lineBreaks": 0
      },
      "endsWith": {
        "type": "string-end",
        "value": "\"",
        "offset": 79,
        "line": 2,
        "col": 16,
        "lineBreaks": 0
      },
      "children": [
        {
          "type": "_end",
          "value": "",
          "offset": 80,
          "line": 2,
          "col": 2,
          "lineBreaks": 0
        }
      ]
    },
    {
      "type": "_end",
      "value": "",
      "offset": 80,
      "line": 2,
      "col": 2,
      "lineBreaks": 0
    }
  ]
}

Tokenization seems correct until:
    {
      "type": "string-value",
      "value": "\nsomething ",
      "offset": 63,
      "line": 1,
      "col": 64,
      "lineBreaks": 1
    },

I would expect to see "value": "\n" to be matched as "type": "newline", "value: "something" as "type": "symbol"
After some debugging on lexer rules, I suspect the issue to be located in varTplState() in string.ts or sortLexerRules() in rules.ts. My guess may be wrong though, as I'm not that familiar with the code.

After some further digging, I think the problem is related to stack missing one pop() after matching the variable template.
With template option type: 'var', the tplStateName is pushed onto the stack:
https://github.com/zharinov/good-enough-parser/blob/98162775508d2eb4fe80a7c5f59d8138e9323a4d/lib/lexer/string.ts#L199-L206
... but an tplEndToken rule is missing that would go up the stack again.
In fact there is no end token to match, so, to my understanding, the rule str$2$end: {"t":"string","type":"str$2$end","match":"\"","chunk":"\"","pop":1} kicks in and does one pop() operation. However, this seems to just ascend back from template matching state to string matching state. Since the str$2$end rule already consumed the " character after template variable matching, the lexer continues matching string values.
The test case above can be made working by adding pop: 1 to https://github.com/zharinov/good-enough-parser/blob/98162775508d2eb4fe80a7c5f59d8138e9323a4d/lib/lexer/string.ts#L106
This is no general solution though as it means, the pop() happens already after the first symbol and this makes it impossible to match combinations of symbol and operator.
@zharinov, do you probably have an idea how to fix this?

This would fix this simple case, but will fail with this one:
force "com.fasterxml.jackson.core:jackson-annotations:$Versions.jackson"
something "else"

pop=2 for str$2$end token would solve the problem, however the library doesn't support it. However the library doesn't support it, and maybe it's a time to make a fork

I've started to port it

Or, maybe it would be easier to just create a PR...

https://github.com/no-context/moo/pull/177


Freshly cloned Thanos now fails to build with make build

Only publish_master does not work though: https://circleci.com/gh/thanos-io/thanos/4467
I can repro locally:
>> building binaries /home/bartek/Repos/thanos/.bin
 >   thanos
build github.com/thanos-io/thanos/cmd/thanos: cannot load github.com/prometheus/prometheus/tsdb: cannot find module providing package github.com/prometheus/prometheus/tsdb
!! command failed: build -o /home/bartek/Repos/thanos/thanos -ldflags -X github.com/prometheus/common/version.Version=0.6.0-master -X github.com/prometheus/common/version.Revision=e9028159404dc753e5e1fa4443ae135d72f09361 -X github.com/prometheus/common/version.Branch=publish-fix -X<EMAIL_ADDRESS>-X github.com/prometheus/common/version.BuildDate=20190814-14:53:04  -extldflags '-static' -a -tags netgo github.com/thanos-io/thanos/cmd/thanos: exit status 1
Makefile:110: recipe for target 'build' failed
make: *** [build] Error 1

Investigating.

Somehow go.mod was reverted.

[root@pfw06vv thanos]# make build

building binaries /bin
thanos

github.com/prometheus/tsdb/goversion
/root/go/pkg/mod/github.com/prometheus/tsdb@v0.8.0/goversion/init.go:17:9: undefined: _SoftwareRequiresGOVERSION1_12
!! command failed: build -o /home/luyuan/go/src/github.com/thanos-io/thanos/thanos -ldflags -X github.com/prometheus/common/version.Version=0.6.1 -X github.com/prometheus/common/version.Revision=acb1cb03fd5ecf3e044a97642be50897db11c34f -X github.com/prometheus/common/version.Branch=master -X<EMAIL_ADDRESS>-X github.com/prometheus/common/version.BuildDate=20190815-04:34:32  -extldflags '-static' -a -tags netgo github.com/improbable-eng/thanos/cmd/thanos: exit status 2
make: *** [build] 错误 1
[root@pfw06vv thanos]#

[root@gobuildtest thanos]# make build

building binaries /bin
thanos

github.com/prometheus/tsdb/goversion
/root/go/pkg/mod/github.com/prometheus/tsdb@v0.8.0/goversion/init.go:17:9: undefined: _SoftwareRequiresGOVERSION1_12
!! command failed: build -o /root/go/src/github.com/thanos-io/thanos/thanos -ldflags -X github.com/prometheus/common/version.Version=0.6.1 -X github.com/prometheus/common/version.Revision=acb1cb03fd5ecf3e044a97642be50897db11c34f -X github.com/prometheus/common/version.Branch=master -X github.com/prometheus/common/version.BuildUser=root -X github.com/prometheus/common/version.BuildDate=20190815-04:34:32  -extldflags '-static' -a -tags netgo github.com/improbable-eng/thanos/cmd/thanos: exit status 2

Looking into this right now. :slightly_smiling_face:

Remove of GOPATH/pkg and running make docker reproduces this.

It looks like promu doing something:
go: extracting github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1
go: extracting github.com/grpc-ecosystem/grpc-gateway v1.9.5
all modules verified
>> building binaries /home/bartek/Repos/thanos/.bin
 >   thanos
go: finding github.com/prometheus/prometheus v2.5.0+incompatible
go: downloading github.com/prometheus/prometheus v2.5.0+incompatible
go: extracting github.com/prometheus/prometheus v2.5.0+incompatible
go: finding github.com/prometheus/tsdb v0.10.0
go: downloading gopkg.in/fsnotify/fsnotify.v1 v1.4.7
go: downloading github.com/prometheus/tsdb v0.10.0
go: extracting gopkg.in/fsnotify/fsnotify.v1 v1.4.7
go: extracting github.com/prometheus/tsdb v0.10.0
go: finding github.com/dgryski/go-sip13 v0.0.0-20181026042036-e10d5fee7954
build github.com/thanos-io/thanos/cmd/thanos: cannot load github.com/prometheus/prometheus/tsdb: cannot find module providing package github.com/prometheus/prometheus/tsdb
!! command failed: build -o /home/bartek/Repos/thanos/thanos -ldflags -X github.com/prometheus/common/version.Version=0.6.0-master -X github.com/prometheus/common/version.Revision=414b2e63a8f68b35476e219cad55508665985cfd -X github.com/prometheus/common/version.Branch=publish-fix -X<EMAIL_ADDRESS>-X github.com/prometheus/common/version.BuildDate=20190815-15:33:51  -extldflags '-static' -a -tags netgo github.com/thanos-io/thanos/cmd/thanos: exit status 1
Makefile:110: recipe for target 'build' failed

something means go build - I think it is really some https://proxy.io issue.
Let's move to proxy.golang.org with replaces: https://github.com/thanos-io/thanos/pull/1421
Reasons:

bit safer cache
fixes this issue (unknown root cause, maybe some obsolete cache?)

This should be closed now, right?

Yes, but I am waiting for confirmation before that (green master build)

Something is still wrong .. https://circleci.com/gh/thanos-io/thanos/4492

passed now, those were flakinesses.


[SPARK-42254][SQL] Assign name to _LEGACY_ERROR_TEMP_1117

What changes were proposed in this pull request?
This PR proposes to assign name to _LEGACY_ERROR_TEMP_1117, "REQUIRES_SINGLE_PART_NAMESPACE".
Why are the changes needed?

We should assign proper name to LEGACY_ERROR_TEMP*
Does this PR introduce any user-facing change?

No
How was this patch tested?

./build/sbt "sql/testOnly org.apache.spark.sql.SQLQueryTestSuite*

cc @srielau @MaxGekk @cloud-fan could you review this error class when you find some time??

+1, LGTM. Merging to master/3.4.
Thank you, @itholic and @LuciferYang @srielau for review.


Generative art samples and ideas

[ ] perlin noise, and then make train stations
[ ] 3d mandelbrot in PICO8

https://twitter.com/zozuar/status/1367243732764876800?s=20
https://www.fountainware.com/Funware/Mandelbrot3D/Mandelbrot3d.htm#3DMandelbrot

[ ] Aaron Penne's allegory in PICO8 or BBC Micro
[ ] PICO8 procedural generation for terrain
[ ] Pico-8 bonsai or garden procedural generation
[x] Pico-8 and particle swarm optimization (PSO)

I think it's better if you only focus on one. Right now I'm a bit interested on path movement of sheeps. Can I code that in p5.js?
https://twitter.com/ariehkovler/status/1408878326370930690

https://www.themarginalian.org/2019/10/13/harry-clarke-edgar-allan-poe-tales-of-mystery-and-imagination/

I really tried, but I think generative art isn't something I enjoy doing. Closing this for now!