[UiKit] Empty strting in url in API response results in "official site" empty link.

Steps:

Use this API response from "en" locale.

{
            "id": "c7df8611-76d2-4e22-bcc0-ac94a860cf78",
            "images": [
              "1624128478629_59241fa8cdc7b-rsz-sluza-paniewo.jpg",
              "wdr_gOfHebUR85YyjRhzy.jpg",
              "qah7qf5-RFttm1s86xqWm.jpg",
              "1624128478629_H4XgYNvElHlF3P4Z.jpg",
              "1624128478629_73cccba992eca103853b315d089d6dc1.jpg"
            ],
            "status": "published",
            "location": {
              "lat": 53.8647,
              "lon": 23.6389
            },
            "area": null,
            "cover": "1624128478629_59241fa8cdc7b-rsz-sluza-paniewo.jpg",
            "categoryId": "b332ccee-d27a-4a51-8349-ac271767c503",
            "createdAt": "2021-06-15T07:24:47.598Z",
            "updatedAt": "2022-03-27T11:20:43.451Z",
            "statusUpdatedAt": "2022-03-10T07:25:44.273Z",
            "point": {
              "type": "Point",
              "coordinates": [
                23.6389,
                53.8647
              ]
            },
            "address": "Гродненская область, Гродненский район",
            "length": null,
            "duration": null,
            "origins": [
              {
                "name": "posmotrim.by",
                "value": "https://posmotrim.by/article/avgustovskiy-kanal.html"
              }
            ],
            "url": "",
            "routes": null,
            "include": [],
            "belongsTo": [],
            "i18n": [
              {
                "locale": "en",
                "name": "Augustow Canal",
                "description": "
The Augustow Canal is a truly unique object of its time: in terms of the complexity of engineering solutions, the scale and, of course, the natural beauty of the places where it runs.

In the nineteenth century, this man-made waterway connected the basins of the Vistula and Neman rivers, providing access to the Baltic Sea in the north, and to the Black Sea in the south (through the Oginsky Canal, the Dnieper, the Berezinskaya water system and Dvin).

The idea of creating the channel was born back in the 1760-70s during the time of King Stanislav August Ponyatovsky. However, construction began only in the nineteenth century after Prussia introduced high duties on the transportation of goods to the Baltic ports.

In 1824, the project of the Augustow Canal was approved by Emperor Alexander I. The construction took 15 years: 29 culvert dams, 18 locks, 21 chambers, 14 bridges, 24 facilities for servicing the canal were built. At that time, the cost of the construction of the Augustow Canal cost a very substantial amount of 1.5 million silver.

Nevertheless, its history as an important transport artery for the alloy of wood and goods was short-lived. In 1825, the agreement with Prussia settled customs duties, and in the second half of the nineteenth century, the development of railways made the canal unclaimed for transportation.

During the Great Patriotic War, the hydraulic structures of the canal, along which defensive pillboxes were built, were significantly damaged, and the Chertok distribution lock was completely destroyed.

The largest lock of the Augustow Canal is the four-chamber Nemnovo, the length of which is 9.6 m. The water drop is almost 10 m, and the lock takes about an hour.

The Augustow Canal is a great place for outdoor activities, water tourism, hiking and cycling. The amazing beauty of nature attracts thousands of visitors here. The water in the canal is very clean, which has led to the reproduction of valuable species of trout and grayling fish. Fishing on the canal and adjacent lakes and rivers is becoming increasingly popular.
",
                "address": "Grodno Region, Grodno District"
              }
            ]
          },

Visit "Augustow Canal" object.
Inspect links block.

Expected:

No empty link.

Actual:

Empty link in "Official site".

Verified successfully on UiKit on production (v.1.3.4 (24) iphone 11pro


Snowboy key won’t be accepted.

Description
Français and English are allowed.
Detailed description of your problem.
In case of feature request, please provide justification & example of usage.
Logs
<PASTE HERE> full content of the terminal with Jarvis in troubleshooting mode
(keep triple quotes above and below to preserve formatting)

Alternatively attach a terminal session recording using asciinema:
sudo apt-get install -y asciinema && asciinema rec # start session recording
./jarvish.sh -nv # start jarvis directly in troubleshooting mode
Ctrl+D # stop recording
y # yes to upload and get URL to paste here

Jarvis doesn’t accept snowboy api tokens. I’ve tried two, I’ll try another. It also doesn’t like it’s name changed from snowboy to Jarvis. Weird.

Hello
I use Snowboy and it's still working.
for Azure, Microsoft changed something, jarvis have to be update, we are talking about this (in french):
https://github.com/alexylem/jarvis/issues/888

Yes Snowboy work perfectly for me too
but don't use Bing for the moment cause we need an adaptation of source code of jarvis
you should use snowboy for STT and TTS and create your hotword one by one and put the word into the file command.

Thank you for your help. I’ll create a few and let you know if it’s successful. I found another group chatting about azure, it seems I might have used my registration keys by mistake. But you’re correct, Microsoft is migrating it’s speech from common.

I also believe we need to include the correct region end point.


Docs/testing

docs(testing): add testing and testing recipes persian translation

I close this PR due to this file path does not exist in new website.


Question: How to set rendezvous server on AI companion for self-host AI?

Related to #2372, somehow, I suppose, but I am not sure.

In addition to running the rendezvous server code from under the misc directory, you need to specify the default rendezvous server in YaVersion.java and change the default rendezvous server in Screen1.yail of the companion you build. In the production companion, you can change the rendezvous server via the Settings menu item.
In the future, please ask clarifying questions in our open source community.

In addition to running the rendezvous server code from under the misc directory, you need to specify the default rendezvous server in YaVersion.java and change the default rendezvous server in Screen1.yail of the companion you build. In the production companion, you can change the rendezvous server via the Settings menu item.
In the future, please ask clarifying questions in our open source community.


Bug in quaternion conversion?

Code to reproduce
R = np.array([[-0.26588199,  0.0721791,  -0.96129961],
                      [ 0.01772801,  0.99739046,  0.06998566],
                      [ 0.96384256,  0.001566,   -0.26646775]])
R = SO3.from_matrix(R, True)
q = R.to_quaternion()
print(np.isclose(la.norm(q), 1))

prints False

Possible fix
ef uquat_from_rot3(R, fast=False):
    if fast:
        return _uquat_from_rot3_itzhack(R)
    else:
        return _uquat_from_rot3_klumpp(R)

def _uquat_from_rot3_klumpp(R):
    """
    Unit quaternion from rotation matrix, Klumpp's method
    http://arc.aiaa.org/doi/abs/10.2514/3.27947
    http://www.euclideanspace.com/comm/geom/rotations/conversions/matrixToQuaternion/index.htm
    """
    ((r00, r01, r02), (r10, r11, r12), (r20, r21, r22)) = R

    tr = np.trace(R)

    if tr > 0:
        # s = 4 * w
        s = np.sqrt(tr + 1.0) * 2
        w = s / 4.0
        x = (r21 - r12) / s
        y = (r02 - r20) / s
        z = (r10 - r01) / s
    elif r00 > r11 and r00 > r22:
        # s = 4 * x
        s = np.sqrt(1 + r00 - r11 - r22) * 2.0
        w = (r21 - r12) / s
        x = s / 4.0
        y = (r01 + r10) / s
        z = (r02 + r20) / s
    elif r11 > r22:
        # s = 4 * y
        s = np.sqrt(1 + r11 - r00 - r22) * 2.0
        w = (r02 - r20) / s
        x = (r01 + r10) / s
        y = s / 4.0
        z = (r12 + r21) / s
    else:
        # s = 4 * z
        s = np.sqrt(1 + r22 - r00 - r11) * 2
        w = (r10 - r01) / s
        x = (r02 + r20) / s
        y = (r12 + r21) / s
        z = s / 4.0

    q = np.array([w, x, y, z], float)
    if w < 0.0:
        np.negative(q, q)

    return q

def _uquat_from_rot3_itzhack(R):
    """
    New method for extracting the quaternion from a rotation matrix
    Itzhack Y. Bar-Itzhack
    This is only the precise version
    """
    ((r00, r01, r02), (r10, r11, r12), (r20, r21, r22)) = R

    # K = 0.5 * np.array([[r00 - r11, r10 + r01, r20, -r21],
    #                     [r10 + r01, r11 - r00, r21, r20],
    #                     [r20, r21, -r00 - r11, r01 - r10],
    #                     [-r21, r20, r12 - r21, r00 + r11]])
    # NOTE: eigh vs eig
    # quaternion is eigenvector of K that corresponds to eigenvalue of 1
    # Although in itzhack's paper he mentioned that "for a precise DCM,
    # there is no need to use three pairs because the result will be
    # identical", in practice, we choose to compute K using 3 pairs,
    # because the resulting K is a symmetric matrix and according to
    # http://mail.scipy.org/pipermail/numpy-discussion/2006-March/019618.html
    # eigh() is faster, and numerically more reliable than eig()

    K = np.array([[r00 - r11 - r22, 0, 0, 0],
                  [r01 + r10, r11 - r00 - r22, 0, 0],
                  [r02 + r20, r12 + r21, r22 - r00 - r11, 0],
                  [r21 - r12, r02 - r20, r10 - r01, r00 + r11 + r22]],
                 dtype=float) / 3.0
    # We use the lower triangular part of the K matrix
    eig_vals, eig_vecs = la.eigh(K, UPLO='L')
    q = eig_vecs[:, np.argmax(eig_vals)]
    # Convert to hamilton quaternion
    q = q[[3, 0, 1, 2]]

    # When computing the eigenvector of the largest eigenvalue of K, one may
    # obtain either q or -q. Usually we want the smallest rotation about
    # this axis, so we simply choose the quaternion whose scalar component
    # is positive
    if q[0] < 0.0:
        np.negative(q, q)

    return q

Just an FYI: this has now been fixed in a08c9a2c23da579dd1dec8e087a9c49f8fccd7bf.


Font for CJK

CJK characters such as Japanese text are not displayed correctly.
They should be replaced with fonts that can display multiple languages, such as Noto Sans.

I added a font selection, and manged to find a TTF font file to use.

In latest release.


Feature: Add slot skip rates to ValidatorHistoryAccount

Is your feature request related to a problem? Please describe.
The ValidatorHistoryAccount should track the block skip rate of every validator. It should be updated in semi-realtime.
Describe the solution you'd like
There's a few pieces of information that need to get stored on-chain to do this.

The leader schedule, which can be uploaded by the stake_authority, a permissioned authority that has the ability to update certain parameters that aren't stored on-chain. If it fits in a single account, it may make sense to store it there. If not, can potentially store it a PDA keyed by the validator's vote/identity account and the epoch with some lifetime associated with it to save on rent and state bloat. Need to keep in mind the account access patterns.
The SlotHistory sysvar can be used to check if a slot was skipped or not. The API requires a slot, so the slot -> pubkey mapping is needed.

This will be a tricky one, looking forward to seeing the implementation :)

Hey @buffalu I'd like to take this up, can you please assign me?

