AVRO-3088: use modern CMake style with config file

I'm proposing some changes to CMake that would also install config file which makes it easier for downstream libraries to use avro as dependency.
Make sure you have checked all steps below.
Jira

[x] My PR addresses the following Avro Jira issues and references them in the PR title. For example, "AVRO-1234: My Avro PR"

https://issues.apache.org/jira/browse/AVRO-3088
In case you are adding a dependency, check if the license complies with the ASF 3rd Party License Policy.

Tests

[ ] My PR adds the following unit tests OR does not need testing for this extremely good reason:

Commits

[ ] My commits all reference Jira issues in their subject lines. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters (not including Jira issue reference)
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

Documentation

[ ] In case of new functionality, my PR adds documentation that describes how to use it.

All the public functions and the classes in the PR contain Javadoc that explain what it does

This PR does two things, it uses more modern CMake with targets and better manages dependencies between targets and add installation of config files. Do you think this shuld be two separate PRs?

Hey @mitjap !
Are you still interested in getting this finalized?

If I remember correctly this is it. I was waiting for a feedback before removing a draft label.

Okay, thanks!
I'll take a closer look as soon as possible.
If you could rebase it on the top of current main, it would be great.

Also if you could split it into two PRs as you suggested above, it would be much easier to review!
If you don't have time for doing this, let me know and I can do this myself


This grid is not working in IE 10, 11 and edge

You can check your demo site in IE, it's not working over there do you have any solution for this?
http://donthedev.com/aurelia/#datagrid-examples/

I think this might be due to the use of Object.assign(..) in grid.js and else. Search this depot to see.
According to this...
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign
Object.assign is not supported in IE.
There is a polyfill for it listed on the page above on MDN.
But the question I have is. It seems the functionality needed here is mix-in.
Is there a way to do this without Object.assign ?
Can the same behavior be achieved via DI?
Donnell any suggestions?

I had a deeper look into this "theory" it turns out Aurelia in core.js (require) which has a polyfill for Object.assign so it's not that.

From official docs:

Aurelia polyfills browsers that don't support templates. However, a few features of templates can't be polyfilled and require workarounds. In particular this occurs when adding

So, one of workarounds can be by converting table to div table

Thanks, vermillion.  I will try this solution and let you know how it goes.

There is an ie-fix branch where the table elements have been replaced with divs.  I updated the demo site using this branch and the grid displays correctly in IE now.  If you get a moment, check out this branch and let me know how it works for you.
Updated Demo Site

Donnell,
I confirm that the demo link works in IE. I will try it in my application next.
Thanks for looking into this.

The updated demo site not working on IE or Edge.


Update local variable as per coding convention

Code smell:

Fixed code:

Issue resolved.
Refer Commit : b8b9f9d


feat: Add support for Linux ARM64

While working on #352 I discovered that there's currently no support for Linux ARM64.
But this could be convenient to have it when running a Docker container on an Apple Silicon machine.
So here it is if you want it :)
Spoiler: didn't really test it

@ruudk Darwin ARM64 is already supported 😉

Ah sorry I thought this was about the compiled version. But it's the PHAR one. I hope to get a compiled Darwin ARM64 version one day 😄

Changelog and .github/workflows/artifacts.yml updated.
I also added a note in the doc but not sure if this is what you imagined @pyrech so don't hesitate to rewrite or rephrase it :)


Add functionality to the right click popup menu

Right now we have a right click popup menu with three options: cut, copy, paste.  The goal is to add functionality to these popup options.

I would really love to work on that issue

@AyonPal Sure, go for it! Assigned the issue for you. Message me if you have any issues.

I have solved this.
Can I open a pull request?

@hrishikesharma Sure


Disable JWT token passing as query parameter

Accepting tokens as query parameters leads them to be captured in logs which may not be as well guarded or may be exported to third-party analysis tools.

I'm inclined to close this issue as we're probably dropping this library next year when need to move towards to an external authentication server.


feat(plugin-chart-table): table x-filtering supports single select

🏆 Enhancements
before
https://user-images.githubusercontent.com/11830681/125647071-0b284574-5ae9-4821-a586-561001d2d8e3.mov
after
https://user-images.githubusercontent.com/11830681/125647045-c8c3a122-de96-43d2-8336-2b1dbc3fdb07.mov

Are we should this is what we want?
A lot of datasources would probably appreciate multi-select more than filtering only by one dimension & one value.
It some users have asked for single select, we should make the filters configurable instead of changing the behavior for all.

At this moment, we're aiming for consistency, so a bunch of plugins are being moved to single-select. We can then do a small round of UX/UI design work to figure out the right interaction mechanism, affordance/indication, and means to clear one or all selects. Let's get simple cross-filtering working across he board, then step it up a notch across the board, rather than leaving it mix-and-match

I'd imagine the code be very different when we do add multi-select support so maybe the comments should be cleaned up instead.

Agreed, but I think it might be useful to implement multiple-select later. Here I'll remove the comments first.


improve helm dependency update performance

What this PR does / why we need it:
This PR was created to improve performance of the dependency update command by skipping unnecessary downloading and loading of index files that have already been downloaded and loaded
I believe this would close refs #9865
Signed-off-by: Jeff van Dam<EMAIL_ADDRESS>

@JvD-Ericsson has this change been merged into Helm main? I am still getting slow performance with Helm v3.13.1.

No this is not merged yet I have a pull request open here: https://github.com/helm/helm/pull/11726


cloudwatch-winston keeps trying to create the log group when it already exists

shouldCreateLogGroup: true works great when the log group doesn't exist when the app starts, but if the log group already exists, createdLogGroup is never set to true, so createLogGroup() keeps running and failing with an error like this:
ResourceAlreadyExistsException: The specified log group already exists
    at de_ResourceAlreadyExistsExceptionRes (/home/dan/test-project/node_modules/@aws-sdk/client-cloudwatch-logs/dist-cjs/index.js:2286:21)
    at de_CommandError (/home/dan/test-project/node_modules/@aws-sdk/client-cloudwatch-logs/dist-cjs/index.js:2177:19)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/dan/test-project/node_modules/@smithy/middleware-serde/dist-cjs/index.js:35:20
    at async /home/dan/test-project/node_modules/@smithy/core/dist-cjs/index.js:165:18
    at async /home/dan/test-project/node_modules/@smithy/middleware-retry/dist-cjs/index.js:320:38
    at async /home/dan/test-project/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js:33:22
    at async createLogGroup (/home/dan/test-project/node_modules/cloudwatch-winston/index.js:58:7)
    at async Timeout.processQueue [as _onTimeout] (/home/dan/test-project/node_modules/cloudwatch-winston/index.js:114:55) {
  '$fault': 'client',
  '$metadata': {
    httpStatusCode: 400,
    requestId: '43f6f16b',
    extendedRequestId: undefined,
    cfId: undefined,
    attempts: 1,
    totalRetryDelay: 0
  },
  __type: 'ResourceAlreadyExistsException'
}

Since createLogGroup() already handles the ResourceAlreadyExistsException, the fix should be as simple as adding this after the // OK line
createdLogGroup = true

oops, thanks

Thanks @mifi !


[WIP] QUIC Payload Decryption Support

Add the ability to decrypt QUIC initial encrypted payloads.
Features

Fixes bug that causes subtraction overflow panic on short retry packets
Adds module (crypto.rs) for key derivation, based on Cloudflare's Quiche
Decrypts client init packets
Includes decrypted payload in QuicPacket

To Do

[ ] Add frame parsing and/or reassembly
[ ] Support TLS parsing on ClientHello
[ ] Support multi-packet Client Inits
[ ] Support Server Init decryption

Testing

all packets in traces/
5 minutes on network traffic

Port 0 statistics
SW Capture %: UNKNOWN
Out of Buffer %: UNKNOWN
HW Discard %: UNKNOWN
+--------------+---------------------------+
|    697740372 | rx_good_packets           |
|<PHONE_NUMBER>67 | rx_good_bytes             |
|      1578588 | rx_missed_errors          |
|            0 | rx_mbuf_allocation_errors |
+--------------+---------------------------+
----------------------------------------------
Current time: 299s
mempool_0 avail: 8356057, in use: 32544 (0.388%)
Ingress: 0 bps / 0 pps
Good:<PHONE_NUMBER>8 bps / 2183959 pps
Process:<PHONE_NUMBER>8 bps / 2183959 pps
Drop: 0 pps (NaN%)
HW Dropped: 0 pkts (NaN%)
SW Dropped: 1578588 pkts (inf%)
Total Dropped: 1578588 pkts (inf%)
----------------------------------------------
AVERAGE Ingress: 0.000 bps / 0.000 pps
AVERAGE Good:<PHONE_NUMBER>2.550 bps / 2341410.644 pps
AVERAGE Process:<PHONE_NUMBER>2.550 bps / 2341410.644 pps
DROPPED: 1578588 pkts (inf%)

Main done. Ran for<PHONE_NUMBER>39s
Done. Logged 21435975 Quic stream to "quic.jsonl"

Currently, this PR has the ability to decrypt at least some portion of QUIC client initial traffic. I will test further with a variety of client traces to ensure that no edge cases have been missed. I have gone ahead and opened this PR to get feedback from @thegwan and @thearossman on the direction that you guys were planning to go with QUIC processing at the QUIC frame, TLS, and application layer.

Can you add more detail to both the PR and comments in the documents around what you mean by decrypting QUIC payload? Would be helpful to have something like RFC link, clarification around client init packets, etc. (When a few of us first looked at this PR, our reaction was... "wait, you can decrypt the contents of a QUIC stream???" I now see that's not what you're doing, but would be helpful to have the information more clear up-front.)

I will gladly add more detail as it comes together! At this stage, the PR does decrypt the contents of the first packet. This packet, which I've been referring to as the QUIC Client Init, is encrypted using keys derived from a version specific publicly available salt. It gives a plaintext QUIC frames that can be parsed to produce a TLS 1.3 ClientHello. The same process can be applied to the QUIC Server Init which will produce a TLS ServerHello. Once the key exchange has been completed the connection uses the new keys and we can no longer see into the packet.

Here are a couple of links for more details:
RFC 9000 21.1.2  - Describes packet protection and the initial packet encryption.
RFC 9001 5 - An in depth explanation of how the initial keys are derived and what is occurring in crypto.rs.
A nice illustrated example of how to parse the initial packets of a QUIC connection: https://quic.xargs.org

Hi @thearossman,
I have implemented a significant number of changes and figured this is a good stopping point for now. You'll notice that the structure of the output has changed significantly, mainly due to QUIC being parsed per connection instead of per packet. The output also contains a TLS object that will typically contain a parsed ClientHello and ServerHello. Let me know your thoughts and if there are any changes you would like to see before getting this merged upstream. Thanks!

