Support nano sec level precision in returned data, or at least micro sec. And Query timestamp format

Hi Team,
InfluxDBStudio is a great tool, we have been using it a lot. And we found some potential improvements.

It would be great if we have have nano-sec level time precision in the return data table. As influxdb support nano level time precision, and our systems do generates time at that level. see attached image.

Can we support ISO8601 time stamp format with timezone offset. Current 2017-11-17T09:00:00Z is suported, but 2017-11-17T17:00:00+08:00 is not supported. See attached image for instance.

Thanks.

Please correct me if I am wrong here...
for #1, if the studio is using a .net type, the DateTime object only supports milliseconds resolution.
https://msdn.microsoft.com/en-us/library/system.datetime(v=vs.110).aspx
as for #2, and this I could be wrong on but when I was using influx, I thought time zones were not supported in their DB -- this may have changed as I recall people requesting it.   The ISO8601 with the +x:xx I had issues with, ironically last night with a SOAP call a customer was using with our non-related-product. I had them change it to a Z at the end, and that fixed it, so I suspect the DateTime serialization does not propertly support it because the DateTime object does not carry timezone information with, only DateTimeKind Local or UTC?
Thoughts?  Not trying to salt the question, just stating things I have learned.  BTW, Love this product too.   I used it only once though when doing some influx research.

Hi all,
The tool looks really good, alhtought I didn’t have time to test it deeply yet :_)
I think you could use NodaTime NuGet package to implement this feature. InfluxDB store data using UTC timestamp format, using NodaTime you can parse the timestamp to any timezone easily. For the nanosecond resolution, if you are using the official InfluxDB C# conector, instead of calling the web API directly, maybe there is not support for any other data type except .NET DateTime wich has no support for nanosecond resolution.
Enviado desde mi iPhone

El 17 nov 2017, a las 15:37, Travis Whidden<EMAIL_ADDRESS>escribió:
Please correct me if I am wrong here...
for #1, if the studio is using a .net type, the DateTime object only supports milliseconds resolution.
https://msdn.microsoft.com/en-us/library/system.datetime(v=vs.110).aspx
as for #2, and this I could be wrong on but when I was using influx, I thought time zones were not supported in their DB -- this may have changed as I recall people requesting it. The ISO8601 with the +x:xx I had issues with, ironically last night with a SOAP call a customer was using with our non-related-product. I had them change it to a Z at the end, and that fixed it, so I suspect the DateTime serialization does not propertly support it because the DateTime object does not carry timezone information with, only DateTimeKind Local or UTC?
Thoughts? Not trying to salt the question, just stating things I have learned. BTW, Love this product too. I used it only once though when doing some influx research.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Hi,
Bassically, we want the same feature as the influxdb web ui query interface as below.


Requirements.txt missing

README update

Thanks for your notice! I accepted the changes and closed the issue.


Allow different compression ratios for different variables

When creating a VDC file, it may be useful to allow the user to specify different compression ratios for different variables as some are more easily compressible than others.

This sounds like a great idea to me!
On Thu, Oct 24, 2019 at 10:34 AM StasJ<EMAIL_ADDRESS>wrote:

When creating a VDC file, it may be useful to allow the user to specify
different compression ratios for different variables as some are more
easily compressible than others.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/NCAR/VAPOR/issues/1895?email_source=notifications&email_token=AAGG6JISMOIEPZUSU6Y27PTQQHFAPA5CNFSM4JEWOXDKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HUFLFWA,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAGG6JOSTNDAGHEDJTKKDY3QQHFAPANCNFSM4JEWOXDA
.

Well, I thought the proposed change is applied on the GUI interface to allow different settings for different variables, after the VDC is imported into VAPOR.

Isn't that already the case?

@StasJ  I'm thinking about the use case where you might want a "high fidelity" setting for the IsoSurface variable while a "low fidelity" setting for the color mapping variable. Is it possible right now?
P.S. after thinking about it more, I start to feel it's desirable but not very important nor essential.

The VDC was originally designed to enable this. But because of the complexity of support it the capability was abandoned.


Converge c vec types

This PR addresses https://github.com/trueagi-io/hyperon-experimental/issues/348
My aim was to provide a single "best of both worlds" atom array type, because there was no reason for there to be two.  It's freely interoperable with Rust and has performance characteristics in line with the Rust Vec.
The only thing that's temporarily sacrificed is the ability to read atoms directly by indexing through the pointer, because the internal types are Atom, and not atom_ref_t.  This ability will return at a future time when atom_t is a mirror of Atom.
Finally, I renamed vec_atom_t to atom_vec_t.  I did this because I kept remembering it as atom_vec, and then having to remind myself it was vec_atom so I thought atom_vec is more natural.  However, It is possible I feel this way because I'm an English speaker, and a speaker of a Romance language / or another noun->adjective language might take issue with this change.  So I am open to revert the final commit of this PR where I implemented the name change.
Thanks.

Merged this PR, but opened https://github.com/trueagi-io/hyperon-experimental/pull/368 for the minor points in the code review.


Backup and restore /opt/guestconfig folder

It seems like we would need to add appConfigBackupPath to the list of appConfigDefaultMountFolders to make sure that it gets on persistent storage, otherwise it would be lost when the pod reboots.

It seems like we would need to add appConfigBackupPath to the list of appConfigDefaultMountFolders to make sure that it gets on persistent storage, otherwise it would be lost when the pod reboots.

Done


Support an extra microphone for iPhone with connecting or disconnecting

It is works ok that publishing with an extra microphone.
But no audio, these step.

Publishing with an extra microphone.
Take off an extra microphone.

Test devices are

ZOOM iQ7

https://www.amazon.co.jp/ZOOM-ズーム-MSステレオマイクロフォン-iPhone-iQ7/dp/B00M6HX12E/ref=sr_1_1?ie=UTF8&qid=1489931137&sr=8-1&keywords=zoom+iq7

HeadSet (itDEAL)

https://www.amazon.co.jp/gp/product/B01N9KSHHL/ref=oh_aui_detailpage_o00_s00?ie=UTF8&psc=1

It seems works fine.


Gradle not running all tests

I'm using gradle to run our kotest tests in prow job. But gradle doesn't run all the tests everytime. for e.g. if there are 3 tests A, B, C and B failed in the run. And later if the job (and hence underlying gradle command) is ran again then B is never run. Nor there is consistency on when A & C are run. And this make the prow job (under which this command is ran) to pass even though it should fail.
How do i make sure gradle runs all the tests everytime OR atleast run failing tests everytime (if somehow it is still caching that info)?
gradle version = 6.9
current command = ./gradlew clean --rerun-tasks test -Dkotest.tags="AB"
kotest version = 4.6.2
Gradle Build cache is disabled
Expected Behavior

Gradle should run all the tests everytime
Current Behavior

Gradle randomly runs only selected tests
Context

I want to run N smoke kotest tests using gradle everytime a PR is ran. If one of the Test fails, the prow job fails and hence makes PR not mergeable.
Steps to Reproduce

N/A
Your Environment

Build scan URL:

Sorry that you're having trouble with Gradle!
Your issue lacks information about how to reproduce the problem you're having. A reproducer project can really help us track down and fix your problem quicker.  We may also be able to suggest workarounds or ways to avoid the problem if we can reproduce it.
This issue will be closed after 7 days, unless you can provide more information.

Hi @donat Thanks for responding.
Here is my repo you can clone: https://github.com/Ankit-Laddha/kotest-sample
Command i'm using is : ./gradlew clean --rerun-tasks test -Dkotest.tags="AB"
On local, all the test runs fine, but on CI we see sometimes not all test are run

@donat : i dont see anything in logs (even with --info flag) that could be a problem. Did you got chance to look into this? Is there anything i should do to narrow down to the problem.

I cannot reproduce the problem locally: https://scans.gradle.com/s/k2bdm2cwz5m4c/tests/
Is there a chance you can publish a build scan from a build that you suspect is problematic?
Alternatively, you could use GitHub Actions to create a reproducer. You can see a sample here: https://github.com/gradle/gradle-issue-reproducer

I created here: https://github.com/Ankit-Laddha/gradle-kotest-reproducer
but i don't think i ll be able to reproduce it here. Is there some settings/configuration i can enable to get some more information about probable root cause?

I think running the tests in debug mode and checking the test execution information could provide some clues. Aside, build scans could help with the analysis.

I'm closing this as non-actionable. If you find a way to reproduce the issue later, I'm happy to continue the investigation.

Recently I've run into the same problem. @Ankit-Laddha , did you manage to root cause or fix this problem?


The plugin tflite uses a deprecated version of the Android embedding.

The plugin tflite uses a deprecated version of the Android embedding.
To avoid unexpected runtime failures, or future build failures, try to see if this plugin supports the Android V2 embedding. Otherwise, consider removing it since a future release of Flutter will remove these deprecated APIs.
If you are plugin author, take a look at the docs for migrating the plugin to the V2 embedding: https://flutter.dev/go/android-plugin-migration.

am also getting this same issue in flutter 2.5

am also getting this same issue when i try to run the project ,its showing exaclty the same issue

this is my log [✓] Flutter (Channel stable, 2.5.3, on macOS 12.1 21C52 darwin-arm, locale en-IN)
• Flutter version 2.5.3 at /Applications/UserInstalled/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 18116933e7 (3 months ago), 2021-10-15 10:46:35 -0700
• Engine revision d3ea636dc5
• Dart version 2.14.4
[!] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
• Android SDK at /Users/hari/Library/Android/sdk
✗ cmdline-tools component is missing
Run path/to/sdkmanager --install "cmdline-tools;latest"
See https://developer.android.com/studio/command-line for more details.
✗ Android license status unknown.
Run flutter doctor --android-licenses to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.
[✓] Xcode - develop for iOS and macOS
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 13.2.1, Build version 13C100
• CocoaPods version 1.11.2
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2020.3)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
[☠] IntelliJ IDEA Ultimate Edition (the doctor check crashed)
✗ Due to an error, the doctor check did not complete. If the error message below is not helpful, please let us know about this issue at
https://github.com/flutter/flutter/issues.
✗ FormatException: Unexpected extension byte (at offset 5)
• #0      _Utf8Decoder.convertSingle (dart:convert-patch/convert_patch.dart:1788:7)
#1      Utf8Decoder.convert (dart:convert/utf.dart:318:42)
#2      InputStream.readString (package:archive/src/util/input_stream.dart:199:30)
#3      new ZipDirectory.read (package:archive/src/zip/zip_directory.dart:40:30)
#4      ZipDecoder.decodeBuffer (package:archive/src/zip_decoder.dart:19:30)
#5      ZipDecoder.decodeBytes (package:archive/src/zip_decoder.dart:14:12)
#6      IntelliJPlugins._findPluginXml (package:flutter_tools/src/intellij/intellij.dart:130:44)
#7      IntelliJPlugins._readPackageVersion (package:flutter_tools/src/intellij/intellij.dart:141:40)
#8      IntelliJPlugins.validatePackage (package:flutter_tools/src/intellij/intellij.dart:63:35)
#9      IntelliJValidator.validate (package:flutter_tools/src/intellij/intellij_validator.dart:103:15)
#10     asyncGuard. (package:flutter_tools/src/base/async_guard.dart:111:32)
#11     asyncGuard. (package:flutter_tools/src/base/async_guard.dart:109:18)
#12     _rootRun (dart:async/zone.dart:1428:13)
#13     _CustomZone.run (dart:async/zone.dart:1328:19)
#14     _runZoned (dart:async/zone.dart:1863:10)
#15     runZonedGuarded (dart:async/zone.dart:1851:12)
#16     runZoned (dart:async/zone.dart:1782:12)
#17     asyncGuard (package:flutter_tools/src/base/async_guard.dart:109:3)
#18     Doctor.startValidatorTasks (package:flutter_tools/src/doctor.dart:200:9)
#19     Doctor.diagnose (package:flutter_tools/src/doctor.dart:304:47)
#20     DoctorCommand.runCommand (package:flutter_tools/src/commands/doctor.dart:50:47)
#21     FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:1274:12)

