Inconsistent player spawn behaviour

When joining a session from the Main Menu, new players are spawned with the SpectatorPawn class. In contrast, when starting the networked session from one of the playable maps directly, this is not the case.
I've dug almost all Classes (GameMode, GameState, SCoopGameMode, SGameState, the Level Blueprint, SPlayerStart and a bunch more...)
I can't find the code that handles which Pawn is being spawned and possessed by newly joined players. Any pointers for me?

I have the exact same issue as you. I created a dedicated server, first client that connects to server spawns as a player, rest spawn as a spectator. I am wondering if spawn at team member feature that was added lil while back is the culprit. I have spent countless hours today trying to figure out why any players after the first one is spawned as spectator, will try to revert the buddy spawn feature tomorrow and see if that helps

I have the exact same issue as you. I created a dedicated server, first client that connects to server spawns as a player, rest spawn as a spectator. I am wondering if spawn at team member feature that was added lil while back is the culprit. I have spent countless hours today trying to figure out why any players after the first one is spawned as spectator, will try to revert the buddy spawn feature tomorrow and see if that helps
Edit: Running multiplayer on PIE and standalone works just fine but not on packaged version

I've managed to fix it by commenting out a couple lines.  I'll see if I can find the lines I commented out and post it here (dirty fix).

I've managed to fix it by commenting out a couple lines.  I'll see if I can find the lines I commented out and post it here (dirty fix).

Would be great if you could find out what lines you commented out.
Also while running in editor mode I see pawns are created dynamically and possessed but just like you mentioned in original comment I havent been able to figure out where its handled


Teleportation chapter says can run on real device

The teleportation circuit has gates after measurements, so it cannot be run on the currently available hardware [gives error 7006].  However, there is an entire section as the end of this chapter devoted to running on a real device.  This is exacerbated by the fact that there is a plot there that makes it look like it actually works when in fact is does not.

Is there a work-around or fix for this yet? I ran into the same problem on another circuit, which led me to this issue.
I tried using the classical register as the control instead, as follows:
qc.measure(q[0], c[0])
qc.measure(q[1], c[1])
qc.barrier()
qc.x(q[2]).c_if(c,2)
qc.z(q[2]).c_if(c,1)
qc.x(q[2]).c_if(c,3)
qc.z(q[2]).c_if(c,3)

The last four lines (with c_if) replace these (quantumly) controlled-gates:
qc.cx(q[1], q[2])
qc.cz(q[0], q[2])

I had to condition the control on the entire classical register (and thus was forced to duplicate the x and z gates) because apparently conditioning on single classical bits isn't supported yet (https://github.com/Qiskit/qiskit-terra/issues/1160).
(And by the way, if I don't have the qc.barrier() there between the measures and the c_ifs, the first x gate is placed before the measures. Is this a bug?)
Making the above change works in the statevector and qasm simulators, however, it still results in an error on a real device:
Instruction not in basis gates: instruction: bfunc, qubits: [], params: []. Error code: 7000.
I'm stumped as to how to proceed.

Regarding my parenthetical comment about the barrier, as you can see in the following screenshots, removing it results in the classically-controlled-X gate migrating to before the result is measured into the classical register. A c_if should obviously not commute with a measure that affects the control.

I discovered @quantumjim's trick to split up the classical register so this code can be replaced:
qc.x(q[2]).c_if(c,2)
qc.z(q[2]).c_if(c,1)
qc.x(q[2]).c_if(c,3)
qc.z(q[2]).c_if(c,3)

with:
circuit.x(q[2]).c_if(c[1],1)
circuit.z(q[2]).c_if(c[0],1)

But in any case, the underlying problem of getting error code 7000 remains and I'm unable to fix the teleport code.


chore: Rename license-header.txt (licensee)

The license detection of GitHub currently doesn't work properly for this repository though we are using a standard Apache 2.0 license text. GitHub uses licensee as detection backend and this seems to be distracted by the file license-header.txt. Following their documentation files in the root folder probably shouldn't contain words like "copyright" or "license" to avoid distracting the license detection functionality. Therefore, this PR proposes to rename the file and its references accordingly.
Changelog
Changed

rename license-header.txt to licensing-header.txt
adjust references to license-header.txt accordingly
touch LICENSE to ensure license detection re-run

@SebastianWolf-SAP did it work? Should I merge it?

At least it worked properly on my fork: https://github.com/SebastianWolf-SAP/xsk But here, it doesn't seem to be updated properly though the changes are the same... I'll update the support ticket with GitHub accordingly, that's really weird.


The script to create the Inbound rule to delete groups on-premises contains a space after each tilde which makes it fail.  After removal of all of the spaces the scrip works fine.  Can we have these spaces removed so the customer does not have to please?

The script to create the Inbound rule to delete groups on-premises contains a space after each tilde which makes it fail. After removal of all of the spaces the scrip works fine. Can we have these spaces removed so the customer does not have to please?

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

ID: 35863b41-f4b7-a772-b9d7-119b8eb08830
Version Independent ID: 2db4eafa-79cb-9401-baf6-6902a1593972
Content: Modify group writeback in Azure AD Connect - Microsoft Entra
Content Source: articles/active-directory/hybrid/how-to-connect-modify-group-writeback.md
Service: active-directory
Sub-service: hybrid
GitHub Login: @billmath
Microsoft Alias: billmath

@pitbull43026
Thanks for your feedback! We will investigate and update as appropriate.

@pitbull43026
Thanks for your contribution.
Could your help out with screenshot of the script, it can help me to update doc as per your query.

@pitbull43026
We are going to close this thread, but if there are any further questions regarding the documentation we will reopen this case, and please tag me in your reply and we will be happy to continue the conversation.


Update authors/organizers

Fix #11.

Add option to share on bluesky
Remove unnecessary archives page?
Update schedule
Update FAQ language
Add application form, location, and more info
Add organizers list (abc order)

I haven't built this locally but I hope I did not break any formatting...

Thanks Ryan, all looks fine - I'll go ahead and merge.

Re: archive. The initial idea was to make it a bit more blog-like. I.e., we could have brief update posts (registrations opened / closed, one week to go, project presentations etc). That's were the archive might become handy. But not sure if its worth it ...

Oh, I see. I like that idea, but I think we could just the homepage post listing for that unless we might have too many posts.


Can the same PAT be used to configure and register multiple agents?

> When using PAT as the authentication method, the PAT token is only used during the initial configuration of the agent.
This would indicate the PAT is used for registration and then not stored and used again. Is this really so?
I ask because when we tried to use the same PAT for 2 agents the original agent stopped working (not authorized).

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

ID: 43799c5d-2f13-cc76-a1c0-a3f850e16d4e
Version Independent ID: 97a5b73f-faf7-f9c0-9269-fc79984616d6
Content: Deploy a Azure Pipelines agent on Windows - Azure Pipelines
Content Source: docs/pipelines/agents/v2-windows.md
Product: devops
Technology: devops-cicd
GitHub Login: @steved0x
Microsoft Alias: sdanie

@cawoodm Sorry for the long delay, quick question - did the first agent that you registered with the PAT get going successfully, and processed some builds, and then only stopped working after you registered the 2nd agent (using the same PAT)? Since the PAT is only used during agent setup, if the first agent did get going successfully, then the issue would be caused by something else other than the reuse of the PAT for registering the 2nd agent (which I am checking to see if that is supported, my guess would be yes, and if you were in fact able to register 2 agents using the same PAT that would seem to confirm that)
Were you able to resolve the first agent? Here is some more information about agents authorization:
https://github.com/Microsoft/azure-pipelines-agent/blob/master/docs/design/auth.md

Ooooh, it's a while back so I can't recall exactly. The problems we are seeing with agents now seem to be related to the flaky updater so I've posted the following issue:
https://github.com/microsoft/azure-pipelines-agent/issues/2567


Automation, start changelog, etc - ops stuff

Have VERSION file for reflection and bash stuff
add build script; updates dependencies, increments minor version, tries to automate changelog but that is buggy, creates the sdist
add deploy script; if there is a .pypirc file, it tries to deploy the new version to PyPi -- this is tested, it definitely works
setup.py now pulls version from VERSION file

This moves us forward on #5

Some inspiration was https://medium.com/@Joachim8675309/jenkins-ci-pipeline-with-python-8bf1a0234ec3


update BuyerID to use DDSAOFM for initial invoicing payments

Description
Invoice EDI N104 BuyerID field needs to be updated to not use the Source GBLOC. A temporary Buyer ID will be used as described by the pivotal story. This will also later be changed to be editable in some way. But for now, we need this to submit a payment for invoice.
Reviewer Notes
n/a
Setup
Add any steps or code to run in this section to help others prepare to run your code:
make server_test
go-test ./pkg/edi/invoice -testify.m TestEDIString

Code Review Verification Steps

[X] Request review from a member of a different team.
[X] Have the Pivotal acceptance criteria been met for this change?

References

Pivotal story for this change

Screenshots
n/a

What I understood is that the source GBLOC is the correct value under normal circumstances. However, just for the pilot moves, in order for DFAS to have more control, they set up a special account with the buyer ID "DDSAOFM". Is that info outdated?

@kimallen - It is a little out dated. The BuyerID field tells Syncada which account to pay invoices from, and the accounts are associated with GBLOCs. But often, for reasons I don't fully understand (it's up to the military accountants,) they want to pay out of different accounts. I think of it, for example, like having a credit card I just use for gas.
To differentiate, some apps have a prefix before the GBLOC. I believe TOPS sends the buyer ID as NTS<GBLOC>. In the longer term, I think we'll use something like DDS<GBLOC>. But for now, to test these very first invoices, they have a special account they want to use, and we indicate that by using a buyer ID of DDS<not-quite-GBLOC>.
I hope that helps some, and am adding this to the invoicing doc now :)


fix: mux-video prop + upgrades

fix #245
https://github.com/muxinc/elements/pull/912

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

Project coverage is 88.89%. Comparing base (a8db824) to head (b14dcd3).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #253      +/-   ##
==========================================
- Coverage   90.63%   88.89%   -1.75%
==========================================
  Files          30       30
  Lines        2413     2413
  Branches      339      282      -57
==========================================
- Hits         2187     2145      -42
- Misses        226      266      +40
- Partials        0        2       +2

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


