Significant slowdown when open a Julia with in single file mode

Problem description
When we open a Julia file using the LSP installed by Mason and configured by maons-lspconfig, we see a huge slowdown when opening in single file mode. This slowdown does not happen if you open the file inside a Julia project, for example, or if you set the configuration env_path.
Why do you think this is an issue with mason-lspconfig.nvim?
mason-lspconfig provides a clever way to select which environment Julia LSP will use:

Use julia_env_path if it is defined.
Search for a Julia project folder.
Call Julia to obtain the default environment.

However, step 3 causes a huge Neovim slowdown (UI lock) because it must wait Julia to startup, evaluate the default environment, and exit (https://github.com/williamboman/mason-lspconfig.nvim/blob/a4caa0d083aab56f6cd5acf2d42331b74614a585/lua/mason-lspconfig/server_configurations/julials/init.lua#L20).
This approach is robust  because it will work most of the time with the default configuration. The problem happens when you work with a lot stand alone files. In this case, if you do not setup julia_env_path, you have almost 2 s of delay every time you open a Julia file.
Here is the time it takes for Julia to retrieve the env path in my machine (M1 Ultra):
$ time julia --startup-file=no --history-file=no -e "using Pkg; print(dirname(Pkg.Types.Context().env.project_file))"
/Users/Ronan/.julia/environments/v1.10julia --startup-file=no --history-file=no -e   1.62s user 0.92s system 504% cpu 0.504 total

Setting julia_env_path is not a global solution here, because most of time you are working in a project, you want to use the environment of that project and julia_env_path overrides everything.
There are some solutions (when we decided which one is best I submit a PR):

Change the logic to always try to find a Julia project folder before considering julia_env_path (bad, it will break some setups).
Add a new variable (default_julia_env_path or something) which shall be used instead querying Julia for the default environment path (adds a new variable and can be a little confusing).
Make that pcall asynchronous somehow (I do not know if it is possible).
Suggestions ?

Neovim version (>= 0.7)
NVIM v0.10.0
Build type: Release
LuaJIT 2.1.1716656478
Run "nvim -V1 -v" for more info
Operating system/version
macOS 14.5
I've manually reviewed the Nvim LPS client log (:LspLog) to find potential errors

[X] Yes

I've recently downloaded the latest plugin version of mason.nvim, mason-lspconfig.nvim, and nvim-lspconfig

[X] Yes

Affected language servers
julials
Steps to reproduce

Configure julials with default values without setting env_path.
Start neovim and opens a Julia file in a folder that is neither a git or Julia project repositories.
Configure env_path.
Start neovim and opens the same Julia file in step 2.

Actual behavior
Neovim UI locks in step 2 but the lock is gone in step 4.
Expected behavior
Neovim UI should not lock or, at least, we need a new way to avoid locking.
LspInfo
N/A, the issue was identified in the source code.

LspLog
N/A, the issue was identified in the source code.

Healthcheck
N/A, the issue was identified in the source code.

Screenshots or recordings
No response

For anyone with this problem, the temporary solution is to add this configuration to julials:
  julials = {
    julia_env_path = "~/.julia/environments/v1.10/",

    settings = {
      julia = {
        inlayHints = {
          static = {
            enabled = true,
            variableTypes = {
              enabled = false
            },
            parameterNames = "all"
          }
        }
      }
    },

    on_new_config = function(config, workspace_dir)
      local _    = require("mason-core.functional")
      local fs   = require("mason-core.fs")
      local path = require("mason-core.path")

      -- The default configuration used by `mason-lspconfig`:
      --
      --   https://github.com/williamboman/mason-lspconfig.nvim/blob/main/lua/mason-lspconfig/server_configurations/julials/init.lua
      --
      -- has the following logic to obtain the current environment path:
      --
      --   1. Check if `env_path` is defined.
      --   2. Check if we are in a Julia project.
      --   3. Call julia to return the current env path.
      --
      -- However, the third step causes a significant slow down when Julia is called in a
      -- single file mode because it must wait loading Julia. Here, we will invert the
      -- logic:
      --
      --   1. Check if we are in a Julia project.
      --   2. Check if `env_path` is defined.
      --   3. Call julia to return the current env path.
      --
      -- Hence, if we define `env_path`, we can still use the project folder as root and
      -- avoid the slowdown in the single file case.
      local env_path = nil
      local file_exists = _.compose(fs.sync.file_exists, path.concat, _.concat { workspace_dir })
      if (file_exists { "Project.toml" } and file_exists { "Manifest.toml" }) or
        (file_exists { "JuliaProject.toml" } and file_exists { "JuliaManifest.toml" }) then
        env_path = workspace_dir
      end

      if not env_path then
        env_path = config.julia_env_path and vim.fn.expand(config.julia_env_path)
      end

      if not env_path then
        local ok, env = pcall(vim.fn.system, {
          "julia",
          "--startup-file=no",
          "--history-file=no",
          "-e",
          "using Pkg; print(dirname(Pkg.Types.Context().env.project_file))",
        })
        if ok then
          env_path = env
        end
      end

      config.cmd = {
        vim.fn.exepath "julia-lsp",
        env_path,
      }
      config.cmd_env = vim.tbl_extend("keep", config.cmd_env or {}, {
        SYMBOL_SERVER = config.symbol_server,
        SYMBOL_CACHE_DOWNLOAD = (config.symbol_cache_download == false) and "0" or "1",
      })
    end,
  },


Deploy backup component to host clusters

For now, as per other cluster except stg-rh01, only create the application which contains only the external secrets to access the AWS bucket.
RHTAPSRE-259

/retest-required

/lgtm

/retest-required

/test appstudio-e2e-tests

(previously failed on infra-related issue)
/test appstudio-e2e-tests

(same infra issue again)
/test appstudio-e2e-tests

@hugares I don't have enough knowledge of the content of this PR, but do you think the infra-related failures in the CI job (appstudio-e2e-tests) could be due to it?
Because all of the previous 6 CI runs of that job failed on setting up the infra.

/test appstudio-e2e-tests

@hugares I don't have enough knowledge of the content of this PR, but do you think the infra-related failures in the CI job (appstudio-e2e-tests) could be due to it?
Because all of the previous 6 CI runs of that job failed on setting up the infra.

Yeah, it looks like this change is breaking the deployment, I will look into it. Thanks for checking.

/lgtm


"error creating time string" crashes Ferret on overlay, with XT shade and large/missing time values

Reported by andrew wittenberg on 5 Nov 2014 00:20 UTC
This is a new crash in versions 6.926 (10/8/14) and later.  There was no such crash in v6.925 (9/29/14) and earlier.
I will attach the obs.nc.
The overlay here actually doesn't make much sense -- nevertheless, it'd be better if Ferret issued an informative error, rather than crashing.
 	NOAA/PMEL TMAP
 	FERRET v6.93 (beta)
 	Linux 2.6.32-504.el6.x86_64 64-bit - 10/29/14
 	 4-Nov-14 19:10

yes? use obs.nc
yes? shade obs
yes? plot/ov/vs/line {120,280,,120,280},1e6*{-12,-12,,12,12}
 **TMAP ERR: error creating time string
<<<Ferret crashes>>>

Migrated-From: http://dunkel.pmel.noaa.gov/trac/ferret/ticket/2216

Comment by ansley.b.manke on 5 Nov 2014 19:22 UTC
12.e6 translates to year 32855. I'd added some checking on the date information in the course of fixing #2204.
There are checks elsewhere in the code which make this harmless. The (internal) time string gets written as
19-MAR-**** 00:00:00

and other things down the line see that and do something reasonable. This is what's always been done with apparently no harm.  The -12e6 is also treated internally in such a way as to make it harmless.
We could issue a note,
yes? use obs
yes? shade obs
yes? plot/ov/vs/line {120,280,,120,280},1e6*{-12,-12,,12,12}
 *** NOTE: Time out of range 19-MAR-**** 00:00:00

But I'm inclined to just go back to the old behavior. The change that caused this bug was NOT necessary for the fix to bug #2204

Comment by ansley.b.manke on 5 Nov 2014 23:59 UTC
Fixed, restoring the original behavior.

Attachment from andrew.wittenberg on 5 Nov 2014 00:21 UTC
obs.nc
REPLACE THIS TEXT WITH UPLOADED FILE ./attachments/TRAC_2216_GIT_1488/obs.nc.gz


As a new customer I would like to register to have access to autobookr

user can register to autobookr redirects to the home page
added flask messages
sends to database


Add osx build.

Error:  Packages missing in current osx-64 channels:

bob.measure

bob.learn.linear

bob.db.base

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


Plt 5848 get contract

Changes in this PR:

[x] Updated and unified query protocol so chain-sync, marlowe-sync, and marlowe-contract all use the same query protocol.
[x] Added new contract query API to marlowe-contract
[x] Added contract query sub-protocol to marlowe-proxy
[x] Added contract store query - get contract by hash
[x] Added Runtime CLI query commands

Pre-submit checklist:

Branch

[x] Tests are provided (if possible)
[ ] Test report is updated (if relevant)
[x] Commit sequence broadly makes sense
[x] Key commits have useful messages
[ ] Relevant tickets are mentioned in commit messages
[x] Formatting, PNG optimization, etc. are updated

PR

[x] Self-reviewed the diff
[x] Useful pull request description

Review required
[x] Substantial changes to code, test, or documentation
[ ] Change made to Marlowe validator (@bwbush and @palas must be included as reviewers)
Review not required
[ ] Minor changes to non-critical code, documentation, nix derivations, configuration files, or scripts
[ ] Formatting, spelling, grammar, or reorganization

[x] Reviewer requested

Will the format/organization of the file store for contracts always be forward compatible, or do we have to version it? For some users, it might be the only record they have of the continuations, so they'll want it forever usable in new versions of Marlowe Runtime.

Good question. As long as the .contract files are always forward-compatible, we should be fine. The .closure and .adjacency files are basically just precomputed data from the .contract files. I don't see a reason why the .contract files would ever need to change.


rm a "magic" string check in hash calculation

rm a "magic" string check in hash calculation
Signed-off-by: Ivan Mikushin<EMAIL_ADDRESS>

LGTM

LGTM 🐸


Change vagrant requirements

Related to https://github.com/Islandora-CLAW/CLAW/issues/837
Now that all the vagrant boxes have been migrated from HashiCorp to Atlas you need a 2.0.0+ version of Vagrant or it can't load the base boxes.
This updates the documentation to specify you must have at least 2.0.1 - 2.0.5.
There could be a discussion about whether we remove the upper limit.
I just added a message that it might work, but is untested. We could add instructions on how to change that restriction... 🤷♂
@Islandora-Devops/committers and @seth-shaw-unlv
@seth-shaw-unlv you are not a member of this (Islandora-Devops) organization so I couldn't add you to the committers group. Can you join and I can add you to the team, as I find listing all the committers annoying.

I went looking for a "join" button, but I can't seem to find one. Does someone need to invite me?

Hmmm not sure, @dannylamb / @manez / @jonathangreen could one of you add @seth-shaw-unlv to the Islandora-Devops organization.

Invitation sent! @whikloj @seth-shaw-unlv


Sandbox login steps

This is a list of the steps I use for logging into the sandbox.
*Note: if you are working in the office you might not need to connect to the VPN to access the Bastion server
Connect to the VPN
SSH into the Bastion server
Using Putty:

SSH into the head node
ssh -i ~/.ssh/ioos.pem<EMAIL_ADDRESS>Do science
Email from Arnold about accounts:
Welcome IOOS Bastion User,
I hope this message finds you well. I am writing to inform you that you have been granted access to the IOOS Bastion (IP: ...**) in the Coastal Modeling Sandbox. This access is an important part of our ongoing projects and collaborations.
Linux Username: Please note that your Linux username for accessing the Bastion is the same as the name of the Google Drive folder name being shared with you. It follows the format of your first and last name in lowercase, separated by a dot (e.g., john.doe).
Access Requirements:

Connection to the ERAV VPN is mandatory before accessing the Bastion. This can be achieved using the Cisco AnyConnect client.

Your SSH keys (id_rsa and id_rsa.pub) have been provided in the Google Drive folder specifically shared with your email.

Instructions for Using SSH Keys:
Windows Users:
Windows Native SSH Client:

Download the id_rsa and id_rsa.pub files from your Google Drive folder.

Move these files to the .ssh directory located in your user folder (e.g., C:\Users[YourUsername].ssh). If the directory does not exist, create it.

Right-click on the Start button and select 'Windows PowerShell' or 'Command Prompt'.

To ensure the SSH client can use your private key, set the correct permissions: Execute icacls .ssh\id_rsa /inheritance:r /grant:r "%username%:r" within the PowerShell or Command Prompt.

To connect to the Bastion, use the following command: ssh [your.username]@[***.**.**.***](http://***.**.**.***/)

PuTTY Users:

Download the id_rsa file from your Google Drive folder.

Download and open PuTTYgen (available from the PuTTY download page).

In PuTTYgen, click 'Load' and select the id_rsa file. It will prompt that it successfully imported the foreign key.

Click 'Save private key' to save the key in PuTTY’s format (.ppk file). You can save it with the same name for consistency.

Open PuTTY, enter the Host Name ***.**.**.*** and ensure the Port is set to 22.

Go to Connection > SSH > Auth. Under "Private key file for authentication:", browse and select your .ppk file.

Go back to the Session page, enter a name under 'Saved Sessions', and click 'Save' to save these settings.

Click 'Open' to initiate the connection. Enter your Linux username when prompted.

Important: Please handle your SSH keys with utmost care and never share them with others. These keys provide secure, encrypted access to critical systems.
Should you have any questions or require further assistance, please do not hesitate to reach out.

@ZacharyWills I obscured the IP addresses and didn't put a screenshot of the Bastion server screen because I wasn't sure if we should show the IP addresses in here. I can change it if you think it's though.

Perhaps this should be moved to be a permanent document as a README or SOP.

@Zachary Wills - NOAA Affiliate @.***> I put the
information in there for you. It does scream SOP to me when I look at it
too. What do you think? Should we move it?
Michael
On Mon, May 13, 2024 at 10:20 AM Chris Paternostro @.***>
wrote:

Perhaps this should be moved to be a permanent document as a README or SOP.
—
Reply to this email directly, view it on GitHub
https://github.com/ioos/Cloud-Sandbox/issues/85#issuecomment-2107714082,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AR7UUIFAGZK5IGLDVEGOIXTZCDD25AVCNFSM6AAAAABG3POR7GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBXG4YTIMBYGI
.
You are receiving this because you authored the thread.Message ID:
@.***>

From Jiantao Xu in CO-OPS related to accessing through the CO-OPS system
Notes:
Please be on CO-OPS VPN to access the IOOS cloud servers.
You should use your individual ssh keys. Please reach out to Michael Lalime<EMAIL_ADDRESS>if you haven’t received them through a shared google folder with your keys.
Bastion server (server name: ioos-bastion, IP: <IP_ADDRESS>). Bastion server is your login node with low memory and disk space. Please only use it as a gateway to the computing nodes.
Cloud computing environment head node (IP: <IP_ADDRESS>). IMPORTANT:  Currently IOOS only sets up one user account (ec2-user) on the head node, which means all people use the same account to access the computing environment. Therefore, after you access this server, please don't delete any files/folders that are not created by you. Please create your own folder under the CO-OPS directory and work under your folder only. IOOS will create a CO-OPS working group and look into individual accounts.
For Windows with Tectia:

Download "id_rsa" and "id_rsa.pub" from the Google Drive folder (Please refer to Notes No. 2 above).
Save the files "id_rsa" and "id_rsa.pub" to C:\Users[first.last|YourAccount]\AppData\Roaming\SSH\UserKeys\
Add a profile in Tectia.
i) From the Tectia window, click on Profiles, then Add Profile….
ii) Then as shown in the following figure, type in the Profile name (you can choose a different name), hostname (exactly as it appears) and your user name, and click OK.