@buffalu the ValidatorHistoryEntry has a size limit of 128, looking at the leader schedule for most validators, the space required to store that would be around 6-8kb which is a lot. A potential solution is to use a leader schedule account and store it in that.
Why do we need a slot to pubkey mapping? If we know the leader schedule and we have the slot history sysvar we can check if any slot in the schedule is missing from the sysvar

A potential solution is to use a leader schedule account and store it in that.

This sounds reasonable to me, how are you thinking about the layout for that account? Is it HashMap<Pubkey, Vec> or something else?

A potential solution is to use a leader schedule account and store it in that.

This sounds reasonable to me, how are you thinking about the layout for that account? Is it HashMap<Pubkey, Vec> or something else?

I was thinking more along the lines of having a account per epoch per validator.
For epoch N you create a leader schedule account whos key is mapped to the ValidatorHistoryEntry and contains the epoch number as well.
#[account(zero_copy)
pub struct LeaderSchedule{
pub epoch: u64,
pub vote_identity: Pubkey,
pub leader_schedule: [u64; 20000] // currently highest stake validator has ~14k length schedule so this gives it a good margin.
}
pub struct ValidatorHistoryEntry{
...
pub leader_schedule: Pubkey
}

Per epoch cost would be ~ 0.0032 SOL.

@anoushk1234
Each validator with a ValidatorHistory account is given an index, which we can use to save a lot of space when storing the leader schedule and also use one global account rather than per validator. Also removes the need to save 32 bytes on the validator history account
We can invert the ValidatorHistory -> LeaderSchedule mapping to be LeaderSchedule -> ValidatorHistory like this:
#[account(zero_copy)
pub struct LeaderSchedule{
  pub epoch: u64,
  pub slot_offset: u64,
  // Each value in this array is the index of the leader for the slot at i + slot_offset
  pub leader_schedule: [u32; 432000]
}

Size: 432000 * 4 bytes + 8 + 8 = 1728016 bytes, less than 10MiB account limit
Then in an instruction for each validator you can loop through SlotHistory and check all slots where leader_schedule[i] == validator_history.index, to compute the previous epoch's skip rate.  Check the ClusterHistory struct I added a few PRs ago for how this is accessed
You'd need to upload the LeaderSchedule across multiple TX's cause it's so big, and also initialize it with multiple instructions - check ReallocValidatorHistoryAccount for an example. You could also maybe reuse the same LeaderSchedule account but could make the timing for updates each epoch more complex


Enable cobs length computations at compile time

Depends #144

why is this dependent?

why is this dependent?

Was building these things one after another and needed them. Will rebase.


FW-649. uses a larger set of outputbuffer to avoid dropping some data…

by default 5 buffers of 256 bytes to store the data before its transmission through the serial line (avoids to drop data)

Can one of the admins verify this patch?

The SERIAL_OUTPUT_BUFFER_SIZE is changed to 1024 and use a modulo operator of 0x3FF


Added my details in interested-technical-writers.md

Added my details in interested-technical-writers.md

@emckean could you please merge  this !


No such element error

When running this I am given selenium.common.exceptions.nosuchelementexception at line 72, where the program performs " textAreaElem = browser.find_element_by_css_selector("div textarea.uiTextareaNoResize") "
Is this due to facebook updating perhaps?

Same issue with me.


Apiarist's Shoes Dark Steel Upgrade is uncraftable

Probably because of the typo in the recipes config (eenderiointegrationforestry)
https://github.com/SleepyTrousers/EnderIO/blob/89b3aefc785c2935cab46bf374aa7d9f367bf7d7/enderio-integration-forestry/src/main/resources/assets/enderio/config/recipes/darksteel_upgrades_forestry.xml#L69

Same thing with Thaumaturge's Boots upgrade.

Recipe references the "_boots" tag while the actual upgrade ends with "feet"
https://github.com/SleepyTrousers/EnderIO/blob/b4983f13e149851b1122031ab10748fc7fb1973a/enderio-base/src/main/resources/assets/enderio/config/recipes/darksteel_upgrades.xml#L381-L390

Ah... because every other mod calls them boots...


The sample mentioned in the documentation doesn't work

POST reqyest  /v1.0/drives/{driveID}/items/{itemId}/invite
{
"recipients": [
{
"email"<EMAIL_ADDRESS>}
],
"requireSignIn": true,
"sendInvitation": false,
"retainInheritedPermissions": false,
"roles": [
"read"
]
}
Gives bad request
{
"error": {
"code": "invalidRequest",
"message": "Invalid request",
"innerError": {
"date": "2023-04-11T04:44:22",
"request-id": "96499ca0-0ffd-4e09-ad5d-bd0532b56a44",
"client-request-id": "2e740735-22bf-d6b5-0388-0d0c42716c90"
}
}
}
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: b75e1562-24d6-bfaf-be46-d52ee93ffb1d
Version Independent ID: cd35f8f6-774e-70d3-9bd5-11110ab450b1
Content: Send an invite to access an item - Microsoft Graph v1.0
Content Source: api-reference/v1.0/api/driveitem-invite.md
Product: sharepoint
Technology: microsoft-graph
GitHub Login: @JeremyKelley
Microsoft Alias: MSGraphDocsVteam

Hi,
Thanks for your feedback. Now the code sample has been updated and it works as expected.


Support for @std/esm .jsm

I was wondering what you thought about supporting .jsm files through @std/esm.
Basically, you would need to add this extension and if you with commonjs require look for a default on the imported symbol. It is a little more complicated if there is no default, but just asking...

@kmalakoff I haven't heard or come across the.jsm file extension before (I assume it stands for js module). I am aware of the.mjs extension which is currently behind the --experimental-modules flag since node 8.5.0.
I am aware and have used @std/esm pkg and enjoy it a lot. I am a little confused and have to admit I do not understand what you are asking/requesting. Would you be able to clarify/explain further for me what you hope to achieve? We currently use rollup to build a es &  cjs bundle, are you unable to use the es bundle?

Sorry, re-reading what I wrote wasn't clear...
The following doesn't work with .mjs files under the types folder:
import { fileLoader, mergeTypes } from 'merge-graphql-schemas';

const typesArray = fileLoader(path.join(__dirname, './types'));

I just ended up writing my own: https://github.com/kmalakoff/esm-require-directory

@kmalakoff We would be happy to have a PR for this if you are interested in submitting one. The specific code in question is here.

@cfnelson thank you. I am not too sure of the intricacies of @std/esm, have a solution now, and am busy balancing work and a personal project so I think I'll need to pass. Sorry!

@kmalakoff Thank you for being honest and letting us know! We'll be here if you have more free time, of course, so there's no pressure for us. :) Good luck and take care.


Is it possible to add our own tool buttons?

Is it possible to add our own tool buttons?  Love the editor so far, but the toolbar is very basic...

Yes you can create your own toolbar instance and add any existing button to it. Also, you can create your own buttons, take a look at the built-in button definitions to get an idea of how to make them.


could you add whitedb connector for pogrep?

Pogrep is really nice database solution,  but i know whitedb is the fastest in world but written in c language.
https://github.com/priitj/whitedb
https://pkg.go.dev/cmd/cgo
Thx and
Best regards

Hi, I'm not sure I fully understand the proposal. Could you please clarify if you are suggesting Pogreb to start relying on whitedb? It sounds like what you are looking for is a Go wrapper for whitedb. You can implement it using Cgo. I don't think Pogreb can help with it in any way.


Use Option for author and message in rebase_commit

#390

Ok we've got breaking changes on master now, so I"m going to merge! Thanks for the PR and sorry for the delay!


Bad environment variable in README

The instructions for using a self-hosted LLM in the README file say that you need to set the OPENAI_API_BASE variable. This should be OPENAI_BASE_URL to work properly.

Hey, which holmes version are you running and with which LLM model?
In the latest holmes version use LiteLLM under the hood, which uses OPENAI_API_BASE according to the docs.

I used the latest brew installation. holmes version gives me: HEAD -> master-fd086e5. I used the Llama3.1 model from Ollama.

Thanks, you're definitely on the latest version using LiteLLM.
What was the exact --model flag that you passed holmes?

When I set the environment variable with export OPENAI_API_BASE=<url-here>
and I then call holmes ask --model=llama3.1:8b-instruct-q8_0 "what pods are unhealthy and why?"
I get the following error: NotFoundError: Error code: 404 - {'error': {'message': 'The model `llama3.1:8b-instruct-q8_0` does not exist or you do not have access to it.', 'type': 'invalid_request_error',  'param': None, 'code': 'model_not_found'}}

Got it, thanks. And to clarify, this works if you go with OPENAI_BASE_URL?

Yes, correct. If I use OPENAI_BASE_URL it works.

@AIUser2324, do either of the updated instructions for Ollama here work for you? https://github.com/robusta-dev/holmesgpt/pull/133/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
On my side, Holmes is able to connect in both cases, but I'm not getting good results. Perhaps that is because I'm not using the instruct model?
In any event, are you able to get decent results with either:

The steps you mentioned in your original post
The new instructions (linked in the PR)


530 - About Page Updates - Features and Enhancements + Support the Data Lab

Issue Number
Closing #530
Purpose/Implementation Notes
Updated the Features and Enhancements and Support the Data Lab sections in the about page with the new design (figma).
Please see the latest UI here.
Types of changes

New feature (non-breaking change which adds functionality)

Functional tests
List out the functional tests you've completed to verify your changes work locally.
Checklist

[x] Lint and unit tests pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if appropriate)
[ ] Any dependent changes have been merged and published in downstream modules

move the figure a little to the right?

Opps 😅, adjusted!

There's one suggested change to remove a full stop from a link.

Yes, it's done at 32cfde0d015dd358488f7ab08774812537eb0196 👍 !

@davidsmejia Fyi, I made a minor clean up at b61c1fdc040b0a3acf5cb37cd80de689f18f6515, thank you!


Footsteps sounds disappear when OnUpdate and Game.GetPlayer() used together

https://youtu.be/-jovHoxz6Lw
CET Version: CyberEngineTweaks1.8.3_hotfix2
CET enabled. Script only consists of the following:
registerForEvent("onUpdate", function(deltaTime)
    player = Game.GetPlayer()
end)

After the player dies and clicks Load Last Checkpoint the console shows "Error: ". Once the player respawns there are no footstep sounds.

I hope this gets fixed because makes some tools unusable.

I hope this gets fixed because makes some tools unusable.

What's worked for me is to only call it once.
player = Game.GetPlayer()
Having it called a lot of times breaks the footsteps.

What's worked for me is to only call it once.
player = Game.GetPlayer()
Having it called a lot of times breaks the footsteps.

don't put player = Game.GetPlayer() directly inside onUpdate. you don't need to update the player object constantly

don't put player = Game.GetPlayer() directly inside onUpdate. you don't need to update the player object constantly


Column names containing commas should be wrapped in quotes when saving to CSV

Observed Behavior:
SFrame.save("foo.csv") knows that string values containing commas should be wrapped in quotes when saved in csv (comma-delimited). But it does not do that for column names (headers).
import turicreate as tc
print tc.__version__  # => 5.0b2

tc.SFrame({"look,comma": [  # column name with a comma
    "wow, amazing",         # string with comma will get wrapped in quotes
    "wonderful"             # ordinary string, no wrap
]}).save("foo.csv")