Thank you!! I agree re: connection-level quic data making sense.
Going to run this in the afternoon when there's more traffic on our network with a few different types of subscribed data (quic, connection/flow features, frames).
One high-level question -- is there any point in the QuicStream when the connection could be reasonably considered ParseResult::Done, given that this PR is parsing connection-level data? Being "done" parsing a session, at some point, would help performance.

I'm glad you asked about that, I thought for a while about how to handle this situation and I'm open to whatever you think makes the most sense.
Unfortunately, it is difficult to tell when connection has ended as the frames that the hosts send to close a connection are in the encrypted payload. I decided to always leave the connection open so that additional stats on connection size and shape could be collected. I figured that somewhere further up the stack Retina has a timeout on flows and would eventually consider the connection closed.
However, I have noticed an increase in drops after the application has been running on live traffic for a few minutes. So if this is a persistent issue, and related to the lack of connection closure, I see a couple of ways it could be handled:

Complete the connection after the client and server hello messages
The initial packets contain the only decipherable information about the connection. For what I am working on, this is the most interesting information. However, questions on QUIC performance or adoption may want statistics on connection duration, size, number of packets, etc.
Cap the number of packets collected
I could create a counter that parses the first n packets and then marks  the connection as complete once that cap has been met.
Adjust connection timeout threshold
As I hinted at above, I am not super familiar with how Retina is managing long lived connections that it never receives a close result for. However, I could dig into this and attempt to lower the threshold for QUIC specific flows to account for the unknown connection closure.

Let me know what you think and I am happy to make changes accordingly!

This is really helpful, thank you! I agree with all of this. Two thoughts --
(1)
There are a few issues with UDP connections in Retina right now, to be honest. What you observe around drops spiking after a few minutes is pretty consistent for UDP protocols across the board.

The timer wheel will age out connections eventually, so lower timeouts help -- but this also risks prematurely aging out UDP connections that are actually still valid (e.g., an IoT device that occasionally pings a controller).
One development task on the back-burner is to improve UDP connection handling, such as using different heuristics for timeouts.

So, for a QUIC-specific experiment, decreasing the connection timeout (see the config file) makes a lot of sense and is definitely sufficient!
(2)
For a dev solution, I like your option 1 -- stop parsing when there's no more interesting parsable information. For QUIC performance or adoption, a user can subscribe to Connection metadata (connection duration, size, num packets, etc.) and filter for QUIC (could mean writing a subscribable type that delivers parsed QUIC data + connection metadata).
Maybe one clarification is that "stop tracking the connection" is different from "stop parsing". The former is dependent on both the filter and the subscribable type. The latter is dependent on the filter only (match_state, nomatch_state, ParseResult).
Some examples:
(1) If a user filters for TLS and subscribes to a type that is Level::Connection, then the connection will still be tracked until termination or timeout -- that's when the subscribable type is ready to stop tracking the data. You still get reasonable performance because parsing is expensive, and TLS is considered "done parsing" after the handshake.
(2) If a user filters for TLS and subscribes to TLS handshakes, then the handshake is delivered when it's parsed. After that, the connection won't be tracked; there won't be another handshake.
(3) HTTP is a bit different, since there can be multiple HTTP txns per connection; session match state == start parsing again.
I'm thinking for QUIC, we can stop parsing if we don't think there will be more interesting information (ParseResult::Done) and once we have the first session (match/nomatch state).
Lots of info here - does that make sense to you?

That makes sense to me! Thank you for the clarification, I am still trying to wrap my head around all of the nuances of Retina.
The latest commits add a return state for when the first short header packet is seen. This packet can't be sent until at least one of the hosts has completed the handshake. So it will be well after the initial packets are sent. Let me know what you think of this solution.

This makes sense based on my understanding of QUIC, which is admittedly not super deep. Trusting you for the deeper QUIC expertise and experience with what's useful from QUIC parsing, but the output and perf look good to us. Going to merge!


Share database-backed validations between CSV and XML imports

This PR extends previously CSV-only validations to cover XML imports as well. They are:

91442062: Duplicate IDs
91442218: Duplicate records (same data in two elements, but with different IDs)
91442334: References to other elements by ID actually point to elements with that ID
91442448: Only one election, source and state element each
91444288: Street segment overlaps
91444426: Complete addresses
91444350: vip_ids are valid FIPS codes
91442524: Orphan elements
91444694: Invalid UTF-8 byte sequences
91441516: Formats of data (email, phone, etc.)
91441204: Required tags

The "full-good-run.xml" file has been updated to pass all validations without any warnings or errors (very minor changes required). All other test XML files are based on that file edited to fail a particular validation.
The majority of this PR is creating tests and test files. The work of actually moving these validations from "just CSV" to "both CSV and XML" is in e9763a4.

Without going in depth into everything, what changes there are LGTM


Update nu.txt

Chimecho: removed
Aurorus: removed dual dance set and removed thunderbolt from specs in exchange for Psychic
Mawile: Jolly -> Adamant and added defensive set
Snasel: Ice Punch -> Icicle Crash
Magmortar: removed choice and expert belt (plays almost exactly the same as life orb) sets and added assault vest set
Electivire: Cross Chop -> Earthquake
Exeggutor: Fixed ev spread on lumrest, too much creep and removed sub leech seed set
Garbodor: added offensive set and changed Toxic -> Toxic Spikes on defensive set
Gurdurr: fixed moveset for second set (it didnt have knock off and ice punch is bad) as well as updating the ev spreads to a much more efficient one
Kabutops: removed weakness policy set
Kangaskhan: Drain punch -> Earthquake on silk scarf set
Lilligant: removed lum berry lilligant set because the item itself isnt very good on lilligant and the set doesn't play differently from life orb
Primeape: removed choice scarf because its awful
Regirock: condensed both sets into one and c/ped the one from the dex because the moveset and evs are better
Rhydon: Roar -> Megahorn on tank set
Weezing: removed specs set (joke set)
Zangoose: removed the second set because protect is really bad
Quagsire: added curse set
Claydol: swapped defensive set for offensive
Audino: added offensive Calm Mind Mega Audino
Cacturne: added mixed set and fixed SD set by changing jolly to adamant and focus sash to life orb
Cryogonal: updated defensive set's ev spread (used to have enough speed for adamant gatr)
Golurk: updated sets based on new analysis [specific changes: max spe on choice band, max spe on stealth rock, added rock polish set]
Carbink: added Trick Room set, removed sunny day set
Swellow: Protect -> Quick Attack on Guts set
Sawk: Changed the Choice Band set to Sturdy with the dex's moveset and swapped Poison Jab for Earthquake on Scarf set
Cradily: removed the set without stealth rock
Xatu: removed the two sets (no speed and spdef are both bad as well as life orb) and put in the standard-ish sets from the analysis
Articuno: Substitute -> HP Fire on Life Orb set
Bearctic: removed
Armaldo: removed
Miltank: removed life orb set
Liepard: removed weather setting sets
Klinkalng: removed lum berry set
Mantine: removed rest talk set and the fully specially defensive spread, added defensive set from the dex
Mesprit: added physical choice scarf set, fixed special scarf set as it didn't have healing wish and HP fire isn't good on scarf
Mismagius: swapped destiny bond for nasty plot on the life orb set, as the two current offensive sets were nearly identical and neither had nasty plot in the first place. Fixed EV spread on stallbreaker set because base 100 Pokemon are scarce, dropped Speed to be ahead of base 95s.
Rotom: swapped sub split set for the wisp + Hex set
Pyroar: removed choice scarf set
Kabutops: Knock Off -> Waterfall on spin 3 attacks set
Uxie: removed weather setting sets and updated sets to current metagame (max speed on dual screens, 56 spe on pivot set, and cm 3 attacks over sub cm)
Pawniard: removed life orb set
Below are Pokemon that I added new entries for as they were not in the file despite being good Pokemon in NU
Scyther: Added SD and CB sets
Torterra: Added CB, Rock Polish, and tank sets
Haunter: Added LO and Scarf sets
Prinplup: added standard set
Tangela: added offensive and defensive sets
Pelipper: added defensive set
Piloswine: added tank set
Poliwrath: added life orb and rest talk sets

Move slashes are a thing now fyi.

Oh, thats really helpful. So like if Megahorn was slashed with Roar on Rhydon you'd have a 50/50 chance of getting each one?
I can re-do some of the changes if need be now that I know that.

Yes. But don't repeat moves in the same set.

Your build failed because you have Audino's Mega Stone spelled as "Audinoite" instead of "Audinite" which is the correct spelling.
I am also going to echo what @Slayer95 said to me with my updates in that any hazard control moves (Stealth Rock / Spikes / Toxic Spikes / Sticky Web / Defog / Rapid Spin) cannot be slashed with due to a feature in the team generator that this would confuse. I was told to create separate sets for Pokemon with hazard control slashes and I infer that this is also the case here.

Alright, thanks for the catch. Fixed all the slashing and spelling errors and and tweaked a few sets. According to the Travis CI build thing above this should be good to go.


Skill Sheets and Badges

Section for Skill Sheets and badges for students

In the student details page, there should be a card that displays the badges earned by completing skill sheets (need visual assets for these)
To start with, there could just be a list of the skill sheets that have been completed with maybe a link to the sheet.
There needs to be a points system in order to track progress. Each skill sheet should have a number of points attached to it.
Some things to consider: Should sheets only be accessible once you've completed the previous one? I think so but I need to get some use cases. Can there be graphical evidence of progress? Could I do a graph of practice-time? That would certainly go a long ways I think!

Got it. (mostly)


Fix update-version script for helm and dataproc

alluxio-bot, merge this please

alluxio-bot, cherry-pick this to branch-2.3 please

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-PR-Builder/10197/
Test PASSed.


resolve in view do not work .

It works fine in 0.2.11 version. But I want to use reloadOnSearch feature, So I upgrade to 0.2.18, and   all resolve in view do not run.
Does this feature be removed in specific version ? I don't see any about this be mentioned in changelog
Below is my state config.

I think this is dupe of #2008
In short, we never documented that resolve could be applied to views:.
I think we considered it a vestigial remnant and removed the code.
I recommend moving the resolves from the view to the state.

closing as dupe


Upgrade to packer HCL formatted templates

Issue #, if available:
Description of changes: Packer now supports using HCL for packer templates. This PR upgrades the existing templates to HCL for future compatibility.
I'm also adding more options (in another pr) to allow using private networks and multiple regions to copy the final AMI to, as well.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

ping @arhea

bump @arhea

or ping @nairb774


fido-authenticator: Google 2FA reported not working

Google's 2FA is reported to not be working (1). Similarly Nextcloud's (2). To investigate.
Firmware: 1.0.1
Browsers: Firefox 96, Chromium 97.0.4692.99
Details:

https://support.nitrokey.com/t/nitrokey-3c-nfc-and-google-2fa-not-working/3592/7
https://support.nitrokey.com/t/firmware-update-nitrokey-3/3804/6

