Servers migrated to Jakarta

All 4 refImpl servers generated based on the latest LyoDesigner (currently under PR https://github.com/eclipse/lyo.designer/pull/276) to support migration to Jakarta.

https://github.com/oslc-op/refimpl/actions/runs/8498710257

I think it's ready to merge. Do you think you could please resolve merge conflicts?

@berezovskyi I can try. But there is still 1 change request still pending on your side?

and, did you see my latest changes to the readme file?

@berezovskyi ! We should first merge Lyo, before we merge this PR. Ready to go there?

and, did you see my latest changes to the readme file?

yes, looks good

But there is still 1 change request still pending on your side?

ah, forgot that. btw, only RM was "tomcatified", we need 3 more docker files and to update the compose yaml.

ah, forgot that. btw, only RM was "tomcatified", we need 3 more docker files and to update the compose yaml.

Sorry! Don't get what you are after here.

I think the build will succeed only once Jenkins pushes new SNAPSHOTS to eclipse repos.

Sorry! Don't get what you are after here.

I can take a look at that.

I can then leave it to you to merge the PR also then?

I think your check will be needed on src/lib-common/pom.xml, it was referencing 6.0.0.Alpha1. Also the kotlin client is broken.

THat was the conflict I had in the other pom.xml files. For some reason, a merge has also changed the Lyo version to Alpha.
src/lib-common/pom.xml looks good.


ffc: FIPS zeroization compliance

Zero out params upon cleanup.

These should be conditional on FIPS_MODULE.

I see this as a privacy leak though; without fips too.

These should be conditional on FIPS_MODULE.

I see this as a privacy leak though; without fips too.

The parameters are clearly a public thing. So I cannot really see the privacy leak here. Please add the FIPS_MODULE ifdef condition.

These should be conditional on FIPS_MODULE.

I see this as a privacy leak though; without fips too.

The parameters are clearly a public thing. So I cannot really see the privacy leak here. Please add the FIPS_MODULE ifdef condition.

OK!

Last I heard, OpenSSL's FIPS lab had not insisted that this zeroization even be done.

Last I heard, OpenSSL's FIPS lab had not insisted that this zeroization even be done.

some of them are no longer active labs.....
Anyway, superseeded by https://github.com/openssl/openssl/pull/24355


TINKERPOP-1146 Use GraphProvider.clear() to auto-clear graphs created in tests

https://issues.apache.org/jira/browse/TINKERPOP-1146
Was formerly just calling Graph.close() which wasn't enough to actually empty graphs of data. This led to test errors for some graph providers.  This change actually calls GraphProvider.clear() which by definition should empty a graph of data at the end of a test.
To test you technically need a graph that is persistent (e.g. Neo4j). Ran mvn clean install -DincludeNeo4j without problems.
VOTE +1

VOTE +1. I will be so happy to see the "randomness" removed from our integration testing. Thanks @spmallette.

VOTE +1


How Do I Convert input arg tf.string to string in tf.function

@tf.function(input_signature=[
tf.TensorSpec(shape=[], dtype=tf.string, name="key"),
tf.TensorSpec(shape=[], dtype=tf.string, name="value")
])
def infer(self, key, value):
tf.print(key)
xxx
I want to implement universal input, something like this
key: age#gender
value: 0#1
=>
age_tensor = tf.constant(value=0, name="age")
gender_tensor = tf.constant(value=1,name="gender")
so I want to convert tf.string to string.
use tf.print function can normally print the input args，Do I have any way to simulate the function of tf.print and assign the printed value to a variable to implement tf.string to string?
or
Is there any other way I can do this?

@zf853109035,
To manipulate string values in TF, have a look at the tf.strings namespace.
Could you please try to use tf.strings.substr:
@tf.function
def ppm_to_png(filepath):
  ppm_bytes = tf.io.read_file(filepath)
  bytes_header = tf.strings.substr(ppm_bytes, 0, 13)
  tf.print(bytes_header)

tf.slice only operates on the Tensor objects, and doesn't work on their elements. Here, ppm_bytes is a scalar Tensor containing a single element of type tf.string, and whose value is the entire string contents of the file. So when you call tf.slice, it only looks at the scalar bit, and is not smart enough to realize that you actually want to take a slice of that element instead. Thank you!


Remove deprecated usage of ZipkinTracingEnabled

Changes

Remove deprecated usage after upgrade to latest dependency of knative.dev/pkg

/kind

Fixes #

Release Note

Docs

/remove-lifecycle stale

/cc @pierDipi please, review

/cherry-pick release-1.11


using subroutes as initialroute is not working

Hi,
we are using this package and it is really helpful! Thank you.
We encountered that it doesn't work with subroutes. So if the initialRoute is not "/".
Are we missing something?
I modified the example on my fork to show you what i mean.
The error is: Globalkey is used multiple times.
Fork:
https://github.com/winwisely104/master_detail_scaffold

Fork and fix ourselves perhaps
Not working with routes that have sub routes is a deal breAker for us and lots of others.

Lots of our modules rely on sub routes to work with flutter web because it allows users to copy links but also for deeplinks to work.

We are using flutter channel 'beta'

I won't have a chance to run your fork until perhaps later in the week. One thing that looks odd that may be related to your issue is that I see you're defining home as a route for both the top-level navigator (i.e. the one associated with the MaterialApp) and the navigator used by the details pane (see docs for the initialRoute property). I believe this means getting to the initial route for the master detail scaffold would require the URL to be something like /home/home
Having said that your issue seems to relate to a limitation that I describe in the readme that I quote below for convenience

Note that I've found that entering a URL that should go to a specific details page doesn't work. This is likely due to the fact that Flutter's web support for web development isn't stable yet. Should you find a solution for this, please submit a pull request.

Thankyou @MaikuB for picking up our mistake.
Will fix and see if it helps

@MaikuB thankyou for looking at our code and pointing out our bug

Hi @MaikuB thank you for your quick answer! I was talking about the initialRoute of the MasterDetailScaffold, not of the MaterialApp. In the example MaterialApp's initialRoute is "/". Then I navigate (via a button) to "/home" where the MasterDetailScaffold is. MasterDetailsScaffold's initialRoute is now "/home" and this throws an exception. Your example is working if I change the MasterDetailScaffold's initialRoute also to "/". But then i have the flutter web problem you mentioned. If we have an idea I will let you know. If I am missing sth please let me know... :) Thanks

@winwisely99 Did you manage to figure out how to solve this issue?


Inactive editor group tab color fade

VSCode Version: 1.12
OS Version: Windows 10

Currently there is no setting for adjusting inactive editor tab as after 1.12 version update it fades and it's almost impossible to read in comparison with active editor group tabs.
It would be better if active editor would have an outline/border to highlight it's activity status. In that case inactive editors could be left untouched by fading to show their status.

We fixed the low contrast via https://github.com/Microsoft/vscode/issues/26132


Add crvOBTC to white list for migration so it gets hidden for non-holders.

Add crvOBTC to white list for migration so it gets hidden for non-holders.

duplicate of #267 267


upd

The script affects fps (-40fps) as it runs in an infinite loop.
On resolution 2560x1440 the script works with 60% chance, with modified images.
I may have set the wrong points - 980,1025,1600,1250

I think your position is way too big. Maybe reduce the area can help?
Because my screen is smaller than yours. So I take less time to run the script. But infinite loop truly a problem.
I may fixed that in future version.
And for the other problem:
Here is the script help you to get position.
And 4 value is x, y, width, height.
You should get the right top pos(x1, y1) and left down pos(x2, y2).
And value should be x1,y1,(x2-x1),(y2-y1)
Thanks for your issue. If there still some problems it is welcome for you to comment.

region=1023,1146,515,24 for 2k screen


ASM-7554 Volume scale up and retry

If we retry a deployment it was running volume
size expansion operation even the size is same as
old one.
VNX LUN expand operation works only if new size is
greater than old one.
I added condition to run expand operation only if
new size is greater than old one.

@hribab Can you please address review feedback so we can resolve associated jira?

@hribab sorry nevermind, looks like @sushilrai merged, but jira was not resolved. -Thanks!


Tech-debt, put hard-coded endpoints into configs.

User story
As a developer, I want well-organized code, so I can maintain the code base.
Acceptance criteria

[ ] The url endpoints should be moved to a config file.

Sprint Ready Checklist

[ ] Acceptance criteria defined

[ ] Team understands acceptance criteria

[ ] Team has defined solution / steps to satisfy acceptance criteria

[ ] Acceptance criteria is verifiable / testable

[ ] External / 3rd Party dependencies identified

[ ] Ticket is prioritized and sized

Notes
Add any helpful notes here.

Put proxy server endpoint in .ENV file or JS file


new Worker(import.meta.url) doesn't work as expected

Bug report

I have code like this:
new Worker(import.meta.url)

where module spawns itself as a Worker when multithreading is enabled.
What is the current behavior?
Webpack transforms import.meta.url into a file: URI, which fails to get spawned in runtime.
What is the expected behavior?
Handling of
new Worker(import.meta.url)

should be equivalent to
new Worker(new URL('explicit-own-filename.js', import.meta.url))

which Webpack already supports.

Other relevant information:
webpack version: 5.20.1

script tag must be support ESM.

Still valid

Having thought about this a bit more, while I think it would be useful, it's likely not the most uncommon usecase and other bundlers don't seem to support this either. To keep consistency I suppose I'll close it.

@RReverser I think we can keep open, for me it is feature than bug

and other bundlers don't seem to support this either

FYI I just implemented support for this in Parcel (see link above). Came across this issue while I was researching so thought I would let you know. 😉

and other bundlers don't seem to support this either

FYI I just implemented support for this in Parcel (see link above). Came across this issue while I was researching so thought I would let you know. 😉

Ah thanks :)


Add policy server namespace optional argument

Add policy server namespace (--policy-server-namespace CLI arg and POLICY_SERVER_NAMESPACE envvar) that specifies on what namespace this policy server is running on.
This argument is optional. If it's not provided, the mechanism that follows will not be followed. So that the behavior of the policy-server is not unchanged compared to now if this flag or envvar is not provided.
So, if this namespace is provided:

If the request is on a cluster-wide resource, continue normally.
If the request is on a namespaced resource,

If the namespace does not match the provided namespace, continue normally.
If the namespace does match the provided namespace, accept the request.

This allows the Kubewarden stack to be permissive with a certain namespace (e.g. the namespace where all policy servers are created), and to also be strict if the user desires to do so. In the first model of operation, very widely applied policies will not impact the operation of Kubewarden itself. If the user/consumer is very expert and wants to prioritize security even more, they can still be strict and not provide this argument, what will not alter the policy-server behavior.

I would prefer a different name to be used for this flag/env variable, something that makes more evident the behaviour that is going to be enabled.
What about having --ignore-events-from-namespace and POLICY_SERVER_IGNORE_EVENTS_FROM_NAMESPACE?


Ansible.cfg is not fully used

Hi!
I use TestInfra through molecule to test my ansible roles.
I need sometimes to have a different user and different config that are present in ansible.cfg.
For now I have done this to change environment variable from info written in the configuration file.
Am I right, should I do something else?
import os
import configparser
import testinfra.utils.ansible_runner

config = configparser.ConfigParser()
config.read(os.environ['ANSIBLE_CONFIG'])