#22     FlutterCommand.run. (package:flutter_tools/src/runner/flutter_command.dart:1125:27)

#23     AppContext.run. (package:flutter_tools/src/base/context.dart:150:19)

#24     CommandRunner.runCommand (package:args/command_runner.dart:209:13)

#25     FlutterCommandRunner.runCommand. (package:flutter_tools/src/runner/flutter_command_runner.dart:288:9)

#26     AppContext.run. (package:flutter_tools/src/base/context.dart:150:19)

#27     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:236:5)

#28     run.. (package:flutter_tools/runner.dart:62:9)

#29     AppContext.run. (package:flutter_tools/src/base/context.dart:150:19)

#30     main (package:flutter_tools/executable.dart:92:3)

[✓] VS Code (version 1.62.3)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension can be installed from:
🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
[✓] Connected device (2 available)
• sdk gphone64 arm64 (mobile) • emulator-5554 • android-arm64  • Android 12 (API 31) (emulator)
• Chrome (web)                • chrome        • web-javascript • Google Chrome 97.0.4692.71

@siddhant-debug  did u find any solution for this issue?

@siddhant-debug  did u find any solution for this issue?

No

@siddhant-debug  i fixed this issue,open andriod folder separatly,after it will download some necessary tflite files,it took around 5 mins i think.after close tha project and clear flutter ,now it will run .

@siddhant-debug so the only solution is to wait for a new version that support Android V2?

@rkohari can u explain ?

@rkohari can u explain ?

@siddhant-debug Check this user's repo @rkohari "imagecapture" might help u. while writing this comment I still didn't try it myself, although am facing the same issue.

Place the script install.sh (Linux/Mac) or install.bat (Windows) at the root of your project.
I've taken this from tflite_flutter package and it works for me.

@siddhant-debug so the only solution is to wait for a new version that support Android V2?

I found a solution from flutter team migration doc(my comment from reddit). After fixing the the migration issue, i even added a pull request Object_detection_flutter repo. Hope this helped.

any one find the solution?

any one find the solution?

I posted a solution for android embedding issue in Object_detection_flutter repo, which is an example of tflite_flutter package. The thing is, devs of tflite and tflite_flutter repo are not active (correct me if I am wrong). TBH it is a very simple solution just that u have to spend some time in reading the docs provided by flutter team for migration of android embedding. Either u can check the pull request file changes made and do the same or check the comment in reddit.

Is it possible to apply this change in the main branch to generate a new version? Or is the project already advanced?

any one find the solution?

I posted a solution for android embedding issue in Object_detection_flutter repo, which is an example of tflite_flutter package. The thing is, devs of tflite and tflite_flutter repo are not active (correct me if I am wrong). TBH it is a very simple solution just that u have to spend some time in reading the docs provided by flutter team for migration of android embedding. Either u can check the pull request file changes made and do the same or check the comment this on reddit.

i can't seem to find the file mentioned in the video for the java part instead i have a GeneratedPluginRestraint page in the java folder what should i do. Is there some other guidelines to follow for the same ?
pls respond asap  🙇i have to turn in my project this weekend

Apologies for late reply, weirdly didnt receive any mail for above msg, checking mail found ur issue post way down in mail. Thank you for offering, but I don't need one. I am happy to help but note that I am not that knowledgable in dart and flutter, I happen to refer documentation & some video that did the work for me. Also note that I worked on fixing android embedding v2 migration of tflite by amishgarg.tech (tflite_flutter). Again am happy to help. Discord Id -> EliteArmedForce#2225

thank you bro for getting back to me I'll contact you today itself via
discord.I desperately need your help on this matter at hand🙇My teacher was
kind enough to give me a couple of days more time for solving the issue
On Thu, Jul 21, 2022 at 12:41 PM Rocky @.***> wrote:

Apologies for late reply, weirdly didnt receive any mail for above msg,
checking mail found ur issue post way down in mail. Thank you for offering,
but I don't need one. I am happy to help but note that I am not that
knowledgable in dart and flutter, I happen to refer documentation & some
video that did the work for me. Also note that I worked on fixing android
embedding v2 migration of tflite by amishgarg.tech (tflite_flutter
https://pub.dev/packages/tflite_flutter). Again am happy to help.
Discord Id -> EliteArmedForce#2225
—
Reply to this email directly, view it on GitHub
https://github.com/shaqian/flutter_tflite/issues/239#issuecomment-1191126739,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AP2Y4EMAJLNEXC6QMOA5D33VVDZ2RANCNFSM5MCXA6GQ
.
You are receiving this because you commented.Message ID:
@.***>

I faced the same issue, I just followed the migration steps here and the project runs directly.

I think it could help migrate flutter_tflite Android embedding.

any one find the solution?

I posted a solution for android embedding issue in Object_detection_flutter repo, which is an example of tflite_flutter package. The thing is, devs of tflite and tflite_flutter repo are not active (correct me if I am wrong). TBH it is a very simple solution just that u have to spend some time in reading the docs provided by flutter team for migration of android embedding. Either u can check the pull request file changes made and do the same or check the comment this on reddit.
Edit: Pull request, mentioned above in my message, doesn't work any more.

sir can you do video tutorial about this sir

@shaqian, you've got a great plugin however the Android embeddings migration is continuously making it unreliable to use. Kindly take a few hours of your busy schedule and do this migration. I think it is not that difficult is you follow the official documentation from flutter: https://docs.flutter.dev/release/breaking-changes/plugin-api-migration

@fransay & @everyone u dont have to worry about this package problems, as this flutter package is officially supported by TensorFlow themselves flutter_tflite

@francisrod01, Sure!, sounds good. Let me know when you are start. I'd love to contribute.

I just opened a Discussion in the TensorFlow official support repo.
https://github.com/tensorflow/flutter-tflite/discussions/116


how to deploy service on server by mace?

Just wonder if deploying service on server by mace is feasible？can anybody give me some advice, thx!

@jinsongpan It is not recommended because MACE is developed for mobile and IoT devices．


Schematic rest api

DON'T MERGE YET! NEED TO SET UP A SCHEMATIC SERVER
This PR contains:

Add schematic REST API endpoints for:

manifest generation
manifest validation
manifest submission

create R package framework for data curator (not yet an actual package though).
Add unit tests with testthat.
Create github workflow to set up server and run tests.
synapse REST API wrappers for getUserProfile and is_certified.

@afwillia at this point are the main steps before transitioning to schematic REST API and deploying the other changes in this PR:

deploying the REST API  service on the web
more extensive user testing

We have a meeting with Sage IT team tomorrow and that should greenlight the REST API web service.

Closing this because this branch won't be merged into develop.


[Bug]: CI failure: Page randomly throws 503 on clicking welcome tour

Is there an existing issue for this?

[X] I have searched the existing issues

Description
This issue is observed in CI, where on clicking on welcome tour button in homepage , page throws 503. Cannot be reproduced manually every time.
https://user-images.githubusercontent.com/119562824/224308636-614a6092-80f0-42d0-bfcb-92efd3abf86b.mp4
Steps To Reproduce

Create a workspace
Create an app
Navigate to homepage
Click on welcome tour

Public Sample App
No response
Environment
Release
Issue video log
No response
Version
Release

Debugging reference:
https://user-images.githubusercontent.com/91450662/224618155-ba265436-442d-460e-8e97-fbf83842002c.mp4
Logs:
dockerlogs-23.zip


check resolv.conf and set default if needed

#3678
check resolv.conf and set default if needed

/lgtm cancel

/retest

/assign @mattymo

/assign chapsuk

/assign mirwan

Hi guys, do i missed anything in the PR process ?

@cytar Seems like systemd-resolved is the default on 18.04 thus "/run/systemd/resolve/resolv.conf" should be the default setting for kube_resolv_conf.
Is systemd-resolved disabled on your hosts?

I'm not really keen on handling corner cases as we already handle multiple distros and their standards...
Overriding defaults is the purpose of group_vars for such cases.
BTW can you confirm that setting kube_resolv_conf to /etc/resolv.conf in your group_vars does the trick?

Yep captain. Ok, so i close the PR and issue.
Thanks.


Update layout team round robin config

We are moving our triage script to the Mozilla GitHub organization, and changing the URL for the JSON files in the process. This PR updates the config for the layout team appropriately.

Coverage remained the same at 25.952% when pulling f69160ecb0a56cda5c86b4f462eda7b03a62aef8 on svoisen:master into a55e40730143d143fc26c412fca06108e7510975 on mozilla:master.


Error with generateCells, setCellStyle and PDFGenerator.generate

ℹ Please fill out this template when filing an issue.
All lines beginning with an ℹ symbol instruct you with what info we expect. You can delete those lines once you've filled in the info.
Per our *COMMUNICATION guidelines, we use GitHub for
bugs and feature requests, not general support. Other issues should be opened on Stack Overflow with the tag TPPDF.

What did you do?
ℹ I updated the library to the last version, same error with CocoaPods or SwiftPackage.
What did you expect to happen?
ℹ Using the methods like the previous versions.
What happened instead?
ℹ Error with those methods and I can't find them in the new version of the library code, for example in the old version I can find .generateCells in "PDFTable.swift line 54", .setCellStyle in "PDFTable.swift line 75", PDFGenerator.generate in "PDFGenerator+Generation.swift line 84" (Bundle version string (short) 1.5.4 - found in TPPDF-Info.plist).
I see in your documentation that you suggest these methods even in the new version: https://github.com/techprimate/TPPDF/tree/swift-4.2
The errors are:
• Value of type 'PDFTable' has no member 'generateCells' - for "try table.generateCells(data: cellsData, alignments: alignments)"
• Value of type 'PDFTable' has no member 'setCellStyle' - for "try table.setCellStyle(row: 0, column: 0, style: headerCell)"
• Extra arguments at positions #1, #3, #4 in cal - for "try PDFGenerator.generate(document: document, to: docURL, progress: { progress in }, debug: false)}, debug: false)"
Each of them are in a do try catch or do try statement
TPPDF Environment
TPPDF version: ℹ2.3.4
Xcode version:  ℹ12.4
Swift version: ℹ5 - SwiftUI
Demo Code / Project
ℹ Please add a code snippet, link to or upload a project we can download that reproduces the issue.
ℹ We need a fully compilingPDFDocument
do {
try table.generateCells(data: cellsData, alignments: alignments)
} catch PDFError.tableContentInvalid(let value) {
// In case invalid input is provided, this error will be thrown.
//ProgressHUD.showError("Qualcosa è andato storto")
print("This type of object is not supported as table content: " + String(describing: (type(of: value))))
} catch {
// General error handling in case something goes wrong.
//ProgressHUD.showError("Qualcosa è andato storto")
print("Error while creating table: " + error.localizedDescription)
}
do {
// Style each cell individually
try table.setCellStyle(row: 0, column: 0, style: headerCell)
try table.setCellStyle(row: 0, column: 1, style: headerCell)
try table.setCellStyle(row: 0, column: 2, style: headerCell)
try table.setCellStyle(row: 0, column: 3, style: headerCell)
try table.setCellStyle(row: 0, column: 4, style: headerCell)
try table.setCellStyle(row: 0, column: 5, style: headerCell)
try table.setCellStyle(row: 0, column: 6, style: headerCell)
try table.setCellStyle(row: 0, column: 7, style: headerCell)
} catch PDFError.tableIndexOutOfBounds(let index, let length){
// In case the index is out of bounds
                print("Requested cell is out of bounds! \(index) / \(length)")
            } catch {
                // General error handling in case something goes wrong.

                print("Error while setting cell style: " + error.localizedDescription)
            }

do {
                try PDFGenerator.generate(document: document, to: docURL, progress: { progress in
                    print(progress)
                    //self.popUpPdfProgressView.setProgress(Float(progress), animated: true)

                }, debug: false)

                let path = NSSearchPathForDirectoriesInDomains(.documentDirectory, .userDomainMask, true)[0] as String
                let url = NSURL(fileURLWithPath: path)
                if let pathComponent = url.appendingPathComponent("report.pdf") {
                    let filePath = pathComponent.path
                    let fileManager = FileManager.default
                    if fileManager.fileExists(atPath: filePath) {
                        print("FILE AVAILABLE")

                        let controller = UIDocumentInteractionController(url: pathComponent as URL)
                        controller.presentPreview(animated: true)
                    } else {
                        print("FILE NOT AVAILABLE")
                    }
                } else {
                    print("FILE PATH NOT AVAILABLE")
                }

            } catch {
                print("Error while generating PDF: " + error.localizedDescription)
            }

Hi, thanks for filing an issue.
It seems like you missed a few updates, so I'll quickly summarize them:

You are using 1.5.4, after 1.6.0 the table implementation changed drastically, therefore I had to release a new major version 2.0.0 (May 19th 2020)
In 2.0.1 I deprecated table.generateCells due to the new table subscript API
The "in the new version" branch you are referencing, is the Swift-4.2 branch, which is fairly outdated (last update in April 2019) and not the latest master branch

So in case you want to use version 2.X.X, I recommend you update to the latest table syntax 😃
It should be worth the changes!

Thank you I'm update the code of an outdated project and i was looking in the wrong page for the documentation, I like the changes but when I try to access the row I'm having a fatal error - Index out of range
let table = PDFTable()  table.showHeadersOnEveryPage = false table.padding = 5.0 table.widths = [                 0.15, 0.2, 0.15, 0.1, 0.1, 0.1, 0.1, 0.1             ] let row = table[row: 0] row.content = ["Text1", "Text2", "Text3", "Text4", "Text5", "Text6.", "Text7", "Text8"] row.alignment = [.left, .left, .left, .left, .left, .left, .center, .center]

Thanks for pointing this out. In fact, this is a documentation error.
Excerpt from PDFTable.swift:
    public convenience init(size: (rows: Int, columns: Int) = (0, 0)) {
        self.init(rows: size.rows, columns: size.columns)
    }

    /**
     Creates a new table with the given size and populates it with empty cells.
     */
    public init(rows: Int = 0, columns: Int = 0) {
        self.size = (rows: rows, columns: columns)
        ...
    }

As you can see, it is necessary to provide a table size, so the subscript accessors work properly. I changed your example a little bit and it works now:
let table = PDFTable(rows: 1, columns: 8)
table.showHeadersOnEveryPage = false
...

I will furthermore remove the default size (0,0) and fix the documentation accordingly


How to set sps/pps to be separately from the stream ?

Hello, everybody. Can openh264 encoder make sps/pps nal units, lay separately from the stream?
in ffmpeg there's a code for taking them:
if (avctx->flags & AV_CODEC_FLAG_GLOBAL_HEADER) {
        SFrameBSInfo fbi = { 0 };
        int i, size = 0;
        (*s->encoder)->EncodeParameterSets(s->encoder, &fbi);
        for (i = 0; i < fbi.sLayerInfo[0].iNalCount; i++)
            size += fbi.sLayerInfo[0].pNalLengthInByte[i];
        avctx->extradata = av_mallocz(size + AV_INPUT_BUFFER_PADDING_SIZE);
        if (!avctx->extradata) {
            err = AVERROR(ENOMEM);
            goto fail;
        }
        avctx->extradata_size = size;
        memcpy(avctx->extradata, fbi.sLayerInfo[0].pBsBuf, size);
    }

but how to make encoder fill fbi.sLayerInfo[0].pBsBuf ? By default it creates the stream with sps/pps nal units inside of it. And I need it to be without SPS/PPS nal units.
And the the reverse situation, If I have sps/pps nal units, that correspond to openh264's opportunities, can I somehow send them to the encoder, so it'll be configured by them?
Thanks.

if have SPS/PPS  NALs, they will be put in  fbi.sLayerInfo[0].pBsBuf, and VLC data isn't put  fbi.sLayerInfo[0].pBsBuf, but put in  fbi.sLayerInfo[1...n].pBsBuf.
openh264 has no plan to support SPS/PPS input.

ok, but there are 2 types of nal units: "annex b" nal units, that start from bytes 0x<IP_ADDRESS> , and "avcc" nal units, that start from the length of the following nal unit. It it possible to set openh264 encoding to use "avcc" nal units on the output?

@aleniuk No, that's not currently possible. But if you want to do that, you can do what libavcodec/libavformat does, that is:

Call (*s->encoder)->EncodeParameterSets(s->encoder, &fbi); in order to get the SPS/PPS without actually encoding any frame
When encoding frames, don't include all fbi.sLayerInfo[n], but only include fbi.sLayerInfo[fbi.iLayerNum - 1]
Translate from annex b format to avcc format (this is done in libavformat/avc.c)

@aleniuk No, that's not currently possible. But if you want to do that, you can do what libavcodec/libavformat does, that is:

Call (*s->encoder)->EncodeParameterSets(s->encoder, &fbi); in order to get the SPS/PPS without actually encoding any frame
When encoding frames, don't include all fbi.sLayerInfo[n], but only include fbi.sLayerInfo[fbi.iLayerNum - 1]
Translate from annex b format to avcc format (this is done in libavformat/avc.c)

hello, do you know how to put raw sps/pps into extradata from raw rtp stream?
sps/pps I conduct like ([start code]0x67...), ...
codes like below seems not working
AVStream os = avformat_new_stream... ... os->extradata = av_mallocz(size + PADDING...); ... memcpy(os->extradata, sps->data, sps->size); memcpy(os->extradata + sps->size, pps->data, pps->size); ...


Surface.component macro

With #15 wrapped up, I think we have most of the things we need to support a Surface.component macro that could be used inside LEEx. The generated code should look somewhat similar to https://github.com/msaraiva/surface/blob/master/lib/surface/compiler/eex_engine.ex#L212
I think it would be worthwhile to think through the usage a bit though. The simplest approach would be to have something like:
<%= Surface.component(@socket, MyComponent, [prop1: @value, prop2: @value], """

""" %>

which would be equivalent to:
<MyComponent prop1={{ @value }} prop2={{ @value }}>

</MyComponent>

However, something that could be used more like the following would probably be more natural within an LEEx template:
<%= Surface.component(@socket, MyComponent, [prop1: @value, prop2: @value]) do %>

<% end %>

Yeah, for the default slot it would be as natural as using live_component, however, handling named slots will be tricky.

This feature will also allow users to use the existing render_component/3 macro in tests as described here.
Currently, users need to either define a parent LiveView in their tests as in: https://github.com/msaraiva/surface/blob/011ff48401f6b3659f03fbd6a92e7028b0173547/test/live_component_test.exs#L168
or use our render_live/2 macro (which creates one on the fly) as in: https://github.com/msaraiva/surface/blob/011ff48401f6b3659f03fbd6a92e7028b0173547/test/live_component_test.exs#L123
The latter requires users to copy & paste the helper macro from our test_helper.exs which is suboptimal.
With Surface.component ready, we could define our own render_surface_component/3 wrapping render_component/3 adding support for slots and contexts.

Using this approach, I'm creating and component library for a design system using Surface to provide a more easy way to develop web application with Phoenix LiveView.
So, I'm trying to make a way to test component renderization using render_component/3 or render_live/2 but not what I'm expecting to see.
I tried to use the same tests that you have on Surface but It's not what I want.
For now, I'm trying this way:
test "returns Button component without button properties" do
  html = """
  <button class="a-btn">Sample</button>
  """

  assert render_component(Button, %{children: "Sample"}) =~ html
end

source
I don't know if it's the better way to check if it's rendering the inner body element as this test purpose.

Hi @msaraiva, thanks for your response!
Interesting, I'm also providing a test case for Components which i can simply provide a function that make easy to test those components.
I'll try today and any problem I'll post here.

how can I get all defined properties from my Component to compile all of it into classes?

@aleDsz if the module is already closed (compiled), you can use module.__props__(). If the module is still open, you need to use Module.get_attribute(module, :prop). In case you're using the latter, make sure your code runs after all props have been defined.

@aleDsz if the module is already closed (compiled), you can use module.__props__(). If the module is still open, you need to use Module.get_attribute(module, :prop). In case you're using the latter, make sure your code runs after all props have been defined.

Oh, intereting. I was using module.__get_props__() and didn't notice that Module have module.__props__(). I'll try it later.
Thanks @msaraiva

Proposal for passing slotables (from the discussion on slack):
<%= surface_component @socket, MyComponent, prop1: @value do %>
  <% template(:header) -> %>

      ...

  <% template(:default) -> %>

      ...

  <% template(:footer) -> %>

      ...

<% end %>

Are there plans to enable writing and using components using the jsx-like syntax in separate files instead of embedding them in ~H sigils?
For me this has the same advantage as having separate (l)eex files for templates - my editor has better support for them.
I know it's a bit subjective, but I also like the jsx-like syntax better than the livecomponents-style function call syntax (<MyComponent prop={{ @value }} /> vs <%= component(@socket, MyComponent, prop: @value) %>)

Are there plans to enable writing and using components using the jsx-like syntax in separate files instead of embedding them in ~H sigils?
For me this has the same advantage as having separate (l)eex files for templates - my editor has better support for them.
I know it's a bit subjective, but I also like the jsx-like syntax better than the livecomponents-style function call syntax (<MyComponent prop={{ @value }} /> vs <%= component(@socket, MyComponent, prop: @value) %>)

Hi @ohmree,
Unless I'm misunderstanding what you're asking for, this is already supported - you can move the code to a file with the same base name using the sface extension, and delete the render function (similar to co-located live view templates). Eg:
lib/my_app_web/my_component.ex:
defmodule MyAppWeb.MyComponent do

  use Surface.Comonent

  prop my_prop, :any

end

lib/my_app_web/my_component.sface:

...

It works the same for Surface.LiveComponent and Surface.LiveView

Hi @ohmree,
Unless I'm misunderstanding what you're asking for, this is already supported - you can move the code to a file with the same base name using the sface extension, and delete the render function (similar to co-located live view templates). Eg:
lib/my_app_web/my_component.ex:
defmodule MyAppWeb.MyComponent do

  use Surface.Comonent

  prop my_prop, :any

end

lib/my_app_web/my_component.sface:

...

It works the same for Surface.LiveComponent and Surface.LiveView

@lnr0626 This is exactly what I meant, thanks!
Just out of interest, is this documented anywhere?
Because I've looked at surface in the past and didn't realize you could do that.

@lnr0626 This is exactly what I meant, thanks!
Just out of interest, is this documented anywhere?
Because I've looked at surface in the past and didn't realize you could do that.

Just out of interest, is this documented anywhere?

Hi @ohmree!
There’s a small "Colocated templates” section in http://surface-demo.msaraiva.io/components_basics.

Just out of interest, is this documented anywhere?

Hi @ohmree!
There’s a small "Colocated templates” section in http://surface-demo.msaraiva.io/components_basics.

I'm closing this one as it's not a priority and the requirements may change very soon. We can reevaluate it after Phoniex 1.6 is released.

@msaraiva This issue leaves me somewhat confused as to how I would go about starting to use SurfaceUI in an existing Phoenix LiveVew App.
Would the only way be to move all my existing "*.html.leex" templates into render-sigils in their corresponding *.ex LiveView modules?
They can't just be renamed to *.sface and change use ComplianceWeb, :live_view to use Surface.LiveView,  because *.sface doesn't understand EEx logic.

Hi @lastobelus!

Would the only way be to convert all my existing "*.html.leex" templates to .sface syntax (for conditional rendering, loops etc.)?

Not all. But until phoenix has built-in support for features like slots and contexts, you need to convert at least those that include components that use any of those features. Other simpler components might work without any issue. We'll update the docs to make that clear. See https://github.com/surface-ui/surface_site/issues/25.

@msaraiva I've had a go at translating phx.gen.live to a Surface version, here.
It's just a straight translation, no attempt to further decompose into components.


simulate_Gauss_LLH() seems to be missing

It looks like there's a file missing for the GaussExample.

Fixed.
This was due to simulate_*.m in .gitignore. I just renamed the function.


Write a R program to convert seconds to minutes

Description
Write a R program to convert seconds to minutes
1 minute = 60 seconds
Input  : 300
Output : 5

How to contribute

Save the solution in convert_seconds_to_minutes.r file
Add convert_seconds_to_minutes.r file in convert-seconds-to-minutes folder

!assign

Hey @K1118,
This issue has been assigned to you for more than 15 days.
We are unassigning you from this issue.
If you are still interested in contributing to this issue, please get auto-assigned on the issue by commenting !assign again.
Thanks for your contributions :)


Feature Request: Execution Order of MediaQueries

Have just switched over from a Bootstrap project to a private project I want to use ResponsiveBP in. I'm finding I'm having to write far more HTML with ResponsiveBP because it appears to require a discrete definition of col-xxx-xxx for each size of a section. So to have a column be 10 wide from xxs to up s then switch to 5 wide at m and above, I'm having to write "col-xxs10 col-xs-10 col-s-10 col-m-5 col-l-5" instead of simply "col-xxs10 col-m-5" which I think is more logical (thinking of mobile first) and certainly less bloat code-wise. Not to mention bandwidth and dev time. Could it be implemented or is it too hard/not in keeping with project aims?

"col-s-10 col-m-5" should be sufficient

Thanks for that. I had some hidden-xx in there causing complications so it's the hidden-xx/visible-xx that I should have been talking about really. It would be cool if you could do the same i.e. "hidden-xxs visible-m", or "hidden-xxs col-m-5" (the col-m-5 negating the hidden).

Thanks @eoutvik for chipping in, you're correct about the grid.
col-xxs-10 col-m-5 will be 10 columns wide from xxs where it will switch to 5 columns wide from m and continue that way.
@craigs100  If you use visible-m without the hidden-xxs then the div will be hidden until you reach the m breakpoint.
hidden-{bp} means show until you reach the breakpoint.
visible-{bp} means hide until you reach the breakpoint.
col-{bp}-{size} determines the width only which aligns with every other framework I can think of. It should never affect visibility.
I find Responsive to be far less verbose than Bootstrap so if you are having issues and need pointers please let me know.

Hi James,
Thanks for your explanation. Fiddling about with this to show it at m
and l:-

And typing out my thoughts on what I thought would be a shorthand
improvement, I realised there was no way out and the method you have is
actually the best way all round. So it remains:-

as it's shorter than:-

Cheers,
Craig
On 24/02/16 14:50, James Jackson-South wrote:

Thanks @eoutvik https://github.com/eoutvik for chipping in, you're
correct about the grid.
|col-xxs-10 col-m-5| will be 10 columns wide from |xxs| where it will
switch to 5 columns wide from |m| and continue that way.
@craigs100 https://github.com/craigs100 If you use |visible-m|
without the |hidden-xxs| then the div will be hidden until you reach
the |m| breakpoint.
|hidden-{bp}| means show until you reach the breakpoint.
|visible-{bp}| means hide until you reach the breakpoint.
|col-{bp}-{size}| determines the width only which aligns with every
other framework I can think of. It should never affect visibility.
I find Responsive to be far less verbose than Bootstrap so if you are
having issues and need pointers please let me know.
—
Reply to this email directly or view it on GitHub
https://github.com/ResponsiveBP/Responsive/issues/87#issuecomment-188286679.

Hey @craigs100

Yeah, that'd be the correct way. I might look into the future switch the media queries mode for visibility to bp-min mode rather than bp which would allow

to do what you wanted. By introducing visible-{bp}-only classes I would replicate the existing behavior and make it more in line with other selectors.  It's a major breaking change though, so I can't introduce it until I need to create a V5, which there doesn't seem to be a demand for just now.
I'll close this off now.


Fixed bug in bokeh fixed ticker formatting

Tiny fix for supplying non-string fixed ticker labels.

Looks good and the tests are green. Merging.


change the Source name from corporate Website to OXIGENT WEBSITE

Hello,
when I receive a candidate via website I want that the Source be OXIGENT WEBSITE
Could you asist please ?

Current behavior

Expected behavior

Steps to replicate behavior

Screenshots
Current
Expected

Hello, this is a question about the main Bullhorn app functionality.  Bullhorn Support will be able to assist with this.  Please reach out


Build error: Not in scope: ‘ifThenElse’

On GHC 8.0.1, cabal-install <IP_ADDRESS>:
[3 of 3] Compiling TLC.TypeCheck    ( src/TLC/TypeCheck.hs, /Users/cygnus/src/param-tlc/dist-newstyle/build/x86_64-osx/ghc-8.0.1/param-tlc-0.1/build/TLC/TypeCheck.o )

src/TLC/TypeCheck.hs:65:28: error: Not in scope: ‘ifThenElse’

src/TLC/TypeCheck.hs:65:28: error: Not in scope: ‘ifThenElse’

src/TLC/TypeCheck.hs:65:28: error: Not in scope: ‘ifThenElse’

src/TLC/TypeCheck.hs:65:28: error: Not in scope: ‘ifThenElse’

src/TLC/TypeCheck.hs:65:28: error: Not in scope: ‘ifThenElse’

src/TLC/TypeCheck.hs:65:28: error: Not in scope: ‘ifThenElse’

Hunh... I don't get that with GHC 8.2
This is related to the RebindableSyntax extension.  You can turn it off and I think it should compile then; you'll just get slightly worse error messages from the typechecker.
I'm not sure why the standard ifThenElse combinator isn't in scope already...

I'm going to try GHC 8.2. With RebindableSyntax disabled, I now get:
src/TLC/TypeCheck.hs:153:15: error:
    • Ambiguous type variable ‘m0’ arising from a use of ‘throwError’
      prevents the constraint ‘(MonadError String m0)’ from being solved.
      Relevant bindings include
        fail :: String -> m0 a0 (bound at src/TLC/TypeCheck.hs:153:4)
      Probable fix: use a type annotation to specify what ‘m0’ should be.
      These potential instances exist:
        instance [safe] MonadError e (Either e)
          -- Defined in ‘Control.Monad.Error.Class’
        instance [safe] Monad m => MonadError e (ExceptT e m)
          -- Defined in ‘Control.Monad.Error.Class’
        ...plus 11 instances involving out-of-scope types
        (use -fprint-potential-instances to see them all)
    • In the expression:
        throwError $ unlines ["Error during typechecking", show tm, msg]
      In an equation for ‘fail’:
          fail msg
            = throwError $ unlines ["Error during typechecking", show tm, msg]
      In an equation for ‘verifyTyping’:
          verifyTyping scope env tm
            = case tm of {
                TmVar nm
                  -> case elemIndex nm scope of {
                       Just i -> ...
                       Nothing -> throwError $ unwords ... }
                TmInt n -> return $ TCResult AST.IntRepr (AST.TmInt n)
                TmBool b -> return $ TCResult AST.BoolRepr (AST.TmBool b)
                TmLe x y
                  -> do { TCResult AST.IntRepr x' <- verifyTyping scope env x;
                          .... }
                TmAdd x y
                  -> do { TCResult AST.IntRepr x' <- verifyTyping scope env x;
                          .... }
                TmNeg x
                  -> do { TCResult xtp x' <- verifyTyping scope env x;
                          .... }
                TmIte c x y
                  -> do { TCResult AST.BoolRepr c' <- verifyTyping scope env c;
                          .... }
                TmApp x y
                  -> do { TCResult (AST.ArrowRepr argTy outTy) x' <- verifyTyping
                                                                       scope env x;
                          .... }
                TmAbs nm tp x
                  -> do { Some argTy <- return $ typeToRepr tp;
                          .... }
                TmFix nm tp x
                  -> do { Some argTy <- return $ typeToRepr tp;
                          .... } }
            where
                fail msg = throwError $ unlines ["Error during typechecking", ....]

I get the above error also on GHC 8.2.2.

Even stranger... I just rebuilt with 8.0.2 and I can't reproduce this error

I am running

param-tlc at f6db52fdf6a3ce74a05717c2b68c2bf046ff481e
parameterized-utils at 1279b108ca6ce482dff1532e166aa0788a50db16

In the meantime, you can probably just comment out the fail definition.  It has an ambuguous type because its not being used with RebindableSyntax turned off

Oh, sorry - I forgot to re-enable that once I moved to 8.2.2. Once I reinstated that extension, it built. Thanks!


Tenancy for queries

Signed-off-by: Ed Snible<EMAIL_ADDRESS>This PR replaces https://github.com/jaegertracing/jaeger/pull/3735

This PR flows the tenant header through the query APIs.
This PR blocks requests with invalid tenant or missing tenant header from reaching the query APIs.
This PR does NOT do authorization.  It is assumed authorization is handled by a reverse proxy or other non-Jaeger component at this time.
This PR requires actual distinguishing of the tenant to be done by the storage layer.  The purpose of this PR is to be sure the storage layer receives a tenant that is valid when Jaeger is started with --multi_tenant.enabled=true.

cc @pavolloffay

@pavolloffay I have added extensive tests.  Please re-review.

@yurishkuro Thank you for your patience.  I was timid.  With the latest commit, only the main.go and test cases create TenancyManager.  Thus there will now only be one of them even in the all-in-one case.


[Add] Skribbl

Site URL
https://weareskribbl.com/
Description of the above provided site
Enrich your creative projects and support free access to art of education with the collection of hand-drawn illustrations.
Category
Frontend
Sub Category
Illustrations
Checklist

[X] I have checked the existing issues
[x] I have read the Contributing Guidelines
[X] I am willing to work on this issue (optional)

hey @Oyebolade is this issue fixed?

Yes


Runtime: Research INTERVAL data type support for DuckDB

Initially, we just need to scope if our analytical APIs supports the INTERVAL data types. Like, if you add a model SELECT '1 day'::INTERVAL AS duration, and then add a measure like AVG(duration), what values/errors are returned for various analytical APIs?

Since it's not supported by DuckDB, we will not add any backend support for INTERVAL measures for now


fix: namespace gets added before flow attributes

Fixes #677

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


using "ruyi install" behind a proxy to internet faced a problem.shall we have a proxy configs such as -proxy.

using "ruyi install" behind a proxy to internet,it occurred to a connection timeout to github.com.how can i fix this problem?(my proxy connection can acces to internet)

Ruyi respects https_proxy.

already tried setting up https_proxy in .bashr file but still not work...

already tried setting up https_proxy in .bashrc file but still not work...

Ohh it only works for ruyi install now.
Try to configure an alternative mirror in ~/.config/ruyi/config.toml
[repo]
remote = "https://mirror.iscas.ac.cn/git/ruyisdk/packages-index.git"
branch = "main"

still connection time out to mirror.iscas.ac.cn,in fact, i can access to "https://mirror.iscas.ac.cn/git/ruyisdk/packages-index.git" by git clone.

So there is nothing to do with proxy configuration.
You should provide more information about your environment, for instance, your platform and log of RUYI_DEBUG=x ruyi update or RUYI_DEBUG=x ruyi install

thank you so much,when i using "RUYI_DEBUG=x ruyi install",it hints that ".cache/ruyi/packages-index does not exist",so i manully git clone the "https://mirror.iscas.ac.cn/git/ruyisdk/packages-index.git" to the ".cache/ruyi" dir,and execute "ruyi install" again,it finally   succedded.


go: only include Darwin target dependencies when targeting Darwin

Fixes
$ nix build .#pkgsCross.raspberryPi.buildPackages.go

on aarch64-darwin.
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[x] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Same change needs to be applied to 1.18 and 1.19 as well.

Same change needs to be applied to 1.18 and 1.19 as well.

 Do you need other changes to the PR?


Running a standalone diagnostic

Another issue stemmed from talking to the UKESM guys trialling ESMValTool: they are wanting to write a diagnostic that uses ESMValTool preprocessing capability but it's not in the diag library (for getting used to the power of ESMValTool reasons). Currently this is not possible unless they write the diagnostic and git push it (obviously by creating their branch) -- this is bulky -- would it make sense introducing an option 'external diag' that will just run whatever diagnostic specified in the namelist?

There is no need to create your own branch: simply install ESMValTool in development mode and add your own namelist + diagnostic scripts,  installation in development mode is described in README.md.

This is good to know and sorry for not being aware of this, slipped through many cracks :grinning: If this has been tested by other people (not us the devs only) then I shall close the issue right away @bouweandela

also, before killing this issue, it may be useful to think if we want to make this run-your-own-crap a bit more straightforward for the user; I dont think we should spend too much effort on it since the dedicated way of deploying ESMValTool is on a big cluster with access to big data. But yeah... @bouweandela @mattiarighi

I think that installing in development mode is the best solution, because that makes it more likely that whatever you create will work once you decide you want to include it in esmvaltool. Adding this more explicitly to the documentation in a getting started section would probably be good though.

There are some inconsistencies between README.md and the user guide.

I've reviewed the documents above and added some corrections in PR #345 and #346


Offset with dual monitors

With 2 monitors it sits right halfway across them, instead of centred on one or the other.
Possible to add some switch to offset it by a number of pixels? e.g. -o -960 to offset it left 960 (half of a 1920 monitor) so that it's centered on the main screen?

:+1:
While sflock works well, this is kind of annoying.

I have added the option -xshift someshift. First, I tried doing something fancy, like detecting multiple monitors, or finding the width of a single monitor, but X11 seems to be lacking support for this.


Package depends on PHPUnit?

https://github.com/Michael-Metz/PasswordProtect/blob/1b13c4576ba5b4d4712792ed5a55dc876a9926b9/src/PasswordProtectController.php#L6
Are you sure this is the right HttpException Class?
have no PHPUnit in my live environment, thus the app can not boot.

I see your concern, you are saying that the HttpException class that PasswordProtectController.php is using belongs to PHPUnit.  Therefore if you don't have PHPUnit then the package will not work?
What happens if instead, you remove
 line 6  use Illuminate\Foundation\Testing\HttpException;

and examining the following uses on
line 83
throw new HttpException("recaptcha is config version:" .config('recaptcha.version') . "fix is needed to make this work with recaptcha again");

and line 127
if ($validPassword == null)
            throw new HttpException("Password Protect: \"" . $rootRouteKey ."\" was not set in the .env file");

we change to the following respectivly
line 83
abort(403, "recaptcha is config version:" .config('recaptcha.version') . "fix is needed to make this work with recaptcha again");

line 127
if ($validPassword == null)
    abort(403,"Password Protect: \"" . $rootRouteKey ."\" was not set in the .env file");

Therefore we removed the dependency of Illuminate\Foundation\Testing\HttpException and all its uses within PasswordProtectController.php by replacing each time the exception was thrown, with just the abort helper function.


Scott/17

This should run when I tag the project. After that's built I'll fix up the home-brew formulae here: https://github.com/SwiftBuildTools/homebrew-formulae/blob/master/Formula/changes.rb


Start documentation

This PR contains:

set up the plugin
how it works

@mrtmmr I just realized this documentation is in sbt-compendium repository. IMHO, I think all compendium documentation should be place at compendium repository, including sbt-compendium integration as a new section. What do you think?
We could just open an sbt-compendium integration section at compendium docs and place a link in sbt-compendium's README to that section for the complete documentation.

Should we close it in favor of https://github.com/higherkindness/compendium/pull/237 ?

I was waiting to drop everything and put the link to compendium microsite. But I guess we can do it later


⚠ Bofrost.lu has degraded performance

In 975e0b4, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1919 ms

Resolved: Bofrost.lu performance has improved in 8367116 after 6 minutes.


unable to see brokers details in kafka-ui

Hi Team,
We have installed 3 zookeeper and 3 kafka node on same instance with different port and producing and consuming message using internal dns name.
Below are the details
2181 - zookeeper1.example
2182 - zookeeper2.example
2183 - zookeeper3.example
9093 - kafka1.example
9094 - kafka2.example
9095 - kafka3.example
and we are trying to use kafka-ui for this setup using docker.
Below is the configuration that we are trying.
"KAFKA_CLUSTERS_0_NAME", "value" : "kafka-dev",
"KAFKA_CLUSTERS_0_BOOTSTRAPSERVERS", "value" : "kafka1.example:9093,kafka2.example:9094,kafka3.example:9095",
"KAFKA_CLUSTERS_0_ZOOKEEPER", "value" : "zookeeper1.example:2181,zookeeper2.example:2182, zookeeper3.example:2183"
But we are unable to see this brokers details in kafka-ui. Can you please help us with the configuration.

how can we secure this UI with username and password ?

Thanks for your support.
Upgrading broker to latest version resolved my issue.

That's great, glad to hear!

how can we secure this UI with username and password ?

There are two options you have there:

simple username/password auth -- reference
OIDC -- https://github.com/provectus/kafka-ui/blob/master/guides/SSO.md

Feel free to raise a new issue (or better a new discussion) if you'll have any problems with setting up authentication.


refactor: metadata struct names

There's 3 tiers, all with bad names:

Global: internal.RoomMetadata
User caches.UserRoomData
Connection sync3.RoomConnMetadata

This isn't clear enough.

I think part of the confusion is that the RoomConnMetadata holds a copy of the other two structs, but uses them for different purposes. (E.g. LastMessageTimestamp)

I think it would also help if we had a type caches.GlobalRoomMetadata. ATM the RoomConnMetadata embeds internal.RoomMetadata but edits it in place for its own purposes, which is confusing.

RoomConnMetadata contains copies of the user/global cache entries for that room at the point in time the event in question was received, which is useful for pulling out e.g the room name at that event.

Hmm. How do you find this wording?

RoomConnMetadata keeps a copy of the global and user cache data, updated whenever we have an event to report to that conn.


About fine-tuned inception model file

Hi! When i test your fine-tuned model file, it happens some errors:
Error(s) in loading state_dict for Inception3: 	Missing key(s) in state_dict: "AuxLogits.fc.weight", "AuxLogits.fc.bias", "fc.weight", "fc.bias".  	Unexpected key(s) in state_dict: "fc_new.weight", "fc_new.bias", "AuxLogits.fc_new.weight", "AuxLogits.fc_new.bias".
Could u mind send a fine-tuned inception model file(inceptionv2.py) for me, thx!!!
Other Question~, how to fine-tuned the inception model on bird datasets?

Hi! Thanks for pointing that out. I've added the new inception model here (https://github.com/kkanshul/finegan/blob/master/code/inception.py). Right now it is for birds, and if you need it for some other dataset, just change the last fully connected layer dimension (200 for cars, 120 for dogs).
As for the fine tuning of inception net, I just initialize the layers (except the last fully connected layer) with the inception network trained on ImageNet dataset. I then further train the network on the complete CUB dataset. I create a 80-20 split of CUB and use the 20 split as validation set to determine when to stop training the model.
Thanks ~

thx!


Add "Tasks" side bar

Support of tasks needs a lot of improvement (a lot of feature requests). I think we have accumulated enough feature requests to promote tasks management to a separate side bar. The side bar should:

Refreshes and lists all tasks when a new folder is opened
Allows user to manually refresh task list when corresponding file (e.g. gulpfile.js) is modified. Or, watch the file so the list will be automatically updated.
Shows the state of each task, e.g. "running". More than one task can be in "running" state.
Provides a "Run" button for each task, or a "Terminate" button if the task is running.
Show the path of the corresponding tasks definition file, and a button to open the file in editor.

@octref is working on https://github.com/Microsoft/vscode/pull/14048 so this can be implemented as an extension.

CC @dbaeumer
Think you might be interested as this is assigned to you.

Tasks - Explore future direction of task support @dbaeumer

@cnshenj I fully agree that the task support needs improvement and especially alignment with other features in VS Code. We decided that during the next iteration we work on the future directions of the task support and will cycle the ideas back to the community.

There were many improvements to tasks. There now is an API, that is leveraged by the NPM Script Explorer, and there now is an extension that provides a Tasks explorer https://marketplace.visualstudio.com/items?itemName=BitLaboratory.task-panel.
Closing this issue.


Studio docs restructuring

Docs restructuring to address https://github.com/iterative/studio/issues/5250 and make other improvements. Some of the major changes are:

Remove how-it-works and prepare-your-repositories pages and assimilate their content into other pages
Restructure get-started page to better introduce experiments/metrics, models and collaboration.
Shorten and simplify some of the text
Remove notifications about views-to-projects renaming
Group together teams related pages

@tapadipti I think it's a great improvement, let's merge and do followups/ thinks about the next iteration.

Thanks @shcheklein. I've merged this PR and created a follow-up issue with your comments.


Wrong Cyrillic charset

0.20.0
Trackerlist tier_n and Error: {0}

Thanks - sorry for missing all of these translations 😅


Diagrams with old unsupported versions cannot be opened.

Describe the Bug
The current behavior for opening a diagram with a platform version which is not selectable throws an error which disallows opening of the file. This modal is a generic component which makes opening the diagram impossible.
Modal

The main problem here is that it disallows users which had a platform set to 7.14 back in the old modeler to open the diagram in 5.0, which obviously completely conflicts with the notion that we should be backwards compatible.
Steps to Reproduce

create a new diagram
save
switch to xml view
edit the platform version
try to switch back to the editor view

Expected Behavior
The file should still load, at the very least for deprecated versions but perhaps even for any version that do not match those we support on the current modeler.
Environment
Modeler Version: 5.0, but this behavior has been in place for longer
Context
From @philippfromme

This behavior was adopted from the form editor (cf. https://github.com/camunda/camunda-modeler/pull/2573). In the case of the form editor however there are no "old" versions we don't support. The error can only pop up if you set a fantasy version. In the case of BPMN there are lots of old versions that should open just fine and be ignored by the interested parties (e.g. linting). (edited)

Some thoughts:
The release of 7.15 was just one year ago. We should never call a 13 month old diagram from 7.14 “not supported” or even worse, “deprecated”. Not opening it at all would be unacceptable from my view. We need a friendly way to deal with this!
With older versions, I see basically two options:
Provide linting packages for older versions. I learned that the feature set of DMN basically didn’t change since 7.4 (Nov, 2015!) so we could just duplicate and provide packages for all versions of the last 6 years. We could investigate if this is possible with little effort for BPMN, too.
 Provide a friendly way to inform the user about this and ask for update.

My conclusion of the (Slack) discussions so far is that the underlying problem is the platform version select component/behavior. Regardless if we introduce older versions or not, we should make the component robust enough to deal with none, old, and external/unknown platform information. I see this also related to the “import to C8” discussion where we face similar problems.

I've unassigned myself for now, can't juggle this with the dynamics form stuff. Most likely will pick it back up during summer prep.


Make interfaces show in interface terminal

need to rewrite EC2 fully, unfortunately. Haven't found an easy way to do that


Show the date of image at the plot level

See PR #166 This data will now be stored at the sample level.


Particles2D causing tearing

Godot version:
Steam version (3.0.2.stable.official)
OS/device including version:
Windows 10
OpenGL ES 3.0 Renderer: GeForce 940MX/PCIe/SSE2
Issue description:
When adding any Particle2D node, whole scene start tearing horribly when moving camera.
If i hide Particle2D node IN EDITOR, tearing stops. If i hide Particle2D in-game via script, tearing still occurs.
Steps to reproduce:
Add Particle2D to scene, set texture, add material (no need to modify anything)
Play
Move Camera2D
Minimal reproduction project:
TearingUnderParticles2D.zip

hmm, nice example. unfortunately i can't reproduce this. moving is very smooth. no tearing anywhere.
gtx 960, win10

Ok, looks like it doest glitch always (i dont see the tering right now, but when it hit, its terrible) - dont know why, mybe its something with pc uptime?

Turning v-sync OFF solved the issue, (sorry, forget to mention that...) maybe your 120hz monitor is reason why you cant see tearing?

At first i thought it was becouse of Light2D on my torch, but found out its Particles2D (sorry for wrongly named minimal reproduction project :) )
Still investigating, I will update this issue just after I find out more.

Cannot reproduce on Linux with AMD, but 60 hz monitor...
Try forcing 120fps on project settings (search for fps on project settings, it should be under "debug").

Happening again, this time i made a (60fps) gif:
You are looking at TileMap + ParallaxBg with two layers, one with some tilemaps (other hauses) + bg sprites in another ParallaxLayer.

(ok, gif doesnt look THAT horrible, but its only small cut of screen)
This one looks like there are triangles? (or not, idk...)

others looks like this one (nothing special to see, just lines):

Again, tearing does not appears when i hide Particles2D node (smoke from chimey)

After forcing 120 fps it looks (subjectively, idk how to measure it :) ) even worse.

