Rush update fails using Node v16 on Windows 11

The following error occurs when running rush update using Node v16.
Here are the versions I was using when the command failed:
Node - 16.14.0
NPM - 8.3.1
Python - 3.7.3
Windows 11 - Version: 21H2
Here is the output of running rush update:
<EMAIL_ADDRESS>Running postinstall script, done in 887ms
<EMAIL_ADDRESS>Running postinstall script, done in 919ms
<EMAIL_ADDRESS>Running postinstall script, done in 940ms
<EMAIL_ADDRESS>Running install script, done in 662ms
node_modules/.pnpm/@azure+msal-node-extensions@1.0.0-alpha.13/node_modules/@azure/msal-node-extensions: Running install node_modules/.pnpm/@azure+msal-node-extensions@1.0.0-alpha.13/node_modules/@azure/msal-node-extensions: Running install script, done in 8.9s
<EMAIL_ADDRESS>Running install script, done in 20.5s
 ENOENT  ENOENT: no such file or directory, realpath 'C:\Users\Benjamin\azure-impact-bash\azure-sdk-for-js\common\temp\node_modules.pnpm\local+C++Users+Benjamin+azure-impact-bash+azure-sdk-for-js+common+temp+projects+arm-machinelearningexperimentation.tgz\node_modules@rush-temp\arm-machinelearningexperimentation'
The command failed:
C:\Users\Benjamin\azure-impact-bash\azure-sdk-for-js\common\temp\pnpm-local\node_modules.bin\pnpm install --store C:\Users\Benjamin\azure-impact-bash\azure-sdk-for-js\common\temp\pnpm-store --no-prefer-frozen-lockfile --strict-peer-dependencies
ERROR: Error: The command failed with exit code 1
Giving up after 3 attempts
Deleting the "pnpm-store" folder
ERROR: The command failed with exit code 1

Label prediction was below confidence level 0.6 for Model:ServiceLabels: 'Azure.Core:0.44006085,Service Bus:0.055425264,Azure.Identity:0.05532772'

@sadasant / @witemple-msft at first glance this looks like its coming from msal-node-extensions so I figured one of you might be able to help but feel free to reassign as appropriate

keytar installed fine. it's an arm package.

ENOENT  ENOENT: no such file or directory, realpath 'C:\Users\Benjamin\azure-impact-bash\azure-sdk-for-js\common\temp\node_modules.pnpm\local+C++Users+Benjamin+azure-impact-bash+azure-sdk-for-js+common+temp+projects+arm-machinelearningexperimentation.tgz\node_modules@rush-temp\arm-machinelearningexperimentation'

@jeremymeng suggested cloning the folder directly into my C Drive. I did and it fixed the issue. Likely caused by file path being too long on Windows System

ooh wow! thanks!


Cannot find 'async' module in Win7 64 bit

A user reported this to me :

@EragonJ Could he try:
bower install async
and launch kaku again?

I don't think that's the root cause. There must be something related to environment settings or permissions.

And after asking for more details, it seems that all needed modules are installed.

There is another person using win 10 and faced this problem.

Not sure this is still valid or not, so close first.


Install ms-gsl

This installs ms-gsl for gsl::not_null

@Swiftb0y can you merge this soon?
I like to wait for this, to only have one integration PR into the Mixxx repository.


keep ip address consistent for redeploying container

It would be great to keep ip address consistent for a container. Consider a docker image gets updated and an existing container should be re-deployed using the most recent (or specific tag). All other configurations should stay as they have been specified during initial creation

Thanks for the feedback. We agree that this should be a feature within ACI and will look into implementing it in the future!

@rbitia any updates?