if config.has_option('defaults', 'become_user'):
    os.environ['ANSIBLE_BECOME_USER'] = config['defaults']['become_user']

if config.has_option('defaults', 'become'):
    os.environ['ANSIBLE_BECOME'] = config['defaults']['become']

testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner(
    os.environ['MOLECULE_INVENTORY_FILE']).get_hosts('all')

Thanks ;-)

Hi, thanks for reporting this! I'd expect testinfra to use the settings that are defined in the inventory file / ansible.cfg. Looks like a bug, under what version of ansible did you encounter this issue ?

I use Ansible 2.5.0
ansible 2.5.0
  config file = /etc/ansible/ansible.cfg
  configured module search path = [u'/home/nanou/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python2.7/dist-packages/ansible
  executable location = /usr/bin/ansible
  python version = 2.7.14 (default, Sep 23 2017, 22:06:14) [GCC 7.2.0]

But regarding the configuration file, Molecule creates one located at the ANSIBLE_CONFIG environement variable ;)

I came here to report the same problem.  I'm using Ansible 2.7.1.
I'd like to use testinfra in a project that is already making use of Ansible. We use an ansible.cfg file to control the behavior of Ansible, including setting a path to an inventory file.  It appears that the mechanism testinfra uses for executing Ansible actions does not utilize the settings the ansible.cfg, which means instead of:
pytest --hosts ansible://controller

I need to always run:
pytest --hosts=ansible://controller --ansible-inventory data/hosts.yml

I worry that other important settings (like host_key_checking, or the [inventory] section used to enable inventory plugins) will also be missed.  Is there any way to get Ansible to make use of the config file when executing the testinfra tasks?
What's puzzling is that strace reveals that something is opening and reading ansible.cfg, even though the settings are not being applied:
3507  openat(AT_FDCWD, "/home/lars/projects/example/ansible.cfg", O_RDONLY|O_CLOEXEC) = 8
3507  fstat(8, {st_mode=S_IFREG|0664, st_size=282, ...}) = 0
3507  ioctl(8, TCGETS, 0x7ffda41c8d20)  = -1 ENOTTY (Inappropriate ioctl for device)
3507  lseek(8, 0, SEEK_CUR)             = 0
3507  lseek(8, 0, SEEK_CUR)             = 0
3507  fstat(8, {st_mode=S_IFREG|0664, st_size=282, ...}) = 0
3507  read(8, "[defaults]\nhost_key_checking = false\nretry_files_enabled = false\ngathering = smart...", 283) = 282
3507  read(8, "", 1)                    = 0
3507  close(8)                          = 0

It also looks as if environment variables such as ANSIBLE_INVENTORY are ignored.


MINIFI-238 - MiNiFi Initial Command and Control Server Implementation

Thank you for submitting a contribution to Apache NiFi - MiNiFi.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[X] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?

[X] Does your PR title start with MINIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[X] Has your PR been rebased against the latest commit within the target branch (typically master)?

[X] Is your initial contribution a single, squashed commit?

For code changes:

[X] Have you ensured that the full suite of tests is executed via mvn -Pcontrib-check clean install at the root nifi-minifi folder?
[X] Have you written or updated unit tests to verify your changes?
[X] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[X] If applicable, have you updated the LICENSE file, including the main LICENSE file under minifi-assembly?
[X] If applicable, have you updated the NOTICE file, including the main NOTICE file found under minifi-assembly?

For documentation related changes:

[X] Have you ensured that format looks appropriate for the output in which it is rendered?

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible.

rebased to fix merge conflicts from #74

@brosander - if I understand correctly the C2 will wrap around MiNiFi, rather than integrated straight into MiNiFi?

@trixpan yeah, I think the general gist is that this is a mediation point between MiNiFi and something else.   this could be usable against the flow registry work or other avenues and a first effort to enable some exploration of work to be done to have a more complete and understood set of needs for design

scoping it out!

@apiri added keyPasswd property, use different key and keystore passwords in the integration tests now

reviewing

seems like we got hit by the jbcrypt naming issues like we experienced in NiFi

Not sure when things got messed up but clearly this has been an issue for a few commits.  Will get this merged with the changes.  I have created Blocking issues to rectify the dependency issue by upgrading to NiFi 1.2.0 when released.


Model convert issues

Hi, I am converting the model to onnx model using a checkpoint whcih trained 180 epochs, the grouped_feature result is very similar but when the grouped_feature get through MLP in SA, the result is very difference.
Does any one know how to fix this?  The result of checkpoint is correct.
Or does any one has a converted onnx or ncnn model?

@44825762 hi, i have a similar issue with conversion to onnx model. Have you fixed the issue?


13.0.5 needs resync (atleast from alonzo era)

Versions
The db-sync version (eg cardano-db-sync --version): 13.0.5 - linux-x86_64 - ghc-8.10, 8ad98d48e0068f3768d48e18fdcbe254037cba3b
PostgreSQL version: 14.4
Build/Install Method
The method you use to build or install cardano-db-sync: Hydra pre-compiled binary download
Run method
The method you used to run cardano-db-sync (eg Nix/Docker/systemd/none): systemd
Additional context

As part of fix for #1214 , there was a change introduced for data streamed from node. This only resolves new data coming in, but not old data already synched.
The release notes only mention need to re-sync if coming from version prior 13.0.0.

Problem Report
If a user is upgrading from versions 13.0.0-13.0.4 to 13.0.5, they need to resync from genesis (not sure if IO snapshots are correct either).
Depending on steps to be taken, Will be good to update release notes and get a community announcement via Ben to resync from scratch (alternatively, consider bump to a new release as one of the critical data => pool_offline_data was also inaccurate - atleast for 13.0.5 , as reported in #1270 ).

We could communicate that in order to fix old values, if someone needs them, a resync is necessary.
Eventually I want to have a form of migration as part of https://github.com/input-output-hk/cardano-db-sync/issues/1172, which goes through old blocks and fixes only the values that are wrong. This means that for each fix like the above, a fix process is also developed. This could be a lot of work, but resyncing from genesis is also quite painful.

Am I under correct assumption I will have to sync from genesis again if pool_offline_data fix is released

I haven't investigated this issue enough yet.

pool_offline_data fix is released

actually isn't this only used by smash server?

No, its populated by the regular db-sync executable.

Can someone confirm the IOG snapshots contains the correct values, please?

They probably don't, it would require a resync to fix old values. I've built a tool which fixes old values and will be included in the next release. The tool actually indicates that a big number of datum have the wrong bytes 1384311/5764744
[db-sync-node:Info:61] [2022-10-13 15:35:30.33 UTC] There are 5764744 Datums. Need to scan them all.
[db-sync-node:Info:61] [2022-10-13 15:35:41.86 UTC] Found some wrong values already. The oldest ones are
(hash, bytes): [("2512243dcf7a3c3af70e50cdeea19d952e093d2395d95af67d21ed6b92224562","d87a9fd8799f581cd52e11f3e48436dd42dbec6d88c239732e503b8b7a32af58e5f87625413001ffff"),
("f7f2f57c58b5e4872201ab678928b0d63935e82d022d385e1bad5bfe347e89d8","d87980"),
("50707eebc0b23a108309c74e70874daf3c01bc180ecd9d5ee93293b53d456cfa","d87b9fd8799f581cd52e11f3e48436dd42dbec6d88c239732e503b8b7a32af58e5f87625433339391a17d78400ffff"),
("535349dcf2548991b02ea37b4375fc7472ad2f554d061a0e377fcad472e28616","d87a9fd8799f581cd52e11f3e48436dd42dbec6d88c239732e503b8b7a32af58e5f87625443230303001ffff"),
("74bf0fc59a9953a426a1a5f25d952ebc83c03e8fc3c10ce2d49961788388c074","d87a9fd8799f581cd52e11f3e48436dd42dbec6d88c239732e503b8b7a32af58e5f87625443234373901ffff")]
[db-sync-node:Info:61] [2022-10-13 15:41:41.09 UTC] Found 1384311 Datums with mismatch between bytes and hash
[db-sync-node:Info:61] [2022-10-13 15:41:41.09 UTC] Starting chainsync to fix Datums. This will update database values.

Closing as stale


Sweep 033x and siag keys

I considered combining seedScanner and keyScanner, but decided against it for two reasons: 1) they are sufficiently different in functionality (seedScanner also tracks largestIndexSeen) and 2) seeds are now the primary basis of wallet keys, so it makes sense for them to have their own code path, separate from 033x and siag (which are special cases).

There doesn't seem to be testing in the wallet package, just in the api package.

Closing this for now. If there is sufficient interest we can reopen it. I'll leave the branch on GitHub (and I have a local copy) so we can easily restore it.


Is there a way to crawl with Authentication Parameters

Such as username, password, for the sites that need Authentication

+1

One way is you mock all the steps to login the website, another is that you manually log in and copy the Cookie to your program.

close due to inactive, reopen if any further questions.

See alse #183


For when you don't append the CsharpModule to the repository name when creating the Module Solution ...

Nb: In creating the new solution\module project
Take note wrt
Provide Docker
image repository
for the module
You need to provide the <container registry>/csharpmodule
If you just supply the container registry, all will work OK until you try to deploy to the registry in the  Build and Push IoT Solution  step.
The recovery is to edit module.json in the CSharpModule project.
In it you will have something like:
repository": "mycontainerreg.azurecr.io",

which needs to be have /csharpmodule appended:
repository": "mycontainerreg.azurecr.io/csharpmodule",

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

ID: 181d5562-f8d7-9c59-85ea-09efbe397f3e
Version Independent ID: dbedd952-a050-286e-c951-4529ec8e87b8
Content: Tutorial create custom C# module - Azure IoT Edge
Content Source: articles/iot-edge/tutorial-csharp-module.md
Service: iot-edge
GitHub Login: @kgremban
Microsoft Alias: kgremban

@djaus2 going back through open issues, I realized that I forgot to comment after implementing your suggestion to include a blank line in the table to help people skim for the information they need. Please take a look and let me know if this resolves your issue or if more work should be done. Thanks!

ok thx


If no text is present in a csv field, it is assigned 0 (zero) by default

For ex. if i have a two values of a string field, one is "abc" and other is "" (blank), the second value in the resulted JSON array is assigned an integer value 0, but it should be assigned a null string or blank string.

Thanks for reporting. Now fixed.


Shattered Pixel Dungeon, unable to initialize graphics display version 2.2.1

Describe the bug
unable to launch shattered pixel dungeon, crashes.
Steps To Reproduce
Steps to reproduce the behavior:

install shattered-pixel-dungeon with nix-shell -p shattered-pixel-dungeon
launch shattered-pixel-dungeon in nix-shell
...

Expected behavior
the game launches
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
[nix-shell:~]$ shattered-pixel-dungeon
[LWJGL] [ThreadLocalUtil] Unsupported JNI version detected, this may result in a crash. Please inform LWJGL developers.
[ALSOFT] (EE) Failed to set real-time priority for thread: Operation not permitted (1)
[ALSOFT] (EE) Failed to set real-time priority for thread: Operation not permitted (1)
[LWJGL] GLFW_API_UNAVAILABLE error
        Description : GLX: Failed to load GLX
        Stacktrace  :
                org.lwjgl.glfw.GLFW.nglfwCreateWindow(GLFW.java:2024)
                org.lwjgl.glfw.GLFW.glfwCreateWindow(GLFW.java:2197)
                com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.createGlfwWindow(Lwjgl3Application.java:520)
                com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.createWindow(Lwjgl3Application.java:462)
                com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.createWindow(Lwjgl3Application.java:448)
                com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.<init>(Lwjgl3Application.java:162)
                com.shatteredpixel.shatteredpixeldungeon.desktop.DesktopLauncher.main(DesktopLauncher.java:188)
