Multiple Readers

Okay, so years ago I figured out how to use multiplexers to trick the Arduino into working in rapid sequence with as many readers as you want, depending on how fast you needed to read them (#191). But now I'm working on a project that requires a full library-level fix, not just a workaround.
I tried using the solution linked below and it worked! Unlike with Balboa's library where a random number of readers work, and the others never respond (seemed to look a lot like SPI data interference), I get FLAWLESS response from 6 separate reader cards every time! Unfortunately, the library from Sunfounder which communicates flawlessly with multiple readers does not include functions for authenticating with tags to allow read/write access to data blocks. It only is good for reporting UIDs. Please read below for accessing data blocks on tags, not just UIDs!
https://arduino.stackexchange.com/questions/18313/issue-sharing-miso-with-multiple-rc522-rfid-readers
I believe it has something to do with the fundamental SPI setup - with the Sunfounder library using softSPI, you can set any SPI pins you want for each library instance, meaning I could change my wiring to not use SDA (slave select) and instead assign different pins to each reader's MISO.
I NEED YOUR HELP! I'm a noob at Github and I'm still not confident in writing complex library code, so hopefully someone more skilled can take the direction I've found and pull it through to the end for the community's benefit!
Option 1 (probably easier than option 2 if unlike me you know what you're doing): get Balboa's library to accept different MISO pins for each reader! No guarantee that will completely solve the problem, but there's a good chance that's what's making the difference here. The easiest way I think to do this is simply switch Balboa's code from using hardware SPI over to softSPI library.
Option 2: I have tried and tried to get the Sunfounder library up to snuff with what Balboa's library can do copying his library's authentication process step-by-step, with no luck so far. If someone can create a repo for Sunfounder's rfid and add code to authenticate and access data blocks, I think we'll be in business!
Sunfounder RFID.h library with softSPI.h dependency included: https://www.sunfounder.com/learn/download/UkZJRF9raXRfVjEuMF9mb3JfQXJkdWluby56aXA=/dispa

@dgriggs Complete environment information is missing. Please update your issue according to the template https://github.com/miguelbalboa/rfid/blob/master/.github/ISSUE_TEMPLATE.md . Thanks.

OS version: Windows 10
Arduino IDE version: 1.8.5
MFRC522 Library version: 1.2.0
Arduino device: Mega2560
MFRC522 device: RFID-RC522 with S50 tags

Hello. I don't much know about accessing data blocks on tags for multiple readers but I can assure you that you can use miguelbalboa's library for connecting multiple readers without using a multiplexer, and they're all totally functional at the same time. I've just committed my code for four readers https://github.com/Annaane/MultiRfid , I hope it can help anyhow.

I own a Chinese clone of the chip/board and see that it doesn't work 100%
right. I'm going to explore further and share my results. Meanwhile see
here: https://github.com/ildar/libnfc/issues/1

I don't think the problem is in the readers. I bought mine in a small shop next to my house for like 5$. Just make sure that your pins are very well wired.

Hello, I also faces this problem and i found library similar to Sunfounders one. It has a dumping feature but there is no SPI thing so you can not initialize many readers, however, i think that you can rewrite it to support softspi.h . It is by following link:
https://www.bitsandparts.eu/documentation/77/Programmeer_voorbeeld.ino

Now i'm trying to rewrite it, i added "read", "dumpHex", "auth" functions, but it cannot authenticate. Please reply this message, maybe together we will make that.

I am using a modified MFRC522 with multiple readers support (currently only 2, can be changed in MFRC522.h #define MFRC522_MAXREADERS): http://heli.xbot.es/wp-content/uploads/2018/06/rfid-1.4.1_heli.zip
Only add a new SS pin for each reader.
Compatible with old code and simple use: new functions PCD_AddReader(int Pin) and PCD_SelectReader(int Reader)
Example in \examples\DumpInfoTwoReaders

@helitp. Couldn't get it to work. I have input the MFRC522 library using the link above. Usng Microbit + Microbit Driver Expansion Board. Both RFID Readers sharing the SCK (13), MISO (14), MOSI (15) and RST(8) PINs. Using pins 12 and 2 for SS. Please help.
When I execute I get the following:
21:59:51.862 -> Reader 0: Firmware Version: 0x0 = (unknown)
21:59:51.862 -> WARNIN⸮Reader 0: Firmware Version: 0x0 = (unknown)
21:59:52.974 -> WARNING: Communication failure, is the MFRC522 properly connected?
21:59:53.076 -> Reader 1: Firmware Version: 0xFF = (unknown)
21:59:53.144 -> WARNING: Communication failure, is the MFRC522 properly connected?
Sketch Code:
#include <SPI.h>
#include <MFRC522.h>
constexpr uint8_t RST_PIN = 8;     // Configurable, see typical pin layout above
constexpr uint8_t SS_1_PIN = 12;   // Configurable, take a unused pin, only HIGH/LOW required, must be diffrent to SS 2
constexpr uint8_t SS_2_PIN = 2;    // Configurable, take a unused pin, only HIGH/LOW required, must be diffrent to SS 1
constexpr uint8_t NR_OF_READERS = 2;
byte ssPins[] = {SS_1_PIN, SS_2_PIN};
MFRC522 mfrc522[NR_OF_READERS];   // Create MFRC522 instance.
/**

Initialize.
*/
void setup() {

Serial.begin(9600); // Initialize serial communications with the PC
while (!Serial);    // Do nothing if no serial port is opened (added for Arduinos based on ATMEGA32U4)
SPI.begin();        // Init SPI bus
for (uint8_t reader = 0; reader < NR_OF_READERS; reader++) {
mfrc522[reader].PCD_Init(ssPins[reader], RST_PIN); // Init each MFRC522 card
Serial.print(F("Reader "));
Serial.print(reader);
Serial.print(F(": "));
mfrc522[reader].PCD_DumpVersionToSerial();
}
}
/**

Main loop.
*/
void loop() {

for (uint8_t reader = 0; reader < NR_OF_READERS; reader++) {
// Look for new cards
if (mfrc522[reader].PICC_IsNewCardPresent() && mfrc522[reader].PICC_ReadCardSerial()) {
  Serial.print(F("Reader "));
  Serial.print(reader);
  // Show some details of the PICC (that is: the tag/card)
  Serial.print(F(": Card UID:"));
  dump_byte_array(mfrc522[reader].uid.uidByte, mfrc522[reader].uid.size);
  Serial.println();
  Serial.print(F("PICC type: "));
  MFRC522::PICC_Type piccType = mfrc522[reader].PICC_GetType(mfrc522[reader].uid.sak);
  Serial.println(mfrc522[reader].PICC_GetTypeName(piccType));

  // Halt PICC
  mfrc522[reader].PICC_HaltA();
  // Stop encryption on PCD
  mfrc522[reader].PCD_StopCrypto1();
} //if (mfrc522[reader].PICC_IsNewC

} //for(uint8_t reader
}
/**

Helper routine to dump a byte array as hex values to Serial.
*/
void dump_byte_array(byte *buffer, byte bufferSize) {
for (byte i = 0; i < bufferSize; i++) {
Serial.print(buffer[i] < 0x10 ? " 0" : " ");
Serial.print(buffer[i], HEX);
}
}

after around million of trying and trying I discovered that the correct way to connect 4 RFID RC522 is to put them in the same line on test board except SS pins and the code as usual is ReadUidMultiReader from RFID library ... like this :

Thank you so much  !!!


Motor only for web?

Hey,I've been looking into motor's source code and it's lovely but I have one question. Is motor going to be used just for web or desktop too? Because right now the sound and graphics api does not work on linux at least.
Also why are you using SDL's opengl implementation and glsl? You can use #include GL/glew.h and put -s FULL_ES2=1 and it will work just fine on web.

Hi,
in theory it should work on the desktop, too. Sometimes I break stuff,
because I only test the web version regularly. On my Debian and Arch
machines both, audio and graphics work fine. What Linux distro are you
using?
I had quite a few problems when switching to SDL2, after that I only had
access to legacy GL functionality. That's why I switched to GLEW.
Cheers,
rnlf
On 09/06/2015 12:39 PM, Muresan Vlad aka Mury wrote:

Hey,I've been looking into motor's source code and it's lovely but I
have one question. Is motor going to be used just for web or desktop
too? Because right now the sound and graphics api does not work on
linux at least.
Also why are you using SDL's opengl implementation and glsl? You can
use #include and put -s FULL_ES2=1 and it will work just fine on web.
—
Reply to this email directly or view it on GitHub
https://github.com/rnlf/motor/issues/7.

I'm using Arch Linux too. Right now the only thing I'm able to do is to change the background color. Drawing textures,fonts or playing sounds does not work at all. Also why is your build script made in python? :) Wouldn't it be easy to make a make file or cmake ?

From what I see here: https://github.com/rnlf/motor/blob/master/src/graphics/graphics.c#L65-L66 your using gl 3.2? I think it would be a better idea to use 2.0 so that anyone can have access to use motor2d.

Murii:

What really bothers me is that motor does not work on desktop...I tried to fix this issue but I'm not exactly sure what it's wrong(I guess it's related to opengl,I'll have a closer look today).
Edit 1: glew returns 0 in console -_-*
Edit 2: if printf("%d\n", glewInit()); is moved below SDL_INIT_VIDEO or after, then the printf function will return 1 but motor crashes before the window is created.

Murii, I cannot reproduce that problem. For me glew and SDL initialization work just fine. What do you mean with "glew returns 0 in console"? If glewInit returns 1, that actually means that an error occured, 0 indicates success.
I just used OpenGL 3.2 as a default goto version for today. Since the desktop version is intended just for debugging, I don't really care about the GL version used. Is there any desktop hardware available today that doesn't support GL 3.2?

"Is there any desktop hardware available today that doesn't support GL 3.2?" - probably not? Anyway if you say the correct value for glewInit should be 0( I thought 0 means false :) ) then can you tell me why the module love.graphics does not work? I tried printing a text using : love.graphics.print("Hey",200,200,100);

There may be a problem with loading the default font. Could you try just clearing the window with a different background color, something along the lines
love.graphics.setBackgroundColor(255,0,0)
love.graphics.clear()

Could you link your full test program?

function love.load()
end
function love.update(dt)
print(dt)
end
function love.draw()
love.graphics.print("Yesasgasg",100,100,100)
love.graphics.setBackgroundColor(255,0,0)
love.graphics.clear()
end

Okay, so basic OpenGL is working, which is a good start. Could you next try to draw a colored rectangle:
function love.draw()
love.graphics.setColor(255,255,0)
love.graphics.rectangle('fill', 10, 10, 200, 200)
end

If that works, then it's probably really a problem with the font loading, I will look into it, if you can confirm it.

It does not work.

One way to fix this problem is by adding glewExperimental = true and specify the version of the shaders


Avoid some cycle detector overhead when an actor constructor result i…

…s discarded.

This is exploratory work from @jemc and I. It can be ignored for now as it is hitting srgfault issues that will eventually be addressed.

This allows it to be garbage collected based on the changed in #3647 as soon as the instance's
message queue is empty.

This is true provided that it hasn't sent out a reference to itself in a message as part of its constructor, right?
That is, if an actor starts out as an orphan, but then gets "adopted" by sending a reference of itself to another actor which stores it, then I'd expect the actor to not be garbage collected, right?
I believe this was what we talked about, but it wasn't necessarily clear in your description, and I didn't see an example code snippet that tested that pattern.

This allows it to be garbage collected based on the changed in #3647 as soon as the instance's
message queue is empty.

This is true provided that it hasn't sent out a reference to itself in a message as part of its constructor, right?

Yes, given that its queue is empty and it's rc is still 0.

Hi @SeanTAllen,
The changelog - added label was added to this pull request; all PRs with a changelog label need to have release notes included as part of the PR. If you haven't added release notes already, please do.
Release notes are added by creating a uniquely named file in the .release-notes directory. We suggest you call the file 3653.md to match the number of this pull request.
The basic format of the release notes (using markdown) should be:
## Title

End user description of changes, why it's important,
problems it solves etc.

If a breaking change, make sure to include 1 or more
examples what code would look like prior to this change
and how to update it to work after this change.

Thanks.


ProRender not installing on Unreal Engine 4.23

Edit: I put the wrong version in the Issue Title. It isn't working on 4.24, not 4.23 (Sorry about that)
I tried to install the official plug-in, but the engine doesn't installs it. It tells me to compile the project from the source. When I open Visual Studio (2019 16.5.4 Community Edition with the proper toolset for Unreal Engine and Cpp development), the build output throws the following line:
2>UnrealBuildTool: error : Could not find definition for module 'RPRPPluginVersion', (referenced via DummyProject.uproject -> RPRPlugin.uplugin)
The project is a scratch one created just for this. It compiles successfully prior to the addition of the plug-in.

Hi @OnlyOnePro . Thank you for reporting issue.
Please, can you try latest build for UE 4.24: https://drive.google.com/open?id=1gbXM4ciNQ2CB5apB7AX3vsat2u5FZB5o
Steps to install:
Download latest build (link above)
Open directory with your UE4.24 project (for example: c:/assets/hello_world)
Put zip archive content into c:/assets/hello_world
Directory structure example: https://imgur.com/a/9O1vt9I
Thank you

It works! Thanks! I tried later with the old plug-in copying it to that same destination and with the same folder structure, but it wasn't working.
What you guys did fixed it. Thanks a lot!

Thanks.  We're merging fixes now.  You can also build from source at https://github.com/GPUOpen-LibrariesAndSDKs/RadeonProRenderUE/tree/develop to get the latest and greatest if you have the ability to compile things.

Native build for UE 4.23 can be found here: https://200volts.com/cloud/index.php/s/K7ack2taA6ropJX


Implement /v1/storages/{storage_id}/sync for pool

Implement and support /v1/storages/{storage_id}/sync for storage pool

/move sim


non-latin languges song's title like khmer, Thai, Lao,...

Firstly i would like to say you project is great!
I don't know your database has song's lyric in these languages or not, but i didn't find song in such languages. Please add support it if possible

There are non-latin titles such as Japanese songs, but it is very inconsistent. Takako Mamiya's LOVE TRIP album, for example, has some songs listed with the latin name, some with the Japanese name. And some of the lyrics are romanized while some are in the Japanese script. :/


Ensure existing user activity events link to the correct projects

Once this is active I'll fix the migrated data to link back to the correct projects.

LGTM


[Purview Policy Store Self-service] API Review

Scheduled for Jan 11, 8AM PT.

Notes from API review on 1/19/2022

Self-service policies are temporary policies - they expire after some time: 1 day to 180 days

Long-lived access is done with data policies

Flavors of policies

data policies -- still a WIP
devops policies - performance info in sql

metadata polices are a subset of devops policies

self-service policy

data policies will be migrated to M365 ABAC

Maybe "resourceAzurePath" -> "resourcePath" ?

but devops already uses "resourceAzurePath"

Make the "principal" an array rather than a single value. And "principalGroups". This will be consistent with DevOps.

Remove "System.string" from policyId subscription

Used Swashbuckle to generate the REST API definition. Please consider migrating to Cadl no later than GA for the service.

"SelfServicePolicyDecisionRule" - is this the right name? The "decision" is not automated -- it is manual.

Confusion about what a "DecisionRule" is. What "decision" is this "rule" applying to?

DevOpsPolicies has already GAed and uses "DecisionRule", so this concept should be familiar.

The Purview team will assess customer understanding of the terminology during the public preview period.

Specifically looking at this across the whole family of Purview sub-services.


🌱 Use golang image as base for unit test containers

What this PR does / why we need it:
Use docker.io/golang:1.17  container image for unit.sh script.
We don't necessarily need to create & use quay.io/metal3-io/capm3-unit
image, because the only thing this image has is kustomize and
kubebuilder installed via below RUN, which is redundant as those
binaries will be installed during unit Makefile target ( as part of
setup_envs). At the end, we currently install kubebuilder and
kustomize twice.
 RUN ./install_kustomize.sh && \
    ./install_kubebuilder.sh

There will be a follow PR to this, which will remove the
Dockerfile, and update the project-infra respectively to migrate
fully to golang images.

/test-v1b1-integration


Example scenarios for SAP

:warning: Validation status: warnings

File
Status
Preview URL
Details

docs/example-scenario/apps/sap-production.md
:warning:Warning
View
Details

docs/example-scenario/apps/media/architecture-diagram-sap-production.png
:white_check_mark:Succeeded
View

docs/example-scenario/apps/sap-dev-test.md
:white_check_mark:Succeeded
View

docs/example-scenario/apps/sap-production.md

[Warning] Author AndrewDibbins, DharmeshBhagat cannot be recognized in GitHub.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:warning: Validation status: warnings

File
Status
Preview URL
Details

docs/example-scenario/apps/sap-production.md
:warning:Warning
View
Details

docs/example-scenario/apps/media/architecture-diagram-sap-production.png
:white_check_mark:Succeeded
View

docs/example-scenario/apps/sap-dev-test.md
:white_check_mark:Succeeded
View

docs/example-scenario/apps/sap-production.md

[Warning] Author AndrewDibbins, DharmeshBhagat cannot be recognized in GitHub.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/example-scenario/apps/media/architecture-diagram-sap-production.png
:white_check_mark:Succeeded
View

docs/example-scenario/apps/sap-dev-test.md
:white_check_mark:Succeeded
View

docs/example-scenario/apps/sap-production.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/example-scenario/apps/media/architecture-diagram-sap-production.png
:white_check_mark:Succeeded
View

docs/example-scenario/apps/sap-dev-test.md
:white_check_mark:Succeeded
View

docs/example-scenario/apps/sap-production.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/example-scenario/apps/media/architecture-diagram-sap-production.png
:white_check_mark:Succeeded
View

docs/example-scenario/apps/sap-dev-test.md
:white_check_mark:Succeeded
View

docs/example-scenario/apps/sap-production.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


apply vscode powershell formatting

Goes to show the level of inconsistency :smile:
fixes #207

Does the editorconfig VS Code extension provide something that the PowerShell extension doesn't when it comes to formatting? I think I prefer the Format Document function over the installation of another extension. It is language aware and visually appealing.
I'm not going to accept a PR that requires me to test every file. I didn't invest enough time in automated tests to make sure this whitespace changes won't break anything. I simply don't have the time to do it by hand.
The commit changing the if elseif elseif..... to a switch would be accepted as a PR.

@ngetchell .editorconfig is used to tell the user and their editor what is expected.
#198 added tabs for instance in a new file, which furthers the inconsistency.
Of course, if the user uses an editor without support for .editorconfig it is no good, but then we have CI to check.

In the process of adding PSScriptAnalyze with some extra rules to have Appveyor run those :)
Current count is 2225 (Reverted format commit due to merges :wink:)

