Notification once barcode is scanned.

Is your feature request related to a problem? Please describe.
Once Streaming using the getBarcodeStreamReceiver, there should be notification bar or snackbar that popup and let u know the barcode was scan and press ok to continue to scan.
Describe the solution you'd like
have a snackbar popup
Describe alternatives you've considered
n/a
Additional context

I can't imagine why anyone would want to tap an OK button after scanning something. Imagine scanning 1000 things... that is 1000 OK taps. Even still, you could add this yourself to your own project, you don't need to add it to this project.

so how will you know u actually scan the item? There needs to be a way to when it scan a card can some up for a bit and go back done.

It depends on your UX.
In my app, I have a set number of Things that need to be scanned. So, I have a screen with one button for each Thing. User clicks the button, scans and when done is shown the screen again. The button goes from yellow to green to show that the item has been scanned and displays the scanned value of the Thing just below the button (it is a serial number). I also have haptic feedback to let the person know the scan is completed without even looking at the screen. This UX will be used to scan about 300k+ QR codes, so I can't imagine displaying a modal they have to click OK on as that is a lot of clicks.
I'm sorry that you disagree above with my advice, but why don't you ask a few other people or do some usability studies? I'm sure they will tell you the same thing when they are scanning a whole lot of items.

To do it on your own, simply display a modal once you get a result back from the scan. That should be pretty easy and does not require any changes to this project.

I'm having issues with the model keeping on top of the camera screen. if you can, would you be able to show me the process on your code?

Ah, I missed the part where you are streaming. I'd say that the model isn't staying 'on top' because that is a bad idea to do that.
The streaming use case requires another screen. It would be that you have the device always scanning and the results are showing up on another screen. Just like a hand scanner.
Which I don't understand why anyone would buy an expensive mobile phone and leave it in streaming mode, when a less expensive (and more durable/reliable) hand scanner is the right solution.

what is your recommendation?
how can I call the function over?

I gave you my recommendation. If you want to do streaming, buy a hand scanner.

I was going to use your plugin with continuous scan to create an event ticket scanning app. The ability to continually scan and see the result of the ticket scan being a valid ticket would be helpful. Save time for our volunteers at the event not having to press a button, simply pass the ticket barcode under the camera and see a result of the scan after passing it to the server for validation.

I completely agree with you. Its the same thing I'm looking for, I had to use a hack for it to work with a timer.

I'm using this hack to fake a continuous scan. Probably similar to what you're doing as well. https://github.com/AmolGangadhare/flutter_barcode_scanner/issues/18#issuecomment-528213059

@dashcg

Scan
Show 'green' confirmation screen for X seconds.
Step 1.

You don't need a continuous scan. It is just a loop.

I really need this soluction too. Unfortunatelly I work with tickets check, so I need to get a confirmation and check next very quickly.

@dashcg
1. Scan

2. Show 'green' confirmation screen for X seconds.

3. Step 1.

You don't need a continuous scan. It is just a loop that you can break by hitting cancel in the scan screen.

How do you make this ? Unfortunatelly I can't .

@git-xbits Create an example project and let's see what you have. It really shouldn't be hard to start a scan and then get a value and repeat the scan. As soon as you don't get a value (due to hitting cancel), you stop.
But really... for something like checking a huge number of tickets, it is FAR better to use a dedicated scanning device over a mobile phone. You're asking for trouble doing what you're doing.

@lookfirst, if you look at other apps, example target, they have the barcode scanning where by you scan it pops up with a card that said the item was found, which goes away and u can continue scanning again without it calling a new instance of the camera.

@git-xbits and @dashcg
`Future pressScan() async {
var barcode = await _getBarcode();
if (barcode.isNotEmpty) {
setState(() {
  result = barcode;
});

var list = //Your Data CodeHere

var foundItem =
list.where((product) => product.productBarcode == result).toList();

if (foundProduct.length == 0) {
  Flushbar(
    title: "Not Found",
    message: "Scanned Product Not Found",
    duration: Duration(seconds: 2),
    backgroundColor: Colors.red,
  ).show(context);
} else {
    Flushbar(
      title: "Added to Cart",
      message: "#${item.id} Has Been Added To Cart",
      duration: (Duration(seconds: 2)),
      backgroundColor: Colors.green,
    ).show(context);
  }
}

}
//I have a Toggle in my settings screen to turn on or off continuous Scanning.
if (Utils.prefs.getBool("BarcodeGo") == true) {
//I user a timer, which allows the Popup to Show before starting the loop.
Timer(Duration(seconds: 3), () {
if (barcode.isNotEmpty) pressScan();
});
}
}`
Future<String> _getBarcode() async {   String barcodeScanResult;   try {     barcodeScanResult = await FlutterBarcodeScanner.scanBarcode(COLOR_CODE, CANCEL_BUTTON_TEXT, isShowFlashIcon, scanMode);   } on PlatformException catch (e) {     if (e.code == BarcodeScanner.CameraAccessDenied) {       setState(() {         result = "Camera permission was denied";       });     } else {       setState(() {         result = "Unknow Error $e";       });     }   } on FormatException {     setState(() {       result = "You pressed the back button before scanning.";     });   } catch (e) {     setState(() {       result = "Unknow Error $e";     });   }   return barcodeScanResult ?? ""; }

Most of the users are seems to need this thing.
I'm planning to add some solution to this.
Have a boolean flag e.g. scanConfirmationRequired based on which the alert will be shown.
true = show alert confirmation
false = do not show alert confirmation.
Let's have some feedback on this.

How about a beep as an option after which the barcode was successfully detected ?

In my case, I don't want to show confirmation popup but notify read result by toast or snack bar.
Currently, I think users cannot know the barcode was read or not yet, right?

Yeah, similarly for me it would be nice to inform the user when an item has successfully scanned in continuous mode.

It would be greate if we could use the FlutterBarcodeScanner.getBarcodeStreamReceiver context to show whatever we want on success or on failure reading barcode and search for the code on database.
Dispite that I really thing this is an awsome library.

I'm also looking for this feature. There is currently no feedback on the stream scan so the user cannot know if the barcode has been properly scanned.
But in my opinion, adding a popup will go against the general purpose of the streaming scan which is to scan multiple barcode in a short time (without adding extra interactions).
Although @ScorprocS solution would be great, maybe just a check icon appearing on top of the scanner would suffice. Like with a duration parameter to avoid the scanner to scan the barcode while the icon is displayed.
Thank you anyway for you work :)

Que diriez-vous d'un bip en option après lequel le code-barres a été détecté avec succès?

How about a beep as an option after which the barcode was successfully detected ?

Good morning all.
I want to thank the designer of the package; it is a very good job which helped me a lot in my personal project.
Happy New Year to everyone.
I bring this proposal back to see if anyone could have done it.
since when you do continuous scans, you don't know if it's taken into account or not?
suddenly we have trouble using it

Que diriez-vous d'un bip en option après lequel le code-barres a été détecté avec succès?

How about a beep as an option after which the barcode was successfully detected ?

Good morning all.
I want to thank the designer of the package; it is a very good job which helped me a lot in my personal project.
Happy New Year to everyone.
I bring this proposal back to see if anyone could have done it.
since when you do continuous scans, you don't know if it's taken into account or not?
suddenly we have trouble using it


Split into multiple crates

This needs some detailed investigation and planning. Priority is low until MVP is finished.
Cargo supports workspaces. Investigate splitting the repo into multiple crates. Brain and brainfuck are pretty different projects and don't need to share very much code. To deal with this, brainfuck has evolved to be one big file containing all of its code. It could benefit from some splitting and refactoring.
Ideally we should have a structure like so:
<repo root>
    - compiler/         (formally the files in src/)
    - brainfuck/
    - debugger/        (formally brainfuck-visualizer)

[x] Split brain and brainfuck into different crates
[x] Move brainfuck-visualizer into its own repo

The result of this was the three repos:

brain-lang/brain
brain-lang/brain-debug
brain-lang/brainfuck

Also, a new issue was created in brain-lang/brainfuck to address some of the things not done as part of this issue: https://github.com/brain-lang/brainfuck/issues/2


Reset Preview

Is it posible to reset / rebuild the preview box to new constraints? For example in a mobile sized screen I have 1 size on a desktop sized screen I have a version twice as large. When I initiate the cropper it works fine in whatever size I started in, but when I hit the breakpoint to shrink or enlarge the preview box the preview does not change size. I figure if it can build it it can hopefully reset it. I found a function in the source for prevewReset(), but can't figure out how to leverage it.
Any help would be appriciated!

+1

Hey, we have exactly same issue - we're having cropper set up on 100% width and height and when switching orientation of the screen it's not resized.
So +1 from me

Customize preview with crop.cropper event.
Restart the cropper when resize the window.

@fengyuanchen works as a charm, thanks!

Thanks for the response @fengyuanchen . I have tried both $().cropper('destroy').cropper(), and $().cropper({preview: '.img-preview'}). Still seems to do the same thing.
What will do it is if I change the aspect ratio. Then the preview resets fully.

@moderith $().cropper('destroy').cropper() didn't work for me, but ```
$(element).cropper('destroy');
$(element).cropper(settings);

I have added an example for customizing preview: https://github.com/fengyuanchen/cropper/blob/master/examples/customize-preview.html


Should implement a helper class that copies a source directory into a target directory recursively

Unit test often require copying a source directory to a target.
It is necessary to prepare "test fixtures".
The materialstore TestHelper class does it.
The unittest-helper should cover this requirement

also I need a helper method "delete directory recursively" as well

done at v0.2.4


Samples

It'd be great to have samples demonstrating the generated code in HTML pages. I'm having some difficulty wiring up the factories into a single controller. A simple pet store demo would be quite helpful.

@bradygaster I'm closing this for the moment, keep me posted.

That definitely does, help, @wcandillon! Thanks for that. I'll peruse the code and try to grok it and may follow up. Sorry for my lag on the issue's response - email filters #ftw.


Can I use MeanPooling layer solely to process my data?

Hi, I would like to build a model like following to preprocess 2 datasets before feed into my model:
model = Sequential()
model.add(AveragePooling1D(input_shape=(2,2)))
model.compile()
How could do the preprocessing and get the result, should I use model.train(input_data) or model.predict(input_data)?

If there are no trainable weights in your model, just compile and then use the predict function. Actually, you can pretty much always use the predict function, even if you didn't train your weights (you could use this to try out if your model compiles and if dimensionalities are right.)

@phdowling ok, thanks.


Getting User ID by phoneNumber

How can I get userID by phone number !?

Unfortunately I don't believe the API has that functionality yet. They are still actively working on adding more endpoints, though, as far as I'm aware.