SPFX not working on SharePoint Mobile App

Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
💥 SharePoint Framework
Developer environment
None
What browser(s) / client(s) have you tested

[ ] 💥 Internet Explorer
[ ] 💥 Microsoft Edge
[ ] 💥 Google Chrome
[ ] 💥 FireFox
[ ] 💥 Safari
[X] mobile (iOS/iPadOS)
[X] mobile (Android)
[ ] not applicable
[ ] other (enter in the "Additional environment details" area below)

Additional environment details

browser version
SPFx version
Node.js version
etc

Describe the bug / error
We have a couple SPFX web parts that work just fine on mobile browsers (see images below)
When we try to use the SharePoint Mobile App, both Android and iOS, they just wont load.

Is this a normal behavior?
Are we missing some "setup" to make them work fine?
Steps to reproduce

Expected behavior
SharePoint Mobile App would show the custom spfx web parts correctly

I am experiencing the same problem

I also have the same issue; SPFx solutions with 3rd party API integrations are not rendering in the Microsoft SharePoint App on iOS or Android.  In Safari and Chrome browsers they render as expected. The issue is only when using the "Microsoft SharePoint App"

After further testing I have narrowed the issue down to token acquisition when using the AadtokenProviderFactory to get a token to call our API, From my findings the getToken method stalls and never returns the token or throw and error that we could catch,
I also tested just trying to get a token without calling our API and got the same result,
As a quick example:
private async getToken(): Promise<string> {     try {       this.showMessage(Start getTokenProvider....);       const tokenProvider = await this.context.aadTokenProviderFactory.getTokenProvider();       this.showMessage(Start getToken...);       const token = await tokenProvider.getToken(AppSettings.clientId);       this.showMessage(Token aquired...);       console.log("Token: ", token);       return token;     } catch (error) {       this.showError(Error in getToken: ${error});     }   }
The "Token aquired..." message is never hit and no error is displayed either so we have come to the conclusion that this is where the issue is.
This is the case for all our spfx solutions regardless of version as we have various solutions using different versions including the latest v1.18.2

Still no answer and app still wont work on some tenants for SharePoint Mobile App.
When can we expect an answer?

It seems to show the web parts now, tested in android and iOS


metals: 0.7.6 -> 0.8.0

Motivation for this change
Metals 0.8.0 (Cobalt) release
Things done

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

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

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

Thanks @liff!
Metals 0.8 supports Java 11, but it doesn't require it, does it? I'm not very well versed in the conventions for this sort of thing with nixpkgs, but I wonder if it would make sense to keep the derivation the way that it was and let people choose which jdk they want to use. You could potentially change all-packages.nix to explicitly pass jdk11 in for both arguments, but it looks like currently it is using jdk8 as the default for most builds - I'm not sure whether there's a particular reason for that.
I'm hoping a more experienced Nix maintainer can weigh in on this.

I’ve reverted the JDK version change.

LGTM too


Add support for reset in batch API

Add reset option to batch operations
Add reset option to batch operations

What changed?

Why?

Breaking changes

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


doc: update sponsors

Partially implements #1838

@KMouratidis has recently been supporting us for some months on OpenCollective, before going anonymous.
Wondering if it is OK to list him...
@KMouratidis let us know if you want your name on this list!

Updated


#1380 - User Roles Phase 1

Please see https://github.com/jac-uk/admin/pull/1470 for further info

As discussed @HalcyonJAC is going to amend so we are passing firebase (or auth) from helpers into the userRoles module

Just the following to do then we're done

As discussed @HalcyonJAC is going to amend so we are passing firebase (or auth) from helpers into the userRoles module

@HalcyonJAC @JeremykJAC any update on this one?

@HalcyonJAC I've made the code changes so will merge this work


Add test case of Sharding for Helm Chart intergration

Aim
Add test case of Sharding for Helm Chart integration. Since we have proposed the proxy-integration.yml under .github/workflows/, and start MySQL client for some basic test. We can extend this case to real Sharding.
Instructions

Add a two MySQL Deployment and Service on kubernetes
Using DistSQL to add these two MySQL Service as datasources.
Try to create some tables, e.g. the t_order table according to the Apache ShardingSphere document.
Try to create some logical table which using Sharding rules.
Insert some values and verify the results

Result
This work could be finished with an action file under .github/workflows/.

Todo:

[x] ShardingSphere Proxy Helm Chart #63
[ ] ShardingSphere Operator Helm Chart


REQUEST: Add ability to keep Async members immediately following corresponding non-Async members when using default sorting in "Sort Members"

In the "Sort Members", when using the "Sort" button, method members that end in "Async" are all sorted lexicographically, thus separating them from their corresponding non-async partners when there are multiple overrides of a particular method.  For example, this would be the result of sorting 4 methods where there are two non-async overloads and two partner async overloads:
Method(int value)
Method(long value)
MethodAsync(int value)
MethodAsync(long value)
It would be useful to provide an option (as a checkbox, without having to manually drag them) to change this behavior to keep the async methods together with their partners, like this:
Method(int value)
MethodAsync(int value)
Method(long value)
MethodAsync(long value)

I like this idea. It'll take some work to implement it though, so I'm going to leave this issue open until I can get to it (which may be a while as I'm busy on other projects).
The "Sort Members" command already supports a configurable sort order (under Tools > Options > Menees VS Tools > Sort : Sort Members order). Its default sort order is Kind, Access, IsStatic, KindModifier, ConstModifier, OverrideModifier, Name, ParameterCount. This can be seen in code at Sort/MemberSorter.cs#L30.
To implement this issue, I'll have to split Name into NamePrefix and NameSuffix, and I'll have to add support for ParameterText instead of just ParameterCount.


ODE extraction methods not working

From the docs you should be able to

import tellurium as te
r = te.loada ('S1 -> S2; k1*S1; k1=1')
te.getODEsFromModel (r)

But I get
Warning: species 'S1' has neither initial amount nor concentration set.  Setting initial concentration to 0.0
Warning: species 'S2' has neither initial amount nor concentration set.  Setting initial concentration to 0.0
Traceback (most recent call last):
  File "D:/ReproduciblePaper/BIOMD64/ODE/python_odes.py", line 27, in <module>
    te.getODEsFromModel (r)
  File "C:\Miniconda3\envs\py37\lib\site-packages\tellurium\utils\misc.py", line 118, in getODEsFromModel
    return extractor.toString()
  File "C:\Miniconda3\envs\py37\lib\site-packages\tellurium\utils\misc.py", line 250, in toString
    if not self.model.getSpecies (index).boundary_condition:
  File "C:\Miniconda3\envs\py37\lib\site-packages\tesbml\libsbml.py", line 24321, in <lambda>
    __getattr__ = lambda self, name: _swig_getattr(self, Species, name)
  File "C:\Miniconda3\envs\py37\lib\site-packages\tesbml\libsbml.py", line 89, in _swig_getattr
    return _swig_getattr_nondynamic(self, class_type, name, 0)
  File "C:\Miniconda3\envs\py37\lib\site-packages\tesbml\libsbml.py", line 84, in _swig_getattr_nondynamic
    return object.__getattr__(self, name)
AttributeError: type object 'object' has no attribute '__getattr__'

Process finished with exit code 1

using tellurium 2.1.5 on Windows 10 and python 3.7

Works in new version of tellurium


Automator: update<EMAIL_ADDRESS>dependency in<EMAIL_ADDRESS>

Generated by Automator - 2022-07-14T15:06:55+00:00

@istio-testing: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-security-multicluster_istio_release-1.14
459c8a3487d06746339f6ea29862821a160903fa
link
true
/test integ-security-multicluster_istio_release-1.14

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@istio-testing: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-security-multicluster_istio_release-1.14
459c8a3487d06746339f6ea29862821a160903fa
link
true
/test integ-security-multicluster_istio_release-1.14

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test integ-security-multicluster_istio_release-1.14


Syncing from upstream zalando/patroni (master)

bt_gitbot

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 99.851%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
12085

Relevant Lines:
12103

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 99.851%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
12085

Relevant Lines:
12103

💛  - Coveralls


IsRemoteReachable don't work on iOS

Please take a moment to fill out the following (change to preview to check or place x in []):
This is a

[ x] Bug
[ ] Feature Request

Which plugin does this impact:

[ ] Battery
[x ] Connectivity
[ ] Contacts
[ ] DeviceInfo
[ ] ExternalMaps
[ ] Geolocator
[ ] Media
[ ] Permissions
[ ] Settings
[ ] Text To Speech
[ ] Vibrate
Other:

Version Number of Plugin: 2.1.2
Device Tested On: iPad Air 2 on iOS 9.3.1
Simulator Tested On: iPhone 6s iOS 9.3
Expected Behavior
Working method :)
Actual Behavior
When trying to reach "google.ca" result is always false. In Android everything is OK.
Steps to reproduce the Behavior
When using this code :
bool res = await CrossConnectivity.Current.IsRemoteReachable("google.ca");

res is always false. I tried with a high timeout, no changes.
Thanks!

I have tested this out in 2.2.1 and working great.


[TextFilePreview] Add show/hide default state settable

I mean the eye icon on text files. That is show/hide.
So i would like to keep by default the preview of text file hidden.

So i would like to keep by default the preview of text file hidden.

Same. I'm a bit concerned about the fact that it reloads the file preview whenever I scroll away even a little.
Kind of worried about the API spamming, because there seems to be no caching implemented.


Dictionary encoding for series cache key

This makes key much smaller and have positive impact on memory usage. Benchmark is showing 2X reduction in memory usage.
Before:

After:

Thanks for the feedback however no need to review yet since this is just an initial draft to validate the approach.

Project is depricated


Document the DataSpace ProQuest dissertation metadata updates

Currently, there exists a workflow in DataSpace (a DSpace implementation resolving to ) in which metadata for doctoral dissertations is provided by ProQuest as an external service provider. The DSpace administrator (currently @jrgriffiniii) transforms the provided metadata using a command-line Java Class invocation (this cleans and normalizes titles, along with retrieving some existing ARKs for items). Following this cleaning and linking process, @pmgreen has traditionally provided additional cleaning tasks, along with providing linking for any missing ARKs. The final version of these MARC records are then delivered for importation into the ILS.
This process is undertaken approximately every six months, and we should strive to adjust this in order to automate this process where possible. For the moment, this process should be documented in greater detail.