From the Tectia window, click profiles from the menu and choose the profile name you choose for the IOOS bastion and you will be connected to the bastion.

Now you’re on the IOOS Bastion server. At the command line, type the following command to connect to the head node where you can carry out all your development and testing work:
ssh -i ~/.ssh/ioos.pem -o IdentitiesOnly=yes<EMAIL_ADDRESS>You may or may not need the option in red depending on the Tectia configuration.
For convenience, the IOOS team also saved the command in a script east2b.sh under your home directory and you can run the script directly to connect to the head node.   IOOS also created a script called IOeast2b.sh that contains the -o IdentitiesOnly=yes option in case you need to use that option. So you can use either ./east2b.sh or ./IOeast2b.sh to connect to the head node.

For Linux/Unix (For CO-OPS modeling team, this will be ofswork-east1):

Download "id_rsa" and "id_rsa.pub" from the Google Drive folder.
Save the files "id_rsa" and "id_rsa.pub" to your "work-east" server directory ".ssh" under your home account, and change these two files' permission by typing command:
chmod 600 ~/.ssh/id_*
At the command line, type the following command to connect to IOOS bastion:
ssh -i ~/.ssh/id_rsa<EMAIL_ADDRESS>Replace first.last with your account information.
First time when you access, please type "yes" to save the information.  Once you answer "yes" for the first time, this question should never appear again.
Now you’re on the IOOS Bastion server. At the command line, type the following command to connect to the head node where you can carry out all your development and testing work:
ssh -i ~/.ssh/ioos.pem<EMAIL_ADDRESS>


[BUG] MIDI Console app will not ESC on midi endpoint monitor if heavy data streaming

Applies To
midi console application
Describe the bug
When monitoring a USB device that is streaming constant data, the console app does not seem to notice the esc button pressed until data stops flowing, eg. unplug of USB device and waiting for buffer display to catch up.
Although this is not normal operation, just noted that can occur. We are talking about 4 UMP MIDI 2.0 messages sent in USB packet back to back, so lots of data.
To Reproduce
On ProtoZOA, use load in Issue https://github.com/microsoft/MIDI/issues/165 which will send the back to back UMP data.
Expected behavior
Should be able to esc from the midi endpoint monitor at any time regardless of amount of data streaming. Otherwise need to wait until all buffers are clear to eventually esc out of program.

Fixed in main.


Linux Version is too long. It cannot be more than 4000 characters

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Describe the bug
When attempting to create an Azure WebApp with Containers using Docker-Compose, our file is over 4000 characters when base64 encoded. As such, we can no longer run azure web app for containers.
To Reproduce
Create a docker-compose file with enough services to breach the 4000 character limit with base64 encoding.
Expected behavior
The backend storage should be able to have a more than 4000 character limit, or store the docker-compose file differently.
Environment summary
We are setting up the environment using terraform, but I know it's not a terraform limitation. It's not an azure cli issue either, but I can't find the right place to log this issue.;
Additional context

route to CXP team

What is the recommended workaround for this?

@jwshive This limitation is documented and since the feature is in preview, there is no near term plan to raise the limit.
You could however deploy multiple containers without the same limitation using Azure Container Instances.
Since there is no action here pertaining to Azure CLI, closing this issue.

This response is not helpful. It's been over a year and this issue still persists. It's not clear how Azure Container Instances allow one to work around this limitation; they don't appear to support Docker Compose at all. This might not be an Azure CLI bug, but it should be routed to the appropriate owner so it can be fixed.

I faced this issue today. I have a docker-compose with multiple services configured and I was not able to deploy the services because of this limitation.
For example:
az webapp create --resource-group rmyResourceGroup --plan myAppServicePlan --name myAppName --multicontainer-config-type compose --multicontainer-config-file docker-compose.yml

It would be useful to be able to provide multiple --multicontainer-config-file in a similar way as docker compose work.
In docker compose if you provide multiple docker-compose.yml files  the second file acts as an overwrite.
docker compose -f compose.yml -f compose.overwrite.yml up -d


Add a contents section to point to anchors in HTML5 version

Contents section to link to specific anchor sections of the document so it is easier to browse.

Closing in favor of: https://github.com/exponential-decay/demystify/issues/36


Major upgrades (1.1.0)

Newly Added:

OpenCV checkerboard detection with subpixel refinement
New "View" abstraction for imgui panes, easily extendable
Added threadpool for handling non-gui related processing
Better UI for ViewRecorder, ViewCornerDetector, ViewRosbagInspector
Added better-enums for imgui combo boxes
Install "priors" for vk suite products
Upgrades:
Better dependency management
No more libcbdetect, poor performance compared to opencv
More efficient processing, made use of C++ move semantics and lesser copies made
Many bug fixes (segfaults, memory issues)

Build failed because of LICENSE (was added to main instead)


Error with ignored variant parameters in switch

When I am naming an ignored variant parameter on a fall through switch statement, the error Variable _name must occur on both sides of this | pattern gets thrown.
For example:
In this case the error Variable _value must occur on both sides of this | pattern gets thrown.
switch t {
  | A => "A"
  | B
  | C(_value) => "B or C"
}

When I am however not naming the parameter, everything is fine.
switch t {
  | A => "A"
  | B
  | C(_) => "B or C"
}

I would expect it to throw no error, when I am naming the ignored parameter.
Playground example

_value can still be used somewhere (it only ignores the warning) and _ cannot be used, they are different in OCaml.

_value can still be used somewhere (it only ignores the warning) and _ cannot be used, they are different in OCaml.

Hi @eWert-Online,
As @jfrolich said, this is indeed the case. _ has a certain meaning. It allows you to say to the compiler "ignore this thing, we don't care, it can be anything". _ cannot be used as a name in ReScript for this reason.  If you really want to ignore a pattern, use _.
Hope this does make sense, is this clear?

Hi @eWert-Online,
As @jfrolich said, this is indeed the case. _ has a certain meaning. It allows you to say to the compiler "ignore this thing, we don't care, it can be anything". _ cannot be used as a name in ReScript for this reason.  If you really want to ignore a pattern, use _.
Hope this does make sense, is this clear?