This should fail on appveyor due to linting and the next commit should hopefully fix most of it and then the next commit will fix the rest :smile:

@ngetchell what do you think about alignPropertyValuePairs rule? The current standard looked like no alignment so that's what I went with.
Which meant I had to commit .vscode/settings.json for that since it is the default.

I like that change!

I will update the files as I go with the VS Code formatter but I am not interested in a PR this large to make sweeping changes to the module.


Setup failed on Windows 10

What version of WebTorrent Desktop? (See the 'About WebTorrent' menu)
WebTorrentSetup-v0.3.3.exe
What operating system and version?
Windows 10
What did you do?
Downloaded the Windows setup from https://webtorrent.io/desktop and ran it.
What did you expect to happen?
Setup should install WebTorrent Desktop successfully.
What actually happened?
Setup failed with the following error log:
2016-04-11 10:21:41> Program: Starting Squirrel Updater: --install .
2016-04-11 10:21:41> Program: Starting install, writing to C:\Users\jan\AppData\Local\SquirrelTemp
2016-04-11 10:21:41> Program: About to install to: C:\Users\jan\AppData\Local\WebTorrent
2016-04-11 10:21:41> CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\jan\AppData\Local\WebTorrent\packages\RELEASES'.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
   at Squirrel.Utility.LoadLocalReleases(String localReleaseFile)
   at Squirrel.UpdateManager.CheckForUpdateImpl.<CheckForUpdate>d__3f.MoveNext()
