text:
fix(drop-down): close dropdown onClickOutside

As a fix I removed dismissOnClick={false} this from the Dropdown component  so it is closed onCickOutside or when user selects one item from the dropdown
fix  #527
Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue)
Type of change
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change contains documentation update

Breaking changes
Please document the breaking changes if suitable.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[ ] Test A
[ ] Test B

Test Configuration:

Firmware version:
Hardware:
Toolchain:
SDK:

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules
[ ] I have checked my code and corrected any misspellings

Hi, @Tejas9535.
Thanks for your interest to work on this one, but I'm pretty sure that just changing the documentation will not fix the issue. I do recommend you check the video that I posted on the issue.
The problem is that once you click on some item at the Dropdown, it can't be closed by clicking outside of it.
I do expect that when the Dropdown has dismissOnClick={false}, and you click on a Dropdown item it doesn't close the dropdown, but if I click outside of it, it should close.

Hi @rluders ,
I have Added close on outside click  and also wrote Test cases for the same.
do tell me if any more changes are needed

I still have the problem, I'll try to record a video to demonstrate it 'cause it is hard to explain.

I can open the dropdown and close it without any problem. However, if I click into some dropdown option and then click outside, it doesn't close, well... if I click in some specific places if closes (at the document?)... for example if I click close to the button or inside the card, it doesn't close - well, sometimes it does, but not always.
I'm using Brave, but it seems that it also happens on Firefox.
https://user-images.githubusercontent.com/191027/223697304-4bcd5a07-c587-4203-b8f4-38deff42551c.mov

@rluders I can't replace that on Firefox, personally. So I'm not sure what's happening, to be honest.

This one was solved by #840

authors: Tejas9535 rluders tulup-conner

repo: themesberg/flowbite-react


text:
Badge, Toast, Popover page on Chrome problem

Describe the bug
When you scroll the Badge page to the end of the page, it scrolls down even if there is no content.

Reproduction
Chrom and visit https://flowbite-svelte.com/components/badge.
Then scroll to the end and up.
Flowbite version and System Info
System:
    OS: macOS 12.6
    CPU: (8) arm64 Apple M1
    Memory: 98.25 MB / 16.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 16.17.0 - ~/.nvm/versions/node/v16.17.0/bin/node
    npm: 8.15.0 - ~/.nvm/versions/node/v16.17.0/bin/npm
  Browsers:
    Brave Browser: 106.1.44.112
    Chrome: 106.0.5249.119
    Chrome Canary: 109.0.5363.0
    Firefox: 105.0.3
    Safari: 16.0
  npmPackages:
    @sveltejs/kit: 1.0.0-next.484 => 1.0.0-next.484
    svelte: ^3.44.0 => 3.52.0
    vite: ^3.1.0 => 3.1.8

Can be closed.

source: gharchive/issue

authors: jjagielka shinokada

repo: themesberg/flowbite-svelte

license: MIT

license_type: permissive

license_source: github-api


text:
Select: cannot disable placeholder

Describe the bug
The placeholder in the Select component cannot be disabled. When set to an empty string, it becomes an empty string:
<Select items={items} bind:value={currentItem} placeholder="" />

Reproduction
Create a select compoenent with an empty palceholder
Maybe, it would be enough, to change the type to string | undefined
https://github.com/themesberg/flowbite-svelte/blob/1d77a9c4cd8d26fab34dc96a5f91813e2985e004/src/lib/forms/Select.svelte#L7
Flowbite version and System Info
System:
    OS: Linux 5.15 Archcraft
    CPU: (8) x64 Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz
    Memory: 11.31 GB / 15.41 GB
    Container: Yes
    Shell: 5.9 - /usr/bin/zsh
  Binaries:
    Node: 16.19.0 - /usr/bin/node
    Yarn: 1.22.19 - /usr/bin/yarn
    npm: 8.19.2 - /usr/bin/npm
  Browsers:
    Chromium: 109.0.5414.119
    Firefox: 109.0.1
  npmPackages:
    @sveltejs/kit: ^1.0.0 => 1.0.0
    flowbite-svelte: ^0.28.4 => 0.28.11
    svelte: ^3.53.1 => 3.55.0
    vite: ^4.0.0 => 4.0.1

I don't see where the problem is. If placeholder is set to empty string: placeholder="" then it is not created:
  {#if placeholder}
    <option disabled selected value="">{placeholder}</option>
  {/if}

Can you please provide more info about the issue you report?

This behavior doesn't work for me. When I use an empty string, the placeholder is created with an empty string.

Here's a REPL showing no placeholder with empty string. Did I misunderstand it? Can you comment that example?

authors: dorianim jjagielka


text:
changed static file options to disable caching

what is says on the tin.

Does this apply to non-static files also, like Posts and the front page?

source: gharchive/pull-request

authors: Akamitori zorbathut

repo: themotte/vault


text:
add PhpRedis as a Vector Store

It is already possible to store data using Redis with Predis.

PhpRedis have better performances, it is 6 times faster if we refer to this article from 2019.
PhpRedis is harder to install, and the installations steps depends on the OS

Done

@MaximeThoonsen Sorry, but I don't see PhpRedis yet? I only see predis? PhpRedis would be much faster and I could easily use the native PhpRedis in Laravel that way as well without requiring an additional predis client.

authors: MaximeThoonsen Th0masso synio-wesley

repo: theodo-group/LLPhant


text:
Text overlaps when using jest in watch mode

First off: Great work, I really like this dashboard and want to use it for my own project.
When jest is in watch mode it displays some usage instructions. This cannot be hidden. But after the first run the list collapses to only one line. See here for more details.
These usage instructions overlap with the top-left part of the dashboard. Perhaps it would be possible to add a background to the dashboard or something so it would be hidden?
Please see and example of what I mean below:

Thanks, @HendrikThePendric for the detailed bug. I recall investigating this issue a few months ago. I tried to intercept the console, but unfortunately, that didn't work since the same console instance that prints the UI is used to print that usage message.
None of the available options worked. And, there isn't a way to add a background either (that's a nice idea though!).
The only option for us is to make PR to jest. Luckily, while browsing through the jest issues, I came across https://github.com/facebook/jest/pull/2125 which might be the solution.
Can you please try that and let us know if it works? :)

Hi @theoutlander! Great package! I noticed that the mentioned issue has merged, maybe can we bump jest version to 23 and see if it works?

Thanks for the heads-up @matrunchyk. I updated to the latest jest, but it doesn't appear to work for me.
I get the following:

I'm on the latest version:

I've also tried adding this option to the config file, but still no luck.
Do you happen to know how it is supposed to be used? Thanks!

repo: theoutlander/jest-dashboard


text:
Makes temp dir configurable

These changes make it posible to set the temp dir used by
the glide server to store images for processing.
Since this must be a local path we check if the path exists and is
writable by php. Otherwise an exception is thrown.
By default the tempDir property is set to sys_get_temp_dir() so no
changes are required for existing systems.
Fixes #156

@jaapio Out of curiosity, what host were you having these issues with? I honestly thought there was a standard way of getting the available temp directory on any PHP based web server.

We are using mod-ruid to let the application run as the owner of the files. This user has a base_dir restriction so php is not allowed to access /tmp

I also get this issue when working in my local environment OSX. It's fine when working with Host.
Can we merge this pull request so that dev can adjust the tmp dir dynamically.
Thank you

Can anyone explain me how I would go about using this fix to set the tmp folder in the root of my laravel project for example?

We've also got the issue. Could you merge this pr, please?

I wonder why Travis builds failed here.
Job logs are not available anymore.

Nasty workaround:
Include file which defines sys_get_temp_dir function in League\Glide namespace, so it's used instead of native function.
<?php
namespace League\Glide {
    /**
     * Monkey patch temp dir on shared hosting (open_base conflict)
     * @return string
     */
    function sys_get_temp_dir(): string
    {
        $nativeSysTempDir = \sys_get_temp_dir();

        // Your detection mechanism
        if (strpos($nativeSysTempDir, '/home/fcgid/') !== 0) {
            return $nativeSysTempDir;
        }

        return ini_get('upload_tmp_dir');
    }
}

This sould be fixed by https://github.com/thephpleague/glide/pull/304, can anyone confirm?

This sould be fixed by https://github.com/thephpleague/glide/pull/304, can anyone confirm?

authors: anhphamt hykw jaapio jorenvh1 piotr-cz reinink tgalopin

repo: thephpleague/glide

license: mit

license_source: bigquery


text:
Try to get the numbers from the accountNumber in the response body

If last four numbers of the card aren't present in the card object (because the payment was done with opaqueData), try to get the numbers from the accountNumber in the response body.
This is so that refunds can be done for transactions without a card, like apple pay or when using Accept.js.
This is really to solve https://github.com/digital-pros/commerce-authorize/issues/15

This gets the last card digits, which is great, but I'm not sure where the expiry date is coming from. I get "199912" every time, regardless of what the actual expiry date is, which looks like it may be the default that Omnipay returns (which seems like a big to me).
I can't see the expiry date in the raw payload either for the AJS response, so maybe it's not needed, or is ignored? Or maybe the XML is not being parsed correctly?
object(SimpleXMLElement)#29 (13) {
  ["responseCode"]=>
  string(1) "1"
  ["authCode"]=>
  string(6) "000000"
  ["avsResultCode"]=>
  string(1) "P"
  ["cvvResultCode"]=>
  object(SimpleXMLElement)#31 (0) {
  }
  ["cavvResultCode"]=>
  object(SimpleXMLElement)#42 (0) {
  }
  ["transId"]=>
  string(1) "0"
  ["refTransID"]=>
  object(SimpleXMLElement)#51 (0) {
  }
  ["transHash"]=>
  object(SimpleXMLElement)#32 (0) {
  }
  ["testRequest"]=>
  string(1) "1"
  ["accountNumber"]=>
  string(8) "XXXX0027"
  ["accountType"]=>
  string(4) "Visa"
  ["messages"]=>
  object(SimpleXMLElement)#48 (1) {
    ["message"]=>
    object(SimpleXMLElement)#44 (2) {
      ["code"]=>
      string(1) "1"
      ["description"]=>
      string(35) "This transaction has been approved."
    }
  }
  ["transHashSha2"]=>
  string(128) "70BADC10C279FD5102EC17DDB18225E46CBD1381C3E06C85976A5727415DA9E6BFAA758ABF15D1B6745D41D18FD355E0AFED8E5E5E7FCD06D34B0216E108EE48"
}

The raw AJS (using opaque data) rtesponse body:
<?xml version="1.0" encoding="UTF-8"?>
<createTransactionResponse xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
   <refId>313826278</refId>
   <messages>
      <resultCode>Ok</resultCode>
      <message>
         I00001
         <text>Successful.</text>
      </message>
   </messages>
   <transactionResponse>
      <responseCode>1</responseCode>
      <authCode>000000</authCode>
      <avsResultCode>P</avsResultCode>
      <cvvResultCode />
      <cavvResultCode />
      <transId>0</transId>
      <refTransID />
      <transHash />
      <testRequest>1</testRequest>
      <accountNumber>XXXX0027</accountNumber>
      <accountType>Visa</accountType>
      <messages>
         <message>
            1
            <description>This transaction has been approved.</description>
         </message>
      </messages>
      <transHashSha2>70BADC10C279FD5102EC17DDB18225E46CBD1381C3E06C85976A5727415DA9E6BFAA758ABF15D1B6745D41D18FD355E0AFED8E5E5E7FCD06D34B0216E108EE48</transHashSha2>
   </transactionResponse>