While discussing this workflow with @mzelesky, it was discovered that the Java-implemented routine which transforms the ProQuest metadata into proper MARC records was generating improperly-formatted MARC. Further, justified concerns regarding why this transform and process should be so tightly-bound to Java (particularly given that so many within the ITIMS teams work with Ruby Gems in order to interface with the ILS) were raised.
Perhaps a more streamlined approach could be undertaken which relies more heavily upon Ruby-based solutions could instead be explored (as the problematic MARC record formatting must be addressed regardless).


💡 Feature: Export video track

Type of Feature
No response
Current Behavior
Currently, we have the button to export a video track but it does not do anything.
Suggested solution
Create the logic for video export by using wails dialog to export a video track. Before exporting, we should allow a user to select a container of choice (mp4, avi, mov) do the transform and export the video to the path selected.
Additional Context
No response

move to Gahara-Editor/gahara


Revert "Update bootstrap script to disable --parallel for testing by default"

This reverts commit a38a0b705730851e241411b53293ab2877677d95.
The root cause of the issue was identified to lie outside of SwiftPM, so we can re-enable this.

@swift-ci please test


User Settings

Create the ability for users to change their name, password, chat color ect.

Regardi personalizations, you limit certain options behind a paywall or no limits?

Not really @StarFang208


Running benchmark at around 50% speed + image tokenization questions

Hi - thanks so much for making this repo!
I just ran the benchmark on my 32GB M1 Macbook Pro and I'm getting tps numbers roughly 60% of what was reported.  Any idea on what might be going on?
Secondly, it seems like no matter the size of the image, the input tokens used for the image is the same.  Is there a way to change the input token size for images?

First of all, thank you for your interest in the project!
1. Regarding the lower tps (tokens per second) numbers:
Are you seeing lower tps across all tasks (text generation, image captioning, and batched generation)? Could you run the benchmark() function and share the results? This will help us compare the performance across different model configurations.
2. Regarding input tokens for images:
You're correct that the current implementation can uses a fixed number of input tokens for images, regardless of their size. This is by design, based on the model's architecture. The Phi-3 Vision model uses a fixed patch size and a maximum number of patches, which results in a consistent number of tokens for the image input. This approach allows for efficient processing and consistent behavior across various image sizes. Modifying this aspect would require significant changes to the model architecture and would likely require retraining. If you have a specific use case that requires variable token sizes for images, please elaborate, and we can discuss potential approaches.

Sure!  I just read your blog series too - great writing 😄 .

Could you run the benchmark() function and share the results?

Yes.  See below:
| Task                  | Vanilla Model | Quantized Model | Quantized Cache | LoRA Adapter |
|-----------------------|---------------|-----------------|-----------------|--------------|
| Text Generation       |  14.24 tps     |  37.29 tps      |  10.33 tps       |  12.78 tps    |
| Image Captioning      |  12.17 tps     |  29.22 tps      |  2.66 tps       |  12.01 tps    |
| Batched Generation    |  144.16 tps     |  108.03 tps      |  61.46 tps       |  133.16 tps    |

My system is a 2021 Macbook Pro, M1, 32GB of memory.

If you have a specific use case that requires variable token sizes for images, please elaborate, and we can discuss potential approaches.

I'm playing around with some user-interaction automation (ie handling UI elements on the screen), where some of the questions are easy.  Let's say for example: "Which of these two symbol buttons should I press to achieve X?"  This requires a tiny image, and is very simple to answer.
As the user will be waiting, ideally something like this would be answerable in a very short amount of time.  I don't think that a smaller model is necessarily the answer as there are a very small amount of needed input and output tokens so it seems like I could use a model like Phi3.5.
Ideally, there would be some way to use more compute for larger images that require the resolution and scope, and proportionally less (at least on input tokens) for smaller images.  Do you see any way to address that?  The current implementation takes around 17s to process per image, which is unfortunately too slow.
Completely understand if this is out of the scope of the project!

Regarding the lower tps numbers: My benchmark was run on a 2022 Mac Studio with the M1 Max and 64GB RAM, so this could be why you're seeing lower numbers on your system.
Regarding input tokens for images: Interesting idea about variable image processing. I've pondered it for the past many days, but haven't yet found a good solution given the model's architecture.

Thanks again for raising these points and for your interest in the project!


I have Created Auto-comment Feature and also rename Greeting with auto-comment

I have created a Workflow that automatically commits when an issue is opened, a pull request is created, an issue is closed, or an issue is assigned or unassigned.
too run this workflow you need to enable the following permission

Can you attach the issue number @Nishitbaria

Hey @JasonDsouza212 here is issued that I solve : https://github.com/JasonDsouza212/free-hit/issues/437


With pnpm not work

I'm submitting a ...

[x] bug report
[ ] feature request
[ ] support request => Please do not submit support request here, see note at the top of this template.

Do you want to request a feature or report a bug?
bug

What is the current behavior?
It is my first start Vuestic-admin and i get this errors:
for example:
[vite] Internal server error: Failed to resolve import "@vue/reactivity" from "src\pages\admin\dashboard\composables\usePartOfChartData.ts". Does the file exist?

[vite] Internal server error: Failed to resolve import "@vue/reactivity" from "src\data\maps\lineMapData.ts". Does the file exist?

If the current behavior is a bug, please provide the steps to reproduce, ideally also a screenshot or gif if it's a style issue
"pnpm install"
"pnpm run dev"

What is the expected behavior?
Need to fix package.json for pnpm install to work

What is the motivation / use case for changing the behavior?

I want fix bug and create pull request in Vuestic-admin, but i cant's check it in my local version.

Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)

I resolved this trouble using Yarn but I thought I'd post so that others can avoid these problems.


#33 OpenAccountUseCase - Publishing events

Hi Valentina,
I am highly inspired by the clean code architecture and a continuous learner from your great talk. While exploring and learning the architecture, I dare to attempt to develop some piece of code on #33 OpenAccountUseCase - Publishing events.
In my test and understanding, it is working. I would feel myself happy if you kindly review and see if it can be merged or any rework needed.
Thanks Valentina.

Hi Amin, this is going in a good direction, thanks for your contribution!
I've merged the PR and will do some additional adaptations too.
P.S. Just regarding application.yml, we need to let the environment variables remain there, so not setting any hardcoded values there but instead set the environment variables in IntelliJ https://github.com/valentinacupac/banking-kata-java/blob/main/README.md Could you try that too.


PLAT-7189: fixed the URL when comes with context path

Build triggered. sha1 is merged.

Build started sha1 is merged.

Build finished.

Build triggered. sha1 is merged.

Build started sha1 is merged.

Build finished.

Build triggered. sha1 is merged.

Build started sha1 is merged.

Build finished.

Build triggered. sha1 is merged.

Build started sha1 is merged.

Build finished.

Codecov Report

:exclamation: No coverage uploaded for pull request base (dev@b0fe719). Click here to learn what that means.
The diff coverage is 100%.

@@          Coverage Diff          @@
##             dev    #129   +/-   ##
=====================================
  Coverage       ?   88.9%
=====================================
  Files          ?      36
  Lines          ?     820
  Branches       ?      88
=====================================
  Hits           ?     729
  Misses         ?      59
  Partials       ?      32

Impacted Files
Coverage Δ

...ira/authorization/oauth/v1/JiraOAuth1Provider.java
96.29% <100%> (ø)

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 b0fe719...8b3907d. Read the comment docs.


Additional inputs and outputs for method spec

In java methods can use global variables. Usage of these is not presented in the cocovila specifications.
I propose that we should also present the usage of these variables by introducing them in the specification.
An example:
public class Demo {
/*@
   specification MealyMachineSupervisor  {
      double gVar1, gVar2;
      String input1, input2, output;
      input1, input2, (gVar1) -> output, (gVar2) {process};
   }@*/

   double gVar1 = 0, gVar2=0;
   public String process(String in1, String in2) {
      gVar2 = gVar1 * 2;
      return in1+gVar1+in2;
   }
}

No. Specification variables and Java class fields are completely unrelated, and should be like that. Axiom reflects the type of its realization, this approach breaks it. Also, it does not bring any benefits. Planning algorithm would not work since it's unable to check if class fields are "computable".

Ok. I see there is room for discussion here. I do not see why class fields are unrelated, why this approach break axiom realization and why planning algorithm will not work.


Enable multi-record functionality in batch change

Prototype for multi-record enabled.
Changes in this PR:

Allow optional record data with DeleteRecordSet requests (controlled by configuration value of multi-record-batch-change-enabled)
Update unit tests

Outstanding issues:

Update functional tests (with testing behavior dependent on multi-record enabled)

@pauljamescleary yes, I left some feedback on the func tests; will merge those in once they have been incorporated. Definitely agree that we should wait for tests before merging in source.


Adding names to the etag unit tests

Description
Adding names to the etag unit tests.
Type of change

This pull request is a minor refactor, code cleanup, test improvement, or other maintenance task and doesn't change the functionality of Radius (issue link optional).

Fixes: #6887
Auto-generated summary

🤖[deprecated] Generated by Copilot at de6e319
Summary
🧪🎨📝

Refactor test cases for TestValidateEtag_IfMatch in util_test.go to use names and readable format. This improves the test code quality and style for the armrpc package.

armrpc tests grow
Refactored with names and style
Autumn of cleanup

Walkthrough

Refactor test cases for TestValidateEtag_IfMatch function to include name field and use consistent format (link)

/ok-to-test

/ok-to-test


AutoComplete returns the first item onEnterKeyDown

I'm just wondering if the autocomplete onEnterKeyDown should pass the first item index (or list of filtered items), not just the search text value. The Item TouchTap event already passes the selected index.
Currently, my workaround is to loop through the dataSource again when the onNewRequest event is triggered. Perhaps it might be better if the component is able to do it.

Though its a good point. When you press enter you are selecting a value. Even in case of a filtered dropdown you would tab down to the desired value and press enter.
Selection of the highlighted value on EnterKeyDown seems like a logical functionality.
Closing this as it is a specific use-case related question.


Convert TOC to yaml

Converting TOC to Yaml. This is easier to maintain and has more features.

@MonicaRush Please review.

#sign-off


Add a field of the "Additional notes" type with a TinyMCE text editor, to have a second block (is located after the calculator)

there is unresolved comments and missing the team level review