$ cat foo.csv   # file won't load using SFrame.read_csv
look,comma      # column name did not get wrapped
"wow, amazing"  # column value got wrapped
wonderful

Expected Behavior:
Just like column values, column named should be wrapped with quotes if necessary.
This is consistent with other software packages, for instance in pandas:
import pandas as pd
print pd.__version__  # => 0.19.1

pd.DataFrame({"look,comma": [  # same thing
    "wow, amazing",
    "wonderful"
]}).to_csv("foo.csv")

$ cat foo.csv
,"look,comma"     # looks OK!
0,"wow, amazing"
1,wonderful

Steps To Reproduce:
See above.

@znation  Please assign this ticket to me as I would like to try fixing it and contribute. Thanks in advance!

@dhivyaaxim Done, thanks!


dataset

hi,
I can't download human 3.6. Can you provide human 3.6 data set?
Thank in advance!  >.<

No, I do not have permission to redistribute the dataset.


String.charCodeAt() link is Broken!

Challenge Caesars Cipher has an issue.
User Agent is: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.112 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
The link for "String.charCodeAt()" in the instruction is broken....
My code:

function rot13(str) { // LBH QVQ VG!

  return str;
}

// Change the inputs below to test
rot13("SERR PBQR PNZC");

Duplicate of #8402.
Please follow this issue instead.


Cluster support

HI! Love the work and effort put into this!
But, it's common to have a rabbitmq cluster in production. Any plan to support this? maybe implement this?
Thanks alot!

I think this is out of scope


Bugfix/566 creation date time format inconsistent

Please fix the merge conflict in CHANGELOG and move the change log entry to [Unreleased] -> Changed section at the top. Rest looks good. Thanks.

Fixed and moved


RCDs suck

Description

RCDs aren't as powerful as they were in 13, being able to only create a small variety of objects (airlock/floor/solid wall/remove the above) with a limited & small ammo charge but as how rare they are, they are not worth anything
I propose we allow RCDs to deconstruct and reconstruct additionally: reinforced walls, reinforced windows, deconstruct airlocks, shorten the do-after time, add an animation (very important!!!) and generally just make them not worse than regularly constructing with metal.

wyci :trollface:

feedback post not a feature request post

Dupe of #15708
Regular RCDs should never be able to build/decon reinforced walls. Mech RCDs should be given this.


Add invoke task to publish new version

On guest:
$ cd /vagrant
$ /home/vagrant/snowplow-python-3.3-tracker-environment/bin/python setup.py register
$ /home/vagrant/snowplow-python-3.3-tracker-environment/bin/python setup.py sdist upload

If you get an error like this:
hard linking CHANGES.txt -> snowplow-tracker-0.4.0
error: snowplow-tracker-0.4.0/CHANGES.txt: Operation not permitted

it will be because you are running in Vagrant in a folder which is shared with your host machine. Copy it out to /tmp and run again:
$ cp -r /vagrant /tmp/snowplow-python-tracker
$ cd /tmp/snowplow-python-tracker
$ /home/vagrant/snowplow-python-3.3-tracker-environment/bin/python setup.py sdist upload

No longer using Vagrant


Problems on CI pipeline

The minimum requirements to build the application is Xcode 12.5, as of now major CI providers support only 12.4, the upgrade is currently rolling, we can track progress for Github actions here.

Our organization has been included in GitHub “private preview“!
With #38 we added the build and test pipeline with Xcode 12.5 on MacOS 11.


Fix local script storage directory typo in README?

Fix storage directory typo in local script README?
HI, I think the storage directory in the README is wrong, when i ran the script it created this directory:

But i might be wrong, I haven't gotten the nfs working yet : (

Nice! You're right, it should be go-deploy-data.
What's the issues you're having with NFS?
What happens if you do kubectl get pods --all-namespaces?

I just have some dns issues I think, had to modify the script and a bit to work with my distro.
The script stopped at waiting for mongodb since there is no PersistentVolume for it
So I checked the nfs logs using
kubectl logs nfs-server-55c6656fdd-77xpn -n nfs-server

And got
Serving /exports
Serving /
rpcinfo: can't contact rpcbind: : RPC: Unable to receive; errno = Connection refused Starting rpcbind exportfs: / does not support NFS export
NFS started

Figured its dns related.
Thanks, Ill try the command when im back home on my pc :)


Centroids outside country borders

For some countries, such as Chile, Croatia, and Israel, the centroid is outside the borders of the country.
Is there a way to keep the point within the country?

Thanks for the feedback - please see the readme for the issues/challenges.
With the recent v1.0 we switched to using the centroid of the largest land mass. I think that got them much closer to what you'd expect, but I understand your concern with having them always inside the polygon. I think we could run polylabel as the last step in the process, ensuring the point is within the polygon, but I'm not sure if that changes the project too much. I'll leave this open to see if others want to :+1:  vote this issue, perhaps we'll do it in the future.

Thanks for pointing me to polylabel. It looks like it will probably do exactly what I want – which is not necessarily to find the actual "centre of mass" of a country, but to find a good place for a label.
As to whether you want to implement that here, of course it will depend on what the data is intended for, but I understand that it would potentially be a big change from what you have now.

Same for me, approximate centroid inside the country borders would be more interesting than pure exact centroid!
Maybe two files are needed here, there isn’t one correct answer for every use case.


Vue 2.5 support

We're using Vue2.5 in our project. Do we have any update for this ?

Hi, you need to be using at least Vue 2.6. Otherwise I'd suggest using https://vue-meta.nuxtjs.org/


--preprocess patterns improvements

While working with fastpack I've noticed a few shortcomings with --preprocess configuration. Here is a couple thoughts how we could make it a little easier:

Make --preprocess entries be mutually exclusive, where the first entry in the list gets the priority. This, by the way, is already true in master. Here is an example of usage:
fpack --preprocess='global\.css$:style-loader?css-loader' --preprocess='\.css$:style-loader?css-loader?modules=true'

In other words, "use css modules for all the css files except of global.css".

Add noop preprocessor which would do nothing, just return the source unmodified. It is special in a way, that it can only be used exclusively and cannot be a part of the chain. For example:
fpack --preprocess='node_modules/.*\.js$:noop' --preprocess='\.js$'

The command above says: use builtin preprocessor for all the JabaScript files except of those in the node_modules directory. So, effectively, this mimics the "exclude" capability in webpack.

Finally, what if we use glob patterns instead of (or alongside with) regular expressions. For example, the above example would be specified as:
fpack --preprocess='node_modules/*.js:noop' --preprocess='*.js'

There are couple limitations/specialities about this change though:

* should match all the characters (including /), otherwise it'd be impossible to specify arbitrary paths
the pattern will always be checked against the entire filename (not a partial match). The partial match may fail on a case like this: *.js would partially match the lib.js/some.css, which is unlikely what is supposed by the user.

So, open questions:

does it make sense at all :)?
is glob a better way than regexp?
if going this way, should we keep the backward compatibility and both ways of specifying the pattern?

When considering globs, how about the ones used in gitignore?

@baremetalfreak I don't mind, although I'm not sure if the gitignore patterns implementation exists as OCaml library. My choices above were motivated mainly by this implementation.

how about adding an ignore flag instead of noop?
fpack --preprocess-ignore='node_modules/*.js' -- preprocess='*.js'

@matthiaskern this makes sense. Although still has a couple of problems. Consider the following example (say the project is yarn workspaces-based monorepo):
fpack --preprocess='node_modules/my-other-package/*.js' \
         --preprocess-ignore='node_modules/*.js' \
         --preprocess='*.js'

When preprocess-ignore should be applied? If the answer is before everything, then we're going to lose my-other-package transformations. If the answer is respecting the order of appearance of both preprocess-ignore & preprocess, I am not sure how to implement it with cmdliner (used in fastpack to parse command-line arguments).
I like the ignore term though, maybe we could rename noop to ignore? The example above would look like this:
fpack --preprocess='node_modules/my-other-package/*.js' \
         --preprocess='node_modules/*.js:ignore' \
         --preprocess='*.js'

@zindel seems like a good compromise. ignore is very explicit


Godot hangs when (re)importing .obj files

Godot version
4.0.dev (b3c2281706778cf5311a68fe0071aa2740d01131)
System information
Windows 10
Issue description
Godot 4.0 regularly hangs when (re)importing resources. It seems to happen mostly with .obj meshes for me, but I am not sure if it also happens with other resources.
It seems to me that there are two issues here:

The models do import correctly the first time I import them... this only happens when something changes which causes it to try to reimport or when I reload the project and it tries to import again. There must be some bad data getting written the first time that breaks the reimporting the second time round.

The importer really shouldn't just hang when it can't import a file for whatever reason. There should be some mechanism to catch and report errors and it should timeout if an external importer hangs for too long without any progress.

Also, ideally if an import fails it would seem sensible to replace it with a placeholder mesh or texture rather than just failing so the game still loads and runs rather than just breaking. This is common in other game engines.
Steps to reproduce
Import an obj such as https://github.com/awkwardpolygons/cartographer/blob/master/addons/cartographer/meshes/clipmap_multi.obj to a project and add it to the scene, and then try reloading the project. It doesn't seem to happen all the time though... I am not sure exactly what triggers it to try to reimport.
Minimal reproduction project
As above

I can also confirm this is an issue.

Related to (possibly duplicate of) #48265.

I think the .obj deadlock is indeed related to #48265
I also found the engine got stuck when importing a png file yesterday too though, so I think there might be a wider issue... we need the .obj importer not to hang if it can't find the material, but we also need the engine to be able to carry on and fall back to default resources if an importer does get stuck or fail for whatever reason (this is also the case with the scene importer by the way - if something is missing it just says the scene is corrupted rather than loading what it can and replacing the rest with placeholders).

Can someone check if this issue still exists? I have hard time reproducing it on v4.0.dev.20210820.official [75697c0df]
I downloaded .obj file from link above and I tried to reproduce it about 20 times according to description, but it never triggered  a deadlock.

Yes, it is still very much broken unfortunately.

Duplicate of https://github.com/godotengine/godot/issues/48265 (same cause).


Images Downscaled

Hey, great work you all did! I really like it!
I have a problem though. After running python test_davis_videos.py --input=single_view, the result is downscaled to 288x512 (or, 288x1024, with the original and the result next to each other). But the original has a much higher resolution!
I found the resized_width and _height in the DAVISImageFolder class, but adjusting these made me run out of memory (CUDA) immediatly. I have a GTX 1070.
Is it really that intense? Or am I doing something wrong?

The model is fairly heavy, but it obviously depends on the amount of RAM in your card. We haven't experimented with larger image resolutions. If you are looking for a higher resolution result, you might try upsampling the output using some kind of image-guided filter like https://johanneskopf.de/publications/jbu/


missing v1.24.9+k3s2 release

https://github.com/k3s-io/k3s/releases/tag/v1.24.9%2Bk3s1 saying that v1.24.9+k3s1 impacted by contained issue and suggest to install v1.24.9+k3s2 instead.
Same is valid  for other recent releases too, please add missing releases 🙏🏽

