Automatically disconnects from rabbitmq when being inactive

Hello,
I realized the docker container from this repository automatically disconnects from Rabbitmq after some time being inactive. It disconnects usually after about a minute of being inactive.
Is it possible to disable this "functionality"?
The behavior can be reproduced by using this repository: https://github.com/jonaskello/amqp-example-ws-js

Can not reproduce it with rabbitmq 3.12.10. Which rabbitmq and version did you use? What does the server report that the heartbeat value is?

Also, use the latest version of amqp-client.js


Fix the selected color scheme list item container background being blue in Windows 10

Summary of the Pull Request
Specify the resource to use for the list view item background when selected.
References and Relevant Issues
#14693
Validation Steps Performed
Background is no longer blue, it is light gray (like in Windows 11). Screenshots below.
PR Checklist

[ ] Closes #xxx
[ ] Tests added/passed
[ ] Documentation updated

If checked, please file a pull request on our docs repo and link it here: #xxx

[ ] Schema updated (if necessary)

Win 11:

Win 10:

@msftbot merge this in 5 minutes


how to add codechecker to windows path?

how to add codechecker to windows path?

Would you think this answers your question? https://www.computerhope.com/issues/ch000549.htm
Thank you!

Hi,
I would close this ticket. Please, elaborate the question if any. However, we don't really use CodeChecker in Windows. It would be a nice experience to see if it works or it needs some generalization in the code.
Thank you!


Add Class D support

This PR adds Class D support to Omni Core.
Class D is not defined in the spec but can be summarized as follows:
Class D is identical to Class C with the following changes:

The marker bytes have been shortened to ol rather than omni (@dexx7 I should have listened to you earlier hehe)
Integers in payloads are compressed with variable length encoding similar to LEB128

The use of Class D is significantly more efficient than Class C (on average payloads are reduced by 40-50%).  Class D is activated via the feature activation system and Omni Core will start sending Class D by default once the activation has occurred.
This is an initial PR to request feedback and should be considered in progress...
Thanks! :)
Z

Awesome!
Back when we added Class C support, I made sure we can handle multiple push operations, and because multiple pushes in OP_RETURN are allowed for some time now, I believe we can safely make us of it.
Here is my proposal: instead of pushing [olpayload], we embed [ol][payload].
Ultimately this allows to set a bloom filter to ol, and identify Omni transactions in a SPV-ish way. This is just a gimick though, because we probably will never be ably to rely on SPV security.
What do you think? CC: @msgilligan

I actually really, really like that idea - SPV on it's own may not be viable but in combination with other methods (such as querying a consensus hash across multiple API services) there may be a possibility of a lower security approach, allowing users to choose their own tolerance for risk against convenience...

Awesome, it roughly looks like this (from here).
if (txClass == OMNI_CLASS_D) {
  script << OP_RETURN << vchOmBytes << vchPayload;
} else {
  script << OP_RETURN << vchData;
}

... and we'd probably need to check, whether the other format is also <= nMaxDatacarrierBytes. Maybe via something like:
if (script.size()-1 > nMaxDatacarrierBytes) { return false; }

... at the very end, after constructing the script. This needs to be double checked, to make sure we're not off by one or two bytes due to the OP_RETURN or the push operations.

Another point we might consider:
Currently we're using a whole byte for the ecosystem, even though we'd get away with only one bit. Maybe we could save some space here as well?
I'm also wondering, whether we could save some space by handling property ids as [ecosystem bit][identifier], instead of [identifier with ecosystem offset].

This needs to be double checked, to make sure we're not off by one or two bytes due to the OP_RETURN or the push operations.

Ahhh... Hmm - that's something I didn't consider - we lose an extra byte for the second pushdata.  I do really like the idea of separating the marker, but it depends if we're actually going to make use of that in some way (otherwise we're just burning a byte for nothing).
I'm still kind of leaning towards doing it anyway...

Currently we're using a whole byte for the ecosystem, even though we'd get away with only one bit. Maybe we could save some space here as well?

That's an interesting idea and you're right (divisibility could be expressed in just one bit too and maybe other fields) but I'm not sure how to put that to work in practice...

I'm also wondering, whether we could save some space by handling property ids as [ecosystem bit][identifier], instead of [identifier with ecosystem offset].

Currently the variable length integer encoding is poor for test ecosystem properties, but I figured since they form less than 0.1% of our transactions that it wasn't a big deal...

Thanks so much for reviewing dude, really appreciate your feedback :)
I also found another flaw (a pretty big one!) in that while it won't send Class D before the feature is activated, it'll still parse them as valid...
D'oh!
Adding a check now to reject Class D during parsing before activation...

I'm still kind of leaning towards doing it anyway...

Me too! We'd be the first meta-protocol with SPV-ish features. :p

Currently the variable length integer encoding is poor for test ecosystem properties, but I figured since they form less than 0.1% of our transactions that it wasn't a big deal...

That's also a good point. We might consider it in the future though, maybe when/if we overhaul other parts (e.g. removing text fields).

Just noticing that I was tagged in this PR...
Looks like a lot of reading -- will try to catch up this weekend.  Sorry for being slow to respond.


Update metadata links

Two minor changes:

Update link to source product access to https://dataspace.copernicus.eu
Only include link to Geolocation Accuracy reference only if actually computed

Thx!


Web Interface not working

Hello, I'm trying to run Nginx Proxy Manager on a Raspberry Pi.
I had managed to get it running, but I had to restart it and now the webinterface isn't working anymore.
I tried checking the used ports both before and after starting the cointainer (I'm starting it with docker-compose up -d) and the ports get binded when running the container, but opening ip:80 or ip:81 shows nothing.
While the ports get binded on my host, I noticed that if I check the listening ports in my container there is just the port 3000 (and the 43855, but I guess that's just a dynamic port).
I'm using SQLite as database.
I tried checking the log and it keeps writing that:
2020/10/28 16:04:18 [emerg] 23423#23423: BIO_new_file("/etc/letsencrypt/live/npm-3/fullchain.pem") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/letsencrypt/live/npm-3/fullchain.pem','r') error:20
06D080:BIO routines:BIO_new_file:no such file)

Also, unexpectedly, if I try doing ls in the /etc/letsencrypt folder I only find the renewal-hooks folder.
Any help is appreciated.

Nvm, since it wasn't configured yet I just deleted and recreated everything


a cli to check if a secret exists (like, return true/false based on if there is an assigned secret to a workload

Could you assign to me @v0lkan ?

Assigned.
We can discuss the details separately.

I am marking this as “pending” until we reach 50% code coverage.

I think it’ll be something like
safe -w $workloadName -l

which will be a subset of safe -l and instead of listing everything, it will just list the secret for that workload or something empty if there is no secret.


Injection plugin connected but nothing gets injected

Hi,
Thanks for the great tool!
I'm using the latest standalone injection app v1.2 (1). I manage to make it work in a simple demo app. However when I try to use it on my work project nothing gets injected. i.e. When I run the Inject source command, Xcode produces the following in its console and the injected method doesn't get called.
2017-01-03 21:54:52.197 fiPrivIphone[37253:987925] Injection attempting connection to: <IP_ADDRESS>:31452
2017-01-03 21:54:52.198 fiPrivIphone[37253:987925] Connected to "Injection" plugin, ready to load x86_64 code.
When I check the console via View Console it's empty there.
I tried to switch on "automatically manage signing" in Xcode and select "None" as the team, but it didn't help.
Further more, if I run Bundle Project, I get the following message in the console. Not sure if this is relevant:
Connection from: /Users/dyang/Library/Developer/CoreSimulator/Devices/71076721-9475-440E-9835-65D49E265885/data/Containers/Bundle/Application/DEEA3C06-7B21-4611-AE37-1E2E9CA7D452/fiPrivIphone.app/fiPrivIphone x86_64 (16)

The file /unknown/Logs/Build/../iOSInjectionProject/InjectionBundle.xcodeproj does not exist.
Are there other logs that I can check to see where things went wrong? Can someone please point me to the right direction?
Many thanks!
Xcode: 8.2.1
Injection: 1.2 (1)

Interesting, it’s not found your project correctly hence the “/unknown". Do you have the project open in Xcode?

Yes I have the project open in Xcode. I also made sure that was the only Xcode project I opened.
It's interesting that if I try this in a Hello World project, then everything works.

Do you have a section of text selected in the file being injected?

No, I didn't select any text.

Can you select some so that it correctly identifies the file you want to inject? This is a limitation of using the AppleScript api.

Other thing to check is whether you have a custom “Preferences/Locations” set for the project.

I selected some text in the edited file, saved the file and tried both the Inject source and Bundle project command but none of them seemed help.

Hmm, I have the default location unchanged.

Does it matter that I've installed the Xcode plugin version before? I've since removed the plugin from  /Users/me/Library/Application Support/Developer/Shared/Xcode/Plug-ins.

They should work side by side. I can TeamView if you want to get to the bottom of this.

That'll be super awesome! Many thanks! What do you need from me to get TeamView up and running? :)

If you have TeamView installed email me your connection info to injection at johnholdsworth.com

Problem was custom configuration names in the end. I’ve prepared a fix: v1.3 for this problem if you would like to re-download and try again.

Many thanks for the fix! It works like a charm :)


Multiple Queries Regarding Simulation of OpenRAM

Can anyone resolve these three queries?

Have you tested the generated memory compiler from OpenRAM in Cadence/Synopsys Tool?
If yes are you getting the 10-20 GHz in the said tools as reported by the Openram output file. We have tried compiling the generated schematic in Cadence Virtuoso but we are only able to get frequency up to 400 MHz?
In the Config file, we have tried changing the number of Banks but we are getting only one bank.

Yes, we have used the lib and lef files with commercial tools.
10-20 GHz is quite high! Where are you seeing this? Is it using simulated output or the analytical models (the default). The analytical models will definitely be inaccurate as they rely on calibration and closed form models.
Multiple banks has been temporarily disabled while we add other features. We welcome contributions to add this back.

Please consider joining the slack channel if you have more questions.


Loading from pretrained downloads tokenization resources even when provided

I'm attempting to load a Roberta model I pretrained with custom Byte-Pair Encodings. I am providing the merges.txt and vocab.json, as well as the dict.txt files in the data folder.
roberta = RobertaModel.from_pretrained(model_path, checkpoint_file='checkpoint_best.pt', data_name_or_path=data)

However, this line still attempts to download the BPE files from dl.fbaipublicfiles.com. As far as I can tell from the from_pretrained hub utils function, the provided files should override the need for the encoder.json and vocab.bpe files from dl.fbai.publicfiles.com.
Is this expected behaviour?
I have also tried moving the files to the model folder and renaming them to encoder.json and vocab.bpe
Environment

fairseq 1.0.0
pytorch 1.7.0
python 3.6

Can you try:
roberta = RobertaModel.from_pretrained(model_path, checkpoint_file='checkpoint_best.pt', data_name_or_path=data, bpe="hf_byte_bpe", bpe_vocab="vocab.json", bpe_merges="merges.txt")

Where "vocab.json" and "merges.txt" point to your custom versions.

bpe="hf_byte_bpe", bpe_vocab="vocab.json", bpe_merges="merges.txt"

That did the trick. Thank you :)