Any update on this please?  Would also address my issue (see https://github.com/MicrosoftFeedback/aci-issues/issues/25) if I could ensure that the IP address of the container group does not change on restart...

Any update? Is this on the roadmap?

I got fedup with waiting for any progress on this and have build my own container that runs a cron job to extract the IP and update my DNS server.


Remove key conversion

We should not add some magic prefix but instead let the user decide how to name the property and add a system property with the exact same (local) name, otherwise it could get confusing very quickly.
Before:
logging.properties.some.key => LOGGING_SOME_KEY
After:
logging.properties.some.key => some.key

Working


DR2-1876 missing parent errors.

We have been getting an error:
Expected 1 parent asset, found 0 assets for file <id>: java.lang.Exception
This is most likely because the update to the asset has been processed first and the asset has been deleted.
The solution is just to ignore it if the file has no parent.
This is because if the file has no parent, this means that the parent has already been processed and the ingest complete message sent.
We can’t ever get into a race condition if the asset is complete and the files aren’t because the ingest complete message won’t send for the asset if that’s true and the asset will still be there.
I’ve changed the method which gets the parent asset to return an Option. If there isn’t one, it will do nothing.
I've removed the test which checks for this error and I've added one in for a missing parent path which should never happen.

Looks good, just two questions

The solution is just to ignore it if the file has no parent.
This is because if the file has no parent, this means that the parent has already been processed and the ingest complete message sent.

We added this exception initially because we assumed that it was a possibility, so could getting rid of it potentially hide an error (e.g. something like the parent asset being accidentally deleted/deleted too early due to a mistake of ours)? What if we added an attribute to the File that was AssetIngested == true, check that and throw an error if it doesn't exist and the asset is not present in the table?

We can’t ever get into a race condition if the asset is complete and the files aren’t because the ingest complete message won’t send for the asset if that’s true and the asset will still be there.

Just to confirm, you're saying here that an Asset can't be marked as "completed" (PS + CC) and deleted if the files haven't been marked as completed and therefore an Asset should be in the table. Does this mean that this error that occurred was due to the fact that the Asset and its files were to be deleted, the Asset got deleted first and then by the time it got to the files, the Asset was gone?

What if we added an attribute to the File that was AssetIngested == true, check that and throw an error if it doesn't exist

This makes everything  more complicated for an error that should never exist with proper testing. It's a bit premature optimisation. We know that having it there causes the error and that removing it should be fairly safe unless we make a really bad error so it's worth removing.

. Does this mean that this error that occurred was due to the fact that the Asset and its files were to be deleted, the Asset got deleted first and then by the time it got to the files, the Asset was gone?

Yes


XCUITest with React Native - Lagging + Won't write actions into test

Question Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Question Subject

Snapshot with React Native

no

Question Description

I followed the guides and successfully set up XCUITest to work with snapshot. I was able to capture screenshots of my onboarding screen using snapshot. These rendered nicely into the HTML file as expected.
However, I began running into serious issues as I tried to automate screenshots throughout  my app:
Navigation tabs issues: https://github.com/react-navigation/tabs/issues/52     tabBarTestID to fix
Accessibility on touchables: https://medium.com/@csovis/writing-ui-test-in-ios-with-xcuitest-in-objective-c-for-react-native-c622dcfed0c2		accessible={Platform.OS == ‘ios’ ? false : true} to fix
many crashes when trying to record the UI test.
my actions were not written to the test when I tried to record them.
I followed many issues to try to get CXUITest to behave with snapshot. After ~1 day there continues to be issue after issue to get the screenshots automated.
I'm wondering if others ran into this? I could see this behavior being fine for a test app, but with a larger codebase, it became a huge hurdle to get this system set up. Is there a better to set up snapshot? Is there something I can change within my xcode environment or react native project to make XCUITest behave more smoothly?

my actions were not written to the test when I tried to record them.

What does that mean? I don't understand.
In general, your question sounds more like "How do I use XCUITest with my React Native app?", correct? Or is there something fastlane/snapshot specific that is not working as expected?


Simply and fix qualifier/source handling - fixes #75

This fixes the data pattern bug in #75. Also, rather than continually joining and splitting the pieces, it just works on the pieces in split form and only tests the regexs against the slots which may have a source or qualifier ID in them.

Thanks for the fix, @tfmorris. Merged.

Thanks. I should have mentioned that the new code has only been lightly tested because I didn't have a way to test it in a production environment.  If others could help test it, that'd be great.


Dan System TODOs

Source projects.json from upstream LPU Belt List sheet. Create real identifiers from shared namespace with locks.
Source upgrades.json from upstream LPU Belt List sheet. Details in this gist.
Once schema finalized, change fields of evidence and unclaimed-evidence collections to full names. Reset evidence and reimport unclaimed-evidence.
After cutover, remove Recorded collection type from DB in migration.
Use import.meta.env.DEV to select database environment prior to production migration.

Closing issue, as everything here now better tracked in Trello.


Update/Migrate Entity Type From One Type to Another

Describe what problem your feature request solves
Entities are unable to be changed after they are added to a diagram (Store, Actor, Process).  This is problematic when a diagram changes or is first being defined.  Additionally, when an entity is removed from the diagram, all attached flows are removed as well.
Describe the solution you'd like
In the context/edit menu for an entity, there should be an option to change the entity type.  The only supported changes would be between Stores, Actors and Processes.
Additional context
This was suggested by Simon S

This is an excellent suggestion by Simon. A point to note is that the data flow connections will have to be preserved, and this change will have to be intuitive but not done accidentally ... a difficult thing to get right without too much clutter on the right hand pane?

I'm almost at the point where this could be in the near-term for v2.  In v2, data flow connection points are (mostly) managed by the underlying drawing package, and will move based on anchors and other context.  You can put flows at arbitrary points on the graph, but they do snap to other objects.  When they snap to an object, instead of having absolute positions (eg x: 23, y: 250), they just reference the other object.
In short, I think it will probably work out fine in most situations, as the drawing package should be intelligent enough to make small adjustments on the fly.

It is unlikely we will be able to get this into version 2.0, so I have marked it for the later 2.x version

Closing this as a Won't Do
It would complicate the tool, Threat Dragon is deliberately lightweight compared to Microsoft TMT, and we need tokeep it simple - otherwise we start competing with MS TMT


HiveError (HiveError: The same instance of an HiveObject cannot be stored with two different keys

Steps to Reproduce
I've added an hive object to my Flutter Project. When I use it with provider and create some object and put.
Getting Error:  HiveError (HiveError: The same instance of an HiveObject cannot be stored with two different keys ("0" and "1").)
Code sample
import 'package:hive/hive.dart';

part 'book.g.dart';

@HiveType(typeId: 7)
class Book extends HiveObject {
  Book({
    required this.orderNo,
    required this.name,
    required this.author,
    required this.fileName,
    required this.img,
    required this.lastPage,
    required this.lastOpen,
  });

  @HiveField(0)
  int orderNo;

  @HiveField(1)
  String name;

  @HiveField(2)
  String author;

  @HiveField(3)
  String fileName;

  @HiveField(4)
  String img;

  @HiveField(5)
  double lastPage;

  @HiveField(6)
  int lastOpen;
}

I know the last page looks weird by actually I am save it as scroll controller offset
and I know that lastOpen should string or date format, I use epoch format like<PHONE_NUMBER>34
Version

Platform: iOS
Flutter version: [3.0.5]
Hive Flutter version: [1.1.0]

@cyb3rsalih
Did you find any solution for this issue?

I fix this by creating a new instance.
Check out this: https://stackoverflow.com/questions/71906743/the-same-instance-of-an-hiveobject-cannot-be-stored-with-two-different-keys

@tewangchiu
How did you create a new instance??
I tried it but it didn't work. I think I did something wrong.
Did you mean creating a completely separate hive box for it??

Create instance of an HiveObject before you add to box
var persons = await Hive.openBox('persons');
var person = Person()
    ..name = 'Lisa'; // create new instance
persons.add(person);

Thanks to @tewangchiu. 🙏👍


:bug: returns rejected Promise instead throws Error

It is a bad pattern to throw an error in a function whose return type is Promise.
When to handle multiple promises such as Promise.all([...]), if there is a function that throws an error, unhandledrejection will occur due to the rejection of other Promises.
In Client.prototype.call(), when session is closed, this.#recv(...) returns a rejected Promise and this.#session.send(...) throws an Error, then the rejected Promise is not handled anyone and unhundledrejection is occured.
https://github.com/vim-denops/deno-vim-channel-command/blob/6729a74749f7c7fb1ea721c4f89e28896a79ebc4/client.ts#L148-L151
Unhandled rejection: Error: Session is not running
    at Session.recv (file:///work/vim/deno-vim-channel-command/session.ts:93:13)
    at Client.#recv (file:///work/vim/deno-vim-channel-command/client.ts:67:47)
    at Client.call (file:///work/vim/deno-vim-channel-command/client.ts:149:17)
    at Vim.call (file:///work/vim/denops.vim/denops/@denops-private/host/vim.ts:51:39)
    ...

Summary by CodeRabbit

Bug Fixes

Improved error handling in session management functions to ensure users receive clear feedback when attempting operations on non-running sessions.

Note that https://github.com/lambdalisue/deno-messagepack-rpc has same issue.


Client: Repo Commands

add, list, remove chart repositories

This includes client side work as well as some server side refactoring.

client side: add helm repo add, helm repo list, helm repo rm commands
server side: Chart repositories are referred to as registries in the DM world as of now which is confusing, so I'll change the registry references to chart repositories along with this work.

@michelleN there are several types of registry in DM, not just object storage. Changing them all would probably touch quite a few files.
Another thing to consider is that repository in DM refers to object storage for deployment metadata. We have both transient (in memory) and persistent (mongodb) repositories.

Yes @jackgr. Good points. I've seen and assessed the possible conflicts you mentioned and am working to make sure my changes cause no issues but also maintain a clear understanding and isolation of chart repositories.

SGTM

@michelleN can this issue be closed now?

yes.


Cortana channel cannot be added - Cortana channel is only available to Bot Framework accounts associated with a Microsoft account

Bot Info

App ID:
SDK Platform:.NET
Active Channels: Skype,Direct Line
Deployment Environment: Auzure Bot Service

Issue Description
When I try registering the Cortana channel for my BOT it says "Cortana channel is only available to Bot Framework accounts associated with a Microsoft account". But the one am using is the Microsoft account.
Not sure what to do next?
Please help.
Mahesh

I think its both an AAD account and also a Microsoft account at the same time.. is that an issue?

@maheshksingh To clarify, you need to use a MSA type personal "Microsoft Account" not an Active Directory (AAD) based account to register the bot and add Cortana channel.
Let me know if you have any other questions.

@nwhitmont, Thanks for the reply...
aaah, not sure why Microsoft has such limitations, now I need to re-register my BOT with my personal MSA account, lets hope thats works,
Thanks again.
Mahesh

Yeah, it's a problem for me too. In my company, we have some bots and we want to use cortana channel, but incredibly I have to create a new account and I can't use corporative account. It sounds a bit weird, even for Microsoft.

That's the sad fact.... But I  dint really research since  a few weeks if things changed... Had raised a ticket with Microsoft but they never came back.
. If  you found an alternative then let all know..

The answer, as of now, if you are building a consumer skill, you still need the "channel" to be owned by an MSA.  So, you can
1/ develop a bot using an AAD account, and host it on a tenant using an appropriate subscription
2/ create a bot channel registration and app registration from an MSA, and point it at the bot message endpoint
3/ update your bot to use the appid and password from 2
It is not ideal, but this is how it works for now, UNLESS you are looking at the enterprise skills, that are created under AAD accounts on azure tenants, and the channel is owned by the AAD account. This tech is approaching private preview, and off/on again there is on boarding through https://docs.microsoft.com/en-us/cortana/enterprise/overview. For the super eager, there is a mail drop<EMAIL_ADDRESS>where you can send questions.


*: Reduce logging from UnorderedInputStream

What problem does this PR solve?
Issue Number: close https://github.com/pingcap/tiflash/issues/8563
Problem Summary:
What is changed and how it works?

Log down the pool_id and num_stream once for one TableScan
Avoid calling BlobFile::truncate repeatly when its data size is zero

Check List
Tests

[ ] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

None

/run-all-tests

/run-all-tests

/run-integration-test


[moor_ffi] No flags possible to pass for REGEXP

Hello,
It looks like no flags are possible to pass into REGEXP where query.
Embedding flags into REGEXP string does not work.
Could you please extend it to be achievable?
Like the second parameter, such as:
..where((table) => table.<column>.regexp(pattern, flags))
Thank you in advance.

Thanks for the suggestion. This is done on develop and will ship with the next moor release.


Everything works fine and App is already on the play store but as i said when i try to test for a web version it produces this error just for this particular App.
I Please will want to know what exactly is wrong
lib/main.dart:15:8: Error: Error when reading 'lib/generated_plugin_registrant.dart': The system cannot find the file specified.
import 'package:[NameOfApp goes here]/generated_plugin_registrant.dart';
^
lib/main.dart:16:8: Error: Error when reading 'lib/generated_plugin_registrant.dart': The system cannot find the file specified.de the command you're running, flutter_web version, browser version

Hi @catenin95
Can you please provide your flutter doctor -v, your flutter run --verbose.
Thank you

Hi @catenin95
Can you please provide your flutter doctor -v, your flutter run --verbose.
Thank you

Hi @catenin95
Can you please provide your flutter doctor -v, your flutter run --verbose.
Thank you

I did.. bur it produced no error... Passed all checks right

I was able to solve it using the Flutter SDk Command Line
I solved it by using the cd  command to navigate to where all my Flutter projects where  eg.
C:/Users/cd applications/ cd flutter projects/ cd ... Until I got to the exact flutter application folder that was giving me this issue.
Then using the command  "flutter create ."
It regenerated the folder for the web and all missing files that gave the errors were fixed.

Hi @catenin95
Can you please provide your flutter doctor -v, your flutter run --verbose.
Thank you

I did.. but it produced no error... It Passed all checks right

I was able to solve it using the Flutter SDk Command Line
I solved it by using the cd  command to navigate to where all my Flutter projects where  eg.
C:/Users/cd applications/ cd flutter projects/ cd ... Until I got to the exact flutter application folder that was giving me this issue.
Then using the command  "flutter create ."
It regenerated the folder for the web and all missing files that gave the errors were fixed.


Adds more context for ADR offset overrun

This is mainly so we can tell if changing this will work. e.g. if 20 bits are enough for #847

I'm guessing an offset >20bits will be near impossible, but yeah just curious.


fs.createReadStream is undefined

Environment details

OS: Mac OS Mojave 10.14.6 / Google Chrome 78.0.3904.108
Node.js version: v12.13.1
npm version: 6.12.1
@google-cloud/bigquery version: 4.5.0

Steps to reproduce
I did something like
const {BigQuery} = require('@google-cloud/bigquery');
const options = //keyFilename ... etc;
const bigquery = new BigQuery(options);
...
const queryOptions = //something;
const [job] = await bigquery.createQueryJob(queryOptions);
And error shows
Unhandled Rejection (TypeError): fs.createReadStream is not a function
The error is caused by GoogleAuth.getClient in google-auth-library with
const filePath = path.resolve(this.keyFilename);
const stream = fs.createReadStream(filePath);
I tried to print out typeof fs.createReadStream in the function and it is undefined
I am running a react app initialized by create-react-app on Chrome.
Can someone tell me what I am doing wrong?

@jweil93 this module was written to be used in Node.js, so unless you shim the fs module for the browser I don't think it is going to work.

@jweil93 unfortunately, our support for web and mobile-based environments is a work in progress. We have an issue tracking the request for web environments here: https://github.com/googleapis/google-cloud-node/issues/2933.


Won't display multiple keys with the same name

Ran into this issue when trying to display an update JSON object for Solr which uses multiple keys with the same name... something that is allowed in a JSON object, but apparently the formatter can't handle this kind of structure and only displays the last one.

It's impossible to know if a JSON string has repeated keys without rewriting the JSON parser. It's generally an error in you JSON if you have repeated keys.

Again, this is actually how the JSON is required to be built for the API I am working with. Repeated keys are not excluded by the JSON spec, just discouraged. It's certainly led to some heated discussions about the spec having been written that way (see https://esdiscuss.org/topic/json-duplicate-keys) but there definitely are APIs that use repeated keys in them, and Solr search is one of them. I can understand if you don't want to fix this, but it's NOT an error in JSON to have them.

In JavaScript you can't parse a JSON object string into an object structure to begin with.


Update SConstruct

Add missing flags to compile successfully on osx.

Looks good to me, C++14 high enough? on Linux we seem to use C++17, not sure why the switch is not needed on Windows.

Did a quick check, and c++17 compiles fine as well on osx. I've updated the PR accordingly.


Argument parser

Apple has recently unveiled argument-parser library.
This PR implements it as a pre-cursor to adding command for adding credentials.
Besides implementing it, I have added additional separation of modules to make the project a little bit more maintainable:
T2RCore: Module for toggl2Redmine-agnostic methods such as Future, etc.
T2RSupport: Module for toggl2Redmine specific structs, methods, etc.
T2RKit: This is where we can combine multiple features in one place via ParsableCommand
T2RParser: Parser of toggl entries
T2RUploader: Uploader to Redmine
t2r: Simple executable that calls T2RCommand.main() from T2RKit module
This should make it easier to modify the project for better testability, though there are still a few issues. I also believe this helps the library to be more flexible if there is a need to add additional features in the future.

Hi @fortmarek!
Thank you for the PR and for the integration of ArgumentParser. But I think that the module separation is overkill. I changed the structure a little bit.
Merging now


Add sprite blending support

The HLD engine has functions for "blending" or shifting the hue of an instance's sprite. This would be nice functionality to expose to mod developers.

Resolved by f0fc5caedc46dc139b2730d329908df5acbff8f8.

Resolved by f0fc5caedc46dc139b2730d329908df5acbff8f8.


Key Backups

Another less used GNUPG option I've come across in the GNUPG manual is the "bkuptocard" subcommand of --edit-key
It's only mentioned in page 49 of the manual and the index.
Apparently when we initialize a card, (PRESUMABLY THIS MEANS WHEN WE GEN A KEY ON CARD?) GNUPG creates a backup file of the key in key backup format.
This file can be restored to a card/Yubikey with the --edit-key subcommand (quoting the manual):

bkuptocard file
Restore the given file to a card. This command may be used to restore a backup key (as generated during card initialization) to a new card. In almost all cases this will be the encryption key. You should use this command only with the corresponding public key and make sure that the file given as argument is indeed the backup to restore. You should then select 2 to restore as encryption key. You will first be asked to enter the passphrase of the backup key and then for the Admin PIN of the card.

Has anybody ever used this functionality who could clarify what this is talking about?

If you generate a key on the card (instead of copying existing subkeys to the card using keytocard) using generate with --card-edit you are asked, fi you want to create a backup of the encryption key (Make off-card backup of encryption key?). This backup file can be restored with bkuptocard <file>.

Since the guide does not recommend generating keys on card, I'm going to close this suggestion. Thank you!


Change spokecluster to managedcluster

@qiujian16 we may also need to update the make task deploy-spoke and the deploy/spoke dir

/retest

/retest

/assign pmorie
/assign mdelder

/approve

/lgtm

/lgtm


Add Bounce (BNCE) axis

Related to Issue #38
Description
The in-progress OFL Shantell Sans is a marker-style font that has a Bounce axis BNCE that causes letters to move a semi-random distance above and below the baseline, and thus having a "bouncy" baseline. This may be used to simulate handwriting, but is also an effect seen in graphic design more generally  (memorably on some jazz records and posters).

Range
Default: 0 (no change from the baseline)
Max: 1000 (units of UPM grid of offset from baseline, assuming UPM of 1000 ... most Bounce axes wouldn’t have this extreme of a bounce, so this is a proposed maximum value, if we need that.)
Min: -1000 (A reversal of the maximum)
The positive and negative values make more sense to see in a screen recording – it’s an axis particularly well-suited to animation:
https://user-images.githubusercontent.com/45946693/166831946-199ae976-1cb6-4dd1-8bf6-1f81a6b9d19e.mov
Instances

Normal – BNCE at 0 – An elided name, except in static subfamilies, to differentiate from full variable font family name
Semibouncy – BNCE at approximately 50%
Bouncy – BNCE at 100%
There could also be a "Superbouncy" style name, for fonts that go more extreme.

What might be my next steps be here? Hoping to get these fonts finished and onboarded in the coming month or two. Thanks!

Do we need to complete this issue before I can successfully master a font for Google Fonts?

A per mille of em range is interesting, but what is the reference glyph for Latin and which is the distance being measured?
Your instalces are given as %s and this suggests to me that per-mille ranging may not be ideal.
Overall, @vv-monsalve suggested that https://fonts.google.com/knowledge/glossary/casual_axis might work well for this, as it seems to fir the definition provided there. That works both like a percentage range and as a boolean: 0.00..1.00

Thanks for the answers here, Dave! That makes sense.
Re: axis values in Bounce:

First, it is important for there to be a negative as well as positive range here, as bouncing animations look much better if bouncing can happen in two directions, rather than just one. A negative to positive range allows a wavy effect, whereas a positive-only range just means going from a flat baseline to a bouncy baseline, and this can’t be repeated in the same way.
The values in the case of Shantell Sans are actually based on maximum potential movement along the UMP grid. So, a bounce of 100 means that a few glyphs get close to 100 units of movement, while others are less to give a randomized appearance. I tested more and less movement, but this seemed to be a sweet spot.
I am basically thinking of this as a “percentage” from minimum to maximum bounce, however. I slightly prefer a -100 to +100 range, because that implies that intermediate values are intended for use. On the contrary, I think that a "binary" or -1 to +1 range would imply that styles are really meant to be either 0 or 1, similar to how the Italic axis is often a binary thing.
If there is a logical preference for a -1 to +1 axis, however, I am not particularly opposed to it. I could see one advantage being that a -1 to +1 range may help clarify that the movement wasn't expected to be tied to or measured by the UPM grid.

Your instalces are given as %s and this suggests to me that per-mille ranging may not be ideal.

I am basically thinking of this as a “percentage” from minimum to maximum bounce, however. I slightly prefer a -100 to +100 range, because that implies that intermediate values are intended for use.

Dave's comment is originated in the original range definitions (defined in per mile values). However, a percentage range would be best for this axis indeed. There would be a consensus that 100% means the highest bounce level while leaving it open for type designers to freely govern what that percentage means based on their fonts.

Can families ship with axes that are wider than what is represented in instances?

If you mean the VF going wider in the range than the static instances, yes. We've had some VF going from 1 to 1000 in the weight axis for example.

Specifically, I am considering cutting down on the number of instances.
This would bring me back down from 108 instances in 9 static subfamilies to 48 instances

This has been part of the reasoning around registering axis without predefined fallbacks as they overpopulated the instantiated statics fonts, like in Recursive. The goal is to have per-family named styles.
So the axis would be defined like this:
#Bounce, base on https://github.com/arrowtype/shantell-sans
tag: "BNCE"
display_name: "Bounce"
min_value: -100
max_value: 100
default_value: 0
precision: 1
fallback {
  name: "Default"
  value: 0
fallback_only: false
description:
  "Translate glyphs up and down along the y axis to result in an "
  "uneven, bouncy baseline. The negative range, if used, should reflect
  "positive translations to provide an animatable axis."

Awesome, this is all super helpful! Thanks so much for that explanation and feedback. Sounds good to me!

DC> The GF team need to review the axis proposal with you and finalize a decision about it; my guess that this will be in September.

Given a 10/1 launch date target, we need to get the family's axes all sorted in about the next 7 days, to push to internal systems the 2nd week, and then push the font the 3rd week and have it ready on prod to make public on the 4th week :) @arrowtype  joined a call today and said he'll be around and responsive to any requests in the coming weeks, and I just met with @evanwadams  and he agreed this is cutting it close but seems feasible, especially since (a) @vv-monsalve has made good progress on drafting an Axis Registration Protocol document and (b) @yanone is back from summer vacations and can help drive the onboarding double checking process that @arrowtype is already very familiar with, to start with. :)

SN> it is important for there to be a negative as well as positive range

Agreed, I just met with Evan and after a priori saying this is surprising, after we looked at the font, he agreed with this

VM> a percentage range would be best for this axis

Agreed, I think its nice that there's a per mille coincidence for this family but any future family could have its max per mille movement more or less than that and still use -100..100 as the actual range on a percentage semantic basis.

SN> @davelab6 Can families ship with axes that are wider than what is represented in instances? I think so...

Yes, for sure. In fact, the named instances in STAT tables are not currently being registered - as we see in @vv-monsalve 's example just above, it has only the default - since there's been a semantic scope creep on the fallback key that we are cutting back on, currently. Maybe in the future we'll add a different key to the registry for "axis default named instances" which families can use, append, or ignore, but that's not relevant to the current axis registration protocol. (This does however mean until that arrives, there will be (much) less static files in the GF ZIPs, since those are generated from the fallback keys.)

Normal, Bouncy, ExtraBouncy

I discussed this with @evanwadams and we agreed that's better than the previous Normal, SemiBouncy, Bouncy; following the SOFT axis (Sharp, Soft, SuperSoft) then for 'percent semantics' axes, the axis max as a 100% value is the most extreme form, and the mid point 50% value should show the treatment the axis applies in full effect, and allow users to take it every further all the way to 100%. Possibly we could prefer SuperWhatever to ExtraWhatever, or perhaps ExtraWhatever is the default (like the wght axis default named styles) and SuperSoft was an exception to obtain the nice alliteration.
So, if @arrowtype is good with the numeric definitions in @vv-monsalve 's protobuf sketch above, then I think we only have to finalize the short description for that file and then the longer GFK Glossary page's description (in a Google Doc with @elliotjaystocks) and its GFK illustration (also in collaboration with @elliotjaystocks, likely in Figma).
I propose this short description:
  "Shift glyphs up and down in the Y dimension, resulting in an "
  "uneven, bouncy baseline. The negative range, if used, should reflect
  "opposite shifts to the positive range, to enable looping animation."


Instance variable used in only one method feature request

Rubocop could warn about instance variables that are only used in one method and suggest replacing them with a local variable.

It is possible. The limitation is currently we do file level analysis, so it would not be possible for us to know if this is used in a mix-in contained in another file. Or if the class is re-opened elsewhere.

I like the idea of this cop. I'm a bit concerned about false positives; it might need to be disabled by default.
It would definitely need to exclude the controllers in a Rails app. 😄

I think what mmb suggested was very small in scope. That is, for only one method, to give an indication. If I understood it correctly.
In this case I think it should not be too difficult to warn for it. Drenmi mentioned that via file level analysis, obviously the analysis is limited, but I think that should be a problem that can be solved. For example, if the code is spread out into several .rb files, I think in most projects it will still be trivial to parse that this belongs to the same class.
Consider foobar1.rb and foobar2.rb (and similar files).
Rubocop could analyze this all, keep track of where the code is stored internally, yet "merge" it into assuming to be treated as a single big file, e. g. for a class that is spread out. Once that is done, it should be very easy to see if the instance variable occurs only within a single method or whether another method also references to it, right?
At the least in my mind that is a way how to address it?
Of course there may be ways where this may perhaps not work, in weird code like with eval or other madness or dynamic definitions of methods and instance variables. :P
But I think mmb refers really more to small use cases, where people really just forgot an instance variable or so. And for these cases, they could be addressed I think, even more so with what mikegee suggested to make this available as a non-default.


DB transaction left unclosed

 Issue by zbouziane
Friday Apr 28, 2017 at 13:00 GMT
Originally opened as https://github.com/catalogueglobal/datatools-server/issues/14

...
09:10:36.239 [Finalizer] ERROR c.c.d.editor.datastore.DatabaseTx - DB transaction left unclosed, this signifies a memory leak!
...

 Comment by landonreed
Friday Apr 28, 2017 at 14:35 GMT

Hi @zbouziane, I'm actually already currently investigating this one.  Hope to have an update soon.


Temporarily disable functional tests on Windows

Per @jaym, this is to test a working theory that the functional test
suite is corrupting the Jenkins service.

:+1:
I'm going to cc @thommay and @adamedx
This needs to be reverted in a few days

:+1:

:+1:

do it!


memory

I have a question, how much memory do you need to run the code? I try to apply the short connection to other network models, but there are always out of memory errors，I was looking forward to receiving your reply.

It actually depends on how many parameters your model has and the size of input images. Short connections themselves do not introduce too many parameters.

Hi, @xinyaoguo , were you able to solve the memory issue. I am facing the same as well.
@Andrew-Qibin can you comment further on this.


Set.keepIf and Set.dropIf

We should have these functions, but currently don't!

Awesome, thank you so much! 🙌
If you have any questions along the way, feel free to ask in https://roc.zulipchat.com/#narrow/stream/316715-contributing on Zulip! 😃


Outdated info about custom generators in README

Hello,
It looks like the "Custom Generators" section of the readme references an older method of generating custom bindings, based on the information in https://github.com/bjz/gl-rs/pull/239
To me it seems like the current correct way to use this functionality is to create a struct implementing gl_generator::generators::Generator and pass this to gl_generator::generate_bindings from your build.rs, is this case?

Thanks for noting - this is important. I'm slowly updating the docs as I do my push towards a 1.0 release.

I believe this is fixed!


with on not existing key in map produce error with missingkey=error

It looks like a bug, that with action in templates produce error with missingkey=error.
Due the documentation with action is made for checking if pipeline is empty, and perfectly fits in logic, for example, if foo has key "bar", then print something. But with missingkey=error option it fails all template generation with error. (http://play.golang.org/p/kmmkkrHZYI)
I found a workaround for this case, using index function. It works as expected, and does not produce errors on not existent key. But it makes templates less readable, and, I think, simple addressing should have same behaviour.

This is exactly how it should work. The with action does not check for the presence of a field, but rather whether the field's value is non-zero. See this complementary example that uses a struct instead of a map: http://play.golang.org/p/b_Opy4892i


Correct a bug with dynamic updates on offed EGs

Closes: #2
@falkTX if you want to check that this indeed solves your problem.

@paulfd note stealing is much improved now, quickly using notes in succession triggers things properly, this is great to see thanks!

black midi still makes sfizz go bad, but that might be asking too much haha :sweat_smile:
can recommend trying that out, https://github.com/x42/midigen.lv2 is a quick way to test that with its included tetris black midi song

I've received the Dwarf, and indeed performance is not amazing 😓 I'll try to improve it when I find the time (and unpile everything else)

Note that on dwarf there is an issue where RT operation stop while allocating memory on unrelated processes.
I was unable to find the reason why, but it is very easy to trigger by running a memory testing tool while dwarf is doing its business. Memory writes can induce xruns.
This does not happen on duo or duox...
So the performance issues might be related, due to sfizz reallocating things on its background thread.
One possible thing to try is a fixed pool of memory. It will trigger xruns when plugin is first loaded, but then should be stable.
And yeah, I tried many things for priorities and cpu scheduling stuff. My current theory is on memory not being setup in the best way by the bootloader.


Add support for setting video encoder configuration.

Hello, can you please add an option to set video encoder configuration? If it's already, let me know how?

See the api document.
https://pub.dev/documentation/agora_rtc_engine/latest/agora_rtc_engine/AgoraRtcEngine/setVideoEncoderConfiguration.html
https://pub.dev/documentation/agora_rtc_engine/latest/agora_rtc_engine/VideoEncoderConfiguration-class.html


ENH: First pass at dry-run

Pretty simple addition: --dry-run. This exits after figuring out what local packages are blacklisted and need to be removed.
Closes #39

Hello @ericdill! Thanks for submitting the PR.

In the file conda_mirror/conda_mirror.py, following are the PEP8 issues :

Line 178:80: E501 line too long (80 > 79 characters)
Line 437:80: E501 line too long (81 > 79 characters)
Line 540:80: E501 line too long (81 > 79 characters)
Line 541:80: E501 line too long (91 > 79 characters)
Line 632:80: E501 line too long (89 > 79 characters)
Line 645:80: E501 line too long (95 > 79 characters)

In the file test/test_conda_mirror.py, following are the PEP8 issues :

Line 132:80: E501 line too long (85 > 79 characters)
Line 143:80: E501 line too long (97 > 79 characters)
Line 144:80: E501 line too long (82 > 79 characters)
Line 145:80: E501 line too long (84 > 79 characters)
Line 157:80: E501 line too long (86 > 79 characters)
Line 158:80: E501 line too long (81 > 79 characters)
Line 159:80: E501 line too long (82 > 79 characters)
Line 160:80: E501 line too long (84 > 79 characters)
Line 175:80: E501 line too long (98 > 79 characters)

Other than the one very minor nit, it looks fine. :shipit:

Thanks @parente


Added Low Poly Hands to Android Module

Swapped Capsule Hands out for LoPolyHands (also copied them from the Hands module into the Android Module)
NOTE: LoPolyHand Scripts are duplicated (with different names)!
This is not a permanent solution! At some point we're going to have the talk (about intermodule dependencies).

I presume that the 5.3.5 in the branch name signifies that we won't be able to use it in 5.3.4 Unity? If so, this causes us to now recommend using the beta version of Unity because of the World Canvas issue making the FPS counter disappear.

Actually It's there because everything was totally broken when I tried
doing it in 5.4b23 and importing it back to 5.3.5
So I redid all the changes in 5.3.5 and named the branch that to signify
which version all of this was done.
The changes I made have nothing to do with the canvas...  If that was
broken before, it's probably still broken...
On Tue, Jun 28, 2016 at 4:49 PM, testmasterbright<EMAIL_ADDRESS>wrote:

I presume that the 5.3.5 in the branch name signifies that we won't be
able to use it in 5.3.4 Unity? If so, this causes us to now recommend using
the beta version of Unity because of the World Canvas issue making the FPS
counter disappear.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/leapmotion/UnityModules/pull/319#issuecomment-229217904,
or mute the thread
https://github.com/notifications/unsubscribe/ARjUfnGGOdRCIPHRUYtifffawJ7QIr__ks5qQbL-gaJpZM4JAnkI
.

--
NOTE: The information in this message and any attachments is confidential
information intended only for the individual to whom it is addressed.  If
you are not the intended recipient, any distribution of this message or its
attachments is prohibited.  If you have received this email in error,
please immediately notify us and delete the message.  Thank you.

I meant that anyone that wants to use the canvas (like our FPS counter) will now need to build in the latest 5.4 beta because the hand requires 5.3.5 which has the broken world canvas. Previous releases of Android they were able to use 5.3.4f1 which did not have the world canvas issue.

Hmm, hopefully this doesn't break it going back to 5.3.4f1?  No explicit
reason why it would...
Alternately, 5.3.6 is in the pipeline which will fix the world canvas issue
as well...
On Tuesday, June 28, 2016, testmasterbright<EMAIL_ADDRESS>wrote:

I meant that anyone that wants to use the canvas (like our FPS counter)
will now need to build in the latest 5.4 beta because the hand requires
5.3.5 which has the broken world canvas. Previous releases of Android they
were able to use 5.3.4f1 which did not have the world canvas issue.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/leapmotion/UnityModules/pull/319#issuecomment-229219280,
or mute the thread
https://github.com/notifications/unsubscribe/ARjUfkQFFrWsM9ZsUELOnN5z6yjhZXuDks5qQbUDgaJpZM4JAnkI
.

--
NOTE: The information in this message and any attachments is confidential
information intended only for the individual to whom it is addressed.  If
you are not the intended recipient, any distribution of this message or its
attachments is prohibited.  If you have received this email in error,
please immediately notify us and delete the message.  Thank you.

I'll try it in 5.3.4f1 but at worst this is just a known issue to be documented


Make BlockEntities readable from schematic

This data need for getting chest contents and etc.

is this really enough to implement it ? can you add a test ?

yes, realy need. because in current version i cant get chest content without my fix

This fix doesn't need a test, it just adds another property and doesn't do anything complicated.

please re-open if you want to finish it


Small but in SQL-Module

Type: Bug
Dear Support-Team,
if i use this snippet into sql-module
LOAD DATA INFILE 'file.csv'
INTO TABLE serv_log
FIELDS TERMINATED BY ','
OPTIONALLY ENCLOSED BY '''
LINES TERMINATED BY '\r\n'
IGNORE 1 LINES;
After this OPTIONALLY ENCLOSED BY '''
The rest of the code is not colored as before. If i use another enclosing sign, all is fine, But the '  it's given for enclosing in some cases.
Can you check this, please?
VS Code version: Code 1.73.0 (8fa188b2b301d36553cbc9ce1b0a146ccb93351f, 2022-11-01T15:34:06.111Z)
OS version: Windows_NT x64 10.0.19045
Modes: Restricted
Sandboxed: No
Extensions (6)

Extension
Author (truncated)
Version

vscode-language-pack-de
MS-
1.73.11020948

python
ms-
2022.18.1

vscode-pylance
ms-
2022.11.10

jupyter
ms-
2022.9.1202862440

jupyter-keymap
ms-
1.0.0

vscodeintellicode
Vis
1.2.29

To use a single quote inside a string literal in SQL you must use two in a row:
OPTIONALLY ENCLOSED BY ''''

/question

We closed this issue because it is a question about using VS Code rather than an issue or feature request. Please search for help on StackOverflow, where the community has already answered thousands of similar questions. You may find their guide on asking a new question helpful if your question has not already been asked. See also our issue reporting guidelines.
Happy Coding!


[CLOSED] Migrate formats for drug safety updates

 Issue by Rosa-Fox
Friday 12 February 2016 at 12:23 GMT
Originally opened as https://github.com/alphagov/specialist-publisher/pull/650

Rosa-Fox included the following code: https://github.com/alphagov/specialist-publisher/pull/650/commits

 Comment by Rosa-Fox
Friday 12 February 2016 at 12:23 GMT

https://trello.com/c/K5VUj6xV/536-dsu


BIND seems over zealous

Current Behavior
I have a particular query in which a variable that is later used in a BIND expression, is used in two basic graph patterns. However, the query only seems to execute one of these BGPs before it applies the BIND.
The test query is
 {
  ?bind   rdfs:label ?b1 .
  ?bind   a def:Unit  .
  FILTER (?b1 = 'Unit2') .
  BIND(?bind   as ?n0)
  ?n0 def:hasProductBatteryLimit ?n1
 }

This incorrectly returns a value of :Unit2 for the variables ?bind and ?n0
Expected Behavior
I would expect the query to satisfy the two BGPs
  ?bind   rdfs:label ?b1 .
  ?bind   a def:Unit  .

and then apply the filter.
Steps To Reproduce
Using the two attached  *.TTL files in any repository (memory seems to exhibit the issue)
This query should return no records:
PREFIX def: <http://inova8.com/calc2graph/def/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT  *
 {
  ?bind   rdfs:label ?b1
  ?bind   a def:Unit  .
  FILTER (?b1 = 'Unit2') .
  BIND(?bind   as ?n0)
  ?n0 def:hasProductBatteryLimit ?n1
 }

However, it returns with the variable ?bind set to  :Unit2, which is incorrect .
:Unit2 does satisfy the BGP { ?bind   a def:Unit  .} but not the  { ?bind   rdfs:label ?b1  . FILTER (?b1 = 'Unit2') . } pattern.
Rearranging the query, or including {...}, does not seem to change the behaviour.
Calc2Graph.zip
Version
3.7.4
Are you interested in contributing a solution yourself?
Perhaps?
Anything else?
No response

what does the (optimized) query plan look like when you try to explain() it?

Projection (resultSizeActual=0, totalTimeActual=0.647ms, selfTimeActual=0.003ms)
╠══ProjectionElemList
║     ProjectionElem "bind"
║     ProjectionElem "b1"
║     ProjectionElem "n0"
║     ProjectionElem "n1"
╚══Join (JoinIterator) (resultSizeActual=0, totalTimeActual=0.644ms, selfTimeActual=0.006ms)
├──Extension (resultSizeActual=0, totalTimeActual=0.638ms, selfTimeActual=0.003ms)
│  ╠══Join (JoinIterator) (resultSizeActual=0, totalTimeActual=0.635ms, selfTimeActual=0.62ms)
│  ║  ├──StatementPattern (costEstimate=0, resultSizeEstimate=0, resultSizeActual=0, totalTimeActual=0.015ms, selfTimeActual=0.015ms)
│  ║  │     Var (name=bind)
│  ║  │     Var (name=_const_f5e5585a_uri, value=http://www.w3.org/1999/02/22-rdf-syntax-ns#type, anonymous)
│  ║  │     Var (name=_const_3433d213_uri, value=http://defaultUnit, anonymous)
│  ║  └──Filter (costEstimate=0, resultSizeEstimate=0)
│  ║     ╠══Compare (=)
│  ║     ║     Var (name=b1)
│  ║     ║     ValueConstant (value="Unit1")
│  ║     ╚══StatementPattern (costEstimate=11, resultSizeEstimate=119)
│  ║           Var (name=bind)
│  ║           Var (name=_const_9285ccfc_uri, value=http://www.w3.org/2000/01/rdf-schema#label, anonymous)
│  ║           Var (name=b1)
│  ╚══ExtensionElem (n0)
│        Var (name=bind)
└──StatementPattern (costEstimate=0, resultSizeEstimate=0)
Var (name=n0)
Var (name=_const_eec771f2_uri, value=http://defaulthasProductBatteryLimit, anonymous)
Var (name=n1)

I'm not sure I follow - you claim this query shouldn't give back a result because:

:Unit2 does satisfy the BGP { ?bind a def:Unit .} but not the { ?bind rdfs:label ?b1 . FILTER (?b1 = 'Unit2') . } pattern.

However, looking at your example data file, I see this:
id:Unit2
  a def:Unit ;
...
  rdfs:label "Unit2" ;

If I'm missing something, can you try and compose a more minimal example that demonstrates the issue?

Indeed the first 5 'patterns' in the query
  ?bind   rdfs:label ?b1 .
  ?bind   a def:Unit  .
  FILTER (?b1 = 'Unit2') .
  BIND(?bind   as ?n0)

would be satisfied by n0 -> id:Unit2
However, the final BGP ?n0 def:hasProductBatteryLimit ?n1 cannot be satisfied by n0 -> id:Unit2 using the example data I sent. Evenso, the query returns incorrect results with n1 bound to id:BatteryLimit2, and id:Batterylimit1
It is only a guess on my part but it seems as if the final BGP, ?n0 def:hasProductBatteryLimit ?n1  is being resolved in the query execution plan at a time when ?n0 is unbound.

Ah, I see the problem now. Yes, looks like a bug. We've done some work in this area relatively recently, I wonder if this is an edge case regression.

I just noticed that in the pasted query plan the filter is on the literal 'Unit1' while in the pasted query the filter is on 'Unit2'.
Projection (resultSizeActual=0, totalTimeActual=0.647ms, selfTimeActual=0.003ms)
╠══ProjectionElemList
║     ProjectionElem "bind"
║     ProjectionElem "b1"
║     ProjectionElem "n0"
║     ProjectionElem "n1"
╚══Join (JoinIterator) (resultSizeActual=0, totalTimeActual=0.644ms, selfTimeActual=0.006ms)
   ├──Extension (resultSizeActual=0, totalTimeActual=0.638ms, selfTimeActual=0.003ms)
   │  ╠══Join (JoinIterator) (resultSizeActual=0, totalTimeActual=0.635ms, selfTimeActual=0.62ms)
   │  ║  ├──StatementPattern (costEstimate=0, resultSizeEstimate=0, resultSizeActual=0, totalTimeActual=0.015ms, selfTimeActual=0.015ms)
   │  ║  │     Var (name=bind)
   │  ║  │     Var (name=_const_f5e5585a_uri, value=http://www.w3.org/1999/02/22-rdf-syntax-ns#type, anonymous)
   │  ║  │     Var (name=_const_3433d213_uri, value=http://defaultUnit, anonymous)
   │  ║  └──Filter (costEstimate=0, resultSizeEstimate=0)
   │  ║     ╠══Compare (=)
   │  ║     ║     Var (name=b1)
   │  ║     ║     ValueConstant (value="Unit1")
********************> Shouldn't this be Unit2 ?
   │  ║     ╚══StatementPattern (costEstimate=11, resultSizeEstimate=119)
   │  ║           Var (name=bind)
   │  ║           Var (name=_const_9285ccfc_uri, value=http://www.w3.org/2000/01/rdf-schema#label, anonymous)
   │  ║           Var (name=b1)
   │  ╚══ExtensionElem (n0)
   │        Var (name=bind)
   └──StatementPattern (costEstimate=0, resultSizeEstimate=0)
         Var (name=n0)
         Var (name=_const_eec771f2_uri, value=http://defaulthasProductBatteryLimit, anonymous)
         Var (name=n1)

I just noticed that in the pasted query plan the filter is on the literal 'Unit1' while in the pasted query the filter is on 'Unit2'.
 The query plan is identical for both. The results should be different, but they are not.

Ah I see, in any case I have a minimal unit test.

Ok, a few details after a long debugging session. Filters, etc. are not the problem. The issue is that the deepest join gets evaluated in an unexpected order. We first call on the pattern ?n0 ex:hasProductBatteryLimit ?n1 which is then used to join against the extension/bind etc. This means that before we even get to the bind ?n1 is set to "Unit1" and ?n0 is set to the :Unit1 before we even execute the join logic. So the BindingSet when entering the bind operator has n0 = :Unit1 which is then overwritten by n0 = :Unit2. Very confusing to be honest and I am not sure where the fix is supposed to be, in parsing or evaluation?


Need an initial phone number for secure storage

I stored a valid phone number in secure storage and want to get it as an initial value when a user reopen the page. I can't find anywhere to put this value in this widget.

On the latest version of the package you can now pass a TextEditingController as a parameter.
To set/change the value of the textField you could always do
setState(){
 _yourControllerReference.text = 'what ever value you want set'
}

InternationalPhoneNumberInput({
    Key key,
    @required this.onInputChanged,
    this.onInputValidated,
    this.focusNode,
    **this.textFieldController,**
    this.onSubmit,
    this.keyboardAction,
    this.countries,
    this.inputBorder,
    this.inputDecoration,
    this.initialCountry2LetterCode = 'NG',
    this.hintText = '(800) 000-0001 23',
    this.shouldParse = true,
    this.shouldValidate = true,
    this.formatInput = true,
    this.errorMessage = 'Invalid phone number',
  })

I hope this help

On the latest version of the package you can now pass a TextEditingController as a parameter.
To set/change the value of the textField you could always do
setState(){
 _yourControllerReference.text = 'what ever value you want set'
}

Don't Forget to set your controller reference on the highlighted argument
InternationalPhoneNumberInput({
    Key key,
    @required this.onInputChanged,
    this.onInputValidated,
    this.focusNode,
    **this.textFieldController,**
    this.onSubmit,
    this.keyboardAction,
    this.countries,
    this.inputBorder,
    this.inputDecoration,
    this.initialCountry2LetterCode = 'NG',
    this.hintText = '(800) 000-0001 23',
    this.shouldParse = true,
    this.shouldValidate = true,
    this.formatInput = true,
    this.errorMessage = 'Invalid phone number',
  })

I hope this help

Yeah I know that, but the thing is when you doing that the format of phone number in text field is broken

Oh that's true I'll work on that for the next update. Big thanks 👊

Thank you.

Hi @dungnv2602 I've just made changes and push the update. You can now upgrade your dart package


deprecating instrumentation libary span processing via config property

Resolves #14
Since new OTLP Collector supports passing zipkin/jeager instrumentaiton library as span tags, span processing needs to be deprecated.

splunk.otel.config.span.processor.instrlib.enabled property, set to false by default
added unit tests to confirm the behaviour

Looks good.
But I am not sure if we need these two attributes anymore. As Otel-java both Zipkin and Jaeger exporters write these attributes now, the only case when end user may miss them, if they use OTLP exporter and older Collector. I am not sure we have such clients :)

I'm a big fan of a code removal, in this case however wanted to leave us with some flexibility, just on case. I'll create a task to remove this whole code after some time, once we're sure no one will ever need that. Makes sense? :)


Dev -> master

Codecov Report

Merging #63 into master will decrease coverage by 9.69%.
The diff coverage is 33.33%.

@@            Coverage Diff            @@
##           master      #63     +/-   ##
=========================================
- Coverage    82.6%   72.91%   -9.7%
=========================================
  Files           1        1
  Lines          46       48      +2
  Branches        5        6      +1
=========================================
- Hits           38       35      -3
- Misses          8       13      +5

Impacted Files
Coverage Δ

src/components/VueHotspot.vue
72.91% <33.33%> (-9.7%)
:arrow_down:

Continue to review full report at Codecov.

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


Fixed ak.num with axis=0 in typetracer.

@douglasdavis, this fixes #1328. I'll merge it into main after 1.8.0 is released.

Awesome, thanks!


canonicalize path to make test pass in windows

the canonicalize add \?\ at the begining of the path in windows so to make the test cargo::tests::get_crate_file_from_overrides pass in windows canonicalize needs to be on actual and expected.

Oh! this is great. Thank you for submitting a patch. I'll add an issue to get tests running on appveyor so this doesn't happen again.


Demand The Doobie Put/Get As Separate Constraints

From the Doobie documentation on Meta,

It's important to understand that Meta should never be demanded by user methods; instead demand both Get and Put. The reason for this is that while Meta implies Get and Put, the presence of both Get and Put does not imply Meta.

This commit separates the constraints for the FUUID Meta instance, adding a new implicit definition and deprecating the old one.

@ChristopherDavenport any change we could merge this, bump doobie to 0.12.1 and do a release in the near term?
It looks like Doobie 0.10.0 is binary incompatible with 0.12.1.

 Sorry, I got ahead of myself there.

@ChristopherDavenport anything I can do to move this along?


fix collection nil

collection nil can be crash on android and ios

Thank you for the contribution!

Thank you for the contribution!


Train on a dataset and test on another

Hello, thank you very much for your great work ! I have a question: when we test the pre-trained model on a new database, should we modify the axes of the point cloud such that they are the same as the training database ? For example if I test on Nuscenes the pre-trained PolarSeg on Semantickitti, should I modify the axes of Nuscenes according those of SemanticKitti ?

It's not necessary to modify the axis of the point cloud if the only difference between your dataset and KITTI is the rotation of the axis. The bigger problem is the number of class and class definitions. You need to carefully match the class in your dataset to the KITTI dataset to get a meaningful prediction. And some other differences like the number of points/ range also could have a big influence on the result.

Thanks for your reply ! A last question: is it because the data has been augmented (translation + rotation) during training that we do not need to modify the axes of the point cloud?

Yes, we did the rotation and flip augmentation in training.

Thank you !


Add support for Snowflake

Integration with snowflake could be a great feature.

For the record, here is the NodeJS Driver for Snowflake

See also this request.


Fix WARC-Creation-Date header in the README as per #12

WARC-Created-Date was renamed to WARC-Creation-Date in #12, but README was not updated accordingly.

Thanks! Tests are failing due to a pre-existing typo in setup.py..
If you change --doctest-module -> --doctest-modules in setup.py test invocation it should work.


Undergarden compatibility doesn't work

None of the undergarden materials can be smelted in the foundry. Tinker's parts and weapons made of these materials aren't registered.
Minecraft 1.18.2
TC Integrations version: <IP_ADDRESS>
Tinker's version: <IP_ADDRESS>
Undergarden version: 0.7.1

You can make parts out of the mats? I didn't register any material stats, so this is working as intended. Only allow using the smeltery for melting. This isn't a materials for tool parts, with very few exceptions. You can use the materials for modifiers or abilities for the majority of the integrations.

If you don't see any parts listed in JEI for a material, no parts can be made with the material. It gets silly after a while adding materials, so this mod is about providing the capabilities on tools/weapons/armor that the mod has as an integration.

Materials are smelting fine for me. Can you give a specific material that is an issue?

Casting works as intended for nuggets, ingots and blocks. Let me know if there are any other issues. I'll leave this open, but I don't see an issue at all.

Sorry, I still wasn't familiar with the new tinker's + newest version of JEI is behaving weird and REI doesn't work with tinkers at all, so I was confused. Sorry for bothering you.

Oh, no problem. I don't mind taking a look. Hopefully it helps.


Add asserts to Log's onProgress callback tests

This PR will add asserts to Log tests to make sure we test the onProgress callback.
Originally described here https://github.com/orbitdb/ipfs-log/pull/130/files#r210806112.

I also removed the unnecessary try/catch and renamed the callback function to loadProgressCallback to make it more explicit.


Conditional Flows implementation / documentation

Hello, it's not clear to me if this package implements a conditional flow $p(x| u)$ where $u$ is continuous (i.e. $u \in \mathbb{R}^n$) as opposed to a discrete class label.
If so, could you please point me to an example if you have one?
If it is implemented, I would also suggest some tweaks  to documentation to make that more clear.
Thanks for the nice package!

Hi Prof. @cranmer,
there existed some support for flows conditioned on continuous variables scattered around the package, but it was incomplete and, indeed, not very well documented.
I added some functionality now, such as a ConditionalNormalizingFlow model class, a ConditionalDiagGaussian base distribution, where the parameters are encoded by the conditional, and a few flows support now conditional variables. An example for a conditional MAF and a conditional autoregressive NSF is given here; it is also in the documentation.
If there is any particular flow besides those implemented that you want to use with continuous conditional variables, please let me know.
Best regards,
Vincent

The changes are part of the new version of the package I just released on PyPI. Hence, I'll close this issue. If there are still more features you wish to be included, please create a new issue.


Wait for yarn in webgpu / react native CI cloudbuild.yml.

We need to wait for yarn on the parent folder because child directories will look in the parent node_modules. This introduces a race condition that causes the CI to be flaky.

This change is

yarn test is failing because of rate-limit. Going to submit because this is unrelated to that failure (and CI kicks off the different tasks properly).


Refresh mitie sklearn and add tests

Fixes #137
Might need to to perform a further update once https://github.com/golastmile/rasa_nlu/pull/151 is accepted in order to add support for the synonyms within the interpreter

Cool. Could you please also add a test for running the trained model?

Tom re: your comment. I agree it would be cleaner to split this up & recombine. But since there's only two cases (plain mitie and mitie_sklearn) it feels like overengineering. Maybe there's a simpler (perhaps less idiomatic) way to reduce the code duplication?

how about then two utils files? Like one sklearn_trainer_utils and mitie_trainer_utils each one of them with and entity and intent classifier

Yes that sounds good.


CI ONLY WiP Make java.lang.Class agnostic of Scala

Nightly for first commit: https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/5957/

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/4420/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/5957/
Test PASSed.

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/4421/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/5958/
Test PASSed.

Weekly for the second commit: https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/5959/

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/4423/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/5963/
Test FAILed.

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/4424/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/5965/
Test PASSed.

Ready for review.

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/4425/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/5966/
Test PASSed.

Nightly for the last commit: https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/5967/
Weekly: https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/5968/

Note that this requires an update in the "drop 2.10" PR


Keyboard shortcuts doesn't work

Recently I upgrade kanboard to 1.0.17, but unfortunately keyboard shortcuts doesn't work to switch between calendar view and list view.

It works for me with Firefox/Safari/Chrome/Internet Explorer under Mac OS and Windows.

I am using Debian Jessie with Iceweasel. The shortcut is "vc" am I right?

It's v then c or v l, v b (do not press both keys in the same time)

I also checked Chromium, and it doesn't work.

keyboard shortcuts work for each project, but it is not work on dashboard page.

The keyboard shortcuts you have mentioned above will work only where the "view switcher" is present. That will not work on the dashboard.

Thanks for your explanation. There is some similarity in dashboard and individual project pages, so I thinks adding shortcuts on dashboard will be a good feature.


Show Preview Image in Custom Email Templates Based on Collective/Project or Event

With regard to the discussion at, https://opencollective.slack.com/archives/C020ZQSLM5M/p1658253041239739?thread_ts=1656021499.190849&cid=C020ZQSLM5M
It seems that we show the same custom email template image for all collectives, projects and events.

However when it's an event, we should show and appropriate preview image the reflects a ticket image instead.
cc: @aminakazi

As per the comment; https://github.com/opencollective/opencollective-frontend/pull/8039#issuecomment-1191670352, I think we need some design input on how this should be handled. Since an event can have regular contributions too, we need a way to show both of the preview templates in this modal without confusing the user.
cc: @aminakazi


coverted temperature in celsius to fahrenheit

issue #637
Description
I have created a simple c++ program that will prompt the user to enter a temperature in celsius and will covert it into fahrenheit  in file tasks/c++/easy/tempConverter.cpp

Merged

This is an automated message from Fork, Commit, Merge [BOT].

Thank you for your contribution! Your pull request has been merged. The files have been reset for the next contributor.
What's next?
If you're looking for more ways to contribute, I invite you to check out my other projects. Just click here to find more. These projects contain real issues that you can help resolve. You can also check out the Influences section in the README to find more projects similar to this one.
Also please leave a star to this project if you feel it helped you, i would really appreciate it.
I look forward to seeing your contributions!


fix bare variables warning

[DEPRECATION WARNING]: Using bare variables is deprecated. Update your
playbooks so that the environment value uses the full variable syntax
('{{apt_install}}').
#5

@kosssi are you still interested in maintaining this?


How do you solve shared gopls issue

https://github.com/ericwq/golangIDE/blob/master/shared-gopls-daemon.md indicates a TMPDIR change, but I can't see that change in your repo.
Did you not solve it via coc-settings.json ?

That problem was solved by coc.nvim team already.


Transaction Tool rewrite design

Problem
The Transaction Tool is limited to a a business user persona. The Transaction Tool will be expanded to include additional personas in the future. This will require redesigning the Transaction Tool application to incorporate the new personas and requirements.
Solution
Complete the design for a new version of the Transaction Tool application.
Alternatives
No response

Require design for server access management


fetcher - probably bug? bad doc?

Literally I just copied an example from your documentation and It does not work. Really? Why?
HTTP Response
{ errors:
   [ { message: 'Error parsing GraphQL request: error decoding JSON. This likely means that the GraphQL request was malformatted.: json: cannot unmarshal object into Go struct field SerializedQuery.query of type string' } ] }

import fetch from 'node-fetch';
import { introspectSchema, makeRemoteExecutableSchema, } from 'graphql-tools';

const fetcher = async ({ context, operationName, query, variables, }) => {
  const $ = (await fetch('http://api.githunt.com/graphql', {
    body: JSON.stringify({ operationName, query, variables, }),
    headers: {
      'Content-Type': 'application/json',
    },
    method: 'POST',
  }));

  const json = (await $.json());

  console.log(json);

  return json;
};

(async () => {
  try {
    const schema = makeRemoteExecutableSchema({
      fetcher,
      schema: (await introspectSchema(fetcher)),
    });

    console.log(schema);
  } catch (e) {
    console.log(e);
  }
})();

This was addressed by https://github.com/apollographql/graphql-tools/pull/933. Thanks!


Finish GZIP_1 and GZIP_2 implementation

This adds GZIP_1 compression and GZIP_2 compression/decompression. There is an open question below.

I am going to merge this and then update the API to use buffers.


Allow regex validations to match empty fields

Take these example field validations:
      validations: [
        {
          rule: 'regex',
          value: '^.{0,10}$',
          errorMessage: 'Name too long',
        },
      ],

This error will show up for empty cells if they have not been edited. After they have been edited the empty string is stored, and the match will succeed.
This PR fixes this by defaulting the cell value to an empty string.

Hello @ineentho, thank you for your contribution!


add project to Projects using Docile / Lexicon

hi,
Are you still using Docile/Lexicon for documentation. If so
I would like to add your project to Projects using Docile / Lexicon
if that is fine with you.
Thanks.

Sure.

Thanks


Blender 2.91 on Pop OS 20.10 crashes on export

Describe the bug
Blender 2.91 on Pop OS 20.10 crashes on export
To Reproduce
Go to File>Export>glTF 2.0 (.glb/gltf)
Crashes on select
Expected behavior
Export dialog to open
Screenshots
Pretty simple crash, explanation is clearer
.blend file/ .gltf
It happened the first time I tried to export a test file, same happened in 2.90.1, and 2.83.9, I haven't downloaded latest LTS release yet. Update: Same for 2.91.2 and 2.83.12
Version
OS: linux

Blender Version: 2.83.9, 2.83.12, 2.90.1, 2.91.0 and 2.91.2 standalone versions from blender.org with separate .config folders.
Additional context
I found a solution for the problem, fixed it by editing a python __init file in my .config folder, dialogue popped up and I was able to export my test file.
From : https://developer.blender.org/T83685...
"We have a identified a potential cause in T84752. Given that the provided stack trace here also goes through ctypes and has similar symptoms, I believe this is the same problem. This might be caused by the function CFUNCTYPE(c_int)(lambda: None) called by _reset_cache in 2.9x/python/lib/python3.7/ctypes/init.py which has been removed in newer versions of Python.
Could you please create a copy of the init.py file and rename it to have a copy of the original. Then edit the init.py and remove the line from the file, then check if the crash still occurs? It should be line 273. Afterwards you can remove the edited file rename the copy back to init.py."

As you said, this problem come from Blender API, and need to be fixed on Blender side, not on this addon side.
For any news from Blender, please follow https://developer.blender.org/T84752

I reported the crash to blender as well, I will follow up in the thread provided. Thank you!

Same issue after few time working with blender.

https://developer.blender.org/T84752 is now solved in Blender, so the next stable version (2.93) will work as expected


Return value of GeneaLabs\LaravelModelCaching\CacheKey::getValuesFromWhere() must be of the type string, array returned

After recent upgrade I had this issue below
Environment
Laravel Version: 5.6.24
Laravel Model Caching Package Version: 0.2.63
PHP Version: 7.2.5
Operating System & Version: MacOS 10.14 Beta
Return value of GeneaLabs\LaravelModelCaching\CacheKey::getValuesFromWhere() must be of the type string, array returned

please provide your full eloquent query, as well as the full stack trace.

[2018-06-07 23:31:12] local.ERROR: Return value of GeneaLabs\LaravelModelCaching\CacheKey::getValuesFromWhere() must be of the type string, array returned {"userId":58,"email":"info@teamburo.com","exception":"[object] (Symfony\\Component\\Debug\\Exception\\FatalThrowableError(code: 0): Return value of GeneaLabs\\LaravelModelCaching\\CacheKey::getValuesFromWhere() must be of the type string, array returned at /prooject/vendor/genealabs/laravel-model-caching/src/CacheKey.php:127)
[stacktrace]
#0 /prooject/vendor/genealabs/laravel-model-caching/src/CacheKey.php(113): GeneaLabs\\LaravelModelCaching\\CacheKey->getValuesFromWhere(Array)
#1 /prooject/vendor/genealabs/laravel-model-caching/src/CacheKey.php(255): GeneaLabs\\LaravelModelCaching\\CacheKey->getValuesClause(Array)
#2 /prooject/vendor/genealabs/laravel-model-caching/src/CacheKey.php(155): GeneaLabs\\LaravelModelCaching\\CacheKey->getOtherClauses(Array, NULL)
#3 [internal function]: GeneaLabs\\LaravelModelCaching\\CacheKey->GeneaLabs\\LaravelModelCaching\\{closure}(NULL, Array)
#4 /prooject/vendor/laravel/framework/src/Illuminate/Support/Collection.php(1313): array_reduce(Array, Object(Closure), NULL)
#5 /prooject/vendor/genealabs/laravel-model-caching/src/CacheKey.php(158): Illuminate\\Support\\Collection->reduce(Object(Closure))
#6 /prooject/vendor/genealabs/laravel-model-caching/src/CacheKey.php(36): GeneaLabs\\LaravelModelCaching\\CacheKey->getWhereClauses()
#7 /prooject/vendor/genealabs/laravel-model-caching/src/Traits/Caching.php(76): GeneaLabs\\LaravelModelCaching\\CacheKey->make(Array, NULL, '')
#8 /prooject/vendor/genealabs/laravel-model-caching/src/CachedBuilder.php(78): GeneaLabs\\LaravelModelCaching\\CachedBuilder->makeCacheKey(Array)
#9 /prooject/app/Repositories/CategoryRepository.php(114): GeneaLabs\\LaravelModelCaching\\CachedBuilder->get()
#10 /prooject/app/Services/CategoryService.php(54): App\\Repositories\\CategoryRepository->treeByStore(Array)
#11 /prooject/app/Http/Middleware/InjectObjects.php(51): App\\Services\\CategoryService->tree(Array)
#12 /prooject/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(151): App\\Http\\Middleware\\InjectObjects->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#13 /prooject/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#14 /prooject/app/Http/Middleware/CheckShippingAddress.php(46): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#15 /prooject/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(151): App\\Http\\Middleware\\CheckShippingAddress->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#16 /prooject/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#17 /prooject/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(41): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#18 /prooject/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(151): Illuminate\\Routing\\Middleware\\SubstituteBindings->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#19 /prooject/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#20 /prooject/app/Http/Middleware/CheckSetup.php(37): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#21 /prooject/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(151): App\\Http\\Middleware\\CheckSetup->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#22 /prooject/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#23 /prooject/vendor/laravel/framework/src/Illuminate/Session/Middleware/AuthenticateSession.php(58): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#24 /prooject/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(151): Illuminate\\Session\\Middleware\\AuthenticateSession->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#25 /prooject/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#26 /prooject/vendor/laravel/framework/src/Illuminate/Auth/Middleware/Authenticate.php(43): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#27 /prooject/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(151): Illuminate\\Auth\\Middleware\\Authenticate->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#28 /prooject/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#29 /prooject/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#30 /prooject/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(151): Illuminate\\View\\Middleware\\ShareErrorsFromSession->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#31 /prooject/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#32 /prooject/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(63): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#33 /prooject/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(151): Illuminate\\Session\\Middleware\\StartSession->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#34 /prooject/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#35 /prooject/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#36 /prooject/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(151): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#37 /prooject/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#38 /prooject/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(59): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#39 /prooject/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(151): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#40 /prooject/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#41 /prooject/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(104): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#42 /prooject/vendor/laravel/framework/src/Illuminate/Routing/Router.php(667): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#43 /prooject/vendor/laravel/framework/src/Illuminate/Routing/Router.php(642): Illuminate\\Routing\\Router->runRouteWithinStack(Object(Illuminate\\Routing\\Route), Object(Illuminate\\Http\\Request))
#44 /prooject/vendor/laravel/framework/src/Illuminate/Routing/Router.php(608): Illuminate\\Routing\\Router->runRoute(Object(Illuminate\\Http\\Request), Object(Illuminate\\Routing\\Route))
#45 /prooject/vendor/laravel/framework/src/Illuminate/Routing/Router.php(597): Illuminate\\Routing\\Router->dispatchToRoute(Object(Illuminate\\Http\\Request))
#46 /prooject/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(176): Illuminate\\Routing\\Router->dispatch(Object(Illuminate\\Http\\Request))
#47 /prooject/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(30): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}(Object(Illuminate\\Http\\Request))
#48 /prooject/vendor/barryvdh/laravel-debugbar/src/Middleware/InjectDebugbar.php(65): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#49 /prooject/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(151): Barryvdh\\Debugbar\\Middleware\\InjectDebugbar->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#50 /prooject/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#51 /prooject/app/Http/Middleware/UnsetIfEmpty.php(24): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#52 /prooject/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(151): App\\Http\\Middleware\\UnsetIfEmpty->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#53 /prooject/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#54 /prooject/vendor/fideloper/proxy/src/TrustProxies.php(57): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#55 /prooject/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(151): Fideloper\\Proxy\\TrustProxies->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#56 /prooject/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#57 /prooject/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(31): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#58 /prooject/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(151): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#59 /prooject/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#60 /prooject/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(31): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#61 /prooject/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(151): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#62 /prooject/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#63 /prooject/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#64 /prooject/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(151): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#65 /prooject/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#66 /prooject/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php(51): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#67 /prooject/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(151): Illuminate\\Foundation\\Http\\Middleware\\CheckForMaintenanceMode->handle(Object(Illuminate\\Http\\Request), Object(Closure))
#68 /prooject/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}(Object(Illuminate\\Http\\Request))
#69 /prooject/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(104): Illuminate\\Routing\\Pipeline->Illuminate\\Routing\\{closure}(Object(Illuminate\\Http\\Request))
#70 /prooject/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(151): Illuminate\\Pipeline\\Pipeline->then(Object(Closure))
#71 /prooject/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(116): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#72 /prooject/public/index.php(55): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#73 /Users/syahyazade/.composer/vendor/laravel/valet/server.php(147): require('/Volumes/Projec...')
#74 {main}
"}

CREATE TABLE `categories` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(11) DEFAULT NULL,
  `company_id` int(11) DEFAULT NULL,
  `store_id` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `slug` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `parent_id` int(11) DEFAULT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=252 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

I am not able to see query because it crashes but I have below one
$categories = $this->model->where('store_id', $storeId)->where('parent_id', NULL)->get();

Look for the query on /prooject/app/Repositories/CategoryRepository.php(114) ... #9 in the stack-trace. Is that the query you wrote above?
If there is no query where #9 points, follow the stack-trace further back until you reach the query.

@znsstudio Please try again with the latest version of the plugin. I just tried testing the query you wrote above and am unable to replicate the problem.

Found it :) so if I write model->where('field','value')->where('field','value')->get() is crashes

Hi @znsstudio I don't think this is an issue with this package. I wrote a test with your assumption, and nothing fails. I suspect you have a conflict somewhere. At this point I don't think it makes sense to keep this issue open. If you are able to isolate the problem, and create a failing unit test, please submit that as a PR and I will happily investigate it further. :) Thanks!


Fix typo in Gradle code block

@sonicdoe tnx for this. Please rebase your fork first, or the CI would remain red :)

Sorry, rebased and the check passes now 👍

tnx!


Python's CSV only accepts 'lineTerminator' as '\r\n', '\n' or '\r'

According to the CSV Dialect at http://dataprotocols.org/csv-dialect/, an user can pass any character sequence as a lineTerminator when parsing a CSV file. Unfortunately, Python's CSV reader module only accepts \r\n or \n as lineTerminator.
We need to, at minimum, warn the user, and preferably fix the issue. We could replace the lineTerminator for \n in the CSV text whenever we detect the dialect is set to something different than what's supported by Python.

@rgrp
@pwalsh
WDYT?
I've added warning and following discussion may be better to have in specs tracker. Because current situation is Python will not be supporting lineTerminator in foreseeable future. And it's a core language for the stack. Support it on dp level in my opinion will lead to many problems. So may be better to remove it from spec to do not confuse users? I'm not sure how useful to have something instead of \r\n, \r or \n for line breaks.

I think we should change the spec to require line terminator as one of \r\n, \r or \n
It is not just about Python's CSV implementation - the situation will be fairly the same across most programming languages, so not point in a spec feature that can't be implemented.

@pwalsh +1 on limiting this. Not necessarily in CSV DDF but in Tabular Data Package spec. I don't think it will be a bit imposition ...


No env  variables template

There is no template for .env file. And i think examples with cloudinary are needed

Hey, Let me fix that

just uploaded it, hope that's cool, thank you for the contribution.


Improve Fela example

add webPreset
cleaner code
add key for style
demonstrate Fela composition

cc @rofrischmann

Wow, that's amazing. Thank you @steida!

@steida Could you fix the linting errors? Thaaaaaaaanks! ❤

I can't this week :-/

@steida if you could give me push rights I'll fix it 👍 💯

"Allow edits from maintainers." is checked. Thank you.

@steida fixed 👌👌


Add option for requeue if it fails

@pmorelli92 I have a case where if the event fails a requeue of the message has to be done.
how do you think this problem can be solved?
add one more option to the event metadata or some config in the consumer?

Hi @tomaswarynyca ! I just had time to check out on this issue and the PR you did. First, thanks for the effort of collaborating into this lib, I really appreciate this.
In the current state of the library the only supported way to retry a message is the following:
https://github.com/pmorelli92/bunnify/blob/7d9a8000041c0041e4338e5e6cf004f7a277fb47/tests/dead_letter_receives_event_test.go#L34-L55
In this scenario:

Consumer defines an event handler.
Consumer defines a dead letter queue for events that fail to consume.
Publisher publishes an event.
Consumer's handler fails on the event.
Consumer's dead letter handler gets the event.

The common scenario here is that the dead letter handler will save this event somewhere, so you can inspect and retry this later on. The retry will not happen automatically so you will need another piece of code that will publish this message again into the queue.

Now, if what you want is still an automatic retry mechanism we can for sure do that, but I would like to consider the following:

The consumer needs to take care of this rather than the publisher as it is responsibility of the one handling the event.
RabbitMQ quorum queues is already supporting poisoning messages.
Then we can make so that there is another option bunnify.WithRetries(retries int) that only works when used together with quorum queue.

In the snippet below:
https://github.com/pmorelli92/bunnify/blob/ccefb5170f60a6a9c40925e6d19f6681820cf8f2/consumer.go#L125

We could set the delivery-limit to the number of retries.
Then on the nack we only set requeue to true only if the number of retries is greater than 0 (as the consumer configured retried mechanism)
Add tests to cover this new functionality.

I can do this today / tomorrow if that is fine for you, or if you want to do it yourself you are more than welcomed to do so and I will be reviewing the code as I have time :)

@pmorelli92 thank you for the explanation of your point of view.
Just updated the PR by adding retries to the consumer options.
I'm missing the tests, I'll leave this part to you who are fresher with this development.

All right, I will work on that part then.

You can now try go get<EMAIL_ADDRESS>and tell me if it worked :)

Ohh nice! :+1:
I have just tested it and it works perfectly, thank you!


[Doc enhancement][test mstp varsha]

Please review.

Acrolinx Scorecards
We do not currently enforce a minimum score for content merged to the default branch. This will change in the future.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/messaging-extensions/sample_mstp_by_varsha.md
100
0
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Docs Build status updates of commit 2760031:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/messaging-extensions/sample_mstp_by_varsha.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

closed


Kafka endpoint

The event hub endpoint can also be accessed using Kafka. This should be documented

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

ID: 4eded614-310f-ddab-845d-4cdd6126537f
Version Independent ID: d32113fd-f7bc-4644-b763-a0f9040f075d
Content: Understand the Azure IoT Hub built-in endpoint
Content Source: articles/iot-hub/iot-hub-devguide-messages-read-builtin.md
Service: iot-hub
GitHub Login: @wesmc7777
Microsoft Alias: wesmc

@algattik, Thanks for the feedback! We are taking a look into this and will get back to you soon.

@wesmc7777 can we consider this feedback and add a reference to Kafka?
Thanks

@asergaz Yes, feel free to do that. (I am not familiar with Kafka, so don't know how to do that.)

#reassign JimacoMS4

#reassign v-gettibone

The following users don't have valid GitHub IDs, or are not collaborators on this repo: v-gettibone

#reassign v-gpettibone

Hi @algattik, I added a link to Apache Kafka. Please see https://github.com/MicrosoftDocs/azure-docs-pr/pull/182472 to check it out.

#reassign JimacoMS4

GitHub user v-gpettibone has been removed from the MicrosoftDocs organization, so they were automatically removed as an assignee.

Hi @algattik -- I left a comment for you in the PR: https://github.com/MicrosoftDocs/azure-docs-pr/pull/182472. Can you please let me know your thoughts in there? I'll leave this open for a few more days for you to comment (in the PR) and then I'll push the PR and close this issue. Thanks!

Moved to this PR: https://github.com/MicrosoftDocs/azure-docs-pr/pull/184917

Hi @algattik -- thanks for all your help on this! The changes are now live: https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-devguide-messages-read-builtin#read-from-the-built-in-endpoint. Please have a look and let me know if there's anything else that needs to be changed. I'll leave this open until Friday for any additional feedback you might have, and then I'll close it.
Thanks again for your help,
Jimaco

@algattik Thanks again for all your help with this! As stated above, the changes we agreed on are now live. At this time, I'm going to close this issue. If you think the issue needs to be further addressed, please open a new one.
#please-close

Just for clarification: Does the built-in endpoint of the IoT Hub is kafka compatible by default? For Event Hubs this needs to be explicitly enabled, but I don't see any option about enabling this on the built-in endpoint.