text:
NCBIGenes have prefix OBO:NCBIGene_ for curies

I believe there was an issue with yaml configuration, would it be possible to correct this and reload?

Is this on geoffrey? Update the configuration here:
https://github.com/monarch-initiative/dipper/blob/master/dipper/curie_map.yaml
and I can redeploy the application.

That looks right, maybe this is an upstream issue with the ontology import?

What's the resource that's having the trouble?

On geoffrey all entrez genes are prefixed with OBO, so perhaps the URI from the ontology is actually http://purl.obolibrary.org/obo/ ?  For example:
http://geoffrey.crbs.ucsd.edu:9000/scigraph/graph/OBO:NCBIGene_6469

This us in flux. Thus is the issue if differences between genes in
monarch.owl vs ncbigene.ttl...genes are coming in two places, and we are
working on unifying them. Let's work in this tomorrow.
On Mar 25, 2015 11:39 AM, "Kent Shefchek" notifications@github.com wrote:

On geoffrey all entrez genes are prefixed with OBO, so perhaps the URI
from the ontology is actually http://purl.obolibrary.org/obo/ ? For
example:
http://geoffrey.crbs.ucsd.edu:9000/scigraph/graph/OBO:NCBIGene_6469
—
Reply to this email directly or view it on GitHub
https://github.com/SciCrunch/SciGraph/issues/92#issuecomment-86163604.

bump

@cmungall, has the monarch.owl import changed to pull from the new ncbigene.ttl on nif-crawler, instead of from our owl disco2turtle dump?
also, should the genes even be in the ontology?  we can have them be part of the vocabulary services without them being loaded into the monarch.owl directly.

Removed genes import from monarch.owl (someone still needs to run the bamboo that generates http://nif-crawler.neuinfo.org/monarch/owl/)
The ttl on nif-crawler is currently the definitive location, the URLs used there are canonical. So yes, add this to vocab services load.

Looks like this is fixed now.

let's make a behave test and close the ticket!

This is a semi related test https://github.com/monarch-initiative/monarch-app/commit/d17735fb8927a0058eceb96425d5dd3780178d4e
We could add a more specific test to check the Curie/ID

Go ahead and close if this is resolved to your satisfaction...

authors: ccondit cmungall kshefchek nlwashington

repo: SciCrunch/SciGraph


text:
Support CallbackSet

Currently the callback support directly looks for ContinuousCallback and DiscreteCallback. Instead, it should always convert to CallbackSet and to the current handling recursively on the callbacks of a CallbackSet.

Fixed by https://github.com/SciML/DiffEqGPU.jl/pull/81

source: gharchive/issue

license: MIT

license_type: permissive

license_source: github-api


text:
Register

@JuliaRegistrator register()

Registration pull request created: JuliaRegistries/General/78448
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v1.0.0 -m "<description of version>" d0b6208810d5bb506069142764b68c0af6ade7d5
git push origin v1.0.0

@JuliaRegistrator register()

Registration pull request created: JuliaRegistries/General/78917
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v1.1.0 -m "<description of version>" 6837e64ab0709b78045be8d97a714f00655f576c
git push origin v1.1.0

@JuliaRegistrator register()

Registration pull request created: JuliaRegistries/General/79704
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v1.2.0 -m "<description of version>" c457db3d350b9d8f52c42715c373175aeadad3c1
git push origin v1.2.0

@JuliaRegistrator register()

Registration pull request created: JuliaRegistries/General/80147
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v1.3.0 -m "<description of version>" 819a38c48b4e643307b1b86c020118d4accda711
git push origin v1.3.0

@JuliaRegistrator register()

Registration pull request created: JuliaRegistries/General/87007
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v1.4.0 -m "<description of version>" ff5f9bb73f3a8992ae9568b34f270fb4f92231f8
git push origin v1.4.0

authors: ChrisRackauckas JuliaRegistrator


text:
np.argsort not sorting properly

I am attempting to call np.argsort() on the following array:
[0.700656592845917, 0.651415288448334, 0.719015657901764] dtype = Double
The expected result should be:
[1, 0, 2]
However, the actual result I'm getting is:
[0, 2, 1]
This doesn't to produce a result that is sorted in any direction. I pulled in ndarray.argsort locally and  changed line 31 -
from: var data = Array;
to:     var data = ToArray<T>()
(Also changing the declaration of the function to include where T : unmanaged )
And this seemed to work for me.

After trying things out for awhile, it seems I can get np.argsort to work if I pass a copy of the NDArray to it. It seems like the NDArray is being manipulated while sorting, causing the sort to misbehave.
It seems like np.argsort should be:
nd.copy().argsort<T>(axis)
rather than:
nd.argsort<t>(axis)

repo: SciSharp/NumSharp


text:
jpeg_encode does not produce a valid jpeg

The Tensorflow->NumSharp where jpeg_encode returns a NDArray. I think there is an issue where Char is uint16 but the 'string' is a ByteString so should be uint8. The dtypesize is 1. Jpegs should start with 255uy; 216uy; whereas the output is 253uy; 253uy. If I go to the Storage and access the bytes directly they start with 253uy; 255uy. I'll examine this more tomorrow to see if isolate the location of this bug.

Yes, for C# char is encoded as Unicode in UTF-16, for other language, it's UTF-8. That causes problem.

https://github.com/SciSharp/TensorFlow.NET/pull/480 should fix it

UnitTest failed.

I was using the GitHub edit feature,
The Unit Tests can be fixed by replacing.
var result = (string) c.eval(sess);
with
var result = System.Text.UTF8Encoding.UTF8.GetString((byte[]) c.eval(sess));
I wanted to check to see if you had any push-back on this change? If not I can go ahead and add it.

@moloneymb Can you push the new change?

@Oceania2018 I think that this might mess with ML.NET code

ML.Net seems to go directly to the C API for many functions such as EncodeByteAsString. I had a good look for where it might break and couldn't find any. It would be weird if they were depending on current functionality as bytes are escaped into utf16. I'll update the unit tests to match and re-submit the pull request.

authors: Nucs Oceania2018 moloneymb


text:
Added the remap_cube_dimensions utility function to handle removal and addition of new dimensions.

I've needed this functionality a couple of times, and finally needed it for the implementation of my linear interpolation work, therefore this is a per-requisite of being able to merge that (I will put up the PR before that though).
As the docstring says:
>>> import iris
>>> from iris.util import remap_cube_dimensions
>>> cube = iris.load_cube(iris.sample_data_path('air_temp.pp'))
>>> cube.data
>>> print cube.shape
(73, 96)
>>> remap_cube_dimensions(cube, axes_to_add=[0])
>>> print cube.shape
(1, 73, 96)
>>> remap_cube_dimensions(cube, axes_to_add=[1, 3], axes_to_remove=[0])
>>> print cube.shape
(73, 1, 96, 1)

I've needed this functionality a couple of times, and finally needed it for the implementation of my linear interpolation work, therefore this is a per-requisite of being able to merge that

This trail has gone cold but it looks like the interpolation work got completed anyway. Is there still an appetite for pursuing this?

This trail has gone cold but it looks like the interpolation work got completed anyway. Is there still an appetite for pursuing this?

I'd like to get into the game of playing with cube shapes a bit, but in practice this is a pretty big PR for something which we don't actually need at the minute so I'll close it. If it crops up again, I'll (try) to remember about this.

source: gharchive/pull-request

authors: pelson rhattersley

repo: SciTools/iris


text:
Fix rules global usage.

An attempt to fix the problems discussed in this problem comment
This should fix the current intermittent test failures.
I tried to tidy the nastiness in the rules code a wee bit, rather than just work around it (e.g. by simply renaming the 'rules.config' variable).
I haven't removed the use of 'exec', or avoided the "from xx import *" equivalents, but at least it is no longer polluting the namespace of iris.fileformats.rules itself (which caused the bug).
I also switched it to using a blank 'locals' in the exec calls, as the current use of locals() (as see e.g. here) is not needed and not really a very good idea.  I suspect the original idea here was for the function to 'appear' as a local variable in the caller, but modifying "locals()" can't actually do that -- unlike with "globals()" where it can.

Well, I think it makes sense, but this is some real exec voodoo here...

Looks OK :+1:

874170e "Review fix: typo. "

"a --> an ", as suggested.

Thanks @pp-mo :smile:

Don't forget to rebase the Python 3 PRs to get working CI (though I'm sure they would have passed anyway.)

authors: QuLogic pp-mo rhattersley


text:
Apocalyptic Shadow

相比于虚构叙事，末日幻影的API多了上下半Boss的icon链接字段，删除了“剩余轮”字段。
我试图添加如图的人头图标，完全通关就将Boss图标变灰，但没实力失败了（

感谢你的贡献，因为末日幻影的一周期持续时间长达6周，暂时不急于加入此功能。

authors: Eric-Joker Scighost

repo: Scighost/Starward


text:
spotube@3.8.0: decompress error

Checking hash of Spotube-windows-x86_64-setup.exe ... ok.
Extracting Spotube-windows-x86_64-setup.exe ... ERROR Exit code was 1!
Failed to extract files from C:\ProgramData\Scoop\apps\spotube\3.8.0\Spotube-windows-x86_64-setup.exe.
Log file:
C:\ProgramData\Scoop\apps\spotube\3.8.0\innounp.log

Duplicates #13802.

authors: DrVektor aliesbelik

repo: ScoopInstaller/Extras

license: Unlicense


text:
Remove manjarowsl

*Manjaro team has objections to using "Manjaro" in the title

Closes #XXXX

Relates to #XXXX

[x] I have read the Contributing Guide.

Well, I won't say I'm surprised (I remember the time ArchWSL was pulled from the Microsoft Store for similar reasons).

😞

@TheWiresharkGuy
https://scoop.sh/#/apps?q=manjarowsl&o=false points to unofficial repo, but i haven't tried it
scoop bucket add stxpons_scoop-apps https://github.com/stxpons/scoop-apps
scoop install stxpons_scoop-apps/manjarowsl

authors: TheWiresharkGuy darthwalsh rashil2000 sileshn


text:
chore: refactor project structure, add release automation

add unit tests

Fork https://github.com/71/scoop-better-shimexe and https://github.com/kiennq/scoop-better-shimexe here?

Fork https://github.com/71/scoop-better-shimexe and https://github.com/kiennq/scoop-better-shimexe here?

I don't know but there would be separate repos if decided to fork.

The shim codebase in this repo is now up-to-date and release automation has been added. You may consider removing its codebase in the Scoop Core repo.

authors: chawyehsu niheaven

repo: ScoopInstaller/Shim


text:
prusaslicer-pre: Update checkver autoupdate

Closes #XXXX

Relates to #XXXX

[x] I have read the Contributing Guide.

/verify
prusaslicer was unexpectedly upgraded from 2.5.0 to 2.6.0-alpha2,
but prusaslicer-pre was not upgraded to 2.6.0-alpha2 as expected.
Fixed prusaslicer-pre's checkver & autoupdate

/verify

/verify
prusaslicer unexpectedly upgraded from 2.5.0 to 2.6.0-alpha2,
but prusaslicer-pre was not upgraded to 2.6.0-alpha2 as expected.
I think checkver & autoupdate need some fixes.

/verify

/verify

/verify

repo: ScoopInstaller/Versions


text:
🛑 Clavus Website (Public 1) is down