Align drawable using setBackgroundDrawable on API 21

Hi!
I'm trying set circle on DayViewDecorator using setBackgroundDrawable.
When I use this on API 19, 20, 22, 23, it's work. But on API 21 don't stay on center
API 21:

API 23 and others:

Seems to be working now, closing


Make a dummy frontend

Just a static UI to get the UI/design out of the way so that we can easily integrate the API/contract later on

Thinking of using Chakra to get started quickly without needing a designer

If you need help on this let me know

@PBillingsby sorry I forgot to merge the PR and close this, but we need some help on #6


Feature Request: Time Series

Johns Hopkins has completely fudged their time series, any chance you could host it via api?
I know I could write something to query day by day, and do the work from there, but it would be great if there was a CSV all set to go.

Indeed. Right now I have to make separate queries for date=20200316, date=20200317, and so on. It would be really nice to have startDate=20200315&endDate=20200320.

I would recommend using the timestamp range inclusive, non-inclusive

[2020-04-04T14:26:13.978+00:00 .. 2020-04-05T14:26:13.978+00:00)
An ISO-8601 encoded date string. Assumed to be UTC unless a different timezone is passed.

Maybe something like checked:<=2020-04-05T14:26:00Z

@Nosferican Why do you think that would be useful in this context? The API doesn’t used that date format to begin with, and at least for myself, I don’t see why a half-open interval would be the desired semantics (unlike in, say, the C++ STL). I do like the idea of date=20200315..20200320 instead of two separate parameters, but I think a closed interval would be easiest to deal with.

The date associated with the data is for the day of publication based on the timestamp. It usually means it is about the reported tests for the day before. In some cases a case that was reported to the jurisdiction will show up in the API two days after depending on when it was reported. The actual data collection uses the timestamp of when the source of the website was downloaded and parsed which is a better measure of until when the data is "comprehensive". The metadata has documented the LastUpdated field but that one differs by jurisdiction and the heuristics make it a bit harder to use. The date field is a generated field based on the timestamp. Internally it is the timestamp the raw field that is actually used. Since the data and the API are updated more frequently (e.g., job starts at 16:00 ET and should be done by 17:00 ET) it makes more sense to use the timestamp. For the CSV API backups, those are always delayed since the CRON job runs about every 6 hours.

@Nosferican That’s useful information, but I’m not sure I understand how it interacts with time series. We already can query the API by date, so shouldn’t the semantics of a date series be the same? AFAIK the API doesn’t offer any finer time granularity (right?).


Can we use wifi as a medium to transmit URL's? Will Physical web on chrome scan for url's if broadcasted through wifi?

Hello
I have been talking a lot of people about physical web. Their only concern is, people do not keep their bluetooth on. However, wifi is something that people never switch off.
Do we have wifi strategy or any plans of it in the physical web service.
In the physical web book page, towards the end there is mention of wifi
"We also support finding URLs through Wifi using mDNS and uPnP.""
Does that mean, physical web on chrome will scan for URL's if broadcasted over wifi?

have we added discovery of URL's through wifi in physical web?

This has been discussed quite a bit actually. We were experimenting with mDNS which uses wifi until we found a horrible bug in Android that chewed up battery. We'd very much like to get back to this as it opens up many more used cases. However, it does raise a security issue as most likely wifi discovery will offer local IP addresses which can be filtered by the PWS. We'd have to be ok with users having access to 'raw' URL pages. We hope we can find a reasonable way around this.

@scottjenson  Thank You for the reply.
Could you please explain this in simpler terms
"However, it does raise a security issue as most likely wifi discovery will offer local IP addresses which can be filtered by the PWS. We'd have to be ok with users having access to 'raw' URL pages."

Our implementation of the Physical Web filters all found URLs through our Physical Web Service (PWS) this allows us to remove known spam/phishing sites to protect the user. If we were to use mDNS (wifi) most URLs found would likely be local IP addresses which would be invisible to the PWS. This provides a way for some bad actor to offer a web page directly to the user.
This risk is fairly small and many people in their homes or at work likely have enough control of their network that this isn't a problem. We are exploring a way to ask the user's permission to show them URLs on Wifi networks they trust.

"If we were to use mDNS (wifi) most URLs found would likely be local IP addresses which would be invisible to the PWS."
Maybe I just don't get it, but would'nt it be enough if PWS set valid URLs those having public IP DNS resolution?
TLS certificate check will then take care of possible DNS Spoofing by some bad actor.