2016-04-11 10:21:41> CheckForUpdateImpl: Reading RELEASES file from C:\Users\jan\AppData\Local\SquirrelTemp
2016-04-11 10:21:41> CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch
2016-04-11 10:21:41> ApplyReleasesImpl: Writing files to app directory: C:\Users\jan\AppData\Local\WebTorrent\app-0.3.3
2016-04-11 10:21:43> IEnableLogger: Failed to install package to app dir: System.AggregateException: One or more errors occurred. ---> System.IO.IOException: Access to the path 'resources' is denied.
   at System.IO.DirectoryInfo.MoveTo(String destDirName)
   at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassb4.<>c__DisplayClassb9.<>c__DisplayClassbb.<installPackageToAppDir>b__b2(DirectoryInfo subdir)
   at Squirrel.Utility.<>c__DisplayClass18`1.<>c__DisplayClass1a.<ForEachAsync>b__17()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<>c__DisplayClass1e`1.<>c__DisplayClass20.<<ForEachAsync>b__1d>d__22.MoveNext()
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassb4.<>c__DisplayClassb9.<installPackageToAppDir>b__b1(DirectoryInfo ld)
   at Squirrel.EnumerableExtensions.ForEach[TSource](IEnumerable`1 source, Action`1 onNext)
   at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassb4.<<installPackageToAppDir>b__ad>d__bd.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<LogIfThrows>d__50`1.MoveNext()
---> (Inner Exception #0) System.IO.IOException: Access to the path 'resources' is denied.
   at System.IO.DirectoryInfo.MoveTo(String destDirName)
   at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassb4.<>c__DisplayClassb9.<>c__DisplayClassbb.<installPackageToAppDir>b__b2(DirectoryInfo subdir)
   at Squirrel.Utility.<>c__DisplayClass18`1.<>c__DisplayClass1a.<ForEachAsync>b__17()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<>c__DisplayClass1e`1.<>c__DisplayClass20.<<ForEachAsync>b__1d>d__22.MoveNext()<---

2016-04-11 10:21:43> Unhandled exception: System.AggregateException: One or more errors occurred. ---> System.AggregateException: One or more errors occurred. ---> System.IO.IOException: Access to the path 'resources' is denied.
   at System.IO.DirectoryInfo.MoveTo(String destDirName)
   at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassb4.<>c__DisplayClassb9.<>c__DisplayClassbb.<installPackageToAppDir>b__b2(DirectoryInfo subdir)
   at Squirrel.Utility.<>c__DisplayClass18`1.<>c__DisplayClass1a.<ForEachAsync>b__17()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<>c__DisplayClass1e`1.<>c__DisplayClass20.<<ForEachAsync>b__1d>d__22.MoveNext()
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassb4.<>c__DisplayClassb9.<installPackageToAppDir>b__b1(DirectoryInfo ld)
   at Squirrel.EnumerableExtensions.ForEach[TSource](IEnumerable`1 source, Action`1 onNext)
   at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassb4.<<installPackageToAppDir>b__ad>d__bd.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<LogIfThrows>d__50`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
   at Squirrel.UpdateManager.ApplyReleasesImpl.<ApplyReleases>d__7a.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.UpdateManager.<FullInstall>d__f.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
   at Squirrel.Update.Program.<Install>d__38.MoveNext()
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at System.Threading.Tasks.Task.Wait()
   at Squirrel.Update.Program.executeCommandLine(String[] args)
   at Squirrel.Update.Program.main(String[] args)
---> (Inner Exception #0) System.AggregateException: One or more errors occurred. ---> System.IO.IOException: Access to the path 'resources' is denied.
   at System.IO.DirectoryInfo.MoveTo(String destDirName)
   at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassb4.<>c__DisplayClassb9.<>c__DisplayClassbb.<installPackageToAppDir>b__b2(DirectoryInfo subdir)
   at Squirrel.Utility.<>c__DisplayClass18`1.<>c__DisplayClass1a.<ForEachAsync>b__17()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<>c__DisplayClass1e`1.<>c__DisplayClass20.<<ForEachAsync>b__1d>d__22.MoveNext()
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassb4.<>c__DisplayClassb9.<installPackageToAppDir>b__b1(DirectoryInfo ld)
   at Squirrel.EnumerableExtensions.ForEach[TSource](IEnumerable`1 source, Action`1 onNext)
   at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassb4.<<installPackageToAppDir>b__ad>d__bd.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<LogIfThrows>d__50`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
   at Squirrel.UpdateManager.ApplyReleasesImpl.<ApplyReleases>d__7a.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.UpdateManager.<FullInstall>d__f.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
   at Squirrel.Update.Program.<Install>d__38.MoveNext()
---> (Inner Exception #0) System.IO.IOException: Access to the path 'resources' is denied.
   at System.IO.DirectoryInfo.MoveTo(String destDirName)
   at Squirrel.UpdateManager.ApplyReleasesImpl.<>c__DisplayClassb4.<>c__DisplayClassb9.<>c__DisplayClassbb.<installPackageToAppDir>b__b2(DirectoryInfo subdir)
   at Squirrel.Utility.<>c__DisplayClass18`1.<>c__DisplayClass1a.<ForEachAsync>b__17()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Squirrel.Utility.<>c__DisplayClass1e`1.<>c__DisplayClass20.<<ForEachAsync>b__1d>d__22.MoveNext()<---
<---

Also fails when running with Administrator privileges.

Access to the path 'resources' is denied

Hmm. @jankeromnes do you get the same error when running as Administrator, or a different error? Thanks for posting the logs!
Also: it says it can't find this path: C:\Users\jan\AppData\Local\WebTorrent\packages\RELEASES
What's in your ``C:\Users\jan\AppData\Local\WebTorrent` folder?

do you get the same error when running as Administrator, or a different error?

The same error, surprisingly.

What's in your C:\Users\jan\AppData\Local\WebTorrent folder?

app-0.3.3/
    lib/
    locales/
packages/
    WebTorrent-0.3.3-full.nupkg
Update.exe

So no RELEASES file under packages/.

We updated the version of Squirrel.Windows that we use in WebTorrent v0.4 and there were a lot of bugfixes in the new version, so this issue has a pretty good chance of being fixed. Since there's not an easy way for us to reproduce it, I'm going to close this.
If anyone runs into this issue again, please open a new issue.


JUnit regression test

@bertschneider You can try out the example in VSC and IntelliJ. I will flesh out the example documentation some more when the actual fuzzing engine has been implemented.

@bertschneider I can't get my jazzer.instrument configuration parameter to be picked up. This worked before at some point, but doesn't anymore. If you have any idea why or get it working in some IDE, let me know.

I pushed one more commit to ensure that regression tests report the same findings as Jazzer, but didn't touch any of the other commits.

@bertschneider Thanks for the review! I pushed the commits that should address your comments as new fix-up commits. I will look into supporting multiple @FuzzTest annotations.

@bertschneider I can't get my jazzer.instrument configuration parameter to be picked up. This worked before at some point, but doesn't anymore. If you have any idea why or get it working in some IDE, let me know.

This was just me being stupid: The junit-platform.properties file has to be in the classpath root, not the project root.

This was just me being stupid: The junit-platform.properties file has to be in the classpath root, not the project root.

Ah, yes :+1:


"The panorama can't be loaded" when embedded inside app browser

Hi,
Everything is working fine in iOS Safari but when I embed the page inside Capacitor, I get the following error:
"The panorama can't be loaded"
Do you have any idea what would the reason or error that's causing this issue? Is it something to do with Three JS or the canvas element? I have a Three JS app inside Capacitor and didn't have any problems.

I'm not familiar with Capacitor, sorry. Any console errors?

This is the console error I see

Do you have a stack trace? That function never gets called on my end

This is what I see when I expand the error. Do you have any idea why the t.image is undefined?

You can see here that showError is called first. As best I can tell, this is only called if setPanorama fails to load the panorama faces, so you should take a look at those network calls next.

Thanks that solved the problem!


added new tmcsettings in tests to hopefully fix some tests

Coverage decreased (-2.3%) to 74.754% when pulling 145ba62ad25b15368e930c984646901d2302e953 on jclc into 10f13550968ef2f6b20a922fd7cf45b6bb4bc787 on master.

LGTM


Question: Which variable contains the output rate?

As I'm working with your module, I definitely need a fallback response, so to make that fallback I need to get the rate of the test and then decide if it's high enough to go with the network classification or just set a fallback class.
Because even if you pass the network a completely unrelated string, it will try to classify anyway and give it a tag instead of giving up or setting a default tag.

I assumed that the value I'm looking for is the max value, I'm gonna test it and implement it in my branch, if it works as expected I'd be glad to make a pull request.

Still, it can be tricky for you  because the classify method will be outputting an object instead of a simple string

#7  I created a pull request to solve this so I close the issue


Fab buttons display huge buttons on second dsiplay

I have gone through these following points

[x]   Check latest documentation: https://docs.nativebase.io/
[x]   Check for existing open/closed issues for a possible duplicate before creating a new issue: https://github.com/GeekyAnts/NativeBase/issues
[x]   Use the latest NativeBase release: https://github.com/GeekyAnts/NativeBase/releases
[x]   Check examples from NativeBase KitchenSink https://github.com/GeekyAnts/NativeBase-KitchenSink
[]   For discussion purpose make use of NativeBase Slack: http://slack.nativebase.io/
[]   For queries related to theme, check Theme Variables from Docs and live NativeBase Theme Editor http://nativebase.io/customizer/

Issue Description

node, npm, react-native, react and native-base version, expo version if used, xcode version
Expected behaviour
Fabs display as they would on first time enter of the screen
Actual behaviour
The buttons under fab are displayed in a very large state
Steps to reproduce
Start on the screen with the fabs on it. Make sure you have another screen in the same navigator. Once the screen with the fabs is loaded, go to the other screen in the navigator. Then go back to the screen with the fabs.
The first time you go to the screen with the fabs, they work perfectly. When coming back to that screen you find that they are displayed incorrectly.

CODE for the screen with the fabs
render() {
return (

 Main content goes here

<Fab
active={this.state.activeLeft}
direction="up"
containerStyle={{}}
style={{ backgroundColor: '#5067FF' }}
position="bottomLeft"
onPress={() => this.setState({ activeLeft: !this.state.activeLeft, activeRight: false })}>

<Button style={{ backgroundColor: 'red' }} onPress={this.shareEvent.bind(this)}>
<Icon type="MaterialCommunityIcons" style={{ color: this.props.theme.white }} name="message-text" />

<Button style={{ backgroundColor: '#34A34F' }}>

<Button style={{ backgroundColor: '#3B5998' }}>

<Button style={{ backgroundColor: '#00acee' }}>

<Button disabled style={{ backgroundColor: '#DD5144' }}>

<Fab
active={this.state.activeRight}
direction="up"
containerStyle={{}}
style={{ backgroundColor: '#5067FF' }}
position="bottomRight"
onPress={() => this.setState({ activeRight: !this.state.activeRight, activeLeft: false })}>

<Icon type="MaterialCommunityIcons" style={{ color: this.props.theme.white }} name="calendar" />

<Button style={{ backgroundColor: 'black' }} onPress={this.goToTransportation.bind(this, 'EventAddUber')}>
<Icon type="MaterialCommunityIcons" style={{ fontSize: 30, color: 'white' }} name="uber" />

<Button style={{ backgroundColor: "#ff00bf" }} onPress={this.goToTransportation.bind(this, 'EventAddLyft')}>
<SpontaneousIcon style={{ fontSize: 20, color: 'white' }} name="lyft" />

<Button style={{ backgroundColor: this.props.theme.primary_color }} onPress={this.goToConcierge.bind(this)}>
<SpontaneousIcon style={{ fontSize: 20, color: this.props.theme.white }} name="concierge-bell" />

)
}
}
const styles = StyleSheet.create({
container: {
flex: 1,
paddingTop: Platform.OS === 'ios' ? 25 : 0
}
});
Is the bug present in both iOS and Android or in any one of them?
Just Android
Any other additional info which would help us debug the issue quicker.
Create two screens in one navigator. Start on the screen with the fab in it. Go back to the other screen. Have a button in that screen that takes you back to the fab screen.