Found one more thing: if i maximalize window (not fullscreen, just maximalize), tearing disapears (almost, at least it is negligible) (using [display] window/stretch/mode="2d" window/stretch/aspect="keep")

No visible difference between Steam version and downloaded (x64) version, tearing in both is the same. Downloaded x32 version is tearing too (subjectively not so much but as i say, its hard to measure :) )
I think now is the right time to learn how to compile godot... :)

just curious when changing the tileset textures's filter property (enabled or disabled), does that have any effect?

Changing Filtered flag does not have any visible effect.

i really want to try to replicate what's causing this.. anyone else (@godotengine), have any other questions / things to test or ask?

Tomorrow (27. 3. 2018 CET :) ) I can try this on the exactly same graphic card on another notebook, will update this issue how it goes.

If instead of using a you move the viewport (root) origin, the tearing is there too? (I'm thinking of workarounds until there is a real fix for this)

Well, i dont really need workaround.
For me its only hobby project - but if it turns out to be something like a bug on all MX graphics cards (or something like that), it's quite a showstopper for every serious developer...

@splite since other devs have tested this and i don't think their on a mobile gpu (and can't replicate it). i think it may be only an issue on mobile graphical processing units. i could be totally wrong, but just from what i'm seeing here

@girng ok, its official, looks like its NVIDIA MX (Notebook cards) related, tested on ANOTHER GeForce 940MX (exactly same model as mine) on another notebook and tearing appears, more or less the same as on my notebook, teared triangle etc as described. Everything is smooth when i hide Particles2D node in editor (not via script)
(btw, tested both on external monitor and ntb monitor, no visual difference)