use html anchor element for all internal links

Problem
The mirror node explorer does not use the HTML anchor element for all internal links, it is used for example used to "Show associated contract" as can be seen here, however is not used in all the following:

Top Nav Bar
Each record in the "Recent Transactions" table for an Account or Contract

Solution
See abover
Alternatives
No response

Linked by mistake to PR #484 (which was in fact related to Issue #477).

I had meant to comment on this and forgot to do so...
Click on table entries is managed by the Oruga table component we use, so we do not have full control of that.
We tried to detect modifiers to allow the user to do Ctrl-click or Cmd-click to navigate in a new tab, but there is a bug/limitation in the Oruga component preventing us to do so.

@svienot I see, I don't really have much context, but do you think it would be a good idea to create an issue on the oruga repo and hopefully if it's resolved soon this functionality can be implemented on the explorer.

I just opened this issue in the Oruga repository:  Key Modifiers are not supported by OTable @click directive

Feel free to re-open (or open a new issue). However, beware that this won't be using regular anchor elements in tables, but instead catching modifier+click events to navigate to the details page in a new tab.

@svienot i don't think I have permissions to reopen.
Can you elaborate on the effective difference? So long as I can right click and open in new tab then that works for me.

I mean this would not be an HTML  element underneath, it would not highlight the link in the status bar, and you would not get the context menu you get usually with an anchor.
What you would get, is the ability to open the details page in a new tab by doing ctrl-click on windows or cmd-click on mac.

@svienot I see, is it impossible to make it an anchor element? I haven't worked with Vue, but in React at least in all the UI libraries I've worked with, it's straightforward to style a component(which by default is a div) as any other HTML element.

The issue is that we do not want here to replace each cell element by an anchor. This is a table component where we want to process click events on an entire row.

Could the same not be done on Hashscan?
We could. It is simply not the current design of the tables.
In almost all of the tables, clicking on the whole row triggers navigation to the details of the entity represented in that row.

@svienot Etherscan is consistent as far as I can tell no table has an entire row which is clickable. IMO that would be a good design choice for the tables on Hashscan as well, as all tables likely have at least 2 things that could be navigable.

With the changes brought by #642, which allow to navigate from a table to a details page in a new tab, the expected functionality is there.  We might in the future revisit our table design to replace the current Oruga-based navigation by anchors but not in the foreseeable future, so I am closing this issue for now.


I always get : An import map is added after module script load was triggered

Describe the bug
I created a blank index.html file and added a single snippet to dynamically load importmap
index.html
<script>
    let importMap = { };
    const script = document.createElement("script");
    script.type = "importmap";
    script.textContent = JSON.stringify(importMap);
     document.head .append(script);
  </script>

and served this file using vite
npx -y vite

but got this error
(index):12 An import map is added after module script load was triggered

I saw this issue but I'm not sure if it is relevant
Reproduction
.
Steps to reproduce
No response
System Info
OS: ubuntu 22
browser: brave v 1.65.122

Used Package Manager
npm
Logs
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

Duplicate of https://github.com/vitejs/vite/issues/15192


Show different error message for OOM

Instead of showing a generic error message, we should suggest
increasing memory when we crash due to an OutOfMemoryError.
DAFFODIL-1953

Wasn't really sure of a practical way to add a test for this case.  I did test it with the CLI tool by manually decreasing the memory available it it does work.


0.15.0 causes OSError: [Errno 8] Exec format error: in Docker for Windows

The new 0.15.0 does not run in Docker for Windows. Have not tried Docker on other platforms.
Minimal example with Flask.
app.py
from flask import Flask

app = Flask(__name__)

@app.route('/')
def hello_world():
    return 'Hello, world!'

if __name__ == '__main__':
    app.run(debug=True, host='<IP_ADDRESS>')

Dockerfile
FROM python:3-onbuild
COPY . /usr/src/app
CMD ["python", "app.py"]

requirements.txt
# Werkzeug==0.14.1
Flask

Run docker build -t flask_test . and then docker run flask_test.
Error in container:
λ docker run flask_test
 * Serving Flask app "app" (lazy loading)
 * Environment: production
   WARNING: Do not use the development server in a production environment.
   Use a production WSGI server instead.
 * Debug mode: on
 * Running on http://<IP_ADDRESS>:5000/ (Press CTRL+C to quit)
 * Restarting with stat
Traceback (most recent call last):
  File "app.py", line 11, in <module>
    app.run(debug=True, host='<IP_ADDRESS>')
  File "/usr/local/lib/python3.6/site-packages/flask/app.py", line 943, in run
    run_simple(host, port, self, **options)
  File "/usr/local/lib/python3.6/site-packages/werkzeug/serving.py", line 988, in run_simple
    run_with_reloader(inner, extra_files, reloader_interval, reloader_type)
  File "/usr/local/lib/python3.6/site-packages/werkzeug/_reloader.py", line 332, in run_with_reloader
    sys.exit(reloader.restart_with_reloader())
  File "/usr/local/lib/python3.6/site-packages/werkzeug/_reloader.py", line 176, in restart_with_reloader
    exit_code = subprocess.call(args, env=new_environ, close_fds=False)
  File "/usr/local/lib/python3.6/subprocess.py", line 267, in call
    with Popen(*popenargs, **kwargs) as p:
  File "/usr/local/lib/python3.6/subprocess.py", line 709, in __init__
    restore_signals, start_new_session)
  File "/usr/local/lib/python3.6/subprocess.py", line 1344, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
OSError: [Errno 8] Exec format error: '/usr/src/app/app.py

Uncomment the first line in requirements.txt and it runs properly after rebuild.

Hi same issue here. On Linux Centos 7.4 with python 3.6
This is caused by the changes in _get_args_for_reloading() in _reloading.py. I'll provide more info later.

With _get_args_for_reloading() yields, the following:
cwd() is /home/user/Projects/test/
With 0.14.1:
['/home/user/.virtualenvs/test-ChRUEUMK/bin/python', 'app.py']

With 0.15.0
['/home/user/Projects/test/app.py']

Prepending /home/user/.virtualenvs/test-ChRUEUMK/bin/python to the path does fix the issue.

@shinuza  check if app.py is executable, if yes - set chmod 644 app.py. Or second way, add shebang on the top of app.py like #!/usr/bin/env python

@shinuza there https://github.com/pallets/werkzeug/blob/0.15.x/src/werkzeug/_reloader.py#L90  lines 90-94 the "'/home/user/.virtualenvs/test-ChRUEUMK/bin/python'" was removed if app.py executable.
and OSError: [Errno 8] Exec format error: '/usr/src/app/app.py happened because app.py doesn't have shebang line (https://stackoverflow.com/questions/27606653/oserror-errno-8-exec-format-error)

@kamyanskiy I just figured this out reading the code but the error should be as cryptic as it is right now.

Also, if I explicitly run python app.py, then the subprocess should not make any assumption and change the way I run the application. i.e: working with a virtual machine with shared folder makes every files executable by default.

@shinuza I don't think its a critical bug, in other words its a bit stricter now than before. So I shouldn't have executable app.py without shebang, it doesn't make sense. And second I shouldn't run executable with shebang like "python app.py". But I agree, probably that was unexpected for you as for me :) To workaround just add shebang to your app.py, I hope this will help.

If you mark a script as executable, you should add a corresponding interpreter comment to the top. You can use a tool like pre-commit's check-executables-have-shebangs hook to enforce that.

As I said, I agree with the main logic here. I disagree with the way the error is dealt with as well as the fact that the error message is unintelligible unless you know the know the technical details or read the code. It should at least be documented in the changelog.

We have no control over the error message, that comes from Linux.

Making the file not executable works. The shebang line does not, for me. I get file not found errors, instead. That was the first thing I tried.
With #!/usr/bin/env python3:
λ docker run flask_test
 * Serving Flask app "app" (lazy loading)
 * Environment: production
   WARNING: Do not use the development server in a production environment.
   Use a production WSGI server instead.
 * Debug mode: on
 * Running on http://<IP_ADDRESS>:5000/ (Press CTRL+C to quit)
 * Restarting with stat
: No such file or directory

I also think making a change that works only on one Linux distribution but breaks the rest doesn't seem ideal.

@penner42  try #!/usr/bin/env python

Same result. The python3 symlink is there, and just running /usr/bin/env python3 or /usr/bin/env python from a shell works.

Use the flask run command.
FROM python:3.7-alpine
WORKDIR /app
ENV FLASK_ENV development
ENV FLASK_APP example
EXPOSE 5000
RUN ["pip", "install", "flask"]
CMD ["flask", "run", "-h", "<IP_ADDRESS>"]

docker run --rm -p 5000:5000 -v $(pwd):/app flask/example:latest

Did the tutorial at https://docs.docker.com/compose/gettingstarted/ ever work on Windows7 or is this recent change the cause why I see a similar error trying to run the example :
$ docker-compose up
Creating composetest_web_1   ... done
Creating composetest_redis_1 ... done
Attaching to composetest_web_1, composetest_redis_1
redis_1  | 1:C 27 Mar 2019 17:29:12.746 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
redis_1  | 1:C 27 Mar 2019 17:29:12.746 # Redis version=5.0.4, bits=64, commit=00000000, modified=0, pid=1, just started
redis_1  | 1:C 27 Mar 2019 17:29:12.747 # Warning: no config file specified, using the default config. In order to specify a config file use redis-ser
ver /path/to/redis.conf
redis_1  | 1:M 27 Mar 2019 17:29:12.757 * Running mode=standalone, port=6379.
redis_1  | 1:M 27 Mar 2019 17:29:12.757 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to th
e lower value of 128.
redis_1  | 1:M 27 Mar 2019 17:29:12.758 # Server initialized
redis_1  | 1:M 27 Mar 2019 17:29:12.758 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issu
e add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
web_1    |  * Serving Flask app "app" (lazy loading)
web_1    |  * Environment: production
web_1    |    WARNING: Do not use the development server in a production environment.
web_1    |    Use a production WSGI server instead.
web_1    |  * Debug mode: on
web_1    |  * Running on http://<IP_ADDRESS>:5000/ (Press CTRL+C to quit)
web_1    |  * Restarting with stat
web_1    | Traceback (most recent call last):
web_1    |   File "app.py", line 32, in
web_1    |     app.run(host="<IP_ADDRESS>", debug=True)
web_1    |   File "/usr/local/lib/python3.4/site-packages/flask/app.py", line 943, in run
web_1    |     run_simple(host, port, self, **options)
web_1    |   File "/usr/local/lib/python3.4/site-packages/werkzeug/serving.py", line 988, in run_simple
web_1    |     run_with_reloader(inner, extra_files, reloader_interval, reloader_type)
web_1    |   File "/usr/local/lib/python3.4/site-packages/werkzeug/_reloader.py", line 332, in run_with_reloader
web_1    |     sys.exit(reloader.restart_with_reloader())
web_1    |   File "/usr/local/lib/python3.4/site-packages/werkzeug/_reloader.py", line 176, in restart_with_reloader
web_1    |     exit_code = subprocess.call(args, env=new_environ, close_fds=False)
web_1    |   File "/usr/local/lib/python3.4/subprocess.py", line 534, in call
web_1    |     with Popen(*popenargs, **kwargs) as p:
web_1    |   File "/usr/local/lib/python3.4/subprocess.py", line 856, in init
web_1    |     restore_signals, start_new_session)
web_1    |   File "/usr/local/lib/python3.4/subprocess.py", line 1464, in _execute_child
web_1    |     raise child_exception_type(errno_num, err_msg)
web_1    | OSError: [Errno 8] Exec format error
composetest_web_1 exited with code 1