[GAME] com.badlogic.gdx.utils.GdxRuntimeException: Couldn't create window
        at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.createGlfwWindow(Lwjgl3Application.java:527)
        at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.createWindow(Lwjgl3Application.java:462)
        at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.createWindow(Lwjgl3Application.java:448)
        at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.<init>(Lwjgl3Application.java:162)
        at com.shatteredpixel.shatteredpixeldungeon.desktop.DesktopLauncher.main(DesktopLauncher.java:188)

missing software! (we will try basic console input)
 ___________
/           \
| tiny file |
|  dialogs  |
\_____  ____/
      \|
tiny file dialogs on UNIX needs:
   applescript or kdialog or yad or Xdialog
or zenity (or matedialog or shellementary or qarma)
or python (2 or 3) + tkinter + python-dbus (optional)
or dialog (opens console if needed)
or xterm + bash (opens console for basic input)
or existing console for basic input

Shattered Pixel Dungeon Has Crashed!

Shattered Pixel Dungeon was not able to initialize its graphics display, sorry about that!

This usually happens when your graphics card does not support OpenGL 2.0+, or has misconfigured graphics drivers.

If you are certain the game should be working on your computer, feel free to message the developer<EMAIL_ADDRESS>
version: 2.2.1

press enter to continue

Notify maintainers
@fgaz
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.1.64, NixOS, 24.05 (Uakari), 24.05pre554642.f5c27c6136db`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.1`
 - channels(kunny): `"home-manager, nixpkgs"`
 - nixpkgs: `/home/kunny/.nix-defexpr/channels/nixpkgs`

This is also the case with experienced-pixel-dungeon and summoning-pixel-dungeon

@AbleTheAbove  #273579 should fix all of them


Windows console does not update correctly

FreeRDP (1.0.2-9.1 on OpenSuSE leap) is showing problems both Windows or MinGW consoles (git bash, in my case). This happens a VirtualBox native RDP server and WindowsXP server, Remmina and KRDC, xFreeRDP were the clients with the same results.
Windows Console:

When the prompt is larger than the console size, the background is not refreshed correctly.
Steps to reproduce:

run cmd.exe
go to a very long path, greater than the terminal length.
Minimise and then restore the console window.
That should show as the image above.
To "fix" the window, just drag the window as it'll redraw entirely.

MinGW bash window:

Apparently it never redraws the background except when the window is dragged.
Steps to reproduce:

Install git/git bash
start git bash.
It look like the background is transparent. If you run any command that prints to screen, (ls, for example), everything will get painted on top of.
Dragging the window forces the background to repaint.

xfreerdp 1.0 is really old, do you experiment the same kind of behaviour with last versions (hint: you can download pre-built packages) ?

No. I haven't yet. Tried to compile the libraries and got stuck at this point, though:
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
GSTREAMER_1_0_APP_LIBRARIES
linked by target "tsmf-client-gstreamer-decoder" in directory /home/paulo/src/FreeRDP/channels/tsmf/client/gstreamer
GSTREAMER_1_0_VIDEO_LIBRARIES
linked by target "tsmf-client-gstreamer-decoder" in directory /home/paulo/src/FreeRDP/channels/tsmf/client/gstreamer
Don't know which package provides these files.

Installed a nightly build and it appears to be working.

A note from your friendly distribution maintainers... As you just labeled your latest stable release as "really old"... why not make a bugfix release every once in a while to deliver your fixes to distros? Everything newer is "beta" and "tech preview" or "nightly".

Also what version 1.0 1.1 1.2 ?

@andreasstieger easy to say ;). If you search the issue tracker there are multiple issues regarding a new release.  I'm aware that the current release "management" is a horror for distributions but starting with 2.0 we'll try to do bug fix releases or new more often. But we first need to get to a state where we can say this is stable (especially the ABI/API). We don't just want to define the current code as stable and create a release out of it and have API/ABI changed again later on..

@tigerfoot next, and current master is 2.0.

@bmiklautz thanks for the informations.

@ppanhoto78
With the package we have in oss for openSUSE (Tumbleweed) I can work with no trouble against xp, win7, win8.1, win2008 win2012 include sharing disk, having sound and on long cmd.exe terminal

So I can't even reproduce it.

@tigerfoot Tumbleweed and Leap use different versions. Can you try that with git (or MinGW) bash?

@ppanhoto78 nope 13.1, 13.2, 42.1 and tumbleweed all use 1.0.2 version (I know it because I'm doing the packaging :-)
I will try git bash but I need 2 days, I can't pollute a production machine I will try on my personnal windows 10.

Leap appears as 1.0.2-9.1 and Tumbleweed appears as 1.0.2-9.4
http://download.opensuse.org/distribution/leap/42.1/repo/oss/suse/x86_64/freerdp-1.0.2-9.1.x86_64.rpm
http://download.opensuse.org/tumbleweed/repo/oss/suse/x86_64/freerdp-1.0.2-9.4.x86_64.rpm
Only difference I can tell is that one works and the other doesn't.

I've upgraded my packages to tumbleweed's and I've got different results than the first reported: if the  RDP server is an actual windows system, the terminals get correctly updated.
The problem still exists when the server is a VirtualBox' RDP server on linux.


Not able to read a document

Getting this error when I try to read a document. Setting it has no issues:
"TypeError: Cannot set property bytesRead of # which has only a getter"

Hey @cevatkerim,
Might need some more context, on this?
How is the data structured...? Does this happen all the time?

This might be related to an issues regarding the exported firebase object,
we've made the firebase object optional so am hoping this might fix the issue.
If not, feel free to comment / open a new issues


TIMESTAMP column from MySQL does not include fractional seconds

MySQL supports fractional seconds to a precision of 6 figures on TIME, DATETIME and TIMESTAMP columns (e.g. 2014-02-10 13:54:30.123456).
However, Eloquent seems to ignore the microseconds. E.g. if the value is '2014-02-10 13:54:30.123456' in the database, Eloquent simply returns '2014-02-10 13:54:30'.
On a related note, the MySQL schema builder doesn't support specifying the fractional seconds precision for these column types.

may i know how i can implement it in laravel? i tried lot. But it doesnt accept milliseconds.

Fractional timestamps is required to do russian doll caching properly (a simple test to POST a value and GET the same endpoint fails with second granularity because the updated_at portion of the key is often the same).  Writing is possible as of Laravel 5.2 by updating your BaseModel with:
    protected $dateFormat = 'Y-m-d\TH:i:s.u';

    protected function asDateTime($value)
    {
        try {
            return parent::asDateTime($value);
        } catch (\InvalidArgumentException $e) {
            return parent::asDateTime(new \DateTimeImmutable($value));
        }
    }

but I can't get reading to work.  If anyone knows know, please let us know thanks!

I know this is old, but I found this to be my problem retrieving fractional seconds on timestamps. This is unfortunately still the case in PHP 7.x. The Connector.php base class sets PDO::ATTR_EMULATE_PREPARES => false. When true, the fractional seconds are there.  Would love to not have to set that to true.

@leehicks what are potential issues when set to true?

@lazychaser I am getting two errors:

On model creation sometimes getting:
In Carbon.php line 775:
    Trailing data

If I set protected $dateFormat = 'Y-m-d\TH:i:s.u'; into model, I get:
In Carbon.php line 775:
    Unexpected data found.

Solution proposed by @zmorris works best on Laravel5.6

Hi guys, with select() statement, the microseconds cannot is opted:
\App\User::select('*')->get()->first()->created_at->format('u') returns 000000
\App\User::all()->first()->created_at->format('u') returns 123456
\App\User::first()->created_at->format('u') returns 123456
Is there a way to include the timestamps' microsecond with select('*')?

PHP 7.3 will fix the bug with PDO and fractional timestamps:
https://github.com/php/php-src/commit/71c04324b7161f9ed151e9550a1a6764c5d170f7#diff-7748eb3bfdd3bf962553f6f9f2723c45R61

@c4l3b Hi.
Sorry, can you tell me is this same bug or new.
If the timestamp column in the database like 2020-03-04 09:07:36.716946, then everything works grate. And PDO return
["created_at"]=>
string(26) "2020-03-04 09:07:36.716946"
But if timestamp like 2020-03-04 09:00:00.000000 PDO return
["created_at"]=>
string(26) "2020-03-04 09:00:00"

Hi I am little late but I guess my error is related to this as I am fetching my columns from DB query builder but when I am dumping the data in local I got the time in miliseconds but when I tried it in production millisecond was not there so can anyone just help why this is happening?


Database Connection Lock Issues with Web Workers

Problem Description:
I’m using two web workers that perform long tasks and update a queue in the database, while the main thread reads the progress from the same database. Currently, each creates its own database connection, which seams to leads to lock issues.
OPFS syncer: xLock() async error: GetSyncHandleError: Error getting sync handle for xLock(). 6 attempts failed. database.db : NoModificationAllowedError: Failed to execute 'createSyncAccessHandle' on 'FileSystemFileHandle': Access Handles cannot be created if there is another open Access Handle or Writable stream associated with the same file.
I am using PRAGMA journal_mode = WAL;
Question:
Is it possible to share the main thread's database connection with the web workers?

That is a SQLite error because you are running into a limitation with SQLite: only one connection can have an open write transaction on the database at once. SQLite will wait a bit and retry a few times (i.e. the "6 attempts failed" mentioned in that error message), but if a long-running write transaction blocks a second write transaction for too long, SQLite will throw an error. This is why it is recommended that you keep writing transactions short and close them quickly.
I assume your long tasks are waiting on network data to arrive while they have the transactions open. If so, you should see if you can close the transactions between batches of writes or otherwise break up your database queries. Having those 2 workers attempt to have long-running transactions on the database at the same time is creating contention for the database file.
Regarding your question: No, SQLite connections cannot be shared between threads. They are necessarily per-thread handles.

Thank you so much! I'll see if I can minimize the writing time. Sent you some lunch money! PS: Should every connection set the journal_mode to WAL or is it enough to only do this on the main thread?

Hey thanks for the donation! To answer your question, PRAGMA settings only affect the connection they are run on, so yes, you should set journal_mode and any other PRAGMA settings on every connection.

Thanks for your help! I’ve resolved most of the lock errors with the optimizations. Is there a way to adjust the number of retries? Also, how long is the wait time between each retry?

Is there a way to adjust the number of retries? Also, how long is the wait time between each retry?

No, the logic for that is hard-coded into sqlite-wasm, so it's not adjustable. It will wait 300ms before the first retry, and each subsequent retry will wait for 300ms longer (600ms for retry 2, 900ms for retry 3, etc) up to a maximum of 6 retries.


Add bubble on the activity icon when new notifs present

New activity badge added!

Please suggest changes.


23 xarray utility

The following checks are now implemented:

existence of certain dimensions
allowed coordinate dtypes
specific coordinate values

Input should be a nested dict with an array for the values:
ref = {
     "time" : {
        "optional" : True,
        "dtype" : ["datetime64[ns]","timedelta64[ns]"] },
    "c" : {"values" : ["x","y","z"]}
}

usage:
utility.xr_check_coords(dax: xr.DataArray, ref: dict)
utility.xr_check_dtype(dax: xr.DataArray, ref: dict)
missing:

Do we want to raise Errors when the check fails or return a Value? Or maybe just a Warning?
@reviewers do you confirm the change of the values to an array?
Docstrings (depending on the missing solutions)

Hello @mark141! Thanks for updating this PR.

In the file tests/test_utility.py:

Line 434:89: E501 line too long (99 > 88 characters)

In the file weldx/utility.py:

Line 566:89: E501 line too long (127 > 88 characters)

Added functionalities are now all in one function xr_check_coords(dax: xr.DataArray, ref: dict).
Functionalities:

"optional" keyword: if the DataArray does not have this dimension
"values" keyword: comparing the values of the the DataArray with the ones in the reference dictionary
"dtype" keyword: comparing the numpy dtypes. Additional all numpy strings are now comparable with str
Output is True or the corresponding Exception.

Other achievements:

Pytests now test every line of the code.
All Tests and functions got docstrings!
There is even a small example in the docstring of xr_check_coords.


Pipenv

Status
READY FOR REVIEW
What does this PR do?

Replaces requirements.txt and its associated workflows with pipenv.
Upgrades mock and pytest.
Updates tox.ini for compatibility with pipenv.
Discards the mostly duplicative tox.mysql.ini in favor of adding a passenv statement to tox.ini; this ensures that tests run in the database used by the test environment (which means mysql when run through docker).
Ensures that the new tox.ini works with both localhost and docker environments.

Why Pipenv? It is just better:

it results in more deterministic builds, by locking versions of all the dependencies and their dependencies, and hashing them for extra peace of mind;
it also replaces virtualenv, and has a much easier workflow
it's the emerging standard, and officially recommended by PyPI
it can still generate requirements.txt files if those are required for integration with existing build processes

Read the docs for more details.
What are the relevant tickets?

[x] https://github.com/unt-libraries/django-premis-event-service/projects/1#card-9791562
[x] https://github.com/unt-libraries/django-premis-event-service/projects/1#card-9786216
[x] https://github.com/unt-libraries/django-premis-event-service/projects/1#card-9819326
[x] https://github.com/unt-libraries/django-premis-event-service/projects/1#card-9794269
[x] https://github.com/unt-libraries/django-premis-event-service/projects/1#card-9820365

Requires Database Migrations?
NO
Includes new or updated dependencies?
YES

@ldko This is now ready for further review. (Do you prefer your merges squashed or unsquashed, when we get to that point?)

@thatandromeda as a group here we tend not to squash our merges. Sometimes it is nice to trace back to things that were tried and reviewed and changed in certain places. There are cases when some of us do squash commits depending on what is in the set of commits. Perhaps if no one has asked for changes or the separate commits are trivial. In the case of this PR, I think squashing or not is fine. Hopefully that answers your question, if not very clearly :)...