Google: can't reproduce it on a freshly flashed Nitrokey 3 1.0.1, development firmware. Logs look correct on communication.
Browser: Chromium, Version 96.0.4664.110 (Official Build) Fedora Project (64-bit), Incognito Window
Perhaps device needs to be reset after update to make this work?
To check:

[ ] test clean production firmware
[ ] test upgraded production firmware, path 1.0.0 -> 1.0.1

Nextcloud 22.2.3:

registered in Firefox, logged in with Chromium Version 97.0.4692.99 (Official Build) snap (64-bit)
registered in Chromium, and logged in

Working (development) and non-working logs (production) below. Visible difference between the key handles lengths (~1200 vs ~800).

 Logs
FIDODebug[20:27:16] Received successful U2F sign response from authenticator: 010000001C304502210095DFB3729DE514A0A08B7AF2D2EB9B56B542FBE6ACA09087CD7ED8A83930A79A02202234E005361C39CC27814EDE9C484EDF13F383AC7324F13FF50DD951240E9103

FIDODebug[20:27:13] -> (CTAP2 error code 46)

FIDODebug[20:27:13] <- 2 {1: "google.com", 2: h'DA85B6851D7EF19A749E69ED51E83FBA716D9BB66BDABD5E284A92D992A98800', 3: [{"id": h'44414EBB2A0D2F29FD0D14162269EEA46B644E9B931584A09B4BC833DCC46C7167A1498AFF228C1090132586A59BB8CF', "type": "public-key"}, {"id": h'A3005891D4C293971B2F86F8242E4D1A302E617509501386A2B0B6C008A57EA84AE1B84775198DE73DAFCA55E17AA36CF9F51A71530731F48D254FC507684C19601428289A232A1C2C851D43CEB418AEC3F6A757ADF73D573BA0E9E23F2A267AE3EEEE8B15EB6176E8B67A8F332E9A3C6DFBEB95679A101DF14F1A4E33D5A3637EE4F0418F37D594148A3C362C0CDBCB1ACA012229014C34672B478BD26EA739CE951F025046915EB523267C860780F995F2E8AEF9', "type": "public-key"}], 5: {"up": false}}

FIDODebug[20:27:13] The device supports the CTAP2 protocol.

FIDODebug[20:27:13] -> {1: ["U2F_V2", "FIDO_2_0"], 2: ["credProtect", "hmac-secret"], 3: h'5FCCABBBB3B4B58581DE2695DEF679F4', 4: {"rk": true, "up": true, "credMgmt": true, "clientPin": true}, 5: 7609, 6: [1], 7: 10, 8: 512}

FIDODebug[20:27:12] Sending CTAP2 AuthenticatorGetInfo request to authenticator.

FIDODebug[20:20:57] Received successful U2F register response from authenticator: 05043BAE5672401189449D4D0F5C2EC9E93FA5409F1C50DE8CAA7C3C07A4135DD5465416C5D3B14CE13156EFE9B7430A62D0ADE0C5C06907EE35F28347BA689DBDFAB5A30058914709EC021E24011FDB9BE9583945581CED9CCD7C56C6E5661A38FA685645CAE32E0F54E8BB566340480EF798700713BAE63993D3B51C227F490EA639DB392C61283A10FDF940A3CC2936BC1C26F1FB75DAC34CB5FBAC9667C78F518C0AA54D407DC36A430E41D11DAED3CFFC1567A2D943A888D60D6737C360A34F970AD1BFF43D3F780B2976A16B5AF09E8E5E640D3574014CED4FD9A645515E85AC88C5EC025024F459F886725B93CC67B7ECCD705D273082038930820171A003020102020304C593300D06092A864886F70D01010B05003036310B300906035504061302444531163014060355040A0C0D4E6974726F6B657920476D6248310F300D06035504030C06526F6F7420333020170D3231313031343135303630365A180F32303731313030323135303630365A3039310B300906035504061302444531163014060355040A0C0D4E6974726F6B657920476D62483112301006035504030C094649444F20434120333059301306072A8648CE3D020106082A8648CE3D030107034200042ABA554082E0E7F68464B233B3BDFEEC3807FFA970B8189C52D09652863B9C262B523DB0D34CA56FAE6F3E76BB230E314AFB85BBAE899059663F9D043D228DA0A3663064301D0603551D0E0416041433815DD1E8655F5F04A6B6EDE0918813DDC219C9301F0603551D23041830168014D3A4D49E69E619A9F4F4A3571572F4E12D50863730120603551D130101FF040830060101FF020100300E0603551D0F0101FF040403020106300D06092A864886F70D01010B050003820201007288682D1DE37715CC17928FEADEF7A849CDCA1F497D70F703C111A56CF259F32ACDFA907CBB19FF4FF4434BA47E52D7AEE442008A92F10A29641293ADE890E2558E3FFFA824A219FDA92FC8A3A90EAE995071EE8EEB510108DBF977FAA4CE3044AECCBFCB18B66439A388CF8E5751D73F012275A083DF84CAE51FD4BA0C9C6963D2DC1AD215E1C726AF9B8602E66302B76BA698E0DF3DA07CB23CED6DEF206035F4D36AE69154F10896781818969865CD339BF245469652AAF49DB47B93DE73FF1ACFF7B9FE097F90EB97B5F2F94FC51549EDE2230059AFEF9D9AF066D034AE3486C646ADCD878E82BF031E1AD6E89818A6E93AD667D07351C47C6AF12B4E2A6970158EDEF0BACCC75953C85E86F0B7A76EEB1AEA8B97BD98C1484B4161CB4753CBDCC7C243FA8ED19AAECE21E95E596524AD7400DB72ABF9AA34C503ED2E319584C9AB29175B2AB1D68BA1FEC2D8A56384C4D1AA4693258097F6B28E54C640CB68B0E4322847AD8C5970F6F9FCB83D6507A20DB183DAA776125BEA4B87B67A9F80EB9B0AC45580310A19F140EC0536BF6E950D70A41A82B785784B297D0665E0200E9CEFEA3164AF4DDCC6ED0ADCE0D66F03412EF2F35E5711897A383C48175D8849CAA30DDB4F5E66D275A1F8B7002F0F855E5A9F86AC994F4ECD20C9E65324D201BAF7C45001C08BC320B68EE83E89E80F1B469C9441D40639377C5CD2463046022100FB1B043C0C79DE88C1A607975220E34F087D5670779E15C9C572E0D72C52041B022100A9A032D100572F6B1C424F6FA18883BB8133069DAFC19F372A1EE6D187C5CBAB

FIDODebug[20:20:55] The device supports the CTAP2 protocol.

FIDODebug[20:20:55] -> {1: ["U2F_V2", "FIDO_2_0"], 2: ["credProtect", "hmac-secret"], 3: h'41414755494430313233343536373839', 4: {"rk": true, "up": true, "credMgmt": true, "clientPin": true}, 5: 7609, 6: [1], 7: 10, 8: 512}

FIDODebug[20:20:55] Sending CTAP2 AuthenticatorGetInfo request to authenticator.