These are being validated by QA as we speak and should be released very shortly.


samlssoTokenId cookie does not clear when browser close

Describe the issue:
samlssoTokenId cookie doesn't get cleared when a browser session is closed.
How to reproduce:

Configure a SAML app in WSO2 IS(appA).
Configure session idle timeout as 15min.
User A logs in to appA.
Check the samlssoTokenId cookie value and copy it.(Let's consider it as samlssoTokenId=xxxy).
Close the browser.
Open a new browser and login to app A y user B.
User B will be prompted with the login page. Enter the login credentials and login to the app.
Check the samlssoTokenId cookie value in the browser. The same cookie that you copied in step 4 will be there (samlssoTokenId=xxxy).

Expected behavior:
User  B shouldn't get the same samlssoTokenId cookie. The samlssoTokenId cookie should be cleared when the browser session is terminated.

Minoli will be working on this

Minoli will be working on this

Closing as it is fixed.


elp panic!

Describe the bug
thread 'main' panicked at /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/text-size-1.1.1/src/range.rs:48:9:
assertion failed: start.raw <= end.raw
stack backtrace:
note: Some details are omitted, run with RUST_BACKTRACE=full for a verbose backtrace.
thread '' panicked at /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/lsp-server-0.7.4/src/stdio.rs:29:37:
receiver was dropped, failed to send a message: "SendError(..)"
stack backtrace:
note: Some details are omitted, run with RUST_BACKTRACE=full for a verbose backtrace.
Process erlang-language-platform stderr<2> finished
To Reproduce**
Don't know, I was editing the io.erl file in Erlang/OTP and it crashed.
Expected behavior
For the server to not crash :)
Context

ELP Version (output of elp version): elp 1.1.0+build-2024-02-07
Editor used: emacs

Thanks for reporting @garazdawi . Not sure how actionable is this from our side since it looks like one of the receiving ends just got killed. So this is the consequence, not the root cause. Anything else interesting in the logs that could help us investigating this further?

I'll check and see next time it happens. Unless there are some logs hidden somewhere that I could look at?

Actually @michalmuskala  made me notice the  start.raw <= end.raw part, which suggests we're doing something wrong with byte spans.

Please report again with the new release, it should log a bit more context, which we can use to narrow down possibilities.


Godot 4.1.1 - Close all tabs (scenes opened in editor) causes crash

Godot version
v4.1.1.stable.official [bd6af8e0e] - (without .net) - MacOs version
System information
Macbook Apple M2 Pro - MacOs  Ventura 13.6
Issue description
"Right click" in scenes tab and choose "Close all tabs"  causes crash when running Godot 4.1.1 in an MacBook with Apple Silicon
Steps to reproduce
1 - Open  project with many opened Scenes
2- "Right click" in scenes tab area and choose "Close all tabs"
3- Now you can see an "immediate crash"
Expected: new tab for new clear scene
Notes:

tested in MacOS version of Godot
Added evidence video file

Minimal reproduction project
Note: zip with ".godot" because that bug only happened in this version.
Tappy Plane - bug Close All Tabs.zip

Thanks for your report. Duplicate of https://github.com/godotengine/godot/issues/79943. Already fixed in 4.2 and 4.1.2.


Revamp Cloud

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.4 out of 6 committers have signed the CLA.:white_check_mark: lemaitre-aneo:white_check_mark: alouvion-aneo:white_check_mark: YKharouni:white_check_mark: lzianekhodja:x: ngruelaneo:x: ftchawe-aneoYou have signed the CLA already but the status is still pending? Let us recheck it.


BeamNG Template

Hey,
This is my secont try :). I have made a BeamNG Template. As I am new to Github it would be very nice if someone could help me out, how to contribute if I am wrong again.
BG
Paul

This time you're trying to merge your v1 branch into our v2 branch, keep it in one branch, so make a pull request from your v2 branch to our v2 branch
Also, you didn't add your template to the pull request, you first need to make your changes on your fork, either using GitHubs web interface or by checking out your fork locally, making changes there, then committing those to your fork before making your pull request
If you need more detailed help with that, feel free to come to our discord, it's a lot easier to help you there than it is to keep a constant eye on GitHub, plus there are more people there that can help you out


Injecting time externally

This library uses time from com.evernote.android.job.util.Clock instances, and defaults to Clock.DEFAULT which uses System.currentTimeMillis() - that can be inaccurate as user can change their device clock.
We're looking to use TrueTime (https://github.com/instacart/truetime-android), which has an API like TrueTimeRx.now() to get currentTimeMillis. Is there a way to use TrueTime with Android-Job?
There's a JobConfig#setClock(Clock) method, but with @VisibleForTesting scope. Is it the correct hook to implement this functionality?

Yes, that's the right hook, but it's not a supported API. You can try it, though. FYI, I also don't plan to expose this API as most people don't need it and this library will be deprecated sooner rather than later.

Sad that this library will be deprecated, as WorkManager doesn't have many features like exact jobs, daily jobs etc. 😞

Deprecated doesn't mean it stops working ;-) I'm pretty sure that we'll use both in our code base for a longer time.


Fix setting max lines via code

This pr enables setting maxLines via code. Usage is shown in the sample activity. It also fixes #13 and #8.

Hi Arslan
can you please update your pull request and merge it with the develop branch?
Thanks!
Cliff


Bump react-native-network-client version

Summary
Bump react-native-network-client to fix issues with websocket connections
Ticket Link
None
Release Note
Fix rare cases of the websocket not connecting

Closing PR this is not needed


Machines list

Branched from https://github.com/manifoldco/torus-cli/pull/6
Will continue to update this as code review happens for machines create.
Sample output:
> torus machines list --help
NAME:
   torus machines list - List machines for an organization

USAGE:
   torus machines list [command options]

OPTIONS:
   --org ORG, -o ORG  org to the machine will belong too
   --destroyed, -d    Filter by destroyed.

> torus machines list

ID                                   NAME                              STATE         CREATION DATE

04buv5v36xecb5r390btvevkh0k10        api-test-machines-00cjftz6        active        2016-10-30T12:56:21Z
04bh45uqk811xqzr81jb6naw5mt02        api-test-machines-b5hryd28        active        2016-10-30T12:56:35Z

> torus machines list --destroyed

ID                                   NAME                              STATE            CREATION DATE

04bx7jwzw9c8wd6t0n7mqpxerqncu        api-test-machines-2apzzf71        destroyed        2016-10-30T12:56:41Z

This is missing the TEAM or ROLE column which would just list the non-machine-team membership (since a machine can only belong to one team other than the system machine team).
You can fetch all the machine teams using the api.Teams.List method I introduced for machines create and figure out which team defines the role by deriving the orgs machine team using the OrgID (see the machine create code I added for how to that).

@ianlivingstone added TEAM column, support --team flag.

@ianlivingstone changes pushed


Race condition with multiple targets to same file together with keepFileOpen="true" concurrentWrites="false"

NLog version: 4.5.8
Platform: .Net 4.5 (net471)
Current NLog config
<?xml version="1.0" encoding="utf-8" ?>
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://www.nlog-project.org/schemas/NLog.xsd NLog.xsd"
      autoReload="true"
      throwExceptions="true"
      internalLogLevel="Off" internalLogFile="c:\temp\nlog-internal.log">

  <variable name="logDirectory" value="C:\Temp"/>
  <targets>
    <target xsi:type="File" name="FooTarget" fileName="${logDirectory}\test.log"
            layout="${message}"
            keepFileOpen="true" concurrentWrites="false" />
    <target xsi:type="File" name="BarTarget" fileName="${logDirectory}\test.log"
            layout="${message}"
            keepFileOpen="true" concurrentWrites="false" />
  </targets>
  <rules>
    <logger name="FooNamespace.*" minlevel="Trace" writeTo="FooTarget" />
    <logger name="BarNamespace.*" minlevel="Trace" writeTo="BarTarget" />
  </rules>
</nlog>

Sample program to reproduce (run this multiple times):
using BarNamespace;
using FooNamespace;
using NLog;

namespace NLogTesting
{
    class Program
    {
        static void Main()
        {
            Foo.Log();
            Bar.Log();
        }
    }
}

namespace FooNamespace
{
    public class Foo
    {
        public static void Log()
        {
            LogManager.GetCurrentClassLogger().Info("Foo logs");
        }
    }
}

namespace BarNamespace
{
    public class Bar
    {
        public static void Log()
        {
            LogManager.GetCurrentClassLogger().Info("Bar logs");
        }
    }
}