Totally makes sense. I'll leave it unsquashed after review.

I'm still quite new to pipenv and docker in general, but I was able to get the docker container working (after some trial and error) by adding the Pipfile and Pipfile.lock files to the image. Not sure if it could be done a better way, but I just added ADD Pipfile /app/ and ADD Pipfile.lock /app/ to the Dockerfile before the pipenv command was run.

I'm pretty new to Docker myself and I'm finding the amount of trial and error is enough to make me nervous about repeatability - I'm really glad you both are testing it on your systems as well. But with my latest commits I've responded to your PR comments; found a bug in my Pipfile syntax which I think explains some things; and got tests (both tox and docker+tox) passing on localhost. Tell me if this works for you, and I'll see how CI feels about it.

This is working for me now both with a local dev environment and Docker! I noticed a couple things in README.rst that should be updated to go along with the changes in this PR. References to Django 1.7 should be changed to 1.8, and the part about "However, if the requirements files change, it is important that you rebuild the app container" should be made relevant to using Pipenv/Pipfile.

It's all working for me now too :smile:

@ldko ready for merge!

Thanks @thatandromeda !


Password-field placeholder doesnt rise when Chrome autofills password-field after beta.10

Bug, feature request, or proposal:
Bug
What is the expected behavior?
The password placeholder should be placed above the input.
What is the current behavior?
When chrome autofills username and password, the username placeholder rises above the username value. The password placeholder however, stays in the field, overlapping the password. See screenshot below:

If i click on the page so it gains focus, the placeholder instantly jumps to the right position:

What are the steps to reproduce?
I have simply created an form with an input of type email and an input of type password, along with a submit-button.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular 4.3.6
Angular Material 2.0.0-beta.10
Windows 10
Typescript 2.3.4
Chrome seems to be the only affected browser, since it's the only browser that completely autofills the form, without the user having to do anything. In both Edge and Firefox, I have to start typing in the username-field for the browser to suggest saved username/password, so by that time the window has focus, and the bug doesn't occur.
Is there anything else we should know?
This functionality was working in beta.8.

Same issue with every form field when pre-filling the data  while building form.

@gbrath I don't know about that. In my case the username placeholder is always aligned correctly when the page is refreshed.

I can confirm the regression on beta 10. Inputs of text, email, etc types are working properly, but ones with password type have the placeholder overlapping with Chrome's auto-filled value on page load.


WMS example

Hi there,
I've tried WMSTiled example (https://github.com/pauldendulk/Mapsui/blob/master/Samples/Mapsui.Samples.Common/Maps/TiledWmsSample.cs) but seems doesn't work.
No map is shown.
I've tried to change URL with a working OpenLayers example but doesn't work.
Any suggests?
Thank you.

https://github.com/pauldendulk/Mapsui is a temporary form I made to do some experimenting. You need to look at https://github.com/Mapsui/Mapsui. That location used to be the main fork but that was years ago. It something still pointing to that location?
The sample works on my machine in the current master. Tell me if it does not work on your machine.

May be I've found the link using Google.
Now I've tested your example at:
https://github.com/Mapsui/Mapsui/blob/master/Samples/Mapsui.Samples.Common/Maps/WmscSample.cs
Is it the right place?
However don't work.
Here the code I've used:
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             xmlns:mapsui="clr-namespace:Mapsui.UI.Forms;assembly=Mapsui.UI.Forms"
             x:Class="App1.Views.Page1">
    <ContentPage.Content>
        <StackLayout>
            <mapsui:MapView x:Name="mapView"
            VerticalOptions="FillAndExpand"
            HorizontalOptions="Fill"
            BackgroundColor="Gray"
            IsMyLocationButtonVisible="True"
            IsNorthingButtonVisible="True"
            IsZoomButtonVisible="True" />
        </StackLayout>
    </ContentPage.Content>
</ContentPage>

using System;
using System.Collections.Generic;
using Xamarin.Forms;
using Mapsui;
using Mapsui.Layers;
using BruTile;
using BruTile.Predefined;
using BruTile.Web;
using BruTile.Wmsc;
using Attribution = BruTile.Attribution;

namespace App1.Views
{
    public partial class Page1 : ContentPage
    {
        public Page1()
        {
            InitializeComponent();
        }

        protected override void OnAppearing()
        {
            base.OnAppearing();
            var map = new Map();
            map.Layers.Add(CreateLayer());
            mapView.Map = map;
        }

        public static ILayer CreateLayer()
        {
            return new TileLayer(new GeodanWorldWmscTileSource());
        }
    }

    public class GeodanWorldWmscTileSource : ITileSource
    {
        public GeodanWorldWmscTileSource()
        {
            Schema = new GlobalSphericalMercator(YAxis.TMS);
            Provider = GetTileProvider(Schema);
            Name = "Geodan WMS-C";
        }

        public ITileSchema Schema { get; }
        public string Name { get; }
        public Attribution Attribution { get; } = new Attribution();
        public ITileProvider Provider { get; }

        public byte[] GetTile(TileInfo tileInfo)
        {
            return Provider.GetTile(tileInfo);
        }

        private static ITileProvider GetTileProvider(ITileSchema schema)
        {
            return new HttpTileProvider(GetRequestBuilder(schema));
        }

        private static IRequest GetRequestBuilder(ITileSchema schema)
        {
            const string url = "http://geoserver.nl/tiles/tilecache.aspx?";
            var parameters = new Dictionary<string, string>();
            var request = new WmscRequest(new Uri(url), schema,
                new List<string>(new[] { "world_GM" }), new List<string>(), parameters);
            return request;
        }
    }
}

No, that is a different one. Outdated. I will delete it/
In my screenshot you see the name of the sample. It is called 'WMS called tiled'. If you search for that string in the source code you will find it in the file called TiledWmsSample.cs.

Now I've tested the following code but without success. I hope this is the right example. I'm a bit confused, sorry.
using System.Linq;
using Xamarin.Forms;
using Mapsui;
using Mapsui.Layers;
using BruTile;
using BruTile.Predefined;
using BruTile.Web;
using BruTile.Wmsc;

namespace App1.Views
{
    public partial class Page1 : ContentPage
    {
        public Page1()
        {
            InitializeComponent();
        }

        protected override void OnAppearing()
        {
            base.OnAppearing();
            var map = new Map();
            map.Layers.Add(CreateLayer());
            mapView.Map = map;
        }

        public static ILayer CreateLayer()
        {
            return new TileLayer(CreateTileSource()) { Name = "Omgevingswarmte (PDOK)" };
        }

        public static ITileSource CreateTileSource()
        {
            const string url = "http://geodata.nationaalgeoregister.nl/omgevingswarmte/wms?SERVICE=WMS&VERSION=1.1.1";
            // You need to know the schema. This can be a problem. Usally it is GlobalSphericalMercator
            var schema = new WkstNederlandSchema { Format = "image/png", Srs = "EPSG:28992" };
            var request = new WmscRequest(url, schema, new[] { "koudegeslotenwkobuurt" }.ToList(), new string[0].ToList());
            var provider = new HttpTileProvider(request);
            return new TileSource(provider, schema) { Name = "Omgevingswarmte (PDOK)" };
        }
    }
}

Ok, lets do this step by step. If you clone the repository, start Mapsui.Samples.Wpf, select the 'Data' category and select 'WMS called tiled'. Do you see map like in the image above?

Don't seems runnable...

It is. Right mouse button, set it as startup project and press F5. Perhaps you need to install some components.

Yes, it works fine. Can you provide me a snippet code I can use in my Xamarin project?
This is the URL of the WMS service I would like to use:
http://sgi2.isprambiente.it/arcgis/services/raster/igm25k_lazio_wgs/ImageServer/WMSServer
The layer is "igm25k_lazio_wgs".
Thank you

Sorry, this is something you need to figure out yourself. There are other priorities for we need to attend to right now.

However for you info, I've copied your code in a new xamarin app and it doesn't work.
using System.Linq;
using Xamarin.Forms;
using Mapsui;
using Mapsui.Layers;
using BruTile;
using BruTile.Predefined;
using BruTile.Web;
using BruTile.Wmsc;

namespace App1.Views
{
    public partial class Page1 : ContentPage
    {
        public Page1()
        {
            InitializeComponent();
        }