In 115bd27, Clavus Website (Public 1) (https://www.clavus.io) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Clavus Website (Public 1) is back up in c918b00 after .

repo: Scriptor-Group/status


text:
Attention: vieux dépôt !

Bonjour Sébastien,
Le dépôt mcedit/mcedit n'est plus actif depuis plus de deux ans (à part le fichier dont je ne vois pas l'utilité ajouté il y a un peu plus d'un an).
MCEdit a été repris par autres développeurs et est hébergé ici: https://github.com/Khroki/MCEdit-Unified
Le programme comporte de nouvelles fonctionnalités ; son interface graphique a été améliorée (plus stable et permettant le redimensionnement de la fenêtre sans redémarrer MCEdit) et a été traduite dans plusieurs langues dont celle de Molières.
codewarrior0 a aussi créé un 'petit frère', mais il n'est pas encore fonctionnel: https://github.com/mcedit/mcedit2
Pour information, 'The Void' a déjà été ajouté :smile:
En tous cas, merci de l'intérêt que tu portes à ce petit programme.
Cdt,
LaChal

OK, mais tant mieux si c'est déjà fait :). Par contre j'ai trouvé ce dépôt en premier résultat sur Google, du coup ça serait peux être judicieux de noter ça dans le readme ?
En tout cas merci (à tous) pour ce boulot.

authors: LaChal Seb-C

repo: Seb-C/mcedit

license: ISC


text:
how to tell bot color

Is there any way to tell what color the bot is playing for?
thanks

Read the README.md, it literally tells you.

Just to elaborate on Vanny-Chuck, an important detail is that Think() only gets called when it's your bot's turn. You might be tempted to believe that it would also be called on your opponent's turn, (perhaps to fill your Zobrist hashmap with positions you've considered) but this is not the case. Therefore, calling board.IsWhiteToMove in your Think method when you haven't called any board.MakeMove() calls yet, will tell you if your bot is on the white side or the black side. Hope this helps!

authors: ThreeSDCards Vanny-Chuck Voraxere

repo: SebLague/Chess-Challenge


text:
About number of modalities in input

Hey! I was wondering about the difference in the number of modalities (channels) in input mentioned in the paper and documentation, which is 23, and the channel dimension when loading the dataset, which is 40. Did I overlook or miss something here? Thanks!

Hey! I was wondering about the difference in the number of modalities (channels) in input mentioned in the paper and documentation, which is 23, and the channel dimension when loading the dataset, which is 40. Did I overlook or miss something here? Thanks!

Thanks for the question! The difference comes from one-hot-encoding the landcover class. In the raw data it's only an integer, but because it's a nominal variable, it seemed a lot more sensible to use one-hot-encoding when feeding it into the network. If you call FireSpreadDataset.map_channel_index_to_features, you can get the list of all feature names, either with or without the expanded land cover classes, depending on the boolean argument you pass.

repo: SebastianGer/WildfireSpreadTS


text:
GameSave Manager 3.1.512 - Fails to Install/Upgrade

You have gamesavemanager v3.1.507.0 installed. Version 3.1.512.0 is available based on your source(s).
2022-07-30 13:56:18,057 4952 [INFO ] - [NuGet] Uninstalling 'gamesavemanager 3.1.507.0'.
2022-07-30 13:56:18,074 4952 [INFO ] - [NuGet] Successfully uninstalled 'gamesavemanager 3.1.507.0'.
2022-07-30 13:56:18,088 4952 [INFO ] - [NuGet] Installing 'gamesavemanager 3.1.512.0'.
2022-07-30 13:56:18,314 4952 [INFO ] - [NuGet] Successfully installed 'gamesavemanager 3.1.512.0'.
2022-07-30 13:56:18,314 4952 [INFO ] - gamesavemanager v3.1.512.0 [Approved]
2022-07-30 13:56:18,319 4952 [INFO ] - gamesavemanager package files upgrade completed. Performing other installation steps.
...
2022-07-30 13:56:18,643 4952 [INFO ] - Extracting C:\ProgramData\chocolatey\lib\gamesavemanager\tools\gs_mngr_3.1.512.0_x32.zip to C:\ProgramData\chocolatey\lib\gamesavemanager\tools...
2022-07-30 13:56:18,727 4952 [INFO ] - VERBOSE:
2022-07-30 13:56:18,729 4952 [INFO ] - VERBOSE: 7-Zip 21.07 (x86) : Copyright (c) 1999-2021 Igor Pavlov : 2021-12-26
2022-07-30 13:56:18,729 4952 [INFO ] - VERBOSE: 1 file, 3953 bytes (4 KiB)
2022-07-30 13:56:18,730 4952 [INFO ] - VERBOSE: Extracting archive: C:\ProgramData\chocolatey\lib\gamesavemanager\tools\gs_mngr_3.1.512.0_x32.zip
2022-07-30 13:56:18,730 4952 [INFO ] - VERBOSE:
2022-07-30 13:56:18,731 4952 [INFO ] - VERBOSE:
2022-07-30 13:56:18,731 4952 [INFO ] - VERBOSE: Scanning the drive for archives:
2022-07-30 13:56:18,732 4952 [INFO ] - VERBOSE:
2022-07-30 13:56:18,732 4952 [INFO ] - VERBOSE: Can't open as archive: 1
2022-07-30 13:56:18,732 4952 [INFO ] - VERBOSE: Files: 0
2022-07-30 13:56:18,733 4952 [INFO ] - VERBOSE: Size:       0
2022-07-30 13:56:18,733 4952 [INFO ] - VERBOSE: Compressed: 0
2022-07-30 13:56:18,745 4952 [ERROR] - C:\ProgramData\chocolatey\lib\gamesavemanager\tools\gs_mngr_3.1.512.0_x32.zip
2022-07-30 13:56:18,748 4952 [ERROR] - Open ERROR: Cannot open the file as [zip] archive
2022-07-30 13:56:18,749 4952 [ERROR] - Microsoft.PowerShell.Commands.WriteErrorException
2022-07-30 13:56:18,749 4952 [ERROR] - ERROR: C:\ProgramData\chocolatey\lib\gamesavemanager\tools\gs_mngr_3.1.512.0_x32.zip
2022-07-30 13:56:18,750 4952 [ERROR] - ERRORS:
2022-07-30 13:56:18,750 4952 [ERROR] - Microsoft.PowerShell.Commands.WriteErrorException
2022-07-30 13:56:18,751 4952 [ERROR] - Is not archive
2022-07-30 13:56:18,790 4952 [ERROR] - ERROR: 7-Zip encountered a fatal error while extracting the files. This is most likely an issue with the 'gamesavemanager' package and not with Chocolatey itself. Please follow up with the package maintainer(s) directly.
2022-07-30 13:56:19,041 4952 [ERROR] - The upgrade of gamesavemanager was NOT successful.
2022-07-30 13:56:19,043 4952 [ERROR] - Error while running 'C:\ProgramData\chocolatey\lib\gamesavemanager\tools\chocolateyinstall.ps1'.
 See log for details.
2022-07-30 13:56:23,049 4952 [WARN ] - Chocolatey upgraded 0/1 packages. 1 packages failed.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2022-07-30 13:56:23,049 4952 [INFO ] -
2022-07-30 13:56:23,049 4952 [ERROR] - Failures
2022-07-30 13:56:23,050 4952 [ERROR] -  - gamesavemanager (exited 2) - Error while running 'C:\ProgramData\chocolatey\lib\gamesavemanager\tools\chocolateyinstall.ps1'.
 See log for details.

Closing, fixed by https://github.com/SebastianK90/chocolateyautomaticpackages/commit/ac7a8cf7cbe74a1541427476171bd54f5ba71a52


text:
Rxjs new version

With new version of Rxjs is necessary import "rxjs-compat" a version of compatibility, will be awesome if agm library upgrade to work without use version of compatibility

+1
needs the upgrade too!

will be solved with #1396

authors: SebastianM andregomars esgantivar

repo: SebastianM/angular-google-maps


text:
Feature: Differential Evolution optimisation algorithm

Fixes #193.
My contribution is licensed under the MIT license.

Coverage decreased (-3.8%) to 90.655% when pulling 64b5333ad6216e287db7beac3cd0a1184755ccf3 on opusv/LE into 0bcd2f2132eac4ba593a1818e4bd6237bab9a441 on master.

Coverage decreased (-3.8%) to 90.655% when pulling 64b5333ad6216e287db7beac3cd0a1184755ccf3 on opusv/LE into 0bcd2f2132eac4ba593a1818e4bd6237bab9a441 on master.

Coverage increased (+0.3%) to 91.587% when pulling 4dd4fd5e6fde7593a846e0e8a044a0a02b1104cb on opusv/LE into be3705c816789bf100172319492175905b96e896 on master.

authors: OpusV coveralls

repo: SebastianNiemann/Mantella

license: mit

license_source: bigquery


text:
DCR software_statement missing from response

Retrieving a registration using the conformance tool is failing due to the software_statement field being missing from the response. According to the spec below, the software statement must be returned if one was used as part of registration.
OAuth 2.0 Dynamic Client Registration Protocol: https://www.rfc-editor.org/rfc/rfc7591#section-3.2.1

If a software statement was used as part of the registration, its
value MUST be returned unmodified in the response along with other
metadata using the "software_statement" member name

Background to this issue:
There is a bug in the OB Directory representation of an SSA, the software_version field should be a string but in the OB SSA it is a number. This causes software statement validation to fail in AM, as it inspects and validates the statement.
Therefore, we do not enforce that a software_statement is required for DCR in AM OAuth2 config. In the register request in the OB API, we null off the software_statement field, so that it is not passed down to AM (to avoid this bug).
This means that we have to do validation of the software statement in IG (the SSAVerifier filter).
If OB ever fix the issue then would need to make the following changes:

Fix the ProcessRegistration groovy to not null off the software_statement field
Configure an OAuth2 Software Publisher for the OpenBanking Ltd issuer
Add the OB certs to the am truststore, see https://backstage.forgerock.com/knowledge/kb/article/a46349648

The workaround to fix this issue is to store the SSA in IDM as part of the apiClient object. The apiClient.ssa currently exists for this purpose, but it is not being populated due to a bug.
Then for GET registration requests we can retrieve the SSA from IDM. For PUT/POST requests, then we should play back the ssa that was sent in the request as part of the response.

We should also review the behaviour of modifying a registration. There is currently no handling of updates in the CreateApiClient filter.
Review handling of updating registrations, implement update logic to CreateApiClient


text:
Spanish translated views

First try at Spanish translation of views. Needs some love.

Thank you for taking the time to do this, there is also a pending PR to implement Spanish letters in the seed word entry keyboard.

authors: SeedSigner btcpuertorico

repo: SeedSigner/seedsigner


text:
gprs.SEND() for Post and Put Link Website upload some data variable