I tried this on iOS and Android both. Worked fine
Sharing GIF for iOS (cannot take GIF of Android device), works similarly on Android


updated eks amis

related to: https://github.com/rancher/rancher/issues/28317

This is no longer needed or relevant for 2.5, so closing this PR


fix: allow multiple ipv4 cidr blocks

Description
This will allow the caller to specify multiple ipv4 CIDR blocks that Fullstory may connect from.
Checklist before submitting PR for review

[x] This change requires a doc update, and I've included it
[x] My code follows the style guidelines of this project
[x] I have ensured my code is commented and any new terraform variables have proper descriptions

:tada: This PR is included in version 0.1.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Should ui stepper allows typing ?

say if I click the middle number instead of + , -
can I create a pop up to let user input desired value ?

Hey @burkaslarry
Right now this functionality doesn't exist, I will add it some point this evening or tomorrow and get it released for you.

DO you need any assistance for that so far ?

I definitely welcome contributions @burkaslarry, just let me know if you would like to contribute towards a fix so we don't duplicate the work.
If not, and you're not obliged to, I'll get this feature added.


Request: Ships using Valkyrium as a fuel. (option in config)

An option in the config that let you use valkyrium as a fuel. It should be inserted into the controller and consumed when mooving and changing height. I know many people would like it but many other people would not, this is why it should be an option in the config.
Ps.
I think i would also be cool to have some lights that go on with the theme of the mod. (if the option in the config is active also they would consume valkyrium)

Pls add before release 1.0


mod_deflate : add support for precompressed files

Add support for precompressed gzip and brotli files in mod_deflate.
This allows for very aggressive "off-line" compression of static files (e.g., using zopfli) and saves CPU cycles. This also allows serving gzip/brotli-compressed content without even compiling support for zlib/brotli in lighttpd.

Your code comment includes:
 *   This happens even if gzip/brotli support is not compiled in, or if these
 *   encodings are not listed in deflate.allowed_encodings or the MIME type is
 *   not in deflate.mimetypes, and without consideration for system load.

Sounds like you do not want to use most of lighttpd mod_deflate.  lighttpd mod_deflate has an option for caching the compressed files for reuse, and reusing a cache entry includes matching the ETag of the original file, so that when the file is changed, an older (and now invalid) "precompressed" file from the cache is not used.  Your code does not appear to contain such precautions.
Similar to #129, your desired customizations would be better in a custom lua script run by lighttpd mod_magnet
An advanced example of content negotiation can be found in content-negotiation.lua .  (Note: content-negotiation.lua was written before the newer lighttpd mod_magnet API in lighttpd 1.4.60 was introduced, so it should probably be updated to use the new API, but should still work with the older API.)


RESET should not clear the ITEXT and MIX soft-switches.

Currently all soft-switches of the IOU are cleared when RESET_N goes LOW.
The correct behaviour is that RESET_N LOW should not change the ITEXT and MIX soft-switches

Fixed by https://github.com/frozen-signal/Apple_IIe_MMU_IOU/pull/23


Enable distributable versions of the app to be built

Closes #27
The app, tests, and distributable version all seem to be good on my windows machine.
The build tool it uses is cross platform, so @matthew-d-jones would you be able to check if the build distributable command (python setup.py build_exe) works on your linux box?

:+1: Working well on Linux too. See if excluding unused parts of Qt from the package is possible.

I think it is worth also getting rid of these:
"lib/PySide2/Qt/resources",
"lib/PySide2/Qt/translations"

You can import shutil to remove (non-empty) directories with shutil.rmtree(full_path).

In total, this should now have removed about

180MB from 486MB on windows (37%)
249MB from 660MB on linux (38%)

from the frozen output directories


Hello, i am using angular 5 .net core 2.0 template for my project. After publishing this project i am getting error as  Error : CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory. Please help

🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑
my package.json file is
{
"name": "ITNepalCRM",
"version": "0.0.0",
"license": "MIT",
"scripts": {
"ng-high-memory": "node --max_old_space_size=8000 ./node_modules/@angular/cli/bin/ng",
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e",
"postinstall": "webpack --config webpack.config.vendor.js"
},
"private": true,
"dependencies": {
"@angular/animations": "^5.0.0",
"@angular/cdk": "^5.2.5",
"@angular/common": "^5.0.0",
"@angular/compiler": "^5.0.0",
"@angular/compiler-cli": "^5.0.0",
"@angular/core": "^5.0.0",
"@angular/forms": "^5.0.0",
"@angular/http": "^5.0.0",
"@angular/language-service": "^5.0.0",
"@angular/platform-browser": "^5.0.0",
"@angular/platform-browser-dynamic": "^5.0.0",
"@angular/platform-server": "^5.0.0",
"@angular/router": "^5.0.0",
"@aspnet/signalr": "^1.0.4",
"@ng-bootstrap/ng-bootstrap": "^1.0.0",
"@ng-select/ng-select": "^1.5.2",
"@ngtools/webpack": "1.8.0",
"@progress/kendo-angular-buttons": "^4.0.0",
"@progress/kendo-angular-dateinputs": "^3.1.0",
"@progress/kendo-angular-dropdowns": "^2.1.0",
"@progress/kendo-angular-excel-export": "^1.0.7",
"@progress/kendo-angular-grid": "^3.1.0",
"@progress/kendo-angular-inputs": "^3.0.0",
"@progress/kendo-angular-intl": "^1.4.0",
"@progress/kendo-angular-l10n": "^1.3.0",
"@progress/kendo-data-query": "^1.3.0",
"@progress/kendo-drawing": "^1.5.3",
"@types/file-saver": "^2.0.0",
"@types/jasmine": "~2.5.53",
"@types/jasminewd2": "~2.0.2",
"@types/node": "~6.0.60",
"@types/webpack-env": "1.13.0",
"angular-nepali-datepicker": "^0.1.3",
"angular-tree-component": "^7.0.0",
"angular2-jwt": "^0.2.3",
"angular2-router-loader": "^0.3.5",
"angular2-template-loader": "0.6.2",
"angularx-social-login": "^1.2.2",
"aspnet-prerendering": "^3.0.1",
"aspnet-webpack": "^2.0.1",
"awesome-typescript-loader": "3.2.1",
"bootstrap": "3.3.7",
"codelyzer": "~3.2.0",
"css": "2.2.1",
"css-loader": "^0.28.4",
"es6-shim": "0.35.3",
"event-source-polyfill": "0.0.9",
"expose-loader": "0.7.3",
"extract-text-webpack-plugin": "2.1.2",
"file-loader": "0.11.2",
"file-saver": "^2.0.0",
"html-loader": "0.4.5",
"isomorphic-fetch": "2.2.1",
"jasmine-core": "~2.6.2",
"jasmine-spec-reporter": "~4.1.0",
"jquery": "3.2.1",
"json-loader": "0.5.4",
"jwt-decode": "^2.2.0",
"karma": "~1.7.0",
"karma-chrome-launcher": "~2.1.1",
"karma-cli": "~1.0.1",
"karma-coverage-istanbul-reporter": "^1.2.1",
"karma-jasmine": "~1.1.0",
"karma-jasmine-html-reporter": "^0.2.2",
"ng2-search-filter": "^0.4.7",
"ngx-bootstrap": "^2.0.3",
"ngx-ckeditor": "^0.3.2",
"ngx-contextmenu": "^4.2.0",
"ngx-drag-drop": "^1.1.0",
"ngx-highlight-js": "^1.0.3",
"ngx-pagination": "^3.2.0",
"ngx-perfect-scrollbar": "^7.2.0",
"ngx-slimscroll": "^3.6.1",
"ngx-toastr": "^8.10.2",
"ngx-treeview": "^6.0.0",
"npm": "^6.6.0",
"preboot": "4.5.2",
"protractor": "~5.1.2",
"raw-loader": "0.5.1",
"reflect-metadata": "0.1.10",
"rxjs": "^5.5.10",
"to-string-loader": "1.1.5",
"ts-node": "~3.2.0",
"tslint": "~5.7.0",
"url-loader": "0.5.9",
"webpack": "^2.7.0",
"webpack-hot-middleware": "2.18.2",
"webpack-merge": "4.1.0",
"zone.js": "0.8.12"
},
"devDependencies": {
"@angular/cli": "^1.5.0",
"@angular/compiler-cli": "^5.0.0",
"@angular/language-service": "^5.0.0",
"@types/chai": "4.0.1",
"@types/jasmine": "~2.5.53",
"@types/jasminewd2": "~2.0.2",
"@types/jquery": "^3.3.1",
"@types/jwt-decode": "^2.2.1",
"@types/lodash": "^4.14.110",
"@types/node": "~6.0.60",
"angular-file": "^0.5.4",
"chai": "4.0.2",
"codelyzer": "~3.2.0",
"cross-env": "^5.0.5",
"increase-memory-limit": "^1.0.3",
"jasmine-core": "~2.6.2",
"jasmine-spec-reporter": "~4.1.0",
"karma": "~1.7.0",
"karma-chai": "0.1.0",
"karma-chrome-launcher": "~2.1.1",
"karma-cli": "~1.0.1",
"karma-coverage-istanbul-reporter": "^1.2.1",
"karma-jasmine": "~1.1.0",
"karma-jasmine-html-reporter": "^0.2.2",
"karma-webpack": "2.0.3",
"protractor": "~5.1.2",
"style-loader": "^0.18.2",
"ts-node": "~3.2.0",
"tslint": "~5.7.0",
"typescript": "^2.9.2",
"webpack-cli": "^3.1.2"
}
}
Please do not file questions or support requests on the GitHub issues tracker.
You can get your questions answered using other communication channels. Please see:
https://github.com/angular/angular-cli/blob/master/CONTRIBUTING.md#question
Thank you!
🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑🛑

@alan-agius4 , if you have solution for this , please share .

Kindly try to update to the latest version of the CLI.
If the problem persists after updating kindly open an issue following the issue template. Issues which don’t follow the template will be closed.
Thanks.

@alan-agius4  i have just went to editProject.csproj and changed

 to

 to

this work for me.


ASP.NET Identity 3 without Roles and using only Claims

Hello,
Is it possible to use ASP.NET Identity 3 in a MVC project only with Claims table and without Roles table?
I am asking this because Role is itself a Claim of type Role so isn't it redundant to have a Roles table?
Thank You

spot on ;p
@blowdart @HaoK @rustd

In a ASP.net Identity on ASP.net MVC 5 is fully possible. In MVC 6 I guess, yes!

IMHO I see to options:
1 - Using only roles and having one roles table;
In this case there would be the RolesStore ...
2 - Using claims, including roles, and having only one claims table.
In this case there would be the ClaimsStore ... Role is a Claim of type Role.
If this results in unwanted complexity why not having only one Claims table and if configuration includes only Roles then Claims table would allow only claims of type Role ...
I just think that having Roles and Claims tables when a Role is a Claim does not make sense.
@alexsandro-xpt:
Do you know where can I find an example of how to set ASP.NET Identity only with Claims?
I was looking and didn't find it ... I just found info on how to add claims on top of roles.
Better documentation for ASP.NET Identity would be great ...
And it would even help people to give better feedback ...

Using Identity abstraction c# classes you can optimize change Identity behavior as you wish, se some links:
http://www.asp.net/identity/overview/extensibility/overview-of-custom-storage-providers-for-aspnet-identity
http://www.asp.net/identity/overview/extensibility/implementing-a-custom-mysql-aspnet-identity-storage-provider
http://typecastexception.com/post/2014/02/19/ASPNET-MVC-5-Identity-Implementing-Group-Based-Permissions-Management-Part-I.aspx
http://typecastexception.com/post/2014/02/13/ASPNET-MVC-5-Identity-Extending-and-Modifying-Roles.aspx
Remeber, It's is for Identity compatible with ASP.net MVC 5, I don't know API changes of this new Identity.

:+1:

Moving to RC2 so we can look into it soon.

Any change this to be available on RC2?

Is their any update on this issue?

We should revisit this and see if this is something we want to do in 1.2

Is there a chance you can add an overload the extension method AddIdentity so that you can write:
services.AddIdentity<AppUser>
    .AddEntityFrameworkStores<AppUserCtx>()
    .AddDefaultTokenProviders();

This of course, while you convince yourselves that it is better to roll with Claims only and eliminate the redundancy of Roles.

Yup we plan on doing this for 2.0, tracked via https://github.com/aspnet/Identity/issues/1269

Sure that Roles have no advantages over claims?
https://stackoverflow.com/questions/46910693/how-to-remove-the-role-related-tables-from-asp-net-identity-core-2-0/46910903


Possibilty to add prefix for objects

Is your feature request related to a problem? Please describe.
Feature request, which has the possibility to add a prefix for objects in a central place, so all objects which harvest collects use this. With that you can create a unique object fully Independent from other metrics in a database.
Describe the solution you'd like
Possibility to add a prefix in the conf file so that every object can use this, instead of creating custom files.
Additional context
We have one Prometheus instance which collects various of metrics like from the Harvest, Windows, Linux system etc. to make a metric unique as possible we created in the Harvest config dedicated custom files where we added the prefix netapp_ to the object.

Hi @rahulguptajss my bad, I should read the documentation. I will test it in the next few days and give you feedback

Hi @rahulguptajss we just deployed the harvest 24.11.1 version on our INT and used the global prefix setting. In general it works pretty well, but we see that for example shelf_psu_status does not have the defined prefix.

Hi @rahulguptajss strange. On our side the setting looks like that. We will remove the underscore from the prefix to test it again
`Exporters:
prometheus:                           #-> Choose Custom Name for Exporter
exporter: Prometheus                #-> Set Exporter to be used (Harvest already comes with Prometheus Exporter)
global_prefix: netapp_
Defaults:
collectors:                           #-> Definition of default collectors (can also be set per poller)
- Rest
- RestPerf
exporters:
- prometheus
`

hi @BrendonA667 the suffixed global_prefix (netapp_) should work fine too. We have code that handles that. The prefixing happens right before the metrics are rendered, which is why it's odd that you are seeing a metric that is missing the prefix while the others have it.
If you curl the Prometheus exporter directly do you see the non-prefixed version or are you seeing these only in Prometheus?
Below are examples of querying the exporter directly:
Exporters:
    prometheus1:
        exporter: Prometheus
        global_prefix: foople

I started a poller using the above exporter via Defaults like you did, let it run for 10 minutes, and then curled its promPort:
curl -s 'http://localhost:14001/metrics'
...

I confirmed that all metrics are foople prefixed with the following grep. This will only print metrics that aren't prefixed, and for me, this grep prints nothing:
curl -s 'http://localhost:14001/metrics' | sort | grep -Ev '^foople_'

curl -s 'http://localhost:14001/metrics' | sort | grep 'shelf_psu_status'
foople_shelf_psu_status{datacenter="dc-1",cluster="umeng-aff300-01-02",shelf="1.1",channel="",psu_id="1"} 1
foople_shelf_psu_status{datacenter="dc-1",cluster="umeng-aff300-01-02",shelf="1.1",channel="",psu_id="2"} 1

Can you share the output of running the same in your environment? Feel free to email the result if you would rather.

Thanks for the follow up @BrendonA667. Glad you got it sorted out


pkg/subsystem: extract and match against Linux subsystems

This is the first (and biggest) one of a series of PRs that should enable the full support of subsystem management on syzbot. It's big, but > 50% of the newly added lines are tests. When reviewing, please look at individual commits, it will be clearer.
It covers:

The extraction of a list of subsystems from a Linux repo.

The raw MAINTAINERS file is parsed and the raw subsystem are grouped per mailing list.
The code attempts to build a hierarchy of subsystems. Later we'll use it to minimize the list of Bug's subsystems by not keeping both a parent and a child subsystem in one list (that way we always show the most specific ones).
The code incorporates custom rules for subsystem extraction.

As we have begun reporting individual filesystems, we have to keep on doing this. Not all of them have mailing lists, so these rules had to be hard-coded.

The code wants access to a folder with the kernel sources. It turned out to be much easier to implement parents extraction this way.

But if we decide not to do this in the end, all that's strictly needed is the contents of the MAINTAINERS file.

The functionality needed to match a crash against the list of extracted subsystems.

The entity.Subsystem object encapsulates all the rules that determine whether a crash is related, so in the end there's no difference to the matching code what specific OS kernel is of concern.