        protected override void OnAppearing()
        {
            base.OnAppearing();
            {
                mapView.Map = CreateMap();
            }
        }

        public static Map CreateMap()
        {
            var map = new Map();
            map.Layers.Add(CreateLayer());
            return map;
        }

        public static ILayer CreateLayer()
        {
            return new TileLayer(CreateTileSource()) { Name = "Omgevingswarmte (PDOK)" };
        }

        public static ITileSource CreateTileSource()
        {
            const string url = "http://geodata.nationaalgeoregister.nl/omgevingswarmte/wms?SERVICE=WMS&VERSION=1.1.1";
            // You need to know the schema. This can be a problem. Usally it is GlobalSphericalMercator
            var schema = new WkstNederlandSchema { Format = "image/png", Srs = "EPSG:28992" };
            var request = new WmscRequest(new System.Uri(url), schema, new[] { "koudegeslotenwkobuurt" }.ToList(), new string[0].ToList());
            var provider = new HttpTileProvider(request);
            return new TileSource(provider, schema) { Name = "Omgevingswarmte (PDOK)" };
        }
    }
}

You closed this post prematurely.
In the meantime, I found an error in the file "Client.cs" in the routine "private XmlDocument GetRemoteXml(string url)".
You should call the method "r.Read();" after "var r = new XmlTextReader(url, stReader) { XmlResolver = null };" to avoid return "none" in "doc.Load(r);".
This is the correct code
        private XmlDocument GetRemoteXml(string url)
        {
            try
            {
                var doc = new XmlDocument { XmlResolver = null };

                using (var task = _getStreamAsync(url))
                {
                    using (var stReader = new StreamReader(task.Result))
                    {
                        var r = new XmlTextReader(url, stReader) { XmlResolver = null };
                        r.Read();
                        doc.Load(r);
                        task.Result.Close();
                    }
                }

                _nsmgr = new XmlNamespaceManager(doc.NameTable);
                return doc;
            }
            catch (Exception ex)
            {
                var message = "Could not download capabilities";
                Logger.Log(LogLevel.Warning, message, ex);
                throw new ApplicationException(message, ex);
            }
        }

However some WMS maps works fine but other no.
For example "Spain Orthophoto" works fine (url = "https://www.ign.es/wms-inspire/pnoa-ma", layer = "OI.OrthoimageCoverage").
The WMS map "Italy PCN Cartografia di base IGM  25.000 - Lazio" doesn't work (url = "http://sgi2.isprambiente.it/arcgis/services/raster/igm25k_lazio_wgs/ImageServer/WMSServer", layer = "igm25k_lazio_wgs").

@gpsaliola Thank you, that is valuable feedback. At the moment I am deep in a major refactoring. I hope to have time to look into this next week.

Thank you. Consider that this fix doesn't resolve completely the issue but is a little step in the right direction.
Don't ask me why but some xml are parsed correctly while others need the statement r.Read() to be processed.

You can download a little example that reproduce the WMS map issue here https://www.okmap.org/a/WMSExample.zip.
Thank you!

@gpsaliola Thanks you! samples help a lot. But I can not say when I will have time for this.

If I download the sources to make changes locally, I notice that they are not aligned with the published package (some routines return different data types eg lat / lon instead of point). Am I wrong something?

You need to develop/3.x branch

These are the latest versions available:

The source of 3.0.2 is in the develop/3.x branch.

Ok, thank you!

I have found some WMS providers that report EPSG: 0 instead of EPSG: 3857. Could this be the problem?

There is no EPSG 0. So in this case there is something wrong with the WMS.

This is the link of the WMS service that doesn't work in the example I've posted:
http://sgi2.isprambiente.it/arcgis/services/raster/igm25k_lazio_wgs/ImageServer/WMSServer?SERVICE=WMS&REQUEST=GetCapabilities
This is the returned xml (as you can see there is EPSG:0 that is equivalent to EPSG:3857); could this be the problem?
<WMS_Capabilities xmlns="http://www.opengis.net/wms" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.3.0" xsi:schemaLocation="http://schemas.opengis.net/wms/1.3.0/capabilities_1_3_0.xsd">
<Service>
<Name>WMS</Name>
<Title>SGI_ISPRA_Topografia_1:25k</Title>
<Abstract>Carta Topografica d'Italia alla scala 1:1.25.000 edita da IGM.</Abstract>
<KeywordList>
<Keyword>Topografia, Italia, Paesaggio</Keyword>
</KeywordList>
<OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink" xlink:type="simple" xlink:href="http://sgi2.isprambiente.it/arcgis/services/raster/igm25k_lazio_wgs/ImageServer/WMSServer"/>
<ContactInformation>
<ContactPersonPrimary>
<ContactPerson>Settore coordinamento base dati</ContactPerson>
<ContactOrganization>SUOMAP</ContactOrganization>
</ContactPersonPrimary>
<ContactPosition>Settore coordinamento base dati</ContactPosition>
<ContactAddress>
<AddressType>physical and electronic</AddressType>
<Address>Via V. Brancati 48</Address>
<City>Roma</City>
<StateOrProvince>rm</StateOrProvince>
<PostCode>00144</PostCode>
<Country>Italy</Country>
</ContactAddress>
<ContactVoiceTelephone>+390650074219</ContactVoiceTelephone>
<ContactFacsimileTelephone>+390650074436</ContactFacsimileTelephone>
<EMAIL_ADDRESS></ContactInformation>
<Fees>free</Fees>
<AccessConstraints>I dati pubblicati dal Servizio Geologico d'Italia sono liberi nella consultazione e visualizzazione. L'uso delle informazioni nel rispetto della proprieta' intelletuale e della corretta scala di applicazione del dato. ISPRA non garantisce sulla qualita',la completezza e l'accuratezza dei dati non prodotti direttamente dalla stessa.
Could this be the problem with this map (EPSG:0)?
In Italy this EPSG:0 is still often used.
http://sgi2.isprambiente.it/arcgis/services/raster/igm25k_lazio_wgs/ImageServer/WMSServer?SERVICE=WMS&REQUEST=GetCapabilities

This is a very old issue and a lot has changed in the wms provider so I assume this is fixed. If not please submit a new issue.


Golemancy issue: are whitelists broken?

I was trying to automate my thaumatorium's production of leather and alumentum, however when I made a fill seal, selected whitelist and put in rotten flesh and coal, it didn't work for some reason.
I have a chest 5 blocks away with a provider seal and filled it with one stack of flesh and one of coal.
I have a deft and smart greatwood golem in control of the system.

that is not going to work look at this

Yup, but check out the stock seal added in B14 - it does exactly what you want.


format: auto format the db module

@suvodeep-pyne Thanks.
I agree that these are drawbacks. On balance, I think consistency and the ability to take full advantage of IDE are worth the cost.


Create a container for compiling protobuf

This container should do exactly what make proto does today.  The advantage of using a container is that the user doesn't have to install the protoc tool chain, or risk using the wrong version of the tool chain (which seems to be what's happening in my case).
So make proto simply becomes:
docker run pachyderm/proto .

@sjezewski are you the best person to do this?

I like this idea a lot.
I'm happy to do it, though I think any of us could tackle it

On Mar 30, 2016, at 5:33 PM, Derek Chiang (Enchi Jiang<EMAIL_ADDRESS>wrote:
This container should do exactly what make proto does today. The advantage of using a container is that the user doesn't have to install the protoc tool chain, or risk using the wrong version of the tool chain (which seems to be what's happening in my case).
So make proto simply becomes:
docker run pachyderm/proto .
@sjezewski are you the best person to do this?
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub


AttributeError: 'PosixPath' object has no attribute 'startswith' - No Applet rendering

I'd love to use the applet but when I try to add it to the panel I only receive the following error in the logs and no output.
Nov 25 01:10:36 x330 org.mate.panel.applet.I3AppletFactory[2167]: Traceback (most recent call last): Nov 25 01:10:36 x330 org.mate.panel.applet.I3AppletFactory[2167]:   File "/usr/lib/mate-i3-applet/matei3applet.py", line 6, in <module> Nov 25 01:10:36 x330 org.mate.panel.applet.I3AppletFactory[2167]:     setup_logging() Nov 25 01:10:36 x330 org.mate.panel.applet.I3AppletFactory[2167]:   File "/usr/lib/mate-i3-applet/log.py", line 21, in setup_logging Nov 25 01:10:36 x330 org.mate.panel.applet.I3AppletFactory[2167]:     delay=True, Nov 25 01:10:36 x330 org.mate.panel.applet.I3AppletFactory[2167]:   File "/usr/lib/python3.5/logging/handlers.py", line 202, in __init__ Nov 25 01:10:36 x330 org.mate.panel.applet.I3AppletFactory[2167]:     BaseRotatingHandler.__init__(self, filename, 'a', encoding, delay) Nov 25 01:10:36 x330 org.mate.panel.applet.I3AppletFactory[2167]:   File "/usr/lib/python3.5/logging/handlers.py", line 57, in __init__ Nov 25 01:10:36 x330 org.mate.panel.applet.I3AppletFactory[2167]:     logging.FileHandler.__init__(self, filename, mode, encoding, delay) Nov 25 01:10:36 x330 org.mate.panel.applet.I3AppletFactory[2167]:   File "/usr/lib/python3.5/logging/__init__.py", line 999, in __init__ Nov 25 01:10:36 x330 org.mate.panel.applet.I3AppletFactory[2167]:     self.baseFilename = os.path.abspath(filename) Nov 25 01:10:36 x330 org.mate.panel.applet.I3AppletFactory[2167]:   File "/usr/lib/python3.5/posixpath.py", line 358, in abspath Nov 25 01:10:36 x330 org.mate.panel.applet.I3AppletFactory[2167]:     if not isabs(path): Nov 25 01:10:36 x330 org.mate.panel.applet.I3AppletFactory[2167]:   File "/usr/lib/python3.5/posixpath.py", line 64, in isabs Nov 25 01:10:36 x330 org.mate.panel.applet.I3AppletFactory[2167]:     return s.startswith(sep) Nov 25 01:10:36 x330 org.mate.panel.applet.I3AppletFactory[2167]: AttributeError: 'PosixPath' object has no attribute 'startswith' Nov 25 01:10:36 x330 dbus-daemon[2167]: Activated service 'org.mate.panel.applet.I3AppletFactory' failed: Process org.mate.panel.applet.I3AppletFactory exited with status 1
i3 version <IP_ADDRESS>-262-gcf878da0 (2018-08-28, branch "gaps-next") © 2009 Michael Stapelberg and contributors
MATE Desktop Environment 1.20.3

Nevermind - I figured it out - I was using python3.5 but these methods require python3.6. Once I upgraded things were working fine.

Glad you got unblocked @tott
I think it'd be good to not require python 3.6. I'm going to reopen this and when I get a chance I'll take a look.
At the very least, if 3.6 really is required, I will note that on the README.
Thanks for the report!

This was fixed with the latest release


🐛 [Bug]: 设置主题时，无法导出自带的主题

Version
latest
Vue Version
latest
Link to minimal reproduction

Step to reproduce
按照主题，然后在main 里面引入并设置主题
What is expected
No response
What is actually happening
No response
Any additional comments (optional)
No response

https://github.com/DevCloudFE/vue-devui/issues/1545
has same issues