also attach the issue and project to this PR, then remove this task (cause attaching project to the PR)


Add errors types to Verify to differentiate between token and STS errors

It is useful to track latency for cases where STS is called differently
than when the token passed in does not meet the requirements.  This
splits the errors returned by token.Verify into two groups
TokenFormatError and STSError to allow users to differentiate between
the two.
Signed-off-by: Matt Landis<EMAIL_ADDRESS>

@nckturner  updated name and rebased.


[WIP] Assimp: Scale and rotate FBX imports.

Automatically scale and rotate FBX scenes due to metadata. There may be missing -90 x rotations.

Reduz wants this to be pushed into Assimp, but I'll still take comments on how to solve this. It'll be translated to assimp.

Trying to arrange a meeting with Assimp maintainer with some of the issues discovered above.


Issue : little pb slack machine repeat himself

Hello
my slack-machine is installed on a raspberry machine in a virtual env
i have this plugin which is very simple
`rom machine.plugins.base import MachineBasePlugin
from machine.plugins.decorators import listen_to
import re
class aide(MachineBasePlugin):
@listen_to(r"help?")
@listen_to(r"aide")
@listen_to(r"au secours")
def helpFunc(self, msg):
msg.reply(
"Pour l'astreinte indiquer : astreinte : la personne d'astreinte ; date : le lundi de la semaine d'astreinte")
`
when i type help? in slack i have 2 answers

Perhaps the one of the default plugins machine.plugins.builtin.help.HelpPlugin is running ?
See https://slack-machine.readthedocs.io/en/latest/user/usage.html#configuring-slack-machine and the PLUGINS array.
Though, I think that plugin would only responds to help not help?
Are the two answers the same ?  (your msg.reply message above ?)

Yes , the two aswers are the same  and Helplugin is not activated
This pb is the same for all my plugins and only on debian ,  i try same plugins on a windows install and it's ok

hello , today i'v tried to make the help plugin work , fail
can you give an example of a help text in a plugin
thx

Hello , the problem is solved
I've started 2 instances of slack machine (1 on windows and the other one on linux )
Your app works perfect


12 In Due Time

Had to create a new branch. Github desktop kept complaining about inconsistencies when I was trying to create the pull request. I even copied over the entire master branch into the new branch and it was still claiming there were inconsistencies. Jeez, github.


Windows 10 Enterprise (Evaluation - Build 201710)

Maybe you could add "Windows 10 Enterprise (Evaluation - Build 201710) " :

Windows 10 Fall Creators Update Enterprise Evaluation
Visual Studio 2017 (Build 15.4) with the UWP, desktop C++, and Azure workflows enabled
Windows developer SDK and tools (Build 16299.15, installed as part of VS UWP workflow)
Windows UWP samples (Latest)
Windows Subsystem for Linux enabled
Developer mode, Bash on Ubuntu on Windows, and containers enabled

It's freely available at https://developer.microsoft.com/en-us/windows/downloads/virtual-machines  -> https://aka.ms/windev_VM_virtualbox

The issue with these, the images timebomb after a date - rather than give 90 days from activation.

As it's only for evaluation, the expiration should not be an issue if it's well documented :)
IMHO, it could be useful to list this VM in your repo with a warning regarding the timebomb (or you can close this issue).


Fantasy Blue Theme change post update 1.2.0

After update 1.2.0, rich text editor fields are now black text on a black background when using the Fantasy Blue theme, making it impossible to use while editing those fields.

A new revision will be issued with new colors for Fantasy Blue to fix this problem.

Fixed on release 1.2.1.


Reactor fallback operators are not linked with the original request

Describe the bug
Consider a reactive operator in a pipeline that triggers a different code path based on a condition. This could be for instance a timeout or the handling of an exception.
https://github.com/snicoll/demo-tanzu-observability/blob/2c063d459529ba31acfbeafa831cb193b589e307/dashboard/src/main/java/io/spring/sample/dashboard/stats/StatsService.java#L45-L50
When the fallback code runs and it succeed, I expect two things:

See the span correlated to the original request so that the fallback code is displayed alongside the original request
If the call succeed, the span should not be in error

Both of these aren't true with 2020.0.3.
Sample
The sample is https://github.com/snicoll/demo-tanzu-observability
To reproduce the problem, start the two apps. Then enable some fake latency for the service using http :8081/actuator/latency ratio=0.8. Finally, visit http://localhost:8080.
If you look at the traces, you'll see a bunch of request to reverse-lookup/free/{ip}. Some of them might succeed, some of them are in error. It's then followed, right after the timeout kicks in (500ms) by fallback operations on reverse-lookup/costly/{ip}. These are fallbacks and look like isolated requests.
To reproduce onErrorResume you can disable the latency: http :8081/actuator/latency ratio=0 and then invoke http://localhost:8080 with a high rate (like 10 times in a row).

I wonder if this is not linked to this https://github.com/spring-cloud/spring-cloud-sleuth/issues/1121

that looks quite similar indeed. The difference here is that the fallback is another codepath rather than retrying the exact same operation.

Spring Cloud Sleuth is feature complete and out of OSS support.


Suggestion: Allow override of auto selected joystick / gamepad

Adding a selector to cycle through detected joysticks or gamepads would be extremely useful, both for debugging joystick setups and for ease of use.
Right now it seems the joystick/gamepads are selected based on activity, however if you have a noisy joystick that is tuned through another program, the noisy one is selected with no way to select said quieter, tuned stick without fully disconnecting the noisy stick and restarting the game.
This is especially useful if you are running a full HOTAS setup that is being tuned and simulated as one controller in a program like Joystick gremlin or T.A.R.G.E.T.

When I first implemented the detection system, I already knew that this could be a problem (I had similar issues with a homemade gamepad emulator used on other games a while back).
You are perfectly right about the activity detection. While this system will stay as a default, I will probably add a "debug" menu to show all of the connected stuff on your computer (and the available axis/buttons on each) in addition to a way to "force" the mod to use inputs from one gamepad in particular. This system will work by checking the name/device ID to select the correct gamepad.
Now I can't really tell when I will release this update, but this will probably happen at the same time that I finish the UI rework, so next update I hope.


Allow name and classname generation override

Looking at issues such as #62 and #69, it certainly seems like different users of this plugin have different needs concerning how the testcase attributes 'name' and 'classname' are generated. In our case, a recent change introduced in e4f7ebd is pretty much the exact opposite of what we need.
It should be easy to allow users to add functions to their configs to handle this – in other words, for the  'classname' attribute we'd allow overriding the 'getClassName' function, and add something similar for 'name'.
Would you accept a PR for this if I implement it?

I agree with @mleonh
We had a requirement to generate different classname but this was not possible. Finally I had to process the xml file again to make it acceptable.


Question: Why templateInstance exists return error ?

https://github.com/freeCodeCamp/mail-for-good/blob/a65eb7a92a288786ef5c78adea5adb380f47a38d/server/controllers/template/create-template.js#L34-L39
It confusing, because when I create new template server always return 400.

Haven't encountered an error while creating a template. I think this should be considered as a issue instead of a question. And what errors did you see at the client side ? Any pop ups saying template already exists ?

Oh no it not that kind of error, it just an error in console log, because I am change some stuff in the client in the create template part and when I test I see that error I thought I do something wrong, so I check and found that part of code on the server and wonder why 😄

Ah, okay. Well, check if there are no errors in the back end by checking
the terminal logs.


[REFACTOR] Consistent RAII with API.

We have quite a few RAII style scope context throughout the code base, and their naming conventions are not very consistent. This PR aims to provide a unified API for the RAII scoping similar to python's with syntax.
Any context class needs to implement set of standard functions to be implemented by a context class, which implement two functions(EnterWithScope, ExitWithScope) and then we can create an RAII class With.
{
   With<Target> target_scope(target);;
   // target in effect
}
{
   With<ConstraintContext> constraint(&analyzer, x % 3 == 0);
   // constraint in effect.
}

Refactored Target, BuildConfig, ConstraintContext to use the new style.
Renamed BuildConfig::create -> BuildConfig::Create to be consistent with the style
Use Target::Current() to indicate the current thread local scope context.

cc @alex-weaver @MarisaKirisame @jroesch @antinucleon @ajtulloch

While I agree with making the RAII interfaces more consistent, I'm not convinced that we should be moving the C++ away from idiomatic C++ to cater to python idioms. To my mind, the C++ API should follow C++ conventions (ie. constructor/destructor pairs for RAII enter/exit) and if the python modules require helper functions or wrapper functions, then they should be a layer on top of the base C++ API, so that non-python clients do not need to use them. The motivations for this make sense, but to me adding the With abstraction is turning the implementation inside-out.
I do agree with making RAII more consistent, but my suggestion would be that we follow C++ idioms and establish standard patterns for interfacing with python

Thanks, @alex-weaver . The purpose of this PR is not to move away from C++ idioms, but provide a unified way to construct RAII scopes.  Specifically,  With<ObjectType> API can be viewed as a C++ API that follows RAII idiom. And provides a standard naming and definition of such an object. The name of the object itself is inspired by the with-syntax of python.
It is similar to lock_guard's relation to different types of mutex, which is adopted by STL. The main reason for such a change is to standardize the RAII objects which are already abundant.
Hope this clarifies a bit, and I would also like to hear about possible alternative examples if you have anything particular in mind.

The CRTP style is a bit more intrusive. For now, the recommendation is always to keep Enter/Exit function private and declare a friend class to With, in which case Enter/Exit can only be called by With

@tqchen I guess I'm not seeing what the With abstraction buys over directly implementing a context class with constructor and destructor for things that can live in contexts. Then there is no need to tie the context implementation to the object class; to me these are separate concerns.
So for example, instead of this:
{
   With<Target> target_scope(target);;
   // target in effect
}

where Target is responsible for both representing a target and a stack of contexts, why not simply:
{
    TargetScope target_scope(target);
}

Then the responsibility of maintaining scopes is cleanly separated from the objects themselves, and the standardization can come from adopting naming conventions and semantics for these scope objects.