How this code fits into a broader picture (as it's planned now). That's not yet implemented, but should hopefully require not that much code.

dashboard creates a periodic job for syz-ci to pull a repository, extract the subsystems and report them back to the dashboard.

After each such update, dashboard gradually re-evaluates the subsystems of open bugs -- the rules might have changed and we need to react to this.

The list of subsystems is stored in the  dashboard's database.

After a crash is reported, dashboard matches it against the currently stored rules and updates its current estimate of the affected subsystems.

The code for displaying the subsystems in emails and for reporting relevant crash details to the dashboard (e.g. guilty paths) is already in place.
For the reference, here's the list of subsystems extracted by the code from the latest Linux release candidate.

I see that some subsystems have no lists. If we attribute a bug to the most nested subsystem, we won't have a list at all? Perhaps we need to copy mailing lists from the parent if such case?

Are we going to use legacy package in future? Or we will remove it after the switch to the new code?

I see that some subsystems have no lists. If we attribute a bug to the most nested subsystem, we won't have a list at all? Perhaps we need to copy mailing lists from the parent if such case?

Yes, the plan is to merge the lists of the subsystem + all of its parents (and their parents, and so on). But lists in the Subsystem struct only relate to that specific subsystem.

Are we going to use legacy package in future? Or we will remove it after the switch to the new code?

It will be removed.

@dvyukov I've updated the PR

The user-facing interface was changed.
Subsystems are now saved as generated go source files.
I've generated and uploaded the upstream Linux subsystem list as of v6.2-rc5.

PTAL

@dvyukov  PTAL

@dvyukov As discussed offline, I've reworked the subsystem extraction code. PTAL.

@dvyukov PTAL

@dvyukov PTAL

@dvyukov PTAL


Closes #10080 - Hollow Button Group and no-gaps

Closes #10080
Changes

Adds Hollow Button Group
Adds a class no-gaps for no spacing between buttons within a button group ( for both hollow and simple buttons)
Update docs!

cc @kball .... as i think that for hollow buttons i did wrong coding (should be using some code from _button.scss which i am unclear about it)

See my comment: https://github.com/zurb/foundation-sites/issues/10080#issuecomment-304624376

As per the comment above, deferring this until 6.4.x


Replace deprecated NO_MORE_ORDS checks with docValueCount

Summary of the changes / Why this improves CrateDB
🧹
Checklist

[x] Added an entry in CHANGES.txt for user facing changes
[x] Updated documentation & sql_features table for user facing changes
[x] Touched code is covered by tests
[x] CLA is signed
[x] This does not contain breaking changes, or if it does:

It is released within a major release
It is recorded in CHANGES.txt
It was marked as deprecated in an earlier release if possible
You've thought about the consequences and other components are adapted
(E.g. AdminUI)

@mkleen I had missed some, please check the fixup


createCustomToken not working

Environment

Operating System version: Windows 8.1
Firebase SDK version: firebase-admin ^8.10.0, firebase-functions ^3.6.1
Firebase Product: auth
Node.js version: v14.10.1
NPM version: v6.14.8

The problem
I'm trying to create a custom token but the function throw this error:

View
Code: app/unable-to-parse-response
Message:

Error while parsing response data: "SyntaxError: Unexpected token < in JSON at position 0". Raw server response: "

Error 404 (Not Found)!!1

404. That’s an error.
The requested URL /v1/projects/-/serviceAccounts/%3Chtml%3E%3Chead%3E%3Cmeta%20HTTP-EQUIV=%22Pragma%22%20CONTENT=%22no-cache%22%3E%3Cscript%20language=%27javascript%27%3Eparent.location=%22/index.html was not found on this server.  That’s all we know.
 ". Status code: "404". Outgoing request: "POST https://iamcredentials.googleapis.com/v1/projects/-/serviceAccounts/:signBlob."

I tried to do some debbug into the source, and found out that the strange HTML in the URL is actually returned by the request here. Apparently the text are splited somewhere, but the full HTML was:
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">

I did not understood where that request in the IAMSigner.prototype.getAccountId are handled, so my debbug stoped here.
Steps to reproduce:
I had some crazy code going on at start, by I tried the code from #500 and the result was the same. I think that it's important to mention that I'm running in the emulator. I didn't have issues with it, but probably some things can go wrong in that.
Relevant Code:
functions.https.onRequest((req, res) => {
    return admin.auth()
        .createCustomToken('123456')
        .then(token => res.send(token))
});

The SDK cannot discover a valid service account ID when running locally. I don't know if the emulator is supposed to handle this scenario correctly. I'd advise you to file a separate bug for the emulator for that. To try this API locally you must specify a service account when initializing the SDK.


Make logging setting changeable similar to the bridge

In the bridge we have found a good way to be easy able to config the logging settings.
We should do the same for the relay server.

first draft: https://github.com/trustlines-protocol/relay/compare/feature/config-logging?expand=1

This is implemented in https://github.com/trustlines-protocol/relay/pull/339


One line lambdas in .kts files

I am trying in the 2021.1 the IDEA plugin with 0.20.
When I reformat the code in .kts files, I think some lambdas should be treated differently.
For example
plugins {
    id("some-id")
}

becomes
plugins { id("some-id") }

Should ktfmt have the same .kt behavior for .kts files? It is strange to see a lot of usual config blocks in a single line.

Interesting. Should this be applied to top-level only? or all lambdas in kts files?

I was doubting about that too. I think all code samples from Gradle will use lambdas in multiline, so initially I think all lambdas should do that (or at least all lambdas inside:

settings.gradle.kts
build.gradle.kts
something.gradle.kts
something.settings.gradle.kts

What do you think if a regex is used to do only in files which ends with gradle.kts?
They can be at the root of a project, but in src/main/kotlin too (precompiled plugins).

Definitely, I think this should be supported in some way.
I have disabled *kts support but I am using it with the IDEA plugin to think a lot about this and I think it is really strange to see the Kotlin code so compacted in Gradle configurations except for the usuals (chaining lambda methods like map).
The problem I see is how we can know if a lambda inside a Gradle file is for a Gradle configuration or it is, indeed, just a supplement method like I mentioned before.
Do you have something thought about this @cgrushko?

perhaps all top-level lambdas in kts files should be multiline?

Yeah, I think so too


Issue Description: Need to update SPCopy Destination for SharePoint library Items.

In My Organization in SharePoint 2010 Send to Copy functionality is used which creates link for manage copies. Now i want to know if we can copy these into links(Send to Copy) into SharePoint Online or create these links into SharePoint online using powershell

Sorry... unclear as to what you're asking. Can you rephrase it with a bit more context & detail? Thanks!


Explicit-Null-Body should contains Content-Length

Koa version 2.13.1
Running below codes:
const koa = require('koa');
const app = new koa();

app.use(ctx => {
  ctx.body = null;
  ctx.status = 404;
});

app.listen(3000, () => {} )

Both in chrome and curl test, it fails in 5s.
$> time curl http://localhost:3000/
curl http://localhost:3000/  0.01s user 0.01s system 0% cpu 5.013 total

I think the question is lost of Content-Length header:

A user agent SHOULD send a Content-Length in a request message when
no Transfer-Encoding is sent and the request method defines a meaning
for an enclosed payload body.

from RFC7230
I add one line codes ctx.length = 0; in application module, it pass all test cases and works for chrome and curl.
If it is really a bug, and the modification works, I will submit a PR.

Hey @nfer 👋 .
Are you working on this? Do you perhaps need some assistance?
If you're not actively working on this (and the bug is still present), I'd be willing to provide PR myself is that is ok with you?
Let me know if I can help somehow with this issue.
Cheers!

Any updates on the PR?

This was merged by Jonathan into master so I'm closing this.


In ^ls get rid of the backticks around the error messages

This is in the padinfo cog, in padinfo.py

Hey @RheingoldRiver can I work on this issue?

Yes, absolutely! Feel free to work on anything labeled "Good first issue" unless it's been claimed by someone else!


OpenContextMenu fails on macos

element (".monaco-menu-container") still not displayed after 5000ms
I tested the same code on my linux machine with the same node version and it works correctly
macos version 13.3 (22E252)
node version v19.9.0

It does open the context menu, i can see it visually, but it can't detect it

Thanks for reporting!
We greatly appreciate any contributions that help resolve the bug. While we understand that active contributors have their own priorities, we kindly request your assistance if you rely on this bug being fixed. We encourage you to take a look at our contribution guidelines or join our friendly Discord development server, where you can ask any questions you may have. Thank you for your support, and cheers!

old bug https://github.com/webdriverio-community/wdio-vscode-service/issues/57


Uses ChartJS for rendering and adds date selection

Hi @tomdyson
Thanks for this great plugin.
Apologies if this PR is not the direction you want to take wagalytics; it was just interesting & useful to my own project!
Changes
Broadly, there are 3 changes in this PR:

Use ChartJS for rendering the analytics data
Switch from tables to bar charts for popular pages & referrers (this is subjective but I find a quick glance at a bar chart more informative than a quick glance at a table and also this was quicker to do!)
Add ability to switch between last 7 and last 30 days for each charts' date range.

Points for discussion

I have used ES6 syntax, so this means it is only compatible with modern-ish browsers (the last few versions of all major browsers support it, but older ones, for example any IE browser will not). If this is a problem, it would need extra work to compile the assets when publishing to pypi.
I just used random colours from Wagtails' colour palette. Let me know any preferences....
I'd like to do some further changes - adding more views of data, control over max-results, but this might be best handled in a separate issue?

This is great, @JamesRamm - thanks a lot!
In response to your points:

Use ChartJS for rendering the analytics data

I'm happy with this.

Switch from tables to bar charts for popular pages & referrers (this is subjective but I find a quick glance at a bar chart more informative than a quick glance at a table and also this was quicker to do!)

This doesn't (currently) work well with long titles:

Add ability to switch between last 7 and last 30 days for each charts' date range.

Great!

I have used ES6 syntax, so this means it is only compatible with modern-ish browsers (the last few versions of all major browsers support it, but older ones, for example any IE browser will not). If this is a problem, it would need extra work to compile the assets when publishing to pypi.

I'd rather not rule out all IE browsers. Can you document the compilation steps?

I just used random colours from Wagtails' colour palette. Let me know any preferences....

These look fine to me.

I'd like to do some further changes - adding more views of data, control over max-results, but this might be best handled in a separate issue?

Yes, a separate issue would be great.

Hi
Long titles is an issue yes. It should be possible to format the labels (just cut them off basically, maybe with a '...', or cut them at the end of the host address) and keep the long version in the tool tip, which could be one solution. Its not clearly documented in ChartJS how to do this so might need a bit of wrangling.
For compiling; to the end user there would be no difference. To the developer, they would need to have nodejs&npm installed and run a command (e.g. npm run build) each time they changed the JS.
I would need to add a webpack config file, a package.json file and a custom Sdist class or similar in setup.py so that the assets are built when running setup.py

@tomdyson
I have updated the PR to include compilation from ES6 to ES5 to support older browsers.
To users, there is no difference in usage. To developers/git-cloners, they need to do the following steps:

make sure nodejs & npm are installed
cd to the repo
npm install and npm run build
They will need to run npm run build anytime the javascript is changed.
The JS source is moved to the client directory. The compiled JS is output in the static directory

Thanks @JamesRamm! Can you add your developer instructions to the README? I'd be happy to merge this with either

a fix for the long title problem, or
a reversion of the table->bar chart change (which could go in a future PR)

@tomdyson
I have reverted back to tables for now since it turned out to be pretty tricky/hacky to make chartJS handle the labels nicely. Tables also allow showing more results neatly (with pagination), so I upped to max-results back to the original 25.

README updated

@tomdyson
Hi; I think I have addressed your points for this now :)

Curious to what has delayed this PR, or just forgotten?


Why does this 422 error occur when I use Deepseek's API to call services

I came across the same issue.

You need to change the base URL to be https://api.deepseek.com/v1
but even that is not working..

I'd say this is a duplicate of #230

I came across the same issue.

use: https://openrouter.ai/docs/models

use: https://openrouter.ai/docs/models

但是计算方式不知道怎么算的，很贵。

use: https://openrouter.ai/docs/models
但是计算方式不知道怎么算的，很贵。
我创建了一个avalonia项目的hello world 就扣了$0.235，相当于扣了1-2M token

Please see https://github.com/saoudrizwan/claude-dev/issues/230#issuecomment-2340575426


schema.conflicts does not accept a list as documented

Describe the bug
The documentation for schema.conflicts says "specifies a list of fields that cannot be used together with the current field," but the input expected is a string, not a list.
If it does accept a list as a string, is this space-separated or comma-separated?
https://arcalot.io/arcaflow/plugins/python/data-model/#annotations-for-validation-and-metadata

I have a pr submitted.


Extra whitespace on mobile

Have you checked that your issue isn't already filed?

[X] I read through FAQ and searched through the past issues, none of which addressed my issue.
[X] Yes, I have checked that this issue isn't already filed.

Bug description
When I open the hamburger menu on mobile, scroll down and scroll up, extra white space is added to my projects page
How to reproduce the bug

Go to 'aidanconnoroneill.github.io' on mobile.
Visit the teaching tab
Open the hamburger menu
Scroll down and scroll up, and lots of whitespace appears at the top of the page

Error messages and logs
N/A -- just unexpected whitespace
What operating system are you using?
Windows, Not applicable (e.g. you're using GitHub Pages or other hosting)
Where are you seeing the problem on?
Running locally with Docker, Deployed site
More info
I've verified this happens on someone else's website that also uses al-folio, only on their projects page.  When I inspect on a local build using dev-tools, I notice that padding-top becomes a huge number, but the navbar seems to be hiding fine.  I'm curious what is causing the fixed-top-nav to have such a large whitespace creep only on the projects page (which my teaching page is modeled on) - this doesn't seem to happen on any of the others.
Thanks for looking into!

I tested out your website and am unable to reproduce the issue -


minimum version of Node.js 6.9 / v8 5.1.281.84

The oldest LTS release for Node.js 6 (aka Boron)

Duplicate of 459


Descriptive mesh drawing failure errors

When the mesh is not able to draw, our logs give no information about the style/shader it is coming from. This mesh will also keep drawing and trying to send uniform to uncompiled shader which leads to GL errors.

Add a NOTIFY macro to send messages once to the log (can be renamed to LOGN for consistency with others)
Uniforms of uncompiled shader are not anymore asked for their location
If a shader fails to compile, the style to which this mesh is associated will be notified on the log

Looks good to me. Once travis is ok with it, can be merged.


REQUEST: New SDK

This module looks really promising but as there's a new SDK  coming soon (currently in beta) I'm wondering if you already do have plans to upgrade the module.
The new SDK doesn't rely on axios anymore but on fetch, so that some refactoring wold be necessary.

This module implements a custom Transport layer based on $fetch API. You can check it here.
If you can describe the benefits of migrating to the new SDK that would be helpful.

The new SDK will:

provide a better type support
supports treeshaking due to it's modular approach
have better SSR support (due to being completely stateless from the start)

And finally: Once it replaces the old one it will be the new "standard" (--> consistent DX for developers: no need to know / use both versions, feature-parity: new features will most likely only be released to the new SDK on long-term)

Great, so it's about performance.
How can i find the source code, there is no beta branch on sdk.

They are in the process of moving the sdk to the mono repo: https://github.com/directus/directus/tree/main/packages/sdk
This is the PR: https://github.com/directus/directus/pull/18987

I have created a new branch next for a new nuxt-directus module based on the new Directus SDK. I will try to keep the same code structure and public APIs for compatibility. Your contributions is greatly appreciated :)

Hey everyone, I have added a Todos list to readme for the new module. Let me know if you have remarks.

Consider the usage of $fetch over fetch for transport

I Think that sticking with $fetch is important, it has everything covered/optimized to run on different platforms (edge etc) and this one of the main reasons I use and recommend this package over others.

Consider usage of realtime APIs with SSR.

think feature parity would be the first goal. I like to play with websockets some day, but this would be great for a future update.

It seems like te new sdk uses globalThis.fetch for data fetching, reference. So it uses the runtime's fetch API. That means it's platform agnostic and probably $fetch is not needed. I'm not 100% sure if I'm correct.

It seems like te new sdk uses globalThis.fetch for data fetching, reference. So it uses the runtime's fetch API. That means it's platform agnostic and probably $fetch is not needed. I'm not 100% sure if I'm correct.

I believe you are correct in your thinking on this.

A new release 0.1.1 is here. Authentication and Rest composables are implemented with SSR. The other composables will be added on the next release.

The old module is now under version-1 branch and the new one under main.
I'm closing this issue, for future ones related to old module please add version-1 label.


Provide redirects for link changes from #1792" (2nd take)

Reverts #1812 to reintroduce #1811
Preview: https://patrol.leancode.co/~1817

https://use.docs.page/frontmatter#redirect
looks like this requires us to create fake pages

Hey,
Still investigating - I believe it's due to the custom domain but I'll have a further look into this tomorrow.

Hi @Ehesp, thank you! It's very much appreciated.

Alright think that PR should sort it... Will test it out tomorrow.

Hey just merged the fix - can you check things work as expected?

Redirects on preview (link above) work fine. Merging and hoping for the same on main environment :)