SAM doesn't run.

When I'm tryuing to open SAM.Picker.exe it's just stuck and nothing happens.

same


PanResponder doesn't begin when TouchableOpacity is inside

<ReactNativeZoomableView >
   <TouchableOpacity
   onPress={() => {}}
   >
       <View style={{ width: 60, height: 60}}/>
   </TouchableOpacity>
</ReactNativeZoomableView

Is there a way to enable dragging when the user initially touches the child view? The dragging currently works when the user is outside the child view.

@felixchan I am not the maintainer but spend a lot of times with this library. Though I think it's impossible to have TouchableOpacity inside ReactNativeZoomableView.
Can you give some example of usecase?

I don't think this is currently possible, sorry. The event is captured by the TouchableOpacity.

This is an interesting use case. We'll think about supporting it in the later versions. For now, the best solution is detect the tap position and respond accordingly.


NID 2016 - Assignment 2 (Generative Art using P5.js)

Share some of the experiments (screenshots/gif) that you have created today using P5.js, and feel free to link to any projects you’ve hosted as well.

function setup() {
createCanvas(600,600);
fill('red');
noStroke();
ellipse(300,300,100,100);
fill('yellow');
ellipse(300,200,50,200);
ellipse(200,300,200,50);
ellipse(300,400,50,200);
ellipse(400,300,200,50);
//fill(255,0,0,150);
ellipse(300,200,50,200);
ellipse(200,300,200,50);
ellipse(300,400,50,200);
ellipse(400,300,200,50);
fill(255,255,0,150);
ellipse(300,300,50);
}
function draw() {
}

@pkd2512 Try sharing some screenshots or gifs instead of the source code! ☺

Hi, this is a work in progress. The colors,position and size of the ellipses which follow the cursor are functions of mouse pointer coordinates.
I wanted the cursor size to increase as it approaches the center of the screen and reduce as it moves away. But have not been able to achieve this accurately yet. Working on it.
One more thing. is this correct way to share our work? Or should I do it in some other manner?

Ok, success

Hello, Tried out P5.js out to make this. It's really kinda addictive. 😄  Let me know what you think. Thanks.

@Siddhantmd Sweet, that’s looking pretty good! In terms of next stages, you could play with some rotation to continously keep rotating the circles along with the mouse interaction. And maybe try a few more shapes next!
As for sharing your work, GIFs are great to give a glimpse of what you’ve made (& LiceCap is for both Win & Mac!), and you can always host your projects like @HTMLdotafreak has done to share an interactive version as well! 😉
@HTMLdotafreak Looking great, and nice to have that hosted on Github! You could next try and work more on the colors that are selected (maybe each burst could have variations of one hue, or a gradual change from one hue to another?) and then think of some interactivity as well (maybe the bursts could happen when you click, or around the area your mouse is?). Love the BOOM! text btw! 👍
Keep sharing your work here, and help out your peers with hosting their projects on Github as well! 😄

For some more ideas, a few projects that I’ve played around with that I showed in the class are hosted on my Processing-playground repo. There are also several more examples available on OpenProcessing where you can also host your P5.js code!

Thanks a lot, Rasagy. 😃  Will add the changes you mentioned. Sounds cool.
Also, Loved your projects, might copy a few ideas and play around. 😉

Thanks Rasagya 😃   I will try the rotation too. Was thinking of adding more functions. Will share when I do.  Saw your projects. Inspiring stuff

Here's something else I made. Using nested for loops. Each row has (no. of row)^2 cells

Random no. of line segments, each beginning where the last ended. Random colors and random stroke weight bw 0-20


Solution

Isnt fixed-eof-issue have fixed EOF?

EOF fixes required

I dont get, do I need it or no, cus I have added and deleted it like 2 times(


Tracking: Nexmark queries optimization

Validation:

Compare the executable plan of RW and other systems. Make sure we are running the same/similar plan(unless it is some non-trivial plan-level optimization).
Make sure when benchmarking, the test is executed with a unified nexmark source instead of 3 separate sources, details in https://github.com/risingwavelabs/risingwave/issues/6747. In short, otherwise join will miss much more than normal and it leads to an ill-structured workload.
Also make sure that the query uses create sink XXX with ( connector = 'blackhole' ) instead of create materialized view as the other system doesn't have a materialized view. Although some plans shown in the sub-issues are still in the form of materialized view.

Optimization Tasks

[ ] #5214
[x] #7682
[x] #7376
[x] #7360
[x] #7290
[x] #7377
[x] #7621
[x] #7924
[x] #7938
[x] #8052
[x] #8065
[x] #8101
[ ] #8123
[x] #8322
[ ] #8510
[x] #8538
[x] #8541
[ ] #8683
[x] #8685
[x] #8687
[x] #8692
[x] #8718
[x] #8732
[ ] #8798
[ ] #8802
[ ] #8848

Watermark
We notice that at https://github.com/nexmark/nexmark/blob/master/nexmark-flink/src/main/resources/queries/ddl_gen.sql#L37, Nexmark's source table has specified watermark as FOR dateTime AS dateTime - INTERVAL '4' SECOND. As watermark helps clean the state table and thus potentially improve the performance of state access, we also track the progress of watermark here:

[ ] #6042

The queries

[ ] #8712
[x] #7353 can remove the exchange before blackhole sink.
[ ] perf: nexmark q2
[ ] #8157
[x] #6619
[ ] #7343
[ ] #7244 requests interval join, which is covered by band join https://github.com/risingwavelabs/rfcs/pull/32
[ ] #8158
[ ] #7341 requests append-only Group Top-N (N = 1).
[ ] perf: nexmark q10
[ ] #8503
[x] #7350
[x] #7271 requests shuffle aggregation instead of 2-phase when encountering distinct aggregation with Group By. After this, all aggregation with Group By(non-simple) will no longer choose 2-phase aggregation.
[ ] #7351
[x] #7284 requests append-only Group Top-N (N = 1).
[ ] #8160
[ ] #8161
[ ] #8162

Queries made up by @BugenZhao to cover stream operators that are not covered by the standard Nexmark:

[ ] #8163
[ ] #8164
[ ] #8165
[x] #8166
[x] #8167
[ ] #8263

q15, q16, q17 have similar query patterns,
and they may suffer from the same problem.

Q6 requires AVG over
Q11 requires session_start
Q12 requires proc_time
Q13 requires 'proc_timeQ14 requirescount_char` UDF


add my name to driver contributor list

Signed-off-by: Miguel Quintero<EMAIL_ADDRESS>

LGTM

LGTM

LGTM


Allow overriding Make variables related to image OS and OS version

Allow overriding Make variables related to image OS and OS version so these can be read in from the environment.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/approve

/cherrypick release-0.19


Fix failing CI due to unformatted .clang-format

Description
Properly formatted .clang-format.
Requirements
Before submitting this PR, please make sure:

[x] The code builds cleanly without new errors or warnings
[x] The code passes all the existing tests
[x] If this PR adds a new feature, new tests have been added to test these
new features
[x] All relevant documentation has been updated or added

Additionally, if this PR contains code authored by new contributors:

[x] All the authors are covered by a valid contributor assignment agreement,
signed by the employer if needed, provided to ETH Zurich
[x] The names of all the new contributors have been added to an updated
version of the AUTHORS.rst file included in the PR

I can't get the pre-commit hook to fail for this file on my machine. if this is an issue the golden way would be to fix the pre-commit as well...

I can't get the pre-commit hook to fail for this file on my machine. if this is an issue the golden way would be to fix the pre-commit as well...

I agree, had the same issue and it seems like the .clang-format was ignored locally because it was not detected as a YAML file for whatever reason. But it does not seem to be a very important issue to me, and I didn’t want to spend too much time in looking at the GitHub actions setup, trying on a clean venv etc. So I will just merge this one for now. But if you like, of course feel free to investigate further!


If using extension of TestMethodAttribute then please contact vendor (ThreadSafeStringWriter)

Description
Parallel tests are failing sporadically if they are writing to console output.
Steps to reproduce

Create default project dotnet new mstest
Add many classes with tests
Put Console.WriteLine("abc") in tests body
Allow tests to be executed in parallel [assembly: Parallelize(Scope = ExecutionScope.ClassLevel)]
Update mstest packages to version 2.2.9

Execute all tests via dotnet test many times and sometimes different error messages appear.
Exception thrown while executing test. If using extension of TestMethodAttribute then please contact vendor. Error message: An item with the same key has already been added. Key: out, Stack trace:    at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
   at System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value)
   at Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.ThreadSafeStringWriter.GetOrAddStringBuilder()
   at Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.ThreadSafeStringWriter..ctor(IFormatProvider formatProvider, String outputType)
   at Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.Execution.LogMessageListener..ctor(Boolean captureDebugTraces)
   at Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.Execution.TestMethodInfo.Invoke(Object[] arguments)
   at Microsoft.VisualStudio.TestTools.UnitTesting.TestMethodAttribute.Execute(ITestMethod testMethod)
   at Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.Execution.TestMethodRunner.ExecuteTest(TestMethodInfo testMethodInfo)

or
An exception occurred while invoking executor 'executor://mstestadapter/v2': One or more errors occurred. (An item with the same key has already been added. Key: context)
Stack trace:
   at System.Threading.Tasks.Task.WaitAllCore(Task[] tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.Execution.TestExecutionManager.ExecuteTestsInSource(IEnumerable`1 tests, IRunContext runContext, IFrameworkHandle frameworkHandle, String source, Boolean isDeploymentDone)
   at Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.Execution.TestExecutionManager.ExecuteTests(IEnumerable`1 tests, IRunContext runContext, IFrameworkHandle frameworkHandle, Boolean isDeploymentDone)
   at Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.Execution.TestExecutionManager.RunTests(IEnumerable`1 sources, IRunContext runContext, IFrameworkHandle frameworkHandle, TestRunCancellationToken cancellationToken)
   at Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.MSTestExecutor.RunTests(IEnumerable`1 sources, IRunContext runContext, IFrameworkHandle frameworkHandle)
   at Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.Execution.RunTestsWithSources.InvokeExecutor(LazyExtension`2 executor, Tuple`2 executorUriExtensionTuple, RunContext runContext, IFrameworkHandle frameworkHandle)
   at Microsoft.VisualStudio.TestPlatform.CrossPlatEngine.Execution.BaseRunTests.RunTestInternalWithExecutors(IEnumerable`1 executorUriExtensionMap, Int64 totalTests)

Inner exception: An item with the same key has already been added. Key: context

Stack trace:
   at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
   at System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value)
   at Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.ThreadSafeStringWriter.GetOrAddStringBuilder()
   at Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.ThreadSafeStringWriter..ctor(IFormatProvider formatProvider, String outputType)
   at Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.Execution.UnitTestRunner.RunSingleTest(TestMethod testMethod, IDictionary`2 testContextProperties)
   at Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.Execution.TestExecutionManager.ExecuteTestsWithTestRunner(IEnumerable`1 tests, IRunContext runContext, ITestExecutionRecorder testExecutionRecorder, String source, IDictionary`2 sourceLevelParameters, UnitTestRunner testRunner)
   at Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.Execution.TestExecutionManager.<>c__DisplayClass17_1.<ExecuteTestsInSource>b__6()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.<>c.<.cctor>b__272_0(Object obj)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)