Good News, Everyone! 👨🔬
This is only "play from editor" bug - if i export game as windows executable, tearing diasappears. Tested on GeForce 940MX and Intel integrated card, no tearing at all. (I wanted to try what happens when i run my game with the integrated card)
Its annoying but I can live with that (I have heard that in 3.1 the particles will be rewrited to single pass)

@splite Nice! I was about to ask you to try that, so this is probably related to the debugger overhead on windows with these gpu (or cpu?).
Do the exported game was on release or debug mode?

ok, so yeah. not a graphics card issue at all
simply turn off

however, this could be seem as normal. if the live scene is being refreshed like that, it will cause tearing. that's why that feature was implemented. i suspect future optimizations to be made so that tearing on live remote scene tree viewing is less and less

"Auto Switch To Remote Scene Tree" is off by default. (?), when i turn it on, tearing is even worse.
Anyway, I think we can close this issue, (at least its nothing with Particles2D, so the name is confusing)
Thanks guys!

@splite is up to you to keep it open and change the title (and maybe add the new information to first post) or close it (and maybe open a new one focusing on the issue inside the editor).
I think devs will prefer the former.

agree with @eon-s. looks like a new issue would be ideal. since this issue needs to be reduced a lot (we had to kinda find out where the bug isolated from). appreciate @splite for your time.