I see. I think it has things to do with how the scope semantics is implemented(in the scope object or the context object themselves).
From user’s perspective modulo naming(With vs TargetScope).
So back to the implementation point of view. I do not have strong opinion in either way. We can even achieve the same API if we adopt the With convention and implement the logic in that class(via template specialization). The fact that we try to hide the enter/exit function under private is exactly because we don’t want the user to bother such details. This being said, having a separate enter/exit function indeed makes frontend wrapping easier. Given similar style(lock/unlock and lock guard) already presents in the str, I feel we can still use this implementation, but I do not feel strongly it should be the case as long as we present the same api.
So there are two point being discussed:

The user scoping API convention,
which we hope to use With
How can this API be implemented(in scope or in the object)

@alex-weaver given that there are followup PR which might depend on this one. I propose to merge it tomorrow. The idea is that we will introduce With as the RAII convention, but do not want to force an opinionated view on how the RAII is implemented(in the XYZ::Enter/Exit or in With itself) as long as the API remains the same.

@tqchen Yes, it does make sense to separate the API choice from the implementation.
As far as the API goes, it wasn't clear to me why it is useful to standardize on With. I guess one argument that could be made is an ergonomic one - as a user of the API you automatically know the type signature of the scope object. The parallel alternative would be a consistent naming scheme for scope objects.
I agree that the API can hide different implementations, but my preference would be for the default to be separated implementation.
It's not a strong preference either way, I just have a slight preference for what would make the concerns separate by default, and be "least surprising"; but I don't mind this merging as-is.

Thanks @alex-weaver @MarisaKirisame for helpful discussions


New version

Would it be possible to release a new version? I'd love to get https://github.com/apple/swift-protobuf/pull/256.
Thanks.

Closing this, I just created a version in my fork to pin it, so there's no rush.


How to make changes in PanicHD Views files?

Hi @xaviqv,
I'm back.. :-)
There is this view file called form.blade.php
vendor/panichd/panichd/src/Views/tickets/createedit/form.blade.php
I want to make changes in this file, I know what I have to change but I don't know how am I supposed to make that change. I have asked this before as well but I'm still confused.
I made changes in the above mentioned file directly in vendor folder and it worked. But I know that it is not the recommended way and I don't want my changes to vanish away on any updates
Can you please please guide me step by step (for once) on how to make changes to this file?

Hi @ashi006,
One of Laravel cool features is it's view publishing mechanism, that covers exactly what you need. To customize any panichd view you have to:

Open your Laravel app "resources/views/" folder and create a "vendor" subfolder if it does not exist.
Open this "vendor" subfolder and create subfolder named "panichd", both without any capital letter.
Copy "vendor/panichd/panichd/src/Views/tickets/createedit/form.blade.php" to "resources/views/vendor/panichd/tickets/createedit/form.blade.php". Notice that below "resources/views/vendor/panichd/" folder you have to respect the same subfolder structure and filename as it exists in "vendor/panichd/panichd/src/Views"

For any other PanicHD view you want to customize, remember that Laravel will firstly look for it into "resources/views/vendor/panichd" and if it's not found, it will look at "vendor/panichd/panichd/src/Views".
This mechanism may work for majority of other Laravel packages. Cause you mentioned updates, I wanna add that after a PanicHD update, the files in the package folder (vendor/panichd/panichd) may change. After every update you have to review that your customized files (like published views) still work, or you will have to correct them manually.

Hi @xaviqv
Thanks for your response..
I was able to make it work. Can you please now guide me to update a controller function (same in step by step manner) please?

Hi @ashi006,
I'm glad I could help you with views customization.
In your last question I guess you are asking for customizing one of PanicHD controller methods in your app. In this case,  Laravel itself doesn't provide an easy method as the view publication method you already know is. Despite that, you may achieve it by at least two different methods: The first one is the "Laravel manner" and the other is "Git manner".
With the "Laravel manner", you keep your own code away from the package under vendor folder. On the other side, with the "Git manner" you will be able to edit any file under "vendor\panichd\panichd" folder without the risk of loosing your code after any app update.
Laravel manner
As an example, let's imagine that you want to customize the "index" method in PanicHD\PanicHD\Controllers\DashboardController, because you want to add extra functionality when you load "http://localhost/panichd/dashboard" in your browser.
To achieve this, we're going to edit two files in our Laravel app:

routes\web.php
App\Http\Controllers\PanicHD\DashboardController.php

The second one doesn't exist yet and the used folder is arbitrary but recommended for a polite folder structure. You may create it in any other folder within "app" and even use a different filename, but be aware of editing the code example accordingly!