or
 An item with the same key has already been added. Key: err
  Stack Trace:
     at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)
   at System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value)
   at Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.ThreadSafeStringWriter.GetOrAddStringBuilder()
   at Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.ThreadSafeStringWriter..ctor(IFormatProvider formatProvider, String outputType)

or
 Operations that change non-concurrent collections must have exclusive access. A concurrent update was performed on this collection and corrupted its state. The collection's state is no longer correct.
  Stack Trace:
     at System.Collections.Generic.Dictionary`2.Remove(TKey key)
   at Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.ThreadSafeStringWriter.Dispose(Boolean disposing)
   at System.IO.TextWriter.Dispose()

Everything is related to MSTestAdapter.PlatformServices.ThreadSafeStringWriter.
Versions
<PackageReference Include="MSTest.TestAdapter" Version="2.2.9" />
<PackageReference Include="MSTest.TestFramework" Version="2.2.9" />

Also reproducible in 2.2.8.

Oops, please transfer this issue into correct repo https://github.com/microsoft/testfx


Handle deep matching in case expressions

https://tickets.puppetlabs.com/browse/PUP-4277

Ported to JIRA as NPUP-9.


Add camx as possible model

I just realized that I forgot to do this.
This just adds the CAMx reader as a possible model. It has been in MONETIO for a while now, and I have been using it in my fork, but (stupidly) never committed it to the main repo.
Cheers
Pablo
PD: I don't know who I should @. @rschwant ? @zmoon ?

I am sorry for all the noise, I updated things into the wrong branch. If I did it correctly, there should only be 3 lines of changes (in the driver) to add CAMx


Feature Request: Tapo C310

Hi, is there anyway of updating the component for the Tapo C310? It has 3 settings for resolution 720p / 1080p / 3MP , when adding the camera to the component within home assistant it shows HD and SD. Im not quite sure whether the HD setting is 1080p or the 3MP one, if its not the 3MP one can that be added?
Lastly just want to say thank you for doing this integration it works great within home assistant.

Hey,
What are the resolutions for rtsp and could you please provide links for them?
If there is a new endpoint I can add it.

Hi, sorry for the delayed reply, I have been waiting on an email from tp-link, there is no rtsp url for the 3MP stream, you use the 1080p stream and set the app to 3MP, to view 3MP over rtsp. So it’s all good! Thanks


oddity found with miniupnpc download tarball

Oddity: miniupnpc-2.0.20170509.tar.gz as downloaded by the depends system versus from the same URL by browser download (Firefox) produces a tarball with two different sha256sums:
By browser:    b0dbfeafb674b7e2dbb53b9ae071031c34258d94f6224ddb6c17cc20b0f9b3d2
By depends or wget: d3c368627f5cdfb66d3ebd64ca39ba54d6ff14a61966dbecb8dd296b7039f16a
The dashcore build expects the second.
Relevant path in source tree: dash-<IP_ADDRESS>-rc1/depends/packages/miniupnpc.mk
The URL is the same: http://miniupnp.free.fr/files/miniupnpc-2.0.20170509.tar.gz
Am I crazy? This may or may not be relevant, but ... so odd. Going to try different browsers.
UPDATE: Download by wget (I haven't tried curl) and you get the tarball with the sha256sum you want. Download by Firefox or Chrome and you get the one that ends in 9b3d2
I don't know how important this is, but getting two slightly different tar.gz files from the same source URL is... bizarre.

> sha256sum miniupnpc-2.0.20170509.tar.gz
d3c368627f5cdfb66d3ebd64ca39ba54d6ff14a61966dbecb8dd296b7039f16a  miniupnpc-2.0.20170509.tar.gz
> gunzip miniupnpc-2.0.20170509.tar.gz
> sha256sum miniupnpc-2.0.20170509.tar
b0dbfeafb674b7e2dbb53b9ae071031c34258d94f6224ddb6c17cc20b0f9b3d2  miniupnpc-2.0.20170509.tar

Oh, wow. Interesting. I am going to inform miniupnpc folks about this. Just wanted to make you aware. It's a non-issue.

Yeah, browsers are simply too "smart" - they extract .gz files without asking.

I talked to the miniupnp guys. They found a header setting that was causing this.
As an aside, they said that they preferred you guys used this server instead:
https://miniupnp.tuxfamily.org/files/miniupnpc-2.0.20170509.tar.gz
Reopening for that. Use this information as you see fit. :)

Fixed by #3452


Add benchmark test workflow

1. add benchmark workflow to help trigger a benchmark test before version bump. Now the report and performance metrics should be observerd manually
2. file permission bugfix in daily run and remove unused py10 download.
3. remove cuda index for pr test, pr test will run on pytorch with cuda12.

bench mark test workflow:
https://github.com/zhulinJulia24/lmdeploy/actions/runs/8463086063
https://github.com/zhulinJulia24/lmdeploy/actions/runs/8462649468
https://github.com/zhulinJulia24/lmdeploy/actions/runs/8464162029
pr_test is test


cmd/go: gcc include error

What version of Go are you using (go version)?
go version devel +4b2f7b4 Sat May 6 01:28:38 2017 +0000 windows/amd64
What did you do?
main.go
package main

//#cgo CFLAGS: -Iinc
//#include "foo.h"
import "C"

func main() {
	println(C.FOO)
}

inc\foo.h
#define FOO	5

go build main.go
.\main.go:4:10: fatal error: foo.h: No such file or directory
//#include "foo.h"
^~~~~~~
compilation terminated.
go1.8.1 is ok.

Put main.go into a package a use
go build github.com/you/yourproject
To build the package, rather than the file.
Explanation: when you involve go build (or run, or text) with a set of
file, rather than a package, the source code is compiled in a synthetic
package constructed in /tmp, which is why the file foo.h is not found.
On Sat, 6 May 2017, 18:10 zan<EMAIL_ADDRESS>wrote:

Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
go version devel +4b2f7b4 Sat May 6 01:28:38 2017 +0000 windows/amd64
What did you do?
main.go
`package main
//#cgo CFLAGS: -Iinc
//#include "foo.h"
import "C"
func main() {
println(C.FOO)
}
inc\foo.h#define FOO 5
`
go build main.go
/d/GoLang/projects/test/foo
.\main.go:4:10: fatal error: foo.h: No such file or directory
//#include "foo.h"
^~~~~~~
compilation terminated.
go1.8.1 is ok.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/golang/go/issues/20266, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAcA-uVz3HTrhqO5zTCscOevneVrC72ks5r3Cr5gaJpZM4NSq57
.

If Go 1.8 is okay and tip is not, though, I want to make sure this was intentional.
/cc @rsc @ianlancetaylor

Works for me using both Go 1.8 and Go 1.9.
For the failing case please show us the output of go build -x main.go.

please show us the output of go build -x main.go.

Fails for me on the tip on both windows-amd64 and linux-amd64:
c:\Users\Alex\dev\src\issues\issue20266>dir
 Volume in drive C has no label.
 Volume Serial Number is F0C8-6DFE

 Directory of c:\Users\Alex\dev\src\issues\issue20266

07/05/2017  11:40 AM    <DIR>          .
07/05/2017  11:40 AM    <DIR>          ..
07/05/2017  11:40 AM    <DIR>          inc
07/05/2017  11:38 AM               105 main.go
               1 File(s)            105 bytes
               3 Dir(s)  82,081,398,784 bytes free

c:\Users\Alex\dev\src\issues\issue20266>type main.go
package main

//#cgo CFLAGS: -Iinc
//#include "foo.h"
import "C"

func main() {
        println(C.FOO)
}
c:\Users\Alex\dev\src\issues\issue20266>type inc\foo.h
#define FOO     5

c:\Users\Alex\dev\src\issues\issue20266>go version
go version devel +5300362 Sun May 7 01:26:02 2017 +0000 windows/amd64

c:\Users\Alex\dev\src\issues\issue20266>go build -x
WORK=C:\Users\Alex\AppData\Local\Temp\go-build643016190
mkdir -p $WORK\issues\issue20266\_obj\
mkdir -p $WORK\issues\issue20266\_obj\exe\
cd c:\users\alex\dev\src\issues\issue20266
CGO_LDFLAGS="-g" "-O2" "c:\\users\\alex\\dev\\go\\pkg\\tool\\windows_amd64\\cgo.exe" -objdir "C:\\Users\\Alex\\AppData\\Local\\Temp\\go-build643016190\\issues\\issue20266\\_obj\\" -importpath issues/issue20266 -- -I "C:\\Users\\Alex\\AppData\\Local\\Temp\\go-build643016190\\issues\\issue20266\\_obj\\" -g -O2 -Iinc main.go
cd $WORK
gcc -fdebug-prefix-map=a=b -c trivial.c
gcc -gno-record-gcc-switches -c trivial.c
cd $WORK\issues\issue20266\_obj
gcc -I "c:\\users\\alex\\dev\\src\\issues\\issue20266" -m64 -mthreads -fmessage-length=0 "-fdebug-prefix-map=C:\\Users\\Alex\\AppData\\Local\\Temp\\go-build643016190=/tmp/go-build" -gno-record-gcc-switches -I "C:\\Users\\Alex\\AppData\\Local\\Temp\\go-build643016190\\issues\\issue20266\\_obj\\" -g -O2 -Iinc -o "C:\\Users\\Alex\\AppData\\Local\\Temp\\go-build643016190\\issues\\issue20266\\_obj\\_cgo_export.o" -c _cgo_export.c
gcc -I "c:\\users\\alex\\dev\\src\\issues\\issue20266" -m64 -mthreads -fmessage-length=0 "-fdebug-prefix-map=C:\\Users\\Alex\\AppData\\Local\\Temp\\go-build643016190=/tmp/go-build" -gno-record-gcc-switches -I "C:\\Users\\Alex\\AppData\\Local\\Temp\\go-build643016190\\issues\\issue20266\\_obj\\" -g -O2 -Iinc -o "C:\\Users\\Alex\\AppData\\Local\\Temp\\go-build643016190\\issues\\issue20266\\_obj\\main.cgo2.o" -c main.cgo2.c
# issues/issue20266
.\main.go:4:17: fatal error: foo.h: No such file or directory
compilation terminated.

c:\Users\Alex\dev\src\issues\issue20266>

Alex

It seems that https://github.com/golang/go/commit/8ae60dc1bb5183a8e8cd1fe86985ca354904447f is the cause.
https://github.com/golang/go/commit/8ae60dc1bb5183a8e8cd1fe86985ca354904447f converts -o relpath to -o abspath.
But it doesn't handle -I relpath and -L relpath well.

Oh, I see.  It should work to write
-I ${SRCDIR}/inc
See https://golang.org/cmd/cgo/ .
I'm not sure whether we have introduced a new bug or whether your code is relying on undocumented behavior.  I mean, you are definitely using undocumented behavior, and there is a documented workaround, but if a lot of people do what you are doing then perhaps we shouldn't change it.

you are definitely using undocumented behavior, and there is a documented workaround

what's the documented workaround? Using go build pathtopackage, like @davecheney said, doesn't work either, at least not for me.

What didn't work? Could you show what you tried and what happened what you
did, please.
On Mon, 22 May 2017, 19:02 Alessandro Arzilli<EMAIL_ADDRESS>wrote:

you are definitely using undocumented behavior, and there is a documented
workaround
what's the documented workaround? Using go build pathtopackage, like
@davecheney https://github.com/davecheney said, doesn't work either, at
least not for me.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/golang/go/issues/20266#issuecomment-303042002, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAAcA7qGniWCvrkliTGr55UYZW4w3mbiks5r8U8vgaJpZM4NSq57
.

@davecheney never mind, I didn't read all of @ianlancetaylor's message.

This worked as recently as Go 1.8. Seems like we should keep it working for Go 1.9.


Small bug in NoteDurations enum

bug in MidiStreamWriter.cs
Line 53 -             EighthNoteDotted = 73,
This must be 72.
Regards Wim

Well spotted!  Thanks.


Convert History Initialize Echo to use pFlogger

Bonus points if you convert this section to use pflogger instead ...
Originally posted by @tclune in https://github.com/GEOS-ESM/MAPL/pull/1303#discussion_r784337820
The section in question is:
https://github.com/GEOS-ESM/MAPL/blob/779c94be75980f36f0bb05f74d18d81070b03407/gridcomps/History/MAPL_HistoryGridComp.F90#L2452-L2543

Most of this I can picture how to get into logger format.
I'm not too sure about the ADVANCE='NO' writes. Might need @tclune to weigh in on the best way to do that. Maybe logger can "pretty-print" an array in a better way!

For the ADVANCE=NO section, look at using the colon edit descriptor:
https://pages.mtu.edu/~shene/COURSES/cs201/NOTES/chap05/colon.html


nuxt generate always calls api multiple times

A reference to an issue raised earlier here - https://github.com/nuxt-community/prismic-module/issues/77,
especially highlighted in this comment

I am only including the plugin in modules of nuxt config and my app is universal. Not all the pages are using this plugin, only one page called /blog. Even the root of the website is blocked when there is no prismic related calls in index file. To init the API on load I tried to inject it as plugin instead of using in modules (the Vue way) but then it is not available for the server side rendering.

This is an issue for me because I'm only utilising prismic in one of my subdirectories example.com/blog. However, when I generate many other pages in other subdirectories example.com/pages1,example.com/pages2 etc, the prismic API key is somehow always called, resulting in many API calls incurred (thousands of pages generated), and this error is thrown many times.
 ERROR  Failed to init Prismic API, preventing app fatal error.                            23:26:10

 ERROR  request to https://<REPO NAME>.cdn.prismic.io/api/v2?routes=%5B%7B%22type%22%3A%22post%22%2C%22path%22%3A%22%2Fblog%2F%3Auid%22%7D%5D failed, reason: write EPROTO<PHONE_NUMBER>:error:1408F10B:SSL routines:ssl3_get_record:wrong version number:../deps/openssl/openssl/ssl/record/ssl3_record.c:332:

  at ClientRequest.<anonymous> (node_modules/node-fetch/lib/index.js:1461:11)
  at ClientRequest.emit (events.js:311:20)
  at ClientRequest.EventEmitter.emit (domain.js:482:12)
  at TLSSocket.socketErrorListener (_http_client.js:426:9)
  at TLSSocket.emit (events.js:311:20)
  at TLSSocket.EventEmitter.emit (domain.js:482:12)
  at errorOrDestroy (internal/streams/destroy.js:108:12)
  at onwriteError (_stream_writable.js:462:5)
  at onwrite (_stream_writable.js:483:5)
  at internal/streams/destroy.js:50:7
  at TLSSocket.Socket._destroy (net.js:673:5)
  at TLSSocket.destroy (internal/streams/destroy.js:38:8)
  at WriteWrap.onWriteComplete [as oncomplete] (internal/stream_base_commons.js:93:12)

Is there a way to only include the API calls for pages which only require them?

Hey @gabrielsze, thanks for raising your concerns regarding that and taking the time to look for duplicates.
As of writing this there's unfortunately no way to achieve that using this module.
A workaround would be to scale down to @prismicio/vue which might give you more control but might not be as straightforward to use as this module.
However with the new version of @prismicio/client we're now recommending to init the API through the .client method that comes with the benefit initing the API only when needed. We'll check if that's possible to migrate this module API init process to this method without introducing breaking changes.
Let us know if anything!

Update 05/04/2021:

I attempted to migrate the API init process to .client while working on #137. Unfortunately, I discovered a lot of small breaking changes related to this refactor, it mainly changes the way to access the internals of the client (see: https://github.com/prismicio/prismic-javascript/blob/HEAD/src/ResolvedApi.ts#L55-L64) which might cause trouble to some users. This will be part of the module v2 though after we're done refreshing @prismicio/client: https://github.com/prismicio/prismic-javascript/issues/163

Just updated my previous comment as I had an idea about it, landing soon 🙂


SAA-176 add minimal attendance creation to the attendance service for the upcoming cron job.

Adding simple implementation for attendance creation in the service layer for the scheduled cron job to use.  There are business rules missing for the first iteration e.g. not checking for suspensions, inactive allocations and not applying pay rates.

Codecov Report
Base: 73.96% // Head: 75.14% // Increases project coverage by +1.17% :tada:

Coverage data is based on head (7707a24) compared to base (3eeff3c).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff              @@
##               main      #67      +/-   ##
============================================
+ Coverage     73.96%   75.14%   +1.17%
- Complexity      282      288       +6
============================================
  Files            66       66
  Lines          1018     1034      +16
  Branches         25       25
============================================
+ Hits            753      777      +24
+ Misses          248      240       -8
  Partials         17       17

Impacted Files
Coverage Δ

...ivitiesmanagementapi/service/AttendancesService.kt
64.86% <100.00%> (+60.10%)
:arrow_up:

.../hmppsactivitiesmanagementapi/entity/Attendance.kt
100.00% <0.00%> (+5.55%)
:arrow_up:

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Windows - permissions issue with config file

I know Windows doesn't seem to be officially supported, however I cannot get it to work with checking permissions on the config file. I can initially do the setup, save and exit - but running the app again complains that the permission on the config file isn't what it should be:
Permissions on 'C:/Users/user/.imap-backup/config.json' should be 0600, not 0644.
I have no idea what it's expecting to find or how to emulate 0600 chmod in Windows. I tried disabling inheritance on that .imap-backup folder and making only user have permissions to read/write, but it still fails the permissions check.
Any advice would be appreciated. If all else fails I'll maybe make my own fork that just disables the permissions check, or makes it a command line option.

I don't think that is possible. On Windows Ruby only returns either 0644 or 0444 for files. (Source: https://ruby-doc.org/core-2.6.5/File.html, the last paragraphs)
I did some experiments using MSYS and WSL, too. MSYS detects 0644 for most files, while WSL shows 0777. When using chmod to change the permissions to 0600, both appear to succeed, but still show the original permissions. So even using these additional layers it seems to be hopeless.
I'm very interested in using imap-backup on Windows myself, so if you decide to create a fork, you might receive a few pull requests.

@daniel-rikowski good research. What I wound up doing locally is modifying one of the files to bypass the permissions check when loading from config, and it appears to be working 100% fine in native Windows (with the Windows ruby installer). I am not savvy with Ruby, but I can give it a go to see if I can make the check optional. But it's also good to know that imap-backup does indeed work under Windows.

Agreed, skipping the permissions check seems to be the only thing necessary to make imap-backup work on Windows.
I changed lib/imap/backup/utils.rb like this:
def self.check_permissions(filename, limit)
  return if Gem.win_platform? # <---------
  actual = mode(filename)
  return nil if actual.nil?
  # Remaining code
end

Thanks guys.
I'd really like to avoid removing the permissions check on a file with sensitive data in it.
Reading around, it looks like it's possible to set up ACLs for this type of thing. So, I'd prefer to keep this issue open for a while in the hope that someone comes up with a PR that maintains the current guarantees.

@joeyates right, I totally understand why it was done, it just seems like on Windows-based Ruby there's no current way to actually get back a response that would match what is being checked for in the codebase, if I read their docs correctly.

@nicholashead @daniel-rikowski I've relased version 4.0.3 which no longer tries to do any permissions management on Windows. The permissions are simply inherited from the user's home directory, which by default is accessible by the user and admins.

@joeyates thank you! Can confirm it works great.


Unable to import GitHub project with main as default branch

Seeing an error when attempting to import this project: https://github.com/eanders-ms/warm-sprites.
This repo's default branch is main, but the code is requesting master:

It isn't safe to assume a master branch exists, especially as that's no longer the default main branch name in GitHub. They phased it out.
Repro steps:

On the home screen, click the import button.
Choose "Import from URL".
Paste the above "warm-sprites" project URL.
Notice it fails.

Closing this as duplicate of https://github.com/microsoft/pxt-arcade/issues/4165 as that is customer bug.


WIP - Address TODOs in PermissionsIT

This PR attempts to address and remove the TODOs in PermissionsIT

@DomGarguilo - is the plan to still try and fix this for 2.1.0? I may have time this weekend to look at it if you don't have a chance, not sure yet.

@DomGarguilo - is the plan to still try and fix this for 2.1.0? I may have time this weekend to look at it if you don't have a chance, not sure yet.

This kind of fell off my radar. I won't be working on it this weekend so feel free to take a look :+1:

@DomGarguilo - is the plan to still try and fix this for 2.1.0? I may have time this weekend to look at it if you don't have a chance, not sure yet.

This kind of fell off my radar. I won't be working on it this weekend so feel free to take a look +1

Sounds good, I will be doing some testing and documentation stuff but if I have some extra time I will look at this too otherwise just leave it for you. I figured I'd ask to make sure didn't have something already in progress.

@DomGarguilo - I looked at this for about an hour today and tried to get the test working but I had issues getting Kerberos to work properly with the clients/server, etc as I haven't used it much before. There is a good amount of configuration and setup here to get everything working even with all the helper utilities in the parent class. I don't have anymore time to look at it so you or someone else will have to come back to it later but this is obviously not super high priority and can be done when someone has more time to fix it.

@cshannon I opted to just replace the TODO comments and open up https://github.com/apache/accumulo/issues/3027 in their place. Let me know if you think this is fine or if I should remove the whole if statements and comments all together.

@cshannon I opted to just replace the TODO comments and open up #3027 in their place. Let me know if you think this is fine or if I should remove the whole if statements and comments all together.

I'm ok either leaving the comment and if statement to fill in later or just removing it as it's just a test class. The new updated comment here is still basically a TODO (without calling it TODO) so not sure it's any better than before. To me the best way to track it is the new issue which you just created so I'm not sure we need to leave it and maybe can just remove the entire empty if statement block. @ctubbsii - any opinion on this?

@ctubbsii - any opinion on this?

The advantage of doing this is that it clears the TODO from the code, so we know we've triaged it. If it stays as a TODO, then somebody might create another ticket later. So, let's merge this.


ci: removes @hyperledger scope auth

Description:
Apollo is not part of GHCR anymore. Removing authentication node setup
Checklist:

[ ] My PR follows the contribution guidelines of this project
[ ] My PR is free of third-party dependencies that don't comply with the Allowlist
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have checked the PR title to follow the conventional commit specification

Pull Request Test Coverage Report for Build<PHONE_NUMBER>1
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.07%) to 72.203%

Totals

Change from base Build<PHONE_NUMBER>5:
0.07%

Covered Lines:
2777

Relevant Lines:
3655

💛  - Coveralls