make post images width: auto and max-width: 100%

it will me nice if will be possible to have post's images auto-width and max-width to 100%

Why could be nice?
What is the problem?
What are you trying to fix?
Can you upload a image explaining your point of view?
:)

if you go to my blog (www.florinlungu.it) and open the first article for example, you will see some screen-shots of my phone and the visualization is not optimal. if i set the style of images to with:auto and max-width: 100% the image is shown correctly and not zoomed in.

I see perfect in my iPad
But if you think that you have the solution, what about create a PR?

@floryn90 I'm trying to put attention to this but I don't see the difference betwenn:
/* current */
width: 100%;

and
/* proposal */
width: auto;
max-width: 100%;

Can you post images of your visualization of both?

full-width: http://pasteboard.co/qinQXpj.png
fixed-width: http://pasteboard.co/qixsu63.png

My fail. I thought all the time that you said mobile version 😆.
I'm preparing the next version that will be available tonight!


Add Pools Object

Add pools object to schema, readme, and under each token.
accepted property names with are: OSMO, ATOM, USDC, SCRT, ATOM, STARS
~ 2 dozen tokens are missing a pool id still, and that's because I could not find one using the router, meaning they have low liquidity anyway.
Closes https://github.com/osmosis-labs/assetlists/pull/214
Closes https://github.com/osmosis-labs/assetlists/pull/273