It is expected that the test.log-file contains both "Bar logs" and "Foo logs", however in some cases only one of them are present. Some times the program will log both entries. There is also a chance the program will throw an System.IO.FileLoadException ('The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)).
I expect NLog to be able to have multiple targets towards the same file as I may have a different format on one target compared to another. This does only happen with the flags keepFileOpen="true" concurrentWrites="false", which is recommended to be set in order to avoid extensive IO for logging.

you're telling NLog you're not doing concurrentWrites, but you are as you have 2 times keepopen.
anyway, 2 times keepopen for the same file is not supported.

When you configure keepFileOpen="true" concurrentWrites="false", then you promise NLog that only one target on the whole machine will write to the log-file. NLog will then skip all synchronization mechanisms and open the file for exclusive access (best performance).
When you suddenly break this promise and open two targets to the same file. Then it will give unexpected behavior.
If you need two individual file-targets writing to the same file, then you need to activate synchronization. Which means you should use keepFileOpen="true" concurrentWrites="true" (Also very good performance)

I assume your question has been answered, if not, please let us know!


error launching turtle_tf in noetic

Hello all!
I am not sure if this is the right place but I was not able to locate the sources for turtle_tf for ros-noeitc. Otherwise I would have forked and created a pull request. Anyway...
The problem:
When you follow the instructions on the wiki tf/Tutorials/Introduction to tf (noetic, catkin) the command roslaunch turtle_tf turtle_tf_demo.launch causes the following erros:
[turtle1_tf_broadcaster-4] process has died [pid 612, exit code 127, cmd /opt/ros/noetic/lib/turtle_tf/turtle_tf_broadcaster.py __name:=turtle1_tf_broadcaster __log:=/root/.ros/log/7a16fc58-66c6-11eb-bfcb-0242ac110002/turtle1_tf_broadcaster-4.log].
log file: /root/.ros/log/7a16fc58-66c6-11eb-bfcb-0242ac110002/turtle1_tf_broadcaster-4*.log
[turtle2_tf_broadcaster-5] process has died [pid 613, exit code 127, cmd /opt/ros/noetic/lib/turtle_tf/turtle_tf_broadcaster.py __name:=turtle2_tf_broadcaster __log:=/root/.ros/log/7a16fc58-66c6-11eb-bfcb-0242ac110002/turtle2_tf_broadcaster-5.log].
log file: /root/.ros/log/7a16fc58-66c6-11eb-bfcb-0242ac110002/turtle2_tf_broadcaster-5*.log
[turtle_pointer-6] process has died [pid 615, exit code 127, cmd /opt/ros/noetic/lib/turtle_tf/turtle_tf_listener.py __name:=turtle_pointer __log:=/root/.ros/log/7a16fc58-66c6-11eb-bfcb-0242ac110002/turtle_pointer-6.log].
log file: /root/.ros/log/7a16fc58-66c6-11eb-bfcb-0242ac110002/turtle_pointer-6*.log

The solution:
Since ros-noetic is now on Python3 I changed the first line in files turtle_tf/turtle_tf_broadcaster.py and turtle_tf/turtle_tf_listener.py from #!/usr/bin/env python to #!/usr/bin/env python3.
The other Python modules also still have the #!/usr/bin/env python line.
Cheers!

sudo apt-get install python-is-python3 worked for me.

I'm also facing similar issue on ros-noetic. When I try to launch turtle_tf2 demo I get /usr/bin/env: 'python' no such file or directory.
I even tried changing #!/usr/bin/env python to #!/usr/bin/env python3. Still it didn't work for me.
In the end i tried sudo apt-get install python-is-python3 and that worked for me.


Update README.md

Interesting resources that you've added here. Feel free to add description to it by creating a new PR. Thanks for contributing!


fix: upgrade to version 3.1.274

from: https://github.com/jenkins-x/jx-cli

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign hferentschik
You can assign the PR to them by writing /assign @hferentschik in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@jenkins-x-bot-test: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

gsm
ad302852ca637d1db27f1430b31273d22a6dae56
link
/test gsm

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.

@jenkins-x-bot-test: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

gsm
ad302852ca637d1db27f1430b31273d22a6dae56
link
/test gsm

vault
ad302852ca637d1db27f1430b31273d22a6dae56
link
/test vault

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.


Subtitles settings

We could be able to costumize the captions, like, text-border, color, position
When the controls are showing, the subtitles should update the position to be seen every time.

Even when in fullscreen, the subtitles size, are bigger then it should. maybe calculate with a smaller ratio?

Hey,
Thanks, I will keep that in mind in the next updates.
Regarding subtitles, there are shortcuts that allow you to change the placement and modify the size.

Key
Description

Shift+PageUp
Increase caption's size

Shift+PageDown
Decrease caption's size

Shift+ArrowUp
Move caption up

Shift+ArrowDown
Move caption down

However, I noticed some kind of conflict with Shift + PageUp / Down that doesn't work on different types of keyboards. I will probably change those  shortcuts in the next commit.


cairo: fix cross

Motivation for this change
I messed up when rebasing https://github.com/NixOS/nixpkgs/pull/58505 on staging.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

@GrahamcOfBorg eval

@GrahamcOfBorg eval


fix(google-photos): assorted changes

🔧 What does this fix? 🔧
closes #906 (i'm 99% sure anyways...)

🗒 Checklist 🗒

[x] I have read and followed Catppuccin's contributing guidelines.
[x] I have updated the version appropriately in the ==UserStyle== header of the catppuccin.user.css file.

There are a lot of classes here and almost all of them without comments. This is really quite unmaintainable. At this rate this userstyle will need a rewrite at some point soon purely do to us having to add on new classes and not knowing if it is safe to remove others...

hopefully i fixed this with the new commit, feel free to nitpick as needed


Always fetch the CLI

Summary
I had a local xata that was outdated and it caused problems during codegen. Given that codegen is not something that is frequently run, let's always fetch the latest Xata CLI and use it for codegen.

What problems you had during codegen?
If I understand correctly with these changes the codegen is always going to download the CLI? I think that's a bit overkill. It can fail if the user doesn't have connectivity, or github is down, and it's going to slow down the process of code generation. If a user wants to test different things quickly, this would be a problem.
What if we check the current installed version with the latest version and we tell the user if it's outdated and ask them if they want to upgrade, like in other cli applications? Also, the result of querying which version is the last one should be cached for a day or so.

Thanks a lot for your comments, everybody! I apologize for assuming the motivation, intent, and details of the proposed changes in this PR were clear. I've updated the description and I hope these things are a bit more clear now.
Now to respond to some of the comments:
All
Thank you, all input is valid and helpful in creating a great experience for our users. 🙌
@SferaDev
I've responded specifically to the code comments inline.
@gimenete

What problems you had during codegen?

The main problem was codegen failed and it was a little hard to understand why. After digging a bit, I identified the issue was indeed the way we infer the xata binary, which this PR aims to fix.

If I understand correctly with these changes the codegen is always going to download the CLI? I think that's a bit overkill. It can fail if the user doesn't have connectivity, or github is down, and it's going to slow down the process of code generation.

Thanks a lot for your thoughts. I've upgraded the description a bit with a bit more context. To clarify, with these changes the codegen is only going to download the CLI on first run, if the user has no xata/schema.json. I've highlighted more the tradeoffs if GitHub is down et al in the description.

If a user wants to test different things quickly, this would be a problem.

I'd love to hear more about this and understand what a user would test differently quickly. Do you mean rapidly iterate on schema changes? In this case, we will not download the Xata CLI every time they run codegen. There is currently no flow defined for this as far as I can see, either on main, or in this PR, but I would love to discuss this further and create some type of --watch mode where we sync the local xata/schema.json with a remote. This seems like a great discussion for the future, and I don't think it falls under the scope of this PR.

What if we check the current installed version with the latest version and we tell the user if it's outdated and ask them if they want to upgrade, like in other cli applications? Also, the result of querying which version is the last one should be cached for a day or so.

This is a great idea! If we do this in the Xata CLI, then we can close this PR. Actually, that's probably the simplest solution so we can do that as it would require no changes here. 👍
Closing in favor of https://github.com/xataio/cli/issues/30.
@tsg
Thanks for the link! 🙌

Opened ^ to preserve the useful feedback from @SferaDev from this PR.


Waiting for API to be available; InvalidParameterException when creating a new cluster

Rancher Server Setup

Rancher version: 2.5.9
Installation option (Docker install/Helm Chart):  Docker Install

If Helm Chart, Kubernetes Cluster and version (RKE1, RKE2, k3s, EKS, etc):

Proxy/Cert Details:

Information about the Cluster

Kubernetes version: 1.19
Cluster Type (Local/Downstream): Hosted EKS

If downstream, what type of cluster? (Custom/Imported or specify provider for Hosted/Infrastructure Provider):

Describe the bug
New cluster gets created in AWS EKS, but I get an error in the Rancher UI
To Reproduce
Create a new cluster with Launch template that has a custom ami
Result
This error shows up in rancher:
This cluster is currently Updating; areas that interact directly with it will not be available until the API is ready.
Waiting for API to be available; InvalidParameterException: Launch template details can't be null for Custom ami type node group { RespMetadata: { StatusCode: 400, RequestID: "3419de5e-9767-4f71-87f0-143d9f64cdb5" }, Message_: "Launch template details can't be null for Custom ami type node group" }
Expected Result
Cluster should get created with a node group
Screenshots

Additional context
I tried editing the cluster and replaced the node group.  The node group does get created.  But the error comes back.

This was apparently because I was using an AMI that was for Kubernetes 1.18.  And my new cluster was Kubernetes 1.19.  I created a new ami from the base ami provided by ubuntu and updated my launch template to use the new ami.  Then I edited my cluster and deleted the old node group and replaced with new.  Now I am up and running.


Update Phaser.io to 3.x

Phaser 3 has lots of improvements over the version 2 branch, amongs which is SVG support.
If implemented this could be bye bye for the PNG graphics.
Current version is 3.4 and it has rapid release cycle.

Yep, I'm really excited for Phaser 3, but the new APIs make it a complicated upgrade, particularly since there's not any JavaScript in solitaire.gg, it's all Scala.js, and the bindings aren't available for Phaser 3 yet (I'm the guy that builds those, and it'll be a full day or two of work).


cmake: add radio libraries check

This checks whether the radio binaries are downloaded when BT/BLE or Wi-Fi is enabled. In case these files are missing, cmake message and error and stops build. It also sets a explicit message describing download command.

@carlescufi, I've seen lots of question about build errors due to missing libraries. Even thought documentation says west blobs fetch hal_espressif is required, most people miss this. I've added this custom check for hal_espressif. Do you think there is anything we can do for all platforms somehow?


Implement saving composite posts IDs (and basic info) to persistence

This is what I wrote in Discord:
- get year      years/2022          posts by week           frequent write           cache life: dynamic
- list weeks    years/2022/weeks    list of weeks so far    infrequent write         cache life: 7 day(s)
- get week      years/2022/weeks/1  posts                   infrequent write         cache life: dynamic

- get post      post/12345          content                 infrequent write         cache life: dynamic

- list artists  artists             name, active years      infrequent write         cache life: 7 day(s)
- get artist    artists/scimister   posts by year           infrequent write         cache life: dynamic

Implemented, kind of. The data model is there and we know how to build requests and perform the database queries.


add_sample doesn't perform correctly for padding

the add_sample function needs to be fixed, and tests need to be added to confirm that the padding works.
The code:
discrete = DiscreteSignal(dt=0.5, samples=np.array([]), carrier_freq=3.0)

t_vals = np.array([0.1, .6, 1.1, 1.6])

discrete3.add_samples(1, [4.0, 3.2])

Expected behavior:
discrete.envelope(t_vals) = array([0.0, 4. +0.j, 3.2+0.j, 0. +0.j])
Actual behavior:
discrete.envelope(t_vals) = array([4. +0.j, 3.2+0.j, 0. +0.j, 0. +0.j])

A PR I'm working on will fix this issue. May have been good to do it as a separate small fix but just needed it to proceed with what I was doing. I've added an additional test caset o check for this, and have also added more complicated tests in test_pulse_to_signals which rely on this functionality.


Add overlay output to flake.nix via overlay.nix

Adds an overlay.nix that is provided as an output from flake.nix.
Allows using an up-to-date version of tex-fmt in end user's Nix flakes without depending on nixpkgs-unstable.
Using overlays creates a much cleaner flake.nix compared to using the package output directly.
Example:
{
  description = "...";
  inputs = {
    nixpkgs.url     = "github:NixOS/nixpkgs/24.05";
    tex-fmt.url     = "github:WGUNDERWOOD/tex-fmt";
    flake-utils.url = "github:numtide/flake-utils";
  };
  outputs = {nixpkgs, flake-utils, tex-fmt, ...}:
    flake-utils.lib.eachDefaultSystem (system:
    let
      pkgs = nixpkgs.legacyPackages.${system}.extend (
        tex-fmt.overlays.default
      );
    in {
      devShells = {
        default = pkgs.mkShell {
          name = "...";
          packages = with pkgs; [
            texlab
            tex-fmt
            ...
          ];
        };
      };
      ...
    });
}

Thanks so much for this! A few comments (I'm not very familiar with Nix overlays):

In overlay.nix you have _: prev: {...} - is there a reason this doesn't follow the final: prev: {...} syntax?
Please format the .nix files using https://github.com/kamadorueda/alejandra
Please squash these commits to a single commit

No worries!

* In `overlay.nix` you have `_: prev: {...}` - is there a reason this doesn't follow the `final: prev: {...}` syntax?

final wouldn't be bound in the proceeding expression, so I believe its convention to mark unused function parameters as _.

* Please format the `.nix` files using [Alejandra](https://github.com/kamadorueda/alejandra%60)
* Please squash these commits to a single commit

:+1:

Thanks for the explanation and for formatting/squashing!


Relax static string requirement for Match/MatchAll function regular expressions.

We are in the process of relaxing the requirement that IsMatch takes a static string as the regular expression.  It makes sense for consistency, and we've had requests for, doing the same thing for Match and MatchAll.
A complication there is that named captures can't be included in the output record as a named value, only by index in SubMatches.  It might be confusing to try to use named captures and not see the result one expects.  This needs to be thought through more deeply, but it may be that we should throw a runtime error if named captures are used in Match/MatchAll with a dynamic string.

We may not want to do this immediately after all, if we are going to compile the RE language from an LCD to something more specific in the compiler.


Release 0.16.7

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

@conda-forge-admin, please rerender

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe/meta.yaml) and found it was in an excellent condition.

Thanks to @j-wags for noticing we didn't update the versioning tool; this slipped through the cracks
2024-12-12T19:56:13.3885586Z Successfully built openff-toolkit
2024-12-12T19:56:13.3891041Z Installing collected packages: openff-toolkit
2024-12-12T19:56:13.8747199Z
2024-12-12T19:56:13.8840798Z Successfully installed openff-toolkit-0.0.0

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe/meta.yaml) and found it was in an excellent condition.
I do have some suggestions for making it better though...
For recipe/meta.yaml:

ℹ Jinja2 variable references are suggested to take a {{<one space><variable name><one space>}} form. See lines [10].

This message was generated by GitHub Actions workflow run https://github.com/conda-forge/conda-forge-webservices/actions/runs/12304213792. Examine the logs at this URL for more detail.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe/meta.yaml) and found it was in an excellent condition.


希望能在界面上做一个按钮，统计该页面的字数

目前只能统计某个节点及其子节点的数字，功能稍弱。

Sorry I am not sure I understand. What is the bug?

very good, no bug, just need a command button like these

Oh I see!
And what will the command button do? Calculate all words on the page?

yes, thank you!

If so, this plugin maybe suitable?

Can try this: https://github.com/pengx17/logseq-plugin-random-tools

yes, so good. thank you very much


vp9decoder should skip p frame if we did not saw key frame  before.

Please see https://github.com/01org/libyami/pull/623 for vp8 fixes

any clips for debug?

just find a vp9 cut the first frame

fixed by #755


Update to Go 1.18 on 2.5

All commits are cherry-picked from main except for the last one.
Relates:
https://github.com/stolostron/backlog/issues/24763

This is weird. The E2E coverage report didn't come through. I'm re-running the tests to see if there's a difference. We updated the addon controller with a wait, and it appears we might need one here also if the re-run doesn't work.

This is weird. The E2E coverage report didn't come through. I'm re-running the tests to see if there's a difference. We updated the addon controller with a wait, and it appears we might need one here also if the re-run doesn't work.

I think the last commit should fix it. There was a change that I needed that wasn't in a commit that I cherry-picked.


Documentation

Hey I want to contribute. Where do I start? Do you have a discord?

Hey @kjaonline! We have an IRC channel which you can find some more info on in the README. If you aren't familiar with IRC, I recommend checking https://libera.chat/guides/clients for a guide to selecting a client.
Regarding the documentation, I did a fair amount of it today, but I can think on some tasks and get back to you tomorrow with details.


Updates introduction documentation

What type of PR is this:

/kind documentation
What does this PR do / why we need it:
This PR does the following to the introduction documentation:

Updates the language used to be more casual / persuasive
Uses keywords such as cloud engineer rather than architect / better
for SEO
Focuses more on Kubernetes keywords
Organizes larger paragraphs

Which issue(s) this PR fixes:

N/A
PR acceptance criteria:

[X] Unit test

[X] Integration test

[X] Documentation

How to test changes / Special notes to the reviewer:
Signed-off-by: Charlie Drage<EMAIL_ADDRESS>

Thanks for the review @valaparthvi I've updated the document with your changes as well as commented on the one suggested change. Thanks again!

Updated again @valaparthvi thanks!

@valaparthvi updated again with the missing change

Thank you for working on this, Charlie! :)
/approve