If the URLs we discovered through wifi were publicly viewable (could be seen by the PWS) we'd be fine. We could let those through fairly easily. But we've heard from many people that the reason they'd like to use wifi is to have pointers to local IP addresses (e.g. https://<IP_ADDRESS>) those are invisible to us and can't be filtered. Now by requiring HTTPS we are likely removing ANY local IP address as no local device would be able to support HTTPS easily (that's another issue) Most folks would want not only local IPs but also HTTP in order to make this viable.
I agree this is confusing. We are considering updating our Physical Web app to do just this so we can explore this use case a bit more.

I agree that it must be clearly explained why it is not valid to point to local IP addresses, the same way that it is not possible to use HTTP (instead of HTTPS).
But done that, I reckon that broadcasting URLs (HTTPS + public IPs) through mDNS/wifi has a lot of nice use cases.
Thanks!

you can also use SSDP for this. With this Node.js Tool you can advertise one or multiple URLs in local network. Example:
$ node phyweb https://google.github.io/physical-web/ https://www.example.org/

In the Physical Web Android App you should see these URLs if your smartphone is in the same network as the Node.js Tool. I just tested it by running the Node.js Tool on my Mac using above command and the Physical Web App on my Nexus 7.

The main reason we had to postpone mDNS work was a pretty bad bug on Android which battery usage to skyrocket. As mDNS scanning on Android matures, or we can figure out a work around, we hope to be able to use it again

@scottjenson :So, this appears to be a android issue, right? AS the battery usage is very high because of using mDNS. Are the people in Android team looking to improve it?

We have filed a bug, they certainly know about it.

Are there any way to do it without mDNS so the user need not be connected to the WiFi?
Maybe adding the URL to the beacon frame or something?
Maybe WiFi Direct?
http://developer.android.com/training/connect-devices-wirelessly/nsd-wifi-direct.html

@matthuisman I would also like to see WiFi Direct support, and I envisioned the process the same way you did. I think this would be a great way to enhance the experience of the Physical Web and allow it to reach a much wider audience. I am eagerly awaiting a response from the PW team to your comment.

We are happy to consider Wifi Direct support. It's just not clear to us that it is a standard that is really taking off (happy to discuss of course) One of the issues we've found with any local technology (mDNS, Wifi-Direct, even local IP addresses) is that it should have a vigorous discussion around security as all of these approaches expose the user to unvetted URLs.
In the case of mDNS, the user is likely in a known environment (e.g. work or home) so a single prompt to the user to proceed with caution may be enough. We're going to be experimenting with this later this summer. However, wifi direct is truly public and anywhere. It would be helpful to discuss ways to make sure the user understands they are taking a potential risk.

@scottjenson Thanks for responding! I'm curious, what is the difference in security between routing the physical web through Bluetooth or WiFi Direct? Surely the user would have to opt in to either, and the capabilities of what is allowed through the WiFi Direct connection would be handled by the Chrome browser, would it not? Maybe I misunderstood your statement.

The issue is how publicly accessible the final URL is. Both BLE and Wifi Direct can broadcast "www.cnn.com" or "<IP_ADDRESS>" The first one, our PWS can find and vet, the second one it can't. The reason mDNS and Wifi-Direct tend to encourage this use case is that they are already on a wifi network so so local addresses are  more strongly encouraged.
Scott

Wi-Fi Ha-Low has also been announced and looks to be relevant:
http://www.wi-fi.org/news-events/newsroom/wi-fi-alliance-introduces-low-power-long-range-wi-fi-halow

Being able to broadcast URLS via WiFi instead of Bluetooth opens up quite a few more possibilities.
Example: ESP8266!
Would bring the cost down a lot.
I don't know enough about WiFi, but there may be a way to send some extra packets out while transmitting the SSID?
What about something silly like BASE64 encoded URL as the SSID?
Obviously would need some common prefix to identify it.
But, pretty sure SSID has quite a small max length (32 chars?).
IDEA
Could 'Physical Web' provide a registration service?

I go & register my site
It provides me a unique short ID (It also checks and caches the sites details)
I then simply broadcast this ID. eg. PWSefG56e4 (PWS a common prefix)

The app picks up the ID, and can get the site info direct from it's database which will be nicely cached and therefore FAST.
These would be short enough to use as a SSID name and could just hide the SSID's so they don't populate every-ones WiFi list.
This also adds the ability to change your site without needing to update the device.
It's also more secure as the site needs to be registered and therefore can be checked before allowing.

Sorry for the slow reply! The Physical Web is philosophically opposed to any central registration sevice. We want this to work as the web works. Our scanner in Android as a proxy service to cache meta data and protect the user but that's a value add. Any scanner can add their own, it's not required for the system to work.
The original prototype of the Physical Web (when I was at frog design) actually used SSID's and it quickly became apparent that we were clogging up the wifi space for 'normal users' and didn't create many friends. If we could get everyone to ignore our beacons, that might help but that's a big ask.
We are looking into wifi direct (we're about to push a version of our android app that does this) and that does get around this problem. If you look at the commits, you'll see our work on this over the last month. We're about to push our app to the play store you can can experiment with it. Looking forward to your comments.

@ferencbrachmann I'd really like to know more about HaLow. It feels to me that it will likely follow in the same adoption footsteps as Wifi Direct, e.g. a few big companies trying it but nothing like the ground swell that has appeared around BLE. If HaLow takes off, we'd very much like to look at it some more.

@scottjenson http://www.wi-fi.org/discover-wi-fi/wi-fi-halow Is a good start.

Yes, but that's just  a PR page. Where are the specs/docs/RPi drivers? I'm
worried it's locked up tight and only if you pay the expensive alliance fee
can you learn about it. One of the key reasons IMO that BLE took off is
that it was open and people get the docs and build things freely. You
needed to be certified to ship a professional product, but you could 'kick
the tires' easily. You can't seem to do that with Halow.
On Wed, Aug 17, 2016 at 10:46 AM, Ferenc Brachmann<EMAIL_ADDRESS>
wrote:

@scottjenson https://github.com/scottjenson
http://www.wi-fi.org/discover-wi-fi/wi-fi-halow Is a good start.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/google/physical-web/issues/619#issuecomment-240490294,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABAbusNwttMNGL5GzEz-x811HU8atqXdks5qg0jwgaJpZM4H2A03
.

@scottjenson Looking at the WiFi Direct documentation - is it just for local services?
Can I use WiFi Direct to advertise an internet URL just like Bluetooth?

The new version of the Physical Web app now supports wifi direct for any local file that you try to share on Android. I realize you'd like to just to URL. That's something we could add in the future.

That would be amazing.
Then I can try to see if I can get a very cheap ESP8266 module working as a beacon.

That would be interesting. Most of our work has been done on Android as it has built in Wifi-Direct support. Interesting to see if there is an OpenSource Linux style version you can use.
Also, please keep in mind this is only for our Physical Web app which is our experimental branch of the project. This isn't in Chrome or Android.

I have few questions with respect to the implementation of wifi direct?
What I am able to understand is, using wifi direct, we can transmit a physical web URL which can be read my android physical web app.
My questions:
1| How can we set up a wifi direct connection to transmit a physical web URL?
2| Once a wifi direct connection is successfully transmiting an URL, will the out put in physical web app be the same as seen through BLE.
3| Are we looking into integrating this into Google play services as part of nearby.
Reading through all the discussion above, I think the problem statement still stands:
""  How can we use wifi as a medium to transmit physical web URL and integrate it into Google play services securely? ""

@scottjenson : Looking forward for your comment?

Sorry for the delay. The current Physical Web app is just experimenting with this concept. We're looking for comments/feedback from the community. At this point, the app is required to send a wifi direct URL that points to the phone. If another user of the Physical Web app has wifi direct turned on and finds that beacon, they will connect directly to the phone and not go through any web server.
The key issue we face here is security as anyone can now become a server. There is no chance for our PWS to vet the page. The more free-wheeling part of us just wants to let the web but wild and crazy and let this type of thing happen, possibly with a ranking of some type and just let this grow. There are people that are worried this opens up users to too much risk. We are just exploring this as an experiment at the moment.


How to handle the absence of named parameters in a data store

We are writing an Entity Provider for a database that does not support named parameters.
By overriding RelationalSqlGenerationHelper.GenerateParameterName() to simply append "?" to the StringBuilder we are able to execute simple queries.
However there are many cases where an ExpressionTranslator changes an expression that has a single parameter to one that has 2 or 3 parameters.
For example
myString.Trim(x)
translates to
LTrim(RTrim(object, ?), ?) AS "Trim"
When using named parameters that is not an issue since the same parameter is used for all instances. If however we do not have named parameters we must generate additional parameters to match the modified expression.
The obvious solution here is to clone the current parameter and add the new instance(s) to the DbCommand.Parameters collection immediately before, or after, the current parameter.
Is there a way to obtain the DbCommand.Parameters collection from within the Expression Translator and to identify which parameter the expression is related to?
If not, could you describe an alternate way to handle the lack of named parameters in this situation.
It would also be helpful if you could let us know of any other areas of EF Core that may be effected by the lack of named parameters.
EF Core version: 2.1
Database Provider: Teradata.EntityFrameworkCore
Operating system: Windows 10
IDE:  Visual Studio 2017 15.7

It's true that PostgreSQL supports only positional parameters ($1, $2), and that Npgsql currently rewrites SQL (at the ADO driver level) to convert from named parameters (e.g. @p) to positional ones PostgreSQL understands ($1).
However, I don't think this is a good thing. The main reason for this state of affairs is backwards compatibility and an (in my opinion) mistaken view of portability. Before I started working on Npgsql, the decision was made to support named parameters (both@p and :p) in the belief that it's expected or required, and with the idea that it would help portability (e.g. programs written for SQL Server can run as-is on PostgreSQL).
I personally believe that a database driver should not ever need to parse or rewrite SQL given to it - it's complicated (SQL is hard to parse), brittle and bad for perf. https://github.com/dotnet/corefx/issues/27075 is about adding a portable API for generating parameter placeholders, and https://github.com/npgsql/npgsql/issues/1042 is about having a mode where Npgsql does parse/rewrite. If the latter is ever implemented, it will require the SQL to contain PostgreSQL positional parameters ($1, $2).
To sum it up, although Npgsql doesn't currently require support for positional arguments from EF Core, IMHO it's quite important for them to be supported. On the other hand, this issue seems to be about another kind of positional parameters: unlike PostgreSQL's parameter which have numbers and can therefore be repeated (you can specify $1 multiple times in the query SQL), a simple question mark is just a question mark...

Maybe calling them 'named' parameters was a bad idea.
My definition of 'named' parameters would include 'numbered' parameters - if each one can be referenced multiple times.
In our case I am referring to 'positional' parameters. If there are 20 parameter markers in the SQL then you must define 20 parameters - even if they all refer to the same value.
They are positional in that Parameters[0] is used for the first marker, Parameters[1] for the second, etc.
It rather sounds like post processing the SQL may be the only way to do this. Assign names within our EF provider but then replace each one with a ? and keep track of them as we go so that we can clone a duplicate when we hit it and add the clone into the Parameters collection at the 'current count' we have reached so far.
I hope that's not the only way to go since that would be a nightmare.

Maybe calling them 'named' parameters was a bad idea.
My definition of 'named' parameters would include 'numbered' parameters - if each one can be referenced multiple times.

Yeah, I think I misunderstood your question a little. So you're saying that your database only recognizes single question marks as parameter placeholders, and does not support any notion of referencing a specific parameter in a list (either via a name or via an index)? If so, then the situation really is quite different from PostgreSQL, where placeholders do reference parameters (by index and not by name).
If this is indeed the situation, then I agree that you need to somehow generate an ADO parameter list that contains the same data twice (in two parameters). I'm not very familiar with the plumbing here, but you'll probably have to make the changes in your provider's QuerySqlGenerator - see the VisitParameter() method, which you will probably need to override. There are other places in the query generator which handle parameters and which you may need to override (e.g. see GenerateFromSql()).
The EF Core team can probably provide more/better guidance.

Thanks. I think that's the solution.
I have overridden VisitParameter and VisitPropertyParameter in our QuerySqlGenerator so that they always generate a parameter.
I don't think I need to override GenerateFromSql because that has no 'short cutting' of parameter generation to begin with.


test: improve send ethereum tx

Summary by CodeRabbit

New Features

Simplified error handling and transaction processing in various test cases, improving clarity and readability.

Bug Fixes

Enhanced error messages by removing redundant prefixes for clearer feedback on transaction failures.

Refactor

Streamlined transaction handling by directly calling the EthereumTx method, eliminating the intermediate packing step.

Documentation

Improved overall maintainability and readability of the test logic through code simplification.

mg


Changes to published/draft status badge in search results

Feature Request
In search results and on the dashboard, each entry has a "badge" indicating the work versions's published/draft status:

Currently, this badge reflects the state of the most recent work version in a work. This feature requests changes the badge behavior to reflect the state of the parent work instead of the individual work version:

An entry should appear as "published" if the parent work has at least one published version.
An entry should appear as "withdrawn" if the parent work has no published versions and at least one withdrawn version.
An entry should appear as "draft" if the parent work only has versions in draft state. (Because a work may only have one draft version at a time, there should be only one version in this case).

Relates to discussion in #441
Blocked by #1026

@nicktiberi I've moved this to blocked status because we need to change the indexing. I think it will solve a lot of other problems

This is working now due to #1037, but it still needs to tidying up. See below

The withdrawn badge is right up against the border. Maybe shifting all the badges over to the left a couple of pixels?

@awead The problem here is that the badges are overlapping the available column width. I could fix that in a separate PR if you'd like.

Opened #1040 to address the spacing/overlap issues.

@nicktiberi I think we can keep this ticket open and you can fix it here, if you like.


Remove "current: false" from pagination examples

What is the context of this PR?
Fixes: #986
How to review
Make sure Pagination examples still work correctly

 Issue #986: Current: false not needed in examples


Generate QR code locally using JS or something if qrencode is not available

From @ThomasHabets on October 10, 2014 8:6
Original issue 216 created by<EMAIL_ADDRESS>on 2012-10-11T19:04:00.000Z:
When you run the google-authticator it generates a url that you pop in your browser let's say it was http://example.com/bla?code=foo, even though it's google's servers you're still sending it to their servers which may or may not be wanted by most users.
I realise you guys want to make use of your google graph engine however many people won't be happy with sending all their secret keys to google.
Instead of providing a url that sends the secret code to googles servers, why not use javascript to generate the QR code and put the secret value in a hash value such as
http://example.com/qr#mysupersecretkeyhere
so the javascript pulls it out and generates the qr code and it doesn't get sent over the network. I hacked together a version of this from some public javascript qr scripts that shouldn't be too hard to find/write.
Copied from original issue: google/google-authenticator#215

Comment #5 originally posted by nino80 on 2013-09-04T14:44:11.000Z:
I stumbled upon this issue and felt I should pin-point the exact problem. I agree that the convenience to obtain the QR code from Google servers if no QR library is present on the system is probably worth the risk of submitting the key to Google. What I find a slightly unnecessary information leak is that the URL aside from the secret key also contains the information where this key is to be used:
https://www.google.com/chart?...&chl=otpauth://totp/USERNAME@HOSTNAME.EXAMPLE.COM?secret=1234567890
Here USERNAME and FQDN point to the real server the module is installed on.
So, by generating a QR code I'm not just letting Google know what my secret key is, I'm also supplying information where to use it.

Comment #4 originally posted by<EMAIL_ADDRESS>on 2012-10-11T19:42:03.000Z:
My understanding of the current source code is that the app attempts to generate the QR code locally (using libqrencode) and only prints the QR code URL for the benefit of the user. It's up to the user to decide whether to ask the Google server to generate the QR code. However, if the uses chooses so, there's no way for Google servers to generate the QR code without knowing the secret encoded in the QR code.
Feel free to submit a patch that will enable the user to point to a different server to generate a QR code, and/or warn the user that using the URL will report the secret to the server.

Comment #2 originally posted by<EMAIL_ADDRESS>on 2012-10-11T19:28:37.000Z:
Oh sorry, the pam module.

Comment #1 originally posted by<EMAIL_ADDRESS>on 2012-10-11T19:26:47.000Z:
Thanks for the report. What component/subproject are talking about? This code.google.com projects hosts a PAM module, and the Google Authenticator mobile app for Android, BlackBerry, and iOS.

Comment #3 originally posted by<EMAIL_ADDRESS>on 2012-10-11T19:30:38.000Z:
Sorry i rushed over that a little. I did mean the url that is generated when you run google-authenticator program on linux for the pam module which when entered into the browser, generates the QR code that you scan with the google authenticator app to import it.

Comment #6 originally posted by<EMAIL_ADDRESS>on 2014-01-14T06:07:30.000Z:
<empty>

All the information that the app will get by definition needs to be in the QR code. Feel free to edit the URL to remove stuff, but then you won't see it in the App either (unless you long press and edit).
I'm taking this issue to mean "create self-contained QR code like in JS or SVG or something".


upgrade packages version in the docker image

remove the pin on gdal family, we'd know if any version causes trouble by test workflow. The consistency is guaranteed by enforcing the transform code here https://github.com/GeoscienceAustralia/dea-config/pull/1096
put into bounds for xarray and shapely, not back compatible, sqlalchemy<2.0 required by datacube-core, gdal==3.6.2 has issue on reading from s3

We could maybe pin gdal !=3.6.2 rather than <3.6.2? Otherwise looks good.

no sure if they'd fix the problem in next version >3.6.2 though. Just to be safe.


Add mising emojis. Fix emoji autocomplete

Fixes #260

Automated message from Dropbox CLA bot
@borisyankov, it looks like you've already signed the Dropbox CLA. Thanks!


Design: Selection menu in settings for choosing the API provider for Ethereum

this menu would allow user to select which API to choose for Ethereum blockchain. By doing so we are removing dependency on a single API provider

https://zpl.io/aNKBzdn


Customizer improvements

Added logic to accept langflow Data as input list. Data will be chunked and pushed as files into Nemo datastore and used for training. If training data is not mapped, the flow will look for the existing dataset input for Nemo datastore dataset id.

Hi! I'm the autofix.ci troubleshooter bot.
It looks like you correctly set up a CI job that uses the autofix.ci GitHub Action, but the autofix.ci GitHub App has not been installed for this repository. This means that autofix.ci unfortunately does not have the permissions to fix this pull request. If you are the repository owner, please install the app and then restart the CI workflow! 😃


Await Travis sync if it's already in progress

This is still untested, I'm unsure how to reliably reproduce https://github.com/mozilla/oghliner/issues/20.

This is still untested, I'm unsure how to reliably reproduce #20.

I'm not sure how reliable it is, but if you load your Travis profile page and then press the Sync button on that page before invoking oghliner configure (or at least before completing the authentication part of the flow), then you may be able to catch Travis in the process of syncing. Of course you also have to be configuring a repository that Travis doesn't already know about, which is usually one that you've just created.

While doing all that, if you do it on the test-configure branch in #60 and uncomment the nock recording code at the top of configure.js, then you'll generate nock recording output that you can use to add a test for this into testConfigure.js.

I was able to reproduce it by adding multiple calls to travis.users.sync.post in sequence.

I also collected two nock recordings, with and without this patch, so I can easily write a test for it.

I've added four tests (two success and two failure cases):

travis.users.sync.post throws because Travis is already syncing, we check if Travis is syncing and it is.
travis.users.sync.post throws because Travis is already syncing, we check if Travis is syncing and it isn't, so we check if the repository is active and it is.
travis.users.sync.post throws because Travis is already syncing, we check if Travis is syncing and it isn't, so we check if the repository is active and it isn't.

travis.users.sync.post throws because of a generic error, we check if Travis is syncing and it isn't, so we check if the repository is active and it isn't.


Creative Inventory Crash??

Yesterday it worked..today it crashes as soon as I click to go into my creative inventory. Yes, it's a fresh copy of BL just Uninstaller and reinstalled yesterday while cleaning up my phone.

Try latest beta: on a clean install ModPE scripts are turned off, and this crashes addons

Where can I get latest beta?

http://tinyw.in/bl

That worked thank u

close the issue.


Need information

[feat] Support handle other apps share request

whats this ?
is this used for receiving file from any other app like zapya or shareit.
or can you make a global app which support All apps to share and receive by this app.
hope you understand what i am trying to say 😴

No，Other app (not FileTransfer app) can create a share request, tFileTransfer can handle this reqeust . For example Google Photo can reqeust share a photo to other device by tFileTransfer.

your last reply is not visible.
For your kind of information
do you know about mi share or xiaomi share
it can connects to many other company share like oppo vivo.
i asking that mechanism

.
For your kind of information
do you know about mi share or xiaomi share
it can connects to many other company share like oppo vivo.
i asking that mechanism

Can't create connection to other company share app, it's too hard.

The smart phone company share app is not open source and i don't known it's file transfer protocol.

ok


Interledger test wallet redesign

Grantees are conflating Rafiki and rafiki.money (which is the URL for Interledger test wallet), and mistakenly thinking that they have to integrate the Interledger test wallet instead of Rafiki.
We have decided that by diverging the look and feel of Testnet from any of our actual products like Interledger Pay or Rafiki, people will be less inclined to confuse any of our testnet assets with Rafiki.
The key here is we are not making any functional or layout changes, we are only updating the following:

Site colours
Site logo
Site font

Of course, due to the change in font, there might be some tweaks required to element widths or heights but this is really a pure theme change.
Please refer to this more detailed write-up explaining the rationale behind the new visual direction: https://docs.google.com/document/d/1oGq2TCnbD6zpWovwdDu5oKKsLzQjMw0er2aL6VJtjhA/edit
New colour codes
Please see https://testnet-mockup.surge.sh/wallet/styleguide/
Proposed interaction styles
For focus, hover and active styles, you can see them in action on the frontend mockups at https://testnet-mockup.surge.sh/wallet/. You need to toggle dark mode because the glows are only used on dark mode. The CSS code for the glow effects are also on https://testnet-mockup.surge.sh/wallet/styleguide/.
Again, because this was just to recreate the elements on the original test wallet, any of the padding and margin differences between the mock-up and the real code should be ignored. This Codepen is meant to show the hover states, focus states and active states, plus how the new colors look like applied on the existing elements.
Attached asset files

dejavu-mono.zip

[x] #1380
[x] #1381
[x] #1382
[x] #1383
[x] #1384
[x] #1385
[x] #1386
[x] #1387
[x] #1388
[x] #1389
[x] #1390
[x] #1392

Done, needs to be deployed next week, and done :D


wireguard kernel module

please add wireguard to all kernel versions

or give a way of building dkms modules

I successfully built the dkms module by running the commands here (which download the kernel source) https://github.com/scaleway/kernel-tools and THEN installing the dkms package https://packages.debian.org/sid/wireguard-dkms

@shawnl , Can you please let me know the steps to istall https://packages.debian.org/sid/wireguard-dkms

@thamizhelango that is for debian. if you are not on debian install  using the instructions here https://www.wireguard.com/install/
(after installing the kernel headers with the instructions here https://github.com/scaleway/kernel-tools )

Thanks @shawnl

So easy if it was automatically added by scaleway...


Feature request: changing the owner of a Google Classroom

Following an API update in August 2017, Google now support changing the owner of a Google Classroom course via the API. Could this feature be considered for implementation in GAM?
This would be especially useful since Google provide no first-party UI for G Suite admins to alter course owners - at present, it can only be done by the owner themselves in the Classroom web interface.

This is added and will be in the next GAM release.


file paths

Hi, this looks really great.
just wondering if
resources/controllers/single.blade.php
should read
resources/views/single.blade.php
in the readme?

Hi @samburgers ,
Thanks for picking up on that, I've corrected the readme.


Trust-ad directive causes index is out of range

I'm trying to use lego, which uses this library.
When this library tries to parse our system's /etc/resolv.conf, which contains the following content:
nameserver <IP_ADDRESS>
options edns0 trust-ad ndots:0

I get this error:
goroutine 1 [running]:
github.com/miekg/dns.ClientConfigFromReader(0x10e1d80, 0xc000010038, 0x0, 0x0, 0xc000010038)
github.com/miekg/dns/clientconfig.go:94 +0x8d1
github.com/miekg/dns.ClientConfigFromFile(0xeeb9f6, 0x10, 0x0, 0x0, 0x0)
github.com/miekg/dns/clientconfig.go:29 +0xde
github.com/go-acme/lego/challenge/dns01.getNameservers(0xeeb9f6, 0x10, 0x16fd460, 0x2, 0x2, 0x0, 0x0, 0x27)
github.com/go-acme/lego/challenge/dns01/nameserver.go:74 +0x39
github.com/go-acme/lego/challenge/dns01.init()
github.com/go-acme/lego/challenge/dns01/nameserver.go:29 +0x7b

The problem is that it is indexing out of array, but I don't have the exact text of it. :(
I couldn't try it with the newest version of library, but the functionality of the code should be the same as the v1.1.15 which I have.
It has problems with the trust-ad directive, which is a standard directive, if I remove it, then it works fine.
Could you take a look at it?
Thanks! :)

[ Quoting<EMAIL_ADDRESS>in "[miekg/dns] Trust-ad directive caus..." ]

nameserver <IP_ADDRESS>
options edns0 trust-ad ndots:0
I get this error:

I can't replicate. Do you have an example where this library crashes?

It has problems with the trust-ad directive, which is a standard directive, if
I remove it, then it works fine.

Those options healivy depend on your libc. My system doesn't have it.
/Miek
--
Miek Gieben

Well lego is an acme client, it would be a bit complicated to share an example with you.
Sadly, I don't know go, so I'm not able to try call miekg/dns.ClientConfigFromFile myself to try out.
But I can tell you what happens:
Lego passes /etc/resolv.conf to miekg/dns.ClientConfigFromFile (see) and our file contains the text you can see in the OP.
When I remove the trust-ad from the file, it works just fine.
If you still need a proper example, then I will figure something out.

Doesn't look like something we can fix here
/close
On Fri, 26 Feb 2021, 22:03 vectomon<EMAIL_ADDRESS>wrote:

Well lego https://github.com/go-acme/lego is an acme client, it would
be a bit complicated to share an example with you.
Sadly, I don't know go, so I'm not able to try call
miekg/dns.ClientConfigFromFile myself to try out.
But I can tell you what happens:
Lego passes /etc/resolv.conf to miekg/dns.ClientConfigFromFile (see
https://github.com/go-acme/lego/blob/7cfcc155ee3c88c9689d5ef5fc76692e2a4867b0/challenge/dns01/nameserver.go#L30)
and our file contains the text you can see in the OP.
When I remove the trust-ad
https://man7.org/linux/man-pages/man5/resolv.conf.5.html from the file,
it works just fine.
If you still need a proper example, then I will figure something out.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/miekg/dns/issues/1230#issuecomment-786892743, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AACWIW2F525EZS6535LLJLTTBAEDBANCNFSM4YISBBEQ
.

I just dug into this a little, but you must have a really old version of miekg/dns somehow. There was a panic in ClientConfigFromReader that would be triggered by options that are exactly 8-bytes long (see #642), lo and behold "trust-ad" is 8-bytes long. That was fixed back in March of 2018 as part of<EMAIL_ADDRESS>The line number also matches that bug.
It was definitely fixed in<EMAIL_ADDRESS>though which is the earliest ever listed in lego's go.mod file. I have no idea how you'd have ended up with an older version than that, but that's the only way it could panic there.
You're definitely not using v1.1.15 though because line 94 is, well, this: https://github.com/miekg/dns/blob/b13675009d59c97f3721247d9efa8914e1866a5b/clientconfig.go#L94
Anyhow, you've somehow come to depend on a very old version and there's nothing we can do here because it's already been fixed. Bumping your dependency with go get will likely fix it.


[plugin] hyper-tray

Hi,
plugin for minimalists — tarutin/hyper-tray

Looks like it's not published on npm yet?

@darahak Done. https://www.npmjs.com/package/hyper-tray

Hm, I found a little strange bug on Hyper: system tray closes itself after 1 minute on app started.

@tarutin Closing the issue as it's been inactive for a while.
Feel free to open a PR if you solved your problem and want to add your plugin to the list.


bump core to 15.0.0rc1

E: Version '15.0.0~rc1-211' for 'stellar-core' was not found
The command '/bin/sh -c /install' returned a non-zero code: 100


EDAC: Enhance API and API generation

Make it possible to generate full EDAC API for documentation.

Rebased against latest upstream


why quaternion can subtract directly ?

when i read the source, in the follow line, the "measurement" and "expected_measurement_mean" are seven dimension, three for translation, and other four for rotaion represented by quaternion, i cant understand why quaternion can subtract directly ?
https://github.com/koide3/hdl_localization/blob/1cdef711d66fdb4ec8969623dd2568eb3f45ce25/include/kkl/alg/unscented_kalman_filter.hpp#L180

We assumed that the state values behave linearly on the manifold and treated them as if they are linear variables. While it somehow works, it's a large approximation. If you need to better handle rotation variables, see ukfm for better on-manifold filtering.
https://github.com/CAOR-MINES-ParisTech/ukfm


⚠ Jenkins Plugins Artifactory has degraded performance

In e692f17, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1341 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 8c46ecb after 3 hours, 18 minutes.


Add triage to cosign & sigstore, update sigstore-triage name

The triage team now can triage in Cosign and sigstore/sigstore.
I renamed sigstore-triage to sigstore-go-triage, because it wasn't
clear to me that this team was meant for just the sigstore/sigstore
repo.
Signed-off-by: Hayden Blauzvern<EMAIL_ADDRESS>
Summary

Release Note

Documentation

cc @haydentherapper

it is expected to fail because the resources are protected, with we agree with the changes I need to run manually a command to remove the protection and then we can run the job again


How to: integrate with a presenter, firebase

I have included my RecyclerViewAdapter class below. I use MVP architecture and I'd like to transition from this adapter to your FastAdapter. RecyclerPresenter interacts with my FirebaseManager class to read and write data to and from a Firebase DB. The adapter below uses an Event object to fill the view, but the host profile picture and name need to be retrieved in the background since the Event object only contains the host's profile id and not the whole profile object. I had to do this because retrieving the data takes time and setting the host picture and host name would always return null if the call took too long. How do I do this when extending you AbstractItem.class? Or is there a class my adapter can extend?
public class RecyclerViewAdapter extends RecyclerView.Adapter<RecyclerViewAdapter.ViewHolder> implements RecyclerInterface {

    private RecyclerPresenter recyclerPresenter;  //Interacts with a Firebase Database
    private List<Event> events = new ArrayList<>();

    public static class ViewHolder extends RecyclerView.ViewHolder {

        public ImageView picture;
        public TextView name;
        public TextView title;

        public ViewHolder(View view) {
            super(view);

            picture = (ImageView) view.findViewById(R.id.item_event_picture);
            name = (TextView) view.findViewById(R.id.item_event_header);
            title = (TextView) view.findViewById(R.id.item_event_subheader);
        }
    }

    public RecyclerViewAdapter(List<Event> events) {
        recyclerPresenter = new RecyclerPresenter(this);
        this.events = events;
    }

    @Override
    public RecyclerViewAdapter.ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
        View view = LayoutInflater.from(parent.getContext()).inflate(R.layout.item_event, parent, false);
        return new ViewHolder(view);
    }

    @Override
    public void onBindViewHolder(RecyclerViewAdapter.ViewHolder holder, int position) {

        Event mEvent = events.get(position);

        recyclerPresenter.getProfile(mEvent.getHost(), holder); //Event.getHost() returns a firebase uid which the presenter looks up and returns a Profile.class object

        holder.title.setText(mEvent.getTitle());
    }

    @Override
    public int getItemCount() {
        return events.size();
    }

    @Override
    public void getUserData(RecyclerViewAdapter.ViewHolder holder, Profile profile) {

        GlideUtil.loadImage(profile.getPictureUrl(), holder.picture);

        holder.name.setText(profile.getName());
    }
}

This is my attempt btw. Around line 27, I included a comment. Being able to refer to the current object would help immensely. If you have another Idea, let me know
public class EventItem extends AbstractItem<EventItem, EventItem.ViewHolder>
        implements ItemInterface {

    ItemPresenter presenter;

    public ImageView picture;
    public String name;
    public String title;

    @Override
    public int getType() {
        return R.id.item_event;
    }

    @Override
    public int getLayoutRes() {
        return R.layout.item_event;
    }

    @Override
    public void bindView(ViewHolder viewHolder, List<Object> payloads) {
        super.bindView(viewHolder, payloads);

        Event event = (Event) payloads.getCurrentPayload(); //Some method like this might work

        presenter.getProfile(event.getHost(), viewHolder);

        viewHolder.title.setText(title);
    }

    @Override
    public ViewHolder getViewHolder(View v) {

        presenter = new ItemPresenter(this);
        return new ViewHolder(v);
    }

    @Override
    public void getUserData(ViewHolder holder, Profile profile) {

        GlideUtil.loadLongImage(profile.getPictureUrl(), holder.picture);
        holder.name.setText(profile.getName());
    }

    public static class ViewHolder extends RecyclerView.ViewHolder {
        public ImageView picture;
        public TextView name;
        public TextView title;

        public ViewHolder(View view) {
            super(view);

            this.title = view.findViewById(R.id.info_bar_subheader);
        }
    }
}

@DarrylJohnson170 please have a look on the GenericItemAdapter:
https://github.com/mikepenz/FastAdapter/blob/develop/app/src/main/java/com/mikepenz/fastadapter/app/GenericItemActivity.java

Here is what I got to work, in case others have the same question
public class EventFragment extends Fragment implements EventInterface {

    EventPresenter eventPresenter;
    RecyclerView recyclerView;
    FastAdapter fastAdapter;

    GenericItemAdapter<Event, EventItem> eventItemAdapter;

    List<Event> events = new ArrayList<>();

    public EventFragment() {
    }

    public static EventFragment newInstance() {

        return new EventFragment();
    }
    //----------------------------------------------------------------------------------------------

    @Override
    public void onResume() {
        super.onResume();

        eventPresenter.getEvents();
    }

    @Override
    public void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        eventPresenter = new EventPresenter(this);

        eventPresenter.getEvents(savedInstanceState);
    }

    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container,
                             Bundle savedInstanceState) {

        View view = inflater.inflate(R.layout.fragment_event, container, false);

        init(view);

        return view;
    }

    private void init(View view) {
        fastAdapter = new FastAdapter();
        fastAdapter.withSelectable(true);

        recyclerView = view.findViewById(R.id.fragment_event_recycler_view);

        eventItemAdapter = new GenericItemAdapter<>(new Function<Event, EventItem>() {
            @Nullable
            @Override
            public EventItem apply(Event event) {
                return new EventItem(event);
            }
        });

        recyclerView.setAdapter(eventItemAdapter.wrap(fastAdapter));
        recyclerView.setLayoutManager(new LinearLayoutManager(getContext()));
    }

    @Override
    public void updateEventListData(Bundle bundle, List<Event> events) {

        this.events = events;

        eventItemAdapter.addModel(events);

        fastAdapter.withSavedInstanceState(bundle);
    }

    @Override
    public void onSaveInstanceState(Bundle outState) {
        outState = fastAdapter.saveInstanceState(outState);
        super.onSaveInstanceState(outState);
    }

Here is the EventItem class
public class EventItem extends GenericAbstractItem<Event, EventItem, EventItem.ViewHolder>
    implements ItemInterface{

    ItemPresenter presenter;

    public EventItem(Event event) {
        super(event);
        presenter = new ItemPresenter(this);
    }

    @Override
    public int getType() {
        return R.id.item_event;
    }

    @Override
    public int getLayoutRes() {
        return R.layout.item_event;
    }

    @Override
    public void bindView(ViewHolder holder, List<Object> payloads) {
        super.bindView(holder, payloads);

        holder.title.setText(getModel().getTitle());

        presenter.getProfile(getModel().getHostProfile(), holder);
    }

    @Override
    public void unbindView(ViewHolder holder) {
        super.unbindView(holder);
        holder.title.setText(null);
        holder.name.setText(null);
        holder.picture.setImageDrawable(null);
    }

    @Override
    public EventItem.ViewHolder getViewHolder(View v) {
        return new ViewHolder(v);
    }

    public static class ViewHolder extends RecyclerView.ViewHolder {

        public TextView title;
        public TextView name;
        public ImageView picture;

        public ViewHolder(View view) {
            super(view);

            title = view.findViewById(R.id.item_event_title);
            name = view.findViewById(R.item_event_name);
            picture = view.findViewById(R.id.item_event_picture);
        }
    }

    //----------------------------------------------------------------------------------------------

    @Override
    public void getUserData(ViewHolder holder, Profile profile) {

        holder.name.setText(profile.getName());
        GlideUtil.loadImage(profile.getPictureUrl(), holder.picture);
    }
}

@mikepenz  I'm getting an issue with my onResume function. When I start a new Activity, the list of items in the recyclerview doubles. Is there a better way I can do this? Or do you have any insights?

@DarrylJohnson170 well you do getEvents in onResume and onCreate both are called so this might double it in your code. It is not visible what your eventPresenter.getEvents(savedInstanceState); does but I assume it will add the elements instead of clearing out the previous elements and adding the new ones.
Also make sure that you do the addition of items on the UI thread.


Auto-reloading not triggered when $ref files changed

Describe the bug
The auto-reloading feature of prism only triggers a restart of the server when the main spec file is changed. Whenever the spec file is using references to other files with the $ref keyword, then the server will not trigger a restart in case such file is changed.
To Reproduce

Given this OpenAPI document (testapi.yaml)

openapi: '3.1.0'
paths:
  /path:
    post:
      responses:
        200:
          content:
            text/plain:
              example:
                $ref: "example.yaml"
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                id:
                  type: integer
              required:
                - id

Given this example (example.yaml): referenced example
Run this CLI command .\prism-cli-win.exe mock -h <IP_ADDRESS> .\testapi.yaml
Perform post request on http://<IP_ADDRESS>/path the response will be referenced example
Change the example.yaml to example
Perform post request on http://<IP_ADDRESS>/path the response is still referenced example
Restart mock server
Perform post request on http://<IP_ADDRESS>/path the response will be example

Expected behavior
A change on example.yaml would also trigger a restart of the mock server so that the spec including examples are updated.

Had the same thing happen to me the project is setup using docker so I added a watcher script... not ideal but it gets the job done.

@SeMuell , thank you for the bug report.  We've got this in our backlog.  In the meantime, one workaround you might consider is using a tool like entr to restart Prism when any file that contributes to your OpenAPI spec has changed.
For example, given the two files you mentioned in your initial report, testapi.yaml and example.yaml, you may be able to a command similar to the following to restart Prism when example.yaml changes.
find ./OpenApiDirectory -name "*.yaml" | entr -r prism-cli mock testapi.yaml

@SeMuell
You could use nodemon to watch the desired folders / files and restart prism like this:
// package.json
{
    "scripts": {
        "mock:serve": "nodemon --watch ./src/definitions --exec \"prism mock ./src/definitions/root.openapi.json\"",
    }
}

I don't think we're going to be able to address this functionality any time soon, so I'm going to close this ticket and update our documentation with the suggestions mentioned above.


make heapless optional

Makes heapless an optional dep
Feature gate heapless uses throughout the code
Enable heapless feature by default for backwards compat

My rational is that I only ever use the {to,from}_slice methods in this crate, pulling in a heapless dep for no reason.

Done :)


GetUtils  has Uppercase/Capital letter?

Added this simple function to provide better password validation using GetUtils
With this you can validate a password field combining:
GetUtils.isnumericOnly(string) & GetUtils.isAlphabetOnly(string) & GetUtils.isLengthGreaterOrEqual(string);
Thank you very much.

Hi, thanks for your contribution
LGTM


build: bump the version

Codecov Report

Merging #169 (dd0816d) into master (d00cb95) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #169   +/-   ##
=======================================
  Coverage   85.90%   85.90%
=======================================
  Files          11       11
  Lines         972      972
=======================================
  Hits          835      835
  Misses         77       77
  Partials       60       60

Flag
Coverage Δ

unittests
85.90% <ø> (ø)

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

Continue to review full report at Codecov.

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

/hold

/assign @Mini256
/cc @Mini256
PTAL~ Thanks!

/hold cancel


Disabling ADR

Describe the Bug
When I setup monitoring for the cacti, I verified that the devices could upload to dirtviz when connected to my laptop. When I plugged them into a USB power hub, empty payload messages are being sent to Dirtviz. There should be a check for an empty FIFO buffer before uploading so unsure why there are empty payload messages.
To Reproduce
Steps to reproduce the behavior:

Setup device and connect to USB hub.

Expected Behavior
Data uploaded successfully
Screenshots
See below for more context
Environment
OS: Linux spruce 6.8.2-arch2-1 #1 SMP PREEMPT_DYNAMIC Thu, 28 Mar 2024 17:06:35 +0000 x86_64 GNU/Linux
Hardware version: 2.2.0-2 and 2.2.0-6
Software version: release/2.2.1
Platformio Version: 6.1.15
Additional Context
Example live data

Example upload event. Notice that f_port and payload are  not set. I checked in the TTN slack where they confirmed that default values ie 0 and NULL do not get decoded into the json.  This also confirms that they are using protobuf internally for encoding the messages.
{
  "name": "as.up.data.forward",
  "time": "2024-11-15T16:34:50.139328966Z",
  "identifiers": [
    {
      "device_ids": {
        "device_id": "eui-0080e1150535c0f5",
        "application_ids": {
          "application_id": "soil-power-sensor"
        },
        "dev_eui": "0080E1150535C0F5",
        "join_eui": "0101010101010101",
        "dev_addr": "260C7D77"
      }
    }
  ],
  "data": {
    "@type": "type.googleapis.com/ttn.lorawan.v3.ApplicationUp",
    "end_device_ids": {
      "device_id": "eui-0080e1150535c0f5",
      "application_ids": {
        "application_id": "soil-power-sensor"
      },
      "dev_eui": "0080E1150535C0F5",
      "join_eui": "0101010101010101",
      "dev_addr": "260C7D77"
    },
    "correlation_ids": [
      "gs:uplink:01JCRATRY5C3X8QGDV5TMDH3XP"
    ],
    "received_at": "2024-11-15T16:34:50.136428903Z",
    "uplink_message": {
      "session_key_id": "AZMi8p9rq9VEHy/2cog7DQ==",
      "f_cnt": 22070,
      "rx_metadata": [
        {
          "gateway_ids": {
            "gateway_id": "eui-c0ee40ffff2a4316",
            "eui": "C0EE40FFFF2A4316"
          },
          "time": "2024-11-15T16:34:49.918987035Z",
          "timestamp": 103770100,
          "rssi": -108,
          "channel_rssi": -108,
          "snr": -13.25,
          "location": {
            "latitude": 37.0000602,
            "longitude": -122.0633494,
            "altitude": 19,
            "source": "SOURCE_REGISTRY"
          },
          "uplink_token": "CiIKIAoUZXVpLWMwZWU0MGZmZmYyYTQzMTYSCMDuQP//KkMWEPTPvTEaDAip8N25BhDqh/64AyCgorjJggM=",
          "received_at": "2024-11-15T16:34:49.922457652Z"
        }
      ],
      "settings": {
        "data_rate": {
          "lora": {
            "bandwidth": 125000,
            "spreading_factor": 10,
            "coding_rate": "4/5"
          }
        },
        "frequency": "904500000",
        "timestamp": 103770100,
        "time": "2024-11-15T16:34:49.918987035Z"
      },
      "received_at": "2024-11-15T16:34:49.926040276Z",
      "consumed_airtime": "0.288768s",
      "packet_error_rate": 0.14285715,
      "network_ids": {
        "net_id": "000013",
        "ns_id": "EC656E0000000182",
        "tenant_id": "ttn",
        "cluster_id": "nam1",
        "cluster_address": "nam1.cloud.thethings.network"
      }
    }
  },
  "correlation_ids": [
    "gs:uplink:01JCRATRY5C3X8QGDV5TMDH3XP"
  ],
  "origin": "ip-10-101-6-158.us-west-1.compute.internal",
  "context": {
    "tenant-id": "CgN0dG4="
  },
  "visibility": {
    "rights": [
      "RIGHT_APPLICATION_TRAFFIC_READ"
    ]
  },
  "unique_id": "01JCRATS4V2K3FWMP79ATX91RF"
}

Confirmed that the issue is the adaptive data rate. See below link for table of DR for US915 band. I noticed that it was set to DR0 or SF10BW125 which has a max payload size of 11 bytes. The typical payload is ~30 bytes which causes an error that appears as empty payload.
I've tried turning off ADR in the settings. I have a hunch that the clock synchronization is resetting the LmHandler configuration. Possibly need to force reconfigure the Lm settings after clock sync.
https://www.thethingsnetwork.org/docs/lorawan/regional-parameters/us915/

TBH ADR would be good to keep enabled. Can set it via the CLI, don't believe its possible via the web interface.
https://www.thethingsindustries.com/docs/reference/adr/

Created gist for script to update values to static: https://gist.github.com/jmadden173/b33a9e60e8cdb1772296ef58e530921e


coroutines shouldnt be passed mutable values

after #26 is done

this was to prevent data races but if we get mutex #47 implemented then do we really need this?
struct LinkedList<T> {
    data: T,
    next: LinkedList,
    mu: mutex,
}


Landing page: tablet/mobile view for files table

Context on why this issue happened:

On mobile, the responsive table for community members had the following  behaviors:

table data elements from the same row are stacked vertically
table headers are removed, if the class selected-member is specified.
cell without data-label (first column) has a gray background to divide table rows, if the class selected-member is specified.
data-labels are aligned with each table data.

Styling rules were being applied to every table, including files list, even though some rules were specific for communities tables (e.g.  required the class selected-member to work properly).

Solution:

The class selected-member was removed, as we felt that its semantic meaning was low and it was very spefic for members table.
On a responsive table, a responsive-main-cell can be specified that will have a gray background on mobile. It will work as a "divider" between table rows stacked vertically on mobile.

Invitations table was fixed by this change.
Note: initially a class was created for responsive tables, so this styling would not be applied to other tables. But after discussing with @jennur, it made sense to me that every table should be responsive by default. I did not find any table that is breaking due to this styling, in fact invitations table was fixed, but it might be wise to be double checked by reviewers
Note: we noticed that files table under the upload page is missing. a data-label. I will open a new issue and fix it  there, to avoid working on many bugs on the same issue.

Results
Files list:

Invitations table was also fixed:


Fail preflight release action if the retrieved release is null

SUMMARY
This PR is to force preflight GH action to fail when the retrieved release is null because of the GH API glitch.
ISSUE TYPE
Current behavior:

GH action has retrieved the release being null because of an API glitch

0s
Run preflight_latest=$(curl -s https://api.github.com/repos/redhat-openshift-ecosystem/openshift-preflight/releases/latest | jq -r .tag_name)
  preflight_latest=$(curl -s https://api.github.com/repos/redhat-openshift-ecosystem/openshift-preflight/releases/latest | jq -r .tag_name)
  echo "Preflight latest release: $preflight_latest"
  echo "preflight_latest=$preflight_latest" >> $GITHUB_OUTPUT
  shell: /usr/bin/bash -e {0}
Preflight latest release: null

while the real latest release is not null but 1.10.1
$ curl -s https://api.github.com/repos/redhat-openshift-ecosystem/openshift-preflight/releases/latest | jq -r .tag_name
1.10.1

GH action opens weird PR Move to Preflight release null.

The idea for the fix is to fail pipeline asap instead of opening the PR.
Test-Hint: no-check

going to close this one, I like the usage of the ready action better: https://github.com/redhatci/ansible-collection-redhatci-ocp/pull/465


Allow user to include pages

Is your feature request related to a problem? Please describe.
Pages are not included in the search tool, but probably should be
Describe the solution you'd like
When running html make the SQLite database should have a table called pages created with the content from the pages
Describe alternatives you've considered
None
Additional context
None

closed with c82be


Setting HomeMountEnabled to false removes the home folder from the XCreds menuitems

From ticket #70214

Setting HomeMountEnabled to false does stop the home folder mounting, but it also removes it from the XCreds menuitems.
Ideally we'd like user to be able to mount the home folder if required from XCreds.

home directory now shows up in the menu if defined in AD account, but only mounts if HomeMountEnabled is true.

Is there an option to hide the "Network Home" string from the drop-down menu?


remove beacon from Syncer

Motivation
The IsBeaconSynced method of SyncStateProvider is not used anywhere.
Description
Removed SyncStateProvider::IsBeaconSynced
Test Plan
n/a
TODO

[x] Explain motivation or link existing issue(s)
[x] Test changes and document test plan
[ ] Update documentation as needed
[ ] Update changelog as needed

bors merge

bors merge


Deployment

Add  How can deploy this code is azure in readme file as windows,
how can we run locally in windows.

Hi @gharbat, Any update on this?

Hey, Hi @gharbat, Any update on how to run this code on windows


Feature request: Pictures in issue comments shall be displayed

I think, pictures in issue comments (notes) shall be displayed. And I'ld like to be able to add pics to an existing or new issue.

I'm starting to implement new Features over at thelooter/gitplus_for_gitlab since this Repository seems to be dead. If you still have a need for this feature, feel free to raise a issue over there

I'm starting to implement new Features over at thelooter/gitplus_for_gitlab since this Repository seems to be dead. If you still have a need for this feature, feel free to raise a issue over there

Done: https://github.com/thelooter/labplus_for_gitlab/issues/23


Detected that custom integration 'myenergi' calls async_add_job, which is deprecated and will be removed in Home Assistant 2025.4

2024-04-05 07:37:38.217 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'myenergi' calls async_add_job, which is deprecated and will be removed in Home Assistant 2025.4; Please review https://developers.home-assistant.io/blog/2024/03/13/deprecate_add_run_job for replacement options at custom_components/myenergi/init.py, line 57: hass.async_add_job(, please create a bug report at https://github.com/cjne/ha-myenergi/issues

Fixed in 0.0.28


It's to remove static of method dataSource,If not remove static the transaction will not work.

What is the purpose of the pull request
To fix the transaction didn't work
Brief change log
It's to remove static of method dataSource

remove static of method dataSource in SpringConnectionFactory*

Codecov Report

Merging #2422 into dev will decrease coverage by 0.01%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##                dev    #2422      +/-   ##
============================================
- Coverage     32.89%   32.88%   -0.02%
  Complexity     2275     2275
============================================
  Files           423      423
  Lines         19839    19839
  Branches       2366     2366
============================================
- Hits           6527     6524       -3
- Misses        12726    12730       +4
+ Partials        586      585       -1

Impacted Files
Coverage Δ
Complexity Δ

...eduler/dao/datasource/SpringConnectionFactory.java
100.00% <ø> (ø)
7.00 <0.00> (ø)

...scheduler/alert/template/AlertTemplateFactory.java
42.85% <0.00%> (-28.58%)
2.00% <0.00%> (-1.00%)

...he/dolphinscheduler/common/thread/ThreadUtils.java
71.66% <0.00%> (-6.67%)
13.00% <0.00%> (-1.00%)

...duler/api/utils/exportprocess/DataSourceParam.java
70.58% <0.00%> (-5.89%)
4.00% <0.00%> (ø%)

...e/dolphinscheduler/remote/NettyRemotingClient.java
53.95% <0.00%> (+2.87%)
11.00% <0.00%> (+2.00%)

Continue to review full report at Codecov.

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


Host: Add filter option by tags for challenges

Add filter option by tags for challenges.
We have tags for each challenge. As of now it is empty but will be populated soon.
We will add a filter in the challenges screen which helps us to filter the challenges by tag.

I am taking this issue


Fix confusing paths in source maps

Since CSS source maps are presented differently in the browser, we don't need the loader stuff in CSS source map sources. What do you think?
Before fix, paths (with the sass-loader) looked like:

After fix, paths look like:

Also fixes jtangelder/sass-loader#150

@sokra

Still need to test it, but thx anyway :+1:

I'm still seeing a similar issue when using both the autoprefixer-loader and sass-loader, with a webpack config setup like this project: https://github.com/erikras/react-redux-universal-hot-example
The confusing paths are noted in this issue:
https://github.com/erikras/react-redux-universal-hot-example/issues/572
Removing autoprefixer-loader from the chain results in normal looking sourcemap paths. Any ideas?


Annotate set 2

@landml This version is registered as Beta on Prod. It could probably be fixed up to always use the parent object's reference instead of checking to see if you have permission first.
If you have time, please check it out / test it out.

Errors in both AssemblySet and GenomeSet in appdev:
https://appdev.kbase.us/narrative/ws.25635.obj.1
Also, I cloned the repo and I’m not getting the kb-sdk test to run.
Miriam
From: bio-boris<EMAIL_ADDRESS>Reply-To: kbaseapps/ProkkaAnnotation<EMAIL_ADDRESS>Date: Monday, April 29, 2019 at 1:53 PM
To: kbaseapps/ProkkaAnnotation<EMAIL_ADDRESS>Cc: Miriam Land<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [kbaseapps/ProkkaAnnotation] Annotate set 2 (#36)
@landmlhttps://github.com/landml This version is registered as Beta on Prod. It could probably be fixed up to always use the parent object's reference instead of checking to see if you have permission first.
If you have time, please check it out / test it out.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/kbaseapps/ProkkaAnnotation/pull/36#issuecomment-487679462, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AALK2YXICT4SH6IIUD2PROTPS4Y2DANCNFSM4HI5P7CQ.

@landml Looks like the errors are fixed for the assembly set. There's a new issue with the genome_set and the ontology events.


Read TEPs from Google Spreadsheet

Currently, the Target Enabling Packages (TEPs) shown in the target profile page of certain genes are hard-coded in a javascript script in the webapp code base. This is cumbersome because it means that the script has to be changed every time a new TEP needs to be added.
It has been decided that going forward, platform-input-support will read the TEPs from a Google Spreadhseet similar to what is already done with the chemical probes and they will be added to the gene index.

Ensembl_id added to spreadsheet following a conversation with @cmalangone. The values that are really needed are Ensembl_id and Real_URL, everything else is for tracking and debugging purposes.

Added TEP step in platform-input-support
The output file is used by the platform-etl-backend.
Added TEP info to the target step


Analysis in CodeChecker fails on AArch64

I tried a yocto build of R-Car Gen3 using meta-codechecker.
Build succeeded. However, many errors were counted in the Analyzer Statistics of Codechecker.
From the do_codecheckeranalyse log, it appears that clang does not support the "-mtune=cortex-a57.cortex-a53" flag and that analyzing has failed. An example is shown below.

...
[INFO 2021-09-08 09:36] - Starting static analysis ...
[ERROR 2021-09-08 09:36] - Analyzing inffast.c with clang-tidy  failed!
[ERROR 2021-09-08 09:36] -
error: the clang compiler does not support '-mtune=cortex-a57.cortex-a53' [clang-diagnostic-error]

[ERROR 2021-09-08 09:36] -
1 error generated.
Error while processing /data/bsp/build/tmp/work/aarch64-poky-linux/zlib/1.2.11-r0/zlib-1.2.11/inffast.c.
Found compiler error(s).

[ERROR 2021-09-08 09:36] - Analyzing adler32.c with clang-tidy  failed!
[ERROR 2021-09-08 09:36] -
error: the clang compiler does not support '-mtune=cortex-a57.cortex-a53' [clang-diagnostic-error]

[ERROR 2021-09-08 09:36] -
1 error generated.
Error while processing /data/bsp/build/tmp/work/aarch64-poky-linux/zlib/1.2.11-r0/zlib-1.2.11/adler32.c.
Found compiler error(s).
...

Do you have any good ideas for a successful analysis?

Hi Morizumi-san,try this in your conf/local.confDEFAULTTUNE:poky-agl := "aarch64"Note: it will rebuild a lot but avoid the issue.Probably best to do from scratch to avoid mismatches.Best,js--Diese Nachricht wurde von meinem Android Mobiltelefon mit GMX Mail gesendet.Am 29.09.21, 16:36 schrieb Yoshihisa Morizumi @.***>:
I tried a yocto build of R-Car Gen3 using meta-codechecker. Build succeeded. However, many errors were counted in the Analyzer Statistics of Codechecker.
From the do_codecheckeranalyse log, it appears that clang does not support the "-mtune=cortex-a57.cortex-a53" flag and that analyzing has failed. An example is shown below.
...
[INFO 2021-09-08 09:36] - Starting static analysis ...
[ERROR 2021-09-08 09:36] - Analyzing inffast.c with clang-tidy  failed!
[ERROR 2021-09-08 09:36] -
error: the clang compiler does not support '-mtune=cortex-a57.cortex-a53' [clang-diagnostic-error]
[ERROR 2021-09-08 09:36] -
1 error generated.
Error while processing /data/bsp/build/tmp/work/aarch64-poky-linux/zlib/1.2.11-r0/zlib-1.2.11/inffast.c.
Found compiler error(s).
[ERROR 2021-09-08 09:36] - Analyzing adler32.c with clang-tidy  failed!
[ERROR 2021-09-08 09:36] -
error: the clang compiler does not support '-mtune=cortex-a57.cortex-a53' [clang-diagnostic-error]
[ERROR 2021-09-08 09:36] -
1 error generated.
Error while processing /data/bsp/build/tmp/work/aarch64-poky-linux/zlib/1.2.11-r0/zlib-1.2.11/adler32.c.
Found compiler error(s).
...
Do you have any good ideas for a successful analysis?
—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications on the go with GitHub Mobile for iOS or Android.


dts-gen for excel4node 1.2.1

I am a newbie in typescript following typescript node starter tutorial. I ran dts-gen on excel4node v1.2.1. The generated d.ts has error at:
export namespace Workbook {
    namespace prototype {
        function addWorksheet(name: any, opts: any): any;

        function createStyle(opts: any): any;

        function getStringIndex(val: any): any;

        function setSelectedTab(id: any): void;

        function write(fileName: any, handler: any): void;

        function writeToBuffer(): any;
...

-- typescript complains "src/types/excel4node.d.ts(475,15): error TS2300: Duplicate identifier 'prototype"
I would guess this is a bug triggered by source code referencing functions explicitly through the prototype property.... Will I be ok if I just delete the offending definition? After all above I see:
export class Workbook {
    constructor(opts: any);

    addWorksheet(name: any, opts: any): any;

    createStyle(opts: any): any;

    getStringIndex(val: any): any;

    setSelectedTab(id: any): void;

    write(fileName: any, handler: any): void;

    writeToBuffer(): any;

}

I'm seeing the same thing with dts-gen -m snoowrap as well.


Added PDF/Excel code to service

JIRA link (if applicable)
https://tools.hmcts.net/jira/browse/PUB-1586
https://tools.hmcts.net/jira/browse/PUB-1588
Change description

Added functionality to generate PDF/Excel files for artefacts
Added connection to blob storage to store generated Excel/PDFs
Added new api to perform operations for PDF/Excel
Added functionality to generate artefact summary strings from an artefact ID

Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[x] No

Requires https://github.com/hmcts/pip-shared-infrastructures/pull/75 to be merged for the build to pass.


Create FluoList command

For #842, create command that lists Fluo applications if given connection.properties.
java org.apache.fluo.core.command.FluoScan /path/to/connection.properties

Closed by #883


Update Location.php

Add 'modified' field and corresponding functions for Location model.

@tomassrnka thank you for contribution


New NotBlankString type

Description
We would like to define a new NotBlankString serializable type in the kotools.types.text package for representing strings that have at least one character excluding whitespaces. Here's the minimal API for this type:
public fun NotBlankString(value: String): NotBlankString {
    TODO("Not yet implemented")
}

public interface NotBlankString {
    public val size: StrictlyPositiveInt

    override fun equals(other: Any?): Boolean
    override fun hashCode(): Int
    override fun toString(): String
}

This type should be available on all platforms and should be compatible with Kotlin and Java.
Its serialization should behave like a String.
Dependencies
This issue is blocked by the following ones:

[x] #184

Checklist

[ ] Implement the type and its minimal API.
[ ] Make the type serializable.
[ ] Check the generated documentation.
[ ] Check and update the public API binaries.
[ ] Update the Unreleased section in changelog.

We will use the existing type instead of defining a new one.

We will work on the existing type instead of reimplementing it from scratch.