</createTransactionResponse>

No expiry dates in there. Does it work for you if you drop the expiry date altogether when the card object does not have it set for the request?

Looking at this example here: https://developer.authorize.net/api/reference/features/acceptjs.html#Integrating_Accept.js_into_Your_Payment_Form the payment form has names for the expiry date fields. That means although the card number (and CVV) are not captured direct to the merchant site, the month and year are captured directly.
I wonder if the month and year need to be captured with the user accept.js form submission at the same time as the opaque data? I suspect they do. The date would need to be held with the request and make available along with the response, though not actually sent to the Authorize.Net gateway.

@judgej it's seems you are correct, that the expiration date is still needed even though it is not returned in the response and it is not sent in the request to authorize.net.
The new error I got, after successfully storing and sending the card number is:
"error": {
    "errorCode": "7",
    "errorText": "Credit card expiration date is invalid."
}

For the expiration date I get "121999" which is whats returned for gmdate("mY", gmmktime(0, 0, 0, null, 1, null)), which is the case when there's no expiration date as part of the card.
The solution for regular accept.js usage is probably to store the card details which are provided by accept.js when available.
I'm trying to use Apple Pay, which does not supply the card number or the expiration date.
So right now I don't have a solution.
This pull request can most likely be declined for another solution for storing the card data.

authors: aryehischechter judgej

repo: thephpleague/omnipay-authorizenet


text:
2.x Guzzle PEM File out of date

The version of Guzzle required for 2.x has an out of date PEM file, so my SSL connections to our CC proc. started failing... (curl error 60)... other than upgrading to omnipay 3.x, is there a fix for this, or a way to get omnipay to get guzzle to use a different cainfo cert?
I have tried updating curl.cainfo in my php.ini to no effect, and looks like Guzzle 3 can only change the PEM programmatically (ClientInterface::setSslVerification), not through system settings.

Closing as duplicate of https://github.com/thephpleague/omnipay-common/issues/193

authors: barryvdh funkflute

repo: thephpleague/omnipay


text:
I want to implement NganLuong v3 for omnipay v3.

I integrate NganLuong v3 completed  for omnipay v3. but i cant register packagist with name ominipay/nganluongv3. how i can do that.
https://www.nganluong.vn/vn/integrate/seamless.html

Register it under your own namespace please.

Thanks for you infomation.


text:
Unity is Loading the Wrong Node on a Button Click