Did the same tutorial and found the same issue. This fixed it for me.
I added the following shebang to the top of my app.py script
#!/usr/local/bin/python3
Which then caused permission issues. I then added the following to my Dockerfile before the CMD
RUN chmod 644 app.py

Please anyone can update the tutorial (https://docs.docker.com/compose/gettingstarted/)
to add
RUN chmod 644 app.py

FWIW, just because there is a shebang line in a script (and it's got execute perms) should not prevent someone from running the script as an argument to a (differently-located)  interpreter.  The interpreter might be installed in a different location for a variety of reasons.  Perhaps the original Unix developers had a more flexible attitude back in the day.

Changes to Docker Compose tutorial proposed in https://github.com/docker/docker.github.io/pull/8609.

Fixed in Werkzeug 0.15.5.


tcp data transfer sample

Do you have a sample program: once the tun is started, listen on it and receive the connection, passing the data?
No examples were found, and no useful documentation was found.

tcpHandler


Updates

The article seems to be out of date.  The new client is available in GCC.

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

ID: 1d50c2e0-d6d3-ec3f-5e99-acaa2a6868d5
Version Independent ID: 1d50c2e0-d6d3-ec3f-5e99-acaa2a6868d5
Content: The new Microsoft Teams desktop client - Microsoft Teams
Content Source: Teams/new-teams-desktop-admin.md
Service: msteams
GitHub Login: @JoanneHendrickson
Microsoft Alias: jhendr

Hello @Vindicator007 Vin, how are you?
The adoption page still lists that cloud as coming later, are you a GCC customer and already see it available and you could use it?
Thanks

Hello @Vindicator007 Vin, how are you? The adoption page still lists that cloud as coming later, are you a GCC customer and already see it available and you could use it? Thanks

Yes, I'm a GCC customer and can use New Teams.

@Vindicator007  @get-itips
Hi all!  This article is being actively updated, including the dates about GCC, the public preview, etc.  The changes should be reflected by tomorrow.  Thanks.  Joanne

@JoanneHendrickson
Thank you! Closing this issue.


glfw: wglCreateContextAttribsARB failed: winapi error #3221692565

Ebitengine Version
lastest probabk=ly
Operating System

[X] Windows
[ ] macOS
[ ] Linux
[ ] FreeBSD
[ ] OpenBSD
[ ] Android
[ ] iOS
[ ] Nintendo Switch
[ ] PlayStation 5
[ ] Xbox
[ ] Web Browsers

Go Version (go version)
1.23.1
What steps will reproduce the problem?
running the command to confirm my enviroment
What is the expected result?

What happens instead?

Anything else you feel useful to add?
maybe my pc is just bad and old, i know it doesn't run the lastest version of opengl (opengl 4.0, idk my version but is probably 2 or 3), maybe is that the problem, but there isn't a way to make it run on a older version of webgl??

What version of windows are you using?

What version of windows are you using?

Windows 8.1, and I confirmed that I'm using opengl 2.1

Go itself no longer supports Windows 8.1. https://go.dev/wiki/Windows
Installing DirectX 11 might solve the issue.

i installed directx 11 and didn't work i'm going to try to install directx 12 and see if works

i couldn't find to install directx 12, so here is the screenshots

Could you try this command?
go run github.com/hajimehoshi/ebiten/v2/examples/windowsize@latest -graphicslibrary=directx

worked, thanks

just another question, every time i will run my game i will need to add -graphicslibrary=directx at the end, or there is some way of doing that automatically??

Thanks!

just another question, every time i will run my game i will need to add -graphicslibrary=directx at the end, or there is some way of doing that automatically??

Well, so the problem is, Ebitengine misunderstood that OpenGL was available in your machine but the actual it was not. I'll try to fix it by checking the OpenGL availability in a more strict way.

ok thanks

I found this required a lot of refactoring in order to fix the issue correctly... (Related: #2714)
Until I can fix this issue, could you set an environment variable EBITENGINE_GRAPHICS_DRIVER to directx, so that every Ebitengine game would work with DirectX by default? I'm sorry for inconvenience. See https://docs.google.com/document/d/1djz7cUKPP2UTtyQD-aBb5836wPkqBDSOZYPhgCtJHRU/edit?usp=sharing (In this document, opengl is set to use OpenGL, but of course set directx in your case.)

worked by default now

i very grateful for you responding to me, thanks


does this library support "append" method?

I need to concatenate two images, can i do it with this library?

Do you have the equivalent mogrify command-line command to demonstrate exactly what you are looking for?

Yes, sure. I need this:
convert +append left_input_image.jpeg right_input_image.jpeg result_image.jpeg
result_image.jpeg contains left_input_image.jpeg+right_input_image.jpeg

Hmm this library doesn't yet support multiple input images, nor have very good support for convert syntax in general (it's primarily for mogrify right now).
Your best bet is probably to use System.cmd, otherwise pull requests are welcome if you can think of a nice API to add the needed functionality to this library.

Ok, thx, i will use System.cmd


Error running hugo server

Hi Team,
I am working on running the local version of the repository and deploying the same although I am getting error while running the “hugo server” command. I have followed the steps below:

git clone --recurse-submodules https://github.com/jasonrandrews/arm-software-developers.git
npm install
Followed the installation guide and installed hugo, go, git vcs, postcss and nodejs
Run “hugo server” command
Hugo deploy

Currently I am getting the error below while running the hugo server command, please find below the logs:
ubuntu@ip-172-31-12-172:~/arm-software-developers$ hugo server

hugo: downloading modules …

go: downloading github.com/google/docsy v0.4.0

go: downloading github.com/google/docsy/dependencies v0.4.0

go: upgraded github.com/google/docsy/dependencies v0.2.0 => v0.4.0

hugo: collected modules in 14865 ms

Built in 2040 ms

Error: Error building site: EXECUTE-AS-TEMPLATE: failed to transform "json/offline-search-index.json" (application/json): failed to parse Resource "json/offline-search-index.json" as Template:: template: json/offline-search-index.json:5: unclosed action

Please share any pointers to resolve the same, do correct me if I missed anything here. Thanks in advance!

Hi,
Please confirm the Hugo version you are using. The default hugo version downloaded from the ubuntu package manager will have this error. You will need to download an extended release version as documented here https://www.docsy.dev/docs/get-started/docsy-as-module/installation-prerequisites/
For example: hugo version
hugo v0.101.0-466fa43c16709b4483689930a4f9ac8add5c9f66+extended linux/amd64 BuildDate=2022-06-16T07:09:16Z VendorInfo=gohugoio

@odidev, @pareenaverma perhaps an update to the instruction on this repo stating that the extended version of huge is needed would be a good idea. This way other people don't run into this issue.

Hi Julio,
Yes indeed I'll update the instructions - the extended version is mentioned in the Installation Pre-requisites link but I'll make a separate mention.
Couple of notes though: For content contribution you don't need to actually install/run Hugo. That's more for the website developers(our team). Content contributors only need to add the Learning Path and How-to content under the relevant content/en directory structure.
For ease of use we have created templates for these learning paths/how-to's if you don't want to create the markdown files from scratch. They are under https://github.com/jasonrandrews/arm-software-developers/tree/master/dev_templates
[https://opengraph.githubassets.com/308aa5078bb9e9eebcc764c77e98ac87832a4831e0497e2f2f96a99545f911ed/jasonrandrews/arm-software-developers]https://github.com/jasonrandrews/arm-software-developers/tree/master/dev_templates
arm-software-developers/dev_templates at master · jasonrandrews/arm-software-developershttps://github.com/jasonrandrews/arm-software-developers/tree/master/dev_templates
Contribute to jasonrandrews/arm-software-developers development by creating an account on GitHub.
github.com
Again, I can setup a quick call with you all to show you the files you need to modify/add if needed. Let me know
Thanks
Pareena

From: Julio Suarez @.>
Sent: Monday, August 29, 2022 10:45 PM
To: jasonrandrews/arm-software-developers @.>
Cc: Pareena Verma @.>; Mention @.>
Subject: Re: [jasonrandrews/arm-software-developers] Error running hugo server (Issue #6)
@odidevhttps://github.com/odidev, @pareenavermahttps://github.com/pareenaverma perhaps an update to the instruction on this repo stating that the extended version of huge is needed would be a good idea. This way other people don't run into this issue.
—
Reply to this email directly, view it on GitHubhttps://github.com/jasonrandrews/arm-software-developers/issues/6#issuecomment-1231077203, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AOISEMK7JM72GFAI5PK7QPDV3VYURANCNFSM57HW2WXQ.
You are receiving this because you were mentioned.Message ID: @.***>
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.


[Bug]: update rust version to 1.66.0 from 1.65.0

🐛 Bug
When someone attempts to install the move-cli with cargo install --path language/tools/move-cli , it will fail with package toml_edit v0.19.15 cannot be built because it requires rustc 1.66.0 or newer, while the currently active rustc version is 1.65.0
More context: I am following the move tutoriall
To reproduce

clone the repo
cd and then ./scripts/dev_setup.sh -ypt
cargo install --path language/tools/move-cli

Stack trace/error message
failed to compile `move-cli v0.1.0 (/Users/harshbajpai/Desktop/Projects/move/language/tools/move-cli)`, intermediate artifacts can be found at `/Users/harshbajpai/Desktop/Projects/move/target`

Caused by:
  package `toml_edit v0.19.15` cannot be built because it requires rustc 1.66.0 or newer, while the currently active rustc version is 1.65.0
  Either upgrade to rustc 1.66.0 or newer, or use
  cargo update -p<EMAIL_ADDRESS>--precise ver
  where `ver` is the latest version of `toml_edit` supporting rustc 1.65.0

Expected Behavior
The compilation should succeed.
System information
Please complete the following information:

Mac M2

Please see #1076

In the rust-toolchain file, change '1.65.0' to '1.67.0' before installing. It should work.

I also encountered this situation today，change 1.66.0 or newer is ok ,


create debug mode

example:

could also use logging?

https://stackoverflow.com/questions/1593274/how-do-i-check-if-the-python-debug-option-is-set-from-within-a-script

This could also replace -test

https://stackoverflow.com/questions/13352677/python-equivalent-for-ifdef-debug/

Can just use if len(sys.argv) > 1 and sys.argv[1] == "-test" instead of if debug


update message search filter  and contact match condition

Coverage increased (+0.01%) to 38.203% when pulling 4fef0c159685651d2d8301d2a0fd560bca526ddd on embbnux:bugfix/messages into a34d90a254e478ce2068dedb17cd8450889c5eb2 on ringcentral:master.


Use Xcode_10.2.1

brew doctor will return exit code 1 if using Xcode_10.2
==> brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!

Warning: Your Xcode (10.2) is outdated.
Please update to Xcode 10.2.1 (or delete it).
Xcode can be updated from the App Store.

==> FAILED

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.

[x] Have you successfully run brew tests with your changes locally?

Thanks so much for your contribution!  You rock, @el7cosmos !


Add support to have lower case properites via a config variable.

Summary
Allow column properties to be transformed to lower case via a configuration variable.
Type of change

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

Checklist

[x] Existing tests have been adapted and/or new tests have been added
[ ] Add a CHANGELOG.md entry
[ ] Update the README.md
[x] Code style has been fixed via composer fix-style

Please re-submit without any of the style changes
have you checked if it's possible using the new hooks? (https://github.com/barryvdh/laravel-ide-helper/pull/945 and https://github.com/barryvdh/laravel-ide-helper/pull/1198 )

I have reverted the style changes.
I have looked into the hooks but I cannot see a way to change the case of the column name, as the hooks seem to be for adding additional information.

Allow column properties to be transformed to lower case via a configuration variable.

What I don't understand so far: is this a technical or cosmetic change?
ide helper just provides convenient IDE assistance, what is the different on $model->COLUMN was $model->column in terms of functionality with oracle? Are both cases working equally?

It's a bit of both.
When using the https://github.com/yajra/laravel-oci8 library, it returns the properties lower case by default.
Although it can be overridden, I prefer the lower case properties.
So, $model->COLUMN works if I manually set the properties to upper case, and $model->column works when using the default.
The issue is for methods. If using the default of uppercase, calling wherePAGENUMBER($value) results in the error: ORA-00904: "P_A_G_E_N_U_M_B_E_R": invalid identifier
Where as if the property is lower case, as wherePageNumber($value), it works properly.
Please, let me know if you have any further questions.

So this config change only makes sense together with https://github.com/yajra/laravel-oci8 ?
Just so I get this correct
Using regular oci8:

$model->COLUMN works
$model->column does not
$model->whereCOLUMN does not
$model->whereFoo ??

Using laravel-oci8:

$model->COLUMN does not work
$model->column works
$model->whereCOLUMN does not (basically: this can never work due to the transformation as you pointed out C_O_…
$model->whereFoo works

Unrelated to this, I don't think this should be enabled by default. And since you mentioned Oracle explicitly in the config documentation, I think it's fair to mention laravel-oci8 , as it seems to be required anyway for a sane integration.
Is this correct so far?

Rebased and updated Changelog. I didn't find a good spot in the readme.


Create FUNDING.yml

Adds a "sponsor button" to the project.
No code has been changed

This is really cool, thanks!

I've learnt that you can have a default FUNDING file for all your repositories, so I've moved FUNDING.yml to there: https://github.com/yasirkula/.github/blob/master/.github/FUNDING.yml


Remove use of set-output

Updated the action to leverage the GitHub file (GITHUB_OUTPUT) in place of the deprecated set-output command

LGTM, thanks @fredgohsman 😊


Fix linting

Currently the linting does not fail is golint fails with error in stderr. This PR updates the linting script to fail in such cases too.

@aferr I confirmed that moving  experimental/auth-logic/main.go and experimental/auth-logic/top_level.go to experimental/auth-logic/cmd/ fixes the golint issue, but the build fails. BUILD and perhaps other things should be updated accordingly. I'll force-merge this now, and leave it to you to fix the structure :)


Add deploy timeout management to CLI

During otherwise successful builds of large projects on a contended cluster, we will occasionally hit:
-----> Creating release...
remote: Error deploying app release: timed out waiting for deployment completion
To https://git.qa-us-east-1.flynn.nexus.bazaarvoice.com/qa-seller-ratings-display.git
 ! [remote rejected] HEAD -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.qa-us-east-1.flynn.nexus.bazaarvoice.com/qa-seller-ratings-display.git'

Release will often show up as complete later, though it will not always be switched to, so this feels like an artificial timeout which should maybe be dropped.

@titanous This is increasingly blocking my developers, and they are complaining. Suggestions would be appreciated.

Looks like we should add a command the the CLI to manage this.

Hi @titanous
I'm also facing this deployment timeout quite often, my bundle has +/- 165MB and hangs about 5 times until I manage to do a clean deploy, is there any work around to increase this timeout ?
I've found in a old ticket this command, but I'm not sure if it will work:
flynn -a controller pg psql -- -c 'UPDATE apps SET deploy_timeout = 120'
120 is in ms ou seconds ?
Cheers.

@thomasmodeneis That command will still work. deploy_timeout is in seconds.

@josephglanville , setting it to 600 seconds made the trick :D
Thank you for the support.


creating a Circle approximated by a BezierCurve

I am struggling creating a BezierCurve. Could you give me an example how this is done?

Thank you for the question!
As far as I can tell Curve cells are relatively new in VTK and so there aren't many examples in the wild.
Though after digging through their documentation and examples, I discovered that you need a "RationalWeights" attribute for bezier curves. So something like the following should create a valid VTK file:
Vtk {
    version: Version { major: 4, minor: 2 },
    title: String::new(),
    byte_order: ByteOrder::BigEndian,
    file_path: None,
    data: DataSet::inline(UnstructuredGridPiece {
        points: IOBuffer::F64(vec![
            // coordinates of node 0
            0.0, 1.0, 0.0, // coordinates of node 1
            1.0, 0.0, 0.0, // coordinates of node 2
            1.0, 1.0, 0.0,
        ]),
        cells: Cells {
            cell_verts: VertexNumbers::Legacy {
                // Number of Bezier curves.
                num_cells: 1,
                // Vertices for each curve.
                vertices: vec![3, 0, 1, 2],
            },
            types: vec![CellType::BezierCurve],
        },
        data: Attributes {
            point: vec![Attribute::DataArray(DataArray {
                name: "RationalWeights".to_string(),
                elem: ElementType::Scalars {
                    num_comp: 1,
                    lookup_table: None,
                },
                data: vec![1.0f64, 1.0, 2.0f64.sqrt() / 2.0].into(),
            })],
            ..Default::default()
        },
    }),
}

For some references, there is a writeup about bezier curves used in VTK here and some example C++ code here which can be compiled and run to produce some .vtu examples. Here is one of a quadratic bezier generated by that code:
<?xml version="1.0"?>
<VTKFile type="UnstructuredGrid" version="0.1" byte_order="LittleEndian" header_type="UInt32" compressor="vtkZLibDataCompressor">
  <UnstructuredGrid>
    <Piece NumberOfPoints="3" NumberOfCells="1">
      <PointData RationalWeights="RationalWeights">
        <DataArray type="Float64" Name="RationalWeights" format="ascii" RangeMin="0.7071067811865476" RangeMax="1">
          1 1 0.7071067811865476
        </DataArray>
      </PointData>
      <CellData>
      </CellData>
      <Points>
        <DataArray type="Float32" Name="Points" NumberOfComponents="3" format="ascii" RangeMin="1" RangeMax="1.4142135623730951">
          0 1 0 1 0 0
          1 1 0
          <InformationKey name="L2_NORM_RANGE" location="vtkDataArray" length="2">
            <Value index="0">
              1
            </Value>
            <Value index="1">
              1.4142135624
            </Value>
          </InformationKey>
        </DataArray>
      </Points>
      <Cells>
        <DataArray type="Int64" Name="connectivity" format="ascii" RangeMin="0" RangeMax="2">
          0 1 2
        </DataArray>
        <DataArray type="Int64" Name="offsets" format="ascii" RangeMin="3" RangeMax="3">
          3
        </DataArray>
        <DataArray type="UInt8" Name="types" format="ascii" RangeMin="75" RangeMax="75">
          75
        </DataArray>
      </Cells>
    </Piece>
  </UnstructuredGrid>
</VTKFile>

It seems that these don't appear smooth in paraview though unfortunately. That may be a good question for the Kitware folks :)
Hope this helps and good luck!

It seems that these don't appear smooth in paraview though unfortunately. That may be a good question for the Kitware folks :)

Yeah this is not so obvious, but there's a way to make them "arbitrarily" smooth. You need to toggle on "Advanced Properties" for the object. Then you'll find an option called "Nonlinear Subdivision Level". This will basically recursively split the curve into more straight segment for rendering. With a sufficiently high enough value it renders as a reasonably smooth curve. Still a far cry from actual curved rendering, but it's much better than nothing :shrug:

Thank you. I will give it a try.
I have to realize that the documentation of VTK is quite rudimentary or hard to find (I am not talking about the doxygen documentation).
I am willing to start to provide examples for each CellType in this repository. If this is something wanted I would create an issue where we could discuss further details.

Thank you for the question! As far as I can tell Curve cells are relatively new in VTK and so there aren't many examples in the wild. Though after digging through their documentation and examples, I discovered that you need a "RationalWeights" attribute for bezier curves. So something like the following should create a valid VTK file:
Vtk {
    version: Version { major: 4, minor: 2 },
    title: String::new(),
    byte_order: ByteOrder::BigEndian,
    file_path: None,
    data: DataSet::inline(UnstructuredGridPiece {
        points: IOBuffer::F64(vec![
            // coordinates of node 0
            0.0, 1.0, 0.0, // coordinates of node 1
            1.0, 0.0, 0.0, // coordinates of node 2
            1.0, 1.0, 0.0,
        ]),
        cells: Cells {
            cell_verts: VertexNumbers::Legacy {
                // Number of Bezier curves.
                num_cells: 1,
                // Vertices for each curve.
                vertices: vec![3, 0, 1, 2],
            },
            types: vec![CellType::BezierCurve],
        },
        data: Attributes {
            point: vec![Attribute::DataArray(DataArray {
                name: "RationalWeights".to_string(),
                elem: ElementType::Scalars {
                    num_comp: 1,
                    lookup_table: None,
                },
                data: vec![1.0f64, 1.0, 2.0f64.sqrt() / 2.0].into(),
            })],
            ..Default::default()
        },
    }),
}

For some references, there is a writeup about bezier curves used in VTK here and some example C++ code here which can be compiled and run to produce some .vtu examples. Here is one of a quadratic bezier generated by that code:
<?xml version="1.0"?>
<VTKFile type="UnstructuredGrid" version="0.1" byte_order="LittleEndian" header_type="UInt32" compressor="vtkZLibDataCompressor">
  <UnstructuredGrid>
    <Piece NumberOfPoints="3" NumberOfCells="1">
      <PointData RationalWeights="RationalWeights">
        <DataArray type="Float64" Name="RationalWeights" format="ascii" RangeMin="0.7071067811865476" RangeMax="1">
          1 1 0.7071067811865476
        </DataArray>
      </PointData>
      <CellData>
      </CellData>
      <Points>
        <DataArray type="Float32" Name="Points" NumberOfComponents="3" format="ascii" RangeMin="1" RangeMax="1.4142135623730951">
          0 1 0 1 0 0
          1 1 0
          <InformationKey name="L2_NORM_RANGE" location="vtkDataArray" length="2">
            <Value index="0">
              1
            </Value>
            <Value index="1">
              1.4142135624
            </Value>
          </InformationKey>
        </DataArray>
      </Points>
      <Cells>
        <DataArray type="Int64" Name="connectivity" format="ascii" RangeMin="0" RangeMax="2">
          0 1 2
        </DataArray>
        <DataArray type="Int64" Name="offsets" format="ascii" RangeMin="3" RangeMax="3">
          3
        </DataArray>
        <DataArray type="UInt8" Name="types" format="ascii" RangeMin="75" RangeMax="75">
          75
        </DataArray>
      </Cells>
    </Piece>
  </UnstructuredGrid>
</VTKFile>

It seems that these don't appear smooth in paraview though unfortunately. That may be a good question for the Kitware folks :)
Hope this helps and good luck!

The CellType::Bezier* or CellType::Lagrange* are not documented on the official kitware documentation only on in the javascript version

It seems that these don't appear smooth in paraview though unfortunately. That may be a good question for the Kitware folks :)

Yeah this is not so obvious, but there's a way to make them "arbitrarily" smooth. You need to toggle on "Advanced Properties" for the object. Then you'll find an option called "Nonlinear Subdivision Level". This will basically recursively split the curve into more straight segments for rendering. With a sufficiently high enough value it renders as a reasonably smooth curve. Still a far cry from actual curved rendering, but it's much better than nothing 🤷

I read this aswell in the report but how can I add this "Advanced Propertie" is not described. Analysing the rust struct there is no data type AdvancedProperties or other clue. Or is it smth like this:
data: Attributes {
    point: vec![Attribute::DataArray(DataArray {
        name: "NonlinearSubdivsionLevel".to_string(),
        elem: ElementType::Scalars {
            num_comp: 1,
            lookup_table: None,
        },
        data: vec![10.0f64].into(),
    })],
    ..Default::default()
},

I read this aswell in the report but how can I add this "Advanced Propertie" is not described. Analysing the rust struct there is no data type AdvancedProperties or other clue.

Sorry, I was not clear. This is something you need to toggle in ParaView in order for it to subdivide your curve and render it with higher resolution than the default (which draws it as a linear segment). See attached picture below!

I read this aswell in the report but how can I add this "Advanced Propertie" is not described. Analysing the rust struct there is no data type AdvancedProperties or other clue.

Sorry, I was not clear. This is something you need to toggle in ParaView in order for it to subdivide your curve and render it with higher resolution than the default (which draws it as a linear segment). See attached picture below!

EDIT: The curve on the right here is the .vtu file that Egor provided above.

Ok. It works. So this is just a rendering option and can not be embeeded in the *.vtu

Yeah this is not so obvious, but there's a way to make them "arbitrarily" smooth. You need to toggle on "Advanced Properties" for the object. Then you'll find an option called "Nonlinear Subdivision Level". This will basically recursively split the curve into more straight segments for rendering. With a sufficiently high enough value it renders as a reasonably smooth curve. Still a far cry from actual curved rendering, but it's much better than nothing shrug

Thank you for that! I should read the docs I reference :P

Ok. It works. So this is just a rendering option and can not be embeeded in the *.vtu

Yes exactly.

I am willing to start to provide examples for each CellType in this repository. If this is something wanted I would create an issue where we could discuss further details.

I would love that, thank you! I agree that docs on this seem to be somewhat sparse, and it is not always clear from the C++ code how these files should be structured since the API is not as close to the file format as the Rust structs IMO. So I think this would be of great help!
Closing this since this particular question seems to be resolved.


Include web URL

Include the web URLs for the articles so users can follow through and read

Added web url to readme file


Load ltree XML in parallel

When we're loading XML for a 5.1 feed, we turn each tag into a map in path-and-values. Since each of these maps exists in isolation, we can insert chunks in parallel! For a large feed, this cuts the runtime of this step in the pipeline by about 1/3; our large XML files were taking 30-45 minutes, but this brings them down to a slightly more reasonable 10-15 minutes. The cost of doing inserts in parallel is CPU load as the connection pool jumps to 15 simultaneous connections.
Credit goes to @tank157 for this suggestion.

I think I understand what's happening with the changes to the validation/xml.clj--but what's happening with the other two files?

I think I understand what's happening with the changes to the validation/xml.clj--but what's happening with the other two files?

The stuff in dev-src is about exploring how different styles compare. I'm happy to remove it if you don't think it's relevant.

It's fine!  I just wanted to make sure I understood.


Microsoft.Powershell.SDK does not include "Microsoft.Powershell.ConsoleHost.dll" reference assembly

hey guys,
as par with #8121 , it seems like the Microsoft.Powershell.SDK nuget is missing the "Microsoft.Powershell.ConsoleHost.dll"reference assembly
Is this intended or should be fixed?
Thanks!

/cc @adityapatwardhan

@asrosent The console host was never intended to be part of the API. It was expected that host implementers would implement all of the host classes. That said, there are two aspects to the console host - the host itself and the set of services provided to the running script through $PSHost. The latter is definitely useful/reuseable by other console hosts even if the former is not. (We never really expected anyone would write another console host. Clearly we were wrong :-)  Interestingly, there are Win32 things that work in the console host that do not work in the PowerShell API:
 [powershell]::create().AddCommand("notepad").Invoke()

hangs where
notepad

does not. In practice there is a complex bit of logic (I know it's complex because i wrote it.) that the console host uses on Windows to detect when a GUI process should automatically go into the background. It would be nice if that logic was projected into the API.

@asrosent The console host was never intended to be part of the API.

What about ConsoleShell, StartTranscriptCommand and StopTranscriptCommand?

@SeeminglyScience
Back at the BOT (beginning of time), the console host implementation was not intended to be part of the API. In fact StartTranscriptCommand and StopTranscriptCommand are officially not APIs as they derive from PSCmdlet not Cmdlet.  But things evolve. For myself, I would love to see more of the console functionality exposed through the APIs. Now wrt the Std API. I believe it only contains things that are universal. But i don't really remember all that clearly. @JamesWTruher should be able to answer more authoritatively.


feat: Module Upgrade during blocking deletion

Description
Implements https://github.com/kyma-project/lifecycle-manager/pull/986/files plus fixes KLM behaviour.
Changes proposed in this pull request:

Enhances E2E Module Deletion test by upgrade scenario
Fixed the following:

If a module was stuck under deletion, got reenabled under different channel or new version, then got removed completely, the Module Default CR as well as Manifest CR was flickering between the states (Processing', Error, Ready and Deleting). The end result is the same: Everything got deleted, but it should not flicker between the states before.
The Describes behaviour was due to racing conditions.

Make sure to set the Manifest state to Deleting if the deletion timestamp has been set and if the Module default CR is under a deleting state or already has been removed.
Enhance e2e scenario to cover corner cases
Only add finalizer if Manifest is not under deletion in PostRunCreateCR
Fixed racing condition when Module is under deleting

Related issue(s)

In general, this PR should not adjust so many existing logic.

Took changes from https://github.com/kyma-project/lifecycle-manager/pull/998 to resolve commetns


doesnt solved

libraryDependencies += "org.reactivecouchbase" % "reactivecouchbase-core" % "0.4-SNAPSHOT"

this doesnt solved anymore () =>
error] (*:update) sbt.ResolveException: unresolved dependency:     org.reactivecouchbase#reactivecouchbase-core;0.4-SNAPSHOT: not found
java.lang.RuntimeException: Couldn't run:     ScopedKey(Scope(Select(ProjectRef(file:/Volumes/Work/Sources/happy-    tuesday/hydra-java/,root)),This,This,This),update)

Used to work, now it failed:
org.reactivecouchbase#reactivecouchbase-core_2.10;0.4-SNAPSHOT: not found
I followed mathieuancelin's instruction.


Removed package.json file

It contained bad license and version information.
Will be completely rewritten if we'll support mincer and bower.

:(


feat: adds a version map url setting

Adds ability to use custom version map url.
Why implement it?
I need this because many libs use mach version channel and won't compile with the latest.

I need to fix one bug before merging

No problem. I haven’t started looking at it yet. One thing, please make
sure your PR fits the new contributing guidelines at ./CONTRIBUTING.md.

I fixed the bug(details in commit).
I can also migrate -D=zls and install version to my plannedSkips, but I think this should be separate pr. But at the same time i don't want to separate the lines and make a separate pr(That is not worth the time). Also I am not fixing the zls for mach-latest or other names as there is a large rewrite and in separate pr incomming.

@tristanisham Did you remove this flag?


fix: make esbuild-deno-loader work with Deno 2

Fixes https://github.com/denoland/fresh/issues/2701
Fixes https://github.com/denoland/fresh/issues/2698

Thanks! @marvinhagemeister and @lucacasonato !


Vue snippets

Good snippets

Please see and follow https://github.com/vuejs/awesome-vue/blob/master/.github/contributing.md


pip-compile drops annotations when using --resolver=backtracking

Summary
pip-compile drops annotations when using --resolver=backtracking. Source requirements.in files are missing under the relevant via section. Which source file is missing is dependent on the order of the arguments.
Running the below tests with more files, it appears that only the first and last files are included in the annotations.
Environment Versions

OS Type: Linux 4.15.0-182-generic Ubuntu x86_64 GNU/Linux
Python version: $ python -V: Python 3.8.16
pip version: $ pip --version: pip 22.0.3 from python 3.8
pip-tools version: $ pip-compile --version: pip-compile, version 6.10.0

Steps to replicate

Create 3 requirements.in files with the same single requirement (a.in, b.in, and c.in). I used requests.

$ cat a.in
requests
$ cat b.in
requests
$ cat c.in
requests

Run pip-compile --resolver=legacy --output-file=legacy-requirements.txt a.in b.in c.in to generate the expected result
Run pip-compile --resolver=backtracking --output-file=backtracking-requirements.txt a.in b.in c.in to generate the first actual result
Run pip-compile --resolver=backtracking --output-file=backtracking-reorder-requirements.txt a.in c.in b.in to generate the second actual result

Expected result
Generated by Step 2, specifically the via section of requests. I expect that the annotations section would always contain every source for the relevant requirement.
#
# This file is autogenerated by pip-compile with python 3.8
# To update, run:
#
#    pip-compile --output-file=legacy-requirements.txt a.in b.in c.in
#
certifi==2022.12.7
    # via requests
charset-normalizer==3.1.0
    # via requests
idna==3.4
    # via requests
requests==2.28.2
    # via
    #   -r a.in
    #   -r b.in
    #   -r c.in
urllib3==1.26.15
    # via requests

First Actual result
Generated by Step 3, note b.in is missing from the via section of requests
#
# This file is autogenerated by pip-compile with python 3.8
# To update, run:
#
#    pip-compile --output-file=backtracking-requirements.txt --resolver=backtracking a.in b.in c.in
#
certifi==2022.12.7
    # via requests
charset-normalizer==3.1.0
    # via requests
idna==3.4
    # via requests
requests==2.28.2
    # via
    #   -r a.in
    #   -r c.in
urllib3==1.26.15
    # via requests

Second Actual Result
Generated by Step 4, note now c.in is missing from the via section of requests
#
# This file is autogenerated by pip-compile with python 3.8
# To update, run:
#
#    pip-compile --output-file=backtracking-reorder-requirements.txt --resolver=backtracking a.in b.in c.in
#
certifi==2022.12.7
    # via requests
charset-normalizer==3.1.0
    # via requests
idna==3.4
    # via requests
requests==2.29.0
    # via
    #   -r a.in
    #   -r b.in
urllib3==1.26.15
    # via requests

Thanks!
Reproduced also with the latest versions of Python, pip-tools, and pip.

Has the cause of this been determined? I've seen many a malformed lockfile entry due to this, and it seems like something that wouldn't require much new code, but I'm not familiar enough with this project to say for certain. I could be entirely misjudging it.
In any case, this seems like it should affect lots of users, so I'm surprised to see so little conversation here. If this becomes enough of a problem, I might try to learn how all this works and try to fix it myself, but I'm hopeful that someone is already working on this quietly?

@lpulley AFAIK, nobody's working on this. Feel free to pick this up if you'd like.


Install indexes

In lieu of restructuring in a point release, this tries to make the installation index page clearer
see https://trello.com/c/YhIMg4wf/50-unix-index-html-improvements

Looks good.

OMERO.server Mac OS X installation walk-through with Homebrew
OMERO.server installation on Ubuntu and Centos7
OMERO.server installation on Centos 6 with Python 2.7 and Ice 3.5

"...installation on OS X with Homebrew" ?

Good to merge now?

No objections from me (naturally). There was some suggestion today that the OS X page was more developer-focused. Not sure if that can/should impact the index.

I think quite a lot of the sysadmin content is only divided from developer content by a very fine line. The page is clearly defined at the top and where it is linked, I think that'll do for now.


Finishing up classses and functions

Finished up the Donations and Organizations classes.

All unit tests passes.
All checkstyle errors passed as well.

Results: [INFO]  [INFO] Tests run: 33, Failures: 0, Errors: 0, Skipped: 0 [INFO]  [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------

All good jason!

Sweet, thanks


Upgrade service bus SDK

Switch from using Microsoft.Azure.ServiceBus to Azure.Messaging.ServiceBus.

:white_check_mark: Build ServiceBusExplorer 5.1.0-UpgradeServiceBusSdk.8.build.751 completed (commit https://github.com/paolosalvatori/ServiceBusExplorer/commit/27da5eb688 by @ErikMogensen)

:white_check_mark: Build ServiceBusExplorer 5.1.0-UpgradeServiceBusSdk.8.build.751 completed (commit https://github.com/paolosalvatori/ServiceBusExplorer/commit/27da5eb688 by @ErikMogensen)

:white_check_mark: Build ServiceBusExplorer 5.1.0-UpgradeServiceBusSdk.9.build.753 completed (commit https://github.com/paolosalvatori/ServiceBusExplorer/commit/54136ce1f4 by @ErikMogensen)

:white_check_mark: Build ServiceBusExplorer 5.1.0-UpgradeServiceBusSdk.9.build.753 completed (commit https://github.com/paolosalvatori/ServiceBusExplorer/commit/54136ce1f4 by @ErikMogensen)

@ErikMogensen did you remove the Microsoft.Azure.ServiceBus everywhere, or just in some files? What about the HandleTopicControl for example?

@ErikMogensen did you remove the Microsoft.Azure.ServiceBus everywhere, or just in some files? What about the HandleTopicControl for example?

:white_check_mark: Build ServiceBusExplorer 5.1.0-UpgradeServiceBusSdk.12.build.756 completed (commit https://github.com/paolosalvatori/ServiceBusExplorer/commit/0c655bbaa6 by @ErikMogensen)

:white_check_mark: Build ServiceBusExplorer 5.1.0-UpgradeServiceBusSdk.12.build.756 completed (commit https://github.com/paolosalvatori/ServiceBusExplorer/commit/0c655bbaa6 by @ErikMogensen)

Yes, @paolosalvatori I removed Microsoft.Azure.ServiceBus everywhere. I dreaded a situation where we would have three Service bus SDKs. Removing the oldest SDK is quite a big task though since it is heavily used and there are message format incompatibilities including the WCF support.

Yes, @paolosalvatori I removed Microsoft.Azure.ServiceBus everywhere. I dreaded a situation where we would have three Service bus SDKs. Removing the oldest SDK is quite a big task though since it is heavily used and there are message format incompatibilities including the WCF support.

Does this mean that WCF format is no more supported? Just asking. At this point, we can also implement Azure AD authentication.

Does this mean that WCF format is no more supported? Just asking. At this point, we can also implement Azure AD authentication.

:white_check_mark: Build ServiceBusExplorer 5.1.0-UpgradeServiceBusSdk.14.build.760 completed (commit https://github.com/paolosalvatori/ServiceBusExplorer/commit/9634ee8bbf by @ErikMogensen)

:white_check_mark: Build ServiceBusExplorer 5.1.0-UpgradeServiceBusSdk.14.build.760 completed (commit https://github.com/paolosalvatori/ServiceBusExplorer/commit/9634ee8bbf by @ErikMogensen)

@paolosalvatori,  as I understand it WCF is not supported by the latest SDK. However, it is still supported in the current version of SBE since almost all Service Bus code in it is still using the oldest SDK.

@paolosalvatori,  as I understand it WCF is not supported by the latest SDK. However, it is still supported in the current version of SBE since almost all Service Bus code in it is still using the oldest SDK.

Also @paolosalvatori , I think you'll have to approve this one again since I made some minor changes.

Also @paolosalvatori , I think you'll have to approve this one again since I made some minor changes.

No worries, as I said in another comment I don't think there's no one out there that still uses WCF. We can remove WCF support from SBE eventually.

No worries, as I said in another comment I don't think there's no one out there that still uses WCF. We can remove WCF support from SBE eventually.


trying to set bEnableInvaderEnemy=False

Have you read the Important information text above

[X] Yes i did

Describe the feature
i'm trying without sucess to set bEnableInvaderEnemy=False like a solution to memory leak.
Additional information

[ ] Would you be willing to help implement this feature?

Final checks

[X] I understand that this is a feature request function. I also unterstand that if i use this to report a bug report, that my issue might be un-answered closed.

Hey @RSerejo set ENABLE_INVADER_ENEMY=false and next time create a bug-issue or you will not receive help.
Closed of wrong issue type


File Quarantine

This isn't at fault of the devs but whenever I try to run it, the file gets quarantined.
Are there any solutions to this?

you take it out of quarantine. this is not a question for openutau, but for antiviruses.


Update: Make CARLA faster in a docker container

Description

Fixes #
Where has this been tested?

Platform(s): ...
Python version(s): ...
Unreal Engine version(s): ...

Possible Drawbacks

This change is

@bernatx could you make a quick review of this? I need it in.


Part-4: Working E2E Quickstart for Time Series Engine

Last PR to get us to a working Quickstart state. The PRs after this will be much smaller. Explaining the changes at a high-level below:
Adds a Prometheus Like Pinot Broker HTTP API
Adds two new APIs to the broker: 1 for range queries and 1 for instant-vector queries. The API is Prometheus Compatible, except that the top-level path is prefixed with timeseries/api.
Changes to Receive a Time Series Query Request in Broker and Send to Server
After the broker receives the query, we use the new TimeSeriesRequestHandler, which uses the pinot-timeseries-planner module's TimeSeriesQueryEnvironment to plan the query. The plan is finally dispatched via the QueryDispatcher. The implementation mimics the MSE very closely, but of course the exact details are quite different.
Code Duplication: I had to create the dispatch related classes again: AsyndTimeSeriesDispatchClient and the like; ideally we should just use their MSE equivalents but that will require us to consolidate more stuff and I plan to take it up as part of phase-2.
Executing Received Plan in Server
Once the plan is received in the server, we:

Deserialize the plan and compile the plan-tree to an operator-tree
Run the operator tree in QueryRunner's ExecutorService. The same executor service is used by OpChainSchedulerService as well.

Converting ScanFilterAndProject to TimeSeriesPhysicalTableScan
This is done as part of the plan compilation in the server, because we need to generate the LeafTimeSeriesOperator, which is a pinot-query-runtime construct, and ScanFilterAndProject only has a dependency to pinot-spi.
Dummy M3QL Implementation
For now I have added a dummy M3QL implementation so we can play with the Quickstart.
Instructions for Starting Quickstart
You can start the "TIME_SERIES" quick start, wait a minute or so for some data to be populated, and then run:
➜  ~ cat script.py
import requests
import time
import urllib

with open('query.txt', 'r') as of:
    query = of.read()
    request = {
            'language': 'm3ql',
            'start': int(time.time()),
            'end': int(time.time()) + 3600,
            'query': query
    }
    query_params = urllib.urlencode(request)
    resp = requests.get('http://localhost:8000/timeseries/api/v1/query_range?' + query_params)
    print(resp.text)

➜  ~ cat query.txt
fetch{table="meetupRsvp_REALTIME",filter="",ts_column="__metadata$recordTimestamp",ts_unit="MILLISECONDS",value="1"}
  | max{group_city}
  | transformNull{0}
  | keepLastValue{}

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 0.00%. Comparing base (59551e4) to head (2392a5c).
Report is 1067 commits behind head on master.

:exclamation:  There is a different number of reports uploaded between BASE (59551e4) and HEAD (2392a5c). Click for more details.
HEAD has 48 uploads less than BASE

Flag
BASE (59551e4)
HEAD (2392a5c)

integration
7
2

integration2
3
2

temurin
12
2

java-21
7
2

skip-bytebuffers-true
3
1

skip-bytebuffers-false
7
1

unittests
5
0

unittests1
2
0

java-11
5
0

unittests2
3
0

integration1
2
0

custom-integration1
2
0

Additional details and impacted files
@@              Coverage Diff              @@
##             master   #14048       +/-   ##
=============================================
- Coverage     61.75%    0.00%   -61.76%
=============================================
  Files          2436        3     -2433
  Lines        133233        6   -133227
  Branches      20636        0    -20636
=============================================
- Hits          82274        0    -82274
+ Misses        44911        6    -44905
+ Partials       6048        0     -6048

Flag
Coverage Δ

custom-integration1
?

integration
0.00% <ø> (-0.01%)
:arrow_down:

integration1
?

integration2
0.00% <ø> (ø)

java-11
?

java-21
0.00% <ø> (-61.63%)
:arrow_down:

skip-bytebuffers-false
0.00% <ø> (-61.75%)
:arrow_down:

skip-bytebuffers-true
0.00% <ø> (-27.73%)
:arrow_down:

temurin
0.00% <ø> (-61.76%)
:arrow_down:

unittests
?

unittests1
?

unittests2
?

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

test https://github.com/apache/pinot/actions/runs/10973640885/job/30479986608?pr=14048 is failing though it does not look to be related.


Notebooks: fix save as csv/excel/json/xml

This PR fixes

https://github.com/microsoft/azuredatastudio/issues/14881 (caused by getEncoding check being added here https://github.com/microsoft/azuredatastudio/pull/14533/files)
https://github.com/microsoft/azuredatastudio/issues/14867

Pull Request Test Coverage Report for Build 690332729

2 of 4 (50.0%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.002%) to 43.269%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/sql/workbench/contrib/notebook/browser/models/fileNotebookInput.ts
0
1
0.0%

src/sql/workbench/contrib/notebook/browser/models/untitledNotebookInput.ts
0
1
0.0%

Totals

Change from base Build 688332812:
0.002%

Covered Lines:
25473

Relevant Lines:
53713

💛  - Coveralls

Does it show the encoding prompt now?
And I realize now that https://github.com/microsoft/azuredatastudio/pull/14533/files still isn't safe - it's just blindly assuming that :

The active editor pane is a QueryEditor
The editor input is a UntitledQueryEditorInput (or at least implements the getEncoding function)

So I think in addition to the changes you've made you should also update that code to only show the notification if getEncoding is defined :
		const activeEditor = this.editorService.activeEditorPane as unknown as IEncodingSupport;
		if (typeof activeEditor.getEncoding === 'function' && activeEditor.getEncoding() !== 'utf8') {

It's not pretty but it'll do for our use case.

@kburtram @smartguest FYI


OpenAI  transcriptions api language field is invalid !

Because no value is assigned when it is converted to form data

This is released in v0.18.3. Thank you for contributions!


Request to add our AISTATS 2023 paper

Hi Xin,
Thanks for your effort to maintain this repository!
Recently, we have a new paper for unsupervised domain adaptation Global-Local Regularization Via Distributional Robustness that has been accepted at the International Conference on Artificial Intelligence and Statistics (AISTATS 2023). Official release source code (Pytorch) could be found here.
We think it might be suitable for Optimal Transport-based DA or Domain generalization.
Thanks in advance and best regards,
Hoang Phan

Very impressive and solid work! I have added your work into the list.


Feature Request : support the db config instead of .env while the core is initialzed

name: Feature Request
about: It would be a great thing if, the core initializator take custom config instead those of env or app

Describe the bug
I used to use the db table settings as the main for the core initializator, to avoid editing  Config/App.php every time i change the server or domain or any other extra-param that I need to use on runtime .
Usine a base controller is fine a bit, but the baseURL is not overwrite because the \CodeIgniter initializator take as params the Config\App before any initialization of other dependencies including DB instance.
CodeIgniter 4 version
All
Affected module(s)
CodeIgniter Initializator
Expected behavior, and steps to reproduce if appropriate
autoloading some custom db table configs to overwrite the app before any other dependencies that can be used globaly
Context

OS: Win/Linux
Apache/Nginx
PHP version : 7x

I'm confused on what exactly you're wanting to do. The .env file seems to solve what you're asking for. Could yo provide more concrete details?

that would be an awesome feature 👍
His point is to use database stored configuration - like all App.php variables loaded from database instead of local file
-> makes multiple configuration/installation much easier.

@puschie286 explained exactly what I want to say due to my bad English ^^
I used to put the settings,administrator, user ...etc  object as a global variable which I can access every where using a helper, this feature is suportted but not avalaible untill the core is initialzed.
What I want is to use the my database settings instead of the file .env or App.php configs for the initializer of the CodeIgniter
the main problem is that the baseURL is not altered by my app settings stored in db, which urge me always to edit that file everytime i changed the domain or the machine.

That's something we can look into, and I can see it being handy to provide some other type of method for that. However, we're not doing any new features at the moment, so this will have to be looked at after 4.0 final for a 4.1 release.

@puschie286 Yes, we drink from the same mug ^^
@lonnieezell thank you ^^

While I think this could be a nice feature, I am not convinced it needs to be part of the core. I've implemented something like this in the past for CI3 and it's fairly trivial to do. Seems like a good target for a third-party library. It's also something I've tossed around doing as a semi-official addon, but haven't had a chance just yet.


Migrate from github repo to openshift mirror

Use openshift official mirror with all the versions. Clean the Dockerfile. Add Image build infos to build the personal needed version with only one ARG.

Thank you! I had to fix the ARG command in Dockerfile, as multi-line ARG command is no longer supported. Automated build will push tags v4.2 and v4.5 to docker hub.


WIP Remove running 'AutoCorrect' automatically on background and assign it to IDEA action

In this PR I removed automatically running 'AutoCorrect' feature on background because it causes issues (see #53, #21)
I also removed option "Auto correct" it from the configuration window in settings

Added IDEA action "AutoCorrect by Detekt Rules" which is accessible in the Right-Click Menu -> "Refactor" -> "AutoCorrect by Detekt Rules" only for Kotlin files and when the plugin is enabled.

Needs work. Found that plugin doesn't work on my other computer.

Found that Auto Correct feature doesn't work for my configuration when checkbox 'Fail fast' or 'Build upon the default configuration' are unchecked for my custom configuration.
I think it is correct behavior because my configuration, which I used for testing, didn't have rules for formatting.


Trust: Can't debug extension right after trusting the folder

Testing #122252

Scaffold a new extension using yo code
Open that extension in VS Code
Choose to trust that folder
Hit F5 to start debugging

🐛 Debug fails to start with the following error:

Once the window is reloaded, everything just works.

Assigning to April so we investigate into this tomorrow.

This just works for me in latest VS Code insiders.
Here are my steps:

VS Code insiders open starter extension sample
Dialog pops up -> you say trust it
Click on start debugging in debug view-> all works

Even if in the dialog I say "do not trust it" and later grant trust via trust editor this works
@joamoreno can you repro with todays insiders? Are you doing something different than me?

I can repro yes. I am in WSL, that might affect it.

@sbatten @lszomoru might it be that the Trust does not flow from the remote somehow? Did you get similar issues from other remote users?

@isidorn, sorry for the delay. I will investigate this issue today.

I had a look and based on my tests this is not specific to WSL. Debugging the issue now and will circle back with my findings.

This has been fixed, as part of some work that I have done around extension enablement.

@lszomoru thanks a lot!


update cocoapods?

Could you update telegraph on cocoapods?

Yes, I'll probably release a new version this weekend.
I need a bit of time to work out the changelog.
This new version has a few deprecations / big changes.

good

@RockyF Version 0.18 has been released!  🎉
Please note that CocoaPods 1.5.3 has issues with Xcode 10.
You can use the CocoaPods beta if you like: gem install cocoapods --pre
Another workaround (without installing the beta) is to patch the shell scripts in your solution.
This is what I do with the Telegraph demo project, see commit https://github.com/Building42/Telegraph/commit/d6e222f719c4af3c0ecfaad36449d5ed4c21a453

@Zyphrax got it


Basic for parsing/interpreting

Resolved #31
Also implements iter on Dict and List
added main handling on interpreter
Added enumerate global function
Added items function on Dict
tests also check real python

Thanks a lot! Most of the work seems good, especially in the Interpreter class.
The parser will probably require some changes, as I think we should reuse parse_expression() for the parsing of the targets here.
Consider this example from Python's AST:
$ python -m ast <<<'for i in x in y in z: ...'
Module(
   body=[
      For(
         target=Name(id='i', ctx=Store()),
         iter=Compare(
            left=Name(id='x', ctx=Load()),
            ops=[
               In(),
               In()],
            comparators=[
               Name(id='y', ctx=Load()),
               Name(id='z', ctx=Load())]),
         body=[
            Expr(
               value=Constant(value=Ellipsis))],
         orelse=[])],
   type_ignores=[])

This seems to show that we can stop at the first in statement for the target, right?
Well, unfortunately that's not the case, for example, if there are commas after that sub-expression:
$ python -m ast <<<'for i in x, j in y in z: ...'
Module(
   body=[
      For(
         target=Name(id='i', ctx=Store()),
         iter=Tuple(
            elts=[
               Name(id='x', ctx=Load()),
               Compare(
                  left=Name(id='j', ctx=Load()),
                  ops=[
                     In(),
                     In()],
                  comparators=[
                     Name(id='y', ctx=Load()),
                     Name(id='z', ctx=Load())])],
            ctx=Load()),
         body=[
            Expr(
               value=Constant(value=Ellipsis))],
         orelse=[])],
   type_ignores=[])

Here, i in x, j became the target and y, z became the iterable.
Doing this correctly will require some more looking into how Python's actual grammar works.

I did experiment with multiple expressions separated by comma after the in. I think that already works.
The extra ins are comparisson operators or am I missing something :-)

You're right, I confused myself.
Making some small changes to the code...

I think I also forgot to add the 'range' function

I made some adjustments:

Since we don't have a Generator type yet, Items and Enumerate will return a List instead. Unfortunate but it is how it is for now.
The parser was mostly good! I just made sure that iterable and target were always a Node, instead of a list of Nodes
Added a parser test to ensure we parse for loops properly.

Please feel free to add a range class as well.

The parser was mostly good! I just made sure that iterable and target were always a Node, instead of a list of Nodes

I think they can have multiple. There are examples in the tests:
This one has two targets
for k,w in dct.item():
    print(k,w)

This one has two targets
for k,w in dct.item():
    print(k,w)

@Jacco In this case target will be a Tuple, check parser_test.py changes.

I'll merge this PR soon, you can add a range function in a separate one.


could support typescript?

could give the templates to support typescript?
like nexttron with-typescript, with-typescript-xxx
https://github.com/saltyshiomix/nextron/tree/master/examples

Hi @agrozyme !
I'm currently working on with-javascript*, so typescript support takes much more time, sorry.
You can extend with-javascript example with https://github.com/nuxt/nuxt.js/tree/dev/examples/typescript :)

OK, I create a pull request
https://github.com/saltyshiomix/nuxtron/pull/4

@agrozyme
Thank you for your PR!
I just merged #4 👍

@saltyshiomix
I create a PR for support<EMAIL_ADDRESS>https://github.com/saltyshiomix/nuxtron/pull/21


Climate SmartIT Broadlink example is out of date

The example text on the SmartIR documentation is out of date:
SmartIR/docs/CLIMATE.md
The line that currently reads
    controller_send_service: switch.broadlink_send_packet_192_168_10_10
should be updated to:
    controller_data: <IP_ADDRESS>

The link isn't point to current master branch

Thanks, not sure why I was finding that link, confirmed that the master is up to date, closing


Fixed Lag / Memory Leaks

Score text updating was changed in the newest update but I reverted the change and the lag stopped.

idk if u know this
flixel updates the text bitmaps after it updates the states and stuff


Update README

The README needs updating to reflect the recent codebase changes especially in regards to the running locally section.
See https://github.com/LukePrior/nbn-upgrade-map/issues/34#issuecomment-1558447907

Maybe there is a better way to enable local viewing?  Maybe a version of the HTML that uses relative path (not absolute url) the run it in a local docker container to avoid the CORS stuff?
# remove hardcoded URL prefix
sed -i 's#https://raw.githubusercontent.com/LukePrior/nbn-upgrade-map/main/##' index.html

# run local webserver exposing .
docker run -it --rm -d -p 8080:80 -v .:/usr/share/nginx/html --name web nginx

Maybe also mention a little bit of detail about how suburbs are selected and processed, so people will understand the update-cycle.  TOTAL: 130 / 1543  (8.4%)

I think README is good enough now

Agreed


[BUG] variable reassignment issue

Description
Change 'let' to 'const' due to event not being reassigned again. It would better for the line of code to become a constant.

Screenshots
No response
Additional information
No response
🥦 Browser
Google Chrome
👀 Have you checked if this issue has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Contributing Guidelines?

[X] I have read and understood the rules in the Contributing Guidelines

Are you willing to work on this issue ?
Yes I am willing to submit a PR!

I can't assign you to more than one issue at a time, until the other one has a PR to it, this is open for others to work on.

Hello:) Can you assign me?

Hello:) Can you assign me?

Definitely, thanks for wanting to contribute, Make sure you follow the rules 👉🏽here👈🏽, else your PR will not be accepted and will be closed.
Good Luck

Hello:) Can you assign me?

Definitely, thanks for wanting to contribute, Make sure you follow the rules 👉🏽here👈🏽, else your PR will not be accepted and will be closed. Good Luck

Thanks you:)
I have completed it


Add license field to opam package definition file

Without this field, newer versions of opam will print out the following warning when running make opam-deps:

[WARNING] Failed checks on tlapm package definition from source at
git+file:///mnt/data/ahelwer/src/tlaplus/proofs#main:
warning 68: Missing field 'license'

This tiny change fixes that warning by adding the SPDX short form of the repo's license to the tlapm.opam file.

This change specified "License: 2-clause BSD", but the README.md mentions

License: 2-clause BSD, portions under LGPL2.1+LE (see file LICENSE for details)

I checked the https://github.com/tlaplus/tlapm/blob/main/LICENSE, it matches https://opensource.org/license/bsd-2-clause. No exceptions mentioning LGPL are there. Maybe README.md should be updated as well?
@muenchnerkindl, @damiendoligez, maybe you remember why LGPL is mentioned here?

My guess would be that the `translate' utility (related to the LS4 decision procedure for propositional temporal logic) might originally have been under LGPL, but the README says that the author agreed to let us use it under BSD.
@damiendoligez Do you remember?


Kill dead watch_socket.js and gogo-shell code (v9)

Same as https://github.com/liferay/liferay-js-themes-toolkit/pull/211 but cherry-picked onto the "master" (v9) branch.

As this is basically identical to #211, going to merge it. Hopefully this is last (or one of the last) changes that will need to be applied in both places, because from now on pretty much all the action should happen on master, apart from cutting the v8.0.0-rc.4 release on the 8.x/8.x-stable branches.


Network Connection Permissions

For each network connection (Ethereum, IPFS, etc), allow the user to set permissions on each connection, and also override those network options on a per-API basis. For example, give Ethereum full permissions, but for "protocol Foo" give it only read permissions.
In order to enforce this, when instantiating a new Web3API module we'll need to check what permissions that module requires. If they can't be satisfied, we'll have to throw an exception. Being able to query modules for their required permissions is useful so that we can ask the user before-hand if they consent.
Some psuedo code:
const ipfs = new IPFS({
  access: IPFSAccess.ReadAndWrite | IPFSAccess.Pin,
  provider: "..."
})

const api = new Web3API({
  uri: "api.protocol.eth",
  connections: {
    ipfs
  },
  access: {
    ipfs: IPFSAccess.Read
  }
})

This can be done through enabling Mutations, or Query only. Since the network access to nodes will be invoked through GraphQL, if Mutations are disabled, no write operations will be able to take place.


babel-polyfill 6 conflicts with babel 7

Why do you need to import babel-polyfill in client version? May be keep it only when nessesary (old browsers) on application side?

Sorry closing this issue. If you want me to answer it properly please stick to the rules in the issue template


 doesn't work in the latest release

Steps to reproduce
I tried keyboard completion with <C-n>.
It didn't work, while <C-p> worked well as usual.
Expected behaviour
Keyword completion must work.
<C-n>

<C-p>

Version of Vim
9.1.368
Environment
Operating System: macOS Catalina 10.15.7
Terminal: iTerm2
Shell: zsh
Logs and stack traces
No response

Cannot reproduce in version 9.1.369 (macOS 14.3.1 / iTerm2 / zsh).

What is the result of :verbose imap <C-n>?
Is this bug still there if run vim with vim -Nu NONE and then press <C-n> in insert mode?

No bug occurred in other file types but in markdown..

please try vim --clean and answer the other questions asked.

closing for no activity


SlideConfig Bug

I'm submitting a...

[*] Bug report
[* ] Feature request

I do not know if it is a Bug or Feature Request but I am sure you can find it out,

Current behavior

Use [slideConfig]="{infinite: true, sidePreviews: {show: false}}, I can see the next and Previous Image Buttons when there is only one Image in Gallery.
Expected behavior

Next and Previous Button in case one Image in Gallery are hidden,
What is the motivation / use case for changing the behavior?

Hide the Button when they don't have any functionality.
Environment (the most important section to fill very carefully)

- Node version: v8.11.3
- npm version: 5.6.0
- Operating System and version:  < Windows 10>
- Angular version: 6.1
- angular-cli version (or SystemJS/Webpack):  6.0.8
- I'm using Server Side Rendering with angular-universal: YES
- I'm compiling with mode: DEBUG

Browser:
- [*] Chrome (desktop) version 68.0.3440.106
- [* ] Firefox version 61.0.2

you are right. This issue is caused by 'infinite: true' with only one image. I'll fix it.
Do you need a quick fix? Or can I add it directly to version 7.0.0?

when you can provide a quick fix, it will be great because it should be done next monday.
Thanks for quick response.

6.2.1 released with a fix. Feel free to re-open if you find this issue again


WLED duplicate names in effects_list

Home Assistant release with the issue: 0.103.5
Last working Home Assistant release (if known): N/A
Integration: WLED
Description of problem:
Some WLED effects use the same name. Resulting in the same value provided in the effects lists. and therefore unable to choose desired effect with service call.

Chase (13)
Chase (28)
Chase Rainbow (14)
Chase Rainbow (30)

Additional information:
WLED Firmware 0.8.4
effect_list: Android,BPM,Blink,Blink Rainbow,Breathe,Chase,Chase,Chase Flash,Chase Flash Rnd,Chase Rainbow,Chase Rainbow,Chase Random,Circus,Colorful,Colorloop,Colortwinkle,Colorwaves,Dark Sparkle,Dissolve,Dissolve Rnd,Dual Scan,Dual Scanner,Dynamic,Fade,Fill Noise,Fire 2012,Fire Flicker,Fireworks,Gradient,Halloween,ICU,In In,In Out,Juggle,Lake,Lighthouse,Lightning,Loading,Mega Strobe,Merry Christmas,Meteor,Multi Comet,Noise 1,Noise 2,Noise 3,Noise 4,Oscillate,Out In,Out Out,Palette,Pride 2015,Railway,Rain,Rainbow,Rainbow Runner,Random Colors,Red & Blue,Ripple,Running,Running 2,Saw,Scan,Scanner,Smooth Meteor,Solid,Sparkle,Sparkle+,Stream,Stream 2,Strobe,Strobe Rainbow,Sweep,Sweep Random,Traffic Light,Tri Chase,Tri Fade,Tri Wipe,Twinkle,Twinklefox,Wipe,Wipe Random

Home Assistant lists the effects of WLED and does not have a list of those itself. The duplicate effects are in WLED, not Home Assistant.
As reported and confirmed right here: https://github.com/Aircoookie/WLED/issues/294
It should be fixed in upcoming versions of the WLED firmware.

@ochlocracy we should filter out duplicate names when we sent it to Alexa, as there might always be an entity with bad data, and those should not be allowed to break Alexa.

@ochlocracy we should filter out duplicate names when we sent it to Alexa, as there might always be an entity with bad data, and those should not be allowed to break Alexa.

Noted. 👍


Add content-schemas for financial-release sucess and error pages

Success page renders when email address successfully submitted to register interest in campaign
Error page renders when any country other than the UK selected on geoblocker page

I wonder if the not-permitted page needs its own format. It could easily fit within the geoblock format, just leaving out the footer legal thing when published


Unable to append Component Code Editor to a container DIV

Hi there,
I'm trying to integrate the component-code-editor plugin in my grapes-based app but I can't get it to be displayed.
This is my relevant js code:
// (...)
    plugins: ['grapesjs-component-code-editor'],
    pluginsOpts: {
        'grapesjs-component-code-editor': { appendTo:'#componentCodeEditor' },
// (...)

The intended container target is just a div in my page html:

And I'm loading the plugin like this:
<link href="https://unpkg.com/grapesjs-component-code-editor/dist/grapesjs-component-code-editor.min.css" rel="stylesheet">

I don't have any other additional code related to integrating/using this plugin besides this.
Am I missing anything? Maybe I need to call some function or command to get it displayed?
Thank you

@protozoo I had the same problem, for some reason changing this
// (...)
    plugins: ['grapesjs-component-code-editor'],
    pluginsOpts: {
        'grapesjs-component-code-editor': { appendTo:'#componentCodeEditor' },
// (...)

to this
// (...)
    plugins: [
        editor => componentCodeEditor(
          editor,
          {
            appendTo: '#componentCodeEditor'
          }
   ]
// (...)

fixed it for me.

I finally went another route but thanks anyway!


Provide solution to binary search

Done with providing a solution to binary search please approve it @Kushal997-das

solved #371


dotnet-install.sh, Raspbian Pi Zero W, tries to install amd64 instead of arm (32-bit)

Environment:
Raspberry Pi Zero W
Linux raspberrypi 4.19.75+ #1270 Tue Sep 24 18:38:54 BST 2019 armv6l GNU/Linux
Steps:
Download dotnet-install.sh & bash without any parameters
Expected behaviour:
dotnet-install.sh downloads latest .NET Core 3, ARM 32-bit architecture, and installs
Actual behaviour:
Downloads .NET Core 2.1 AMD64.
Symptoms:
I suspect the script fails to recognise armv61 as 32-bit ARM architecture, and subsequently fails to identify correct architecture and latest release versions available.

Ignore - just found the docs explaining .NET Core doesn't work on Pi Zero due to needing armv71 instructions.


ELECTRON window starts on top of MM window after clean install!

Hi.
Firstly, thanks for awesome programming!
Now, I have followed this tutorial EXACTLY:
https://howchoo.com/g/ntcymzbimjv/how-to-install-magic-mirror-on-your-raspberry-pi exactly.
 So I have to go on to my pi gui and minimize it.
If I try to close it another new "Electron window" pops up on top.
:(
I'm using the Raspberry Pi 3 B+.
How can I get rid of the "electron window"???
Kindest regards, Håkan

Please refer to http://forum.magicmirror.builders for support and troubleshooting.
I'm closing this issue for now. If you feel this issue should remain open, please let me know.