Added BQML pipeline library for remote inference

Remote inference in BQML is subject to retryable error caused by quotas and limitations of the remote endpoints. This Dataform package is to provide a library to retry on retryable errors. The general idea is to have a REPEAT loop to continuously process a batch of rows from the source table and merge into the target tables for those that don't have retryable error.

Thanks for the review. Will add tests using the mocha in the next PR.


Move Lettuce/Play Framework/Spring Webflux 5.x/Armeria plugins into default list

By following #4119, JDK8 is default JDK level, so there three plugins are safe to be in the default plugin list.

Armeria should be moved too

moved


Difficult to understand if Fybrik tests pass

When running make test of fybrik, tons of log info is printed out including errors. Those errors may be valid if a negative test is being run.  For the end user trying to figure out if they have a valid and working installation of fybrik, It's not possible to figure out if all the tests passed or not without scrolling through thousands of lines of logs.
@shlomitk1 said that 'I think that when we moved to ginkgo 2.0 instead of 1.0, we started seeing full logs... Needs to be checked."

After a further investigation, it seems that ginkgo has fixed a problem of not obeying the verbosity flag. Indeed, when we run go test ./... instead of go test -v ./..., printing is done only for failing tests.


how to finish soon?!!

Hi, for example, I have three step but I want to finish and call onComplete in step two?
how to do that?
thanks!

Hi,
If you know that on the second step you can already finish then you can do all the required actions in onNext() instead of onComplete(). Although personally I'd consider if this is the best approach altogether (user being able to finish in the second step while seeing that there's a third step available).


moon setup should take package.json into account

Sometimes I change package.json of my projects manually. But when I run moon setup, it does not run pnpm install for me:

I think it takes only changed lockfiles into account.
I would like to suggest that changed package.json should also be taken into account when determining if pnpm install is run by moon setup.

@IgnisDa I do check for it: https://github.com/moonrepo/moon/blob/master/crates/node/platform/src/actions/install_deps.rs#L128
Can you paste the logs next time this happens.

@milesj Here is an example:

I am adding urql as a dependency to apps/website/package.json but it does not pick up that change.