I would like to say that I don't have very much experience in programming, and am probably in over my head here. But, I thought that Yarn and YarnSpinner would be really good tools, so I'm trying to learn them at the same time as basic Unity scripting. Having said that, here's my bug report:
Software Versions
Unity---------5.4.1
Yarn----------0.2.1
YarnSpinner-0.9.9
The Problem
I am trying to get Unity to play a simple dialogue (almost a carbon copy of the Basic Example Dialogue that's included with the YarnSpinner package). However, I'm having an issue with how the nodes are loading when I click a button in the game, and it doesn't bring up any errors in the console for me to go by.
The problem is that no matter what button I click, I always get taken to node linked to by the first option. This happens no matter what node I'm in. For example:
My first node is "TableofContents". It has 6 options, linked to (and displayed on screen) in this order:

Lines
Options
Shortcut Options
Variables
If Statements
Functions

All six of those buttons are displayed in the game view, and they are all clickable. However, regardless of what button I click, I always get taken to the "Lines" node (as though I had clicked the Lines button, even if I hadn't).
This problem persists throughout the entire dialogue (in the "Options" node, I have two buttons that link to "ShortcutOptions" (first) and "Variables" (second), no matter which one I click, I get immediately taken to the "ShortcutOptions" node).
Like I said earlier, this dialogue is almost a carbon copy of the Basic Example Dialogue. With that said, I thought that maybe I had changed something that I shouldn't have.
Differences Between My Dialogue and the Basic Example

Automatic Commands is unchecked in my Dialogue Runner (Script) component of my Dialogue object.
After checking (and unchecking) it a few times, I concluded that it wasn't affecting anything within my game.

In the Example Dialogue UI (Script) component of the same object, my Dialogue Container is set to be the DialogueContainer object.
Aside from the name, the DialogueContainer object is completely identical to the Frame object in the example. Changing the name to Frame had no affect.

My Text Speed is set to 0.
Changing this to match the example dialogue had no affect other than driving me insane with how slow it was.

I have 6 option buttons instead of 3.
Reducing the number of buttons causes an error (due to me having a node that offers 6 choices). All of the buttons are set to their correct elements (Option0 is set to Element 0), and changing the buttons' numbers to start at 1 (like in the example script) did nothing.

In the Example Variable Storage (Script) component of the same object, my Default Variables have a size of 0.
The basic example has a size of 2 (with act and day being its variables). My dialogue does contain one variable (review), but changing the size to 1 and adding it in doesn't affect anything at all.

Scripts
I'm only using three scripts. They're all included with the YarnSpinner package, and are completely unchanged:

DialogueRunner.cs
ExampleDialogueUI.cs
ExampleVariableStorage.cs

Restarting
Thinking that I may have made some simple error early on, I opened up a new project in Unity and in Yarn. After redoing the entire project over again, I still ran into the same problem.
What I Think is a Possible Solution (and Am Too Unskilled/Inexperienced to do)
In the scripts (probably ExampleDialogueUI.cs) it might be possible to edit how the code reads the buttons. Something along the lines of:

Identifying the text on them.
In the editor they all say "Option0", "Option1", etc. In the game however, they say things like "Lines" or "ShortcutOptions". Would it be possible to change the code so that it reads the string displaying on the buttons (Lines/ShortcutOptions).

Loading the next node based on the string that was identified from the above.
Like reading that the button says "ShortcutOptions", converting that into a string called ShortcutOptions, and then loading a node that has a name the same as that string.

Final Words
Thanks to anyone who actually read this entire thing (I'm sorry it was so long).
Any help at all would be greatly appreciated.
Thanks again.

Hi! Thanks for your very comprehensive issue report.
Can you check your buttons, and make sure that they're calling your ExampleDialogueUI object's "SetOption" function (you can find it in the button's OnClick section in the Inspector)? The first one should be set up to call the function and pass the number 0, the second number 1, and so on.

That was it!
I knew it was something completely obvious!
All of the buttons were set to pass 0, instead of their own number.
Thanks for the quick response man, that was exactly what I needed.

repo: thesecretlab/YarnSpinner


text:
Objects being destroyed while touching the camera will cause a permanent black screen.

Hello, the issue here is that if I have enemies who fire rockets, balls or items at the player's head and the items are set to be destroyed upon collision, the onTriggerExit in VRTK_HeadsetCollisionFade.cs event will not be called.
This results in the screen becoming permanently black (my current fade colour).
I have made a simple and cheap solution: move the items to Vector3.zero then delete them, but I thought it would be a good addition to VRTK itself to have "black-screen due to objects being deleted in-camera" prevention built in, as it could occur in random or unpredictable instances (such as a player having their head accidentally in a prop they shouldn't be in that's about to be destroyed).
Issue replication: have the camera touch anything that would cause it to have a black screen, then destroy the object it is touching.

I would have thought the OnTriggerExit would have been called when the object was destroyed. I'll look into it and see what's going on.

Fixed with https://github.com/thestonefox/SteamVR_Unity_Toolkit/commit/49bc483cb1b75efe436cc60d54c1c6f4c694cc1a
Sorry for the delay


text:
🛑 Arch Linux mirror is down

In 9eefe1d, Arch Linux mirror (https://theswissbay.ch/archlinux/lastupdate) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Arch Linux mirror is back up in 6723411 after 4 minutes.

repo: theswissbay/status


text:
The NPM package is not a place for politics

@ibc WTF wrong with you?
Closed for no reason.
See: medikoo/es5-ext#113
See: medikoo/es5-ext#114
See: medikoo/es5-ext#115
Related: #432
Related: #433

It should remain open here until action is taken.

Go give orders to your house, @eolme

authors: eolme ibc


text:
Change method naming conventions

Change the method names in singlylinkedlist and stack from camel case to all lower with an underscore separating words.
Tests will need to be updated as well.

Looks good, thank you

repo: theuhbis/py-dsa


text:
🛑 Main Site is down

In 15624ff, Main Site (https://willwilson.uk) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Main Site is back up in b9cc268 after 9 minutes.

repo: thewillwilson/upptime


text:
Last digit of card number got deleted automatically.

Hi,
Thanks for your work.
The input formatting seems automatically removing the last digit in card number with the white space. It also happens to expiry input.
<input name="number" type="tel" v-model="cardDetails.number" v-card-focus>
<input name="expiry" type="tel" v-model="cardDetails.expiry" v-card-focus>

I recorded a gif for this issue, during the input I did not touch backspace key:

Hi @xhkz,
Thanks for reporting this bug. You described the problem well.

authors: thiago-Malaca xhkz

repo: thiago-Malaca/vue-credit-card


text:
feat: Add wagmi adapter for in-app wallet

Problem solved
Short description of the bug fixed or feature added

PR-Codex overview
This PR introduces various updates to the wagmi-adapter package, including TypeScript configuration, a new function for connecting in-app wallets, and enhancements in the package structure for better compatibility with React Native.
Detailed summary

Added inAppWalletConnector function in src/connector.ts.
Exported inAppWalletConnector and InAppWalletParameters from thirdweb.ts.
Updated tsconfig.build.json, tsconfig.json, and tsconfig.base.json for improved TypeScript settings.
Enhanced package.json with new metadata and dependencies.
Updated README.md with installation and configuration instructions for React Native.
Added changelog entries for version updates and dependency modifications.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

#5644  👈 (View in Graphite)
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

repo: thirdweb-dev/js


text:
Feature: Improved html file

Added:

Favicons
Google Analytics
<noscript> fallback message
IE <= 8 fallback message
meta tags for bootstrap

Coverage remained the same at 96.842% when pulling b11adf79caa86af573218f2b1885277125cc67cb on feature/improved-index-file into cece769a5c0277ee8b3314aa70d048ab391b5e2a on master.

Coverage remained the same at 96.842% when pulling 778fcc241a184f1dee24fe9d709736f11fd615fe on feature/improved-index-file into cece769a5c0277ee8b3314aa70d048ab391b5e2a on master.

authors: coveralls edwardoparearyee


text:
Location stamp....

I’ve tried numerous times to get the location and time zone to change for the camera location but it keep switching back to Limmen, Netherlands.....

thanks for the feedback. One more doubt, the lens that comes with the camera has how many degrees?

For me, though I edited the config.js file none of my edits were able to display so I edited the index.htl file directly. Row 42-47 you can set entried directly and they will not change.

Often when changing he config.js file, you need to force your browser to re-read the file.  You can either clear the cache, or press F12 when on the page, and in the "Network" tab, check the option to disable the cache, then refresh the page.
Shand359, where are you changing the information?  And exactly what are you changing, and where?  When you say it keeps "switching back", does that mean it's correct once, then not again, or it's never correct?  If the latter, please try the above fix.
Eric

authors: EricClaeys PhotonPup Shand359 uduluiz

repo: thomasjacquin/allsky


text:
Image hover date and time info

Where is the date and time information configuration data?
Examples of what I am seeing is shown below.
Live view shows: 20211016 07:31:16
Images folder: 20211015
Image hover info shows:  Tue Nov 16 2021 @ 06:55:26
Allsky.log shows: “image.jpg that started at 2021-10-16 07:31:06”
Using RPi Zero W – RPI date and time is correct
ZWO ASI120MC-S
Allsky SW v0.8.1

The issue is that the Image hover shows the wrong day and month  "Tue Nov 16 2021"

@KH6JAG There's a bug with the month showing in the hover being one month in advance, e.g., it shows November but the actual date is October.  I just submitted a fix for this so it should be available in a day or so.
In the current version the times don't match exactly - the time in the overlay is when the image started but the time of the file is when the image was written to disk.  In a future release this is fixed - all times will be when the image begins.
When daytime begins, as specified by your Angle setting, a new directory in allsky/images is created, e.g., 20211015.  All images during the day and the night are saved there, so images after midnight but before the next daytime will have 20211016 in their filename but be stored in the 20211015 directory.  This is by design, so the startrails, keogram, and timelapse only have to look in one directory for files.

@KH6JAG, the fix has been posted in allsky-portal.  Its the includes/images.php file.  The month is now correct.


text:
🛑 Netdata-KA is down

In af7d932, Netdata-KA ($URL_NETDATA_MERZ_NIMBUS) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Netdata-KA is back up in c7427c5.

repo: thomasmerz/upptime


text:
Camera image is black

camera.svg.txt

it's better, but let us check it more

The lenses are still different from the Firefox Renderer.

I'm working on that, give me a bit more time :)

I appreciate the hard work 🍡

the left one is from tvg (there are still issues), but I need to double check everything before I'll make PR

@mgrudzinska Did you changes to the gradient code resolve this?

@fire a gradient requires a bit more attention, that I noticed thanks to yours bug reports.
I'll notify you when the pr will be ready and the pict will look as it should :)

@fire just to update you - after the #514 #519 and #520 are merged, the 'kamera.svg' will look like the pict on the left:

as you can see there are still some problems, that we are working on (issue #37 and  issue #521)

fixed lens clearness by https://github.com/Samsung/thorvg/pull/526

I know it took ages, but very soon we'll get the correct result (no differences in my opinion)

we just need a moment to merge all prs (2 are not sent yet, since they depends on unmerged changes)

I forgot about reviewing this. My bad.

@fire there is still a tiny issue with a stroke...
you can see this on "3.2 PIXELS" -> "3.2" looks a bit different than it should
If you find some other problems please let us know, in the meantime I'll try to solve the problem with a stroke

will be solved in issue #954

Only these lines are different:

also "3.2" isn;t perfect (https://github.com/thorvg/thorvg/issues/954#issuecomment-1498521368)

here text looks a bit blurry, others are good.

before #1611:

after #1611:

the stroke is still a bit different because of https://github.com/thorvg/thorvg/issues/954

authors: fire hermet mgrudzinska

repo: thorvg/thorvg


text:
UX Testing deliverables T1-2023

Description
This request is to add the deliverables for UX Testing.
Fixes # (issue)
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as
expected)
[x] Documentation (update or new)

How Has This Been Tested?
Have clicked on each link to confirm they work. As no code is being produced, it is only workable links.
Testing Checklist:

[x] Tested in latest Chrome
[ ] Tested in latest Safari
[ ] Tested in latest Firefox

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have requested a review from Josh Piper on the Pull Request

This needs prettier running on it
Checking formatting...
[warn] docs/DreamBig/UX Testing T1-2023/Deliverables.md
[warn] Code style issues found in the above file. Forgot to run Prettier?
Error: Process completed with exit code 1.

repo: thoth-tech/documentation


text:
Hex version (1.0.2) is missing fix

Hi! First off, thanks for all of the wonderful libraries. I am a huge fan of ExMachina, and FactoryGirl before it 😄
I realize that this was brought up in #170 back in October, so this is just a friendly request to publish a 1.0.3.
We're using 1.0.2 (most current on Hex), which hasn't seen a version bump since the summer. There's a fix on masterfor not dropping autogenerated IDs from params_for. We've switched to pulling the package from GitHub, but wanted to let you know in case anyone else runs into similar problems.
Relevant code: master & 1.0.2
Cheers!

You are not alone, we have the same problem at my company ;)
@jsteiner @paulcsmith Is there something we can do (like updating the changelog in a PR) to help you release a new version?

:+1: happy to help compile a Changelog or whatever might be needed :)

That would be very helpful! If ou could submit a PR that would be incredible. I've been a bit busy with other things so I'd really appreciate it :D

On Jan 25, 2017, at 6:54 AM, Tobias Pfeiffer notifications@github.com wrote:
👍 happy to help compile a Changelog or whatever might be needed :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Thanks for being patient everyone! I had some time this week to do a little clean up and update the changelog in preparation for 2.0.
Once my other PRs get merged, we'll have to do a little more testing on our own projects, and perhaps request some of you to test them on your projects before releasing.

We're prepping for release of 2.0. It's on master. If people on this thread could give it a go that would be really great. We're testing it internally and if all is well we'll push it up to hex

the current master ( f003eb3) works perfectly for my app. ❤  thanks for your work

Hi everyone. 2.0.0 is out on hex! https://github.com/thoughtbot/ex_machina/commit/9869fb5a7d8fff8b99715a718aa74c27a5a13741 and https://hex.pm/packages/ex_machina :D

authors: PragTob expede jsteiner paulcsmith tessi


text:
Allow me push access...I have updated the project to latest environment

Allow me push access at madhur.ahlawat17@gmail.com

Closing this as this library is deprecated: https://github.com/thoughtbot/expandable-recycler-view/pull/235

authors: Madhur-Ahlawat stefannibrasil

repo: thoughtbot/expandable-recycler-view


text:
notifyDataSetChanged() not working

Tried this method on the adapter and got an exception. I just add a new Genre to the simple expand sample app.

I am getting the same error. Every time I adding or deleting an object to/from the underlying list, it crashes with " java.lang.ArrayIndexOutOfBoundsException: length=1; index=1" in ExpandableList.numberOfVisibleItemsInGroup

The current version of the library does not support adding / removing items from list of ExpandableGroup that you instantiated the adapter with.
We hope to have this feature out in the next relase

Duplicate of #27

authors: danponce mandybess sudhanshunathmishra


text:
Pass original recipient and reply to through.

Postmark adapter PR for reference: https://github.com/r38y/griddler-postmark/pull/6

I think these two attributes should also get passed through extract_address. This way any given address you receive from a Griddler::Email object are of the same format.

@r38y would like to get this merged but see comments above

Whoops, I didn't see or forgot them, sorry. I'll take a look soon.

repo: thoughtbot/griddler


text:
Exclude predicate matcher rule for RSpec specs

Using Predicate matchers is a common convention
within the RSpec community.
Related blog post.

Looks good to me. :+1:

authors: gylaz salbertson

repo: thoughtbot/hound


text:
Skip time zone in test by using Calendar, not Date

A java.util.Date has the local time zone embedded in it, so
instantiating it with the seconds since the epoch will always produce a
local time that varies.
Conversely, java.util.Calendar works differently; it always gives back
a date (using Calendar.getTime()) that matches the numbers passed in,
even if the time zone does not match. We can use this to ignore the time
zone component of the date but get a Date instance for the exact
desired date and time.

I think there's some code duplication in the tests. How about a factory method for generating these mock conditions, shared between all the test files? Is that reasonable? I'm about to look at that.

How's this look? Is .getInstance() a reasonable name? Is there a better approach here? I'm not too familiar with the conventions 'round these parts.

@mike-burns factory method is totally reasonable. Curious about changing from Date to Calendar - those are different types, do the tests still pass / compile? I would imagine since a Condition object is expecting a Date parameter, it wouldn't even build?

Oh, to answer the Date/those are different types question: I call Calendar.getTime() to get a Date instance.

(I'll rebase and clean up the commits after all the code looks good.)

I had forgotten about this. Should I rebase,clean up the commits, and merge?

authors: mandybess mike-burns

repo: thoughtbot/tropos-android


text:
Trying to get an example to run

(without the current Main hack, which I haven't been able to get to run)

(overall I don't think it's good practice to have *visuals.jl in src/dynamics and not include them in the package.


text:
Alternatives to HOME image

Work with Zia to provide an alternative. Best case we utilize art that we created for the old website.

became this https://github.com/threefoldfoundation/www_tffoundation/issues/296


text:
MARKETPLACE: Add missing apps

MONITORING STACK

[ ] @samtaggart Create page information
[ ] @Vilnite Implement page information
[ ] @samtaggart Find one-liner for "app card"
[ ] @Vilnite Create "app card" and add to apps page in Decentralized Developer & All, alphabetically

KUBEAPPS

[ ] @samtaggart Create page information
[ ] @Vilnite Implement page information
[ ] @samtaggart Find one-liner for "app card"
[ ] @Vilnite Create "app card" and add to apps page in Decentralized Developer & All, alphabetically

ETCD

[ ] @samtaggart Create page information
[ ] @Vilnite Implement page information
[ ] @samtaggart Find one-liner for "app card"
[ ] @Vilnite Create "app card" and add to apps page in Decentralized Developer & All, alphabetically

OWNCLOUD

[ ] @samtaggart Create page information
[ ] @Vilnite Implement page information
[ ] @samtaggart Find one-liner for "app card"
[ ] @Vilnite Create "app card" and add to apps page in Decentralized Developer & All, alphabetically

MASTODON

[ ] @samtaggart Create page information
[ ] @Vilnite Implement page information
[ ] @samtaggart Find one-liner for "app card"
[ ] @Vilnite Create "app card" and add to apps page in Decentralized Developer & All, alphabetically

POLYGON

[ ] Update

OTHERS?

[ ] Check with Sasha

See in circles tool: https://circles.threefold.me/project/despiegk-product_web_threefold/issue/36

authors: Vilnite samtaggart


text:
VDC : Adding worker node to the cluster always has status "Not Ready"

Description
We did 4 test runs for extending the cluster. The cluster extends successfully and the worker node is added. However, the status of the worker nodes remains "Not Ready". Consequently,  k3s won't schedule the pod and the deployment fails with "Not enough resources"
VDC information
vdc name = rudy1
3bot name = mazraa.3bot
Traceback/Logs/Alerts
Traceback/Logs/Alerts if available
root@nodes:~/vdc-tests# kubectl get nodes
NAME         STATUS     ROLES    AGE   VERSION
k3os-3040    NotReady   <none>   48m   v1.19.4+k3s1
k3os-14460   NotReady   <none>   38m   v1.19.4+k3s1
k3os-10411   Ready      master   50m   v1.19.4+k3s1

root@nodes:~/vdc-tests#kubectl describe node k3os-14460
Name:               k3os-14460
Roles:              <none>
Labels:             beta.kubernetes.io/arch=amd64
                    beta.kubernetes.io/instance-type=k3s
                    beta.kubernetes.io/os=linux
                    k3os.io/mode=local
                    k3os.io/version=v0.19.4-dev.5-24-g999f9b7
                    kubernetes.io/arch=amd64
                    kubernetes.io/hostname=k3os-14460
                    kubernetes.io/os=linux
                    node.kubernetes.io/instance-type=k3s
Annotations:        node.alpha.kubernetes.io/ttl: 0
                    volumes.kubernetes.io/controller-managed-attach-detach: true
CreationTimestamp:  Thu, 29 Apr 2021 12:04:22 +0400
Taints:             node.kubernetes.io/unreachable:NoExecute
                    node.kubernetes.io/unreachable:NoSchedule
Unschedulable:      false
Lease:              Failed to get lease: leases.coordination.k8s.io "k3os-14460" not found
Conditions:
  Type             Status    LastHeartbeatTime                 LastTransitionTime                Reason              Message
  ----             ------    -----------------                 ------------------                ------              -------
  MemoryPressure   Unknown   Thu, 29 Apr 2021 12:04:22 +0400   Thu, 29 Apr 2021 12:05:05 +0400   NodeStatusUnknown   Kubelet stopped posting node status.
  DiskPressure     Unknown   Thu, 29 Apr 2021 12:04:22 +0400   Thu, 29 Apr 2021 12:05:05 +0400   NodeStatusUnknown   Kubelet stopped posting node status.
  PIDPressure      Unknown   Thu, 29 Apr 2021 12:04:22 +0400   Thu, 29 Apr 2021 12:05:05 +0400   NodeStatusUnknown   Kubelet stopped posting node status.
  Ready            Unknown   Thu, 29 Apr 2021 12:04:22 +0400   Thu, 29 Apr 2021 12:05:05 +0400   NodeStatusUnknown   Kubelet stopped posting node status.
Addresses:
  InternalIP:  10.200.5.2
  Hostname:    k3os-14460
Capacity:
  cpu:                8
  ephemeral-storage:  103408952Ki
  hugepages-1Gi:      0
  hugepages-2Mi:      0
  memory:             32887288Ki
  pods:               110
Allocatable:
  cpu:                8
  ephemeral-storage:  100596228427
  hugepages-1Gi:      0
  hugepages-2Mi:      0
  memory:             32887288Ki
  pods:               110
System Info:
  Machine ID:                 42c4b65577d6da115d9971e2605071ff
  System UUID:                42c4b65577d6da115d9971e2605071ff
  Boot ID:                    9c4ccb9c-27db-4b40-8923-685668e39f72
  Kernel Version:             5.6.0-rc4+
  OS Image:                   k3OS v0.19.4-dev.5-24-g999f9b7
  Operating System:           linux
  Architecture:               amd64
  Container Runtime Version:  containerd://1.4.1-k3s1
  Kubelet Version:            v1.19.4+k3s1
  Kube-Proxy Version:         v1.19.4+k3s1
PodCIDR:                      10.42.2.0/24
PodCIDRs:                     10.42.2.0/24
ProviderID:                   k3s://k3os-14460
Non-terminated Pods:          (0 in total)
  Namespace                   Name    CPU Requests  CPU Limits  Memory Requests  Memory Limits  Age
  ---------                   ----    ------------  ----------  ---------------  -------------  ---
Allocated resources:
  (Total limits may be over 100 percent, i.e., overcommitted.)
  Resource           Requests  Limits
  --------           --------  ------
  cpu                0 (0%)    0 (0%)
  memory             0 (0%)    0 (0%)
  ephemeral-storage  0 (0%)    0 (0%)
  hugepages-1Gi      0 (0%)    0 (0%)
  hugepages-2Mi      0 (0%)    0 (0%)
Events:
  Type     Reason                   Age                From     Message
  ----     ------                   ----               ----     -------
  Normal   Starting                 39m                kubelet  Starting kubelet.
  Warning  InvalidDiskCapacity      39m                kubelet  invalid capacity 0 on image filesystem
  Normal   NodeAllocatableEnforced  39m                kubelet  Updated Node Allocatable limit across pods
  Normal   NodeHasSufficientMemory  23m (x3 over 39m)  kubelet  Node k3os-14460 status is now: NodeHasSufficientMemory
  Normal   NodeHasNoDiskPressure    23m (x3 over 39m)  kubelet  Node k3os-14460 status is now: NodeHasNoDiskPressure
  Normal   NodeHasSufficientPID     23m (x3 over 39m)  kubelet  Node k3os-14460 status is now: NodeHasSufficientPID

root@nodes:~/vdc-tests#kubectl describe node k3os-3040
Name:               k3os-3040
Roles:              <none>
Labels:             beta.kubernetes.io/arch=amd64
                    beta.kubernetes.io/instance-type=k3s
                    beta.kubernetes.io/os=linux
                    k3os.io/mode=local
                    k3os.io/version=v0.19.4-dev.5-24-g999f9b7
                    kubernetes.io/arch=amd64
                    kubernetes.io/hostname=k3os-3040
                    kubernetes.io/os=linux
                    node.kubernetes.io/instance-type=k3s
Annotations:        node.alpha.kubernetes.io/ttl: 0
                    volumes.kubernetes.io/controller-managed-attach-detach: true
CreationTimestamp:  Thu, 29 Apr 2021 11:54:15 +0400
Taints:             node.kubernetes.io/unreachable:NoExecute
                    node.kubernetes.io/unreachable:NoSchedule
Unschedulable:      false
Lease:              Failed to get lease: leases.coordination.k8s.io "k3os-3040" not found
Conditions:
  Type             Status    LastHeartbeatTime                 LastTransitionTime                Reason              Message
  ----             ------    -----------------                 ------------------                ------              -------
  MemoryPressure   Unknown   Thu, 29 Apr 2021 11:54:15 +0400   Thu, 29 Apr 2021 11:55:00 +0400   NodeStatusUnknown   Kubelet stopped posting node status.
  DiskPressure     Unknown   Thu, 29 Apr 2021 11:54:15 +0400   Thu, 29 Apr 2021 11:55:00 +0400   NodeStatusUnknown   Kubelet stopped posting node status.
  PIDPressure      Unknown   Thu, 29 Apr 2021 11:54:15 +0400   Thu, 29 Apr 2021 11:55:00 +0400   NodeStatusUnknown   Kubelet stopped posting node status.
  Ready            Unknown   Thu, 29 Apr 2021 11:54:15 +0400   Thu, 29 Apr 2021 11:55:00 +0400   NodeStatusUnknown   Kubelet stopped posting node status.
Addresses:
  InternalIP:  10.200.3.2
  Hostname:    k3os-3040
Capacity:
  cpu:                2
  ephemeral-storage:  51695776Ki
  hugepages-1Gi:      0
  hugepages-2Mi:      0
  memory:             4030012Ki
  pods:               110
Allocatable:
  cpu:                2
  ephemeral-storage:  50289650854
  hugepages-1Gi:      0
  hugepages-2Mi:      0
  memory:             4030012Ki
  pods:               110
System Info:
  Machine ID:                 42c4b65577d6da115d9971e2605071ff
  System UUID:                42c4b65577d6da115d9971e2605071ff
  Boot ID:                    7b0f701a-7895-4927-9f8a-334adf5e3a14
  Kernel Version:             5.6.0-rc4+
  OS Image:                   k3OS v0.19.4-dev.5-24-g999f9b7
  Operating System:           linux
  Architecture:               amd64
  Container Runtime Version:  containerd://1.4.1-k3s1
  Kubelet Version:            v1.19.4+k3s1
  Kube-Proxy Version:         v1.19.4+k3s1
PodCIDR:                      10.42.1.0/24
PodCIDRs:                     10.42.1.0/24
ProviderID:                   k3s://k3os-3040
Non-terminated Pods:          (0 in total)
  Namespace                   Name    CPU Requests  CPU Limits  Memory Requests  Memory Limits  Age
  ---------                   ----    ------------  ----------  ---------------  -------------  ---
Allocated resources:
  (Total limits may be over 100 percent, i.e., overcommitted.)
  Resource           Requests  Limits
  --------           --------  ------
  cpu                0 (0%)    0 (0%)
  memory             0 (0%)    0 (0%)
  ephemeral-storage  0 (0%)    0 (0%)
  hugepages-1Gi      0 (0%)    0 (0%)
  hugepages-2Mi      0 (0%)    0 (0%)
Events:
  Type     Reason                   Age                  From     Message
  ----     ------                   ----                 ----     -------
  Normal   Starting                 53m                  kubelet  Starting kubelet.
  Warning  InvalidDiskCapacity      53m                  kubelet  invalid capacity 0 on image filesystem
  Normal   NodeAllocatableEnforced  53m                  kubelet  Updated Node Allocatable limit across pods
  Normal   NodeHasSufficientMemory  4m42s (x4 over 53m)  kubelet  Node k3os-3040 status is now: NodeHasSufficientMemory
  Normal   NodeHasNoDiskPressure    4m42s (x4 over 53m)  kubelet  Node k3os-3040 status is now: NodeHasNoDiskPressure
  Normal   NodeHasSufficientPID     4m42s (x4 over 53m)  kubelet  Node k3os-3040 status is now: NodeHasSufficientPID

the workers are stuck https://github.com/threefoldtech/zos/issues/1238

The new deployments of the VDC seem to be fine. We can close this issue for now

repo: threefoldtech/js-sdk


text:
check aggregator code

check if the lua script we use in python is the same as used in ZOS.
(hope it is)
for aggreation of values,
if not make sure we are
also check this code if ok.
aggregation client needs to work against ZOS

code/github/threefoldtech/jumpscale_lib/JumpscaleLib/tools/aggregator/Aggregator.py

why is there log & eco, this we can probably remove


text:
Make environment variables available in flist container

Currently deploying an flist with the grid3 typescript client.
Giving environment variables to the VM

Logging in with ssh to the public IP, getting the environement variables returns me to

No pregiven env vars were found. Environement variables are availble in your entrypoint, but they should be available anywhere. Trying to EXPORT USER_ID = "lennertapp2" inside my entrypoint script didnt work either.

Can't help with that but I wonder what flist did you use?

I am using the following flist: https://hub.grid.tf/lennertapp2.3bot/threefoldjimber-ssh-latest.flist

This is needed to have a generic flist where we can just pass through environment variables for a Vue3 NodeJS application

Is this a full vm or container based flist?

This is the Dockerfile:
FROM ubuntu:20.04
RUN echo deb http://be.archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse >> /etc/apt/sources.list
RUN apt-get update && DEBIAN_FRONTEND=noninteractive TZ=Europe/Belgium apt-get install -y openssh-client openssh-server && rm -rf /var/lib/apt/lists/*
COPY init.sh /init.sh
RUN chmod +x /init.sh
ENTRYPOINT ["/init.sh"]

with init.sh:
#!/bin/bash

export TEST='TEST'
export USER_ID=$USER_ID

mkdir -p ~/.ssh
mkdir -p /var/run/sshd
echo $SSH_KEY >> ~/.ssh/authorized_keys
chmod 600 ~/.ssh/authorized_keys
exec /usr/sbin/sshd -D

the env vars are available to process 1
e.g

authors: LennertDefauw1 coesensbert xmonader


text:
change how delete and provision signature are accepted and verified

After this commit, user that are requested in the delete or provision
consensus are only able to push a signature once.
If they already have a signature registered and try to put a new one, an
400 bad request error will be returned by the API.
This change allow to simplify the way we deal with signature array
internally and should prevent issue like #141
fixes #141

@muhamadazmy I think I've covered all the cases that could lead to a nil array.
We might still need to manually ensure there are not already such a null array  in the db and update that is needed.

repo: threefoldtech/tfexplorer


text:
Disable BTC deposit in app until issue is fixed

Having issues with the BTC deposits/withdrawels. Need to disable this function until it is resolved so people don't feel scammed / don't get upset bc it's not working.

Disabled by @MathiasDeWeerdt


text:
xtask: cli flags format

#221 implementation of the CLI is just a workaround for what I had initially thought. I would prefer to have something like cargo xtask test --zombienet <zombienet_options> --shim <shim_options> instead of multiple options with just the prefix 'zombienet'/'shim'. That is why, in the future, we may add more flags, so having the structs already seems like a good idea. What do you think is the best format for flags here @pepyakin @rphmeier ?

I am not entirely sure if/why we need this. However, if we do need this, we could follow the rustc approach. For example, -Clto=fat or -Zdebug-macros.

repo: thrumdev/blobs


text:
Lazy-load gatsby-remark-images?

What do you think of lazy-loading the images?
One option would be to use gatsby-remark-images with gatsby-remark-lazy-load by @1kohei1 (until gatsbyjs/gatsby#15716)
Ref: https://github.com/gatsbyjs/gatsby/issues/2288#issuecomment-483070110
Ref: https://github.com/gatsbyjs/gatsby/issues/15716
Similar issue: https://github.com/kentcdodds/kentcdodds.com/issues/230

Hi @karlhorky — Thanks for the issue, but this isn't something we'd like to prioritize right now.

authors: danoc karlhorky

repo: thumbtack/thumbprint


text:
Will there be a tutorial for Autoformer?

Will there be a tutorial for Autoformer? That will be helpful to the beginners, Thanks in advance.

Hi, you can find a blog in Huggingface: https://huggingface.co/blog/autoformer

repo: thuml/Time-Series-Library


text:
How to align wikipedia text with wikidata

Could you please offer code for align wikipedia data with wikidata to get the relation? I'm struggling with using wikidata query service to find the relation between two known entities. Thank you!

You can download the  wikidata dump from https://dumps.wikimedia.org/wikidatawiki/20190701/ to get all triples.

You can download the wikidata dump from https://dumps.wikimedia.org/wikidatawiki/20190701/ to get all triples.

Then which one shall I download? there are too many different types that I am confused

This may be helpful:
{"P1376": "capital of", "P607": "conflict", "P136": "genre", "P137": "operator", "P131": "located in the administrative territorial entity", "P527": "has part", "P1412": "languages spoken, written or signed", "P206": "located in or next to body of water", "P205": "basin country", "P449": "original network", "P127": "owned by", "P123": "publisher", "P86": "composer", "P840": "narrative location", "P355": "subsidiary", "P737": "influenced by", "P740": "location of formation", "P190": "twinned administrative body", "P576": "dissolved, abolished or demolished", "P749": "parent organization", "P112": "founded by", "P118": "league", "P17": "country", "P19": "place of birth", "P3373": "sibling", "P6": "head of government", "P276": "location", "P1001": "applies to jurisdiction", "P580": "start time", "P582": "end time", "P585": "point in time", "P463": "member of", "P676": "lyrics by", "P674": "characters", "P264": "record label", "P108": "employer", "P102": "member of political party", "P25": "mother", "P27": "country of citizenship", "P26": "spouse", "P20": "place of death", "P22": "father", "P807": "separated from", "P800": "notable work", "P279": "subclass of", "P1336": "territory claimed by", "P577": "publication date", "P570": "date of death", "P571": "inception", "P178": "developer", "P179": "part of the series", "P272": "production company", "P170": "creator", "P171": "parent taxon", "P172": "ethnic group", "P175": "performer", "P176": "manufacturer", "P39": "position held", "P30": "continent", "P31": "instance of", "P36": "capital", "P37": "official language", "P35": "head of state", "P400": "platform", "P403": "mouth of the watercourse", "P361": "part of", "P364": "original language of film or TV show", "P569": "date of birth", "P710": "participant", "P1344": "participant of", "P488": "chairperson", "P241": "military branch", "P162": "producer", "P161": "cast member", "P166": "award received", "P40": "child", "P1441": "present in work", "P156": "followed by", "P155": "follows", "P150": "contains administrative territorial entity", "P551": "residence", "P706": "located on terrain feature", "P159": "headquarters location", "P495": "country of origin", "P58": "screenwriter", "P194": "legislative body", "P54": "member of sports team", "P57": "director", "P50": "author", "P1366": "replaced by", "P1365": "replaces", "P937": "work location", "P140": "religion", "P69": "educated at", "P1198": "unemployment rate", "P1056": "product or material produced"}

authors: YeDeming caoh18 shacharosn

repo: thunlp/DocRED


text:
Fix DT header row span

This PR is a replacement of https://github.com/tiagobento/kie-tools/pull/65
The effect of changes in this PR, should ensure, that the DMN Decision table headers have two different row spans.
Input columns and annotation columns headers should have rowSpan equal to 2. Output clause columns should have rowSpan equal to 1.
before

after

manual test checklist

[x] selecting just input headers
[x] selecting just annotation headers
[x] selecting top level output header
[x] select single 2nd level output header
[x] select multiple 2nd level output header
[x] select firstly top level output header, still drag mouse pointer, and add 2nd level output header
[x] select firstly 2nd level output header(s), still drag mouse pointer, and add top level output header
[x] start selecting input headers, still drag mouse pointer, add top level output header
[x] start selecting input headers, still drag mouse pointer, add 2nd level output header
[x] start selecting input headers, still drag mouse pointer, add top level output header, and add annotation header
[x] start selecting input headers, still drag mouse pointer, add 2nd level output header, and add annotation header
[x] start selecting annotation headers, still drag mouse pointer, add top level output header
[x] start selecting annotation headers, still drag mouse pointer, add 2nd level output header
[x] start selecting annotation headers, still drag mouse pointer, add top level output header, and add input header
[x] start selecting annotation headers, still drag mouse pointer, add 2nd level output header, and add input header

Hello, @jomarko ! Thanks for the PR! Manual tests:
Issue 1: It's a small issue. In this image, if I navigate with the keyboard in "input-3" to the right, I go to "Decision-1". If then I press "down" I'm not able to go to "output-1":

Issue 2: Strange behavior while selecting cells after a output and a annotation is added. Steps to reproduce:
1. Create a Decision Table
2. Add an output to the right
3. Add an annotation to the right
4. Try to select by drag from annotation-1 to input-1
Video:
https://user-images.githubusercontent.com/7305741/228958065-8b95d55d-2fe9-43a1-b06e-99405f4d391d.mov

@jomarko Made a review testing the PR, found some issues:

The "Ctrl/Cmd + A" command to select all the cells is not working. When you hit "Ctrl/Cmd + A" on any row, the headers are selected. If you hit "Ctrl/Cmd + A" when the active cell is on the last row, it kinda works, but the rowIndex cells are being selected too.

https://user-images.githubusercontent.com/1584568/230963505-f96382ae-e8b0-4a95-9781-f24a80b144e5.mov

Mouse selection has erratic behavior when mixing two rows os cells. Notice how sometimes it selects two cells and sometimes it selects one.

https://user-images.githubusercontent.com/1584568/230963860-1478ea82-e701-4a50-8834-ecd2fe4bfb59.mov

Mouse and Keyboard selection is behaving differently. Notice how it's possible to expand the selection using the Keyboard when the rowIndex cells are selected, and how it's not possible to do the same with the Mouse.

NOTE: By design, if you start a selection on a rowIndex column, you can't expand it to "normal" cells. That's how it is currently on the bee-reisizing-perf branch.

https://user-images.githubusercontent.com/1584568/230963961-d8ef2772-fefe-48cb-87ce-9981a4f3daed.mov

Keyboard navigation is weird on the header. Sometimes the activeCell disappears and reappears after navigating more.

https://user-images.githubusercontent.com/1584568/230964192-5b6147ed-c6a0-4629-8b69-a1f6ce556f2c.mov

Weird behavior when selecting header cells with the Keyboard. Notice how when I expand to the "Annotations" column, the outputs that were previously selected are removed from the selection.

https://user-images.githubusercontent.com/1584568/230965274-fa5f8103-d05c-4407-b1dc-786edf096c37.mov

rowSpan'ed header cell borders are not consistent with the rest of the table. Notice how the "Inputs" cells have a lighter border than the rest.

From the code, I can tell that this new mechanism only works when there's one or two levels os nested columns. As mentioned previously, this component is the heart of many current and future initiatives. Even though we don't have a use-case for rowSpan=2 now, we most likely will have in the future. See SceSim, for example.

If we're adding rowSpan capabilities, we need to do it in a way that will work for any possible case.
See https://github.com/tiagobento/kie-tools/pull/89/files#diff-31e23eba3bb1e53d59a590fb00c694fb49d0ef9b3da816a28645d67c31683837R311

GENERAL COMMENTS
The original intent of this PR was to make BeeTable capable of rendering rowSpan'ed columns, depending on the configured column structure. Although some unrelated changes are welcome (i.e., i18n, Java function hint fix), some changes that it introduces alter the original behavior of BeeTable, causing unpredictable and unstable behaviors that harm the overall experience.
As mentioned before, a good way to approach the problem would be assembling a data structure that would hold rowSpans for each column. It's not possible to automatically determine the rowSpan of a column without looking at the entire column set. At least I'm not aware of any greed algorithm that can do it.
The original behavior of the BeeTable includes some design choices that were made when the selection mechanism was created. Such behaviors are easily observed on the bee-reisizing-perf branch.

Cells are divided in three categories:

Header cells
Normal cells
rowIndex cells

A selection cannot mix cell categories. I.e., a selection either contains only header cells, only normal cells, or only rowIndex cells.
Header cells cannot be part of the same selection if they're in different rows.
Keyboard navigation is locked to its selection domain. I.e., it's not possible to move from a normal cell to a header cell using the keyboard, and vice-versa. This applies to rowIndex cells too.
Pressing "Ctrl/Cmd + A" on any cell will expand the selection to the most cells it can, without breaking the rules above.
Cells that are both rowIndex and header cells (E.g., controller cells) are dead-ends, meaning that if you select them with the Mouse (it's your only option, btw, as you can't reach them with the keyboard), you cannot navigate away nor expand the selection using the keyboard.

These design choices have a lot of caveats, and they were made considering a fine balance between good UX, simplicity of implementation, and correctness. Of course there's room to improve, and we will do so, I just don't think this PR is the right place to do it. This PR changes these behaviors, on top of adding the rowSpan capabilities, making its scope much larger, and thus introducing unpredictable behaviors.

SUGGESTIONS

Remove the changes made to the selection mechanism, as most of the problems I found during my review were related to the selection.
Research or develop an algorithm that will compute the rowSpan of each cell prior to rendering, for any column structure with any depth.
Assign rowIndex equal to the bottom-most rowIndex that a cells spans into. This will most likely satisfy the existing selection mechanism. E.g, on the Decision Table, input columns will always rowIndex === -1. I expect that the only cell with rowIndex === -2, which is the "Outputs header" will become a dead-end cell, as there are no other header cells on its row.
Fix the visual glitches, like the missing borders.

Let me know if there are any questions!

Build fail doesn't seem to be related to my changes:

authors: danielzhe jomarko tiagobento

repo: tiagobento/kie-tools


text:
[BUG] Request body parameters (JSON fields) broken rendering

Describe the bug
Request body parameters (JSON fields) fails to render in example if preceded by Query/Path parameters and have exactly one Body parameter.
To Reproduce
Steps to reproduce the behaviour:
@router.post('/check/{build}')
async def get_full_release(
    *,
    build: str = Path('latest'),
    win: Optional[str] = Query(None),
    access_token: str = Body(...),
):

Expected behavior
In "Try it out!" and "Example" section should be text area pre-filled with
{
    "access_token": "string"
}

Screenshots

Environment:

FastAPI Version 0.31.0

Yep, as @Slyfoxy says.
If you want it to be embedded, here are the docs: https://fastapi.tiangolo.com/tutorial/body-multiple-params/#embed-a-single-body-parameter

authors: mktums tiangolo

repo: tiangolo/fastapi


text:
🌐 Add German translation for docs/de/docs/tutorial/bigger-applications.md

This is actually a translation of #10552, so I will mark this one as draft until that one is resolved.
← tutorial/security/oauth2-jwt.md (#10522)
→ tutorial/background-tasks.md (#10566)
German translation progress

📝 Docs preview for commit 17ae1e463ce8b9406a55c02f66461a4621b6be64 at: https://92c6f7fc.fastapitiangolo.pages.dev

📝 Docs preview for commit 7cd643a726238b051fbe659e5175af0151e6685c at: https://4e13194e.fastapitiangolo.pages.dev

📝 Docs preview for commit 8158824e6fd1e600bfeea904e4d3cd03bd895048 at: https://e1f7834a.fastapitiangolo.pages.dev

📝 Docs preview for commit 5a935b595af656ed3b2dc5fcc09b4455ecf2b15b at: https://0beea4aa.fastapitiangolo.pages.dev

📝 Docs preview for commit 087dfd739a9f689e887be629bb569de22e60549f at: https://097cca3e.fastapitiangolo.pages.dev

📝 Docs preview for commit 0388b329c2fb93bc93cc3bc43dca0c6c956b1880 at: https://9e0e09fd.fastapitiangolo.pages.dev

📝 Docs preview for commit 46bbda46702c6940613791e580b8a1309e31083f at: https://63a0ac99.fastapitiangolo.pages.dev

📝 Docs preview for commit 963302994ca55c2b5da294206df55f0264033f47 at: https://179c3004.fastapitiangolo.pages.dev

📝 Docs preview for commit fc3fc117569b09b1abc10c700de38d76d775551d at: https://9bdbe63b.fastapitiangolo.pages.dev

📝 Docs preview for commit f72f79db30890067d8035577ad87e979de3e0ac3 at: https://a4860ed5.fastapitiangolo.pages.dev

Awesome @nilslindemann! :rocket:
As you are the champion of German translations and you have done so many, and with so much attention to detail, I'm gonna go ahead and merge this. :tada:
If others see things that could be improved later, we can check that in new PRs. :nerd_face:

authors: nilslindemann tiangolo


text:
Custom glfw binding

Write our own custom binding to not depend on hexops/mach-glfw

Available here: https://github.com/tiawl/glfw.zig

repo: tiawl/spaceporn

license: Unlicense


text:
hex-code selbst definieren können

Wäre es möglich den hex Code der unterschiedlichen warnlevels selbst zu definieren? Ich hätte gerne die selben Farben wie ich auch in meiner vis verwende.
falls nicht auch kein Problem, dann wird ein binding helfen 😉

Wenn ich mich recht entsinne hast du mir mal deine Hexcodes gegeben. ODer war das jemand anderes...
https://github.com/ticaki/ioBroker.weather-warnings/blob/c73e6a799d6fd5d078ddd953dc0643d7e608c934/src/lib/def/messages-def.ts#L156
Da sind die Hexcodes, wenn du andere willst, poste diese 7 Zeilen einfach hier wie du sie brauchst. @sigi2345  ist ok?

@sigi2345 ist das ok?

Als Option  ja.

Das kommt jetzt nicht sofort aber ich habe folgende Idee:
Vorlage
das ist die rot = ${[hex,hex,hex,hex]warncolornumber}
geht nur mit Zahlen, 0 ist der erste eintrag links und dann wird das wiedergegeben was in dem [] steht.

ich will mich nicht mit meinen Farben aufdrängen. Dachte auch eher an das Objekt warnlevelcolorhex und weniger an einen Token. In den Benachrichtigungen möchte ich dann (wenn möglich) das Icon in der entsprechenden Farbe verwenden.

Das ist in den Admin einzubauen ist Arbeit und es wird immer unübersichtlicher, so ein token kann man auch für anders gebrauchen.

alles gut. Kümmer dich um die wichtigen Sachen ;-)
ich hab ja keine Ahnung vom Adapter kreieren und wie aufwändig das alles ist.

Ohne echte Warnungen kann ich nicht die wichtigen Sachen machen. Wie ist das was ich jetzt eingebaut habe.
Für mich selbst habe ich dafür schon eine Anwendung, aber die hat nichts mit Wetter zu tun sondern kommt von meinen Skripten, wenn das sendTo() zum Adapter mal eingebaut sein sollte. Ich überschreibe dann den warntype mit offline, zu kalt usw. wenn meine Sensorüberwachung einen Fehler findet.

Für mich kann das Thema geschlossen werden, denn es ist mit eine CustomArray Vorlage einfach möglich, da diese ja auch als Objekte verfügbar sind:


text:
🛑 TICKETS.GL is down

In eebbc9e, TICKETS.GL (https://tickets.gl) was down:

HTTP code: 0
Response time: 0 ms

Resolved: TICKETS.GL is back up in d6628c5 after 1 hour, 26 minutes.

repo: tickets/upptime


text:
🛑 TICKETS.ASIA is down

In 85275da, TICKETS.ASIA (https://tickets.asia) was down:

HTTP code: 502
Response time: 366 ms

Resolved: TICKETS.ASIA is back up in e2524ec after 17 minutes.


text:
Update proj5-part1-README-zh_CN.md

typo

typo description in the reading material

repo: tidb-incubator/tinysql


text:
[Progress Clock] Fixes timezones

Description

Updates code to utilize the timezone from config.

Copilot

🤖 Generated by Copilot at f3cfb78
Summary
🔒📝🌎

The progressclock app was improved to allow users to set their own timezone and to provide better documentation and security. The files progressclock.star, README.md, .gitignore, and manifest.yaml were modified accordingly.

Sing, O Muse, of the skillful progressclock app
That Jeffery Bennett, the wise and clever coder, made
He hid the .env file from the prying eyes of thieves
And gave his users the power to change their time zones as they please

Walkthrough

Update author name and app version in manifest.yaml and progressclock.star (link, link)
Add support for custom timezones in progressclock.star by using the timezone variable instead of a hard-coded location (link)
Add instructions for in-browser development and preflight linting in README.md (link, link)
Add a changelog section in README.md to document the app history and changes (link)
Ignore the .env file in .gitignore to prevent exposing sensitive environment variables (link)

:shipit:

repo: tidbyt/community


text:
Adds maze drawing app

Draws a random maze and then animates the solution.

There is one warning with the linting process. It is claiming a syntax error on a while statement. However, the syntax appears to be ok.

I have read the CLA Document and I hereby sign the CLA

There is one warning with the linting process. It is claiming a syntax error on a while statement. However, the syntax appears to be ok.

Can't have while loops in the code as infinite loops are bad. Easiest solution would be just to switch it to a for loop with a max number of iterations and break out of it early when conditions are met.

@rs7q5 Thanks for the heads up!

Hey @gstark. Thanks for the PR, and apologies for the very long lead time here.
There's a bit of an issue with apps that generate completely random content on each run. In a nutshell, it makes it very hard for us to cache the generated graphic as it keeps changing on every execution.
We have a workaround for this which involves each app providing a seed for the random number generator. That "keeps the randomness down", while still keeping the app changing over time.
For now, I'll merge this and try to cut a new PR for the app to move it over to using this feature. It's a bit experimental, but if it works as well as I hope then we should be able to publish this.
Feel free to ping me on discord if you want to stay in the loop. I'll also make sure to tag you here on any follow up PRs I make.

I see I'm not the only one who's been at the maze drawing exercises :) I really like the animated solution in yours with the changing colours.

authors: dinosaursrarr gstark matslina rs7q5


text:
[BACK-2734] Allow displaying PDF reports inline

A new query parameter inline was added to the GET reports endpoint to allow Xealth to display user reports inline. By setting "inline=true" the server will respond with a Content-Disposition: inline header which will make the browser render the PDF instead of opening a "Save" dialog.

/deploy integration

repo: tidepool-org/export


text:
add support for updating docs and release note labels on version update PR

Description
update release target to support adding docs and release note labels
For example, in this PR, the labels should not have release-note-required or docs-pr-required
Merge blocked by https://github.com/tigera/limerick/pull/41
For PR author

[ ] Tests for change.
[ ] If changing pkg/apis/, run make gen-files
[ ] If changing versions, run make gen-versions

For PR reviewers
A note for code reviewers - all pull requests must have the following:

[ ] Milestone set according to targeted release.
[ ] Appropriate labels:

kind/bug if this is a bugfix.
kind/enhancement if this is a a new feature.
enterprise if this PR applies to Calico Enterprise only.

/merge-when-ready squash-commits delete-branch release-note-not-required docs-not-required

OK, I will merge the pull request when it's ready, squash the commits when I merge it, and delete the branch after I've merged it.

I'm sorry but I failed delete the branch after merging the pull request.

authors: marvin-tigera radTuti

repo: tigera/operator


text:
Grid: Zero block padding, but not the entire block

Background
Previously when starting with a "fresh" grid block (e.g. before constructing a new block for writing), the fresh block was always zeroed.
This is nice in that it guards against buffer-bleeds. But zeroing the entire block (in grid.zig) is costly in terms of memory bandwidth.
Fix

In grid.zig zero the block's header (to guard against accidental reuse)...
...But don't zero the entire block buffer.
Before writing a block, zero its last sector's padding (since that last sector will reach the disk). (The StorageChecker verifies that the last sector's padding is zeroed.)

Excellent trick with zeroing just the header btw! Gives defense-in-depth without affecting performance!

authors: matklad sentientwaffle

repo: tigerbeetle/tigerbeetle


text:
vopr: fix Zig TODO

It now can generate random u128
Drive by change when reviewing #2004

I think this actually requries Zig 0.12! And it's correct that we fix this separately, rather than in that grand upgrade, to keep PRs smaller.


text:
Export Duster's specific PHPCS code style for use in projects' custom config files

E.g. just like they use @PSR12, they could use @Tighten or @Duster.

Working on it here:
https://github.com/tighten/tighten-coding-standard
But still have to figure out how to use it in a local:
https://twitter.com/stauffermatt/status/1360632514751197192

OK, it's now ready to be used (I haven't pushed a tag yet but it's working)

repo: tighten/duster


text:
Update 🥡 README.md

Adding a precision regarding the multiple MySQL containers example: they must not share the same volume
Fixed PostgreSQL spelling

Great update! Thanks @AlexMartinFR!

Thanks 🙂

authors: AlexMartinFR mattstauffer

repo: tightenco/takeout


text:
Resolve the TiKV OOM problem

Tracking issue to resolve the TiKV OOM problem.
Tasks:

TiKV memory tracing

[x] detail design
[ ] coding and performance regression test, detail: https://github.com/tikv/tikv/issues/10156.
[ ] report memory usages to PD, and then show it in dashboard

Global Memory quota

[x] detail design
[ ] coding and performance regression test
[ ] functional test

Global Raft Entry Cache

[ ] detail design
[ ] coding and performance regression test
[ ] functional test

Could you link to the detail design that marked as done?

I think the first design (TiKV memory tracing) is referred to https://github.com/tikv/rfcs/pull/59 .

authors: hicqu tisonkun

repo: tikv/tikv


text:
*:close tikv disk full feature in v5.2

Signed-off-by: tier-cap zhengxiaojin@pingcap.com
What problem does this PR solve?
Close cloud TiKV disk full feature in v5.2.
What is changed and how it works?

revert the disk place holder file size.
set the disk usage status normal and mock all update.
mock the disk stats worker.
mock handle_reported_disk_usage.

Related changes

PR to update pingcap/docs/pingcap/docs-cn:
PR to update pingcap/tidb-ansible:
Need to cherry-pick to the release branch

Check List
Tests

Disable the integration test

Side effects
Release note
None

/merge

/run-cherry-picker

/run-cherry-pick

authors: hicqu tier-cap


text:
add metrics

Signed-off-by: Qi Xu tonyxuqqi@outlook.com

What is changed and how it works?

Issue Number: Close #xxx
What's Changed:

Related changes

PR to update pingcap/docs/pingcap/docs-cn:
Need to cherry-pick to the release branch

Check List
Tests

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

Side effects

Performance regression

Consumes more CPU
Consumes more MEM

Breaking backward compatibility

Release note
Please add a release note.

Please refer to [Release Notes Language Style Guide](https://pingcap.github.io/tidb-dev-guide/contribute-to-tidb/release-notes-style-guide.html) to write a quality release note.

If you don't think this PR needs a release note then fill it with None.
If this PR will be picked to release branch, then a release note is probably required.

/run-build-amd64

/run-build

/run-build

/review default

authors: tonyxuqqi wuhuizuo


text:
Convert glimmer-syntax Walker to class

The glimmer-syntax's Walker class is currently using a function constructor instead of the class keyword.
Relevant code: https://github.com/tildeio/glimmer/blob/master/packages/glimmer-syntax/lib/traversal/walker.ts
Example of a class: https://github.com/tildeio/glimmer/blob/fe539562bbaf3229352214a2da645c0269c39e0f/packages/glimmer-util/lib/logger.ts#L24-L61
You can reach me or @tbieniek for help!

I can have a look

I think this can be closed since Walker is class now.

👍

authors: ingride locks simi

repo: tildeio/glimmer


text:
Missing newline character with get cluster and template

DOCKER_HOST=$(ctlptl get cluster kind-kind -o template --template '{{.status.localRegistryHosting.host}}')
echo ${DOCKER_HOST}

The above ctlptl command does not output a '\n' on the end of the output message, and I cannot find it.  This is causing me to try to remove the character in bash, which is turning out difficult

Thanks for the report! I'm not sure I totally follow though...

the missing newline is expected...it also happens with kubectl.

kubectl get pods -n kube-system kube-apiserver-kind-control-plane -o template --template '{{.metadata.name}}'

If there is no newline, I don't know why you'd need to remove it in bash?

I don't think you want to assign to DOCKER_HOST, since this is a registry url (not a docker daemon)...I suspect that's the real underlying problem...

In any case, I'll take this as a signal that we need better docs on how to get and use the registry url

Closing, I found my typo

added some more docs on this to help: https://github.com/tilt-dev/ctlptl#kind-with-a-built-in-registry-at-a-pre-determined-port

authors: chrislovecnm nicks

repo: tilt-dev/ctlptl


text:
Less Loader has been initialized using an options object that does not match the API schema.

this is my override script:
const { override, fixBabelImports, addLessLoader, addBabelPlugins } = require('customize-cra');
module.exports = override(
    fixBabelImports('import', {
        libraryName: 'antd',
        libraryDirectory: 'es',
        style: true, // 'css'
    }),
    addBabelPlugins(
        [
            '@babel/plugin-proposal-decorators',
            { legacy: true }
        ]
    ),
    addLessLoader(),
);

Failed to compile.
./node_modules/antd/es/style/index.less (./node_modules/css-loader/dist/cjs.js??ref--6-oneOf-7-1!./node_modules/postcss-loader/src??postcss!./node_modules/less-loader/dist/cjs.js??ref--6-oneOf-7-3!./node_modules/antd/es/style/index.less)
ValidationError: Invalid options object. Less Loader has been initialized using an options object that does not match the API schema.

options has an unknown property 'source'. These properties are valid:
object { lessOptions?, prependData?, appendData?, sourceMap?, implementation? }

I think the "source" option is being added by this line in the addLessLoader override function.
Since that is part of the customize-cra project rather than part of react-app-rewired, you'll need to ask further from the team at customize-cra. They'll be better able to help than we will, since they wrote the code in question.

authors: dawnmist junhwong

repo: timarney/react-app-rewired


text:
[ruby] Linting Cops の定義

関連する Issues
--
やったこと
標題の通り

全部書かないほうが楽なのは間違いないけど、
全部書かない場合「これ抜けてね？」に気付けるきっかけが少なくなるのが欠点かもしれない
NeoVim から ALE 経由で RuboCop 呼んでるから、
実際使い始めたら「あれここ warning 出ないの？」って気付くこともあるとは思うけど
とりあえず Cops を一通りさらって、あとは使いながら要望を集めて修正を検討する、かなあ

repo: timedia/styleguide


text:
Empty resultset on instant query regex

Describe the bug
Promscale returns empty results although data is present in the DB.
To Reproduce
Send query:
/api/v1/query?query=count by (job, instance, version) (prometheus_build_info{job=~".+", instance=~".+"})
Response:
{"status":"success","data":{"resultType":"vector","result":[]}}
Version

Distribution/OS: K8s
Promscale: 0.16
TimescaleDB: 2.8.1

I've had difficulty reproducing this issue (on Promscale master).
> curl -v 'http://localhost:9201/api/v1/query?query=count%20by%20(job%2C%20instance%2C%20version)%20(prometheus_build_info%7Bjob%3D~%22.%2B%22%2C%20instance%3D~%22.%2B%22%7D)&time=1669380801.153&_=1669380787421'
{"status":"success","data":{"resultType":"vector","result":[{"metric":{"instance":"cbpt:9090","job":"prometheus","version":"2.31.2+ds1"},"value":[1669380801.153,"1"]}]}}

When removing the time parameter, I was able to reproduce this once:
> curl -v 'http://localhost:9201/api/v1/query?query=count%20by%20(job%2C%20instance%2C%20version)%20(prometheus_build_info%7Bjob%3D~%22.%2B%22%2C%20instance%3D~%22.%2B%22%7D)'
{"status":"success","data":{"resultType":"vector","result":[]}}

But subsequent requests all returned the result:
>curl -v 'http://localhost:9201/api/v1/query?query=count%20by%20(job%2C%20instance%2C%20version)%20(prometheus_build_info%7Bjob%3D~%22.%2B%22%2C%20instance%3D~%22.%2B%22%7D)'
{"status":"success","data":{"resultType":"vector","result":[{"metric":{"instance":"cbpt:9090","job":"prometheus","version":"2.31.2+ds1"},"value":[1669383051.781,"1"]}]}}

> curl -v 'http://localhost:9201/api/v1/query?query=count%20by%20(job%2C%20instance%2C%20version)%20(prometheus_build_info%7Bjob%3D~%22.%2B%22%2C%20instance%3D~%22.%2B%22%7D)'
{"status":"success","data":{"resultType":"vector","result":[{"metric":{"instance":"cbpt:9090","job":"prometheus","version":"2.31.2+ds1"},"value":[1669383087.091,"1"]}]}}

> curl -v 'http://localhost:9201/api/v1/query?query=count%20by%20(job%2C%20instance%2C%20version)%20(prometheus_build_info%7Bjob%3D~%22.%2B%22%2C%20instance%3D~%22.%2B%22%7D)'
{"status":"success","data":{"resultType":"vector","result":[{"metric":{"instance":"cbpt:9090","job":"prometheus","version":"2.31.2+ds1"},"value":[1669383122.1,"1"]}]}}

At the very least, it doesn't look like the issue is because regexes are broken in principle.

I didn't get deep into this but if it's only reproducible when time is not present I have one idea. Since timestamp is in that case generated on Promscale (time.now()) and sent to query engine. So possibly we might not have a record in DB for given timestamp? I'll look more into this.

Hmm in my new environment I am somehow unable to reproduce this problem.
~ > seq 1 10 | xargs -n1 -P 10 curl -v --data-urlencode 'query=count by(handler) (prometheus_http_requests_total{handler=~".+"})' http://localhost:9201/api/v1/query

authors: JamesGuthrie niksajakovljevic

repo: timescale/promscale


text:
If the page is zoomed in on the panzoom element, the user cannot zoom back out

Basically, if the user is ever able to get the entire viewport to be contained by the panzoom element, they'll be stuck there since panzoom will consume further un-zoom events.
The way we're handling this now is by destroying panzoom when we get a panzoom event and can detect that the user is zoomed in (which is highly unreliable due to how various browsers handle zoom).
Is there a better approach to take here? Or is this just the state of things with browser zoom?
Expected behavior
Zooming out of panzoom while zoomed in zooms out the browser viewport first.

And totally unrelated, but thanks for developing and open sourcing this library! 💃

Thanks for opening an issue. And it's always nice to hear that someone appreciates the library. 🎉
Unfortunately, I don't see an easy way around this issue other than to disable browser zoom. You can pan and zoom a panzoom element or you can zoom a browser viewport, but I don't think you can do both at the same time.

authors: mherodev timmywil

repo: timmywil/panzoom


text:
Automatically recover from 429

Your package is extremely simple to use, thanks for this!!
When doing repeated document queries to our documentDB instance, I get the following 429 error in an unpredictable fashion (probably because one of our other services is performing actions?):
Error in selectDocuments(connectionInfo, queryText = query, enableCrossPartitionQuery = TRUE) :
  A 429 error occured during DocumentDB querying. Error Message: Message: {"Errors":["Request rate is large"]}
ActivityId: b2cfdc24-5b03-4eab-b6c8-c84e94d67d79, Request URI: /apps/514defcb-ac21-44e6-a8e0-c7b785523c6c/services/23357e57-84ba-4eb6-adc1-6df21ed8b5b4/partitions/6b5f2f77-b2b3-4dc0-a698-4d4ee891684a/replicas/131681651295792435s/, RequestStats:
ResponseTime: 2018-05-01T14:21:57.1720496Z, StoreReadResult: StorePhysicalAddress: rntbd://bl4prdddc02-docdb-1.documents.azure.com:14294/apps/514defcb-ac21-44e6-a8e0-c7b785523c6c/services/23357e57-84ba-4eb6-adc1-6df21ed8b5b4/partitions/6b5f2f77-b2b3-4dc0-a698-4d4ee891684a/replicas/131681651295792435s/, LSN: 8841342, GlobalCommittedLsn: 8841341, PartitionKeyRangeId: , IsValid: True, StatusCode: 0, IsGone: False, IsNotFound: False, IsInvalidPartition: False, RequestCharge: 0.38, ItemLSN: -1, ResourceType: Document, OperationType: Query
, SDK: Microsoft.Azure.Documents.Common/1.22.0.0

Is there a way in your package to keep retrying until the query executes? If not, I'm happy to do a PR if you can provide some pointers on where you think this functionality should be added.
Thanks!

Hey, I'm not sure this repo is actively maintained, but I was having a similar issue when I was using it on a project a while back. I submitted a PR, but never heard anything from the maintainer so I closed it. You could check out the code, might be of some use.

@davefrancis I saw, very useful indeed. I'll probably just fork the package and apply the subset of your changes that I need there. Thanks!

authors: davefrancis filipsch

repo: timoklimmer/documentdbr


text:
known_standard_library should add to the known set rather than replacing it

In develop, you can’t add modules to known_standard_library without replacing the entire set. This is a regression from isort 4.
For example, with known_standard_library = zoneinfo (new in Python 3.9, which I’m not running), isort 4 gives
import os
import re
import sys
import zoneinfo

import numpy
import requests
import six

but develop gives
import zoneinfo

import numpy
import os
import re
import requests
import six
import sys

@andersk It is not a regression, but an intentional change. Most other tools don't allow merging settings in that way, and isort has historically had several issues reported due to unexpected merging in this way. Isort should automatically detect zoneinfo as stdlib, without needing to add it to the list. Is there any example where a user should need to add to the stdlib list, without isort itself knowing that it is stdlib now that the list is meant to be extensive?

Some actual examples from zulip/zulip are posixpath (which I see you just added) and sre_constants. Also, if new modules are added to the standard library in the future, users may not want to wait for an isort release to start using them—especially given that there hasn’t been an isort release for a year—and will want a way to configure isort for them without re-typing the entire list of existing standard library modules.

@andersk Thanks! These are all great points! I think, what I could do that would allow both models of thinking to work is to add an extra_stdlibs configuration option - or similar. That way both options could be immutable while allowing adding individual libraries. In the meantime I've also added both of the stdlibs you mentioned to the generated stdlibs.

This has been fixed in develop with an --extra-builtin command line flag or extra_standard_library config option.

authors: andersk timothycrosley

repo: timothycrosley/isort


text:
operator stub, built with kubebuilder v2

What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.
Release note:

comments addressed @timothysc @vincepri

/lgtm

this should be good to go @timothysc

authors: frapposelli vincepri

repo: timothysc/clusteradm


text:
Display the current chapter title in the footer text

Could be done using CSS, see "Display chapter name in page header" here http://blog.michaelperrin.fr/2019/11/04/printing-the-web-part-2-html-and-css-for-printing-books/

I tried the CSS below, I suspect overwriting the print header and footer is not supported. Would appreciate a contribution here :)
/* Store chapter title, so it can be used in the footer of printed page */
#print-site-page h1 { string-set: chapter_title content(); }

@page {
    @bottom-center {
        content: string(chapter_title);
}

I'm not sure this is possible, closing issue. Feel free to re-open if you have a solution :)

repo: timvink/mkdocs-print-site-plugin


text:
feat(core): migrate to ScrollReveal v4.x.x

add desktop option in NgsRevealConfig
add beforeReveal$, afterReveal$, beforeReset$, afterReset$ observables in NgsRevealService to subscribe to these events (see usage here)

BREAKING CHANGE: Here are the breaking changes, mostly coming from ScrollReveal:

@types/scrollreveal is no longer necessary and must be removed from your package.son
options.distance now only supports em, px and % values
NgsRevealConfig default values have been updated to match ScrollReveal's
be aware that ScrollReveal now requires a commercial license, unless for GPL-3.0 compatible open source projects.

Coverage increased (+0.8%) to 95.238% when pulling 264d0bb338f07a09201411863f98a3bb541696e8 on feat-scrollreveal4 into 0f5b9a3fab9cbaa12e8dda1ffbe766b700bf131e on master.

authors: coveralls tinesoft

repo: tinesoft/ng-scrollreveal


text:
openPullRequestsLimit: 0 - Does it work to get security updates only?

Should this work for the taks parameter openPullRequestLimit too?

@piejanssens security only updates are currently not supported by this extension. Contributions are welcome.
Closing as duplicate of #161

authors: mburumaxwell piejanssens

repo: tinglesoftware/dependabot-azure-devops


text:
Avatar/Name Changes do not appear for users subscribed to group chat

See https://groups.google.com/g/tinode/c/S0y8Vr-AjdY
Only if you're subscribed directly to the user do you receive avatar/name changes. Also works on refresh.

This should be fixed now.

authors: akeybl or-else

repo: tinode/webapp


text:
Cloud data storage and login system (?)

Maybe an integration with Google Drive API ? "log in with google" ?
Perhaps we could use Firebase to store player data

At first i think we could use a json file, to store name, level, last position, items. What do you think?

To be honest, I was thinking of storing just the current hashed data that is aready generated (instead of storing it on the local storage, storing it on firebase)

authors: Latoh diguifi

repo: tiny-devs/tiny-dungeon-online


text:
feat: @ComponentScan no overlapped range

Description

COMPONENT_SCAN_WATERMARK added.
Importer is no longer a singleton instance class in order to reset the rootPath variable for scanning overlapped @ComponentScan() scopes.
Showing Nest-style error logs for overlapped scopes simultaneously will be developed later.
Below asynchoronous code is fully intended. Please check the description.

  /**
   * This code is intentionally structured to execute the callback function registered with `.then()`
   * and proceed through the event loop only after the asynchronous task of the `locate` function is completed.
   * Designed to handle potential errors after the scan is completed.
   */
  private catchDuplicateScanScope(value: { new (...args: any[]): any; name: string }, pathName: string) {
    locate(value as any).then(({ path }: { path: string }) => {
      if (!this.rootPath) this.rootPath = pathName;
      if (this.rootPath !== path) {
        new Logger(value.name).error('[@ComponentScan] module scope cannot be duplicated', `${this.rootPath}\n${path}`);
        process.exit(1);
      }
    });
  }

Checklist

[x] Add labels and reviewers ?
[x] Are you fully explaining what you changed ?
[x] Did you check that there is no conflict with the base branch ?

Since the deployment is urgent and there are no functional issues, I'll merge this for now.
The issues that haven't been completed in this PR will be addressed later. 🥰

repo: tiny-nestjs/auto-injectable


text:
More robust estimation of the primary beam response

At the moment we are using a gaussian response when estimating the apparent brightness of sources, whether it be candidate sources to peel or while constructing a sky-model.
We should consider adding a couple more accurate models, particularly ones that capture side-lobes. A sinc**2 would be a basic one, and extending this to include the nulls for the legs would be good.

This has been added, and we have added a sinc-squared response and an airy disc response.

repo: tjgalvin/flint


text:
Remove feed() and add remaining()

Closes #43.

What is remaining() good for?

It's supposed to help implement the streaming strategies in #43. But now you mention it, I suppose you can workaround this by taking token.index + token.size, and keeping a copy of the buffer yourself.

So if you're using streams you'd now do the following?
const lexer = moo.compile({ … })

fs.createReadStream(INPUT)
.pipe(split(…))
.pipe(new TransformStream({
  readableObjectMode: true,
  transform(chunk, encoding, cb) {
    lexer.reset(chunk.toString())
    for (const t of lexer) this.push(t)
    cb()
  }
})

Yes, although you need to save() state between chunks and restore it.

authors: nathan tjvr

repo: tjvr/moo


text:
Moq 4.8 Causes Failure on Setup

Moq 4.8 enforces matching types between setups and methods, which means our base Setup<TService>(Expression<Func<TService, object>> setup) call (using object) fails on a mismatch.

While we can get part of the way by modifying the expression and forwarding the call, I'm not sure we can return something valid for further setup on the fluent API.
var method = GetType().GetMethods(BindingFlags.Instance | BindingFlags.Public)
    .Where(mi => mi.Name == nameof(Setup))
    .Single(mi =>
    {
        if (!mi.ContainsGenericParameters) return false;
        if (mi.GetGenericArguments().Length != 2) return false;

        var @params = mi.GetParameters();
        if (@params.Length != 1) return false;

        return typeof(Expression).IsAssignableFrom(@params[0].ParameterType);
    });

var call = method.MakeGenericMethod(typeof(TService), setup.Body.Type);
var expression = Expression.Lambda(setup.Body, setup.Parameters);

var result = call.Invoke(this, new object[] { expression });
return (ISetup<TService, object>)result;   //Understandably, throws a cast exception.

There isn't really a clean solution to this. We've marked the method Obsolete and will throw an exception. (See #27)


text:
feature: add compaction,lease metrics

add lease metrics to troubleshoot lease leak issue
add  compaction metrics

repo: tkestack/kstone


text:
I322 gh actions

Fixes #322
I have built this on my forked repo.
https://github.com/pushyamig/canvas-app-explorer/actions
The latest build is successful Since we have 2 Dockerfiles we were just updating the local run docker file and not Prod run (which is how we set it up). This project uses Docker supervisor, which is kind of making npm watch work without adding it to Docker compose.

We may want to wait on merging this for at least a week or so as I have a few more thoughts on this. It's not required to test or even release to prod using the current workflow and doing it will involve some more changes to Openshift.

I'd probably delete the Dockerfile.prod and make the Dockerfile run supervisor.
Supervisor should only start the backend by default
The frontend should be started either by docker-compose.yml (which is used locally) or by start_backend.sh if it running locally. Some variable would have to be passed, possibly from docker-compose.yml to indicate that it's running locally
Then we'd need to make changes to the Openshift to pull Imagestreams from this new image.

We may want to wait on merging this for at least a week or so as I have a few more thoughts on this.

Ok, I will think about your ideas and how to implement it. The Supervisor stuff is new to me so it will be good learning

Sure! It looks like the website might be down. It basically allows you to start up multiple processes in a single container/pod rather than running multiple.
When developing this app, I thought this would be more efficient for running in prod due to cost, but isn't a huge advantage locally. And even in prod there's only one process running. Though other advantages are it can attempt to restart the app quicker if it fails and you have better configuration of where the logs are going.

This PR is functional but need to test the Build created from GH action on Openshif, since there is a slight change in how the app starts since now supervisor is used to launch.
I will keep the PR in Draft mode, once we pass the Prod release phase I will have it tested and open the PR

authors: jonespm pushyamig


text:
LSP: Proof step decorations look too distractive.

This is related to https://github.com/tlaplus/tlapm/pull/93.
The proof steps are now decorated by setting the sequent's background to a specific color.
To make it look nicer, I marked the entire lines instead of just a sequent (the whole line option).
In both cases, the file looks messy.
The decorations could be shown on the left (along the line numbers, folding, etc). I saw there is support for that in VSCode.
Some discussion and experimentation are probably needed here.

It was resolved in PR https://github.com/tlaplus/vscode-tlaplus/pull/316.
Gutter icons look better than the background colors.

repo: tlaplus/vscode-tlaplus