Eventhough the release notes for Nitrokey 3 firmware version 1.0.1 say “fido-authenticator: use smaller CredentialID - fixes issues with some services FIDO usage (https://github.com/solokeys/fido-authenticator/pull/8)”, I still get a 500 error on GitLab because the ID has 344 characters (GitLab’s limit is 340 characters).
Is that the same issue as this one?

@coderkun It might be the same, however it works for me at the moment. What is your setup?

GitLab 14.8.3
Nitrokey 3 v1.0.2, production configuration
Firefox 98

GitLab 14.8.3 and Nitrokey 3 v1.0.2 here. I tested Firefoxw 98 and it works there! So it seems other browsers (like Chromium) create a longer CredentialID when registering a new device. However, logging in with an registered device works in Chromium, too.

Are there any news about this? It is still not working for Google.
Tried it with various Browsers (chrome-based, Firefox) and OSes (Linux, Windows).
When looking at the Nitrokey forum, it looks like the colleagues are not even aware of the issue anymore.

Are there any news about this? It is still not working for Google. Tried it with various Browsers (chrome-based, Firefox) and OSes (Linux, Windows). When looking at the Nitrokey forum, it looks like the colleagues are not even aware of the issue anymore.

@klumbe We recently identified the reason for the issue and are currently preparing a firmware update that fixes it.  I can’t announce a release date as of today, but it should be available very soon.

The release candidate 1.0.3-rc.1 fixes this issue.  We will now run some final tests.  The 1.0.3 release with this fix is scheduled for Monday.
If you want to test the pre-release at your own risk before that, you can download it manually from the Github release page or with nitropy nk3 fetch-update --version v1.0.3-rc.1 and install it with nitropy nk3 update irmware-nk3xn-lpc55-v1.0.3-rc.1.sb2.  Note that you cannot go back to older firmware versions after installing the update.


Run "Code OSS" CI tests against sources

We currently run integration and smoke tests against a built version of "Code OSS". We never ship this product and thus shouldn't test it. Rather I suggest to run tests "out of sources", as a developer would do.
This will speed up the "Code OSS" CI build substantially, at least for smoke tests that don't require to download stable bits.
//cc @joaomoreno

I think this is happening now?

That is correct. Closing the issue.


Revert "Adjust swing modes"

Reverts bigmoby/fglair_for_homeassistant#53

@bigmoby this will need to be reverted to get back changes

Unfortunately, the integrations don't work. The entity is not created and no error log appears.


Add support for custom plugin code injection

Fixes GH-269

Sounds good to me. Is it possible to include an integration test that calls such a plugin to verify it works as expected and doesn't regress in the future?
If not, happy to merge as is!

Sounds good to me. Is it possible to include an integration test that calls such a plugin to verify it works as expected and doesn't regress in the future?
If not, happy to merge as is!

The plugin I mentioned is not public. If it is really needed, I could write and publish a mock one just for this.

If it is any real effort on your side to do, then not to worry! Happy to merge as is for now.
I will eventually get around to writing the lower level unit tests for this stuff which will cover behaviours like this in a more granular way than the integration tests can currently handle.
I'll get this merged for now. Is there any urgency to this being released? I did a release a couple of hours ago but I can kick another off if it is blocking you at all.

I would appreciate if you can merge it now, however I will raise another issue regarding resolving plugins in PATH. After that one, I would greatly appreciate a release.


Update keycloak dependency to latest 16.1.0

Various vulnerabilities have been disclosed for previous versions

Fixed in v1.2


fix(common): dump task info when stucking

这个 PR 实现什么功能/修复什么问题:

[x] 功能、bugfix描述
[ ] 冒烟测试
[ ] 单元测试编写

是否需要 backport 到之前的 release 分支:
None
/area common
/cc @yunionio/maintainer

Codecov Report

Merging #9933 (05d5585) into master (6b500b5) will increase coverage by 9.92%.
The diff coverage is 0.00%.

@@             Coverage Diff             @@
##           master    #9933       +/-   ##
===========================================
+ Coverage    5.97%   15.90%    +9.92%
===========================================
  Files         849      124      -725
  Lines      132184    12846   -119338
===========================================
- Hits         7897     2043     -5854
+ Misses     123586    10612   -112974
+ Partials      701      191      -510

Flag
Coverage Δ

aFlag
15.90% <0.00%> (+9.92%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/baremetal/tasks/worker.go
2.63% <0.00%> (-0.23%)
:arrow_down:

pkg/cloudcommon/db/quotas/usageworker.go
0.00% <0.00%> (ø)

pkg/compute/models/hosts.go

pkg/mcclient/options/k8s/fed_joint_resource.go

pkg/compute/models/elasticcache_joints.go

pkg/mcclient/options/k8s/app.go

pkg/compute/models/dbinstancenetworks.go

pkg/compute/models/networkinterfacenetwork.go

pkg/compute/models/usage.go

pkg/webconsole/command/kube_command.go

... and 710 more

Continue to review full report at Codecov.

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

Codecov Report

Merging #9933 (05d5585) into master (6b500b5) will increase coverage by 9.92%.
The diff coverage is 0.00%.

@@             Coverage Diff             @@
##           master    #9933       +/-   ##
===========================================
+ Coverage    5.97%   15.90%    +9.92%
===========================================
  Files         849      124      -725
  Lines      132184    12846   -119338
===========================================
- Hits         7897     2043     -5854
+ Misses     123586    10612   -112974
+ Partials      701      191      -510

Flag
Coverage Δ

aFlag
15.90% <0.00%> (+9.92%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/baremetal/tasks/worker.go
2.63% <0.00%> (-0.23%)
:arrow_down:

pkg/cloudcommon/db/quotas/usageworker.go
0.00% <0.00%> (ø)

pkg/compute/models/hosts.go

pkg/mcclient/options/k8s/fed_joint_resource.go

pkg/compute/models/elasticcache_joints.go

pkg/mcclient/options/k8s/app.go

pkg/compute/models/dbinstancenetworks.go

pkg/compute/models/networkinterfacenetwork.go

pkg/compute/models/usage.go

pkg/webconsole/command/kube_command.go

... and 710 more

Continue to review full report at Codecov.

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

感觉不需要批量，网卡最好还是一块一块地卸载安全

/area common
common label added


sszplot throws error when not using usual aes_col categories

Aside from the usual categories like "origin" "sex" "region""owner"residence" "indicator", the color determination throws an error:
In 1:count(unique(data[def_col]))$n :
Error in `f()`:
! Insufficient values in manual scale. 2 needed but only 1 provided.

the n-determination (how many different values inside a category) is wrong)


Sidecar rewrite

Context
We rewrite all of our charms using the sidecar pattern instead of the old podspec.
What needs to get done
Rewrite the charm using sidecar with base charm pattern.
Definition of Done
Charm is rewritten with sidecar with base charm pattern.
All of the tests are rewritten and passing.

For completing this task we will need to consider the following
Base charm usage
Because we are using the base charm standard to refactor this charm, the proposed components are:

MlmdPebbleService - for creating and updating the Pebble layer. This component will make sure to run the bin/metadata_store_server command with all required flags.
LeadershipGateComponent - to make sure the unit is the leader

Since this is a relatively easy charm, nothing else should be required.
Sqlite to mysql migration
The current implementation of this charm uses sqlite and a volume to store all ML metadata. Ideally we will move away from that approach and integrate with the mysql-k8s charm.
For this, we'll need to make sure the mysql-k8s charm adapts to the requirements of the mlmd workload and shares the information it expects (db host, port, user, password and db name). More investigation is required for completing this sub-task.
k8s-service relation interface replacement
Because this relation interface is based on the old SDI implementation, the proposal is to replace it with the newer version that's worked in https://github.com/canonical/mlops-libs/issues/2. This sub-task requires us to potentially change all the charms that relate to mlmd to ensure a correct data sharing.

Update on the mysql-k8s integration
We have tried using mysql-k8s to replace sqlite as a database. We have found issues in the past and decided not to go with that approach due to the expectations of both the mlmd workload and the mysql-k8s restrictions. For more details about this, please refer to https://github.com/canonical/mlmd-operator/issues/64.
Because of the above, we may have to stick with the sqlite solution, which means that we'll need to "manually" configure the volumes of the application containers:

Keeping the filesystem storage defined already in metadata.yaml
Using pebble to push the metadata_store_server_config_file to /config/config.proto

Please note that this solution completely deviates from the upstream deployment, where they are using mysql as their DB.

@DnPlas since MLMD Charm is using a PVC for holding the data. Then how will the upgrade look like for this Charm (podspec to sidecar) if we need to remove/re-apply the Charm?
If it's indeed a problem we don't have to tackle it in this issue, but let's have a follow-up then and track it in the 1.9 release

@kimwnasptd I'm not entirely sure what you mean by "we need to remove/re-apply the Charm`. Are you saying this because in the past we had to remove some charms because of incompatibilities?
My understanding for the upgrade story is that the storage and its data should not be lost during the process. When we remove a charm that has a storage attached, the default action juju takes is to detach the storage, and not remove it entirely, which means that after re-deploying the application we must be able to attach it to it. I will test this is the case for this effort.


Database nothing return,

Hi,
I generate api_scaffold with model name Product and the table name is products, but some reason, i don't know, no result are coming through model query, that is strange behaviours, i have checked that the query perform fine but records not return also in api or in admin LTE side.
Thanks
adil

@adilsaeed31 can you post your generated files and database table with some sample data. so I can check.

Hi
First you reply me after too much days.
and I created API_SCAFFOLD with name Products and Product both are not
returning anything but the strange thing is that we can create the show and
edit but listing is not available on both side, not in api request call and
not in datatables->table function, db table name is same for both products.
Thanks
Adil
On Tue, May 17, 2016 at 6:59 PM, Mitul Golakya<EMAIL_ADDRESS>wrote:

@adilsaeed31 https://github.com/adilsaeed31 can you post your generated
files and database table with some sample data. so I can check.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/InfyOmLabs/laravel-generator/issues/141#issuecomment-219725947

I need to check your generated files. Please upload your generated files with your database table. Then I can identify the problem.

@mitulgolakiya Can't provide you the project files it's confidential please let me know what else i can sent you you.
Thanks
Adil.

@adilsaeed31 you don't need to provide full project files. Just the generated files for one table which has an error. Or any other sample table which produces error. Otherwise we can not identify what's exactly missing.


Update before-you-begin.md

Removed GitHub Learning Lab reference - it will sunset soon.
Updated SkillBuilding page link

Associated with this issue


[Proxy Error] Unrecognized SSL message, plaintext connection

                        Response loginForm = Jsoup.connect("https://site.com") //                                .validateTLSCertificates(false)                                 .userAgent("Mozilla v1")                                 .proxy("<IP_ADDRESS>", 80)                                 .header("Content-Type", "application/json")                                 .ignoreContentType(true)                                 .ignoreHttpErrors(true)                                 .requestBody(body)                                  .method(Method.POST)                                 .execute();

Im added
                    System.setProperty ("jsse.enableSNIExtension", "false");
                    System.setProperty("https.proxyHost", "<IP_ADDRESS>"); // set proxy server
                    System.setProperty("https.proxyPort", "80"); // set proxy port

to code
and this don't work

I don't know how anyone can debug this issue for you as it stands. What's the site, what's the proxy, what's your JDK? I very often proxy through Charles (for example) onto ssl sites with no problem.


Giving ooc to the community

Here's the short of it:

I became too busy to take care of ooc
I tried to keep maintaining rock & other tools, and tried to keep the original philosophy/spirit
That kinda failed
Cogneco/imint folks reached out, asked me how I felt about paid bounties to work on their rock fork
My point of view is: I see no reason to maintain two forks, and if they're the primary users they should have enough freedom of movement to push it forward even when I'm unavailable

So, I've started reorganizing the project so that it can be developed, documented, driven and released by people other than me.
The first step was transferring repos to a Github organization (ooc-lang), more steps will follow. In particular:

Releases could be hosted on Github releases (a good setup would be Travis-CI+dpl)
The website could be hosted on Github pages (instead of my own Amazon S3 bucket)

I'm aware of the risks of having a company control the fate of an open source project and that's why I want to make sure there are safeguards, but I also feel like I've been hindering the development of rock and I'd like to stop doing that.
As far as I can tell, ooc is a core part of cogneco/imint's business, and I can't think of a better motivator for them to keep it solid & useful, even if it does drift away from my initial ideals a little.

:+1:

:(
(cues Taps)

Note that this isn't a sad thing! Instead of having ooc slowly die from my lack of involvement, it can thrive under someone else's direction. I think it's pretty good news, I just failed to frame it in such a light :)

:+1:

Actually, I no longer work for Imint, and while I really meant it when I said I like ooc, I don't have any time to spend on it now that I'm no longer paid to do so. :-/ I also think a few things are missing from the language, things that I suspect are intentionally left out and that I suspect the people at Imint will want to add, and that they didn't think you would ever approve of (hence the fork).
If you want the Imint people in on this, I think you may want to add https://github.com/fredrikbryntesson and/or https://github.com/thomasfanell to this group. They were the ones mostly involved with modifying rock - all I did was report bugs and request features :)
If there's one thing I would like to contribute with, if I can it's setting up AppVeyor to build Windows releases. Making rock work in Windows was way harder than it should be, at least the last time I tried.

I agree completely with Amos here.

So, I've had news from Fredrik, he wasn't expecting my offer to have 'their' fork become the main one, and he says their fork is not ready (some of the changes aren't "clean enough" to be merged back in the main tree, etc.) so it looks like, for now, they'll continue as two separate projects.

Yes as Amos said we should keep the forks separate. But I hope and guess that almost everything we will do in rock will be easy to merge into upstream. I hope that our bounty program will contribute to both our fork and ooc-lang :)


Support MaxMessageBatchSize on trigger

Support MaxMessageBatchSize on trigger. Use it from trigger when its set, instead from host.json.
This allows different triggers with different batch size requirements to be kept in the same app.

API change check
APIView has identified API level changes in this PR and created following API reviews.
Microsoft.Azure.WebJobs.Extensions.ServiceBus

@JoshLove-msft:  Would you take point for this one?

@apranaseth:  We'll need to add a change log entry for this, and also to update the MS docs content for the host.json file to call out that the value may be overridden locally.

/azp run net - servicebus - functions - tests

@apranaseth: We'll need to add a change log entry for this, and also to update the MS docs content for the host.json file to call out that the value may be overridden locally.

I will follow up with the change log entry when preparing for release. I forwarded on the details (thanks @jsquire!) to @apranaseth  for updating the msdocs page.


PHP include .html files - validation errors

The validator throws errors in .html file snippets that are to be included in another file with PHP's include("header.html"). Example of what I mean:

I don't normally work with PHP, so this is not that big of a deal, I just disabled the extension for this one project, BUT...
It would be nice if the extension could somehow recognize that a certain .html file is just a snippet and to not validate it. Maybe if the file is missing doctype, html, head and body tags, it would not validate it, or something like that.

I have a similar use case for Google Apps Scripts (GAS) projects where I've created fragment files and due to GAS only handling js/html files, all of my CSS & JavaScript files have this same issue. I was thinking a good solution might be to allow for a comment like <!--fragment--> to be added at the top of a file to note that it's a fragment.


Login modal

Modify login page which is incredibly preliminary right now into either a pretty page or a pretty modal on top of the home page.

if you decide to build a modal, than you should create the home page view that byrne will then populate with components -- so be sure to make clear which branches have what.


"Discard NaN cards to reserve"

Bit of a weird one. Game was progressing fine, then we hit end of turn and I had the message to discard "NaN cards" to reserve. I was definitely within reserve (1 card in hand etc). If I simply pressed "Done" it wouldn't advance past that screen. If I selected my card and hit "Done" nothing happened. If I dragged Balon to discard and hit Done nothing happened. If I picked him back up and hit Done or tried to select him and hit Done nothing happened. If I used /cancel-prompt nothing happened.
I was definitely still connected as me and my opponent were chatting about it in chat, and I tried refreshing the page twice.

Duplicate of #1325, but thanks for including a screenshot.
It would be helpful to know what plots you were both playing the round before (I'm assuming one of you player wraiths last round) and whether any other reserve altering effects were in play

Initial assumption is something fell over in obtaining the number it needed for Reserve (since it's Not a Number) but that's about the best troubleshooting I can do.
Previous round was his Wraiths vs my Noble Cause, but no other reserve altering occured (outside his Kings of Winter).

We know what the issue is(min reserve is going undefined somehow, and undefined +/- anything is NaN), and how to hack around it, but we’d really like to know why it’s happening so we can fix it properly.
Thanks for the update I’ll add it to the others

One more thing. Did you trigger rains in the first round?

I did not


Fix the multi-face form of custom-set-faces!

We need to unwrap the outer list returned by the inner calls doom--custom-theme-set-face.
Also need to flatten the face with the rest of the spec list so that:
((foo bar baz) :weight bold)

Is equivalent to:
(foo :weight bold)
(bar :weight bold)
(baz :weight bold)

Instead of:
(foo (:weight bold))
(bar (:weight bold))
(baz (:weight bold))

Good catch, thanks!


ParseDir does not respect Build Constraints

Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
Atleast go 1.7 & 1.8 have this error
What operating system and processor architecture are you using (go env)?
Can reproduce this error on Mac & Linux
What did you do?
I can build my program fine even if there is a file that is only supposed to compile with go 1.9 with a build constraint for example:
https://github.com/golang/net/blob/master/context/go19.go
The ParseDir function in "go/parser" does not respect the "+build 1.9" constraint in the comment and tries to parse the file anyways causing it to throw an error.
What did you expect to see?
I expected the ParseDir to ignore the file as the file has an Build Constraint which should signal ParseDir which is trying to parse all *.go" files for their AST that it cannot fully parse this file.
What did you see instead?
The ParseDir throws a mysterious error:
src/golang.org/x/net/context pkg cause error: src/golang.org/x/net/context/go19.go:15:14: expected type, found '=' (and 1 more errors)

go/parser.ParseDir does not and by design must not consider build tags.
If you need to discriminate by build constraints you can use the PackageClauseOnly|ParseComments mode to handle them by yourself or you can use go/build.ImportDir.

What @cznic said - there doesn't seem to be a bug here. Its godoc even says "all files with names ending in .go".


METRON-245 mysql_server role needs to explicitly install defaults

Tested on quick-dev-platform and bare metal install.

+1 Ran it up on AWS

+1 Validated with Quick Dev


Asking for additional feature development: combine gesturedetector in roulette_paint.dart file

Hello developers, thanks for your roulette package.
Looking for some way to include either text field or gesture detect widget(or showdialog) in each section of the roulette when clicked.
Since I am very new to flutter and dart, have an idea that some how need to manipulate _drawSections function in roulette_paint.dart file.
I spent a week of research in create a widget in function, but got no feasible solution.
Asking for your help sincerely.
Hope this open project(package) still in progress :)

Sorry, I'm too busy to implement new features recently.
But I could propose some suggestions.

gesture detect widget(or showdialog) in each section of the roulette when clicked

Instead of directly set gesture detector in the section, you could try this way:

Detect the tap gesture's position on the whole roulette.
Try determine the tapped section according to the division and rotation.

You can find the rotation in the RouletteController's animation property, just use the animation's value, it is in radian.

include text field

This roulette widget is directly drew on the Canvas(just like an image), so putting Widget into it is impossible in my opinion.

Thanks for your reply with suggestions @do9core
But still wonder how to determine the tapped section according to user's behaviour.

For example with above image, how let the application understand if user clicks each specific section.
For more specific instance, if user clicked yellow section of roulette, could the application show a dialog message like 'you have clicked yellow section of the roulette'.
Wrap the roulette widget with gestordetector can resolve your first suggestion which detects the position of the whole roulette.
Should I redraw invisible roulette? or could you give me some other suggestions?
Looking forward your reply :)


Cannot setup settings for user

I'm using Laravel 5.2 and trying to save settings by user.
I have created a service provider and into the boot method I have added the following lines:
\Setting::setExtraColumns(array(
'user_id' => auth()->user()->id
));
This service provider is stored in app/Providers/SettingsServiceProvider.php
and is added to the providers array in config/app.php file.
When I load the web site I get the following error:
ErrorException in SettingsServiceProvider.php line 11:
Trying to get property of non-object
So, I tried dd(auth()->user()) and this returns always null.
For authentication I use the Laravel authentication stuff.
If I call the setExtraColumns method in a controller that is using the settings then everything is OK.
What am I doing wrong?

I never used Laravel 5 so I can't tell you exactly what you need to do, but basically service providers' boot methods are called before the framework checks if there is a user authenticated. You need to move the setExtraColumns to somewhere after that - maybe there's a login event listener you can use or something like that.

Thanks for your reply. I'll try to do that, but I'm new to Laravel so I have to read more documentation. I'll let you know when I'll have a solution for this.


Modified target AC not getting stroke-through

With PF2e Dorako UI on:

With it off:

There is no other module active in this test case.

Can you reproduce this error with the 1.9.0 pre-release? https://raw.githubusercontent.com/Dorako/pf2e-dorako-ui/main/module.json

It's working correctly on 1.9.0, good


fix: Switch to USER_SRP_AUTH auth flow type

Issue #, if available: #50
Testing
Ran website with new config locally. AuthN works fine. Inspected the requests and verified that the default USER_SRP_AUTH is now being used.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

AWS CodeBuild CI Report

Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

Don't you need to change ExplicitAuthFlows in the template?

@honglu Not sure, but It doesn't look like USER_SRP_AUTH is even an option for ExplicitAuthFlows so maybe that setting is unrelated?
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpoolclient.html#cfn-cognito-userpoolclient-explicitauthflows


Provisioner API - limits are missing in the docs

Limits are described in getting started guide, but not exists in Provisioner APIs
It would be great to understand what options a user can configure on Limits and what does that means

There is an example of setting limits within a Pod spec in Running pods. I'll add a section on that to the Provisioner API page as well.
/assign @chrisnegus

This was documented in PR #1117.
I'm closing this issue.


Bad german translation for "Switch selection marker"

Windows Terminal version
1.16.10261.0
Windows build number
10.0.19045 Build 19045
Other Software
No response
Steps to reproduce
Open the command palette and search for "Switchauswahlendpunkt"
Expected Behavior
"Switch selection marker" should be translated better, for example as "Auswahlendpunkt wechseln"
Actual Behavior
"Switch selection marker" is translated as "Switchauswahlendpunkt"

I also put this into MSFT-44562118.

It looks like this was fixed in #17767! Thanks!


Small fixes

Fix build on FreeBSD (and probably NetBSD)
Fix zsh completion file installation path

I have updated to fix some portability issues after the addition of the kickpass agent

ping


Errors while importing Email template in Node

Describe the Bug
Bug Description

I am facing an issue while integrating the email functionality using @react-email/render and nodemailer packages. The code crashes with an "ERR_MODULE_NOT_FOUND" error.
Actual Behavior

The code crashes with an "ERR_MODULE_NOT_FOUND" error. The error message indicates that a specific module is not found. Error: module not found
at ...
...
Environment

Node.js version:
@react-email/render version:
nodemailer version:

Additional Information

Any modifications or customizations made to the email template or code.
Any relevant configuration settings or environment variables used.
Any other details or observations that could be helpful.

// Code snippet or relevant configurations
import User from '../schemas/User.schema.js';
import { Email } from '../emails/email';
import { render } from '@react-email/render';

const userRoute = async (fastify) => {

    const giftHTML = render(Email);

    fastify.post('/', async (request, reply) => {
        try {
            const userData = request.body

            // Create a new user object based on the received data
            const user = new User(userData)

Which package is affected (leave empty if unsure)
No response
Link to the code that reproduces this issue
https://react.email/integrations/nodemailer#3-convert-to-html-and-send-email
To Reproduce
Steps to Reproduce

Install dependencies: @react-email/render and nodemailer.
Create an email template using React in a .jsx or .tsx file.
Import the email template, convert it to HTML, and send the email using Nodemailer.
Execute the code and observe the crash with the "ERR_MODULE_NOT_FOUND" error.

Expected Behavior
Expected Behavior

This is what react-email says on their docs to convert emails into html with node js

``
What's your node version? (if relevant)
No response

Same issue, node v 18.14.0

Hey! I'm facing the same issue! Is there any update on this?

Hey @joaopcm, since you were the last one to comment here, could you make a minimal reproduction repo of this?

Hey @joaopcm, since you were the last one to comment here, could you make a minimal reproduction repo of this?

Hey, @gabrielmfern! Thank you for reminding me I left this comment in this thread! I found the solution and shared it here. My issue was more about supporting React.js components in a Node.js environment using a NestJS project.

Hey, I am also difficulty in using react-email components in nodejs server.
Is it possible to import react-email components in express sever to send emails?

Hey, I am also difficulty in using react-email components in nodejs server. Is it possible to import react-email components in express sever to send emails?

Hey, @Nithishprem! I believe I had a similar issue. I was using NestJS (which uses Express as the main API engine) with TypeScript. As I'm using SWC to build my project, I needed to add the proper configurations to support JSX/TSX files when compiling the project. Have you already tried something similar to this?

same issue node v18.17.0

Hey @joaopcm!
Both links you provided redirect to a twitter (X) post that doesn't have any comments or solutions present. Were you able to find a solution to the above issue? I have been stuck on it for longer than I care to admit 😅

Hey @joaopcm!
Both links you provided redirect to a twitter (X) post that doesn't have any comments or solutions present. Were you able to find a solution to the above issue? I have been stuck on it for longer than I care to admit 😅

@LockeandDropit, this is what I see when I open the X link ↓

@gusmagnago Could you make a reprodution of it? Seems to me that everyone having this issue here is having it for different reasons.
It could be that you might have something misconfigured, as @joaopcm did.

We're having issues too getting our NestJS backend to use React Email to send out emails.

@basememara Would you be willing to share a minimal reproduction of it? With one I can help you for sure.

Closing this as stale, if anyone is willing to share a reproduction of it, I'll be more than happy to reopen and fix.

I ran into the same issue today, but I was able to set it up eventually and send emails successfully. My setup is something like this:
tsconfig.json
``json {
"compilerOptions": {
...,
"jsx": "react-jsx",
"allowUmdGlobalAccess": true
},
"include": ["src/", "src/**/", "src/domains//*"],
"exclude": ["node_modules", "/*.spec.ts", "dist", "build"]
}

_package.json_
```json
{
...,
  "dependencies": {
...,
    "@react-email/components": "0.0.31",
    "@react-email/render": "1.0.3",
    "react": "19.0.0",
    "react-dom": "19.0.0",
  },
  "devDependencies": {
...,
    "@types/react": "19.0.1",
    "@types/react-dom": "19.0.1",
    "react-email": "3.0.4",
  }
}

service where I import the template
import { Injectable } from '@nestjs/common';
import { render } from '@react-email/render';
import StripeWelcomeEmail from '../templates/stripe-welcome'; // notice there's no .tsx extension here
import { MailTrap } from './providers/mailtrap.service';

@Injectable()
export class MailsService {
  constructor(private provider: MailTrap) {}

  async sendWelcomeEmail(to: string) {
    const html = await render(StripeWelcomeEmail());

    await this.provider.sendEmail({
      from<EMAIL_ADDRESS>      to,
      subject: 'Welcome to Example!',
      html,
    });
  }
}

I hope this comes in handy for anyone interested

@danLeBrown what was the root cause in your case?

@gabrielmfern, my issues were primarily resolved by updating the tsconfig compiler options, which were mainly related to Node.js’s default inability to import tsx files. Additionally, I encountered challenges with some React-related libraries, if I recall correctly.
Later on, I faced an npm dependency issue: a particular requirement was taking too long to install and kept timing out. I resolved this by manually running pnpm i -D @next/swc-linux-x64-gnu --save-optional rather than relying on the dependency’s automated installation.


Updated 3D View with Composited Layers information (Chromium docs 5435917)

3d-view/index

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

File
Status
Preview URL
Details

microsoft-edge/devtools-guide-chromium/3d-view/index.md
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/media/3d-view-canvas.msft.png
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/media/3d-view-controls-small.msft.png
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/media/3d-view-dom-purple-box.msft.png
:white_check_mark:Succeeded
View

microsoft-edge/devtools-guide-chromium/media/3d-view-z-index-view-box.msft.png
:white_check_mark:Succeeded
View

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

#sign-off and merged.


Hardware specification for inference

Hello,
The model has been trained on the A100 GPU. However, I am wondering about the GPU memory cost during inference.
Currently, I have a 3060 GPU with 12 VRAM. Can it be used for running inference?
Thank you

You can just load the model in 8-bit, taking about 7.5GB of memory: load_in_8bit=True https://huggingface.co/docs/transformers/main/en/main_classes/quantization


Issue in fine-tuning distilbert on Squad 1.0

When I tried to finetune the distillbert (using run_squad.py in examples folder), the model reaches the F1 score of 17.43 on dev set but you have mentioned that the F1 score is 86.2. Can you help me with what I am doing wrong at the time of fine-tuning?
Below is the command that I am using
python ./examples/run_squad.py
--model_type bert
--model_name_or_path /root/distilbert_training
--do_train
--do_eval
--do_lower_case
--train_file train-v1.1.json
--predict_file dev-v1.1.json
--learning_rate 3e-5
--num_train_epochs 2
--max_seq_length 384
--doc_stride 128
--output_dir /root/output/
--per_gpu_eval_batch_size=3
--per_gpu_train_batch_size=3

Hello @pragnakalpdev,
Did you change the run_squad.py file to include distilbert (here for instance)
Can you check the warnings Weights from XXX not used in YYY?

Hello @VictorSanh,
Thank You for your response. I got the F1 score 86.4.
But now when I am facing issue in the evaluation process.
I had performed the evaluation on my custom file that has a single paragraph and 5 questions, and its taking approx 10 seconds to generate the prediction.json file.
I want the inference time about 1-2seconds, what can I do for that?

Hello @pragnakalpdev7,
Good!
How long is your paragraph? Is the inference time during the training/fine-tuning the same as during test? (a forward pass during training should be slightly slower).
If you're already using run_squad.py, there is no easy/direct way to accelerate the inference.

Hello @VictorSanh ,
My paragraph is less than 1000 characters, and yes i am already using the run_squad.py for inference.
and i didn't understand this - "Is the inference time during the training/fine-tuning the same as during test? (a forward pass during training should be slightly slower)."
For fine-tuning it took 4 hours on 1 GPU, and now i am using the fined-tuned model for inference which is taking 8 - 9 seconds.

I mean that if a forward pass already takes ~2 sec during training on your machine, it is not likely go down to 0.1 sec during test. The reason why a forward pass is on average slightly faster during test is that the flag torch.no_grad deactivate the autograd engine.

Hi @pragnakalpdev , can I ask you how you solved the first problem to achieve good performance? I'm in a similar situation and any hints would help.

Hi @pragnakalpdev  could you indeed please comment how you solved the first problem (bad F1) to achieve good performance?


Remove redundant declarations from builder module

For some reason triggers an error in a test:
    let match = try XCTUnwrap("aaa".wholeMatch { OneOrMore { "a" } })
    error: Type '() -> OneOrMore<Substring>' cannot conform to 'RegexComponent'


Program received signal SIGSEGV, Segmentation fault.

in multiverso::lightlda::AliasTable::Propose (this=0x877ccd0, word=3854, rng=...) at /data/lrgroup/lightlda/src/alias_table.cpp:145
145                     return (id & m) | (idx_vector[k] & ~m);
(gdb) l
140                     int32_t* p = kv_vector + 2 * idx;
141                     int32_t k = *p++;
142                     int32_t v = *p;
143                     int32_t id = idx_vector[idx];
144                     int32_t m = -(n_kw_sample < v);
145                     return (id & m) | (idx_vector[k] & ~m);
here k =<PHONE_NUMBER>。I think the most probable is the k out of index

Please see this issue https://github.com/Microsoft/lightlda/issues/15
I think it should be the same problem.

thanks feiga, obey your advise, I solve the problem successfully.
but I have another problem, when I run mpiexe lightlda, how to set the parameters run multi process in multi-host, how to prepare data block? can you give me a example for this case?
because I always meet unfitable set make program crash


Replace Maybe project with NET SDK project & retarget to net45+netstandard1.0 for better compatibility.

Replace Maybe project with NET SDK project & retarget to net45+netstandard1.0 for better compatibility.
NET SDK project is now suggested way for multiple targeting. https://docs.microsoft.com/en-us/dotnet/core/tutorials/libraries#how-to-multitarget
Fix issue #1

Looks great, thanks a lot for your update.


GSA/data is moving

🐛 Summary
The GSA/data files are going to be moved to cisagov/dotgov-home in the next few weeks.  We will need to update links in these repositories:

cisagov/cyhy-reports (@dav3r)
cisagov/gatherer (@jsf9k)
cisagov/pshtt_reporter (@jsf9k)
cisagov/trustymail_reporter (@jsf9k)
cisagov/vdp-scanner-docker (@mcdonnnj)

The necessary changes were made in these PRs:

cisagov/cyhy-reports#66
cisagov/gatherer#51
cisagov/pshtt_reporter#42
cisagov/trustymail_reporter#41
cisagov/vdp-scanner-docker#8


pull request for e2e test at 12/10/2016 11:45:04

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

optest/docs/updated_at.md
:white_check_mark:Succeeded

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


Extract creating single-key signer as common utility

seems like this pattern is repeating enough times that makes sense to extract as utility. InMemorySigner.fromKeyPair maybe?
Originally posted by @vgrichina in https://github.com/near/near-api-js/pull/445#r520200050

@mattlockyer as I understand this is done on near-api-js side already, but we still need to convert some of the wallet code, etc. Correct?

Yes, it's been working in a test for account_multisig, we can start using it in wallet.
Should we add explicit regression test for this?

@mattlockyer yeah, makes sense to do a test that it can sign.


Bad Request: JSON parse error: Cannot deserialize value of type java.time.Instant

JDL
application {
  config {
    applicationType monolith
    authenticationType jwt
    baseName demo
    blueprints [generator-jhipster-quasar]
    buildTool maven
    cacheProvider ehcache
    clientFramework quasar
    databaseType sql
    devDatabaseType h2Disk
    enableTranslation true
    jhiPrefix jhi
    jhipsterVersion "7.3.1"
    languages [en, nl]
    nativeLanguage en
    otherModules [generator-jhipster-quasar]
    packageName com.demo.myApp
    prodDatabaseType postgresql
  }

  entities Timesheet
}

entity Timesheet {
  start Instant required
  finish Instant required
  location Site
  note TextBlob
}

dto Timesheet with mapstruct
paginate Timesheet with pagination
service Timesheet with serviceClass

The application is running fine. But when we create a new record we got the below error:
2022-01-02 15:38:06.139  WARN 985 --- [  XNIO-1 task-2] o.z.problem.spring.common.AdviceTraits   : Bad Request: JSON parse error: Cannot deserialize value of type `java.time.Instant` from String "2022-01-02T00:00:00+01:00": Failed to deserialize java.time.Instant: (java.time.format.DateTimeParseException) Text '2022-01-02T00:00:00+01:00' could not be parsed at index 19; nested exception is com.fasterxml.jackson.databind.exc.InvalidFormatException: Cannot deserialize value of type `java.time.Instant` from String "2022-01-02T00:00:00+01:00": Failed to deserialize java.time.Instant: (java.time.format.DateTimeParseException) Text '2022-01-02T00:00:00+01:00' could not be parsed at index 19
 at [Source: (PushbackInputStream); line: 1, column: 20] (through reference chain: com.demo.workforce.service.dto.TimesheetDTO["start"])

Thanks for reporting this !
It is now fixed


bug: /tmp/git-blob-SMwKCw/<filename.py> appears in buffer list

Did you check docs and existing issues?

[X] I have read all the persistence.nvim docs
[X] I have searched the existing issues of persistence.nvim
[X] I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)
v0.9.4
Operating system/version
Debian
Describe the bug
After using LazyVim distribution for a while with multiple files loaded in the buffer and splits being used to display 2 files side by side, I quit Neovim and relaunch. Upon restoring the session by pressing the "s" hotkey, I noticed that this temp file takes up one of the splits. The other split is occupied by the actual file that this temp file is for. My buffer is sometimes cleared such that only these 2 files are listed despite having more files when quitting Neovim originally.
This issue is not 100% reproducible. I do encounter it multiple times a day due to me restoring sessions so much.
Steps To Reproduce

Launch LazyVim Neovim distribution
Create a vertical split with <leader> w |
Load a bunch of files into the buffer via <leader> <leader>
Quit Neovim with :qa
Launch Neovim
Restore session with s at landing page

Expected Behavior
Session is restored such that splits contain the correct files and the buffer contains list of previous files.
Actual Behavior

The buffer list is sometimes cleared to only contain 2 files
One split is for an empty temp file
Other split is for the actual file that the temp file is for

Found the cause. I have git configured to use nvimdiff as a diff/merge tool when doing git difftool. Git generates a temp file to use in the ORIGINAL split and the file itself in the CHANGED split. Exiting this diff session causes the temp file path to be saved and restored the next time, thus resulting in a blank file.
This is not a bug. I suppose it could be a feature request to not auto-save sessions when neovim is invoked as a difftool.


Not logging threaded replies which are also sent to channel

Since moving to conversations api
slack-archive-bot is not logging replies to theads which are also sent to channel.
Plain channel replies are logged, threaded - logged too, but if someone replies in thread and also sends to channel - those messages do not logged, therefore cannot be searched or exported from sqlite database.

Thanks for catching that. Should be fixed by #35. Let me know if that doesn't work for you.

Now it works.
Thank you.


Unclear documentation regarding filters

Looking specifically on the function doesFilterPass, where to me it seems the parameter sent to it contains a node-property and a data-property (looking at filterManager.ts row ~160), but the documentation says differently.

The grid will ask each active filter, in turn, whether each row in the grid passes. If any filter fails, then the row will be excluded from the final set. The method is provided the value (the value to be checked), the row node, the row data and the filter model (for the filter, as provided by the 'get model' below - for now, the model can be ignored).

It would be nice if the documentation was more specific here.
noticed this issue but the documentation doesn't seem to be updated entirely.

look like the doesFilterPass gets a params object with node and data as follows:
var params = {
  node: node,
  data: data
};
filter.doesFilterPass(params)

i'll update the docs

i have updated the docs to:
The grid will ask each active filter, in turn, whether each row in the grid passes. If any
                filter fails, then the row will be excluded from the final set. The method is provided a
                params object with attributes node (the rodNode the grid creates that wraps the data) and data
                (the data object that you provided to the grid for that row).

will be in next release

That was fast! Thanks!

i was in the mood!


Missing Azure static web App icon

I'd like to be able to use https://iconduck.com/icons/158807/azure-staticwebapp
Thank you in advance for your response

I made a patched version https://github.com/naoyaikeda/Azure-PlantUML


Sqlite and MySql support for asynk

[x] PostgreSQL reimplementation in sqlx
[x] SQLite implementation in sqlx
[ ] MySQL implementation in sqlx
[x] Organize the features
[x] Delete tokio_postgres and bb8 deps from crate.
[ ] Add new testing DBs setups to workflow (workflow will fail until this is added).

There is one bug in sqlite implementation or test.
For some reason
asynk::async_queue::sqlite::fetch_and_touch_test fails because it does not fetch nothing because SQLite has locked the entry.
when this  FOR UPDATE SKIP LOCKED is deleted it from SQLite fetch_task_type query, works fine.

This PR will partially close #84

could someone help me with mysql queries ?

i have an idea, let me work

A few explanations before reviewing.
This mysql impl is almost done.
it has one bug remaining.

For some reason this test gets stuck.
Why VARCHAR(2048) instead of TEXT in MySQL schema ?
sqlx decodes as BLOB the Mysql TEXT type and that breaks FromRow impl in lib.rs line 183.

I have been researching and it gets stuck in this func mysql_impl_insert_task_uniq at  let affected_rows = sqlx::query(query), probably it is a future error.

Hi, I see that the PR is a bit stale. Would it be possible to remove MySQL from it and just merge sqlite part?

Hi, I see that the PR is a bit stale. Would it be possible to remove MySQL from it and just merge sqlite part?

Dear @danmx , it is stale for 2 reasons.

We are stuck in MySQL impl bug

This branch is using my sqlx fork, which I fixed an issue with Option Decoding. I have posted a PR in sqlx repo, but still no response. Maybe I should resubmit the PR.

PR what I am talking about

In that case would it make sense to move MySQL to a separate PR or sqlite depends on that too?

In that case would it make sense to move MySQL to a separate PR or sqlite depends on that too?

As you can see in this code, my fork fix is affecting every backend decoding. PostgreSQL, MySQL and Sqlite.
https://github.com/ayrat555/fang/pull/141/files#diff-d6910112c105b30683c633451a1ada3fb1ea2671280e13834396a60d9fb70ffdR195-207

In that case would it make sense to move MySQL to a separate PR or sqlite depends on that too?

As you can see in this code, my fork fix is affecting every backend decoding. PostgreSQL, MySQL and Sqlite.
https://github.com/ayrat555/fang/pull/141/files#diff-d6910112c105b30683c633451a1ada3fb1ea2671280e13834396a60d9fb70ffdR195-207

@danmx I have sync my fork and reopened my PR

I have been researching mysql issue, i have found that it may be a sqlx issue. this captures are taken with tokio tracing and tokio console.

Workflow should test blocking feature and fang_derive_error crate

I have done a downgrade to sqlx 0.6.3 which is latest version that is not broken.
I need help with MySQL workflow , i know it is working because i test it locally with no problem.

LOL. Mysql as always trolling with localhost and <IP_ADDRESS>, for some reason its treatment is different

README should be updated.

@Dopplerian and @ayrat555
Could you review plz ?

we also need to bump the version

i think we can do a major release since it is a breaking change

Referring this
I need to use the same decoder for the 3 backends.
I am decoding AnyRow to Task struct , the problem is that changing this to u64 will change a lot of things in the API and in the implementation.
Maybe in all databases can store it as a number and retrieve the number and use chrono::DateTime::from_timestamp
What do you think @ayrat555 and @Dopplerian

Referring this
I need to use the same decoder for the 3 backends.
I am decoding AnyRow to Task struct , the problem is that changing this to u64 will change a lot of things in the API and in the implementation.
Maybe in all databases can store it as a number and retrieve the number and use chrono::DateTime::from_timestamp
What do you think @ayrat555 and @Dopplerian

Also I am not sure if sqlite has something that can store a u64 , maybe as bytes.
Could someone do some research about it ?

Referring this
I need to use the same decoder for the 3 backends.
I am decoding AnyRow to Task struct , the problem is that changing this to u64 will change a lot of things in the API and in the implementation.
Maybe in all databases can store it as a number and retrieve the number and use chrono::DateTime::from_timestamp
What do you think @ayrat555 and @Dopplerian

Also I am not sure if sqlite has something that can store a u64 , maybe as bytes.
Could someone do some research about it ?

Checkout [this Stack Overflow question], although I'm not sure whether these options will work with the 'only using 1 decoder for the 3 backends' limitations.
TL;DR: There are 2 options. The first one is using a blob, and the second one is casting it to a signed 64-bit integer and then storing it as an INTEGER value.

Referring this
I need to use the same decoder for the 3 backends.
I am decoding AnyRow to Task struct , the problem is that changing this to u64 will change a lot of things in the API and in the implementation.
Maybe in all databases can store it as a number and retrieve the number and use chrono::DateTime::from_timestamp
What do you think @ayrat555 and @Dopplerian

Also I am not sure if sqlite has something that can store a u64 , maybe as bytes.
Could someone do some research about it ?

Checkout [this Stack Overflow question], although I'm not sure whether these options will work with the 'only using 1 decoder for the 3 backends' limitations.
TL;DR: There are 2 options. The first one is using a blob, and the second one is casting it to a signed 64-bit integer and then storing it as an INTEGER value.

I think the best option is to store it as blob. I think casting to i64 may lead to an integer overflow.
But how better is to store it as BLOB instead of store it as Varchar(32) ?
Also we need to check if it we do not have any issue with diesel migrations.

Referring this
I need to use the same decoder for the 3 backends.
I am decoding AnyRow to Task struct , the problem is that changing this to u64 will change a lot of things in the API and in the implementation.
Maybe in all databases can store it as a number and retrieve the number and use chrono::DateTime::from_timestamp
What do you think @ayrat555 and @Dopplerian

Also I am not sure if sqlite has something that can store a u64 , maybe as bytes.
Could someone do some research about it ?

looking good. a couple of comment

@Dopplerian, @ayrat555 and @0xCAB0
Also plz see this discussion, I think I have tried bytes storage approach before.

Didn't thought about blob storage, it's probably the best strategy since we avoid integer sizing and at least it's not in string format

Referring this

I need to use the same decoder for the 3 backends.

I am decoding AnyRow to Task struct , the problem is that changing this to u64 will change a lot of things in the API and in the implementation.

Maybe in all databases can store it as a number and retrieve the number and use chrono::DateTime::from_timestamp

What do you think @ayrat555 and @Dopplerian

looking good. a couple of comment

@Dopplerian, @ayrat555 and @0xCAB0
Also plz see this discussion, I think I have tried bytes storage approach before.

Because Serde is implemented I realized you can just manipulate the type to Unix epoch on serialization.
My point was not about optimizing data size, I wanted to use Unix epoch since it's the standard for SQLite ORMs, if you don't mind to create a migration and @ayrat555 @Dopplerian agree, I would go with Blob

Referring this

I need to use the same decoder for the 3 backends.

I am decoding AnyRow to Task struct , the problem is that changing this to u64 will change a lot of things in the API and in the implementation.

Maybe in all databases can store it as a number and retrieve the number and use chrono::DateTime::from_timestamp

What do you think @ayrat555 and @Dopplerian

looking good. a couple of comment

@Dopplerian, @ayrat555 and @0xCAB0
Also plz see this discussion, I think I have tried bytes storage approach before.

Because Serde is implemented I realized you can just manipulate the type to Unix epoch on serialization.
My point was not about optimizing data size, I wanted to use Unix epoch since it's the standard for SQLite ORMs, if you don't mind to create a migration and @ayrat555 @Dopplerian agree, I would go with Blob

The main problem is PostgreSQL migration schema must change in order to store it as a BLOB.

https://github.com/ayrat555/fang/pull/141#discussion_r1564555315
This is not possible because in order to have agnosticism in queries and make something like this work
    let task: Task = sqlx::query_as(query)
        .bind(uuid_as_str)
        .bind(metadata_str)
        .bind(task_type)
        .bind(scheduled_at_str)
        .fetch_one(pool)
        .await?;

    Ok(task)
}

you need to implement  impl<'a> FromRow<'a, AnyRow> for Task
the alternative is
impl From<PgRow> for AnyRow
impl From<MySqlRow> for AnyRow
and
impl From<SqliteRow> for AnyRow
and implement
impl<'a> FromRow<'a, PgRow> for Task
impl<'a> FromRow<'a, MySqlRow> for Task
impl<'a> FromRow<'a, SqliteRow> for Task

Look at this trait bounds
pub fn query_as<'q, DB, O>(sql: &'q str) -> QueryAs<'q, DB, O, <DB as HasArguments<'q>>::Arguments> where     DB: Database,     O: for<'r> FromRow<'r, DB::Row>,
The type O requires FromRow<'r, AnyRow>
Because the sqlx database that we are using is Any as we are using Pool<Any>

#141 (comment)
This is not possible because in order to have agnosticism in queries and make something like this work
    let task: Task = sqlx::query_as(query)
        .bind(uuid_as_str)
        .bind(metadata_str)
        .bind(task_type)
        .bind(scheduled_at_str)
        .fetch_one(pool)
        .await?;

    Ok(task)
}

you need to implement impl<'a> FromRow<'a, AnyRow> for Task
the alternative is to use
impl From<PgRow> for AnyRow
impl From<MySqlRow> for AnyRow
and
impl From<SqliteRow> for AnyRow
and implement
impl<'a> FromRow<'a, PgRow> for Task
impl<'a> FromRow<'a, MySqlRow> for Task
impl<'a> FromRow<'a, SqliteRow> for Task

This approach is not possible since to use
impl [From](https://doc.rust-lang.org/nightly/core/convert/trait.From.html)<[MySqlRow](https://docs.rs/sqlx/0.6.3/sqlx/mysql/struct.MySqlRow.html)> for [AnyRow](https://docs.rs/sqlx/0.6.3/sqlx/any/struct.AnyRow.html) for example you need to consume AnyRow and QueryAs trait from sqlx just provides an inmutable reference to AnyRow.

The main issue we have is that we cannot have different decodings for each database.
This do not allow us to change a database schema without changing the others.
Ayrat and I think this is too complicated to implement in this PR because it will require to change a lot of things.
We are going to leave the schemas as we have some freedom to change it, we will change it.
I think we have to this work in a different PR that will explore this point.

Can i get approved ? @ayrat555 , @0xCAB0 and @Dopplerian
decoding issue will be addressed in other PR and this will be released as release candidate.

dont merge , let me cook , i think i can solve it this afternoon

i am cooking in the branch fix/independent_decoding

It is possible to implement it as generics just need a bunch trait bounds xd

my approach will be doing a trait to require this trait bounds

Now we should be able to modify with freedom different schemas without affecting each other.

Sometimes fetch and touch in mysql fetches and task that is created after that one that should fetch

Sometimes fetch and touch in mysql fetches the task that is created after that one that should fetch

this test provides 3 different situations:

It passes
It fails with unwrap because it did not fetch any task
it fails with assert because it got the wrong task (should get always the older task first).


commands in terminal not being recognized?

I'm having a problem where using commands in the terminal aren't being recognized. For instance I had to cd to the correct folder to use npm install -g autosave, and now to start listening on the server i'm trying to do autosave but it is saying "'autosave' is not recognized as an internal or external command, operable program or batch file." and I am unable to locate the correct folder to use this command from. Shouldn't these commands be working from anywhere on my computer anyway?

Windows? Try to reopen cmd.exe. If it doesn’t help, restart the system.

Shouldn't these commands be working  from anywhere on my computer anyway?

Yes, they should.

Restarting my computer worked, thanks!


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target_1eda7d04-62b4-472a-b138-46221a4d23f6/pull/1 is merged into live branch.
Auto archive content to https://github.com/opstest2/docs-archive-test-target_1eda7d04-62b4-472a-b138-46221a4d23f6.git

Docs Build status updates of commit 7524773:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error: RepositoryUnauthorizedWithSourceCommit] Git data access to 'https://github.com/opstest2/docs-archive-test-source' (branch: Release_Archive_main_2022-01-25-04-14-58) is not authorized.. It looks like this might be the first time user: v-alji submitted a pull request to this repo. Before user can run builds in a pull request, he/she can enable 'v-alji' GitHub account in Docs by visiting Docs Portal (https://ops.microsoft.com). After enabling his/her account (v-alji), close and then reopen this pull request to start another build.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Possible to access rails helpers in hologram

Is it possible to access rails helpers such as <%= stylesheet_link_tag %> within the _header.html file? When we deploy, our assets get a hash for caching. Hardcoding the path the styles breaks when we move from local to production.
Thanks in advance

I'd also love an answer to this!

Right now there is not a way to do this within hologram. There might be a way to do it directly in the erb, but I don't know how you'd do that.


Standardize descriptive stats

Checklist

[X] Run tests locally to make sure nothing is broken using make test.
[X] Run the formatter to format the code using make lint.

Closes https://github.com/embeddings-benchmark/mteb/issues/1321

Seems n_samples is maintained with taskmetadata as well as in descriptive stats (this seems like a duplicate?)

A bit yes, but some tasks (2 as I remember) using this information for generating splits. I can remove it if you want.

How is task metadata added to descriptive stats?

When called calculate_metadata_metrics metadata automatically will be added to descriptive_stats.json.

How do we ensure that it is added for new datasets without making it too inconvenient for developers.

I don't have good ideas how to do this only for new tasks

As I understand it right now. If I want the metadata from one dataset I have to load the metadata for all datasets. That seems problematic

Yes, just precalculated metadata, but I don't think that loading json will be too problematic, but if you want I can create directory, where metadata will be stored per task

A bit yes, but some tasks (2 as I remember) using this information for generating splits. I can remove it if you want.

I would move it to a variable for those cases

I don't have good ideas how to do this only for new tasks

Let us add a test that checks that it is computed.

Yes, just precalculated metadata, but I don't think that loading json will be too problematic, but if you want I can create directory, where metadata will be stored per task

I think this is better. It is already causing issues when reviewing and it would be a very frustrating file to have merge conflict in.

I'll try to add this, but this can be a bit wierd, because metadata calculated using AbsTask and descriptive stats can't be calculated using TaskMetadata

I think a solution where we simply throw an error or return an empty dict if it is not there is fine. After all calling descriptive_stats should not compute anything (it should just load it)

I've changed everything, as you said

@KennethEnevoldsen I only spotted 1 obvious conflict with MIEB: Only AbsTaskVisualSTS has _calculate_metrics_from_split implemented, and will likely need to follow some of the code changes in this PR (should be easy 👌 ). Otherwise, all other image-related AbsTasks has pass in their respective methods. So if we can accept empty descriptive stats for these tasks, then we should be ok.
CC @gowitheflow-1998
@Samoed thanks so much for working on this. In future PRs, to help speed up the process, could you please include a small summary in the PR description? I would really appreciate it! 🙏

@KennethEnevoldsen, is this PR ready to be merged?

Yes merged in - great PR!


Add .npmignore to remove extra files from node_modules

Copy of #545 targeting the develop branch

Closing due to lack of interest


how to add flutter sdk path

when do run issue appear about add --stracktrac or --debug
i tried too much solves but no way
when open project structure i found this, tried to add c:\src\flutter but it tell me not a valid path

[ ] I'm sure this issue is not a duplicate.

[ ] I'm submitting an icon request:

Type: ``
Icon Name: ``
Sample original Icon:
Extensions: ``
Filenames: ``
Language ids: ``

Language Extensions:

More info:

@sandy081 please take a look

@michaelNabil316 Wrong repo.

what wrong in this?
On Fri, Jul 31, 2020, 9:42 PM JimiC<EMAIL_ADDRESS>wrote:

@michaelNabil316 https://github.com/michaelNabil316 Wrong repo.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/vscode-icons/vscode-icons/issues/2570#issuecomment-667318893,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AP3JC3H3BO6ROHA3I2RKIJTR6MNB7ANCNFSM4PQVCM3Q
.

This is not the correct repo to post your issue,

it's my second time to share issue so i just new here
On Sat, Aug 1, 2020, 1:26 PM JimiC<EMAIL_ADDRESS>wrote:

This is not the correct repo to post your issue,
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/vscode-icons/vscode-icons/issues/2570#issuecomment-667516755,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AP3JC3CCBWB6OOK26CGV5RLR6P3VJANCNFSM4PQVCM3Q
.


Datavault Raw Vault loading

Hi,
Will you consider add support for loading RAW vault tables?

@MiguelElGallo - thanks for the ping.  I am not actually sure what RAW vault tables are?  How are they related to Delta Lake?


ChatGPT doesn’t work

When I type in the ChatGPT is says “Disconnect from backend server” please fix this

Ok, thank you for letting me know.
Sent from Outlook for iOShttps://aka.ms/o0ukef

From: Ruochen Jia @.>
Sent: Wednesday, January 31, 2024 4:59:02 PM
To: whitespider-dev/whitespider @.>
Cc: Haddock74 @.>; Author @.>
Subject: Re: [whitespider-dev/whitespider] ChatGPT doesn’t work (Issue #23)
Closed #23https://github.com/whitespider-dev/whitespider/issues/23 as completed.
—
Reply to this email directly, view it on GitHubhttps://github.com/whitespider-dev/whitespider/issues/23#event-11658769284, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BFNKAJWC2RF7REK5NP3YLNDYRJZ5NAVCNFSM6AAAAABCRYJUOWVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJRGY2TQNZWHEZDQNA.
You are receiving this because you authored the thread.Message ID: @.***>


Review .gitignores in this project, see if they are still suitable for the new "Cordova" style in 7.1

@nickcmaynard-ibm - opinions?

AFAICT they're still suitable, though we'll see only the server-side resource rules taking effect.  The Cordova-style hybrid projects don't live in the same hierarchy - they're siblings to the root we usually deal with.
IBM haven't issued guidance for source control of these types of project.  Perhaps we should start by asking the question on Stack Overflow.

The directory structure is defined by Apache Cordova, best practice is to check everything in except the contents of 2 folders "platforms" "plugins". If you don't want to checkin wlapp files they can be regrnerated with mfp push command so ignoring the folder "mobilefirst" is also recommended, they can be empty directories in source control.

OK, I'll take a look at this when I have some time. I would suggest that these might be useful starting points:

https://github.com/crilleengvall/gitignore/blob/master/Phonegap.gitignore
http://stackoverflow.com/a/29972835/27641
https://github.com/phonegap/phonegap-app-developer/blob/master/.gitignore

A word of caution here - I've seen conflicting "recommendations" for handling Cordova projects and Git.  I would advise detailed testing if there is no official guidance.


[Question] Systemd compatible init

Hello- seeing as a lot of services are mostly written with Systemd in mind, are you actually, presently, considering adding a service running capability to your own init system in a systemd compatible way?

We are investigating adding systemd support to WSL. We don't currently have any updates on this work, but we have been looking into it!

Please feel free to close, or perhpas leave open if you foresee more such questions. Thank you, I hope WSL2 works out well.