Introducing Vibora

I can't give any assurances about the code. I just tested it but, the SO_REUSEPORT is causing trouble, but wanted contribute anyway. That's why I've mentioned Introducing not Adding.
Partially solves #282
If you guys can solve it, please do let me know.
edit: idk how to add the target to readme file, because they have already been ranked, therefore didn't know where to put the name in readme.md. also benchmarker.cr is in tools/src/benchmarker.cr not in benchmarker/benchmarker.cr as mentioned in the readme.
Peace.

The README has to be completely rewritten ^^

@greed2411 SO_REUSEPORT is already implement, https://github.com/vibora-io/vibora/blob/master/vibora/workers/handler.py#L26, no ?

@waghanza ik that, but idk why but I can't import SO_REUSEPORT from socket. What I'm getting is ImportErrror because of that file.
Okay so, japronto is faster than vibora. And tornado is still sitting at the bottom. Sad.

@greed2411 the results are no ready to be used (for me also its strange django is high ranked)

@greed2411

Framework (Middleware)
Requests / s
Latency
99 percentile
Throughput

sanic
4291.33
294510.67
2624570.67
2.46 MB

japronto
48795.00
20601.67
29932.33
19.66 MB

flask
1136.33
85623.00
106144.00
0.82 MB

django
10868.33
94937.67
249561.67
11.12 MB

tornado
7598.33
126527.67
229543.00
5.36 MB

vibora
20470.33
95694.67
285971.00
13.10 MB

I've turned django into async with http://meinheld.org/

Oh there's django2, which is async. I forgot that. Btw did you try meinheld and gunicorn over tornado with that modification? Ik bdarnell, didn't recommend it. But still curious how it would work with meinheld and tornado.wsgi, but don't push yourself over it.

@waghanza thanks then, i guess, that's all we can do for tornado.

@greed2411 We will be unhappy. django with http://meinheld.org/ is fatser than tornado

Language (Runtime)
Framework (Middleware)
Requests / s
Latency
99 percentile
Throughput

python
sanic
13839.00
72102.33
182695.33
7.70 MB

python
japronto
79228.33
12562.33
18041.67
31.49 MB

python
flask
17655.67
60496.33
174634.00
15.30 MB

python
django
9363.33
109721.33
342149.67
8.56 MB

python
tornado
6060.67
165611.67
794569.67
4.41 MB

python
vibora
27051.33
55770.00
117515.33
18.33 MB


[core] Batch small changes

[docs] Use Oxford comma convention ed2454c
[docs] Fix v5 migration css prop fe56dc1
[docs] The bundle size resonates more for unstyled 0288b8e
[docs] Fix broken ToggleButtons demo 2547aed311: Fix display of https://next.material-ui.com/components/toggle-button/#exclusive-selection.
[docs] Remove unused code 417e3a3: A follow-up on #26233. cc @eps1lon for review
~[core] Remove issue template that is almost never used: f347ed5. From what I understand, the last time the issue template was used is #21902. 10 months ago. It seems safe to remove it.~

We haven't heard back from google.

@eps1lon It's precisely the information given in the inaction that triggers my intention of removing the snippet. I have interpreted this very long delay (we talked about it more than a year ago?) as a demonstration of how much importance Google gives to the project and how the likeliness of the integration is to happen.
In the doubt, I have reverted. How about we send a follow-up and remove the snippet if we don't hear back from them one month after?


Add more keys to a watch

Also, I think that the watch_id param should be optional since the etcd3 server should generate an ID if we don't supply one.

IMO It makes everything much harder to deal with from the library standpoint. Currently, it is not possible to create a watch without watch_id, which means that it either should be optional which breaks the compatibility of watch_id() or delays the creation of a Watch until the client receives WatchCreateResponse which means that we either need to intercept responses in the library or need help from the application which will need to call something like Watch::attach_watch(create_response) -> Watch. Which will grab the id from a response and clone the channel for cancel requests
So I think the PR is good as it is :) I'll repeat myself from the issue:

I think this is the best solution for flexibility/given compatibility constraints, it lets the client handle everything without changing the library.

Though I agree that it puts more responsibility on the application. It has to track proper watch_id's by itself

Requiring a watch-id in Watcher::watch() is fine by me.
I would like to see the Watcher ensure that the supplied watch-id is not a duplicate of any existing (live) watch-ids. A HashSet seems simplest.

Requiring a watch-id in Watcher::watch() is fine by me.
I would like to see the Watcher ensure that the supplied watch-id is not a duplicate of any existing (live) watch-ids. A HashSet seems simplest.

I have removed the required watch_id from Watcher::watch(), users can supply it by WatchOptions::with_watch_id() if they need.
In fact, if the watch_id is duplicated, etcd will return a WatchResponse with created=true, canceled=true:
WatchResponse { header: Some(ResponseHeader { cluster_id:<PHONE_NUMBER>8965178418, member_id:<PHONE_NUMBER>3932975437, revision: 657, raft_term: 6 }), watch_id: -1, created: true, canceled: true, compact_revision: 0, cancel_reason: "mvcc: duplicate watch ID provided on the WatchStream", fragment: false, events: [] }

So I wonder if we need to ensure the watch-id is not duplicated in Watcher::watch()?

So I wonder if we need to ensure the watch-id is not duplicated in Watcher::watch()?

I now remember that the stated reason for the watch-id's existence is more to keep distributed clients from duplicating watches.  Doing a Set membership check on a local process doesn't do much to mitigate that.
With that in mind, I guess the user can do their own duplication check if they want.


Unicode problems

I'm having problems with accents, on the response I'm getting the unicode value instead of an accent.
Ex original response: "programación"
Ex response: "programaci\u00f3n"