Thanks! it is very imortant for me!!!
jusy as a question! do you know any well implemented telegram API for C# !? not telegram Bot API!

I don't think anyone has come close to implementing one yet, sorry. I've been looking for one for a while now as well!

thanks!


downgrade systemctl commands to service commands

systemctl was not working on install "good old" service seemed to be working.
Not sure who is creating systemctl commands so this was easier fix.

Thanks for the fixes!


Add fastapi support

PR types(PR类型)

Other
Description

New Feature:
使用FastAPI做服务化

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.4 out of 5 committers have signed the CLA.:white_check_mark: jiangjiajun:white_check_mark: karagg:white_check_mark: Zeref996:white_check_mark: rainyfly:x: rootroot seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


isHexadecimal ignores length

Why isHexadecimal not check that string length can be divided on 2 without reminder?

Hexadecimal is a way of encoding numbers in base 16. There's nothing to say that the length of a hexadecimal string has to be divisible by 2. For example, A is a valid hexadecimal digit (equal to 10).
You're probably using hexadecimal as an encoding for binary data, in which case each byte would require two hexadecimal digits. If this is the case, use str.length % 2 == 0 && validator.isHexadecimal(str). Not everyone has this use case.


New version: yt-dlp.yt-dlp.nightly version 2<IP_ADDRESS>703

Created by 🥟 Dumplings in Run #218.
Microsoft Reviewers: Open in CodeFlow

For moderators
This account is automated by Github Actions and the source code was created by CoolPlayLin. If you have any questions about any pull request, don't hesitate to ping Exorcism0666.

[!warning]
With the new version of Komac, numerous Pull Requests may contain bugs or unwanted elements. If such issues arise, please tag russellbanks so that these bugs can be addressed in future updates.

[!important]
Please carefully review these Pull Request before merging. If it is a Pull Request for removing incorrect content and the URLs are issue, free upon manual checking, please close this Pull Request directly. (It is best to inform Exorcism0666 of the closure.)

良い一日をお過ごしください！


Linear op mode support

Adds support for a linear op mode (sample included). All users have to do is add waitForVisionStart() at the beginning of their runOpMode() and extend LinearVisionOpMode instead of LinearOpMode.

How would I add an autonomous program into the LinearVisionSample? Or would I create a new program just reference the variables from the LinearVisionSample?

@kskruger,
The LinearVisionSample is an autonomous sample program (just without robot code). To add your own (robot) code:

Add whatever initialization you want right before the waitForStart() command just like any other linear opmode.
Add your robot code in the while loop, right before the waitOneFullHardwareCycle(). If all you want is to read the color of the beacon, you can remove almost all the telemetry and the if statement in the while loop - all you need is to read the beacon variable such as in beacon.getAnalysis().getColorString().


License meeting announcement

Added a post for the license meeting, and added it to the semester calendar.

Oops, I wrote on your posts oslerw. You can tell I don't do a lot of pull requests. But, anyways, I followed the previous posts as an example for line length, but we can switch to an 80 char wrap.
For the end, I avoided such a signature in this post as I went with more of the royal we, and referred to myself in the third person in the post. I could put some other signature:
-- OSC staff

That's fine. I noticed that some of the posts Eli wrote also don't wrap, and the sig is optional. This is good to accept.

why am i just now hearing about text not wrapping. make an issue

Sorry, that wasn't meant to be a bad thing, I just didn't notice your posts weren't wrapped and thought we had a convention we don't actually have. If you want we can make it a convention, I can whip up a script that fixes things. I'll make an issue.


Added BGN currency

Thanks for the PR.  However, I'm afraid this won't work.  The CoinMarketCap API doesn't support BGN currency.

I've already tested it and it works, however I saw that the BGN currency does not exist in the CoinMarketCap API, but you can test it to check!

  Appears that BGN isn't documented but the prices are returned in BGN.
Thanks for the contribution.


Visualize K-MAPS position analysis

King safety
Material advantage
piece Activity
Pawn structure
Space advantage
Assuming we can compute these in an objective way, a simple KMAPS string with different colors for the letters (green, neutral, red) could be helpful.

King safety is evaluated by considering the positions of all pawns on the file the king is occupying and both neighboring files. A penalty is assessed if any of the king's covering pawns are missing or if there are holes (squares which can never be attacked by a friendly pawn) in front of the king. Additional penalties are imposed if the opponent has open or half-open files near the king.  This can use a hash table to minimize computation. (more here: https://www.chessprogramming.org/King_Safety)
Material is easy to compute.
Piece activity, too.
Pawn structure... maybe count pawn islands and doubled, isolated, backward, and passed pawns. Apparently pawn structures can be computed efficiently using a hash table. (see here: https://www.chessprogramming.org/Pawn_Structure)
Space advantage is easy, as well.

This needs more priority.


getResponses() returned data

getResponse() returned data was array. but when accessing that array, encountering an undefined result instead of response from server. The response was a json containing array of one object. I've been already set returnType to json but nothing has changed

I think this issue happen because of ajax async call handling on that method. or maybe I using that method in a wrong ways?


Copy-edits on landing pages

Improved the style and fixed a few small mistakes on the landing pages for tutorials and how-tos.

Thanks!
On Apr 12, 2017 6:36 PM, "Mu Li"<EMAIL_ADDRESS>wrote:

Merged #5810 https://github.com/dmlc/mxnet/pull/5810.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/dmlc/mxnet/pull/5810#event-1041157758, or mute the
thread
https://github.com/notifications/unsubscribe-auth/ACR4ziRKqPpmmjZYqbFRLOTQBMXsWRrKks5rvXwngaJpZM4M8JgU
.


Fixed incorrect query results caused by buffer reuse in merge adapter

Fixes #7359.

Once merged I am happy to cherry-pick for v.2.

https://github.com/prometheus/prometheus/pull/7364


Update remote-desktop-connection

According to the homepage, this should program should work on 10.5.8 and later.
Fixes #12488

There’s nothing wrong with #12488, I checked. See the note in requirements.

10.5.8 or a later

but

not supported for use with Mac OS X v10.7 (Lion) or later.

Oops, I totally missed that second part, my bad.

In fairness, it is pretty ridiculous. Just say “from 10.5.8 to 10.6.8”, Microsoft.


Move lint tests to their own tox environments

In this model, linters are only run once.

Can you show me where the linters are actually executed? I dont see it in the log here on GH so I think maybe something is missing...

@cyberw I missed the CI update on the first attempt. I've added the linters to tests.yaml so they'll run as separate checks.

Awesome, thanks!


Add keyframes and additional video encoder codec settings

Please add additional video encoder settings especially the keyframe interval, right now ScrCpy records all-intra videos without any keyframe which is very wasteful in terms of bitrate because bitrate is split across every frame (not compressed at all, each frame same size).
I understand this is probably done to keep resources usage lower on the phone, but not always a desired method. really need ability to specify keyframe interval.
Also need ability to control ISO/exposure etc.
Would be nice if you could add command line to the video encoder so we can pass custom command line options to codec without need to request each individual one as feature.

right now ScrCpy records all-intra videos without any keyframe

Hmm, no, it is set to 10 seconds: https://github.com/Genymobile/scrcpy/blob/206809a99affad9a7aa58fcf7593cea71f48954d/server/src/main/java/com/genymobile/scrcpy/SurfaceEncoder.java#L17

Would be nice if you could add command line to the video encoder so we can pass custom command line options to codec without need to request each individual one as feature.

This option already exists: --video-codec-options:
    --video-codec-options=key[:type]=value[,...]
        Set a list of comma-separated key:type=value options for the device
        video encoder.
        The possible values for 'type' are 'int' (default), 'long', 'float' and
        'string'.
        The list of possible codec options is available in the Android
        documentation:
        <https://d.android.com/reference/android/media/MediaFormat>

For example:
scrcpy --video-codec-options=i-frame-interval=1

or as a float (since Build.VERSION_CODES.N_MR1):
scrcpy --video-codec-options=i-frame-interval:float=1.5

cf https://developer.android.com/reference/android/media/MediaFormat#KEY_I_FRAME_INTERVAL

Very nice not sure how i missed that.


Created the all(array, value) function.

fixes #4
fixes #5
fixes #6
I created a method that checks if all objects in an array match a certain value using ===. Also wrote the corresponding tests and updated the README.md.

Extended functionality to include #5.

Now includes the functionality described in #6.

Thanks for your pull request :heart_eyes:
I'll check it out as soon as possible

I'll get to work on it later today!

Alright, should be all good by the way.

Ok, but I need to setup the release process before merging any PR. Also, I'll apply some refactoring on your code after merging, I'll let you know.
For the next time please make sure you're using our .editorconfig file (for example, you don't have new line at the end of your files) and eslint (To get feedback on code style before pushing, ie before Codacy Checks). You can find more info in the CONTRIBUTING.md file.


Share dialog "revoke link" broken in some case

Description
Setup:

Open a project
Press on "Share" button in upper right corner
Create both a read-only and a read-write link
Revoke both

Both links remain active, despite the message "Share linked revoked" and the link-field going back to it's original content ("Create read-only link" instead of the actual link).
Closing and reopening the share-dialog doesn't change the visuals of the dialog.
Closing and reopening the project and the share-dialog makes both links reappear.
I could reproduce the error in a second project.
In a third project, when only creating a read-only link and revoking it worked as expected.
Reproduction URL
No response
Browsers
Firefox
OS
Linux

Fixed.


Something strange with generated documentation for init function

This is low priority because they are not meant to be used

Very likely due to inheriting from pydantic BaseModel


[Usage] How to unfreeze the visual encoder when fine-tuning LLaVA?

Describe the issue
Issue:
How to unfreeze the visual encoder when fine-tuning LLaVA?

Have you resolved it?

Have you resolved it?

Just unfreeze the forward process, which is currently no_grad(). Also, set require_grad = True in some places.

Have you resolved it?

Just unfreeze the forward process, which is currently no_grad(). Also, set require_grad = True in some places.

Hi, I'm curious about performance trained with visual encoder unfreeze, but I don't have GPU resource now. Does it drop or rise?

Can you provide where to add requires_grad=True?

Hi~ I have the same question.Have you sovled it?

@Purshow you can remove no_grad() from here: https://github.com/haotian-liu/LLaVA/blob/c121f0432da27facab705978f83c4ada465e46fd/llava/model/multimodal_encoder/clip_encoder.py#L45
Additionally, explicitly set the require grad to true for the vision parameters in trainer.py
Something like the below:
for name, p in model.get_model().vision_tower.named_parameters():     p.requires_grad = True