LGTM ! Maybe about USDC, since we have .grv and .axl we should specify which one, or perhaps use "display" and not "symbol" as key in "pool"


Searching not working by using a related model on EloquentDataTable

The search feature doesn't work if I have a related model
Hello guys, great contribution, I love the datatables for Laravel.
But, i'm facing some issues when I try to search on a related model.
Notice that ordering works fine, just searching doesn't
I have other datatables whitout related data and the search works fine.
I'm confused at this point, after looking for several pages and forums I couldn't resolve this issue.
Please help :)
Code of datatable
namespace App\DataTables;
use App\Models\MyModel;
use Yajra\DataTables\Services\DataTable;
use Yajra\DataTables\EloquentDataTable;

public function dataTable($query)
    {
        $dataTable = new EloquentDataTable($query);

        return $dataTable
                ->addColumn('action', 'test.datatables_actions')
                ->rawColumns(['date, 'destiny_id', 'driver_id', 'number_sp', 'trx_amount', 'action'])
                ->editColumn('date', function(MyModel $model){
                    return optional($model)->date->format('d-m-Y');
                })
                ->editColumn('Destiny.destiny_id', function(MyModel $model){
                    return optional($model->Destiny)->formated_data;
                })
                ->editColumn('Driver.driver_id', function(MyModel $model){
                    return optional($model->Driver)->formated_data;
                })
                ->editColumn('number_sp', function(MyModel $model){
                    return optional($model)->number_sp;
                })
                ->editColumn('trx_amount', function(MyModel $model){
                    return number_format(optional($model)->trx_amount, 0, ',','.');
                });

        //return $dataTable->addColumn('action', 'test.datatables_actions');
    }

public function query(MyModel $model)
    {

       return $model -> newQuery() -> select(
        'id', 'date', 'destiny_id', 'driver_id',
        'number_sp', 'trx_amount') -> with('Destiny')
        -> with('Driver');

    }

public function html()
    {
        return $this->builder()
            ->columns($this->getColumns())
            ->minifiedAjax()
            ->addAction(['width' => '80px', 'printable' => false, 'title' => 'Acción'])
            ->parameters([
                'lengthMenu' => [
                    [ 50, 100, 150, -1 ],
                    [ '50 registros', '100 registros', '150 registros', 'Todo' ]
                ],
                'dom'       => 'Bfrtip',
                'stateSave' => true,
                'order'     => [[4, 'desc']],
                'buttons'   => [
                    ['extend' => 'create'],
                    ['extend' => 'export'],
                    ['extend' => 'print'],
                    ['extend' => 'reset'],
                    ['extend' => 'reload'],
                ],
                'language' => ['url' => '//cdn.datatables.net/plug-ins/9dcbecd42ad/i18n/Spanish.json'],
            ]);

    }

protected function getColumns()
    {

        return
        [
            [
                'name' => 'date',
                'data' => 'date',
                'title' => 'Fecha',
                'defaultContent' => '',
                'width' => '150px',
            ],
            [
                'name' => 'destiny_id',
                'data' => 'Destiny.destiny_id',
                'title' => 'Destino',
                'defaultContent' => '',
            ],
            [
                'name' => 'driver_id',
                'data' => 'Driver.driver_id',
                'title' => 'Driver',
                'defaultContent' => '',
            ],
            [
                'name' => 'number_sp',
                'data' => 'number_sp',
                'title' => 'Nº SP',
                'defaultContent' => '',
            ],
            [
                'name' => 'trx_amount,
                'data' => 'trx_amount',
                'title' => 'Monto',
                'defaultContent' => '',
            ],
        ];

    }

-->
System details

Operating System: LINUX
PHP Version 7.1
Laravel Version 5.8
Laravel-Datatables Version 9.5

I think you want to search on edited column values?
->editColumn('Destiny.destiny_id', function(MyModel $model){
                    return optional($model->Destiny)->formated_data;
                })

If yes, you should also include the columns used in formatted_data. You can try adding a hidden column or use filterColumn and adjust how to proceed with searching.
            [
                'name' => 'destiny_id',
                'data' => 'Destiny.destiny_id',
                'title' => 'Destino',
                'defaultContent' => '',
            ],
            [
                'data' => 'Destiny.name',
                'visible' => false,
            ],

Thanks for your reply.
In formated_data is a concat of name and surname by using an accesor on the model Driver as is:
    public function getFormateDataAttribute()
    {
        return $this->name . ' ' . $this->surname;
    }

,I'd added as you suggested, doesn't work.
            [
                'data' => 'Driver.name',
                'visible' => false,
            ],
            [
                'data' => 'Driver.surname',
                'visible' => false,
            ],

also I tried changing the query as is
return $model -> newQuery() -> select(
        'id', 'date', 'destiny_id', 'driver_id',
        'number_sp','trx_amount', 'Driver.name','Driver.surname') -> with('Destiny')
        -> with('Driver');

Notice that I'm using the model instead tables, should I use the relation table name?
even I change this too..
->editColumn('Driver.driver_id', function(MyModel $model){
                    return optional($model->Driver)->name. ' '. optional($model->Driver)->surname;
                })

nothing works... please guide me, is there any other approach?

Can you please dump the json response? Is it really Driver and not driver on lowercase?

the model is Driver, the table name is drivers
this is the dump:
`
{"draw":1,"recordsTotal":11,"recordsFiltered":11,"data":[{"id":"10082","date":"27-12-2019","destiny_id":88,"driver_id":103,"number_sp":null,"trx_amount":"90.000","destiny":{"id":"88","created_at":"2019-10-30 16:48:21","updated_at":"2019-10-30 16:48:21","name_destiny":"PYG PRISUR TEMUCO","time":"09:00:00","client_id":"9","destiny_p_id":"16","deleted_at":null,"amount_pre":"90000","formated_data":"PYG PRISUR TEMUCO - H: 09:00 - $ 90.000","destiny_p_id":"PYG PRISUR TEMUCO"},"driver":{"id":"103","created_at":"2019-06-13 19:50:33","updated_at":"2019-11-05 13:02:04","deleted_at":null,"name":"YULIEXIS","surname":"TORRES\tGONZALEZ","rut":"23101367-9","email":null,"fdn":null,"foto":null,"foto_app":null,"bio":null,"user_id":"105","activo":"1","disponible":"1","driver_id":"YULIEXIS TORRES\tGONZALEZ"},"action":"<form method="POST" action="http://localhost/fbackend/public/expediciones/10082" accept-charset="UTF-8"><input name="_method" type="hidden" value="DELETE"><input name="token" type="hidden" value="Mtyt1XrKQbTNqh2Ryl31RI1IGKAICcCaEWAky9zF">\n\n    \n       \n    \n    \n       \n    \n    <button type="submit" class="btn btn-ghost-danger" onclick="return confirm('\u00bfEsta seguro?')"></button>\n
\n</form>\n"}"}],"queries":[{"query":"select count(*) as aggregate from (select '1' as row_count from expediciones where expediciones.deleted_at is null) count_row_table","bindings":[],"time":"0.74"},{"query":"select id, date, destiny_id, driver_id, number_sp, trx_amount from expediciones where expediciones.deleted_at is null order by trx_amount desc limit 50 offset 0","bindings":[],"time":"0.68"},{"query":"select * from destinies where destinies.id in (18, 22, 24, 66, 71, 77, 85, 86, 88, 106) and destinies.deleted_at is null","bindings":[],"time":"2.42"},{"query":"select * from drivers where drivers.id in (4, 37, 103, 110) and drivers.deleted_at is null","bindings":[],"time":"2.14"}],"input":{"draw":"1","columns":[{"data":"date"},{"data":"destiny.destino_particular_id","name":"destiny_id"},{"data":"driver.driver_id","name":"driver_id"},{"data":"number_sp"},{"data":"trx_amount"},{"data":"action","searchable":"false","orderable":"false"}],"order":[{"column":"4","dir":"desc"}],"start":"0","length":"50","search":{"value":null},"":"1578536090123"}}
`

Hello, i finally did, as you mentioned the relationship name was lowercase, I just replaced in everywhere and works.
But, doesn't work with searching on an Accessor, neither on a manually concatenated  editColumn

->editColumn('Driver.driver_id', function(MyModel $model){
                    return optional($model->Driver)->name. ' '. optional($model->Driver)->surname;
                })

So i was obligated to do in separated columns, which is a little limitating.
additionally i detected that id column is required in order to keep links to show, and edit views.
is there a way to hide the Id column? since using
            [
                'data' => 'id',
                'visible' => false,
            ],

doesn't work, I'm using Yajra\DataTables\Services\DataTable; and that seems to be the reason.
Please let me know if there is a way to use Accessor and hide the Id column.
Best

Instead of editing, I suggest you use addColumn. Editing an existing column like ID may cause some issue like what you stated when generating links and views.
->addColumn('driver_info', function(MyModel $model){
    return optional($model->Driver)->name. ' '. optional($model->Driver)->surname;
})

... Columns

            [
                'data' => 'drive_info',
                'name' => 'driver.name',
            ],
            [
                'data' => 'driver.surname',
                'visible' => false,
            ],

In addition, try setting APP_DEBUG=true and inspect the queries generated on json response. That would give you a better where the query is failing.


Fix deserialization of repeated enums

Changes
Resolves #449.
We need to handle deserializing repeated enums specially, like we do with handling deserializing plain enums.
Tests

[ ] make test run locally
[ ] make fmt applied
[ ] relevant integration tests applied

Codecov Report
Attention: 170 lines in your changes are missing coverage. Please review.

Comparison is base (86ca043) 51.62% compared to head (ec748db) 51.62%.
Report is 2 commits behind head on main.

Files
Patch %
Lines

databricks/sdk/service/compute.py
3.70%
26 Missing :warning:

databricks/sdk/service/catalog.py
3.84%
25 Missing :warning:

databricks/sdk/service/ml.py
4.16%
23 Missing :warning:

databricks/sdk/service/workspace.py
6.66%
14 Missing :warning:

databricks/sdk/service/iam.py
7.69%
12 Missing :warning:

databricks/sdk/service/sharing.py
7.69%
12 Missing :warning:

databricks/sdk/service/sql.py
8.33%
11 Missing :warning:

databricks/sdk/service/jobs.py
9.09%
10 Missing :warning:

databricks/sdk/service/serving.py
9.09%
10 Missing :warning:

databricks/sdk/service/settings.py
10.00%
9 Missing :warning:

... and 5 more

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #450      +/-   ##
==========================================
- Coverage   51.62%   51.62%   -0.01%
==========================================
  Files          38       38
  Lines       22266    22270       +4
==========================================
+ Hits        11495    11496       +1
- Misses      10771    10774       +3

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


Fix cmake config in case Boost is found using config mode

If Boost is found with the Config mode of find_package, variables like Boost_CONTEXT_LIBRARY_DEBUG will not be set. The unset variable causes the get_filename_component to be called with the wrong number of arguments.
Similar to other portions of the cmake configuration, to other parts of the cmake configuration, this problem can be alleviated by an additional check that needs to be introduced, to check whether we are finding Boost via the config or the module mode.

@sbalint98 Is this ready now?

I am not sure if we want to merge this after all. The user can always define CXX_FLAGS and LINK_LINE variables, so it might not make too much sense to further complicate this CMake file...


Check unicode links correctly

Take a web page, which is correctly encoded in UTF-8 and has set the UTF-8 header correctly, that has a link like this:
café

If you click on the link, the browser encodes/escapes the URL to this:
https://fr.wikipedia.org/wiki/Caf%C3%A9_%28%C3%A9tablissement%29

And sends a GET request with that URL. If the browser forgets to do encode/escape it, some servers won't accept the request (although it seems some servers do recover well).
The patch included fixes check-pages to handle this use-case correctly, even when the URL contains white-space, and it includes a test.

Thank you! I'm working on a different task at the moment, but will come back to this soon. For the time being, I have a couple of questions about your changes and will leave them inline. Appreciate the help! :)

I really dug in to this bug, investigating with Wireshark. Firefox always URI encodes URLs before putting them in the GET HTTP header. However, it seems that Node's http library (which request uses) does not do the same. For characters greater than U+FFFF, it encodes to UTF-16 and then only sends the first byte for each character, because of the way Buffer(x, 'binary').toString() works.
This is bug #2114 in Node.js and I want to see if my pull request gets accepted.

Thanks for the update! Now I'm curious as well. :)


⚠ ClamAV has degraded performance

In dfe17b0, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 454 ms

Resolved: ClamAV performance has improved in ec8a8fc after 14 minutes.


C2ME strange incompatability

Sorry, I hit enter before I realized this was supposed to go on c2me's issue page instead, and idk how to delete posts (If I figure it out this post will be deleted.)
Saving after quitting the world will always take over a minute to finish while c2me and fastquit is installed for some reason.
Removing c2me will solve the issue.
Edit: Marking as closed is as close to deleting as I can get, sorry.

there's absolutely no harm in opening an issue on both pages, dont worry
since ive gotten a similar report thats also been closed im gonna look into this to see if maybe fastquit is causing a problem here

could you maybe upload a minecraft log, i cant seem to reproduce the issue myself (there might be more mods causing this issue)

Can do. I pasted c2me back into my mods folder, started up a new session, exited, forgot I put it back in, and thought "damn what's taking so long?" lol
Here's my latest.log; I assumed you meant this one but let me know if you wanted a different log

Wait so what exactly was the chain of events here?
The way i understand it from the logs right now (might be wrong) it goes like this:
Join world -> Leave World -> Main Menu -> Press Quit Game -> it takes 59 seconds to save the world -> Minecraft finally closes

Yes, that is exactly correct.
Open Minecraft -> Join World -> Leave World -> Press Quit Game - > Game takes 59 seconds to save the world -> Minecraft closes
That is exactly what happened for that log instance

could you try how long saving takes with c2me but without fastquit?

Sorry, yeah, didn't see your reply lol
Here's the latest.log with c2me and no fastquit
This time in a slightly different order because of no fastquit, but twice as long save time, which I guess means it for sure isn't because of FastQuit.
Start Minecraft -> Enter World -> Leave World -> Game takes 2mins 2s to save game -> Press Quit Game -> Minecraft closes

yea okay, seems like a pure c2me issue then (or an issue with another mod you are using), i'll close this again then, thanks for your help! :)


Delete source code of the linters from the project

Setup environment with the necessary linters without its source code

See several PRs: #131, #132, #133, #134, #135

All of them were merged into PR#118.


Only count approved reportbacks

Totally forgot to add this AND to the query
Currently counting all reportbacks, approved or not :grimacing:

@angaither this should count reportbacks that are approved, excluded, or promoted.
So all reportbacks that have a status (i.e. have been reviewed) where that status does not equal flagged.

Actually, excluding flagged things is in the query, but flagged defaults to 0
It should default to null first and, then change to 0 once the reportback has been approved (or not)


Add leapfrog-ui to deployment notes

Add leapfrog-ui instructions to deployment notes.

Will be included in additional GPU deployment and updates: https://github.com/defenseunicorns/leapfrogai-deployment/issues/6


Issue #1556: fixed incomplete header paths issue with XCombineJars option.

Issue #1556: fixed incomplete header paths issue with XCombineJars option.

I reworked the first pull request after realizing that it would fail Java 10 and above. The underlying issue is that one of your packages had an underscore, which is legal but didn't pass the quick-and-dirty package extractor added for Java 10. The current pull request works with all Java versions, so it should unblock you if you don't want to wait for the commit.


Axon-Test: Fixture returns "DomainEventMessage" as type if expectEventsMatching() fails

When using expectEventsMatching() on an AggregateTestFixture the result of an failure matching the given events always is GenericDomainEventMessage
List with Messages with Payloads matching <list with exact sequence of: <[matches a given predicate]>, <[matches a given predicate]> (FAILED!) and <<nothing>>>
But got:
GenericDomainEventMessage: org.axonframework.eventsourcing.GenericDomainEventMessage@20f5281c
GenericDomainEventMessage: org.axonframework.eventsourcing.GenericDomainEventMessage@56c4278e

This makes it hard to get what is going on and to find out what kind of event was published.
Cause:
ResultValidatorImpl uses Reporter.reportWrongEvent() to format the output message. The reporter prints publishedEvent.getClass().getSimpleName() and publishedEvent.toString() which has to be a EventMessage class.
Solution:
It should print payloadType() and payload().toString().
ResultValidatorImpl knows the type is EventMessage but  Reporter.reportWrongEvent() uses Collection<?> for the actualEvents input parameter. This easily can be typed to List<EventMessage<?>>.

I think this is a duplicate of #511. Can you confirm that is what you meant?

Thanks Allard, yes, #511 would solve this issue, too.

Thanks. I'll close this as a duplicate, then.


Update Database to Microsoft.Sqlite and EF7

Updates the Database Composer with Microsoft.Sqlite . This may fix mac ARM64 compability, and also modernizes the codebase.

No longer required. ARM64 mac works fine


Host creation cancellation dialog uses incorrect colors

@johnheroy, wanna take this?

Also would it be possible to unlink the user@host:port field and the nickname field if nickname has been set by user ?
When I just want to correct something in the host this erase my custom server nickname with the default one.


Compatibility with skaffold

updated available commands in helm-secrets and have program exit with the exit code of the executed helm command to make this plugin compatable with skaffold
This PR will make helm secrets compatible with skaffold by allow the dep, get, and delete commands to be used with helm secrets. These commands are used by skaffold and although I've tried to see if their code could be modified to selectively use helm secrets on certain commands it was easier to go this route.
I also pass through the exit code of the helm command since thats used by skaffold as well.

Any update on this? I would like to get this pushed through so I can start working with the skaffold community

+1 for getting this merged as I would like to use this when the corresponding PR for Skaffold gets merged.

Now that https://github.com/GoogleContainerTools/skaffold/pull/1617 has been merged, it would be great to get this PR merged so we don't have use a different fork.

Can you check the latest master? All fixes should be in place now. If it works then this is duplicate.


try to fix osx travis by building own version of boost

Please check #264 first

I'd rather go with #264, which uses an updated version of Gadgetron. Commit https://github.com/gadgetron/gadgetron/commit/8ea7f911e87575f666e30bfa5ffe7269023b0480 removes dependence on boost::thread, which is the source of our problems.
Unfortunately, I can't get new versions of Gadgetron installed (not invested much time in it). Therefore I thought it might be easiest to simply keep the old version of Gadgetron and install boost ourselves (instead of brew install boost). This seems like the easy solution providing the builds don't time out/max out the log length.


Change tag sample to do sold and warning events lookup

Tag sold product event and inventory warning events
Add aggregator actors for sold and warning tags using EventByTag() query
Add web UI views for both sold items and inventory warnings
Clean up UI

Need Akka.NET and Akka.Persistence.Hosting update for this to work


Training from scratch for sports 1-M

Hi,
So far,

downloaded 30000 videos from sports 1-M dataset per category 60 videos. Then I decoded the videos grabbing up to 50 frames from each video.
saved them exactly like UCF101 dataset.
Used the code to split to train and test
changed the num_classes to 487
as of now using the same crop_mean.npy file.

When running the training code, prints out 0.00 accuracy even after 5000 steps. I was wondering If I have missed anything.
BTW, I used the same code and trained based on UCF 101. It was successful.

Actually I was able to train from scratch by changing number of images per iteration to 100.
The problem now is the accuracy on the training data is great but not on the test data.
Any clue? May be the test/train split does not do a good job.

@aliericcantona could you show how do you to change number of images per iteration to 100? where did you change


Add Nvak

@jacobclyne This domain does not belong to a university, nor to a college. I have to close the request without merging. Please ensure that you are familiar with this repository rules located at the bottom of this page before submitting a new request.