Hi
I tried with mocked api: https://d82474de-3989-4a29-89d8-6af2d7759262.mock.pstmn.io/uni
and the response looks fine to me
<-- 200 (https://d82474de-3989-4a29-89d8-6af2d7759262.mock.pstmn.io/uni?key=value)
                                                      Response : OK
                                                      Length : 13
                                                      Body : (programación)

Make sure that the header's Content-Type includes charset=utf-8 👍

I don't understand what's going on. I do get the accent right with your mocked api, but with my site I'm not getting regular accents BUT in the browser I do! look:

I'm using the header with the charset already... 😕


downgrade to jquery 3.5.0?

jquery v. 3.6.0 includes a change that breaks some functionality in the select2 pulldown feature used in the preview route (/preview)
@Meng-MiamiOH - do you know of any reason we need jquery 3.6 particularly? If not, perhaps we can downgrade the version in the header.ejs file to 3.5.0.
For now, I'm just using a separate header for the preview.ejs file, but that's not a great option if we can do better.

Give it a try to downgrade jQuery. Check on the heavily jQuery-involved functions, such as offcanvas. If no functions are broken, then downgrading jQuery works for Bootstrap 5.

Thanks @Meng-MiamiOH -- it looks ok, so I'm merging the change in #40


test: allow one e2e retry in CI

End to end tests can be flaky. While the ideal is to not have flaky tests, the reality is that failing tests on PRs lead developers to expect or ignore a failing check
This PR allows a retry in CI in case a failure is just flake

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


Positional placeholders

PR for #613
Lets get rid of:
https://github.com/catfan/Medoo/blob/6798b9698ee60ee98a4d342485904322922b2b3b/src/Medoo.php#L351-L354

PAUSE: Dont merge, problem with
https://github.com/catfan/Medoo/pull/617/files#diff-42b309e5f19340c8b59c3dd80b7ccd31R574
multi-like statement doesnt work

Resolved issue ^^

As I explained the problem on #613, we have no plan to use positional parameter from now.
Also, please read the contribution guidelines before the pull request. Don't change the coding style, and write the code seriously before committing.
Thanks.


Update “no account” message and hide for infura

Overview
TL;DR
The “no account” message was appearing when using infura as the contract deploy target. This has been changed so that this message will only show when the user has configured their environment to have a networkType of testnet, rinkeby, or mainnet and a missing account address and/or password.
Additionally, the warning message has been updated to help the user resolve the issue.
A flag has also been added to prevent the message from appearing multiple times.

Cool Spaceship Picture

Please wait for #845 before merging this.

@emizzle needs rebase

@iurimatias rebased.


Reflection.Assembly can be loaded without the System. prefix

Hi, I'd like to suggest an improvement to the rule:
PowerShell Loading DotNET into Memory via System Reflection Assembly.
It's looking for a pattern [system.reflection.assembly]
I've seen malicious code using a simplified [reflection.assembly], please consider including it.
References:
https://attack.mitre.org/software/S0379/
Thanks.

Thank you! I'll get this out in the next release.

All set! It's been updated and out the gate.


Writing strings seems to not encapsulate in {...}

When sending a local write request, e.g. `String "some string". The resulting file in the repo has content "some string" not {"some string"}, this causes a Yojson.Json_error("Blank input data") when reading the same file back.

Can't replicate and this isn't valid anyway.


./yii migrate No such file or directory vendor/autoload.php

When i use ./yii migrate command on terminal, then show me an bellow error.
PHP Warning:  require(/var/www/html/advanced/_protected/vendor/autoload.php): failed to open stream: No such file or directory in /var/www/html/advanced/_protected/yii on line 16
I am using version of yii -> composer create-project nenad/yii2-advanced-template advanced
Please tell me how to solve this.
Thanks,

You have to install templates using Composer. This is how you install Yii2 default templates using Composer on Ubuntu: http://www.freetuts.org/tutorial/view?id=4
After you learn how to install default templates, you can learn how to install improved here : http://www.freetuts.org/tutorial/view?id=6


Fix typo in README

I found a typo while reading the README.

:eagle:  :eye:

I know you were using nightly, the error format is changing in 1.2.0 so the diagnostics were probably crashing for you. I've added some x-compat code so diagnostics should work in both versions now.


One-to-one mapping operator?

Hello,
I want to track pedestrians using Rekall. So i am taking detections per-frame and comparing the iou of detections in the previous frame. I am using join to merge and update the intervals which has iou>iou_thresh. But join gives one-to-many mapping. Is there a way to make one-to-one assignments/mapping in Rekall?
Thanks

Based on your description, you're probably looking for the coalesce operator. Coalesce recursively merges intervals over time within a single video. You can set it to only merge intervals that have some spatial overlap property.
Check out step three of the parking space detection tutorial. It takes parking space bounding boxes from individual frames, and merges them over time based on IOU overlap.

Can you please be more elaborate on how Coalesce can be used for tracking?
I want to have different IDs for different pedestrians and track them.
Right now i am looping over all the frames and comparing detections of one frame with the detections of previous frame.
But as far as i understand coalesce merges and combines intervals, because of which i will lose the bounds information of each pedestrian.
I wanted a one-to-one mapping operator like maybe Linear_Assignment which would help me propagate the IDs of pedestrians (by updating only payload) keeping the bounds information undisturbed.
It would be great if Coalesce can solve this.

Coalesce merges intervals by taking a linear sweep throughout the time dimension and merging in new payloads that match some predicate (by default, the predicate is just time overlap). You can specify the merge condition, and what happens upon merge, so you can do something like this:
from rekall.predicates import *

# load IntervalSetMapping of pedestrians, one Interval per pedestrian per frame
pedestrians = ...

# put the interval into the payload
pedestrians_nested = pedestrians.map(
    lambda interval: Interval(
        interval['bounds'],
        payload = [interval]                # whatever else you need in the payload
    )
)

# use coalesce to construct a track
pedestrians_tracked = pedestrians_nested.coalesce(
    ('t1', 't2'),
    bounds_merge_op = lambda b1, b2: Bounds3D(
        t1 = b1['t1'], t2 = b2['t2'],
        x1 = b2['x1'], x2 = b2['x2'],
        y1 = b2['y1'], y2 = y2['x2'],
    ), # take the span in time, but take the later Interval's spatial extent
    predicate = lambda i1, i2: and_pred(
        after(max_dist = 1 frame),          # only merge pedestrians from the next frame
        iou_at_least(0.8)                   # only include in the track if the IOU > 0.8
    ),
    payload_merge_op =
        lambda p1, p2: p1 + p2              # merges the lists of pedestrians
)

Each Interval in pedestrians_tracked represents all the pedestrians according to your tracking conditions (in this case, the pedestrians need to be detected in contiguous frames, and have bounding box IOU >= 0.8 between frames). The payload of each Interval in pedestrians_tracked has all the original Intervals in that track.
You could use a map function to assign ID's to each track, and the split function to get them back into a top-level object.
Hopefully this was helpful!

One more note: if you're using vgrid to visualize things, you can use map to turn the list of Intervals in the payload to IntervalSets -- i.e., pedestrians_tracked.map(lambda i: Interval(i['bounds'], IntervalSet(i['payload']))) -- and visualize each track in vgrid with NestedFormat.


More flexible definition of analyses.

Currently, we need to define different analyses by copy-pasting similar code across different files...
We should find a way to express an analysis in terms of:

which transformations to use
which approximations to use
and then automate everything else: rendering/accumulating results/etc...

Fix in https://github.com/omelkonian/hs-pattrans/commit/62b478b891575e60061d8a69bf73d579f76a26ea


Please support alerting queries for this data source

Hello,
Can you please add a feature to enable alerting with this datasource

Regards
Ashish

From what I've found on the official grafana forum [G-BOARD] this is due to the fact, that this plugin is a frontend-plugin only, no backend-plugin for grafana, which would be required to allow grafana doing altering using this datasource :-\
Afaik backend plugins are written in Go lang, I would love to help out, but my Go lang skills are limited to none right now.
[G-BOARD] https://community.grafana.com/t/the-datasource-does-not-support-alerting-queries-for-cms-grafana-datasource/28806

Why would you do alerting via Grafana if you have everything in CheckMK?

@gurubert becaues - for our org - not everything we need for proper app monitoring is in CheckMK available and the team who owns CheckMk doesnt want everything to be in CheckMK, thus aggregating things in Grafana seems a valid approach and do alerting here.
If everything would be in CheckMK, of course alerting could be done there properly.

I would like to be able to alert on combined metrics - bandwidth from multiple ISP links - and I can't seem to do that in CheckMK for now, and I was hoping I could use the alerting in Grafana instead...but that's not possible either.  Still looking for a solution for this one.

Hi,
as I do understand, plugins do not automatically support the configuration of alerts/notifications to a user or a group of users in case a defined threshold limit is reached.
This could be a feature in the future of this plugin. But I'm sorry to tell you, it will most likely not happen before #28.
I will keep this request open until there is a chance, that we will take care about this topic. Please be patient with us, as it may be the case, that we will not update this issue for a (again) long time. As long as it is open, we will consider it as a future feature.
Best Regards,
Marcel


Illegal :UTF-8 character starting at position 0

When trying to run either of the examples, I get the following error:
"Compiling vertex shader..."
debugger invoked on a BABEL-ENCODINGS:INVALID-UTF8-CONTINUATION-BYTE   in thread
#<THREAD "main thread" RUNNING {1002978D73}>:
  Illegal :UTF-8 character starting at position 0.

Type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL.

restarts (invokable by number or by possibly-abbreviated name):
   0: [ABORT] Exit debugger, returning to top level.

((LABELS BABEL-ENCODINGS::UTF-8-DECODER :IN "/home/ayegill/quicklisp/dists/quicklisp/software/cffi_<IP_ADDRESS>/src/strings.lisp") #<unavailable lambda list>)
0]

Leaving the vertex shader as an empty string lets the execution continue until it hits an identical error on compiling the fragment shader. Leaving both empty avoids the error altogether, but for obvious reasons, compiling the fragment shader fails.

I'm closing this issue until I can find it.


Green Tunnel makes my router web interface shows code 404 in certain page

Describe the bug
i can't access some settings in my router
To Reproduce
Steps to reproduce the behavior:

run green-tunnel
open router address
click some page
404

Expected behavior
No 404 in router settings
Desktop (please complete the following information):

OS: [Pop_OS! 19.10]
Browser [chrome, firefox]
Version [1.5.2]

Screenshot

can you show your network (inspect elements) or run green-tunnel in terminal using -v 'green-tunnel:*' option?

sadly, i came back to windows because of this :(

will try in vm

 green-tunnel:proxy server listen on <IP_ADDRESS> port 8000 +0ms   green-tunnel:proxy system proxy set +54ms   green-tunnel:https-handler [HTTP REQUEST] <IP_ADDRESS> +0ms   green-tunnel:dns [DNS] <IP_ADDRESS> -> <IP_ADDRESS> (0 ms) +0ms   green-tunnel:socket [Socket] connected to <IP_ADDRESS> (<IP_ADDRESS>) (2 ms) +0ms   green-tunnel:https-handler [HTTPS REQUEST] tiles.services.mozilla.com +0ms   green-tunnel:https-handler [HTTP REQUEST] <IP_ADDRESS> +185ms   green-tunnel:https-handler [HTTP REQUEST] <IP_ADDRESS> +1ms   green-tunnel:socket [Socket] connected to <IP_ADDRESS> (<IP_ADDRESS>) (1 ms) +182ms   green-tunnel:socket [Socket] connected to <IP_ADDRESS> (<IP_ADDRESS>) (1 ms) +1ms   green-tunnel:https-handler [HTTP REQUEST] <IP_ADDRESS> +73ms   green-tunnel:socket [Socket] connected to <IP_ADDRESS> (<IP_ADDRESS>) (2 ms) +74ms   green-tunnel:dns [DNS] tiles.services.mozilla.com -> <IP_ADDRESS> (223 ms) +318ms   green-tunnel:socket [Socket] connected to tiles.services.mozilla.com (<IP_ADDRESS>) (230 ms) +289ms   green-tunnel:https-handler [HTTPS HELLO] tiles.services.mozilla.com (length: 100) +456ms   green-tunnel:https-handler [HTTPS HELLO] tiles.services.mozilla.com (length: 100) +0ms   green-tunnel:https-handler [HTTPS HELLO] tiles.services.mozilla.com (length: 100) +1ms   green-tunnel:https-handler [HTTPS HELLO] tiles.services.mozilla.com (length: 100) +0ms   green-tunnel:https-handler [HTTPS HELLO] tiles.services.mozilla.com (length: 100) +0ms   green-tunnel:https-handler [HTTPS HELLO] tiles.services.mozilla.com (length: 17) +0ms   green-tunnel:https-handler [HTTPS] receive from tiles.services.mozilla.com (length: 3014) +461ms   green-tunnel:https-handler [HTTPS] send to tiles.services.mozilla.com (length: 126) +4ms   green-tunnel:https-handler [HTTPS] send to tiles.services.mozilla.com (length: 1106) +1ms   green-tunnel:https-handler [HTTPS] receive from tiles.services.mozilla.com (length: 51) +234ms   green-tunnel:https-handler [HTTPS] receive from tiles.services.mozilla.com (length: 255) +238ms   green-tunnel:https-handler [HTTP REQUEST] <IP_ADDRESS> +15s   green-tunnel:socket [Socket] connected to <IP_ADDRESS> (<IP_ADDRESS>) (1 ms) +14s   green-tunnel:https-handler [HTTP REQUEST] <IP_ADDRESS> +2s   green-tunnel:socket [Socket] connected to <IP_ADDRESS> (<IP_ADDRESS>) (1 ms) +2s   green-tunnel:https-handler [HTTP REQUEST] <IP_ADDRESS> +5s   green-tunnel:socket [Socket] connected to <IP_ADDRESS> (<IP_ADDRESS>) (1 ms) +5s   green-tunnel:https-handler [HTTP REQUEST] <IP_ADDRESS> +15s   green-tunnel:socket [Socket] connected to <IP_ADDRESS> (<IP_ADDRESS>) (1 ms) +15s   green-tunnel:https-handler [HTTPS] receive from tiles.services.mozilla.com (length: 31) +1m   green-tunnel:https-handler [HTTPS] send to tiles.services.mozilla.com (length: 31) +1ms   green-tunnel:https-handler [HTTPS END] client ended tiles.services.mozilla.com +0ms   green-tunnel:https-handler [HTTPS END] server ended tiles.services.mozilla.com +235ms

Request URL:http://<IP_ADDRESS>/getpage.gch?pid=1002&nextpage=IPv46_net_wan2_conf_t.gch
Request method:GET
Remote address:<IP_ADDRESS>:8000
Status code:
404
Version:HTTP/1.1
Referrer Policy:no-referrer-when-downgrade

I got same error. The easiest ways is to put your router IP on the exception not to use http proxy


Froala v2 migration

Froala updated their plugin and changed some functions:

In version 2 we have renamed the plugin from $.Editable to $.FroalaEditor to make it more suggestive and avoid any name conflict. Therefore, when initializing the editor or calling a method inside the editor, froalaEditor() method should be used instead of editable()

Please, fix this in file /app/assets/javascripts/rails_admin/ra.widgets.coffee on line 239
$(@).editable(config_options)
need to be changed to
$(@).froalaEditor(config_options)
And also all "$(@).on 'editable" should be changed to "$(@).on 'froalaEditor"
Events was also changed.

If we do the migration now, we 'll have a BC BREAK.
You have many other things to change, I just did the migration yesterday, here is an example of my ra.widget.coffee:
I corrected the fact that the code don't allow more parameters in the field config. config_options['imageUploadParams'] was erased when the code set the authenticity_token.
I also corrected some others things...
goFroalaWysiwygs = (array) =>
  array.each ->
    options = $(@).data('options')
    config_options = $.parseJSON(options['config_options'])
    if config_options
      config_options['imageUploadParams'].authenticity_token = $('meta[name=csrf-token]').attr('content');
      config_options['imageManagerLoadParams'].authenticity_token = $('meta[name=csrf-token]').attr('content');
      if !config_options['toolbarInline']
        config_options['toolbarInline'] = false
    else
      config_options = {toolbarInline: false}

    if config_options['imageUploadURL']
      uploadEnabled = true;

    $(@).addClass('froala-wysiwyged')
    $(@).froalaEditor(config_options)
    if uploadEnabled
      $(@).on 'froalaEditor.imageError', (e, editor, error) ->
        alert("error uploading image: " + error.message);
        # Custom error message returned from the server.
        if error.code == 0

# Bad link.
        else if error.code == 1

# No link in upload response.
        else if error.code == 2

# Error during image upload.
        else if error.code == 3

# Parsing response failed.
        else if error.code == 4

# Image too large.
        else if error.code == 5

# Invalid image type.
        else if error.code == 6

# Image can be uploaded only to same domain in IE 8 and IE 9.
        else if error.code == 7

        else

        return

      .on('froalaEditor.image.removed', (e, editor, $img) ->
# Set the image source to the image delete params.
        editor.options.imageDeleteParams =
          src: $img.attr('src')
          authenticity_token: $('meta[name=csrf-token]').attr('content')
        # Make the delete request.
        editor.deleteImage $img
        return
      ).on('froalaEditor.imageDeleteSuccess', (e, editor, data) ->
# handle success
      ).on 'froalaEditor.imageDeleteError', (e, editor, error) ->
# handle error
        alert("error deleting image: " + error.message);

array = content.find('[data-richtext=froala-wysiwyg]').not('.froala-wysiwyged')
if array.length
  options = $(array[0]).data('options')
  if not $.isFunction($.fn.froalaEditor)
    $('head').append('<link href="' + options['csspath'] + '" rel="stylesheet" media="all" type="text\/css">')
    $.getScript options['jspath'], (script, textStatus, jqXHR) =>
      goFroalaWysiwygs(array)
  else
    goFroalaWysiwygs(array)

What about leaving both options, and having it as a configuration?

I think you must have a delimiter between v1 and v2 there are so many changes between both versions.  The actual version is broken (see my notes) It doesnt allow image upload and stuff like that.
Changing options will maybe break old projets if they upgrade the admin gem. (editable vs froalaEditor method). Ideally we should have a config option "version" set to 1 by default for model config.
If you want you can check my rails sandbox to see a working implementation
Exemple of model config: https://github.com/rollincode/rollinbox/blob/master/app/models/concerns/rails_admin/content_admin.rb
Exemple of controller for froala:
https://github.com/rollincode/rollinbox/blob/master/app/controllers/froala_controller.rb
I can put It on heroku if anyone is interested to see my theme and froala working together.

Pinging to see if there's been any progress / decision on supporting v2..

....help to see support v2..+1

+1

+1

Thanks @nicovak I just forked rails_admin and edited the ra.widgets.coffee file and this seems to work great at a first glance.

+1

Me too I'd like to have this merged, using wysiwyg-rails (2.8.0) with rails_admin (1.3.0), I managed to make it work by putting, as an horrible hack in ui.js  $('textarea[data-richtext="froala-wysiwyg"').froalaEditor(); so that it could be loaded for the froala textareas in new or edit page, but this won't work for content loaded via javascript such as modals for Edit or New association and for nested forms.


Querying uMp axis angle

Hi, I'm trying to query the uMp d-axis angle using the SDK v1.022. I have code that I wrote previously that worked with SDK v0.833, but my new code returns an error that I'm uncertain of how to trouble shoot.
Can anyone provide guidance on successfully querying the axis angle in SDK v1.022? I'm using Python 3.7.5 on Windows 10.
#Works using SDK 0.833.
from sensapex import UMP
u = UMP.get_ump()
# Returns d-axis angle in degrees *10
ang = u.call("ump_cmd_get_axis_angle",c_int(1),c_int(3),c_int(1))
print(f'Angle: {ang}')

>>> Angle:  271

#Fails using SDK 1.022
from sensapex import UMP
ang = u.call("ump_get_axis_angle",c_int(1))
print(f'Angle: {ang}')

>>> Traceback (most recent call last):
  File "c:/VirEnvs/RobotagSeq375_DEV/RobotagSeq/Modules/Sensapex/sensapex_utils.py", line 66, in <module>
    ang = u.call("ump_get_axis_angle",c_int(1))
  File "C:\VirEnvs\RobotagSeq375_DEV\lib\site-packages\sensapex\sensapex.py", line 533, in call
    rval = getattr(self.lib, fn)(self.h, *args)
OSError: exception: access violation writing 0x0000000000000066

Yeah, you'll need to supply a third argument, of type byref(c_float()), for the angle to be saved into. See, e.g. sensapex.sensapex.UMP.get_pressure.


[pdfx] Migrate to package:web

I migrated the code from package:js to package:web.
When running the example app on dart 3.3, the internet_file also needs to be dart 3.3 compliant, so I temporarily hide it from dependencies to check that it works.

@koji-1009  Looks pretty. I will test it in details when conflict and review issue be resolved
Just notify me in telegram: http://t.me/serge_shkurko

@SergeShkurko everything seem to be resolved, we are waiting for this to be released so that we can upgrade device_info_plus (for privacy manifest purpose)

+1

@koji-1009 thanks for your contribution!

@SergeShkurko could you please release a new version?

A new version would be greatly appreciated @SergeShkurko ! Thanks a lot.

Hi, is there any update on this? Is there a perspective on a release that builds to wasm?


Translated internal messages

Coverage increased (+0.1%) to 84.996% when pulling 54fb78a65976e0dfd3a1b5e12aba8ffc1aa1edd0 on translatedInternalMessages into 233c82fb97254765428b78f74322e6b2293bb654 on develop.


Can you support brew installation?

There are a lot of people using brew. I hope someone can support it.

I totally agree, I googled excalidraw brew install and ended up here 😬


Add legal polices and fix a couple little bugs in docs

Motivation and Context
Add legal policy links to docs
How Has This Been Tested
Visually.

Landing this since that CI flow is being job and this only touched docs, which runs in another job.


Upload support directly in antfs-cli

Hello @Tigge and antfs-cli maintainers,
I have made a Pull Request on GcpUploader, but the owner does not respond to any requests or pings.
I can make another pull request to add Garmin upload capabilities directly into antfs-cli: what is your stand on this ? Would you support such a PR ?
I saw that you use a plugin system to use GCPuploader and parse its output.
The upload feature could be set as an extra in the antfs-cli package (so a user would have to do a pip install antfs-cli[upload] to install requests & the upload code)
Thanks for reading me, antfs-cli is a great tool ;)

I'd definitely not be opposed to adding that to antfs-cli, especially if it can just be hooked into the existing plugin system (not opppsed to modifications to it either, or if you have other ideas). I don't really know how extras work but I'll look into it.

The developper of GcpUploader reached out to me, i may get contributor access to its repository.
If i can update the project, i would clean its codebase, and write a stable documented api so other projects (such as antfs-cli) can rely on it.
The integration in antfs-cli would still be a plugin, but using directly a Python api, resulting in a more portable code...

Hello @Tigge,
I hope you had a great Christmas with your family and friends!
I just published my fork of GCPUploader, with a cleaner api and unit tests.
Next step is the Pull request to use this in antfs-cli as a plugin :smile:

@La0 nice! I'll take a look at the PR when it is done :).

Interesting @La0

I published my PR on antfs-cli, to use garmin-uploader as a plugin.
As the code does not need any subprocess call anymore, it could be better integrated into antfs-cli main program (as an option)