Dear Admin,
i hope you can give me refrence for this
i've done with manually type that link in my browser web and it's working fine (can input php variable)
but i test use POST or PUT im arduino code , it's not working T_T
i hope you can explain or give me a some code
thx before , i hope you can help me, its important for me
[example.com/index.php?visor=false&latitude=-6.342597&longitude=107.155583]
#include <GPRS_Shield_Arduino.h>
#include <SoftwareSerial.h>
#include <Wire.h>
#define PIN_TX 7
#define PIN_RX 8
//make sure that the baud rate of SIM900 is 9600!
//you can use the AT Command(AT+IPR=9600) to set it through SerialDebug
#define BAUDRATE 9600
//example.com/index.php?visor=false&latitude=-6.342597&longitude=107.155583
char http_cmd[100];
char buffer[512];
float long2 = 106.880715;
float lat2 = -6.120140;
char latstr[40];
char longstr[40];
GPRS gprs(PIN_TX, PIN_RX, BAUDRATE);
void setup(){
Serial.begin(9600);
dtostrf(lat2,7,6,latstr);
dtostrf(long2,9,6,longstr);
sprintf(http_cmd,"GET visor=false&latitude=%s&longitude=%s HTTP/1.0\r\n\r\n",latstr,longstr);
// use DHCP
while(!gprs.init()) {
delay(1000);
Serial.print("init error\r\n");
}
delay(3000);
// attempt DHCP

while(!gprs.join(F("internet"),F("internet"),F("internet"))) {
Serial.println("gprs join network error");
delay(2000);
}
// successful DHCP
Serial.print("IP Address is ");
Serial.println(gprs.getIPAddress());
if(!gprs.connect(TCP,"example.com/index.php?", 80)) {
Serial.println("connect error");
}else{
Serial.println("connect example.com success");
}
Serial.println("waiting to fetch...");
gprs.send(http_cmd, sizeof(http_cmd)-1);
while (true) {
int ret = gprs.recv(buffer, sizeof(buffer)-1);
if (ret <= 0){
Serial.println("fetch over...");
break;
}
buffer[ret] = '\0';
Serial.print("Recv: ");
Serial.print(ret);
Serial.print(" bytes: ");
Serial.println(buffer);
}
Serial.print(http_cmd);
gprs.close();
gprs.disconnect();
}
void loop(){
}

Totally agree a POST example would be amazing. Need this right now ;)

try
#include <GPRS_Shield_Arduino.h>
#include <SoftwareSerial.h>
#include <Wire.h>
#define PIN_TX 7
#define PIN_RX 8
//make sure that the baud rate of SIM900 is 9600!
//you can use the AT Command(AT+IPR=9600) to set it through SerialDebug
#define BAUDRATE 9600
//example.com/index.php?visor=false&latitude=-6.342597&longitude=107.155583
char http_cmd[100];
char buffer[512];
float long2 = 106.880715;
float lat2 = -6.120140;
char latstr[40];
char longstr[40];
GPRS gprs(PIN_TX, PIN_RX, BAUDRATE);
void setup() {
  Serial.begin(9600);
  dtostrf(lat2, 7, 6, latstr);
  dtostrf(long2, 9, 6, longstr);
  sprintf(http_cmd, "GET visor=false&latitude=%s&longitude=%s HTTP/1.0\r\n\r\n", latstr, longstr);
  // use DHCP
  while (!gprs.init()) {
    delay(1000);
    Serial.print("init error\r\n");
  }
  delay(3000);
  // attempt DHCP

  while (!gprs.join(F("internet"), F("internet"), F("internet"))) {
    Serial.println("gprs join network error");
    delay(2000);
  }
  // successful DHCP
  Serial.print("IP Address is ");
  Serial.println(gprs.getIPAddress());
  if (!gprs.connect(TCP, "example.com/index.php?", 80)) {
    Serial.println("connect error");
  } else {
    Serial.println("connect example.com success");
  }
  Serial.println("waiting to fetch...");
  sim900_send_cmd(F("AT+CIPSEND\r\n"));
  sim900_send_cmd(http_cmd);
  sim900_send_byte(0x1A);
  //  gprs.send(http_cmd, sizeof(http_cmd) - 1);
  //  while (true) {
  //    int ret = gprs.recv(buffer, sizeof(buffer) - 1);
  //    if (ret <= 0) {
  //      Serial.println("fetch over...");
  //      break;
  //    }
  //    buffer[ret] = '\0';
  //    Serial.print("Recv: ");
  //    Serial.print(ret);
  //    Serial.print(" bytes: ");
  //    Serial.println(buffer);
  //  }
  Serial.print(http_cmd);
  gprs.close();
  gprs.disconnect();
}
void loop() {
}

The hardware modules SIM800 and SIM900 support HTTP natively. Check the command manual:
http://www.jechavarria.com/wp-content/uploads/2015/05/SIM900-AT-Commands-Manual_V1.07.pdf
I'm currently working on HTTP GET support for this library. If this is done, adding HTTP Post is not a big deal anymore.

authors: barrylachapelle beryindo chindro sandzsandz


text:
Remove LevelName enum in favor of a Level::getName method

Fixes #1667
The LevelName enum is gone, most relevant changes are in the Level enum https://github.com/Seldaek/monolog/pull/1668/files#diff-b1d4336a8d582db6a4cc0b40f17ab8adf1436ca288e41daa6eb0cdc931b4a480
cc @tigitz

@Seldaek Awesome, feels much cleaner. Glad it led to a positive contribution. Thanks for your consideration !

authors: Seldaek tigitz

repo: Seldaek/monolog


text:
Optimistically recreate streams when write fails

To address https://github.com/Seldaek/monolog/issues/1860 - when fwrite() fails - only then recreate the stream resource.

This will not work IMO as the failure to write might be turned into an exception by some frameworks/apps, and also the failure is detected, file reopened on next log, but you still lose one log entry, so not great.

authors: Seldaek msobkowiak-olx


text:
Include the library as an NPM dependency, from within an ember-cli app.

How do I do this? I've installed with ember install, and then I generated with ember generate. I can't find in the ember-cli documentation how I should do this. Including the sidebar-ui module throws this JavaScript error:
Uncaught Error: Assertion Failed: A helper named 'ui-sidebar' could not be found

It is a mystery.

... be sure to restart your ember server (it's never as mysterious as it seems, huh?). Thanks!

repo: Semantic-Org/Semantic-UI-Ember


text:
fix(docs): more permissive exampleContext regex

Fixes #1055
The regex currently in place precludes example files that end in Example.js.  This PR allows 0 or more word characters after the Example word.

Current coverage is 95.81% (diff: 100%)

Merging #1056 into master will increase coverage by <.01%

@@             master      #1056   diff @@
==========================================
  Files           866        870     +4
  Lines          4791       4801    +10
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           4590       4600    +10
  Misses          201        201
  Partials          0          0

Powered by Codecov. Last update 10befff...2dff7b5

authors: codecov-io levithomason

repo: Semantic-Org/Semantic-UI-React


text:
Setting Progress Bar Value

Hello. There seems to be an issue with setting a progress bar. Increment and decrement seem to work.
$('.progress').progress('increment', 70);
or
$('.progress').progress('decrement', 30);
Are working just fine. Personally I need to set this value.
$('.progress').progress('set', 40);
or anything like that does not work. I've also tried value instead of set. Please tell me if there is an issue with me or Semantic UI. I am on the latest version 2.2.6

By looking at the source code of Semantic UI I ended up making a make shift function to do this.
function setProgress(element, value) {
$(element).attr("data-percent", value);
$(element + ' .bar').css("width", value + "%");
}
I was still wondering if you could fix this. Thanks

I do not know if this solves your doubt, I use this way the progress bar.
$('.progress').progress({
  percent: 22
});

Sorry devrchancay, that is just initiation. I need to constantly change this value.

http://semantic-ui.com/modules/progress.html#/usage

set percent(percent)
Sets current percent of progress to value. If using a total will convert from percent to estimated value.

?

$('.progress').progress('set progress', progress);

Hi @AdamMikacich, is the issue still standing?

Closing the issue until there’s a reply.

authors: AdamMikacich Banandrew Javasamurai devrchancay vinayakkulkarni

repo: Semantic-Org/Semantic-UI


text:
[Dropdown] Can't get values after invoke $.dropdown('set values', values)

When a dropdrown values are changed by $('#dropdown').dropdown('set values', values) and you call $('#dropdown').val() does not return the selected value.
In my code I have two Dropwods one with some years and other that list months that are included in those years. When a years is selected months are updated with set values but then I can't get selected month. I order  to deal with this issue I did this:

      Year:
      <select name="year" class="ui dropdown" id="year">
        <option value="2017" data-month="[1, 2, 3]">2016</option>
        <option value="2017" data-month="[4, 5, 6]" selected>2017</option>
      </select>

    Month:
      <select name="year" class="ui dropdown" id="month">
        <option value="4">4</option>
        <option value="5">5</option>
        <option value="6">6</option>
      </select>

$(function (){
    $('#year').dropdown({
        onChange: function (value, text, $selectedItem) {
            var arr = [];
            var months = $('#year').find(':selected').data('month');
            for (var i = 0; i < months.length; i++) {
                var m = months[i];
                arr.push({value: m, name: m});
            }
            arr[arr.length - 1].selected = true;
            $('#month').dropdown('change values', arr);
        }
    });
  $('#month').dropdown({
       onChange: function (value, text, $selectedItem) {
            $('#month').data('value', value); //To deal with issue
        }
 });
});

PS: I tried to make JSfiddle but didn't work 😞  .

Hi @Eng3l, here’s a working example, hopefully, it will clear things up: https://jsfiddle.net/mma1rwt1/
When you initialize a dropdown on a select element, it hides a select element and uses it only for storage, so it’s pointless to manipulate it directly with methods like val()—it basically constructs this markup, “Initializing Existing HTML” section, with hidden select instead of hidden input—so you can also initialize your dropdowns on pre-existing HTML, it’s actually faster. All dropdown component’s methods should be called on already constructed .ui.dropdown container, and not hidden form elements.
If you have more questions, I’ll be happy to answer them either in this thread, or in our Gitter chatroom.

OK I realize that but I think that it should work with something like this:
$('.ui.dropdown.month').dropdown('get value')

But it returns null after setting new values.

@Eng3l Sorry about that, we’ll investigate. In the meantime, it does work with pre-existing HTML: https://jsfiddle.net/Banandrew/mma1rwt1/2/

Well, by using onChange I did save temporally the value and get it back when posting AJAX request or submitting form. I will try to find out a way to solve this issue.
Thanks.

This is still an issue.

I fixed it by add the same list to my select options too
for (var i = 0; i < response.length; i++) {
      var item = response[i];
      inner = inner + "<option value='" + item.value + "'>" + item.name + "</option>";
}

authors: Banandrew Eng3l azarisaeed wrycu


text:
Unexpected "shadows" in Chrome 61.0.3163.100

Since the Chrome's update to version 61, these "shadows" started to show under my tables. (see print below)
The same page works perfectly in other browsers (FF, Edge etc), without these shadows. So it's a Chrome thing.
Anyone know if there's a fix or workaround for it? I'm not sure if it's a Chrome bug or new implementation...
Thank you!

Can also be seen on SUI’s documentation.

@Banandrew is this a Semantic-UI bug, or a Chrome bug?

@rodrigopires I don’t know, we’ll investigate.

I had this problem a long time ago and temporally fixed it at the time with disabling hardware acceleration in chrome.

Updated Chrome today to the newest version (62.0.3202.75), and the shadows are no longer being displayed.

authors: Banandrew fridzema rodrigopires


text:
[modal]Multiple Modals can't center align (version 2.3)

Multiple Modals can't center align

This will be related to these issues https://github.com/Semantic-Org/Semantic-UI/issues/6267 https://github.com/Semantic-Org/Semantic-UI/issues/6185

Fixed in #6562, I've introduced a new setting to allow for non-flex positioning to be used in legacy browsers, or when detachable: false is used.

authors: hammy2899 jlukic nbvghost


text:
maxiconda.sh missing

release fails with :

seems the maxiconda.sh file is not uploaded to the release assets ...

@andfoy the consolidation of the release didn't pass, I think the maxiconda.sh file is not present to uploaded to the release assets.
Can you have a look at it ?

We forgot to update the upload step as well, as the file now has the version number on it

authors: andfoy nerohmot

repo: Semi-ATE/maxiconda


text:
Could not install globally with NPM

Hi,
I couldn't install the package by running the command npm install -g nelson.gui.
Error output (taken from Windows, but identical with an Ubuntu):
npm ERR! path C:\Users\...\AppData\Roaming\npm\node_modules\nelson.gui\build\nelson.gui.js
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall chmod
npm ERR! enoent ENOENT: no such file or directory, chmod 'C:\Users\...\AppData\Roaming\npm\node_modules\nelson.gui\build\nelson.gui.js'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\...\AppData\Roaming\npm-cache\_logs\2018-05-10T19_00_47_085Z-debug.log

The issue seems to be that the file build/nelson.gui.js doesn't exist at this point, and cannot be chmoded (and then bin-linked). Running npm install -g nelson.gui --no-bin-links doesn't trigger the error.
Everything seems fine when the package.json is changed to use the file src/nelson.gui.js instead. (see PR #12)
I don't know if it could have any side effect.
Tested with:

Windows 10 / Node 8.11.1 / npm 5.6.0
Ubuntu 16.04 / Node 8.11.1 / npm 6.0.1

Same issue here

I have the same issue.

The file was actuall removed in 0f125015ff395718e1f95b65e6707b544f53623c

@pph7 you can git clone the nelson.gui repo, then edit the package.json:
replace this:
   "nelson.gui": "./build/nelson.gui.js"
with this:
   "nelson.gui": "./src/nelson.gui.js"
then in the parent folder of the cloned repo, run:
npm install ./nelson.gui
hope it helps !

@ianis58 I did this but then I got some other problems. So I used an earlier version and that worked for me so far.


text:
C++: Fix getQualifiedName performance issues

See https://jira.semmle.com/browse/CPP-280. This PR is best reviewed one commit at a time.
This PR is supposed to be completely behaviour-preserving. I'll run the full test suite and CPP-Differences to confirm that.

I ran https://jenkins.internal.semmle.com/job/Query-Changes/job/CPP-Differences/555 to confirm that this PR doesn't change behaviour, but there were three changes, all in jdk8u.

One change is an alert from StackAddressEscapes.ql that disappears in a function named unpacker::abort. I can't find the original alert locally. I think it's just wobble because I can find previous jobs (like Query-Changes/CPP # 658) where this particular query wobbles on this particular snapshot.
Two alerts from IntegerOverflowTainted.ql disappeared. That's because the security-pack taint tracking library uses hasGlobalName to identify sources, and hasGlobalName changes in this PR so that the function os::recvfrom is no longer considered to have the global name recvfrom (os is a class, not a namespace). I think that's a change we want to keep.

I think this PR is now ready for review. I'll post performance results when I have them.

I've measured performance, and it looks good. Compare the 1.20 results to the new results. It's not an apples-to-apples comparison because many unrelated things have changed between the two revisions, and the second evaluation ran with more RAM, but I think it's clear what happened with the qualified-name predicates:

getQualifiedName went from 59 invocations taking a total of 2163 seconds to just 9 invocations taking a total of 252 seconds. I'd like to get it even further down, but this is what I could easily do without changing semantics.
declarationHasQualifiedName (which implements the new multi-argument hasQualifiedName predicates and hasGlobalName) has 2 invocations (one of them is for a join_rhs helper predicate) taking a total of 31 seconds. That number is only for the predicate itself. Its whole cached stage takes 94 seconds, which can be seen in the Per-stage tab of the spreadsheet.

@rdmarsh2 and @geoffw0, I've pushed a commit to address your comments.

repo: Semmle/ql


text:
JavaScript: Fix modelling of exported variables that have definitions without (syntactic) right-hand sides.

Fixes https://discuss.lgtm.com/t/false-positive-in-preact/1348.
The actual fix is in the first commit and involves a minor rearrangement so we don't assume VarDef.getSource() is always defined (because it isn't).
Once I had that in, LocalFunction started acting up with a very expensive antijoin_rhs. I have no idea why that suddenly became a problem, but the second commit refactors things to fix it.
Overall, there is no performance overhead (in fact, the second commit gives us a speedup on some projects), and results are unchanged except for the reported FP in preact, which I'm adding to our default benchmark suite. Given the fact that I wasn't able to find a single other change in results, I think we can skip a change note.

Test failure fixed; removing that override was a little reckless. I'll do a another small evaluation to make sure this doesn't mess with performance (but I think it shouldn't).

Small evaluation on ace and node shows no major performance impact, so I consider this ready to merge (but would of course be happy to do a more extensive evaluation if desired).


text:
license spelling changes

Fixed your spelling mistakes.

well
you did well

well
you did well

repo: Seniatical/Mecha-Karen-Source-Code


text:
Beaglebone Black Adapt to SHT31 temperature and humidity sensor

I read the official website said that the HT version of the kernel supports the SHT3x driver,
SHT3x | 4.8 | June 2, 2016
but I did not see the configuration of the SHT31 in the configuration, I am based on the website [https://www.digikey.com/eewiki/display/linuxonarm/BeagleBone+Black] configured BBB firmware. The kernel version is 4.18.
I have configured the relevant content in the device tree.
`&i2c1 {
pinctrl-names = "default";
pinctrl-0 = <&i2c1_pins>;
status = "okay";
clock-frequency = <100000>;

sht31: sht31@44 {
	compatible = "sensirion,sht31";
	reg = <0x44>;
};

};
debian@BBB:~$ sudo i2cdetect -r -y 1
0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- 44 -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
debian@BBB:~$ `
How can I enable the SHT31 driver?

Dear @zyq5428
I'll close this here since the question is not related to the embedded driver but to the upstream Linux driver.
We can't provide support but as a hint, what you likely need is the config option CONFIG_SENSORS_SHT3x to enable SHT31 support in your kernel config. Enable it either as module or compile it in. If you select the module option you'll need to load the sht3x module. You'll need to compile your own kernel if it's not shipped with the one you're using now.

repo: Sensirion/embedded-sht


text:
just little things

I hope i did this right

one more thing

repo: SensorsIot/Farm-Data-Relay-System


text:
Implement git tag checking for autoupdate.

For release:

The **/package.json version field must be updated first to contain
correct version number and channel suffix (alpha, beta, release).
A tag must be created with same values for the release commit,
e.g.  git tag -a -m "" 1.2.3-alpha
Various packaging commands can be issued. Resulting
release/$channel-$os.yml file and executable must be copied to update
server.

For snapshot builds:

The **/package.json version field must be updated to contain
"snapshot" as the channel suffix.
Various packaging commands can be issued.

The package.json version is compared against tag name so they must
match.

A tag must be created with same values for the release commit,
e.g. git tag -a -m "" 1.2.3-alpha

Any way to automate this? That is, to get the version number and channel from the package.json, for instance?
Just thinking of avoiding possible typos...

Yes, now in a279e3c. Just the reverse, though, as version information in package.json is outdated in conflicting manner due parallel development that keeping it there is not a good option. So, the version is not determined automatically depending on where the previous tag exists. If current commit doesn't have a tag, it must be a development run or snapshot build. And if current commit is tagged, it must be a build aimed for release that is declared by the tag. (If running development build in a tagged commit, it should not matter that the run/build is marked by the tag. Only thing is, that the version is not currently marked dirty if there are local uncommitted changes on a tagged commit.)

repo: Sensotrend/sensotrend-uploader


text:
🛑 MedicoVet is down

In c41f64c, MedicoVet (https://medicovet.eu) was down:

HTTP code: 429
Response time: 1656 ms

Resolved: MedicoVet is back up in f913536 after 22 minutes.

repo: SeoWeb/upptime


text:
🛑 MedicoVet is down

In 40ab35f, MedicoVet (https://medicovet.eu) was down:

HTTP code: 429
Response time: 1558 ms

Resolved: MedicoVet is back up in 6cd1eb7 after 6 minutes.


text:
Heder L/R buttons :active style

:hover works fine, but :focus and :active still use default formating

might be limited in scope to pages outside dash

I always get accessibility stuff wrong.
I think we want the same styling on :hover and :focus, but isn't :active something different?
Anyway, I'm making the default outline around the navigation shortcuts a bit lighter (surface-4) by default, then going to text-color on hover and focus. I'm unsure whether I should or shouldn't do this as well for :active.
I also noted that the hover/focus outlines for the "level," "help", and "search" (magnifying-glass icon) are also too subtle. I'll try to change them to text-color on hover/focus as well.

authors: Sepitus-exe wrex

repo: Sepitus-exe/WKElementaryDark


text:
lost contact to V4.1 board and unable to upgrade FW on 5.0 board

i have a setup with a raspberrypi ZW and two rtd boards(one is from the kickstarter v4.1(rtd 0) and the other board is bought from you regular shop v 5.0(rtd 1) and one 4relind board (rtd 2) on a pHAT Stack
by [Pimoroni](https://shop.pimoroni.com/collections/all?vendor=Pimoroni) .
This has worked very well for over a year but recently i have had some big variations in the reading from two of the sensors. While investigating this problem decided to upgrade the rtd software and firmware i discoverd that
When i tried to upgrade to the latest firmware
pi@rpi-zw-01:~/rtd-rpi/update $ ./update 0
You are ready to update the firmware on your board.
Your Raspberry Pi must be connected to the internet.
Type "yes" (without quotes) to continue or anything else to quit:
yes
CPUID: 520027001651524635333820
Downloading firmware...               Board version < 6.0
Done
Programming the board...  9%
 Retry 21 times. Write fail!
FAIL to write!
pi@rpi-zw-01:~/rtd-rpi/update $ ./update 1
You are ready to update the firmware on your board.
Your Raspberry Pi must be connected to the internet.
Type "yes" (without quotes) to continue or anything else to quit:
yes
CPUID: 3b001d000151564135373120
Downloading firmware...               Board version < 6.0
Done
Bootloader no answer!!!

no rtd boards ar detected
rtd -list
0 board(s) detected]

detecting the 4relind board is working
pi@rpi-zw-01:~/rtd-rpi/update $ 4relind -list
1 board(s) detected
Id: 2

When disconnecting the kickstarter board(rtd 0) i can connect to the other boards.
pi@rpi-zw-01:~ $ rtd 1 board
Mega RTD firmware version 1.11
Vin 5.048V, Vrasp 5.042V, CPU Temp 37C
pi@rpi-zw-01:~ $ rtd 1 read 1
19.793970
pi@rpi-zw-01:~ $ rtd 1 read 2
32.919575

pi@rpi-zw-01:~/rtd-rpi/update $ 4relind -list
1 board(s) detected
Id: 2

but not able to upgrade the rtd 1 board
pi@rpi-zw-01:~/rtd-rpi/update $ ./update 1
You are ready to update the firmware on your board.
Your Raspberry Pi must be connected to the internet.
Type "yes" (without quotes) to continue or anything else to quit:
yes
read cmd NACK ret 0xffffffff !!!
Cpu id read fail!!

pi@rpi-zw-01:~/rtd-rpi/update $ ./update 1
You are ready to update the firmware on your board.
Your Raspberry Pi must be connected to the internet.
Type "yes" (without quotes) to continue or anything else to quit:
yes
CPUID: 3b001d000151564135373120
Downloading firmware...               Board version < 6.0
Done
Bootloader no answer!!!

if i connect the raspberry pi directly on the rtd1 board i get the same behaviour.
pi@rpi-zw-01:~/rtd-rpi/update $ ./update 1
You are ready to update the firmware on your board.
Your Raspberry Pi must be connected to the internet.
Type "yes" (without quotes) to continue or anything else to quit:
yes
CPUID: 3b001d000151564135373120
Downloading firmware...               Board version < 6.0
Done
Bootloader no answer!!!

Hi,
Please make sure nobody (python scripts, node-RED flows, etc.) tries to access the I2C port during the update.
I personally tested with multiple cards but connect just one card to the raspberry and use-it on stack level 0 (no jumpers).

i succeede in upgrading the 4.1 board butt sill not detected
pi@rpi-zw-01:~/rtd-rpi/update $ ./update 0
You are ready to update the firmware on your board.
Your Raspberry Pi must be connected to the internet.
Type "yes" (without quotes) to continue or anything else to quit:
yes
CPUID: 520027001651524635333820
Downloading firmware...               Board version < 6.0
Done
Programming the board...100%         Done
pi@rpi-zw-01:~/rtd-rpi/update $ rtd -list
1 board(s) detected
Id: 0

ok i will stop node-red before upgrading FW!

sweet got it working again! thanx!

Hi, Please make sure nobody (python scripts, node-RED flows, etc.) tries to access the I2C port during the update. I personally

repo: SequentMicrosystems/rtd-rpi


text:
editors/vscode: Convert file URLs to paths with "fileURLToPath()"

This ensures that include paths are properly resolved on all platforms. The previous technique did not work on Windows.

Confirming this fixes include paths on my Win10 machine. Directory structure:

Before

After

authors: ApexDevelopment tpetillon

repo: SerenityOS/jakt


text:
🛑 Home Server (Raspi) is down

In 6ea27d9, Home Server (Raspi) (pi.cr4.live) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Home Server (Raspi) is back up in ff448ff after 4 minutes.


text:
chore(master): release 1.15.0

:robot: I have created a release beep boop
1.15.0 (2023-12-14)
Features

added clip description at last newline (#25) (97a4813)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/SethCohen/github-releases-to-discord/releases/tag/v1.15.0 :sunflower:

repo: SethCohen/github-releases-to-discord


text:
[REQUEST]Option to pause between songs and unmute.

After the song is over pause for 30 seconds unmute everyone then play the next song and mute. Also another option to skip the wait time.

What use case do you have for this, instead of just doing it manually? Seems unnecessary and will only be used by you.

What link said. This type of a request is a request that would be made only by you or by such a minority that making it a feature would not be reasonable. Something along the lines of this matches the case of this request.

This is too "personalised" to ever happen. Learn Python and code it for yourself.

authors: ImthePeach Markersx jaydenkieran link2110

repo: SexualRhinoceros/MusicBot


text:
Speed rates

What feature do you want to get added on the base engine?
I would like changeable speed on songs to be added to Psych Engine.

@dum-du-m, this is already a feature. In Lua, you can use setProperty('SONG.speed',speed) to set the scroll speed.

Duplicate of #317

@dum-du-m, this is already a feature. In Lua, you can use setProperty('SONG.speed',speed) to set the scroll speed.

Duplicate of #317

not what i meant, like this https://youtu.be/HooSd3Z2ltE

authors: NS-Unfair ShadowMario dum-du-m

repo: ShadowMario/FNF-PsychEngine


text:
Hurt notes breaking

What is your question?
if i change the note assets the hurt notes also change to the new assets and when you/the opponent hits them the game crashes

fucked up xml of note image

authors: Ceznaf TheLeerName


text:
Transition from 0.6.3 to 0.7.1 makes saving variables impossible?

Describe your bug here.
Hello to anyone reading this, I've had a recent issue regarding saving variables using Lua.
For the 0.6.3 version of the engine, I've been using "initSaveData", "getDataFromSave", "setDataFromSave" and "flushSaveData" to save and reuse my variables in Lua. However, when transitioning to 0.7, the engine is unable to create the save file as I can't find it anywhere, has the keywords changed? If so, what are the new ones?
Thank you in advance for your answer.
~KillerAvecRage

Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.

I don't think that's the issue, my mod uses Save data, it's very likely that your script is either crashing before initializing the save data, or you are not flushing to save it: flushSaveData('KARHudConfigSaveFile')

Oh yeah it is working now, well okay, good

authors: KillerAvecRage ShadowMario


text:
My credits are not showing

Describe your problem here.
The credits I made for my mod were not showing even after putting it in /mods/data. I used the example given in the wiki if you're wondering what the txt file contains.
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
No response

I used the example on the wiki for testing purposes.

Make sure you're using this build:
https://github.com/ShadowMario/FNF-PsychEngine/actions/runs/1585798261 or a newer one.
Or a newer one: https://github.com/ShadowMario/FNF-PsychEngine/actions?query=is%3Acompleted+branch%3Amain+event%3Apush

Make sure you're using this build: https://github.com/ShadowMario/FNF-PsychEngine/actions/runs/1585798261
Or a newer one: https://github.com/ShadowMario/FNF-PsychEngine/actions?query=is%3Acompleted+branch%3Amain+event%3Apush

thanks

authors: MeguminBOT macksosmart


text:
whenever i try to save songs, shit fucks up

Describe your bug here.

might be a windows issue cause this only started happening after i installed the new update
it happens after i try to create a new folder (the error pops up whenever i try to do anything)
Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
nope, this is unmodified psych engine and bf.json has never been altered or changed

maybe bf.json is corrupted or the json file for your song

this has happened with multiple songs

authors: MayoALT Theoyeah mayo78


text:
Gems dropped from Item Frames return item.apotheosis.gem 1.20.1

Gems obtained from the towers in Apotheosis, regardless of the name when looking at them in the item frames on the walls, always drop a non-functional gem

images attached  - the gem still appears to be the correct gem when its on the ground, but changes once its picked up

Update: its every gem that's picked up that is broken

This seems like another mod in your instance is breaking item NBT data.  Gems are working fine in isolation, other instances and in other large modpacks

Mo' Enchantments was identified to be causing this kind of NBT loss.

repo: Shadows-of-Fire/Apotheosis


text:
Persisting the state fails

Hello team.
I am trying to use the new state dumping feature but it fails (macOS, pyenv, python 3.9.10, venv).
Apart from the fact that it would be nice to have the params for dumping and loading which don't error if the load path does not exists yet (so I can always copy and paste the same command and not having different results if it's the first or the nth time).
So having something like this always working
starknet-devnet \
  --dump-on transaction \
  --dump-path ~/.starknet_devnet \
  --load-path ~/.starknet_devnet

But there is a more pressing issue on my machine. If I start the devnet then I send the transaction, when I stop the devnet and the dump has to be written, it throws errors.
❯ starknet-devnet \
  --dump-on exit \
  --dump-path ~/.starknet_devnet.pkl
 * Running on http://localhost:5000/ (Press CTRL+C to quit)
127.0.0.1 - - [28/Feb/2022 14:37:47] "POST /gateway/add_transaction HTTP/1.1" 200 -
^CDumping Devnet to: /Users/claudio/.starknet_devnet.pkl
Traceback (most recent call last):
  File "/Users/claudio/cairo_venv/bin/starknet-devnet", line 8, in <module>
    sys.exit(main())
  File "/Users/claudio/cairo_venv/lib/python3.9/site-packages/starknet_devnet/server.py", line 275, in main
    app.run(host=args.host, port=args.port)
  File "/Users/claudio/cairo_venv/lib/python3.9/site-packages/flask/app.py", line 920, in run
    run_simple(t.cast(str, host), port, self, **options)
  File "/Users/claudio/cairo_venv/lib/python3.9/site-packages/werkzeug/serving.py", line 1017, in run_simple
    inner()
  File "/Users/claudio/cairo_venv/lib/python3.9/site-packages/werkzeug/serving.py", line 970, in inner
    srv.serve_forever()
  File "/Users/claudio/cairo_venv/lib/python3.9/site-packages/werkzeug/serving.py", line 724, in serve_forever
    super().serve_forever(poll_interval=poll_interval)
  File "/Users/claudio/.pyenv/versions/3.9.10/lib/python3.9/socketserver.py", line 232, in serve_forever
    ready = selector.select(poll_interval)
  File "/Users/claudio/.pyenv/versions/3.9.10/lib/python3.9/selectors.py", line 416, in select
    fd_event_list = self._selector.poll(timeout)
  File "/Users/claudio/cairo_venv/lib/python3.9/site-packages/starknet_devnet/server.py", line 241, in dump_on_exit
    dumper.dump(dumper.dump_path)
  File "/Users/claudio/cairo_venv/lib/python3.9/site-packages/starknet_devnet/dump.py", line 34, in dump
    multiprocessing.Process(
  File "/Users/claudio/.pyenv/versions/3.9.10/lib/python3.9/multiprocessing/process.py", line 121, in start
    self._popen = self._Popen(self)
  File "/Users/claudio/.pyenv/versions/3.9.10/lib/python3.9/multiprocessing/context.py", line 224, in _Popen
    return _default_context.get_context().Process._Popen(process_obj)
  File "/Users/claudio/.pyenv/versions/3.9.10/lib/python3.9/multiprocessing/context.py", line 284, in _Popen
    return Popen(process_obj)
  File "/Users/claudio/.pyenv/versions/3.9.10/lib/python3.9/multiprocessing/popen_spawn_posix.py", line 32, in __init__
    super().__init__(process_obj)
  File "/Users/claudio/.pyenv/versions/3.9.10/lib/python3.9/multiprocessing/popen_fork.py", line 19, in __init__
    self._launch(process_obj)
  File "/Users/claudio/.pyenv/versions/3.9.10/lib/python3.9/multiprocessing/popen_spawn_posix.py", line 47, in _launch
    reduction.dump(process_obj, fp)
  File "/Users/claudio/.pyenv/versions/3.9.10/lib/python3.9/multiprocessing/reduction.py", line 60, in dump
    ForkingPickler(file, protocol).dump(obj)
AttributeError: Can't pickle local object 'CarriedState.empty_for_testing.<locals>.<lambda>'

If I start the devnet to dump at every transaction, then as soon as I send a transaction, I get a 500 error for the transaction, and I the dump fails.
Could it be some dependency missing? Or any mismatched python version?

Thanks for the quick feedback.
Regarding failing if load_path doesn't exist, that was done on purpose. Are you suggesting not loading in that case and starting with a fresh Devnet instance?
Regarding the error, can you reinstall devnet? Or try installing it in a new virtual environment and running there? If that doesn't help, can you try installing and running with Python 3.8 or Python 3.7?

Yes I am suggesting that if the load_path does not exists, the state starts anew. So in a tutorial I can tell newbies like me, always run this xyz command to preserve the state of the devnet between sessions.
I created a new venv, selected it, selected 3.9.10 as python version, reinstalled the cairo-lang and starkent-devnet (0.1.17), launched the devnet with dumping on transactions. Then in another terminal selected the venv and deployed a contract.
As soon as it starts to dump a transaction, I get the same error.
Then I repeated the process, deleting the venv folder first, using python 3.7 and 3.8. Both not working.

Ok, thanks for the detailed description of what you've tried. There are known issues with multiprocessing and pickling with Python >=3.8 on MacOS. Can you try the following to try to fix this:
Activate your virtual environment and run this:
python -c "import multiprocessing; print(multiprocessing.get_start_method())"

What do you get? If it's not fork, try running the following to locate your devnet installation:
python -c "import os; import starknet_devnet; print(os.path.dirname(starknet_devnet.__file__))"

Inside the printed directory, locate dump.py and paste the following line before the definition of class Dumper:
multiprocessing.set_start_method("fork")

Try starting your devnet and dumping with that line pasted.

With the command python -c "import multiprocessing; print(multiprocessing.get_start_method())" I get spawn.
So, I added the line you suggested in dump.py and now it works as expected.

Ok, I will keep this issue open until we release a patch version. Until then, you can rely on this local fix. Thanks for reporting!

You're welcome. I am trying to contribute by reporting everything I find. If you need macOS specific support on other issues, ping me

Great, thanks! Very much appreciated.

authors: FabijanC ccarnino

repo: Shard-Labs/starknet-devnet


text:
Decouple HttpClient from Web Part

Currently HttpClient is available through the Web Part context. To take React for example: if you wanted to communicate with SharePoint using the HttpClient, you would need to pass the whole Web Part context into React components which is excessive: it complicates testing and ties the particular component to Web Part, rather than having it reusable which will be important when new SPFx shapes become available.
Have you considered defining an interface for the HttpClient that we could use to pass the instance of HttpClient into components without coupling them with Web Parts?

A sample on how to pass the IWebPartContext to a component would also be useful.

It works fine by passing the HttpClient. I use this pattern extensively:
public constructor(client: HttpClient) {
  ...
}

Wictor, how do you pass that a constructor arg with React when the component has:
React.createElement(ComponentName, {prop1,prop2})
..and I'm learning along the way here, being a React newbie :)

@wictorwilen what if you wanted to test your component? How would you pass the mock instance?

@waldekmastykarz - I've used different constructors for my mock objects and production objects. The above sample is the production constructor, where my mock constructor looks like constructor().

@wictorwilen does that mean that you have to have two code paths to support both mocked and production HttpClient, similarly to what we've seen in the samples?

@waldekmastykarz - yes, I've done that. Since you can't define the constructor in the interface definition you can have different constructor signatures. Should you? It depends. If you want them to be exactly the same then you could just pass in the httpClient property of the context object and not use it...

@wobba
In your React component, first import the client
import { HttpClient } from '@microsoft/sp-client-base';

Then modify the props interface
export interface IReactDemoProps extends IReactDemoWebPartProps {
  httpClient: HttpClient;
}

And finally in your web part render method:
const element: React.ReactElement<IReactDemoProps> = React.createElement(ReactDemo, {
      description: this.properties.description,
      httpClient: this.context.httpClient
    });

@wictorwilen That's how I do it, and what @waldekmastykarz told be to do. Pass it via the Props interface declaration. I actually pass in the full context object, to be sure I have what I need :) But seems a bit dirty to mix data properties and utility properties in a way.

@wobba - I'm not an expert on React, but that is how I pass parameters. And for web-parts it is designed in that way that you have two interfaces; one for the WP properties, and en extended interface for the React properties.
An alternative would be to use the experimental React context.
(Personal thoughts) I think this is an example how React is focusing on building UX fast and efficient and does not have dependency injection and similar - which we are used to when building "proper" solutions :-)

@wictorwilen Exactly my thoughts as well.. where in the something is the DI :-D Just plug it baby.

If HttpClient implemented an interface such as IHttpClient then in the Web Part you could pass the instance of this.context.httpClient and in your tests you could have a mock client that you could use to instantiate the component with. In theory that should also allow you to use the component with other shapes or maybe even outside of SharePoint as well 😄

@pgonzal - maybe a page describing ServiceScopes and HttpClient is in order.

The ServiceScope API is our solution for this type of problem, e.g. if you look at the (unreleased) Canvas constructor from sp-client-preview, it receives the httpClient via a ServiceScope and passes it down to the :
/**
 * SharePoint Client-side Applications can use the SharePoint Canvas to enable rich content authoring
 * as part of their experience. The SharePoint canvas provides Rich Text Editing capabilities, SharePoint
 * Client-side WebPart aggregation and hosting, and a beautiful railed design experience.
 *
 * @unreleased
 * @public
 */
export default class Canvas {
    private _container;
    private _coreComponent;
    private _store;
    /**
     * Construct a new instance of the Canvas.
     *
     * @param serviceScope - A context object that will provide dependencies needed by the canvas and
     *   any web parts that it loads.
     * @param container - The host DOM container for the Canvas. When render() is invoked the Canvas will
     *   render into 'container'.
     * @param mode - The initial DisplayMode of the Canvas.
     * @param serializedCanvas - Optional. Used to initialize a Canvas' state when render() is invoked. The
     *   string must have been created by a previous instance of the Canvas. If absent, an empty Canvas will
     *   be rendered. If present, the Canvas will rehydrate to represent the state of the Canvas when
     *   serialized.
     * @param handleCanvasChanged - Optional. When text is editied or canvas controls are added/removed this
     *   callback will be invoked. Web parts will also invoke this call back when there is interaction with
     *   the web part.
     */
    constructor(serviceScope: ServiceScope, container: HTMLElement, mode: DisplayMode, serializedCanvas?: string, handleCanvasChanged?: () => void);

I wrote up a full tech note here:
https://github.com/SharePoint/sp-dev-docs/wiki/Tech-Note:-ServiceScope-API

I am closing this bug; please reopen it if you have more questions.  Thanks!

@pgonzal  Just want to thank you for that tech note which was a very good read! So I'm guessing you will release some common service keys to be used, but passing HttpClient explicitly as you state for that case works out fine as well. Since you write in the comment that you yourself get HttpClient from a service scope, but the tech note says to pass it explicitly. Potatoe / Potato ;)

authors: patmill pgonzal waldekmastykarz wictorwilen wobba

repo: SharePoint/sp-dev-docs


text:
Local Workbench SSL issue with node 9.0.0

Category

[ ] Question
[ ] Typo
[x] Bug
[ ] Additional article idea

Expected or Desired Behavior
After installing the SharePoint Framework dependencies, generating a Hello-World project with the react template, trusting the dev cert, and running gulp serve, the workbench should display at:
https://localhost:4321/temp/workbench.html
Observed Behavior
After installing the SharePoint Framework dependencies, generating a Hello-World project with the react template, trusting the dev cert, and running gulp serve, the workbench displays an SSL error.  The error returned in Chrome is "ERR_SSL_PROTOCOL_ERROR".  In Edge, I receive the message "Can't connect securely to this page.  This might be because the site uses outdated or unsafe TLS security settings. If this keeps happening, try contacting the website's owner."
After seeing #1002, I then tried running "set NODE_NO_HTTP2=1" &  "gulp serve", but observed the same SSL error.  I verified that the env variable was set using the command "set NODE_NO_HTTP2", which produced a result of "NODE_NO_HTTP2=1".
Steps to Reproduce
Environment:

Windows 10
Node 9.0.0

After all dependencies have been installed (yo, gulp, ms yo generator, etc.),  run:

yo @microsoft/sharepoint  (select default values with the exception of selecting react as the framework.)
gulp trust-dev-cert (select yes when prompted to trust the cert)
set NODE_NO_HTTP2=1
gulp serve

SPFx isn't supported on Node.js v9... only LTS ATM (v8). I've seen in a few places where that env variable has issues in some Node,js v9 versions.

Any ETA on when it will be supported?  For now, I'll give NVM a shot and roll back to v8.

No... considering MSFT has always said they only support LTS, my assumption is that they'll just make sure it works with the next LTS version of Node.js: v10.* (which comes out in April but won't go into LTS until October 2018).

authors: andrewconnell erniebryant


text:
Navigating from a page to another page causes SPFX web part on secondary page to not load

Category

[ ] Question
[ ] Typo
[x] Bug
[ ] Additional article idea

@VesaJuvonen @mpasarin our users have suddenly started reporting issues that when navigating from a page with one SPFX web part to another page with a different SPFX web part, the web part on the second page does not display. Refreshing the page forces a reload and the web part then displays. Appears to be occurring in both IE11 and Chrome 58.
Using @waldekmastykarz's approach of adding source maps to production packages, if I put a break point in the onInit function for the second page's web part, I can see that the onInit function is not even being triggered, unless you do a hard page refresh. It seems that there are major issues with SPFX and SharePoint modern page redirection. This recommendation for #1700 resolved some of the issues we were having around this area, but even with that fix, over the past few days some environmental change has triggered this more serious issue. Note, we have not rolled out any updates to our SPFX solution in the past few months.
This is a production issue for us affecting 100s of users and so would greatly appreciate a quick response.

Same here, production problem affecting all users !!!

Same problem here. Rolled Out straight to production (not first release).
This kind of evolution/optimization about "lazy refreshing" must be tested with navigation from extensions before getting rolled out. Every time it changes, our navigation becomes useless.

we have the same issueand opened an issue from within the Admin Center Support Request area. Ticket #11181605
For our modern pages in Classic team site, anchor links need to be clicked twice to navigate.

Reproduced on fresh communication with no custom dev.

It seems that the problem is solved (or rolled back...), is it the same for you guys ?

Resolved - from MS
Below is a summary of the case for your records:
Symptom:
Users may have seen unexpected content load when navigating between Modern Pages.
Cause:
A component of a service feature that facilitates the expected navigation experience was inadvertently disabled, causing impact.
Resolution:
We've reactivated the disabled feature and worked with some previously affected customers to confirm that the issue is resolved.
More information:
We're analyzing the circumstances that led to impact on the affected systems to help prevent this problem from happening again.

Confirmed, the issue has been resolved for our users. Thank you for the fast resolution @Gorbash77.


text:
SharePoint PnP JavaScript Core library URL

The current URL points to a deprecated repository (https://github.com/SharePoint/PnP-JS-Core), please update to the new repository https://github.com/pnp/pnpjs.

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

ID: 142aa03b-97e7-1755-bf21-dcda38a6fe24
Version Independent ID: 5516201f-4576-16c9-b5bb-39fee234506a
Content: SharePoint Framework development tools and libraries
Content Source: docs/spfx/tools-and-libraries.md
Product: sharepoint
GitHub Login: @spdevdocs
Microsoft Alias: spdevdocs

Thanks for your post.

authors: Seiyasu YardGnomeNinja


text:
Typo in first sentence

"You can use nay text editor to build SharePoint Framework solutions."

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

ID: 5bee09a8-022e-1b5a-4aab-d6e7c6216808
Version Independent ID: 49edce1e-f2be-e989-917f-c6b389363e2f
Content: Set up your SharePoint Framework development environment
Content Source: docs/spfx/set-up-your-development-environment.md
Product: sharepoint
Technology: sharepoint-framework
GitHub Login: @VesaJuvonen
Microsoft Alias: vesaj

This appears to be fixed in PR #7126 . Just not merged yet.
Thanks!

#7126 merged to live and update should be now available.

authors: CoreHF VesaJuvonen bcameron1231


text:
SPFx development environment : Error - ENOTSUP unsupported engine for got@5.7.1 @microsoft/generator-sharepoint

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

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

Additional environment details

Browser version : Chrome 92.x.x
SPFx version - v1.11
Node.js version - 10.13.0
Gulp JS version - 3.9
Yeoman version - 3.1.1
OS - Windows 10 Enterprise - 64bit

Describe the bug / error
Hi team,
I'm just setting up dev environment for my SPFX project. As per your documentation, I'm using SPFX v1.11 and Gulp V3, NodeJS 10.13.0 and Yeoman 3.1.1.
Also refered: https://www.voitanos.io/blog/sharepoint-framework-v1-12-deprecated/
I've successfully installed Gulp & Yeoman, however installation of  @microsoft/generator-sharepoint is giving me error as follows,
npm ERR! code ENOTSUP
npm ERR! notsup Unsupported engine for got@5.7.1: wanted: {"node":">=0.10.0 <7"}
(current: {"node":"10.13.0","npm":"6.4.1"})
npm ERR! notsup Not compatible with your version of node/npm: got@5.7.1
npm ERR! notsup Not compatible with your version of node/npm: got@5.7.1
npm ERR! notsup Required: {"node":">=0.10.0 <7"}
npm ERR! notsup Actual:   {"npm":"6.4.1","node":"10.13.0"}

try to install of both versions, cleared the caches and uninstallation/reinstallation of gulp & yeoman
# also cleared the npm cache
npm clear cache --force

# tried for both versions
npm install @microsoft/generator-sharepoint@1.11 --global
npm install @microsoft/generator-sharepoint --global

This issue was auto-closed without fixing : https://github.com/SharePoint/sp-dev-docs/issues/6453
Steps to reproduce

Install NodeJS 10.13.0
npm install gulp@3 yo@3 @microsoft/generator-sharepoint@1.11 --global

Ref : MS documentation
Expected behavior

Successful installation of SPFX dev environment

Hi @andrewconnell, this is just to notify you. thanks in advance - Nithin

First, if you are starting, it would be best to use SPFx 1.12.1 , node 12 and Gulp 4.  That will set you up for future updates.
Second, where is got coming from?  That version range looks strange (has to be less than node 7?)

Sorry - scratch those last statements.  It had been fixed recently and will be in the next drop of the framework (1.13).  The comments around "you should run 1.12.1" still apply however.

@patmill : Thank you for the input. When is the expected release date for SPFX 1.13? My new assignment is long-term one and need a stable version to start. Migrating to higher version will be a headache. what you reckon 1.11 or wait for 1.13?
Also, I'm wondering why v1.11 using old got@5.7.x package, see the node engine requirement: {"node":">=0.10.0 <7"}

1.13 should be in a month or so.  In general though, the error around got shouldn't block anything.  Are you unable to build?

To clarify since the linked blog post is confusing: 1.12.0 was marked as deprecated on NPM. However, 1.12.1 is latest stable and NOT deprecated.

To clarify since the linked blog post is confusing: 1.12.0 was marked as deprecated on NPM. However, 1.12.1 is latest stable and NOT deprecated.

Hi @KevinTCoughlin, thanks for the input. Yes, you're correct.  I just referred the release notes v1.12.0, and got confused.  I thought, it was mentioning about upcoming v1.13.  Currently, I'm trying to setup NodeJS 14.15.x + @microsoft-generator@1.12.1, still getting the same error. Please see the below comments  for more details.

1.13 should be in a month or so. In general though, the error around got shouldn't block anything. Are you unable to build?

@patmill : I was trying to install @microsoft/sharepoint-generator, but getting the error. Please see the screenshot below for more details.

Hi @KevinTCoughlin,@patmill,
Based on Kevin's comment, I have tried with both NodeJS  v14.15.0 & v14.17.5(LTS) + v1.12.1 however, getting the same error. Please see the screenshots.

OS information:

Note:
Also tried in MacOS, everything working fine, all packages were successfully installed and able to create and run the project.

OK - thanks for the update.  This is (will be) fixed as well in the next drop of the framework.

👍🏽

authors: KevinTCoughlin nithincvpoyyil patmill


text:
updated GitHub links and unordered lists.

Q
A

content fix?
yes

What's in this Pull Request?
Updated reference implementation article with the right links to GitHub sample and classes. Fixed few unordered list bullets to render properly in dev.office.com.

Hi @chakkaradeep, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

It looks like you're a Microsoft contributor (Chakkaradeep (Chaks) Chinnakonda Chandran). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;

authors: chakkaradeep msftclas


text:
Content fix

Removed context 'both'  - The current supported LTS version of NodeJS for the SharePoint Framework is both Node.js v8.x, Node.js v10.x and Node.js v12.x. Notice that 9.x or 11.x versions are currently not supported with SharePoint Framework development
Category

[ X] Content fix
[ ] New article
[] Example checked item (delete this line)

For the above list, an empty checkbox is [ ] as in [SPACE]. A checked checkbox is [x] with no space between the brackets. Use the PREVIEW tab at the top right to preview the rendering before submitting your issue.
(DELETE THIS PARAGRAPH AFTER READING)

Related issues:

fixes #issuenumber
partially #issuenumber
mentioned in #issuenumber

If this fixes (aka: closes) or references an issue, please reference it here. This helps maintaining the issue list as it will (1) link the PR to the issue & (2) automatically close the issue when this PR is merged in.
(DELETE THIS PARAGRAPH AFTER READING)

What's in this Pull Request?

Please describe the changes in this PR. Sample description or details around bugs which are being fixed.
(DELETE THIS PARAGRAPH AFTER READING)

Guidance

Please update this PR information accordingly. We'll use this as part of our release notes in monthly communications.
Please target your PR to 'master' branch. Released documents are in live branch.
(DELETE THIS PARAGRAPH AFTER READING)

Fixed now


text:
Custom formatter documentation update

Category

[x] Content fix
[ ] New article

Related issues

Custom formatter documentation update

What's in this Pull Request?
The PR captures the following updates -

Added sample data for Image field
displayValue support for Currency columns
Column formatting on Currency and Location columns can now be set using the modern UX
Support for viewBox and preserveAspectRatio for SVG
Support for field metadata

Thanks for the submission. In the future, when you submit a change to a doc, please update the ms.date front matter property to the format MM/DD/YYYY to reflect the date of the change.
We've done it for this PR, but please do this in the future to help speed up the process of merging community contributions. Thanks!

authors: andrewconnell shagra-ms


text:
FY21Q2 refresh

update demos to reflect latest dependencies

Thanks for the awesome work here, sorry for the delay on our end.

authors: VesaJuvonen andrewconnell


text:
Non functional Donate link

Donation payment option is not functioning.
Resolve issues preventing the donation payment option from working.

hi can you please assign this to me?

authors: AditiShirkes ShashankRaii

repo: ShashankRaii/Python-Connect


text:
Consolidate Memory detector

Look at all aspects of memory not just one

Total physical memory free
Total private bytes of all customer processes
Total working of all customer processes
Thrashing effect – basically page reads/sec
App Density – Total number of customer processes/apps

We also need to link this into our case submission


text:
The Code of Transfer Learning

I'd like to reproduce the result of transfer learning, could you release the code of transfer learning and settings?

Hi @cGy147,
No problem. It will be uploaded before Monday.

Hi @cGy147,
The required code is uploaded.

Thanks a lot!

repo: Shen-Lab/GraphCL


text:
the change of smile when increase the distance of the "glasses" attribute

Hi,thanks for your great research.
I have a problem when I apply the "pggan_celebahq_eyeglasses_c_age_gender_boundary.npy" on the pre-trained pggan model. With the conditional manipulation on "glasses" attribute , the smile changes gradually. Here are the results.

But the attributes seem to be uncorrelated in your paper.
Could you explained it for me?

The eyeglasses attribute for PGGAN may not be that accurate, since there are not enough faces with eyeglasses among synthesized data. According to the boundary correlation, however, they should be disentangled with each other.

Thanks for your answer. I will train a svm classifier to test it again.

repo: ShenYujun/InterFaceGAN


text:
Server Side Rendering Support

#4 - Relevant
https://kit.svelte.dev/docs/faq#how-do-i-use-x-with-sveltekit-how-do-i-use-a-client-side-only-library-that-depends-on-document-or-window
Would need to test to confirm, but have used this on TS Particles for a Vercel deployment and had no issues. May also be related to the weird vite config issue.

already used in #5. I'll test SSR more if the Vite config issue is resolved.

I made this before I saw #5 , will delete

repo: ShipBit/svane


text:
Fix some bugs in test case prompts/ground truths

Summary of the changes:

ID
Reason for Change

simple_5
Allowing 'all' roots as a valid answer, as it includes real roots

simple_96
Clarification needed in the prompt

simple_238
Expanding acceptable answers to include all years of the Civil War (1861-1865)

simple_122
Mismatch between specification (array of integers) and ground truth (array of array of integers)

simple_309
Adding Tampa Bay Buccaneers to ground truth due to Tom Brady's 2020 NFL season

simple_235
Including Lisbon, Portugal as an acceptable answer

simple_267
Accepting "New York" as per the location parameter in the prompt

simple_308
Addressing grammar issues in the prompt

simple_316
Adding "female" as an acceptable answer for Serena Williams

simple_375
Removing LA from ground truth as it's not mentioned in the prompt

simple_379
Including "Australia/Sydney" as a valid timezone identifier

multiple_88
Accepting PC as a platform for the WOW game

multiple_119
Same issue as simple_96, needs clarification in the prompt

multiple_153
Same issue as simple_235, including Lisbon, Portugal as an acceptable answer

Hi @aw632, Thanks for the PR!
Regarding simple_5: The question did not specify which kind of roots it is looking for, so the default value "real" should be used. Thus, the possible answer should be ["", "real"]. Same thing with multiple_88.
The rest looks good to me.

Hi, thanks for your comment. W.r.t simple_5, in this case, should we change the prompt so the default is "all" instead? Mathematically, that makes more sense as a default.

Hi @aw632, Thanks for the PR!
Regarding simple_5: The question did not specify which kind of roots it is looking for, so the default value "real" should be used. Thus, the possible answer should be ["", "real"]. Same thing with multiple_88.
The rest looks good to me.

Hi, thanks for your comment. W.r.t simple_5, in this case, should we change the prompt so the default is "all" instead? Mathematically, that makes more sense as a default.

Fair point. I will update the prompt to eliminate ambiguity.

repo: ShishirPatil/gorilla


text:
Title styling

Add an Icon and a different font for section titles

Decided not to go with icons, since the title looks better without it.

repo: Shooshte/Portfolio


text:
Modernize PackageTest

Simple clean up of PackageTest to more modern syntax. Messaging changed only. Again, a file I wrote and cleaned up very recently so the contents of the tests is pretty solid.

Thaaaanks!


text:
Remove workflow path filtering

WHY are these changes introduced?
We were skipping CI when the PR only contained changes in *.md files, but now the workflow is required to merge.
Example PR: https://github.com/Shopify/cli/pull/2785
GitHub note found by @alvaro-shopify:

WHAT is this pull request doing?
Always run CI, no matter the changes
How to test your changes?
Merge and create a PR with a single change in README.md 🤷
Measuring impact
How do we know this change was effective? Please choose one:

[x] n/a - this doesn't need measurement, e.g. a linting rule or a bug-fix
[ ] Existing analytics will cater for this addition
[ ] PR includes analytics changes to measure impact

Checklist

[x] I've considered possible cross-platform impacts (Mac, Linux, Windows)
[x] I've considered possible documentation changes
[x] I've made sure that any changes to dev or deploy have been reflected in the internal flowchart.

🎩 Checked that it works in https://github.com/Shopify/cli/pull/2795

repo: Shopify/cli


text:
Update the asset ignore module to be backward-compatible

WHY are these changes introduced?
Fixes https://github.com/Shopify/cli/issues/4496
WHAT is this pull request doing?
This PR updates the ignore module (--only/--ignore/.shopifyignore) to be backward compatible with (Ruby) Shopify CLI 2. The infrastructure code is no longer opinionated about minimatch defaults, and the themes module passes matchBase=true and noglobstar=true.
How to test your changes?

Run shopify theme init test
Run cd test
Create .shopifyignore file with templates/**/*.json
Run shopify theme push -d --verbose
Run shopify theme push --legacy --verbose
Notice the ignored files matches now

Notice: in the original report the user reports this issue using the --password flag instead of --legacy. Both flags activate the legacy implementation, but --legacy is more straightforward because it doesn't require any password. The reason the --password flag uses the legacy implementation is that this flag is designed to be used in CI/CD environments, so we decided to keep running the legacy implementation there in the first release of commands.
Post-release steps
N/A
Measuring impact
How do we know this change was effective? Please choose one:

[ ] n/a - this doesn't need measurement, e.g. a linting rule or a bug-fix
[x] Existing analytics will cater for this addition
[ ] PR includes analytics changes to measure impact

Checklist

[x] I've considered possible cross-platform impacts (Mac, Linux, Windows)
[x] I've considered possible documentation changes

I think this behaves differently when there are > 1 levels such as templates/customers/test/file.liquid.
Not a valid directory structure in today's world, though maybe one day it will be

Hey @karreiro , I have a question in regards to this change.
In 3.68.1 templates/**/*.json only ignores nested files (customers) which caught me off guard when I upgraded.

If I add templates/*.json it ignores all .json templates but shows the backwards compatibility rewrite message.

This is quite confusing as it now does the opposite to previous versions. Is this  expected?
Thanks.
PS: Wasn't sure if I should create issue for this.

authors: jamesmengo karreiro rkumorek


text:
Split hydrogen template question

WHY are these changes introduced?
Fixes #49 - Now the CLI will ask which template to use, as well as which language to go along with it as two separate questions.
WHAT is this pull request doing?
Before
https://user-images.githubusercontent.com/11851551/177179090-0d4bf45a-9982-4aa5-856d-bd99fe996111.mov
After
https://user-images.githubusercontent.com/11851551/177179031-ac39cd88-3ea4-495f-82c7-1d6471b3565e.mov
How to test your changes?
Run the dev create-hydrogen command.

👋🏻 Also: cc @mcvinci re Hydrogen CLI docs: https://shopify.dev/custom-storefronts/tools/cli-hydrogen

Very happy to see this!! Was on a wish list to get done, so thanks @SherRao!!

authors: SherRao benjaminsehl gfscott


text:
batman.js

Will batman.js be replaced by another framework?

I would like to. Still evaluation options.

What are the options under evaluation? I am curious about where the project may be headed.

Seems like the react.js train is rolling :P

Very cool!

:+1:

:+1:
As Limp Bizkit would say, keep rolling rolling rolling!

At least one fork has blazed a little trail: https://github.com/FlorianZ/dashing/commit/84edfc80775c87f679cecad4e68f6c84f67c8023

Vue.js would be much simpler and nice
http://vuejs.org

http://hamlet.coffee/ would get my vote if we're going esoteric...

Not sure why React was chosen, but if it was for performance:
http://blog.500tech.com/is-reactjs-fast/
To be clear, there are tons of other great reasons to choose React.

I second vuejs. Its similar to batman, and faster than react.

I love how easy it is to pick up Dashing and start cranking out dashboards with basic knowledge of HTML and ruby. Diving deeper and creating widgets is also quite a pleasant experience.
It does seem eerily similar: http://vuejs.org/guide/#A_Quick_Example
It has built in support for filtering, views/models, etc.
There is a react fork going already: https://github.com/florianz/dashing
It hasn't seen much action lately and I'm not sure how I feel about it in general. It doesn't feel like the original Dashing, but it would make it much easier to programmatically generate dashboards. Not sure how I feel about doing that either...
It does seem like VueJS would give us a more Dashing-like experience -- if I compare what I see in the existing React fork to the VueJS example above.

I took a stab on this but using Node.js and Vue: https://github.com/thelinuxlich/vue-dashing-js

Is there any estimated implementation date or roadmap at Dashing level? :)

Hey folks,
Sorry for the delay in all this. There's been a lot of evaluation lately of different technologies to replace Batman, but I've decided to keep it as-is. Batman bindings are simple and still work. In an hour or so you can be familiar with the syntax and can throw together great dashboards. Many people coming to Dashing have never used a binding library before, so they'll need to learn new syntax anyway (whether it be vue, react, or whatever). The benefits of switching to a different library are not worth breaking many of the community widgets that have been created, especially now that the project is no longer being actively maintained.
Hopefully forks like the one above using vue.js can provide a good template for people wanting to expand on the library and use the binding system of their choice.

authors: Guillaumichaud cefigueiredo coolieprobst gerwitz pushmatrix scharissis thelinuxlich tylermauthe waynehoover

repo: Shopify/dashing


text:
[AA] Add toddler sizes to Size attribute

Adds age-range toddler sizes to the Size attribute

Moving to https://github.com/Shopify/product-taxonomy/pull/390 to override CLA issue.

repo: Shopify/product-taxonomy


text:
Bug: session.isActive undefined when using CustomSessionStorage.loadSession

Hello there!
I downloaded the latest sample app boilerplate from Shopify and simply replaced the MemorySessionStorage with a CustomSessionStorage following the relevant tutorial.
However, the following piece of code in the sample app throws TypeError: session?.isActive is not a function.
const session = await Shopify.Utils.loadCurrentSession(req, res, isOnline);

...

if (session?.isActive()) {
    ...

I think I've isolated the issue to line 52 of the following code snippet. Line 52 converts session from type Session to type Object which I think means that it looses its isActive() implementation. I'm not super familiar with javascript but I would appreciate a fix!
https://github.com/Shopify/shopify-node-api/blob/82255b8f1cdf7a3c284e9751bfeb63d6ded20130/src/auth/session/storage/custom.ts#L46-L58

Realizing this is a duplicate of #307 .

wow this was annoying! lol thankful to have found this solution, working again for me :)

authors: justinhenricks staadecker

repo: Shopify/shopify-node-api


text:
How to create product with default variant data

Hi all,
I'm getting started with the shopify api ruby gem and just about to create products atm, but I'm already stuck at something very basic ... being that I can't create a (none-variant) product if I want to send my price and inventory data along.
If I'm correct, a product without variants actually has a 'Default Title' variant with the sku, price, inventory etc. But I can't figure out the correct way to do this ... This is what I have now:
`
new_product = ShopifyAPI::Product.new
new_product.title = "Burton Custom Freestlye 151"
new_product.product_type = "Snowboard"
new_product.vendor = "Burton"
new_product.published = "false"
new_product.save
new_product.variants << ShopifyAPI::Variant.new(
:option1              => "Default Title",
:price                => 12.95,
:inventory_management => "shopify",
:inventory_quantity   => 10
)
new_product.save
`
But this results in a product without any of the default variant data.
Tried several things but I'm not getting anywhere closer ... The shopify docs aren't really helpful is this aspect.
But I'm sure any of you guys can help me with this noobish problem ... right?

@tomkeysers Team seems to be not responding but did you find any solution to it?

@Talha5 Yes, turned out the way I wanted to alter the default variant data didn't work. I replaced that piece of the code with this, and that works fine:
#----- Variant info (default)
  variant = new_product.variants
  variant[0].price = $price
  variant[0].sku = $sku
  variant[0].weight = $g
  variant[0].weight_unit = "g"
  variant[0].inventory_quantity = $qty
  variant[0].inventory_management = "shopify"
  new_product.save


text:
Error on product page, product price bug

Describe the bug
The error is on the product page of my shopify store, when you select the color of the product several times, every click you make comes out a new price of the product repeatedly, this scares the customers and I would like to fix it.

To Reproduce
Steps to reproduce the behavior:

run command 'theme new --password=mypassword --store=store.myshopify.com --name=theme'

Expected behavior
The normal thing would be to be able to select several colors of the product and that the price appears correctly to the client.
Environment (please complete the following information):

OS [e.g. iOS]: Windows 10
Themekit version (run theme version to check):
Editor [e.g. atom, sublime]: Shopify
Ignore:

Additional context
I hope this post is useful, I am a Spanish speaking person and it has cost me a lot to get here, I need to solve this as soon as possible, hopefully you can help me, thank you.

Hi @Requ17
This doesn't appear to be anything related to themekit. I'd suggest you ask in the Community Forums:
https://community.shopify.com/c/Technical-Q-A/bd-p/technical-qa

repo: Shopify/themekit


text:
If the same preview command exists, the second and subsequent commands are not executed.

Warning: I will close the issue without the minimal init.vim and the
reproduction instructions.
Problems summary
If the same preview command exists, the second and subsequent commands are not executed.
Expected
All preview commands are executed.
Environment Information

ddu.vim version (SHA1): 07e9a28456e00a458d7e63269271870d8a75f407

denops.vim version (SHA1): 8f3899de3d3add07105221262dca90a31c4c2d4c

deno version(deno -V output): deno 1.31.1

OS: Linux (6.1.0-4-amd64)

neovim/Vim :version output:

VIM - Vi IMproved 9.0 (2022 Jun 28, compiled Mar  4 2023 19:53:01)
適用済パッチ: 1-1376

Provide a minimal init.vim/vimrc without plugin managers (Required!)
" Your minimal init.vim/vimrc
set runtimepath+=~/path/to/ddu.vim/
set runtimepath+=~/path/to/ddu-ui-ff/
set runtimepath+=~/path/to/test_kind/

~/path/to/test_kind/denops/@ddu-sources/test.ts

import { BaseSource, Item } from "https://deno.land/x/ddu_vim@v2.3.0/types.ts";
import { GatherArguments } from "https://deno.land/x/ddu_vim@v2.3.0/base/source.ts";
import { ActionData } from "../@ddu-kinds/test.ts";

type Params = Record<never, never>;

export class Source extends BaseSource<Params> {
  kind = "test";

  gather(_args: GatherArguments<Params>): ReadableStream<Item<ActionData>[]> {
    return new ReadableStream({
      start(controler) {
        controler.enqueue([
          { word: "test-1", action: { time: 10 } },
          { word: "test-2", action: { time: 10 } },
          { word: "test-3", action: { time: 10 } },
        ]);
        controler.close();
      },
    });
  }

  params(): Params {
    return {};
  }
}

~/path/to/test_kind/denops/@ddu-kinds/test.ts

import {
  ActionArguments,
  ActionFlags,
  BaseKind,
  Previewer,
} from "https://deno.land/x/ddu_vim@v2.4.0/types.ts";
import { GetPreviewerArguments } from "https://deno.land/x/ddu_vim@v2.4.0/base/kind.ts";
import { term_start } from "https://deno.land/x/denops_std@v4.0.0/function/vim/mod.ts";

type Params = Record<never, never>;

export type ActionData = {
  time: number;
}

export class Kind extends BaseKind<Params> {
  actions: Record<
    string,
    (args: ActionArguments<Params>) => Promise<ActionFlags>
  > = {};

  getPreviewer(args: GetPreviewerArguments): Promise<Previewer | undefined> {
    const action = args.item.action as ActionData
    return Promise.resolve({
      kind: "terminal",
      cmds: ["sleep", action.time],
    });
  }

  params(): Params {
    return {};
  }
}

How to reproduce the problem from neovim/Vim startup (Required!)

:call ddu#start({'ui': 'ff', 'sources': [{'name': 'test'}]})
jj (invoke 2 preview commands)

Screenshot (if possible)
Upload the log messages by :redir and :message (if errored)

Fixed.  Please update ddu-ui-ff.

authors: Shougo tennashi


text:
[Bug] Font textures issues

Some issues with font texture's edge

Solved as part of #43

authors: Adnn FranzPoize

repo: ShredEagle/graphics


text:
Use dynamic uuid

Current example settings files use a hard coded identity (uuid). This will probably lead to cases where people just use the examples and never change the uuid and once they share their data the whole idea of using practically unique uuid's will be wasted.
The server should create a persistent uuid upon first startup. The uuid should be placed someplace where it is available over reinstalls or several different installations on the same computer.

Fixed.

repo: SignalK/signalk-server-node