I think I found the problem. Here (https://github.com/IgnisDa/moon/blob/d2a0cb0a1dad87b7fa55a599fdf5acaa5e36764b/crates/cli/src/commands/setup.rs#L22), it is passing None as the context which causes it to have no touched files.

Digging into it, the has_modified_files variable (https://github.com/IgnisDa/moon/blob/d2a0cb0a1dad87b7fa55a599fdf5acaa5e36764b/crates/node/platform/src/actions/install_deps.rs#L125) is always set to false. This line evaluates to true because last_modified (https://github.com/IgnisDa/moon/blob/d2a0cb0a1dad87b7fa55a599fdf5acaa5e36764b/crates/node/platform/src/actions/install_deps.rs#L143) changes when the lockfile changes.

I think I found the problem. Here (https://github.com/IgnisDa/moon/blob/d2a0cb0a1dad87b7fa55a599fdf5acaa5e36764b/crates/cli/src/commands/setup.rs#L22), it is passing None as the context which causes it to have no touched files.

Ah that's right. This is working as intended unfortunately. The setup command isn't meant to constantly be ran, it's like something you run once while setting up moon, or setting up the toolchain.
You'll need to rely on moon run for the install to trigger correctly.

Ah okay makes sense. Closing this.

@milesj Reopening this because when I change package.json manually and then run moon run visualizer:serve, it does not pick up changes in the package.json.


Retrieving Table Data based on Header?

Sorry this isn't an issue but a question.
I was wondering if there's an easy way to import an Excel Table which does not start on cell A1? Maybe on a different row, cell or both? I can't find anything in the examples/documentation.
In my situation I have a lot of variables in my spreadsheet which feed into the table. I've put these down the side as a sort of side pain and so my Table starts at C1. So far, the only solution I've found is the below:
$Excel = Open-ExcelPackage file.xlsmx
$Start = $Excel.Sheet1.Tables.Address.Start
$End = $Excel.Sheet1.Tables.Address.End

This returns the coordinates and then I can use

$Excel.Sheet1.Cells[$Start.Row, $Start.Column]

and

.Offset()

to get around but I'd prefer to be able to reference the table headers to retrieve data, instead of coordinates.
Also, if you're reading this Doug, thank you so much for making such an incredible module!
Thanks!

 Thanks!

Glad you found it.


Understand fish_head_tail_detector.rs + Python equivalent

Please add notes below:

For Python equivalent, here is what I currently have: https://github.com/UCSD-E4E/pyFishSenseDev/wiki/2.-Fish‐Length-Calculation#length-calculation


ARROW-7470: [JS] fix typos

This PR fixes typos in files under js directory

@kou Thank you for your suggestions. I will do them next.


Add prime? for integers to stdlib

I noticed that there is no prime? method in https://crystal-lang.org/api/0.33.0/Int.html, so I propose adding it.  This is a necessary function for doing all types of numerical processing algorithms and operations in many different fields of math and science.
The code below is for a highly optimized and deterministic (upto 25+ digits) Miller-Rabin primality test (that is part of my primes-utils rubygem).
I will submit a PR for it if acceptable.
require "big"

module Integer
  module Prime

    # Returns true if +self+ is a prime number, else returns false.
    def prime?
      primes = {2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47}
      return primes.includes? self if self <= primes.last
      modp47 = 614_889_782_588_491_410.to_big_i      # => primes.product, largest < 2^64
      return false if modp47.gcd(self.to_big_i) != 1 # eliminates 86.2% of all integers
      # wits = [range, [wit_prms]] or nil
      wits = WITNESS_RANGES.find { |range, wits| range > self }
      witnesses = wits && wits[1] || primes
      miller_rabin_test(witnesses)
    end

    # Returns true if +self+ passes Miller-Rabin Test on witnesses +b+
    private def miller_rabin_test(witnesses) # list of witnesses for testing
      neg_one_mod = n = d = self - 1 # these are even as self is always odd
      d >>= d.trailing_zeros_count   # shift out factors of 2 to make d odd
      witnesses.each do |b|          # do M-R test with each witness base
        next if (b % self) == 0      # **skip base if a multiple of input**
        y = powmod(b, d, self)       # y = (b**d) mod self
        s = d
        until s == n || y == 1 || y == neg_one_mod
          y = (y * y) % self         # y = (y**2) mod self
          s <<= 1
        end
        return false unless y == neg_one_mod || s.odd?
      end
      true
    end

    # Best known deterministic witnesses for given range and set of bases
    # https://miller-rabin.appspot.com/
    # https://en.wikipedia.org/wiki/Miller%E2%80%93Rabin_primality_test
    private WITNESS_RANGES = {
      341_531 => {9345883071009581737},
      1_050_535_501 => {336781006125,<PHONE_NUMBER>923155},
      350_269_456_337 => {4230279247111683200,<PHONE_NUMBER>5120705706,<PHONE_NUMBER>6367750375},
      55_245_642_489_451 => {2,<PHONE_NUMBER>24735,<PHONE_NUMBER>622454117,<PHONE_NUMBER>8276303650},
      7_999_252_175_582_851 => {2,<PHONE_NUMBER>517,<PHONE_NUMBER>72692060,<PHONE_NUMBER>90467037,
<PHONE_NUMBER>347715805},
      585_226_005_592_931_977 => {2,<PHONE_NUMBER>30000,<PHONE_NUMBER>813009,<PHONE_NUMBER>0333360,
<PHONE_NUMBER>39631437,<PHONE_NUMBER>124850375},
      18_446_744_073_709_551_615 => {2, 325, 9375, 28178, 450775, 9780504,<PHONE_NUMBER>},
      "318665857834031151167461".to_big_i  => {2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37},
      "3317044064679887385961981".to_big_i => {2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41}
    }

    # Compute b**e mod m
    private def powmod(b, e, m)
      m = m.to_big_i
      r = 1.to_big_i; b = b.to_big_i % m
      while e > 0
        r = (r * b) % m if e.odd?
        b = (b * b) % m
        e >>= 1
      end
      r
    end
  end
end

struct Int; include Integer::Prime end

I have verified it against known primes upto ~300,000 digits so far.
The API for this version doesn't match Ruby's for negative integers.
Ruby returns the result of the absolute value n.
This returns false for negative integers (which is mathematically correct, all primes are positive).
Can add to first line inside prime? an ArgumentError if want to punish wayward users.
raise ArgumentError.new "Input must be non-negative integer" if self < 0
2.7.0 :253 > 0.prime?
 => false
2.7.0 :254 > 1.prime?
 => false
2.7.0 :255 > -1.prime?
 => false
2.7.0 :256 > -2.prime?
 => true
2.7.0 :257 > -3.prime?
 => true
2.7.0 :258 > -4.prime?
 => false
2.7.0 :259 > -5.prime?
 => true

There has been some history to this.  I would check out this issue.
https://github.com/crystal-lang/crystal/issues/8845

Ruby's Primes class, as implemented in its primes.rb file is very inefficient mathematically, and is slow,, and its API isn't the most natural/useful, from a users perspective. This is why I wrote my rubgems primes-utils, to have a reasonable chance doing Project Euler problems - https://projecteuler.net/
I've already ported the whole gem to Crystal, but things like a prime? method should just be in the stdlib because it's so ubiquitous in use.  I image it's used more frequently than gcd, lcm and a host of other methods in stdlib, in real code.

I would not disagree with you but it seems like the core team has some thoughts on it.  And they have decided it would be better at a shard.

I understand the thinking in general, but disagree for this function in specific.
A user shouldn't have to search for and load a shard for such a universally used Integer function.
I can shard up my primes-utils code to provide this, and a host of other functionality, but I was waiting for Crystal (as with Ruby) to have its mult-threading become mature so I can employ some parallel processing techniques where useful.
Maybe since I'm locked down my coronavirus I'll take the time to get an initial version released.
But I would like the dev team to make an exception for just this function, as it would make my code base so much easier to write, maintain, and share.

I don't think we'll include this in the standard library.
The reasons:

it seems to require BigInt no matter what. I think all Int methods should work without requiring BigInt
knowing whether something is prime or not is probably useful in very specific domains. My guess is that in such domains you also need more math stuff. For example stuff that pypy, R or Julia would provide. In that case, just having prime? in the stdlib won't be enough because you'll still require other shards. And since that's the case, why not put that function in a shard?
I have no knowledge of how this works. This means that if you stop contributing to Crystal and we have to maintain this, we probably won't be able to do so.

OK, I understand from your viewpoint.
Now that it seems I'll have more time on my hands to use, I'll get around to sharding my code up.


job time doesn't match local time

it looks like IPP and wiener time is UTC or something different to Brisbane time, can this be changed?

standardise timezone conversion


Revert "remove duplicit functions "

Reverts lnbits/lnbits#1259
Broke Gerty, so reverting until investigated and patched

Codecov Report

Merging #1284 (a521b95) into main (268d101) will decrease coverage by 0.15%.
The diff coverage is 18.51%.

@@            Coverage Diff             @@
##             main    #1284      +/-   ##
==========================================
- Coverage   48.61%   48.46%   -0.16%
==========================================
  Files         270      270
  Lines       15674    15701      +27
==========================================
- Hits         7620     7609      -11
- Misses       8054     8092      +38

Impacted Files
Coverage Δ

lnbits/extensions/gerty/helpers.py
9.13% <13.33%> (+0.16%)
:arrow_up:

lnbits/extensions/satspay/crud.py
28.39% <25.00%> (-0.60%)
:arrow_down:

lnbits/db.py
81.20% <0.00%> (-10.07%)
:arrow_down:

lnbits/commands.py
73.61% <0.00%> (-1.39%)
:arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


feat: fix the manifest wording in the repo

We have some leftover wording from the old manifest setup in the code, so I removed that from the comment, as validation functions are no longer part of the manifest.
I was going to update the wording in the standard itself from manifest  to execution manifest, as that more accurately reflects the current state of the manifest, but we use it interchangeably through the ERC, so I'm not too sure there. Should we commit to one of them? What do people think?

I was going to update the wording in the standard itself from manifest  to execution manifest, as that more accurately reflects the current state of the manifest, but we use it interchangeably through the ERC, so I'm not too sure there. Should we commit to one of them? What do people think?

I think maybe in the installation/uninstallation section we can change "module manifest" to "module's manifest" or "module's execution manifest". But otherwise seems fine to leave other things be, and have it be implied that "manifest" refers to ExecutionManifest.


Tools_v0.8.5 _29: Pause icon is not center aligned

SEVERITY: Minor
MODULE: Tools page
Platform: Windows 7 / Chrome 48.0
STEPS TO REPRODUCE:

Navigate to URL: http://dev-tools.gapminderdev.org:3001/tools/
Tools page is loaded.
Click the “Options” button, a small pop up screen will be displayed
Check the checkbox under buttons/presentations
Click play icon
Note that pause icon is not center aligned

ACTUAL RESULTS:
Pause icon is not center aligned when we check the checkbox under buttons/presentations
EXPECTED RESULTS:
Pause icon should be center aligned
SCREENSHOT:

https://github.com/Gapminder/vizabi/pull/896

Safest solution: Replace whole icon with SVG icon rather than div + icon

Fixed by @sergey-filipenko 's https://github.com/Gapminder/vizabi/pull/905


Updated: devhub <IP_ADDRESS>

Newer version of devhub (0.98.4) is now available in master. bfb14d036f67340c1139acac05b2cea72e6c26ff