Before editing your app "routes\web.php", you must search into "vendor\panichd\panichd\src\routes.php" the existent route that is using "DashboardController@index". We've found it:
Route::get("$admin_route_path/dashboard", 'PanicHD\PanicHD\Controllers\DashboardController@index')` ->name("$admin_route.dashboard");
In this example, let's assume that $admin_route_path value is the default "panichd", so the applied route is "panichd/dashboard" and the route name is "panichd.dashboard".

Edit your app "routes\web.php" and add this:

Route::group(['middleware' => array_merge(
    \PanicHD\PanicHD\Helpers\LaravelVersion::authMiddleware(),
    ['PanicHD\PanicHD\Middleware\IsAdminMiddleware'])], function (){

	Route::get('/panichd/dashboard', 'App\Http\Controllers\PanicHD\DashboardController@index')
	->name('panichd.dashboard');
});

Create  "App\Http\Controllers\PanicHD\DashboardController.php" with this content:

<?php

namespace App\Http\Controllers\PanicHD;

use PanicHD\PanicHD\Controllers\DashboardController as original_DashboardController;

class DashboardController extends original_DashboardController
{
    public function index($indicator_period = 2)
    {
		// Your new stuff goes here
		return 'New stuff';

		return parent::index($indicator_period);
	}
}

If you open "panichd/dashboard" URL in your browser, you should view our custom message for this route.

Git manner
This method requires to have Git installed on the computer you will be using to edit your Laravel app. It consists in the following ideas:

Create a git repository in folder "vendor\panichd\panichd" under your Laravel app
Create a "local_dev" branch or similar, where you will work on your customizations
When you do any further "composer update", you will be able to control if the package updates affect your own code and adapt it or edit as you require.

My recommendation
Although the Laravel manner works, I'm sure that most Github users around are applying the Git manner, as it keeps the code simpler in a local app and also lets to contribute to the package source code itself.

Hi @ashi006,
You may custom the create ticket form this way, but if you remove any visual form element, you must add a replacement hidden input within the form HTML tag. For your case it should be:
<input type="hidden" id="owner_id" name="owner_id" value="{{ auth()->user()->id }}">
Notice the id property, which is required also for the "Add comment" script in the same form, and used at file "views\tickets\partials\comments\embedded_scripts.blade.php"

Hi @xaviqv,
I did exactly what you told, but no success. It still only updates the count but doesn't show any data in datatable. :-(

Hi @ashi006,
Please check your database at panichd_tickets table if there is any new row after you create a new ticket using your custom form.


reset autoincrement identity

It's a good approach to reset identity (ID) if we truncate the table.
It's also the default behaviour of MySQL truncation.

This pull request is cover those two points above in PostgreSQL and SQLite

Coverage decreased (-1.3%) to 57.143% when pulling 8e4ef3d62685e02707059363b2c39cb3242c7c20 on awcodify:master into 9e2d967ce3b6bf730e9b59bd0316d8a037693bcd on khaiql:master.


[QUESTION] Does breadcrumbs work with query parameters

Regular parms as in /path/:param/path2/:param2 works
However I wish to use /path/path2?q=1&x=2
Does that work? May be I am missing, but I don't see any searches for that in the repo.
Please help.

Doesn't work, but I it'd be a good idea to add

Thanks for your response @svenanders
I can contribute back, I have a self made solution, that will only go back and forth, i.e. on clicking a Link it takes you to the next route and renders in the same div, with a go back breadcrumb, and then it goes back to the previous page on clicking go back. That works.
I wish to extend that to a normal breadcrumb that can recurse using your module.
Are there any inputs or pointers for me to find where to hack around quickly to see if things work?
I will do my diligence meanwhile. Thanks.

@svenanders  has it (query params) been added now ??


chloggen: add prefix validation

Fixes #401

Yes @djaglowski but I don't know how to check if a string is a valid go module, and the prefix seemed like a first good step to get there. Do you know how to validate this?


Multiselecting highways with different Structure values is broken

URL
https://www.openstreetmap.org/edit#map=18/42.77859/-123.27859
How to reproduce the issue?

Select the segment of highway that has bridge=yes

Select another segment of highway

Expected
Both highways selected should be pulsing red. (Screenshot from v2.21.1)

Actual result
The highways don't appear to be selected, however the selected features do show up in the Inspect/Edit Features menu.

Scrolling in/out will make the second highway look like it's only selected:

Add/edit a tag in the Tags section (ie add lanes=2)

Expected
Both highways should have the new tag
Actual result
Only the first highway selected has this new tag. This same thing happens when adding a new/existing relation to both highways (only the first selected item gets added to the relation). Adding/changing tags in Fields however still works.
Screenshot(s) or anything else?
No response
Which deployed environments do you see the issue in?
Released version at openstreetmap.org/edit, Development version at ideditor.netlify.app
What version numbers does this issue effect?
2.23.1
Which browsers are you seeing this problem on?
No response

Have same problem from today.
It is not limited only to different structures. I cannot select even similar adjacent ways (like main road + service road).
When adding some unrelated objects to the mix (e.g. grass area to road+service road) then everything is selected again - after removing e.g. grass the 2 remaining ways are not selected again (listed but not highlighted).
On the listed but not highlighted ways, I cannot do any mass operations -> only one (1st selected I think) way will get the changes. It is now very difficult to edit relations (also tags like surface/bridge/layer) as it needs multiple selections, otherwise you have to work one way at once :(
Removing all relations from the affected ways does not fix the problem -> seems to be not related to relations list.

Can confirm the same bug as OP described but with regular streams and tunneled streams:
Stream object #1:
natural=stream
Stream object #2:
natural=stream
tunnel=culvert
layer=-1
If both objects are selected, then neither will appear highlighted on the map. This behavior is independent of the order they are selected. Selecting only one works just fine.

Just came across the issue while trying to edit (Windows 10 21H2 + Edge or Chrome) and can confirm the findings of the previous posters. When trying to select multiple line-based items, the highlighting of the selected object collection disappears. It still works in rare cases if certain attributes (did not evaluate in detail) of the selected objects match.
Multi-selection of area-based objects does not seem to be affected.
This is an ultimate showstopper. ID is not usable in this state.

I had overlooked in 635c4985482048d0b51d2a20a192e95455c242ec that this doesn't work for multiselections. I'll prepare a bugfix release. :bow:


Format code with rustfmt

One of the CI jobs failed running the examples (https://travis-ci.org/psychon/x11rb/jobs/654139810#L476), let's try again.

Thanks for this. I always wondered whether I should spend effort into sorting use statements somehow... I guess I still should not, it's not really worth the effort.

One of the CI jobs failed running the examples (https://travis-ci.org/psychon/x11rb/jobs/654139810#L476), let's try again.

Uh... haven't seen that one before and this Should Not Happen (tm).


[Feature Request] add exception for "invalid" ssl certificates

Miniflux thinks that self-signed ssl certificates are "invalid", how can i add them anyway?

You will have to fix your server/php setup!
https://github.com/miniflux/miniflux/issues/304
https://github.com/fguillot/picoFeed/issues/117
In future, please use the search function before reporting issues.

I don't have root privileges on the system I run miniflux on, so i can't add the root cert, why not add an option, that stores the fingerprint in the database and check it on fetch?

Disclaimer: I'm not the author of miniflux, I'm just a contributor. Everything that follows is my opinion. The authors opinion on this might be complete different.
Well I have to admit, the idea sounds interesting albeit you're describing certificate pinning.
The problem is, that we've to protect the users from them self. I mean, the majority of the users would simply click accept to get a feed working, without knowing the implications (possible man in middle attack).
And it would only be a workaround for an easy to fix problem. You know, everybody can get valid certificates from startssl.com or similar companies for free. In the long run, I hope DANE will be used everywhere.
Furthermore, I can not think of another feature which is more special purpose than this. How many people out there rely on such a feature? Never forget, someone needs to maintain the code, it's not fire and forget.
Anyway, feel free to provide the missing code to https://github.com/fguillot/picoFeed, the library that is used by miniflux to download and parse feeds.


Supermarket cookbook mysql failing

Hi,
I tried running the mysql cookbok, but it fails with error:
Error executing action install on resource 'apt_package[mysql-server-5.5]'
My cookbook is attached herewith
cook_dbserver.zip
Please let me know what I'm doing wrong.

@rameshm78
I tested your cookbook. It is asking to update packages (Check below image)

After adding apt_update resource, your cookbook is working. So add apt_update.
In server it is showing Mysql version ($ mysql --version), but it is not running. We need to modify cookbook to run Mysql.

Thanks Arun.  So we cannot rely on Supermarket cookbooks.
I'm facing another problem now, because of which I can't work on kitchen now.
I had terminated the EC2 instance from console. Now kitchen create succeeds, immediately, but kitchen destroy fails as the instance id does not exist.
When I use kitchen converge, it fails, [SSH] connection failed
Any pointers on how I can purge the memory of the earlier instance id from my system?
Without solving this I cannot work in kitchen anymore.


Complete and working xunit perf tests.

LGTM :+1:

I added some comments in the sources. In addition:

Please add instructions on how to run these tests.
The main value of the new parasers is that: a) they can parse UTF8, b) the can parse byte[] as opposed to strings, c) they can parse unknown lenght subsections of byte[] buffers, as opposed to having to have exact string representing the parsed type. It would be great to add perf comparisons for the scenarios (above) where the new parsing routines would shine.

Wait, for some reason my sln file was changed. Fixing now.

looks good!


ascii2nc does not compile if python is disabled

I was not able to compile latest develop branch (from commit 22b1ee4ba, precisely) without --enable-python passed to configure.
The culprit is here: https://github.com/NCAR/MET/commit/20fcf4f31bffb5b9393f93de7bf00af7785d9122#r37494338
Python code without correct #ifdef directives.

Thanks for letting us know.  This issue is fixed by:
https://github.com/NCAR/MET/commit/c329807047e165e405d3a6f8d7294ea0eb2dd76d


No such file or directory: '/data/train/annotation.json' using Neptune cloud

When running the command
neptune send --pip-requirements-file requirements.txt --worker gcp-large --environment pytorch-0.3.1-gpu-py3 main.py -- prepare_masks
I get the error
FileNotFoundError: [Errno 2] No such file or directory: '/data/train/annotation.json'
but only when running Neptune in the cloud. When running purely locally, I don't have this issue. Within Neptune my file structure looks like MAPMC/uploads/data, and my Neptune.yaml file contains the following:
parameters:
Data Paths
data_dir:                   /data
meta_dir:                   /data
masks_overlayed_prefix: masks_overlayed
experiment_dir:             /data/work
I have tried the argument --input data, but this did not help. From what I've found, Neptune uses uploads by default, so I don't see why this issue is happening. What can I do to fix this?

Hi,
Files uploaded to /uploads directory are not mounted in your experiment by default.
To make it accessible from experiment, you need to use one or more --input command (or put them in your neptune.yaml). (docs)

I've tried every combination of:
--input MAPMC/uploads/data
--input uploads/data
--input data
--input uploads
etc
as well as every combination inside neptune.yaml:
data_dir:                   /data
data_dir:                   uploads/data
data_dir:                   MAPMC/uploads/data
data_dir:                   uploads
and nothing works

If you want to use a directory from your uploads, the only way to do it (except public datasets provided by us) is to use - -input, and they end up in /input directory when running in cloud

Oh, ok. So what form should my input argument take? Before, I have tried the combination of
data_dir:      data
in .yaml, and
--input data
in the neptune send command, but that did not work. Should i now do
data_dir:      input/data
in .yaml, and
--input input/data?
or
--input data
or just
--input
Sorry to keep bothering you but there are a ton of combinations that could be used.

I'll need to confirm (i'm writing this from a mobile), but if your uploads containa 'data' dir, you should have --input data and set data_dir to /input/data

Ok thanks, trying now.

I think I'm past that issue now. Thanks! Now I'm having read-only errors when it tried to make a directory for masks_overlayed_eroded_0_dilated_2. I'm wondering if this has anything to do with me setting:
experiment_dir:             work
Is there a better place for me to put that, or a better way to specify?

I'm not a data scientist and I'm not familiar with this experiment internals, but try /output/work - /output has a special purpose and Neptune automatially stores whatever you put there in persistent storageafter experiment ends

I ran it again with:
experiment_dir:             /output/work
and I'm getting:
OSError: [Errno 30] Read-only file system: '/input/data/masks_overlayed_eroded_0_dilated_2'
It seems to me that it's trying to create masks_overlayed_eroded_0_dilated_2 within the data folder for some reason

Oh, I'm an idiot. I just realized that I was setting experiment_dir to output rather than meta_dir. (also apparently output is plural)
Thanks for the info! I will try that and see what happens. Good to know I can set paths to other experiments. That preemptively solved the next issue I would have run into.

My experiment has been running for 30 minutes, so I assume it's working now (prepare masks step). I used
meta_dir:                   /outputs
but I can't find the masks folder anywhere. It's not in MAPMC-29 (current experiment number) or its sub-directories. It's also not in the inputs, or a separate folder in MAPMC.

When training on my own dataset, Running python main.py prepare_masks, it  throws out an erro: No such file or directory: 'data / raw / train / annotation.json'. How does this file generated?

Running the command' python main.py prepare_masks' when training on my own dataset, it throws out an erro: No such file or directory: 'data / raw / train / annotation.json'.
How does this file generated?

Running the command' python main.py prepare_masks' when training on my own dataset, it throws out an erro: No such file or directory: 'data / raw / train / annotation.json'.
How to generate that file?

When running the command
neptune send --pip-requirements-file requirements.txt --worker gcp-large --environment pytorch-0.3.1-gpu-py3 main.py -- prepare_masks
I get the error
FileNotFoundError: [Errno 2] No such file or directory: '/data/train/annotation.json'
but only when running Neptune in the cloud. When running purely locally, I don't have this issue. Within Neptune my file structure looks like MAPMC/uploads/data, and my Neptune.yaml file contains the following:
parameters:
Data Paths
data_dir: /data
meta_dir: /data
masks_overlayed_prefix: masks_overlayed
experiment_dir: /data/work
I have tried the argument --input data, but this did not help. From what I've found, Neptune uses uploads by default, so I don't see why this issue is happening. What can I do to fix this?

Running the command' python main.py prepare_masks' when training on my own dataset, it throws out an erro: No such file or directory: 'data / raw / train / annotation.json'.
How to generate that file?

Hi,
Files uploaded to /uploads directory are not mounted in your experiment by default.
To make it accessible from experiment, you need to use one or more --input command (or put them in your neptune.yaml). (docs)

Running the command' python main.py prepare_masks' when training on my own dataset, it throws out an erro: No such file or directory: 'data / raw / train / annotation.json'.
How to generate that file?

Hi @Angel0003,
thank you for taking a look at our code!
To rerun the experiments or run on your own data you should follow the:
https://github.com/neptune-ml/open-solution-mapping-challenge/blob/master/REPRODUCE_RESULTS.md
Specifically, you should follow the following project structure:
project
|--   README.md
|-- ...
|-- data
    |-- raw
         |-- train
            |-- images
            |-- annotation.json
         |-- val
            |-- images
            |-- annotation.json
         |-- test_images
            |-- img1.jpg
            |-- img2.jpg
            |-- ...
    |-- meta
         |-- masks_overlayed_eroded_{}_dilated_{} # it is generated automatically
            |-- train
                |-- distances
                |-- masks
                |-- sizes
            |-- val
                |-- distances
                |-- masks
                |-- sizes
    |-- experiments
        |-- mapping_challenge_baseline # this is where your experiment files will be dumped
            |-- checkpoints # neural network checkpoints
            |-- transformers # serialized transformers after fitting
            |-- outputs # outputs of transformers if you specified save_output=True anywhere
            |-- prediction.json # prediction on valid

set paths in neptune.yaml if you wish to use different project structure.

  data_dir: data/raw
  meta_dir: data/meta
  masks_overlayed_prefix: masks_overlayed
  experiment_dir: data/experiments

change erosion/dilation setup in neptune.yaml if you want to. Suggested setup

border_width: 0
small_annotations_size: 14
erode_selem_size: 0
dilate_selem_size: 0

That means both for train and validation sets you need to have your folder with images and annotations.json files associated with them.
annotations.json are in the standard coco format as explained on the competition site https://www.aicrowd.com/challenges/mapping-challenge#datasets.
I hope this helps.
If you have any additional questions do let me know.


Get test dataverse able to accept datasets

We have a test dataverse to use for testing integration at:
https://psi.hmdc.harvard.edu
However, it is configured in such a way that we can not add new datasets to it.  This needs fixing.

Also, we need this ASAP because without adding data, we can't get new metadata files to test switching of datasets.


Automated Spec Update

Automated Spec Update
b395c3e9a318665b48e20a087cfeb6109fc3132d
Change Notes:
Team Log Generated Namespace:

Update ClassificationPolicyEnumWrapper to include member_and_team_folders and team_folders
Update Examples

Team Member Namespace:

Update Comments

Co-authored-by: Brent Bumann<EMAIL_ADDRESS>

Please avoid force pushing in the future. Makes fixing issues much more difficult. Just push another commit on top of this pr next time.

Ok sounds good


Adding Moya to Swift Source Compatibility Test Suite

I really like using Moya in daily basis.
It's probably a good idea, to add Moya to "Swift Source Compatibility Test Suite".
https://swift.org/blog/swift-source-compatibility-test-suite
https://swift.org/source-compatibility/#current-list-of-projects
Alamofire, ObjectMapper are already in the list.

yup, that would be awesome! Do you want try to make a pull request against apple's repository?

Sure, I will try to make a PR against apple's repo in a day or two.

Thanks for looking into this, @aksswami! 😀

@BasThomas I have create a PR Moya Swift compat. But I am getting error in ./check Moya step. Not able to get much information from the error logs also. I have added comment for asking some help from Swift Compat team.

This has been merged on Apple's side. @aksswami, thank you so much for picking this up!

@BasThomas so it was, in fact, this .git suffix bug? Maybe we should let the world know somehow, this was found by an accident 🤔

I think so? Maybe better to ask over at https://github.com/apple/swift-source-compat-suite/pull/35; @lplarson fixed it (by updating just the hash as far as I understand, so I think the .git suffix did the trick.

Huh, now where should we raise an issue, on SPM or SPM-compat? 🤔

Good question. I'd just start from the Compat PR, and go from there?

Or going straight to the mailing list is also an option.

Right, gonna just comment on the PR what was wrong in our project then. :+1:


[WIP] Create linkcheck.yml

Description

Checklist

[ ] I have added screenshots above for all UI changes.
[ ] I have added e2e tests for all UI changes.
[ ] Documentation was updated if it was needed.

Codecov Report

Merging #1865 (90118f3) into main (2607f35) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #1865   +/-   ##
=======================================
  Coverage   79.00%   79.00%
=======================================
  Files          19       19
  Lines        1324     1324
=======================================
  Hits         1046     1046
  Misses        278      278

Flag
Coverage Δ

unittests
79.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Making OpenScienceJournal work with our external bluetooth sensor device

I am a programmer working on the PocketLab project. I am currently trying to make our sensors work with the OpenScienceJournal app and I have the following questions regarding sensor detection.
I'm assuming that Bluetooth device connections can't be managed through the existing aidl interface and I therefore need to implement a new discoverer module with all associated classes or modify the existing NativeBleDiscovererModule module and associated classes. Are these assumptions correct?
If so, would creating a new module in the OpenScienceJournal code base be preferable or modifying the existing NativeBleDiscovererModule?
Shall I create a pull request to the OpenScienceJournal to try get the changes submitted to the main branch or will we just need to work off a PocketLab branch form now on?

@whatsthebeef, the goal is that you should be able to create your own app that implements the AIDL interface in ISensorDiscoverer.  That app can then use your own code to scan for bluetooth devices with a given characteristic.  We're hoping that api.scalarinput will allow third parties to input data to Science Journal without a need for branching the core code.

So if I understand correctly the management of our devices (connections, sensor sensor selection etc.) should NOT be performed in the OpenScienceJournel ManageDevicesActivity otherwise we would need to edit OpenScienceJournel code. If it isn't to be performed in ManageDevicesActivity then we need to integrate a separate GUI to manage devices which we need to switch to and from, to select the correct device and sensor. If we don't implement this GUI and there are multiple devices each with sensors generating 11+ different values then sensor selection in record mode would become very complicated.
Is this understand correct?

@whatsthebeef,
Our idea is that your app would implement ISensorDiscoverer, and expose it as a service, allowing it to search for devices, and sensors per device, and advertise them by name and address.  ManageDevicesActivity then would present these advertised choices; if the user chooses to connect to one of them, then a call would come back to your service to actually connect to the chosen sensor and begin streaming data from it.
I have a document and diagram that should help, but I need to get it up to date with the current implementation, hopefully by this time tomorrow.

@dsaff Yes, the document would be very useful. The problem we will encounter when advertising all sensors  is that our devices have 4 different sensors and 3 of the sensors generate x, y and z values. It is also highly  likely that there will be 5+ devices in the proximity. This would mean that there may be an unreasonable number of sensors to connect to.
Any thoughts?

@whatsthebeef,
As a first pass, you can advertise each device your app can see, and then 11 sensors per device (A.X, A.Y, A.Z, B.X, B.Y, B.C, C.X, C.Y, C.Z, D, E).  When you're concerned about an unreasonable number of sensors to connect to, is the concern that there will be an overload of bluetooth traffic during the discovery phase, or that users will choose to try to add 55 sensors and stream them all?

I had a good read of the AllNativeSensorProvider and thanks for providing it. That looks pretty straightforward. It compiles fine by itself and runs. How do I add such a service to the main science-journal project in the correct way so that this service is started alongside the other services such as the BLE service? I'm not very familiar with starting an external service. I've tried adding it to the manifest but I guess I need to also add the source dir so help would be appreciated. Haven't done any external AIDL integration so far. Really appreciate your help here.

The 2nd question is regarding the synchronous data: essentially I'm getting an observer for every sensor at the moment the DAQ starts. So I can keep them sitting there in the class waiting for data. The Attys will send then all sensor-readings within one timestamp so I essentially I send that data at this moment to all observers with onNewData() with the identical timestamp. Is that right?
3rd question: I haven't seen that Volt is in the list of dimensions actually. Is that right?

@berndporr,
You shouldn't have to edit anything to get the app and AllNativeSensorProvider working together.  However, you do have to (a) run a debug build of the app, and (b) using the app, go to Testing Options > Enable Third-party Sensor Providers.  This requirement will go away before the next public release of the app, but for now, this is to protect the core Science Journal functionality from being affected by API bugs if any exist.
Let me know if that makes sense.

Yes, that sounds right, to a first approximation

You can return any unit name you like, you shouldn't feel limited by what's already reported in the app.

Good luck, and please let me know if you run into more challenges.

AttysPatch.zip

thanks for the all the support. I've written a first version of a Service which connects to the Attys. See screenshot attached.
I guess I'm not allowed to commit to the respository so I've sent you a patch (in the zip).
A couple of questions:

the scrolling seems to be too slow so that samples are omitted which makes it look quite rough. Would it be possible to guarantee that all samples are plotted at a sampling rate of 250Hz? Or should I just reduce it to 125Hz? For ECG 250Hz would be nice. Here is how it should look like:

Both programs use AttysComm to get the data. In Attysplot I don't scroll which is good for realtime plot (using SurfaceView) but of course ScienceJournal looks much, much nicer!
How do I add proper dimensions? Just now it reports acceleration and I'm not even sure where I've set it and where to set it properly.
How can I configure a sensor? For the analogue ones I'd like to offer DC mode, AC mode, resistance and ECG/bio mode (to show those tiny signals in the right scaling). I think aiming for the educational market these options should be fine not to overload people.

Thanks for your prompt help yesterday. Very much appreciated!

Bernd,
Looking good!
I don't see a zip attached, but the hope is that you wouldn't need to submit a patch; you can host the service from an app that you publish, and then you can update the service without being linked to our release schedule.  Did you find that you needed to make edits to Google-authored files to get things working?

We haven't really done any optimization on the throughput yet, but hope to quite soon.  There will be a limit on sample rate, but I don't yet know what it will be.

2,3) For customizing the dimension display and settings, I'm rolling out API changes today (or tomorrow at the latest) that will make that possible.  Keep an eye out for commits to master, or feel free to ping me back here if you don't see it.

David,
thanks! :) Actually really fun working on it.
0) that makes total sense. I can just absorb it into AttysPlot and add it as a service there. I didn't make any changes except of adjusting the aidl path:
main {
String osj = '../../OpenScienceJournal'
aidl {
srcDir osj + '/whistlepunk_library/src/api/scalarinput/aidl'
}
}
...but that depends really from where you run the project. It's one or two ../ less I think. Haven't changed anything else. So, can do all my coding completely separately.

OK. I'll leave it as it is for now and then tweak it once you've decided. 250Hz would be nice (esp for ECG).
2,3) Looking forward to it. In the meantime I move the service to its proper place in AttysPlot and tidy things up. I see that my AttysPlot and the scienceJournal complement each other quite nicely anyway.

David,
I've moved the service over to AttysPlot:
https://github.com/glasgowneuro/AttysPlot
here is the source:
https://github.com/glasgowneuro/AttysPlot/blob/master/app/src/main/java/tech/glasgowneuro/www/attysplot/Attys2ScienceJournal.java

Fantastic!  Stay tuned for more improvements.

David,
I've just pulled the latest version from github and adjusted the code. Just  now it's not very elegant but I thought I rather check if it works before I tidy things up. Plotting of the Attys data works:

However the problem is that the device dialoge for the external dev won't show any sensors:

but I can still select a sensor and I'm able to pair it.
It's the same issue with ScalarApiSampleApp. I only see empty rows but I can pair them.
Apart from that -- great that I can select now the icon and the dimension. That all shows up in the plotwindow and looking good.

FYI, for people following along, the problem with the dialog was that the text was white-on-white due to a theming bug.  This should now be fixed on the master branch.

David,
I still see this problem even after doing a pull form the
OpenScienceJournal on the master branch and rebuilding.
What might I be doing wrong?
On Wed, Sep 28, 2016 at 10:10 PM, David Saff<EMAIL_ADDRESS>wrote:

FYI, for people following along, the problem with the dialog was that the
text was white-on-white due to a theming bug. This should now be fixed on
the master branch.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/google/science-journal/issues/1#issuecomment-250268756,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AARGY2EglgvR8cjPL5BRuS_TUOB2CZW9ks5qurulgaJpZM4J3aVu
.

@whatsthebeef, sorry!  Can you pull master again (just so we're in sync), and post a screenshot?  Thanks.

Okay, done the sync, screenshot is below
On Tue, Oct 4, 2016 at 10:49 PM, David Saff<EMAIL_ADDRESS>wrote:

@whatsthebeef https://github.com/whatsthebeef, sorry! Can you pull
master again (just so we're in sync), and post a screenshot? Thanks.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/google/science-journal/issues/1#issuecomment-251493237,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AARGY1kRZQMtl-AOdbSdHOy4roBsWpDtks5qwq3cgaJpZM4J3aVu
.

In order to get that black/white design I've added colours to the styles of the spinners. Background grey essentially to make the text visible:
https://github.com/glasgowneuro/AttysPlot/blob/master/app/src/main/res/layout/adc_settings.xml
Otherwise the dev sub config is indeed white on white.

@whatsthebeef, aha, thanks, I thought you were talking about the sensor list.  This is the dialog that pops up after the connection?  I will take a look.

@whatsthebeef, I'm very sorry that I didn't respond when I thought I had.  I just pushed a new set of commits, including a new theme in the example ScalarApiSample app for dialogs.  Can you see if following that example resolves your problem, or @berndporr's suggestion?  Thanks!

@dsaff , just out of interest where is that theme located for the dialogs? I had a quick look, found your commits but I'm still puzzled how you got that applied to the dev config. It certainly is looking good!

@berndporr, I was referring to
https://github.com/google/science-journal/blob/master/ScalarApiSampleApp/app/src/main/AndroidManifest.xml#L35
But maybe I'm missing the problem?

Ahhh. Thanks! I was the problem. I've completely overseen that fix. Added it and now it's looking good!

Excellent!

I thought you might be interested how the new devices list looks like. It's a good idea to have sub-menus per device (actually the sub menu just now has the device as a heading but the 1st senser of that dev but I guess that's just work in progress). However the sensor list when it's expanded is pretty tiny. At least with my finger I've got trouble tapping on it. OR; if you keep it that small then it would be good to have the name of the sensor in the config window so that one knows if he/she has tapped on the wrong sensor. Might be work in progress but just thought I give you quick feedback.

It's definitely work in progress.  I'll update here when we're close to visual spec!

That's looking now really good. I've sneaked in an "OK" button in my context menu which finishes the sensor config activity.

Great, glad it's working better!


Can't build my Stencil project because of incorrect import

Hi, I'm using Stencil with Storybook and wanted to see if I could use your package to simplify my story writing.  After following the installation instructions provided I'm faced with this:
[ ERROR ]  TypeScript: node_modules/wc-storybook-helpers/dist/storybook-utils.d.ts:2:40
           Cannot find module './storybook' or its corresponding type declarations.

      L1:  import { TemplateResult } from "lit";
      L2:  import type { ArgTypes, Options } from "./storybook";
      L3:  /**

[31:31.6]  build failed in 2.32 s

The dist folder doesn't contain a storybook.* file so I'm wondering if there might be an issue in the bundling or publishing on your end?

It should resolve to your installed instance. What version of storybook do you have installed?

Also, is your set-up somewhere I can take a look at?

Ah, sorry. I see the problem. Let me see if I can get that resolved.

The fix was resolved in #8 and you should be able to get the fix in 1.0.3. Let me know if anything else comes up. Thanks!


Fix YAML linting errors

It's not currently clear why yamllint didn't flag these before, but
it's flagging them now and make yamllint fails on devel.
signed-off-by: Daniel Farrell<EMAIL_ADDRESS>

The CI against devel shows these errors, but reports success.
https://github.com/dfarrell07/submariner-operator/pull/6/checks?check_run_id=3264447543
But for some reason the CI on https://github.com/submariner-io/submariner-operator/pull/1526 correctly reports the failure.


The provided document for implementation of the proxy is so vague

the provided manual is so vague and after doing all steps, we could not get connected to our servers.
I think the manual should be more accurate

what is status of your server ? mostly skip to clone this repo, Dockerfile and docker-compose file is in this repo. first step

Clone the repository to your local machine

I have done all the steps correctly.
Finally I got this message:
Starting whatsapp_proxy ... done
Showing that the proxy is working properly.
but when I set the IP in proxy filed of the whatsapp I get " can not connect" error

but when I set the IP in proxy filed of the whatsapp I get " can not connect" error

This unfortunately will be completely dependent on your connectivity and hosting parameters. Can you probe the stats port from your device? That should tell you if you can contact your proxy or not.

Do you have right firewall ? if you are in AWS open below ports :
Or adjust your provider policy to open below ports . you can reduce base on your need
80
443
5222
8080
8443
8222
8199

I am on Hetzner and firewall is inactive

Is there any need to edit yml files? or set some parameters more than what's provided in the manual?

Hetzner has a additional firewall for incoming traffic, you can open the ports on the robot config website.


disable VisualStudioInstanceProvider on mono

Since #998 I've been getting:
System.PlatformNotSupportedException: Operation is not supported on this platform.
  at OmniSharp.MSBuild.Discovery.Interop.GetSetupConfiguration () [0x0000a] in <fc86425b83fa4820a94c3447774fdb30>:0
  at OmniSharp.MSBuild.Discovery.Providers.VisualStudioInstanceProvider.GetInstances () [0x0000e] in <fc86425b83fa4820a94c3447774fdb30>:0
  at OmniSharp.MSBuild.Discovery.MSBuildLocator.GetInstances () [0x0001e] in <fc86425b83fa4820a94c3447774fdb30>:0
  at OmniSharp.CompositionHostBuilder.Build () [0x00053] in <fc86425b83fa4820a94c3447774fdb30>:0
  at OmniSharp.Stdio.Host..ctor (System.IO.TextReader input, OmniSharp.Stdio.Services.ISharedTextWriter writer, OmniSharp.IOmniSharpEnvironment environment, Microsoft.Extensions.Configuration.IConfiguration configuration, System.IServiceProvider serviceProvider, OmniSharp.CompositionHostBuilder compositionHostBuilder, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, System.Threading.CancellationTokenSource cancellationTokenSource) [0x00052] in <6ba7b54f3edf42509e7ecb6c40595f1f>:0
  at OmniSharp.Stdio.Program+<>c__DisplayClass0_0.<Main>b__1 () [0x00087] in <6ba7b54f3edf42509e7ecb6c40595f1f>:0
  at OmniSharp.CommandLineApplication+<>c__DisplayClass11_0.<OnExecute>b__0 () [0x0000b] in <fc86425b83fa4820a94c3447774fdb30>:0
  at Microsoft.Extensions.CommandLineUtils.CommandLineApplication.Execute (System.String[] args) [0x0035b] in <e56ebbc3ed87488b8e26736bbadaa5d3>:0
  at OmniSharp.CommandLineApplication.Execute (System.Collections.Generic.IEnumerable`1[T] args) [0x00042] in <fc86425b83fa4820a94c3447774fdb30>:0
  at OmniSharp.Stdio.Program+<>c__DisplayClass0_1.<Main>b__0 () [0x00028] in <6ba7b54f3edf42509e7ecb6c40595f1f>:0
  at OmniSharp.HostHelpers.Start (System.Func`1[TResult] action) [0x0001c] in <fc86425b83fa4820a94c3447774fdb30>:0

I've worked around this by disabling the VS instance provider on mono, but I'm still not exactly sure why it's failing.  I've tried x64 and x86 mono, and according to http://www.mono-project.com/docs/advanced/com-interop/, COM interop is supposed to work.

Actually it looks like it isn't implemented in mono:
https://github.com/mono/mono/blob/813c1308fe53d16b419d22777f4d1124f06e7c9e/mcs/class/corlib/System.Runtime.InteropServices/Marshal.cs#L725

Are you running OmniSharp on Mono on Windows?

Yeah, unfortunately.  There's a bug somewhere that causes net46 processes to hang when started as a child process from cygwin emacs (nothing ever shows up on stdout).  This doesn't happen with earlier runtimes (e.g. 3.5) or mono.

Got it. That kind of stinks. It'd be great if we could track down that bug. Do you know if it happens with the Windows Linux Subsystem?

I don't think it's possible to fork/exec a net46 process from WSL.  I'm sure running emacs on WSL w/ mono omnisharp would be fine, but I prefer the GUI/filesystem integration in cygwin.
I do plan on investigating the bug, but I have a feeling it's something to do with file handle/tty stuff in .net.  I'll at least try to make a simple repro.


Example PLAN files in INTENT docs

It could be useful to provide some example PLAN files in the INTENT docs for each example deployment.

The difference between all the deployments in the intent docs are the number of nodes, which means that the only difference between potential samples would be the number of placeholders for the nodes.


simplify to code initializer rather than ctor

Type of issue
Outdated article
Description
imho the first "public class Taxi" example should be simplified. The existing sample
public class Taxi
{
    public bool IsInitialized;

    public Taxi()
    {
        IsInitialized = true;
    }
}

could be
public class Taxi
{
    public bool IsInitialized = true;
}

Page URL
https://learn.microsoft.com/en-us/dotnet/csharp/programming-guide/classes-and-structs/using-constructors
Content source URL
https://github.com/dotnet/docs/blob/main/docs/csharp/programming-guide/classes-and-structs/using-constructors.md
Document Version Independent Id
36d0bf3a-29bf-5162-c700-142b03f9a16c
Article author
@BillWagner
Metadata

ID: 374a58d4-1905-c664-04b6-fd68e617f8c9
Service: dotnet-csharp
Sub-service: fundamentals

There's a number of updates that could be made in the area of constructors. Everything from field initializers to init only properties to required properties and so on.
I agree that this example isn't a great one. Code like this should use an initializer instead. It should be part of a suite of examples that show the different techniques, and some guidance about determining which fits different design goals best.

yup this is doubtless one of MANY, but suggest we [MS+Community] try to improve the doc experience whenever we can and not get daunted by the enormity of the beast, so I hope you might accept this minor contrib.
Sometimes I get riled by something that results in a major work (Issue #10110, PR #10113) but hope these all contribute positive improvement to the doc real-estate. I hope that you welcome such assistance anyway!