@Purshow you can remove no_grad() from here:
https://github.com/haotian-liu/LLaVA/blob/c121f0432da27facab705978f83c4ada465e46fd/llava/model/multimodal_encoder/clip_encoder.py#L45
Additionally, explicitly set the require grad to true for the vision parameters in trainer.py
Something like the below: for name, p in model.get_model().vision_tower.named_parameters(): p.requires_grad = True
Thanks!


Book 1. Chapter 15 typos

Section 15.2.8. Beam search: Incorrect values for $p(y_2 \vert y_1 =A)$. It should read, according to Figure 15.12, as $p(y_2 \vert y_1 = A) = [0.1, 0.4, 0.3, 0.2]$. Last entry in the vector is set to $0.3$
Section 15.2.8. Beam search: incorrect values for $p(y_4\vert y_1=A, y_2=C, y_3=B)$. It should read $p(y_4\vert y_1=A, y_2=C, y_3=B) = [0.1, 0.2, 0.1, 0.6]$
Equation (15.38) reads $\mathcal{K}(x;w) = \exp(-\frac{w^2}{2}u^2)$. It should read $\mathcal{K}(u;w) = \exp(-\frac{w^2}{2}u^2)$.

fixed, thanks


universal login

now in this time every one have facebook or gmail
it wil be nice if the can log in with it
it wil be huge

Hi,
Thanks for the suggestion.
You can help the development of pH7CMS by your contribution.
https://www.patreon.com/bePatron?u=3534366
You can also hire a developer to build such solution for you and we'll add this to the package.
Also, if you can star us on gitHub it would be appreciated.
You can also make a nice review on Sourceforge.

Thank you @polynamaude! :1st_place_medal:  Really appreciate it :+1:

Hey @tendoryu
This used to be implemented in the past for Twitter, Facebook, Google and Microsoft accounts. Unfortunately, the module had to be disabled by default, because they APIs changed and the "connect" module couldn't be working at all anymore. Those APIs will have to be updated. However, because of lack of time, this isn't my priority at the moment.


Feature Request: JUnit 5 TestSource (IDE "jump to source" feature)

Karate has a nice JUnit 5 support. IntelliJ has a nice JUnit 5 support. What is missing is support for JUnit 5 TestSource (https://junit.org/junit5/docs/current/user-guide/#writing-tests-dynamic-tests-uri-test-source) which would allow clicking on a failed test...

to jump to the corresponding scenario:

Currently we implement that feature on our own:
    fun ScenarioResult.asTestSourceUri(): URI {
        val workingDir = System.getProperty("user.dir")
        val featurePath = scenario.feature.relativePath.replace("classpath:", "")
        val line = scenario.line

        return URI.create(File("$workingDir/src/test/resources/$featurePath").toURI().toString() + "?line=$line")
    }

Though it works, implementation could be more robust and also for that to work we virtually had to turn Karate upside down as the URI is required during the DynamicTest instantiation.

@bkahlert sure, I was not aware of this - also cc @kirksl to look out for similar possibilities on the VS Code plugin side
for now I'll tag this as hacktoberfest to see if anyone steps up

@bkahlert BTW I'm re-writing the core of karate ref #1281 - so if you have any more things you'd like to improve, this is a good time, feel free to add comments. here is one example of upcoming improvements: https://github.com/intuit/karate/issues/1311#issuecomment-706094978

@ptrthomas - this looks an interesting enhancement- if its ok I would like to take a initial jab at it? Thank you.
any pointers to get started wrt karate to implement this will be appreciated (though not mandatory) 😀 !

@chaudharydeepak go for it, any research findings will help I still don't understand what OP meant by we virtually had to turn Karate upside down

@ptrthomas - let me know if any documentation needs to be updated to highlight this. Thank you.

@chaudharydeepak this is great, I think the IDE auto experience is good enough

@ptrthomas wish list:

a builder would be great (see attached)
a way to configure that JSON / Cucumber reports should be generated as well
or at least a way to find out different paths easier

I already worked on these features and attached what I got far :)
Archive.zip

@bkahlert great, (2) is certainly happening in 1281 - I thought the Runner and JUnit5 helpers were already builder-like - but we'll try improve those. since I'm not that great at kotlin you can request any specifics. maybe best thing is when we start releasing RC builds, you can try them and provide feedback. may be a month or two out

@ptrthomas Can't wait to see how you're going to solve the problem of finding the original feature file. I'm using this heuristic approach
feature.relativePath.replace("classpath:", "").let { featureFilePath ->
    return KarateDirectories.src.search { dir -> featureFilePath in dir }?.resolve(featureFilePath)?.toUri()
}

which works in my IntelliJ but not guaranteed to work everywhere.
Concerning the builder pattern:
It might also be a misunderstanding. It would be helpful to also be able to set system properties for the scope of the test execution because I like to set everything from code (as an alternative to provide everything from command line).
My background: I'm working on a tiny lib to make using Karate for E2E testing as easy as thinkable for me, my colleagues and other developers. The easiest I came up with are the KarateRunner you find unfinished in the attachment and a template pattern based JUnit test class that becomes active if extended:
@E2E
class E2ETests : KarateTestTemplate() {

    override fun KarateConfig.tests() {
        val application = SpringApplication.run(NotificationApp::class.java)
        val port = application.environment["local.server.port"]

        withServerPort(port)
        withFeaturesFoundAt {
            classPath("e2e")
        }
        // TODO set num threads
    }

    override fun KarateReporter.reports() {
        generateCucumberHtmlReport("Notification API") {
            addClassifications("Project", "You name it")
            ...
        }
    }
}

I hope that helps: What to me is the biggest difference (and advantage) of Kotlin to Java:

there are extensions functions that allow functions of the style myFun(obj1, obj2, obj3) to be called like obj1.myFun(obj2, obj3) which allows for amazing APIs.
If the last parameter of a function is a lambda, the function can not only be called like myFun({ LAMBDA }) but also like myFun { LAMBDA } which again allows for amazing APIs (e.g. see here https://try.kotlinlang.org/#/Kotlin Koans/Builders/Html builders/Task.kt)
Would have someone told be earlier, that would have helped me learning Kotlin way faster.

able to set system properties for the scope of the test

yes will take care of this in 1281 - another reason is so that you can even run multiple "suites" in parallel, which we are designing for

tiny lib to make using Karate for E2E testing

sounds like you are using spring boot, please do be aware of #751 and maybe you can advise / help test - also there is this classpath scanner lib that may help with your first point: https://github.com/intuit/karate/pull/1317#issuecomment-706912304

problem of finding the original feature file

yes. one option is to have the user specify an optional config file or system property which will make karate look in e.g. src/test/java for whatever is found in target/test-classes

problem of finding the original feature file

yes. one option is to have the user specify an optional config file or system property which will make karate look in e.g. src/test/java for whatever is found in target/test-classes

Hi @ptrthomas - regarding configuration - i think it will make sense to have a global or module specific config file (kafka.props etc) pre-configured to load on runtime - & as well supports different profiles - for ex test env1 / test env 2 etc. Let me know if I am on wrong track altogether on this requirement.

@chaudharydeepak yes I haven't thought this through - actually we may be overthinking this - what if this was just yet another param we can pass into the Runner / RunnerOptions etc and even CLI

1.0 released


Added http and https handler for will-navigate event

This fixes #1319 and should be good to merge.
Based on the suggestion from the issue I've prevented navigation when a user drops content from a browser into a terminal. Instead, it enters in the URL of the content the user dropped.
Seemed like a simple issue to tip my toes in to an awesome project!

Thank you 🙌

@matheuss you didn't see my review 😠


Support sending shell output to any device or file

Gonna start with streams and support only stdout and stderr for now. Can always add file support later, if needed.

This is done. Also separated logging device and command output device.


Decode base64 file content (#3097)

Pull request opened by the merge tool on behalf of #3097

Merged in d917c1c33e3aee37336fbb535368a75c1bc0372e


Interpret Arrow results as stolen references

This fixes the current memory leak on using Arrow results.

Codecov Report

Merging #135 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master     #135   +/-   ##
=======================================
  Coverage   97.63%   97.63%
=======================================
  Files         145      145
  Lines        2871     2871
=======================================
  Hits         2803     2803
  Misses         68       68

Impacted Files
Coverage Δ

...pp/turbodbc_arrow/Library/src/arrow_result_set.cpp
97.52% <100%> (ø)
:arrow_up:

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 89262b4...9b1c522. Read the comment docs.


Release 0.3.0

Codecov Report

Merging #20 (a881885) into main (df19993) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main      #20   +/-   ##
=======================================
  Coverage   94.21%   94.21%
=======================================
  Files           5        5
  Lines         242      242
=======================================
  Hits          228      228
  Misses         14       14

Impacted Files
Coverage Δ

rtsp_to_webrtc/client.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Rounded corners on topbar and now playing bar no tippy box

Curved Borders for Top Bar
Before

After

Curved Borders for Now playing Bar
Before

After

Removed the Tippy Bar
Before

After

Thanks for the PR. I'm not sure about hiding the tippy box, this should not be the role of a theme like this one.


MainMenu fixes

This PR is not even remotely as major as the addition/deletion count suggests...

Implemented MainMenu::SelectRelated
Reordered MainMenu.cpp to match the function order in the EXE
Matched MainMenu::LoadTitleAnm
Matched MainMenu::LoadDiffCharSelect
Matched MainMenu::LoadReplayMenu
Improved MainMenu::ReplayHandling accuracy (96% -> 98%)

Looks good with a preliminary look, will merge for now!


presto315 hive.information_schema.columns is empty

hi
today I upgrade my presto cluster version from 0.201 to 315.
Then I found the table hive.information_schema.columns is empty .
Now,I run the SQL "show tables from xxx" it return 0 rows.

So, what is the change about it?
Thank you!

@gaojun2048  Is db_benchmarktest a schema in hive catalog?
Do I understand correctly that

SELECT * FROM hive.db_benchmarktest.event returns data,
but SHOW TABLES FROM hive.db_benchmarktest does not show "event" table?

What's the value of hive.security?
Do you have system access control configured?

@gaojun2048 Is db_benchmarktest a schema in hive catalog?
Do I understand correctly that

SELECT * FROM hive.db_benchmarktest.event returns data,
but SHOW TABLES FROM hive.db_benchmarktest does not show "event" table?

What's the value of hive.security?
Do you have system access control configured?

it's not show table from db.
it's
show columns from table;
return empty result.

@jiangzhx thanks for clarification. I got mislead by this:

Now,I run the SQL "show tables from xxx" it return 0 rows.

Anyway...
What's the value of hive.security?
Do you have system access control configured?

@jiangzhx thanks for clarification. I got mislead by this:

Now,I run the SQL "show tables from xxx" it return 0 rows.

Anyway...
What's the value of hive.security?
Do you have system access control configured?

we upgrade from 0.201 to 315. also  implement SystemAccessControl by ouself.
the hive config:

connector.name=hive-hadoop2
hive.metastore-cache-ttl=120s
hive.metastore-refresh-interval=5s
hive.metastore.uri=thrift://localhost:9083
hive.config.resources=/etc/hadoop/conf/core-site.xml,/etc/hadoop/conf/hdfs-site.xml

implement SystemAccessControl by ouself.

Did you implement filterColumns method there? Can you share its code?

filterColumns were added in 308

filterColumns were added in 308
thks.
we just return
return Collections.emptyList();
i made a mistake;

@jiangzhx i am glad you found the source of the problem.
Assuming you're from the same team as @gaojun2048 , let me close the issue.
(Also, if you haven't yet, be sure to join Presto Slack https://prestosql.io/slack.html. See you there!)

@jiangzhx i am glad you found the source of the problem.
Assuming you're from the same team as @gaojun2048 , let me close the issue.
(Also, if you haven't yet, be sure to join Presto Slack https://prestosql.io/slack.html. See you there!)

yes,we work together。thks,please help close the issues.


Invalid Component Name when using @pulumi/awsx

Trying to create a VPC instance using @pulumi/awsx and running into an error during the creation process:
  Created     Vpc awsx:ec2:Vpc → Vpc-public-1 aws:ec2:Route (1.2s)
|  Error        Invalid component name "Vpc". Component names must be unique.

×  Failed
   Invalid component name "Vpc". Component names must be unique.

This is similar to issue #250 which currently has a PR open #299

Have this issue as well, seems to have been reported in the discord  too. On SST .408 but also had this issue in the .3xx as well.
Tried a combination of sst remove/refresh/update with no luck. I would get this when running sst dev, not sure if I get this running the other commands, will try later.

Very related issue, albeit a bit different, maybe because I'm running a newer version since June 7th (v0.0.501).
/// <reference path="./.sst/platform/config.d.ts" />
import * as awsx from "@pulumi/awsx";

export default $config({
  app(input) {
    return {
      name: "my-app",
      removal: input?.stage === "production" ? "retain" : "remove",
      home: "aws",
      providers: { aws: true },
    };
  },
  async run() {
    const vpc = new awsx.ec2.Vpc("Vpc", {
      availabilityZoneNames: ["us-west-2a", "us-west-2b"],
      natGateways: { strategy: "Single" },
    });
  },
});

Invalid component name "Vpc-1". Component names must start with an uppercase letter and contain only
alphanumeric characters

My guess is that Pulumi appends a -1 to the name (despite the name being already unique in my AWS account), which conflicts with the naming convention defined by Ion. Also not sure why Ion enforces such convention to begin with.

Relaxed naming convention. This will be possible in the next release.


ERROR: Dictionary file(s) is missing.

System: Arch Linux 5.16.13-arch1-1
Installed through the AUR.
When I launch cwordle, I get the error:
ERROR: Dictionary file(s) is missing. Create file <dict.txt> and/or <possibles.txt>
I have to be inside /usr/share/cwordle in order for the play to begin and not see the error.
Given that cwordle seems to install dict.txt and possibles.txt into the dir /usr/share/cwordle by default, could it first look there before complaining it can't find it?

True. I think it's fixed now. Error was due to a previous commit clash. Thank you for letting me know.

I am sorry to report I am still encountering the same issue. Both on the AUR version and when compiling it myself.

Yes. For simple use use cw.c instead. Try compiling it like this :
gcc cw.c -o cw
Run as ./cw
In order to install it with cmake you have to be superuser :

Download or clone repository
cd cwordle && cmake . && sudo make install
Run as cwordle


some questions to talk on evaluate and face_verify

why use Euclidean distance but not angular to calculate accurancy when evaluating lfw etc.

why use mean values of embeddings of one ID as class_centre when registering, with not l2_norm to put on the hypersphere

For 1, do you mean cosine similarity? I noticed that he normalized the embedding to 1. This means that the cosine similarity is equivalent to (squared) Euclidean distance, plus a constant.

For 1, do you mean cosine similarity? I noticed that he normalized the embedding to 1. This means that the cosine similarity is equivalent to (squared) Euclidean distance, plus a constant.

thank you very much, i get it


I want to add a cheatsheet of Django

Hello Sir,
I am Raman Kumar Gupta , with GitHub Id - Ramank2002
I want to contribute to your repository by adding a  cheatsheet on Django framework.
Kindly consider it and I'll be very grateful to you for this .
Regards,
Raman Kumar Gupta

You can do better than adding cheatsheets, their are a lot of things you can contribute to.
Add some unique procedures, any code for specific items and more.
There are already many chestsheets available openly.


Define JSON schema/profile/implementation guide for GMSA FHIR project

To ensure all GMSA data sources adhere to a minimal schema, defining this would be useful.
Also could be worth having a defined set of input forms to ensure that the data is transformed in the same manner.
For both tools, try and get as much helpful information of what is wrong (along with location in JSON) and how to fix it rather than just saying not valid.

validating objects:

joi

similar to yup
can be nested, will tell you top level what is missing or doesn't fit a rule

revalidator

object properties to set information
compatible with JSONSchema
pattern, description, default and types
last updated 8 years ago

jsonschema

also object based properties
https://www.jsonschemavalidator.net/
make json schema from data: https://www.liquid-technologies.com/online-json-to-schema-converter

Hi @EthelEz, are you happy with me to work on the specify_data_model branch, to move the currently failing FSH files to a separate directory and to remove some duplication of lines? Either that or would you like to make a PR and add me as a review for that branch?

Yes sure. I am having lots to look at, at the moment.


WIP: feature for sharing url

implement share url function to export current script as gzipped data url
inital lame version adds a menu item to export

copies the url to clipboard, and writes url to console
todo

[ ] ui feedback
[ ] will not work for multifile projects a warnign to user should be displayed ...
[ ] we also need some kind of state to know if current script is multifile

Sounds good.
You might want to evaluate whether copying into address bar is more intuitive for you.
You can see what I mean by clicking on "Share" button on GraphvizFiddle and watch address bar:
https://stamm-wilbrandt.de/GraphvizFiddle/
It copies current .dot file from editor window into URL, so that it can be shared or stored (urlencoded).

I forgot one plus point of "save to address bar" — you can easily create a bookmark from that URL.


Mini and Zoom compatibility: Waiting for video or Video is fragile when the scene is moving

Dear rosettadrone friends,
In QGroundControl, we are able to take off, landing, got summary of drone parameters.
However, the video panel is always showing "waiting for video", even though we've set Video Source to UDP Video Stream (tried both H.264 and H.265), and set UDP Port to 5600.
We tried both internal QGC in the same android device with rossettadrone and external QGC in a separate Ubuntu 18.04 desktop.
We were wondering if someone got the same issue with us.
Our drone is DJI Mavic 2 Zoom & Mavic Mini, Mobile Pixel 2 / 3XL / 5 in Android 11, tried both master and VIDEO_WORK branch.
Hope to hear your expertise.
Best,
-- Luke

That should work perfect, check the firewall settings and try using netcat to trace the udp stream. I uses that setup every day, with very low latency.

Ps: there are some issues with some versions of gradle, do NOT update anything untill you can make working code, then update gradually.

@The1only , thanks for your support. Which gradle version are you using for the best performance ? We can downgrade to that working version.
Thanks,
-- Luke

I use 3.5.3 and 6.3, the video with the Mavic 2 zoom is supose to be perfect.

Update: We disabled "Enable Video feed", and video becomes perfect. It's interesting, Do you know the reason ?
Best,
-- Luke

Hmm hav not tested that in a while, disable the secondary or primary video feed?

Thanks for your prompt reply! We disabled all of them in Video of Setting.  (we expected video would disappear, but turns out it works perfectly.)

I added variables to the config file, maybe the system was still using an old config file with the new settings, and when flipping a new file was written and the problem fixed....  must remember that for later updates.

Just passed a majore computer vission AI project, flying live with a DJI Mavic and a CNN AI running on an eGPU on the QGC computer. The drone used Rosettadrone video and telemetry for control doing complex movements... happy days...

@The1only , thanks for your support. After making mavic 2 zoom video working, we are now working on mavic mini.
We added mavic mini as a new case in validateTranscodingMethod and received some juices, however, the video is noisy signal. (seems like a bad encoding/decoding)
Could you tell us which config file (or the portion of code) we could check in order to make mavic mini working ?

First try rebooting EVERYTHING, and try fresh. If that does not help, then it gets complicated, we will have to work our the NAILs and framing... it can take a few weeks to work out.  I do not have a mini my self.

We might at some point have to reintroduce gStreamer to be able to set transfer quality again

@The1only , thanks for the advice. Bad news is rebooting doesn't help, MINI's video stream shows bad encoding on the screen of our Android device.
To solve the issue, we were wondering if we could bypass H264 encoding inside rosetta drone; directly send raw DJI video format (assuming it is in YUV format) out for the screen and stream it out via UDP.
Then we could use gst-launch-1.0 to receive the video and do the H264 encoding on more powerful desktop.
Do you think this approach is doable and is reasonable to execute ?
Best,
-- Luke

Aha if there is bad video on the android device that is good news, as the SDK IS suppose to support that. Only the exporting is our responsebility.
Now take the video example made by DJI for git hub, see if that works, it should. Then from that start to compare.

I bought a Mavic Mini today, and I see the same problem. On the Android device I have perfect video, but on QGC I got crap... I also got an Mavic AIR I will retest this drone, I hade belived they are similar....

It's glad to hear you got a Mini and it works on your android device. (my android device got crap.)
By reviewing the ffmpeg part (i.e. when mode=0) of dji_video_jni.c, we don't find there is a significant difference from DJI's Android Video Stream Decoding Sample's  dji_video_jni.c
We can not see few .c / .h files in rosetta's folder, e.g. cmdutils.c, cmdutils_common_opts.h, ffmpeg_filter.c, ffmpeg_mod.c, ffmpeg_opt.c, and Application64.mk.
We are gonna to try DJI's Android Video Stream Decoding Sample to see if it could output YUV data from Mini.
Best,
-- Luke

Hmm, on my system I got perfect video on the Android device. Remember that the ffmpeg stuff is used for the encoding, while the android device screen is using the decoding from the sdk. If the device video is crap, then there is no need to look at the C code.

I remember your Android device is Samsung Note20 phone. What's the android version on the phone ?
We'll see if we could get the same phone and system version with you.

@The1only , thanks for your information. Update: We are on the same page now. Got perfect video on the Android device.
Again, turn off and turn on "Enable Video Feed" solve the problem.

The on and off problem seems to be a sync issue, I hade the same and rebooted the drone and it got fine. But you're method is better. After we get the video to work on QGC then I will look into this.

What QGC version do you use that works???

We are using QGC 4.0.11 and gst-launch-1.0 version 1.14.5 (GStreamer 1.14.5).
Thanks for pointing sync issue out. So far we change the default setting of mExternalVideoOut and pref_enable_video to false.
But we were wondering if there is a better way to fix the sync issue. May be auto-set mExternalVideoOut to false and then re-set to true when TextureView is set or wait 1 sec after onResume is called ?
Hope to hear your expertise.

Update: problem solved, we fixed gstreamer pipeline issue; we could live stream MINI's video on both QGC and gstreamer now.
There is only issue remain -- the sync issue, which requires us disable "Enable Video Feed" every time when finishing the use of the app.
We'll dig into the problem to see we could make a contribution.
Best,
-- Luke

Do tell, what and how did you fix the gStreamer pipeline?

@The1only , sure, regards to the gstreamer issue, please check the PR#9180 we submitted to mavlink/qgroundcontrol.
Regards to the video sync issue on rosetta drone, let us know if any suggestion or guide to resolve it.
Hope to find a better way to fix it !
Best,
-- Luke

So PR#9180 actually made a difference in this case?
As an experiment we can try always start with video off, and then set the selected vodep state after alll system is up.

No, this is why I didn't post the PR here until you asked for that.
We recently find MINI's h264parse and rtpsocket might have k-frame or header error. This minor issue propagates and impact later stages of application. But it is out of the topic. Maybe I should close the thread.
Thanks for your active support!
--Luke

Hi @lukelu520,
I want to fix the problem with the MINI's RTP video stream.
I'm experiencing the same problem as you with my MINI SE.
Does it really fix the problem to disable and re-enable the video feed setting? I'm doing it, but it doesn't fix for me.
What command line are you using for gstreamer?
I found out that 'isKeyFrame' is always false in onDataRecv(). Maybe thatt is causing the sync problem.

See: https://docs.google.com/document/d/1wR56Mvd2OsT82kxMOD7f_3-c6yJGBtLaT8LuVrmC5wI/edit#heading=h.q9mp6yjsfxe5


error loading module 'socket.core' from file ...

Hi guys,
I set up luasocket by hand. The following code I have written to make sure my file can run luasocket.
info = debug.getinfo(1,'S');
info = string.gsub(info.source,"@","")
filePath = string.sub(info,1,#info-11)
package.path = package.path..';' .. filePath..'\\luasocket-2.0.2\\lua\\?.lua'
package.cpath = package.cpath..';' .. filePath..'\\luasocket-2.0.2\\?.dll;' .. filePath..'\\luasocket-2.0.2\\mime\\?.dll'

This works so far. But then I get the error written in the headline at line 13. The structure where I put the socket lib download unzipped is:
Project Folder
              | global.lua
              | luasocket-2.0.2 //with subfolders etc.

Hope this is enough information to say if this is a error by your code or my setting.

We have been using LuaSocket for a while, so I'm pretty sure there is no bug in our way of loading things. Where did you get a zip file? We don't distribute binaries, so you'd have to compile the code...

I'd get the code in a .zip file which I get from the luaforge archived versions page (http://files.luaforge.net/releases/luasocket/luasocket). Why do I have to compile the code? This wasn't appearing to my eyes when reading my set up recommendations at w3.impa.br. (http://w3.impa.br/~diego/software/luasocket/installation.html)

Which file exactly did you download? There are a bunch of files on LuaForge.

luasocket-2.0.2

The link luasocket-2.0.2 takes you to another page, where you have luasocket-2.0.2-lua-5.1.2-Win32-vc6.zip, luasocket-2.0.2-lua-5.1.2-Win32-vc8.zip, and luasocket-2.0.2.tar.gz. The first two files, the zip ones, should contain everything you need to use LuaSocket 2.0.2 with Lua 5.1 on Windows. At least that was the mainteiners' intent, I believe. The file is from 2007... The other file, the tar.gz file, contains the source code that you'd have to compile. If you follow that route, then I suggest you get the latest version of the source code from the git repository itself and compile against a newer version of Lua.


Ensure that misspelled or missing partials generate an error

Removed what looks like a stray debugging line from the code and added a test.

Good catch, that does look suspicious.


Screenshot API > 50MB for Vercel

Is there a better method for the screenshot for Vercel? https://gist.github.com/kettanaito/56861aff96e6debc575d522dd03e5725 The Chromium -> serverless 50MB issue on Vercel is a known issue. Perhaps there's a workaround to get that to fire off?

https://vercel.com/docs/image-optimization

Thanks @kwall1 - I'll take another look. Generally I found Chromium to be a bit too slow when running on Vercel, but there is already a workaround for screenshots implemented.
@falcolnic - those image optimization docs are about using Vercel's CDN for serving up the assets for statically generated sites.

Maybe Selenium WebDriver ?
const seleniumWebdriver = require('selenium-webdriver');
const chrome = require('selenium-webdriver/chrome');

var driver = new Builder().forBrowser('chrome')
            .setChromeOptions(new chrome.Options().addArguments('--headless'))
            .build();

Cool Project btw ....

Slow running effect is not ideal

Saw that on the screenshot, does that work via the API path as well?

Should do, yes


Nginx ingress controller sometimes cannot parse certs

With the default rc and gcr.io/google_containers/nginx-ingress-controller:0.4, try:
$ openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /tmp/tls.key -out /tmp/tls.crt -subj "/CN=echoheaders/O=echoheaders"
$ echo "
apiVersion: v1
kind: Secret
metadata:
  name: tls
data:
  tls.crt: `base64 -w 0 /tmp/tls.crt`
  tls.key: `base64 -w 0 /tmp/tls.key`
" | kubectl create -f -

$ echo "
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  name: test
spec:
  tls:
  - secretName: tls
  backend:
    serviceName: echoheaders
    servicePort: 8080
" | kubectl create -f -

Logs show:
W0331 19:58:05.403185       1 controller.go:511] err asn1: structure error: tags don't match (16 vs {class:0 tag:2 length:1 isCompound:false}) {optional:false explicit:false application:false defaultValue:<nil> tag:<nil> stringType:0 timeType:0 s

We should also print out the error btw.
@aledbf

@bprashanth ok, with the code in the open PR I see this
W0331 23:24:55.384779       1 controller.go:575] No valid SSL certificate found in secret tls

that's ok?

But that's a valid cert?

To clarify, I mean:

If there's a restriction on the types of certs/formats etc we use with the nginx controller, we should clarify.
If this is a valid cert to nginx but x509 for some reason is rejecting it (maybe go version x openssl non-compat) we should just send an event(type=Warning) and load it in nginx.
If this is user error, we should do best effort to surface it (but I don't think it is because the same cert seems to work on GCE)

@bprashanth after 0.5 this should not be a problem anymore.

Cool thanks


Using variables in range

Its a common requirement to use variables in selected range. Is it possible and if yes, can you give an example for

rows only (say var range = sheet.getRange(rowFirst:rowLast); [ Dont know if this works though)
columns only (say var range = sheet.getRange(colFirst:colLast);
cells only (say var range = sheet.getRange("A"+firstRow +":" + "D" + :rowLast);
All these are wrong examples but you get the idea. Is it possible?

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

ID: 7e16ee19-d66e-c44d-d0fb-12088f6977b3
Version Independent ID: 30d84c68-f682-795c-664d-b5b2652e57fa
Content: Work with ranges using the Excel JavaScript API (advanced) - Office Add-ins
Content Source: docs/excel/excel-add-ins-ranges-advanced.md
Product: excel
Technology: add-ins
GitHub Login: @o365devx
Microsoft Alias: o365devx

Hi @PramodKumarYadav,
The getRange method takes in a string representing a cell range in the worksheet, such as "A1:D4", "A:D" for just the columns, or "1:4" for just the rows. As long as your variables map to Excel rows or columns, you can use string concatenation to build the argument. You may need to use range.columnIndex, range.rowIndex, and range.getCell to translate to and from zero-based numbers into the letter-based columns.
I'd recommend exploring these APIs by using Script Lab . There are plenty of samples to look at, plus it lets you use the Excel APIs without having to host a service.
In the future, I'd recommend raising programming questions such as this on Stack Overflow. That way, other members of the community can learn from your questions. Be sure to tag your Stack Overflow question with "office-js".
Because this question is more about programming than the specific APIs, I'm going to close the issue. Please let me know if you have any other questions.

This helped Alex.  Thank you!

Just to add an example, if someone else stumbles on this page:
const sheet = context.workbook.worksheets.getActiveWorksheet();
var firstrow = 1
var lastRow = 6
var range = sheet.getRange(firstrow + ":" + lastRow)


Fix #42 -- Increase CMake requirement to 3.0 and utilize VERSION in project().

It should even be possible to get rid of the LIB_* variables if wanted.

Thanks for the PR!
Looks good, but I think we could go further.

CMakeLists.txt
1.1 remove definition of variables: LIB_MAJOR_VERSION, LIB_MINOR_VERSION, LIB_REVISION_VERSION and LIB_VERSION
1.2 in set_target_properties() we could use PROJECT_VERSION and PROJECT_VERSION_MAJOR variables instead of deleted variables

tests/CMakeLists.txt
2.1 Do not remove cmake_minimum_required() and project()
2.2 Remove variable BINARY_NAME and use PROJECT_NAME instead

Fully agree, I just wanted your feedback on whether someone might use LIB_* etc…
Why keep cmake_minimum_required/project? It serves no purpose especially since the tests cannot be build on their own (they rely on the existence of upper directory variables).


Deployment succeded with 3 failures

When deploying the ARM template, I got 3 errors and as the deployment guide says You will now see the following :
Once the deployment has finished, you would be directed to a page that has the following fields:
botId - This is the Microsoft Application ID for the FAQ Plus bot.
appDomain - This is the base domain for the FAQ Plus Bot.
configurationAppUrl - This is the URL for the configuration web application.
I was not directed to this page.  I landed at the following page image attached - Your deployment is complete - with a link to go to the resource group.

Thank you for submitting this issue, as we work to ensure consistent responses with items logged in our issues list, we are working to address these items that did not get responses. Please let us know if you are still facing this issue and require assistance and we will be happy to discuss. If no further action is needed at moment and no response is received, we will close out the issue in 3 business days. You may also always open a new issue or respond here if something does come back up. Thank you!


Support AWS SDK 1.10.2

Addresses Issue 92: https://github.com/mboudreau/Alternator/issues/92
Alternator has several places where it accesses or overrides DynamoDB parent class protected properties and methods.
Amazon changed the internal signature of the AmazonWebServiceClient class in the com.amazonaws package.
The .setConfiguration method was removed.
To resolve this for Alternator, a new .setCustomConfiguration method was added; it directly access the protected .configuration property.
By using the name .setCustomConfiguration instead of .setConfiguration for the new method, the Alternator code compiles with both AWS SDK 1.9.13 and 1.10.2
In addition, the pom.xml contains the parameter -Xdoclint:none to disable the new Java 8 strict JavaDoc HTML tag validation.
All JUnit regression tests pass with this update.

Thanks Rick. Amazing job as always.


accepting all code review comments here

Your project is complete! There is nothing else to say
Happy coding
Cheers.

Good job! 👏. just saw Your Code it's Awesome! 💪


[Feature Request]: Self Hosted Web Management

What is your idea?
Large request but could be a paid option for business class
Create the ability to have a self hosted web management portal which allows the "admin" to manage "clients" whom have user accounts setup. When a "managed" client is installed the admin has the ability to:

Turn on or off features or lock features from being turned off(ie. Prevent recording and autolock)
Remotely backup and import 2FAGuard tokens for users
Disable users access to login to 2FAGuard

I know that it is interesting for companies to have centralised management dashboards. However, there would be some problems in this case:

It must be ensured that the user cannot override the configurations by editing or deleting files
When importing, the tokens have to be encrypted with the user's key, which is derived from the password or Windows Hello. It would therefore only be possible with asymmetric encryption.
How to prevent database access if the user always has access to the file itself?

This feature will probably not be implemented in the near future due to the reasons just mentioned and the greater effort involved.


feat: Use the SvgToCompose script and update the old script.

Nice! I'll take a look ASAP.

I think it would be better if all the code was in a single script file?

I played around the script a bit, and it seems that Svg2Compose doesn't provide any way to customize the default size... and it's not helped by the fact that it outputs files immediately, with no way of getting them as strings beforehand.
I guess the only way for now is to modify the generated files after the fact?
Something like this:
Svg2Compose.parse(/*...*/).generatedGroups.forEach {
    it.generatedIconsMemberNames.forEach { (file, name) ->
        file.writeText(file.readText().replace("256.0.dp", "24.dp"))
    }
}

It's not very efficient code, but it should do the job.

According to my investigation, you only need to add width and height in the svg.
e.g.
The viewBox is the visible boundary of the coordinates for the drawing, and the width and height set the default size, and the default scaling mode of the SVG is as expected.
Scaling mode, see here: https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/preserveAspectRatio
The viewBox can be viewed in this article: https://web.archive.org/web/20140119030353/https://software.intel.com/en-us/html5/blogs/viewbox-a-window-into-the-soul-of-svg

The actual operating effect also meets expectations.

@adamglin0 Oh yeah that's right, totally missed that 👌🏻


UglifyOptions are ignored

Laravel Mix Version: 2.1.11
Node Version (node -v): 8.11.1
NPM Version (npm -v): 5.6.0
OS: Windows 10

Description:
In the webpack.mix.js when defined the uglifyOptions, it will be getting ignored. When I disable the mangle, but it keeps happening.
Steps To Reproduce:
Use the following webpack.mix.js configration.
mix.options({
    uglify: {
        uglifyOptions: {
          mangle: false
        }
    },
});

mix.combine([
     'node_modules/jquery/dist/jquery.js',
     'node_modules/bootstrap/dist/js/bootstrap.js',
     'node_modules/angular/angular.js',
     'node_modules/popper.js/dist/umd/popper.js',

   ], 'public/js/vendor.js')

   .combine('resources/assets/js/**/*.js', 'public/js/app.js')

   .less('resources/assets/less/app.less', 'public/css')

   .version();

I am not sure if combine method minify the code.
You might want to use minify() method instead
https://github.com/JeffreyWay/laravel-mix/blob/master/docs/concatenation-and-minification.md

I have the same issue.
Solution is in changing line 200 in laravel-mix/src/File.js (function called minify):
this.write(uglify.minify(this.path(), Config.uglify).code);
to
this.write(uglify.minify(this.path(), Config.uglify.uglifyOptions).code);

i agree, someone has already raised this issue before.

I found this:
https://github.com/JeffreyWay/laravel-mix/commit/19e057dd1d5b8b3f4abb4a9ff13c3fa2e2586baf#diff-182a1c65ef29ba6e05eee122c71511e6
So, just update to the latest version and it will solve the issue.

This was fixed in the latest version.


Delete logic that copies README.

This allows us to support both index or README files, with index taking precedence.
This fixes #1550, Refs #1585

LGTM

There has been an issue reported in #1615 after the merge of this PR, that one standalone mkdocs README.md is no longer supported.
Might this be related to this PR?


added mention of target address for prometheus

there's no trace of a target address for the prometheus observable
not sure of that is by design by here's my proposed change of the documentation

What does this PR do?
This PR fixes a "missing-documentation" occurence under the Prometheus Observability Tool
There is no mention of the target prometheus server (or port)
Motivation
Missing/incorrect documentation should always be adressed
More

[x] Added/updated documentation

Additional Notes
If there's something I'm missing in my PR I'm more than happy to fix it

Hello,
Prometheus uses a pull system, so there no address field.
The exposed part of the Prometheus implementation in Traefik is managed by EntryPoint or manualRouting

https://docs.traefik.io/v2.2/observability/metrics/prometheus/#entrypoint
https://docs.traefik.io/v2.2/observability/metrics/prometheus/#manualrouting

So we have to decline your PR, thanks anyway.


When will https://github.com/splunk/fluent-plugin-splunk-hec/pull/132 be published?

When will https://github.com/splunk/fluent-plugin-splunk-hec/pull/132 be published to pull in changes that are not dependent on the kube metadata plugin?

It looks like this PR was merged to the develop branch 18 days ago. Are you asking when the next release will happen?

yes

we are working on a release (under review by different teams). It will be released around mid July. thank you. but since all changes are merged to develop, feel free to build the image from develop branch. (just run make docker)

@rockb1017 are the planned dates for the new release still around mid July?
Thanks!


I think this was a bad search-and-replace, causes an infinite loop.

https://github.com/chef/chef/issues/3969 has the debugging stream of thought for this.
Ping @chef/client-core (and @jkeiser in particular) for review, but going to merge this ASAP so builds aren't broken over the weekend.

Original change was earlier today in https://github.com/chef/chef/commit/424b2dda9b4a2a0ca3e7ca8c9a598643b303ec0f

:+1:  :-(

o_O :+1:

Wow ... how in the world did the build not go immediately red

@jkeiser Guessing the unit tests for deprecation stuff might either have a custom handler or run with formatters disabled? Definitely points to some missing unit tests :)


Remove enabled-address-families configuration and add testing to validate defaults.

This change supports the discussion in
https://github.com/openconfig/public/pull/738 to remove the
enabled-address-families list from the OpenConfig model. This change includes
a feature profile test that validates that IPv4 and IPv6 forwarding works for a
specific network instance (the default) without the need for explicit
configuration.
commit 73f54344352d96c18088ef98b67caec71acf0686
Author: Rob Shakir<EMAIL_ADDRESS>Date:   Fri Dec 9 18:27:47 2022 -0800

    Validate that IPv4 and IPv6 are enabled by default.

     * (A) feature/networkinstance/otg_tests/defaults_test/*
       - Add a test case that validates that by default a device supports
         both IPv4 and IPv6 forwarding within a network instance without
         specific additional configuration.
       - This PR supports the removal of the enabled-address-families
         leaf from the OpenConfig schema.

commit dc4487dae7638d00ea39c00b70df82200e09ee1a
Author: Rob Shakir<EMAIL_ADDRESS>Date:   Fri Dec 9 18:45:39 2022 -0800

    Add support for tracking deviation for explicit NI assignment.

commit 5579df60b535f3a51f19cc21903c8d1d2ffb7891
Author: Rob Shakir<EMAIL_ADDRESS>Date:   Fri Dec 9 18:48:27 2022 -0800

    Remove all references to EnabledAddressFamilies.

     * (M) feature/gribi/*
       - Remove all references to specfying the address familities enabled
         for a particular network instance.

commit 15a3547c899dedf79caf3e603e180a94eb12f9c7
Author: Rob Shakir<EMAIL_ADDRESS>Date:   Fri Dec 9 18:49:36 2022 -0800

    Remove reference from feature profile textproto.

/gcbrun

Assigning @Ankur19 for featureprofiles code style review and then this can be merged


Garry's Mod addon not working anymore as of the last few days

Which OS are you using?
Windows
Expected Behaviour
I expect the GMod definitions to work.
Actual Behaviour
It fails to load.
I also see the following error:
[2024-10-21 18:36:34] |   ERROR   |     Filesystem     | Unable to resolve nonexistent file 'vscode-userdata:/c:/Users/USERNAME/AppData/Roaming/Code/User/globalStorage/sumneko.lua/addonManager/addons/garrysmod/module'

Reproduction steps

Open a workspace using gmod lua
Addon doesn't load
Open addons menu
See this

Additional Notes
No response
Log
[2024-10-21 18:36:34] |   ERROR   |     Filesystem     | Unable to resolve nonexistent file 'vscode-userdata:/c:/Users/USERNAME/AppData/Roaming/Code/User/globalStorage/sumneko.lua/addonManager/addons/garrysmod/module'
[2024-10-21 18:36:34] |   ERROR   |     Filesystem     | Unable to resolve nonexistent file 'vscode-userdata:/c:/Users/USERNAME/AppData/Roaming/Code/User/globalStorage/sumneko.lua/addonManager/addons/garrysmod/module'
[2024-10-21 18:37:52] |   ERROR   |     Filesystem     | Unable to resolve nonexistent file 'vscode-userdata:/c:/Users/USERNAME/AppData/Roaming/Code/User/globalStorage/sumneko.lua/addonManager/addons/garrysmod/module'
[2024-10-21 18:37:52] |   ERROR   |     Filesystem     | Unable to resolve nonexistent file 'vscode-userdata:/c:/Users/USERNAME/AppData/Roaming/Code/User/globalStorage/sumneko.lua/addonManager/addons/garrysmod/module'
[2024-10-21 18:38:52] |   ERROR   |     Filesystem     | Unable to resolve nonexistent file 'vscode-userdata:/c:/Users/USERNAME/AppData/Roaming/Code/User/globalStorage/sumneko.lua/addonManager/addons/garrysmod/module'
[2024-10-21 18:38:52] |   ERROR   |     Filesystem     | Unable to resolve nonexistent file 'vscode-userdata:/c:/Users/USERNAME/AppData/Roaming/Code/User/globalStorage/sumneko.lua/addonManager/addons/garrysmod/module'```

There is a potential fix waiting for release. In the meantime, please delete the folder at c:/Users/USERNAME/AppData/Roaming/Code/User/globalStorage/sumneko.lua and reinstall the addon using the addon manager. 🙂

Did that, and now there's no errors but the addon doesn't function at all. No custom definitions from it are being loaded.
[2024-10-22 22:35:00] |    INFO   |        Addon       | Applied addon settings for garrysmod
[2024-10-22 22:35:00] |    INFO   |        Addon       | Enabled "garrysmod"

What version of the extension are you on? Can you see the addon installed at :/Users/USERNAME/AppData/Roaming/Code/User/globalStorage/sumneko.lua/addonManager/addons/garrysmod/module/?
Also, can you share your settings.json or .luarc.json?

Using version 3.11.1

Looks like everything's there, lots of stuff in the library folder.
Here's the settings.json
{
    "Lua.workspace.checkThirdParty": false,
    "Lua.runtime.version": "LuaJIT",
    "Lua.runtime.special": {
        "include": "dofile",
        "IncludeCS": "dofile"
    },
    "Lua.runtime.nonstandardSymbol": [
        "continue",
        "/**/"
    ],
    "Lua.diagnostics.disable": [
        "duplicate-set-field"
    ],
    "Lua.workspace.library": [
        "${addons}/garrysmod/module/library"
    ]
}

I do notice that if I click "Disable" in the addon manager, while it's enabled, I get the following in the log and can't actually disable/re-enable it.
[2024-10-22 23:50:37] |    WARN   |        Addon       | "garrysmod" is already disabled

Hmmm. It seems that perhaps it is failing to resolve ${addons} to c:/Users/USERNAME/AppData/Roaming/Code/User/globalStorage/sumneko.lua/addons.
If you replace ${addons} with c:/Users/USERNAME/AppData/Roaming/Code/User/globalStorage/sumneko.lua/addons in your settings.json, does the library load?

i'm having the same issue with another addon, ${addons} doesn't work for me but the full path does

Hmmm. It seems that perhaps it is failing to resolve ${addons} to c:/Users/USERNAME/AppData/Roaming/Code/User/globalStorage/sumneko.lua/addons.
If you replace ${addons} with c:/Users/USERNAME/AppData/Roaming/Code/User/globalStorage/sumneko.lua/addons in your settings.json, does the library load?

Yeah, replacing ${addons} with the path manually fixes the issue.


[Bug]All the Pages are not displayed in the public mode when the application is deployed with hidden pages

Description All the Pages are not displayed in the public mode when the application is deployed with hidden pages
[What happened]when an application has a hidden page on the deployment of the application the app is made public. it is observed that on sharing the URL only the hidden page viewed by the user
Steps to reproduce the behaviour:

Add At least 3 pages
Now make any one page as hidden
click on deploy from the hidden page
Now make an app public now open the link in a private window
Only hidden page is displayed the other pages are not displayed

expected behaviour:
Other than the hidden page all the other page should be Seen in the view mode

Important Details

Version: [Cloud
OS: MacOSX]
Browser  chrome
Environment  release

Intended behaviour


Support packaging on Windows via a Rust program that implements before-packaging commands

Supports both before-packaging-command and before-each-package-command

Note: nothing is tested yet
All three platforms tested and working. Release candidate packages are available here: https://drive.google.com/drive/folders/165o98vJU_VCB8uVc_B2fD6uGzJtJx4v7?usp=drive_link

ok this now works on Windows, but I haven't tested the merged logic that was reimplemented for macOS and Linux.
So, still not ready to merge in.

everything ready to go!


Info boxes about locking panels (without actually doing it)

Towards #88
Keep track of which panel we should be on, even if we clicked on a tab to look at another panel.
Explain why the user won't be allowed to touch these other pages
Wrap the message in a bootstrap info box.

There's enough here that I'd like sign off from @Shoeboxam and someone else before going farther.
For reviewers:

For both Mike and someone else: Do the warning messages express well why folks shouldn't be on the other tabs?
Is the styling ok? I'm not intending to spend a lot of time tweaking the UI, but do you think this is adequate? Maybe the boxes are too much, and bold text would suffice?

could we make the lock only appear if the user has actually downloaded the release, as opposed to just viewing the download page?

Right now the final tab is just buttons, but my sense is that we may want to include a summary of the results on that page itself... perhaps the graphs? so the release would happen when you enter that tab by clicking the submit button on the previous tab. I think consistency in the locking behavior would be good: When you submit your selections on one page they are fixed, whether that is the first or the second tab.

@ekraffmiller, I'll wait for Mike's thoughts, so probably better to just to leave this as a comment so I don't merge it by mistake. Thanks for the feedback.


circumflex: 2.8.2 -> 2.9.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/bensadeh/circumflex/releases.
meta.description for circumflex is: A command line tool for browsing Hacker News in your terminal
meta.homepage for circumflex is: https://github.com/bensadeh/circumflex
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 2.9.1 with grep in /nix/store/w4qyya6c62n9ybg374a3dx1rs71jpg3n-circumflex-2.9.1
found 2.9.1 in filename of file in /nix/store/w4qyya6c62n9ybg374a3dx1rs71jpg3n-circumflex-2.9.1

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
circumflex

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/w4qyya6c62n9ybg374a3dx1rs71jpg3n-circumflex-2.9.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A circumflex https://github.com/r-ryantm/nixpkgs/archive/b785451d45b21241c7e8dfb12b6f30ec88c7b30d.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/w4qyya6c62n9ybg374a3dx1rs71jpg3n-circumflex-2.9.1
ls -la /nix/store/w4qyya6c62n9ybg374a3dx1rs71jpg3n-circumflex-2.9.1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

circumflex

Maintainer pings
cc @mktip for testing.

$ /nix/store/w4qyya6c62n9ybg374a3dx1rs71jpg3n-circumflex-2.9.1/bin/clx
Your version of less is outdated

Required: 633
Current:  608

Re-run clx with the --no-less-verify flag to disable this check


Add xenial support to travis

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

Builds passed. Merging this one.


add support for GitHub app and changing src url

Add support for Github apps
Add support for changing the source url (e.g. to use sveltia instead of decap CMS)

Thanks for raising this PR! I will try to test and get this in this weekend :)


[BUG]: contentStartTime crashes app on Android

Version
6.4.3
What platforms are you having the problem on?
Android
System Version
14
On what device are you experiencing the issue?
Simulator
Architecture
Old architecture
What happened?
If the contentStartTime prop is set, the app crashes before firing the  onLoad event. Although the onProgress event does fire.
The video should start at the time set and the app should not crash.
Reproduction
No response
Reproduction
To reproduce, just set the contentStartTime prop to a numeric value. I'm using the latest RN 0.74.5.

Hi man, thanks for reporting the issue!

do you use contentStartTime to manage server side ads ?
I think this flag shall not be used in fact... It is a bit of unsafe hacking ...
It works only on dash for exemple.
Can you explain me why you need to use this flag ?

Oh, that dash-only thing sounds like something that should be added to the documentation.
We are using AWS S3 signed URLs as source (HTTP download), which are configured to have a short expiration time. If the user leaves the video paused past the expiration time and then tries to continue its playback, the player errors when it tries to continue buffering as the URL is no longer valid.
At that point, we ask our backend to generate a new signed URL but the problem is that the video starts from the beginning.  That's when I found about the contentStartTime prop.

Ok, thank you. So I understand you just want to resume playback at a specific point. For that you should use source.startPosition, not contentStartPosition !

Thanks for the tip, I'll test when I can and comment here with my results!

ping @sntg-p, were you able to fixing your issue ?

Yes @freeboub, it is working now with source.startPosition. Thanks for the help!


Add "xpmetrics" route to reverse-proxy crossplane metrics

Description of your changes

Reverse-proxy requests from crossplane-router to xpmetrics to crossplane's metrics port to make those metrics available in UbC.
I have:

[X] Read and followed Upbound's contribution process.
[X] Run make reviewable to ensure this PR is ready for review.
[ ] Added backport release-x.y labels to auto-backport this PR, as appropriate.

How has this code been tested

Manually tested changes in this PR in a local-dev environment with a modified version of crossplane-router.

It looks like running a make build deletes the crossplane service chart template from the file system. Why does it happen?

@ulucinar should we close this PR until we decide to add that functionality?


Array for storing Players?

Whats about a array where the Server stores Players? Would be great for Plugin Devs.

What about the players, just names, player objects, or what?
Names would be quite easy, but player objects wouldn't be possible due to threading.

I don't think that's possible due to multithreading.
You can use
cRoot:Get():ForEachPlayer(
   function(a_Player)
      -- Stuff
   end
)

I started learning c++ a while ago and come from PHP and was wondering if storing player objects in an array where Possible like in php for things like teleporting all Players to an special place...

You'd use the API functions using callbacks like cWorld:ForEachPlayer(function...)
AFAIK (I haven't checked the docs)

You need to use the callbacks, because, due to multithreading, there's no guarantee that if you store the object and later use it, that it will still be valid. The player may have disconnected in the meantime, a mob may have despawned, etc. That's why you need to use the callbacks.

And why you wont implemt an Vector to MCServer?

I've just explained why any access to players MUST go through callbacks instead of any kind of an array / vector. And for a generic vector, use Lua tables. So what is it that you want?


Unable to install on WIndows 10

I have a 64bit machine, Windows 10 and Visual Studio 2015 and I am finding it impossible to install kerberos, or more specifically, other modules (sails-mongo) which use kerberos.
This is the full output in the console:
<EMAIL_ADDRESS>install C:\Users\Dan\dashboard\node_modules\sails-mongo\node_modules\mongodb\node_modules\mongodb-core\node_modules\kerberos

(node-gyp rebuild) || (exit 0)

if not defined npm_config_node_gyp (node "C:\Users\Dan\AppData\Roaming\npm\node_modules\npm\bin\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild )  else (node  rebuild )
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
C:\Users\Dan\AppData\Roaming\npm\node_modules\kerberos\build\kerberos.vcxproj(20,3): error MSB4019: The import ed project "C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.Cpp.Default.props" was not found.  Confirm that the path in the  declaration is correct, and that the file exists on disk.
gyp ERR! build error
gyp ERR! stack Error: C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe failed with exit code: 1
gyp ERR! stack     at ChildProcess.onExit (C:\Users\Dan\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\build.js:270:23)
gyp ERR! stack     at ChildProcess.emit (events.js:110:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:1074:12)
gyp ERR! System Windows_NT 6.3.9600
gyp ERR! command "node" "C:\Users\Dan\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\Dan\AppData\Roaming\npm\node_modules\kerberos
gyp ERR! node -v v0.12.6
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok
<EMAIL_ADDRESS>C:\Users\Dan\AppData\Roaming\npm\node_modules\kerberos
└──<EMAIL_ADDRESS>I've tried installing kerberos globally and see the same output. I was originally using Node 4.0.2 and NPM 3.3.6, but I've also tried reverting to Node 0.12.6 and NPM 2.14.5 and still see the same error. I've installed a bunch of Windows SDKs and updates. I've tried installing with --msvs_version=2013 and --msvs_version=2015 flags. Nothing is working.

this is the only tool chain I've had success with previously. you also have to build from the visual studio command prompt.
http://mongodb.github.io/node-mongodb-native/2.0/getting-started/installation-guide/

Hey thanks for this response as I am also having this issue, just wondering if the success that you have had with the above tool chain has worked with node v4?

I also am facing the a similar problem on windows, but for me at least it has more to do with version 4 of node.  For me, this package installs  using node 0.12 but not with 4. I have many different combinations of Visual studio installations and command line parameters as suggested on different sites, and spent hours doing so. I have even tried different Windows OS (server 2012, windows 7 and windows 10). Has anyone else been able to install this package in node version 4? Even if someone could confirm that it is possible that would be great so I can know if it is worth keeping trying or not.  Thanks in advance.

This is the resolution for this issue:
npm config set msvs_version 2013 --global
see - http://stackoverflow.com/questions/33183161/node-gyp-error-tracker-error-trk0005-failed-to-locate-cl-exe-the-system-c

I found that installing the Community edition of Visual Studio 2015 fixed this and other similar issues


After Save Image again i want to remove one layer is this possible?

Hi, After save image, is this possible to edit some stickers like layer. is this possible?

unfortunately it doesn't support that now

can delete layer while editing?


Flesh out multitenancy

Tenant-scoped
Definition: grab all agencies assigned to a tenant, for example children, grandchildren AND parents, grandparents, AND cousins, etc. Everything belonging to a tenant
Places in the UI that should be tenant-scoped are:

[ ] Users
[ ] Agencies (see #11 for more bg info)
[ ] Profile settings > change agency
[ ] Browse Grants > Viewed By
[ ] Browse Grants > Interested Agencies
[ ] Click into any grant modal > Interested Agencies
[ ] Click into any grant modal > Assigned Agencies
[ ] Click into any grant modal > Assigned Agencies dropdown (a la #61 )

Agency scoped
Definition: the agency only. No children or grandchildren either, just the self.
Places in the UI that should be agency-scoped are:

[ ] Dashboard - All the grey boxes (Total Grants Matching Search Criteria, New Grants Matching, Updated Grants Matching Search Criteria, Total Viewed Grants, Total Interested Grants)
[ ] Keywords
[ ] Eligibility codes
[ ] My Grants > Interested
[ ] My Grants > Assigned

Agency + child scoped
Definition: the agency + children and grandchildren.
Places in the UI that should be agency+child-scoped are:

[ ] Dashboard - Total Interested Grants by Agencies, Recent Activity, Upcoming Closing Dates
[ ] Agency View Switcher - Profile picture > Settings

Copying over discussion from slack:
Brian:
Similar question to earlier, but slightly different context. For displaying users on the users tab, right now it is scoped such that an admin user can only see other users at their agency level or below. This should now be tenant wide as well?

Mindy:
Tl;dr - same as the dropdowns - let's scope such that all users can see everyone in the tenant, but only admins can edit users that lie within their agencies or subagencies.My thought process below:

    The concerns of seeing all users in a tenant is information overload.

    Right now we have the ability to sort by agency, so while the situation is not ideal, the overload isn't as bad as just a straight list.

    The pros of seeing all users would help in breaking down information silos - allows users to help pinpoint who's working on what

    I've asked govts before whether they want to keep their activity secret from other agencies, and the answer is a NO - their problem is always that they don't have enough visibility

    Thus, the ideal solution is probably for all users to be able to see everyone, and also introduce a better search/sort/filter to the tables down the road.
    We can validate this with NV - ask when we see them next Tuesday.

@mhuang-usdr Going through the workflows and the code. There is these repeated concept of which Agency you currently are. This can be selected from the profile settings of the user. Due to the changes in visibility between agencies in the same tenant we discussed, I am wondering if this concept is still needed. It seems like it was mostly to enforce the agency/sub-agency access scoping.

The impersonation feature is still needed for a few cases - an admin in a
parent agency needs to update the keywords or eligibility codes for a child
agency. Or an admin of a parent agency wants to see the to-do list of a
child agency.
This is useful, for example, if someone is OOO and another person needs to
step in. Or if USDR, or another admin, needs to help another agency
troubleshoot.
That being said it is not a common UX pattern, and I am very open to other
ways to solve the user requirements. But until we have a better solution
I'd keep this feature in, unless it's causing blocking issues on the eng
side.
Mindy
On Tue, Aug 9, 2022, 11:18 AM Brian Spates @.***> wrote:

@mhuang-usdr https://github.com/mhuang-usdr Going through the workflows
and the code. There is these repeated concept of which Agency you currently
are. This can be selected from the profile settings of the user. Due to the
changes in visibility between agencies in the same tenant we discussed, I
am wondering if this concept is still needed. It seems like it was mostly
to enforce the agency/sub-agency access scoping.
—
Reply to this email directly, view it on GitHub
https://github.com/usdigitalresponse/usdr-gost/issues/72#issuecomment-1209717982,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVX62EMOTLHVQWIB57VEXA3VYKOHLANCNFSM5VC2EONQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

@bspates ^ fyi

@mhuang-usdr Should I keep the scope of agency impersonation limited to subagencies or should it be open to all agencies in the tenant now?

@bspates that should be kept to subagencies

QA'd in prod


Factor-out testcases into separate files

Splitting the tests into separate files makes it easier to find the file to change/update

Thanks, I'll take a look later; I'm out right now.


Additional Export Options (to match those available in the "Course Grades" screen of GB1)

When exporting the GB on the Import / Export screen, provide a text link below the "Download" button entitled "Advanced Options." Selecting this will open a lightbox window that allows users to customize what is included in the export, and select a .pdf export format. The defaults ("Student Name," Student ID," "Gradebook Item Scores" and "Gradebook Item Comments") will be selected and appear at the top. Additional options will be available below, and will include:

Last Log Date
Course Grade
Calculated Course Grade
Grade Override
Total Points

(Note re: Points - we may want to restrict the ability to export Total Points if categories & weighting are enabled)
When any of these options are selected/de-selected and modified from the default, text should be highlighted informing the user that this export can not be imported back into the Gradebook.
Mockup:

EFFORT: High
PRIORITY: High

Hi @steveswinsburg.  I've starting looking into this one and have the form ready to go and just looking into the PDF and Excel format generation.  The old Gradebook uses the org.sakaiproject.jsf.spreadsheet.SpreadsheetUtil.  Should I use the same? Or are there preferred/newer/nicer ways that I should be investigating?

It seems like the JSF SpreadsheetUtil has some smarts for breaking a very wide table into multiple tables  so they render nicely as a PDF.  I'm also questioning the usefulness of the PDF export.  Notwithstanding it could be a bit of work make it render nicely if we have to reimplement the CSV-to-PDF transform.  @steveswinsburg, has this been done elsewhere in the app?

Yeah IIRC we discussed the PDF support on the call (maybe last week but sans Payten) and thought about dropping PDF in favour of Excel being able to export to PDF directly (I think it can on Windows now?).
For Excel I would be looking at https://poi.apache.org/spreadsheet/ directly, which is what the SpreadsheetDataFileWriterXls uses anyway 👍

Great, thanks @steveswinsburg.  I'll omit PDF and look to add Excel.  That makes good sense to me!

Hi @kyleblythe.  The advanced options are ready for testing now.  I haven't implemented PDF or XLS export though... maybe they're not required?

This is looking really great, @payten! Thanks for the work on this. So, re: the PDF export option...I'm inclined to agree with your and @steveswinsburg 's opinions. That said, PDF export is an option in GB1, so I'm not sure how we feel about leaving an existing option out of GBNG. What do you think, @jeffpasch ?
So a few issues/add'l notes I've found with the advanced export:

Currently, clicking the "Advanced options" link opens a hidden collapsed menu above. I get why this is the case, as it positions the "Download" button below. It seems a little unintuitive, however (especially because you then have to click "Advanced options" again to close the menu, and it's located below the menu you're trying to close).

I'm wondering if we want to either have these advanced options open in a lightbox window with their own "Download" button at the bottom of the window, or if we want to disable the default "Download" button when "Advanced options" is selected, and instead have a separate "Download" button become visible/active within the accordion menu. That way, the accordion menu could open below the link, which seems more intuitive.

Right now, regardless of whether any "Advanced options" are selected, the whole "Export" process remains visible on all screens in the Import/Export process:

This should be hidden once you click the "Continue" button on the first screen to import a spreadsheet.

Lastly, is there a way to have the import recognize when there are any columns from the "Advanced options" export? Ideally, I think we'd like to actively prevent the import process from taking place if any columns outside of the standard export are in place.

Yup, I think we could leave out the export to PDF, since it can be done in Excel. And we can leave out the XLS option as well.
We can discuss the "advanced options" stuff more today.

Improvements:

[ ] rename "Advanced Options" to "Custom Export"
[ ] open in a modal with a new download button in the modal
[ ] button in modal is labelled "Download Custom Export"
[ ]  original button downloads normal export and label "Export Gradebook"
can we detect when a custom export has been imported?? and throw an error?
[ ] YES: by prefixing all custom export columns with a #

Fixes:

[ ] Export shouldn't be showing on every step of the import wizard.. fail.

Very nice, @payten - this is working great :)
So, one quick thing. The custom export should probably, by default, have only the options that are in the regular export checked by default. Currently, "Course grade" is selected by default, but that should probably be an opt-in selection like the other custom export options that aren't in the standard export.
Also, it looks like the "Course Grade" option doesn't have the # prefix in place:

Confirmed - nice!
Export defaults:

"#" prefix: