Delete unused code

We're not going to us ccbot; remove it from the repository.

The tests failed due to a 3rd party dependency; please disregard them while reviewing this. This code is not covered by our unit tests. https://travis-ci.org/creativecommons/cccatalog-api/builds/658280733?utm_source=github_status&utm_medium=notification


[Bug]: clang 15 defines __GXX_RTTI but doesn't have cxxabi.h

Describe the issue
In layout.h we have
if defined(__GXX_RTTI)
#define ABSL_INTERNAL_HAS_CXA_DEMANGLE
#endif

#ifdef ABSL_INTERNAL_HAS_CXA_DEMANGLE
#include <cxxabi.h>
#endif

which then falls over since cxxabi.h doesn't exist.
Steps to reproduce the problem
Build run clang-tidy version 15 or 16 (or presumably build with the corresponding clang version).
What version of Abseil are you using?
20230125.2
What operating system and version are you using?
Mac OS 13
What compiler and version are you using?
clang-tidy 15/16
What build system are you using?
cmake 3.26.3
Additional context
Using the conan package.

Hi,
It can be related?
https://github.com/paulocoutinhox/pdfium-lib/issues/102
Thanks.


[BUG] Unable to see images using esteem mobile 2.0.6 which are uploaded using busy interface

Describe the bug
I was checking my feed using esteem mobile v2.0.6 and i saw that in some posts only links appear instead of images and when i check same posts in esteem mobile v1 all images appears properly.
To Reproduce
Steps to reproduce the behavior:

Go to 'feed section using esteem mobile v2.0.6 and find out the post which has been created from busy.org interface' Here you can refer @slowwalker posts.
Click on 'the post link'
Scroll down where you can see only some links of the image instead of real images.
See error

Expected behavior
In place of links, there should appear images.
Screenshots or Video
First screenshots is from esteem mobile v2.0.06 where images do not appear.

And same posts is opening in esteem mobile v1 with all images see below, please.

Smartphone (please complete the following information):

Device: [Samsung J6]
OS: [Android
Version [8]

Additional context
Add any other context about the problem here.

Steempress images are not rendering (you can check @creativecrypto account to test it)


Kono Subarashii Sekai ni Syukufuku wo! Kibou no Meikyuu to Tsudoishi Boukenshatachi [PCSG01258]

Game summary

Game name: Kono Subarashii Sekai ni Syukufuku wo!
Game serial: PCSG01258
Game version: 01.00

Vita3K summary

Version: v0.1
Build number: 1333
Commit hash: https://github.com/vita3k/vita3k/commit/47bc370b

Test environment summary

Tested by: Zangetsu38
OS: Windows 10
CPU: AMD Ryzen 9 3900X
GPU: NVIDIA RTX 2070 Super
RAM: 16 GB

Issues

freze after press news game with get sound.

Screenshots

Log
vita3k.log

Vita3K v0.1.5 2723-c32ac263
goes ingame
missing text and has graphic glitches
ingame nothing but a black screen with music and sound fx
can the title be changed to
Kono Subarashii Sekai ni Syukufuku wo! Kibou no Meikyuu to Tsudoishi Boukenshatachi [PCSG01258]

vita3k.log

as of https://github.com/Vita3K/Vita3K/commit/fb470a9ff65e8fa1cc0a3972455cfa879cb051c4, the game can now display graphics ingame.
Screenshots

Log
vita3k.log
Recommended Labels

Playable


Resolve custom alias

Hi, I try to specify custom resolve aliases and I get always error Failed to resolve import ....
tsconfig.json
{
  "compilerOptions": {
    ...
    "paths": {
      "@/*": ["./src/renderer/src/*"],
      "@config/*": ["./src/renderer/config/*"],
    },
  }
}

electron.vite.config.ts
const alias = {
  '@': resolve(__dirname, 'src/renderer/src'),
  '@config': resolve(__dirname, 'src/renderer/config'),
};

export default ({ mode }) => {
  return defineConfig({
    main: {
      resolve: {
        alias,
      },
      plugins: [externalizeDepsPlugin()],
    },
    preload: {
      plugins: [externalizeDepsPlugin()],
    },
    renderer: {
      resolve: {
        alias,
      },
      ...
    },
  });
};

When I run electron-vite dev then I got errors:
Failed to resolve import "@config/config" from "src/renderer/src/App.vue". Does the file exist?
Failed to resolve import "@/App" from "src/renderer/src/main.ts". Does the file exist?

etc.

What am I doing wrong?
Electron-Vite Version
1.0.27
Electron Version
26.2.0
Vite Version
4.4.9
Validations

[X] Follow the Code of Conduct.
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.

Have just run into this issue myself.
this sample (inserted into every object under keys main/build/renderer) works for me just fine
resolve: {
      alias: {
        '@frontend': resolve(__dirname, "./src/"),
        '@electron': resolve(__dirname, "./electron/"),
        '@common': resolve(__dirname, "./common/"),
      },
    },

so, probably the ./ at the start of the second argument of resolve?

I try to add ./ to resolve paths and nothing changed. I got the same errors. It's mystery.

I run into the same issue and adding ./ won't solve the problem. Is there a code sandbox project or template including how to do this?

it turns out that the tsconfig path settings should be put in tsconfig.web.json or tsconfig.node.json. putting in tsconfig.json directly won't work.


Mixed-radix NTT support all orderings

One issue I have with this PR is that it's possible to force old radix-2 algorithm with an ordering like NM or MN. It might seem like test_ntt_batch checks correctness of it but it only compares batch and non-batch outputs of the same algorithm. While the outputs for radix-2 are consistent, they are not correct. Correct me if I'm wrong here. In terms of how to deal with NM and MN orderings in radix-2 NTT - I'm fine with a runtime error tbh cos it doesn't make a lot of sense.
About Rust NTT tests - they now take a pretty long time. One idea might be to put looping over the two algorithms as deeply as possible instead of at the very beginning of the test. This should reduce the CPU side work which is where the vast majority of test time goes into. Also it should make diffs much smaller and nicer to look at.

One issue I have with this PR is that it's possible to force old radix-2 algorithm with an ordering like NM or MN. It might seem like test_ntt_batch checks correctness of it but it only compares batch and non-batch outputs of the same algorithm. While the outputs for radix-2 are consistent, they are not correct. Correct me if I'm wrong here. In terms of how to deal with NM and MN orderings in radix-2 NTT - I'm fine with a runtime error tbh cos it doesn't make a lot of sense.
About Rust NTT tests - they now take a pretty long time. One idea might be to put looping over the two algorithms as deeply as possible instead of at the very beginning of the test. This should reduce the CPU side work which is where the vast majority of test time goes into. Also it should make diffs much smaller and nicer to look at.

Regarding NM, MN for radix-2: The way I am thinking about it is as follows: M (=Mixed) is by definition the order of the elements that a DIF NTT/INTT would produce given Natural inputs. DIT NTT/INTT of the same size expects this same order to output the Natural order back. Different NTT sizes would mix the elements differently but consistently per size. For element-wise ops like multiplication this is useful but again the only thing guaranteed here is consistency per size.
Therefore I am thinking of radix-2 R as a special case of M which means that NR an NM are the same for radix-2 (and same for RN and MN). I don't see a reason why this is invalid to do or should throw an assertion. Technically a radix2 NTT can be plugged to the mixed-radix algorithm and the top-level table would be all ones in the logn size, such that digit-reversal is exactly bit-reversal and so we have logn stages, each composed of N/2 NTTS of size 2.
You are right that the batch test is only testing that batch computation is equivalent to a simple loop over the elements with btach=1 for each.
User who want to specifically get R should specify R, not M and this is a stronger request. For radix-2 it's free but for mixed-radix alg it's more expensive and therefore if not required (like for poly multiplication) then M is good enough.
Regarding rust tests, TBH I did not think about it too much and thought that most of the time is building but yes you are right I will try to nest the loop and avoid reallocation of arrays etc. The small downside of that is that in-place computations (when/if we add them) may fail or behave different then expected although since we randomize inputs it's maybe not really a problem.

all in all looks fine, just wanted to ask - did you make sure that the changes to the reordering kernels didn't harm the performance of the simple cases (I don't think the should, but just to verify)

@HadarIngonyama do you mean that NN for example is not slower now? I did not verify since I did not think there should be any difference at all but I will verify just to be 100% sure.


[MRG] BUG: Update lobpcg.py to validate the accuracy and issue warnings

Update lobpcg.py to validate the accuracy and issue warnings
Reference issue
Closes https://github.com/scipy/scipy/issues/14784
What does this implement/fix?
Adding Postprocessing to LOBPCG output to validate the accuracy and issue a user warning  if the code exits without reaching the requested tolerance.

@tupui I have changed the stacklevel per your suggestions and added a new unit test that you had noted was missing, although unrelated to this PR.
It appears like everything works in this PR, with all failures unrelated. Could you have the hopefully final look?

I think we can put this in and since a couple of us have been looking at it lately, there is no showstoppers and if still minor issues left we can handle it before 1.8. Sorry for dropping out lately, I am having hard time sparing quality time. Nevertheless thanks @lobpcg @tupui !

Thanks for your reviews and suggestions @ilayn and @tupui !

There are 2  new warnings implemented:

problem too small for the actual LOBPCG to run, so it internally calls LAPACK. This needs to be silenced or even some tests removed.
iterations stop before the requested tolerance is reached because max number of iterations is topped. This may require a review if the value of the requested tolerance is reasonable, i.e. not too small, or the maxit parameter needs to be increased. If the test passes otherwise, the warning can of course be silenced


Monitor specs for Timelock using reverse reasoning

Rendered doc; closes #37.
Note that the monitor's TLA+ is far from being correct or complete, so please don't do nitpicking about minor things:) Those I can correct later. For now let's try to focus on the big picture, i.e. if the proposed approach to writing monitor specs makes sense.

This looks like a writeup for a blogpost. I was trying to understand how the structure imposed here would fit into the standard pre/post-conditions approach. I guess, it imposes some kind of specific shape on the monitors.

Since we have to run solarkraft verify against the timelock transactions, how shall we do that? Perhaps, add notes on that?

Since we have to run solarkraft verify against the timelock transactions, how shall we do that? Perhaps, add notes on that?

That's a good point. Insofar it has been in isolation; I need to make sure it fits well with the rest. Will do that.

The quantifications you use here (none/any/all of X fire) will be hard to check, or at least require multiple instrumented specs and model-checker calls, which will become quite costly.

Also a good point: I of course need to make sure that this fits well with the Apalache MC. Otoh, we could say that this is the general approach we use for structuring the monitor specs, and then in this phase cut some corners, e.g. perform certain translation steps manually, and automate them in the subsequent phases.
I will investigate.

I've noticed this PR seems to be creeping up on 1k LOC, would it be possible to split this into smaller PRs, which are easier to digest?


Fix invalid file when using UNITY_LICENSE_FILE

Changes
Fix invalid file when using UNITY_LICENSE_FILE
Checklist

[x] Read the contribution guide and accept the code of conduct
[x] Readme (updated or not needed)
[x] Tests (added, updated or not needed)

https://github.com/litefeel/Unity-RenameTools/runs/2254969836?check_suite_focus=true

This is not the right way to solve the issue. I will be closing this merge request.


Update version: B3log.SiYuan version 2.11.4

Pull request has been created with Komac v1.11.0 :rocket:
Microsoft Reviewers: Open in CodeFlow

For moderators
This account is automated by Github Actions and the source code was created by CoolPlayLin. If you have any questions about any pull request, don't hesitate to ping @Exorcism0666, I'll get a notification. It has the write permission of this account's fork so that it can resolve the issue directly.

[!important]
Please recheck these Pull Request carefully before merging. If it is a incorrect-removing Pull Request and the URLs don't have any issue while manual checking, please close this Pull Request directly(It's best to let Exorcism0666 know).

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

This manifest contains a term that is blocked:

LicenseUrl: https://b3log.org/siyuan/en/eula.html LicenseUrl: https://b3log.org/siyuan/en/eula.html LicenseUrl: https://b3log.org/siyuan/eula.html LicenseUrl: https://b3log.org/siyuan/eula.html

(Automated response - build 510.)


ID in building tags overwriting way ID

When using get_buildings(), the resulting id column (usually containing the way id etc) is overwritten with the tag id when it's present.
For example in Dorset, England there's a few cases where buildings have been tagged with id: 123.

When you then load this data in using get_buildings() the way ID is overwritten with the tag
from pyrosm import OSM
FILEPATH = "../data/raw/dorset-latest.osm.pbf"
osm = OSM(FILEPATH)
buildings = osm.get_buildings()

print(buildings[buildings["id"] == 123].head())

Output
       start_date wikipedia   id   timestamp version  \
181257       None      None<PHONE_NUMBER>031       1
187693       None      None<PHONE_NUMBER>732       1
193309       None      None<PHONE_NUMBER>862       1

                                                 geometry  tags osm_type  \
181257  POLYGON ((-2.47921 50.62591, -2.47916 50.62579...  None      way
187693  POLYGON ((-2.46822 50.66240, -2.46839 50.66240...  None      way
193309  POLYGON ((-2.47700 50.62089, -2.47700 50.62078...  None      way

As you can see, people have tagged the buildings with duplicate IDs and these have made their way into the dataframe.
I can see that keeping an id tag was an intentional choice made in the get_osm_ways_and_relations function of data_manager.pyx: https://github.com/HTenkanen/pyrosm/blob/66de74bd0496d1148618842cac58923bf22d97ea/pyrosm/data_manager.pyx#L104C1-L107C63.
I was wondering whether this was the expected behaviour? As this makes it challenging to guarantee the ID is unique and from the correct OSM source.
Environment:

OS:  Windows 10
Python package source: PyPi, pyrosm==0.6.2
Python v3.11.0

After taking a deeper dive, I realise that the section of code I was referring to here, is executed way after the ID problem arises.
I've gotten around it by adapting explode_way_tags in tagparser.pyx to prepend tagged to id in the tags. This prevents overwritting the original way ID with an ID from the tags.
cdef explode_way_tags(ways):
    exploded = []
    cdef int i, n=len(ways)
    way_keys = {}
    for i in range(0, n):
        way = ways[i]
        for k, v in way['tags'].items():
            if k == "id":
                way["tagged_id"] = v
            else:
                way[k] = v
            try:
                dummy = way_keys[k]
            except:
                way_keys[k] = None
        del way['tags']
        exploded.append(way)
    return exploded

If there's no other immediate issues with this solution, I'll open up a pull request.


sensor.scrape Issues On Hassio  0.70.0

Home Assistant release with the issue: 0.70.0
Operating environment (Hass.io/Docker/Windows/etc.): Hassio
Component/platform: sensor.scrape
Description of problem:
I used this platform for the first time but it has some problems
**Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
sensor:
  # 检测房产页面新帖子
  - platform: scrape
    resource: https://www.gaotang.cc/house/chushou/?dqid=1&key=&lx=0
    name: 'new_message1'
    select: ".news"
    value_template: '{{ value.split("前")[0] }}'

Traceback (if applicable):
2018-06-04 11:13:05 ERROR (SyncWorker_9) [homeassistant.components.sensor.rest] Error fetching data: <PreparedRequest [GET]> from https://www.gaotang.cc/house/chushou/?dqid=1&key=&lx=0 failed with HTTPSConnectionPool(host='www.gaotang.cc', port=443): Read timed out. (read timeout=10)
2018-06-04 11:13:05 ERROR (MainThread) [homeassistant.helpers.entity] Update for sensor.new_message1 fails
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 204, in async_update_ha_state
    yield from self.async_device_update()
  File "/usr/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 327, in async_device_update
    yield from self.hass.async_add_job(self.update)
  File "/usr/lib/python3.6/concurrent/futures/thread.py", line 56, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/lib/python3.6/site-packages/homeassistant/components/sensor/scrape.py", line 115, in update
    raw_data = BeautifulSoup(self.rest.data, 'html.parser')
  File "/usr/lib/python3.6/site-packages/bs4/__init__.py", line 192, in __init__
    elif len(markup) <= 256 and (
TypeError: object of type 'NoneType' has no len()

Additional information:

Possible duplicate of #14776.

What's the debug output of the scrape sensor?

Works for me:
2018-06-04 12:42:45 DEBUG (SyncWorker_1) [homeassistant.components.sensor.scrape]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

[...]

Copyright ©  gaotang.cc Inc. All rights reserved

2018-06-04 12:42:45 DEBUG (SyncWorker_1) [homeassistant.components.sensor.scrape] 1小时前

I'm having the same issue on 0.79.2, even with a basic HTTP (non-ssl) page:
sensor:
  - platform: scrape
    resource: http://www.stealmylogin.com
    select: "dangers"
logger:
  default: critical
  logs:
    homeassistant.components.sensor: debug

debug:
2018-10-02 19:25:14 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.command_line
2018-10-02 19:25:14 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.scrape
2018-10-02 19:25:14 DEBUG (SyncWorker_9) [homeassistant.components.sensor.rest] Updating from http://www.stealmylogin.com/
2018-10-02 19:25:15 DEBUG (SyncWorker_15) [homeassistant.components.sensor.rest] Updating from http://www.stealmylogin.com/
2018-10-02 19:25:16 DEBUG (SyncWorker_15) [homeassistant.components.sensor.scrape] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<title>StealMyLogin.com - exposing the dangers of insecure login forms</title>


LinterClang.Linter is deprecated.

AtomLinter v0.X.Y API has been deprecated. Please refer to the Linter docs to update and the latest API: https://github.com/AtomLinter/Linter/wiki/Migrating-to-the-new-API
LinterCpplint.Linter (/Users/zengjie/.atom/packages/linter/lib/linter.coffee:60:4)
new LinterCpplint (/Users/zengjie/.atom/packages/linter-cpplint/lib/linter-cpplint.coffee:24:4)
Object.lint (/Users/zengjie/.atom/packages/linter/lib/legacy.coffee:61:21)
<unknown> (/Users/zengjie/.atom/packages/linter/lib/editor-linter.coffee:68:23)
<unknown> (/Users/zengjie/.atom/packages/linter/lib/editor-linter.coffee:67:24)
Set.forEach (native)

Yes both linter-clang and this are using deprecated code. But it's really weird that Linter confused this package with linter-clang.


how to install chaosblade-operator1.7.3

Issue Description
Type: bug report or feature request
Describe what happened (or what feature you want)
Pure k8s enviroment,how to install chaosblade-operator1.7.3,I don't find chaosblade-operator-1.7.3.tar.gz ,According the md,I did not install successfully. I just can install chaosblade-operator-1.7.1 with the md document, Who can help me
Describe what you expected to happen
How to reproduce it (as minimally and precisely as possible)

Tell us your environment
Anything else we need to know?

+1

same query, so is chaosblad-operation1.7.3 fully released?

not yet

same query, so is chaosblad-operation1.7.3 fully released?

not yet


[prost-type] Derive Hash trait on Timestamp.

From what I'm reading it would fulfill the requirements for Hash:

Thankfully, you won’t need to worry about upholding this property when deriving both Eq and Hash with #[derive(PartialEq, Eq, Hash)].

The edge case is when the Timestamp is not normalized yet and would have mutated during the normalize() call. However since it's not implementing Eq it should still be sound.

What is the purpose of implementing Hash but not Eq?
It seems like we could just implement both by making manual implementations that operate on a normalized version internally.

I decided to not go that route because I do not believe having eq or hash should do extra overhead calculations. In these cases I wasn't sure whether it was intended that a non-normalized timestamp should equal a normalized timestamp without the need to call normalize.
For our use case it's perfectly fine that Timestamp is PartialEq the only issue was the missing Hash impl since we were trying to insert a proto message into a hashmap. The Timestamps in our cases should always be "normalized".

unfortunately this hash collections also require Eq not sure how I missed that.

Updated PR Description, tests, and impl.


Pagination

i will implement pagination.
i want to do pagination(next and previous) in laravel frame work.

Unfortunately we cannot provide support for third party frameworks but all endpoints that can return paginated responses will include the necessary information in the json payload to implement the desired behaviour client-side.

Thanks for response, please tell me i will do that through snap  of code in php.
please help me i trying but ..........

How to implement pagination in php with laravel


Using the @-syntax of curl -d.

Hi @melpon,
Nice project, and the API is just as it should be (I stumbled upon the page while trying to import my whole repo as sub-files into the Web UI).
My minor contribution, please kindly let me know if there's any CLA to sign.
Thanks,
Dima

Thank you @dkorolev !


Using latest quasar, imports of msalInstance and msalPlugin are not working.

Module '"vue3-msal-plugin"' has no exported member 'msalPlugin'.

Create new quasar app using defaults as per getting started guide
npm install vue3-msal-plugin
Created a src/boot/VueMsal.ts file in order to replicate the app.use() function.

import { boot } from 'quasar/wrappers'
import { msalPlugin, msalInstance } from 'vue3-msal-plugin'
import { EventType, AuthenticationResult, EventMessage } from '@azure/msal-browser'
import { msalConfig } from 'src/authConfig'

export default boot(async ({ app }) => {
    // Create a new MSAL instance with the defined configuration
    const newMsalInstance = msalInstance(msalConfig)

    // Get all accounts from the MSAL instance
    const accounts = newMsalInstance.getAllAccounts()
    if (accounts.length > 0) {
        // If there are any accounts, set the first one as the active account
        newMsalInstance.setActiveAccount(accounts[0])
    }

    // Add an event callback to the MSAL instance
    newMsalInstance.addEventCallback((event: EventMessage) => {
    // If the event is a successful login and the event has a payload
    if (event.eventType === EventType.LOGIN_SUCCESS && event.payload) {
      // Cast the payload to an AuthenticationResult
      const payload = event.payload as AuthenticationResult
      // Get the account from the payload
      const account = payload.account
      // Set the account as the active account in the MSAL instance
      newMsalInstance.setActiveAccount(account)

      /* Optioanlly, You can update the user store with the account data here.
      'account' refers to the account data obtained from the MSAL instance.
      */
      // updateUser(account)

      // Handle page refresh
      // Get the active account from the MSAL instance
      const activeAccount = newMsalInstance.getActiveAccount()
      if (activeAccount) {
        /* Optioanlly, you can update the user store with the account data here.
        'account' refers to the account data obtained from the MSAL instance.
        */
        // updateUser(activeAccount)
      }
      app.use(msalPlugin, newMsalInstance)
    }
  })

})

Error message:

@nuttybrewer try this
import { msalInstance } from 'vue3-msal-plugin/lib/msal-config';
import { msalPlugin } from 'vue3-msal-plugin/lib/vue3-msal-plugin';

The imports worked, but the bootstrapping doesn't seem to initiate. This
may be a Quasar problem though, so go ahead and close this issue and I'll
keep fiddling with the default quasar project to see if I can get it to
work.
Thanks,
Pat
On Mon, Apr 29, 2024 at 11:33 AM Dulan Hewage @.***>
wrote:

@nuttybrewer https://github.com/nuttybrewer try this
import { msalInstance } from 'vue3-msal-plugin/lib/msal-config';import { msalPlugin } from 'vue3-msal-plugin/lib/vue3-msal-plugin';
—
Reply to this email directly, view it on GitHub
https://github.com/DulanHewage/vue3-msal/issues/1#issuecomment-2083049757,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAM2ANIQOKTPXA2CSAJ2E4TY7ZR3JAVCNFSM6AAAAABGW574HGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBTGA2DSNZVG4
.
You are receiving this because you were mentioned.Message ID:
@.***>


[rust core] multi key command with no arguments, in cluster mode, panics

Consider the following example (in python, but crashes in every binding):
# Use full path
addresses = [NodeAddress("<IP_ADDRESS>", 7000), NodeAddress("<IP_ADDRESS>", 8000)]
config = GlideClusterClientConfiguration(addresses)
client = await GlideClusterClient.create(config)

for i in range(10000):
    response = await client.mset({})
    if "ERR" in response:
        print(f"error: {response}")

Same code using standalone client, (GlideClient) reports a proper error message:
lide.exceptions.RequestError: An error was signalled by the server - ResponseError: wrong number of arguments for 'mset' command

Fixed with this PR: https://github.com/valkey-io/valkey-glide/pull/2715


Add novae.csv

Created for 60 fps, but 30 works

So simple, but still awesome! I like it.
But, can you give a explanation for why the already fading colors blink/flash once more in most of the patterns (but not all)? Is that an error in the calculation or is there something like this in novae?

Yeah... Mostly I just didn't feel like debugging it. It's definitely not a physically accurate representation of novae, more just an inspiration.

The most interesting aspect for me is that this doesn't happen for every explosion. If you ever decide to debug it, I would start there.
May I ask, was this somehow inspired by my submission? Because there are some similarities. I'm not trying to claim any authorship or such, just saying that I could see someone coming up with this one after they saw mine and given they already work in this field or are interested in these phenomena. And the ideas are clearly very different, only the look is alike to some extends. (And to prevent a situation that I don't want to cause: please don't close this PR just because mine has some similarities, I just had to deal with someone taking my comments to personally today already, I don't need another discouraged contributor, I wholeheartedly like this one)

Ah, no, I actually hadn't seen yours, but now that I have I can understand your thoughts. No, I just thought this might be a cool effect, vaguely influenced my background in astronomy.
For the brightening, I think it only happens when one explosion hasn't fully dimmed before the next one begins, and my conditions for how the lights are colored were kinda sloppy (just a long line of if...else's). My guess is that I just screwed up one of these statements slightly or didn't account for some condition.


Reimplementation of Undo redo

Summary:
Modified undo redo and EditHealthWorkerCommand to support each other
Reestablished some tests involving undo redo

LGTM!


Improve passwords

So basicly current you can use super insecure passwords like: password or something simmilar. Becuse there is only one validation - password length! So I decided to improve this a litte and first I only added more validation (one lowecase, one uppercase, one number and one special char). But later I think this not especialy good, so I added configuration for passwords to Settings tab. So now you can force using strong passwords to your server administrators and also don't need to use very complicated passwords for localhost purposes.

Good commit

Making this configurable is kinda too much, we don't want to overwhelm the user with too many options;
If it was to be configurable, just a "entropy" or a checkbox to enforce more secure passwords, not configuring every single parameter;
We do have rate limiter in the auth webroutes, so bruteforcing is not as easy as it looks.

With that said, I actually looked into adding password checks, but this needs to be done in 3 places and would make this "business logic" rule to be spread in 3 places.
Just not worth the headache to do it now since soon we will migrate to React, which will make our life way way easier.


Miscellaneous fixes of ops | fix(torchlib)

Fixes for comparison ops, mish, bitwise_shift from findings in https://github.com/justinchuby/torch-onnx-op-matrix/pull/20

Need to fix bitshift


Add mapping Source Method Call To Target Property

It seems that in some cases it would be convenient to have automatic conversion by calling a method on the source object, for example:
public record Model(int[] ErrorCodes)
{
    public bool HasError()
    {
        return ErrorCodes.Any(x => x != 0);
    }
}

public record Dto(int[] ErrorCodes, bool HasError);

[Mapper]
public partial class Mapper
{
    public partial Dto Map(Model model);
}

could produce:
public partial class Mapper
{
    [global::System.CodeDom.Compiler.GeneratedCode("Riok.Mapperly", "<IP_ADDRESS>")]
    public partial global::ConsoleApp1.Dto Map(global::ConsoleApp1.Model model)
    {
        var target = new global::ConsoleApp1.Dto(model.ErrorCodes,model.HasError());
        return target;
    }
}

or
public record Model(DateTime[] AllDates)
{
    public DateTime GetLastDay()
    {
        return AllDates.Max();
    }
}

public record Dto(DateTime LastDay);

[Mapper]
public partial class Mapper
{
    public partial Dto Map(Model model);
}

could produce:
public partial class Mapper
{
    [global::System.CodeDom.Compiler.GeneratedCode("Riok.Mapperly", "<IP_ADDRESS>")]
    public partial global::ConsoleApp1.Dto Map(global::ConsoleApp1.Model model)
    {
        var target = new global::ConsoleApp1.Dto(model.GetLastDay());
        return target;
    }
}

I understand that this can currently be solved with user mapping methods in the mapper, but it seems that sometimes this could be avoided with the proposed solution.
I think the rule by which this should work should be simple - it works when the method name ends with the target name

The 'magic' that Mapperly handles becomes more and more with every new feature. This would add additional complexity to Mapperly and add more magic (especially the variable prefix). I think for most of these mappings it can be solved quite simple by replacing the source method with a property getter (e.g. public DateTime LastDay => AllDates.Max()).

I think for most of these mappings it can be solved quite simple by replacing the source method with a property getter

This is true, but the source type is not always editable, it may be provided by library code. In our not very large project, we came across this only once, when we integrated with a third-party service.
Based on the lack of similar requests, this is a very rare situation.
I think increasing complexity is a natural process for all evolving products. In any case, the decision is yours.


Network assignment

Hello every one.
Is there any  code for network assignment ?
Best regards,
Orlando

Hi @orlandoandradeb , do you mean homework assignment?


Refactored urllib to be compatible with Python 3

Refactored urllib in harsanitizer.py and harsan_api.py to be compatible with Python 3:

Changed import urllib2 to from urllib.request import urlopen
Changed urllib2.urlopen to urlopen

I don't have the power to merge any new changes. please fork this repository and commit your changes there


Release at pypi.org

It would be great to have an option for installing whisply via "pip install whisply". See https://packaging.python.org/en/latest/tutorials/packaging-projects/

Done.

Done.


refactor(parser): remove dead code warning when running tests

#5805
#5804  👈
main

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

Join @overlookmotel and the rest of your teammates on  Graphite


Zei's Stone of Vengeance

It is calculated as 2.4 patch (45% - 50m instead 60% - 50m {100rank})

Fixed.


[GEARPUMP-308] Fix TransformTask output time

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

[x] Make sure the commit message is formatted like:
[GEARPUMP-<Jira issue #>] Meaningful description of pull request
[ ] Make sure tests pass via sbt clean test.
[x] Make sure old documentation affected by the pull request has been updated and new documentation added for new functionality.

Test failure is unrelated here but to https://issues.apache.org/jira/browse/GEARPUMP-301

+1


Crash with bad TileID

Steps to Reproduce:

Launch tangram
Rotate upside down
zoom out
try to move across tile dayline
WIll notice a crash (and if you look closely, it will be in MVT datasource trying to parse an illegal tile ID).

In the case I tried, the illegal tileID was: x: 3, y: 1, z: 1.
Highly likely there is a bug in this code: https://github.com/tangrams/tangram-es/blob/master/core/src/view/view.cpp#L498-L504

Can't reproduce. Are you running on a specific branch? A specific device?

No we were running this on master branch on desktop os x.

Me too, still can't reproduce. Seems to work fine on my phone too.

I can get to this in some time, need some other things to take care of first.
I think @karimnaaji meant "No", we can :D. He only showed me this :D.

Oh yeah sorry @blair1618 ! I meant no, it's not a specific branch :)

I see. Can this be consistently reproduced on more than one machine? (My laptop with ubuntu doesn't produce this crash either)

We have been able to reproduce this every single time.
@blair1618 check the fix here: https://github.com/tangrams/tangram-es/pull/395.

The view has to be tilted to reproduce this, not upside-down. #395 does indeed correct the problem, will merge.

We were able to reproduce it with upside down or rather any kind of rotation. But yes, its confusing how that fix in #395 fixes the rotation case also.
2 people here were able to repro it. :D.
Anyhow, #395 is a step in the right direction.


site down

Hi, I wanted to inform you that the site https://alexa-node-red.bm.hardill.me.uk/
is unreachable.
Is it a temporary problem or are there particular failures?
Many thanks for your job

back up

back up

Thanks.

Thanks.


Beginning to update /league to start the championship arena

Context
Needs to ship tonight!
This adds the leaderboards and UI to the codecombat.com/league page to start the tournament.
Features
Mock up: https://docs.google.com/presentation/d/1rMurM61PFVPXWGfOKJ3ytlZtBeJjGUxOSwnLz83tRwg/edit#slide=id.p
Has a section for prize, and links to Infinite Inferno.
The logic for the new championship leaderboard is.... duplicated and I am sorry. Due to time constraints didn't have time to refactor the state or create an instance module.
Essentially the seasonalLeague vuex module duplicates out the global ranking, league ranking and session state (with associated actions).
How to test

Spin up a local proxy with npm run dev and npm run proxy.

Navigate to localhost:3000/league

Andrew has tested the following cases:

Logged in user without a session in infinite inferno. Global page & Team pages.
Anonymous user, Global page & Team pages.

Screenshots

Global Infinite Inferno leaderboard (without player session):

Clan specific leaderboard:

Hi, I want to post a bug, but I don't really know where to post it. When you click the link for Infinite Inferno in the dungeon, it brings you to the Blazing battle leaderboard. Just want to put that out there. :)

Thanks @CocoCharlie, I have that fixed in https://github.com/codecombat/codecombat/commit/a9e34bd385ba14523e5ac965ce5869b5aca768ea


Is this repo abandoned? (I can help)

Hi @PatrickJS,
This seems to be the definitive awesome-list for angular. Just wondering if you would like some help merging PR's and updating information? Let me know
Cheers,
Ben

Yeah, plz help

Can you give us a list of all the things that are deprecated?
On Tue, Apr 14, 2020 at 1:31 AM PatrickJS<EMAIL_ADDRESS>wrote:

Yeah, plz help
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/PatrickJS/awesome-angular/issues/405#issuecomment-613234319,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABHGNO2EA27AHIB2LQX6NELRMPYLNANCNFSM4MHK4OHQ
.

Well i could also help if you want. Would be nice to contribute to some angular community stuff.

I added you guys anyone that helps feel free to add your github to the sponsor list for the repo


Does it support Xamarin.Forms?

I downloaded and installed the Profiler but I didn't find it for my UWP app based on Xamarin.Forms. Does it support Xamarin.Forms?

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

ID: e9e9c055-6a8e-5e81-00c7-e57c8c912a8b
Version Independent ID: 28ac7239-a6c2-e31e-d423-b5268fd95c65
Content: Xamarin Profiler - Xamarin
Content Source: docs/tools/profiler/index.md
Product: xamarin
Technology: xamarin-crossplatform
GitHub Login: @conceptdev
Microsoft Alias: crdun

You can try Visual Studio profiling tools to look at Windows apps such as UWP.
From the Xamarin Profiler page:

The Xamarin Profiler a graphical interface for the Mono log profiler, and supports profiling Android, iOS, tvOS, and Mac applications on Mac, and Android, iOS, and tvOS applications on Windows.

Xamarin.Forms is an SDK that runs on various platforms. Use the correct profiling tool for the target platform.


Completed Tasks 1 & 2 for Lab 8

Completed Task 1 to 2 for Lab 8

Fixed bugs, cleaned up code a bit
Combined 2 servers into 1
Created a new set of “Protected” API routes

Documentation, Tests, and Task 3 are incomplete

Tests will fail because there are no tests! The API will run if cloned and installed.


Introduce Product Type Enum

The current API-response for getPrices() constrains the layout of the pricing page, where I would like to categorise different "types" of prices based on "products".
If we could introduce a new enum-field productType and possibly even a short description within the API, that would allow for much more organized, structure pricing page:
{
	productType: "networking" | "controlplane" | "compute" | "backup"
	description: string
}

I am not sure about the exact ENUMS for productType, this is just a first draft.
Let's discuss!

My proposal:

Product
ProductType

storage
storage

c1-medium-x86
machine

ip
networking

c1-xlarge-x86
machine

c1-large-x86
machine

n1-medium-x86
machine

snapshot
networking

volume
storage

controlplane
machine/controlplane  ?

I think I'd suggest storage, network, compute, kubernetes

We should think about good descriptions for our products. @philiphaas Maybe you have better ideas than me. 😄

Product
ProductType
Description

ip
network
Connect to the internet.

c1-xlarge-x86
compute
Our big work horse for difficult tasks

c1-large-x86
compute
Our medium sized server.

n1-medium-x86
compute
Our small sized server.

snapshot
storage
Backup your data.

volume
storage
Store your data.

controlplane
kubernetes
The control plane offers a highly available kube-apiserver, a dedicated firewall, IDS events and private networking with an internet gateway.

@Pilzington Thank you for working on this so quickly!
Just to provide some further context, this will be helpful as part of this PR: https://github.com/metal-stack-cloud/website/pull/178
Within this PR, this is the filtering I currently have to do:
https://github.com/metal-stack-cloud/website/blob/561a8581ce475abc8261996865225b0326db0388/sites/website/src/routes/[lang]/(landingpage)/prices/%2Bpage.svelte#L29C5-L33C73

As for descriptions, how about usage/workload recommendations for the compute resources? Below are some concepts

Product
ProductType
Description

ip
network
Connect to the internet with ephemeral or static public facing IPv4 addresses.

c1-large-x86
compute
Idea 1 (workload intensity and max. recommended nodes) Recommended for the most complex workloads or roughly 20 worker nodes.

c1-medium-x86
compute
Idea 2 (more concrete examples) Perfect for scaling large APIs or running BI software

n1-medium-x86
compute
Idea 3 (more playful with example workloads) Smooth sailing for simple workloads or just to try our service

snapshot
storage
Backup your cluster instances or persistent volumes.

volume
storage
High performance NVMe-over-TCP persistent storage.

controlplane
kubernetes
Includes a highly available kube-apiserver, a dedicated firewall, IDS events and private networking with an internet gateway.

@Conceptiks I am not sure what you mean by or roughly 20 worker nodes


Support for twisted.python.lockfile

Specific functions, test and other code to support the conversion of twisted.python.lockfile to pywincffi.

Implemented and tested (manually) in opalmer/twisted@1606f2cf39004572e214050f463fbdfcc27eaaf2.  Merging once the build goes through.


upgrade rusqlite due to rust-lang/rust#49799

I have some trouble building this crate without windows. Please exercise this PR on your side, sorry

There are some breaking changes to rusqlite since 0.13.0, particularly with i32 being replaced by usize in parameterized queries. Could you ensure that everything builds as expected?

I'll try building it on a CI service or so.

I did a pretty botched job, and didn't even bump rusqlite in the support crates. I have more WIP in this branch, built by travis https://github.com/hdhoang/seiri/tree/ci
So far I have found &[]  needs to be replaced with rusqlite::NO_PARAMS. More troublesome is somehow all columns in add_track want String.

I've reverted the PR for now since I don't have much time lately to test this, if you manage to update everything to work with rusqlite 0.15.0, I'll merge those changes in then.

#11 fixes this issue. rusqlite is now at 0.15.0


endocrania, fraps

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.4
logical conflict every: 100
sleep for: 300s
[pullrequest]
requests per hour: 30
deps=[e,f]

/trunk merge


API change: embed brand_string in GetX86Info()

This is an API change.
It reduces the chance that user passes an invalid buffer to FillBrandString

@gchatelet, do we need to close this PR? Since already merged into master https://github.com/google/cpu_features/pull/214


Add possibility to tag itinerant shops on OpenStreetMap

Itinerant shops are not allowed for tag until now. I launched a subject on the OpenStreetMap forum to know if a solution exists for that kind of shop.
https://help.openstreetmap.org/questions/67231/can-we-tag-mobile-vans-that-are-once-a-week-at-same-location

Feature added to CartoVrac in: fb7d8c6d89e88a16487476b1ae61aa0e332513d3


Run MiniKube tests in a CronJob

What does this PR do?:
Runs the Devfile MiniKube tests in a CronJob that runs every day at Midnight (5 am UTC)
Which issue(s) this PR fixes:
Link to github issue(s)
PR acceptance criteria:
N/A
How to test changes / Special notes to the reviewer:
N/A

Had to ammend my commit to add the signed-off-by header 🤦


Only pretty-print each file one time

The previous formatter flow pretty-printed each file twice, in
order not to change the meaning of the code when removing
semicolons. This made debugging more difficult, because the
second pretty-print was running on already transformed code,
and also caused strange crashes if the result of the first
pretty-print was malformed.
This change eliminates the first pretty-print, running it only
once as the final formatting step. This is done by swapping in
newline charaacters, where appropriate, during semicolon removal.
A side-effect of this change is that a spacing bug is revealed
in the rare case of if (cond) /** doc */ ;. Apparently double
pretty-printing hid this behaviour. In exchange, a related bug
is fixed: if (cond) ; else x no longer crashes.

Ping

Awesome! And if we're lucky this is also a noticeable speedup.

Awesome! And if we're lucky this is also a noticeable speedup.

Good point! I checked and am seeing a 15% speedup, or about 0.5 ms per file. That's pretty awesome!


Update test_whisper.py

Coverage remained the same when pulling 886ce9cdadfac6ea221f16a0045828a9696332c1 on h4ck3rm1k3:patch-1 into c35e60b15148fc60c4404b2cab9903b7ea2f02d7 on graphite-project:master.


icons not displayed

hi,
adminition exclamation & title icon not displayed.
I think the issue is due to a bad installation of "Font Awesome" but there is a lack of explanation about how to do it.
My Readthedokus templates parameters on dokuwiki :

Enable Font Awesome. => True
Specify a tag to include Font Awesome -><link href='/css/all.css' rel='stylesheet'>

I receive this  string from fortawesome.com -> <script src="https://use.fontawesome.com/##########.js"></script>
i then create theses files and put the sring inside:

/conf/meta.html
/lib/tpl/readthedokus/meta.html

Without any succes.
Could you explain how to deal with this template to have icons displayed ?
Regards,
Stéphane.

Hi, thank you for using the ReadtheDokus template, and sorry for lacking information.
Could you try putting the string from fontawesome.com into the "Specify a tag to include Font Awesome..." option?
i.e.
Specify a tag to include Font Awesome...:
If it does not work, could you try simple HTML without DokuWiki, creating index.html like this:

If the home icon doesn't appear then the path is wrong. If it shows the correct icon then .... tell me and I'll find out other solutions.

I made a new inscription on https://fontawesome.com and now i have acces to the version 6.2 and etherything works fine !
(I first made by mistake a registration on the CDN version of fontawesome which seems to be limited to version 4.7)


unify and tidy objstore setup for azure, bos and oss

Signed-off-by: Nicholaswang<EMAIL_ADDRESS>Change is not relevant to the end user.
Changes
1, add NewBucketWithConfig func for azure, bos and oss to keep updated with cos and s3
2, add config validate func for loss

cc @hanjm, can you please help review this one?

LGTM
ci tests flaky, just retrigger it.

@yeya24 @hanjm Any ideas to retrigger the ci?

@yeya24 @hanjm Any ideas to retrigger the ci?

git rebase -i main && git push -f

seems like this is reproducible. Is anything wrong with the ci running environment?

hi @Nicholaswang, you can run make go-lint in local . and see what change about oss.go. :)


pkg/util: Change check-dns init container image

The image currently used is busybox:1.28.0 which uses uclibc.  This is
causing nslookup to fail name resolution when it shouldn't in some
environments.  The version of busybox that uses glibc does not suffer the
same problem.
Related:
https://github.com/docker-library/busybox/issues/9
https://github.com/docker-library/busybox/issues/27

@etcd-bot ok to test

@lander2k2
Can you provide a failure scenario and let me see if I can reproduce it.

@hongchaodeng
I've been unable to reproduce the error in AWS but here's the test I employed in the VMware environment where this is happening.
# bbox-po.yaml
apiVersion: v1
kind: Pod
metadata:
  name: bbox
spec:
  containers:
  - image: busybox
    name: bbox
    command: ["sleep", "86400"]

# bbox-glibc-po.yaml
apiVersion: v1
kind: Pod
metadata:
  name: bbox-glibc
spec:
  containers:
  - image: busybox:glibc
    name: bbox-glibc
    command: ["sleep", "86400"]

$ kubectl create -f bbox-po.yaml
$ kubectl create -f bbox-glibc-po.yaml
$ kubectl exec bbox-glibc /bin/nslookup tectonic-lb.tectonic-system.svc
Server:    <IP_ADDRESS>
Address 1: <IP_ADDRESS> kube-dns.kube-system.svc.cluster.local

Name:      tectonic-lb.tectonic-system.svc
Address 1: <IP_ADDRESS> tectonic-lb.tectonic-system.svc.cluster.local

$ kubectl exec bbox /bin/nslookup tectonic-lb.tectonic-system.svc  nslookup:
can't resolve 'tectonic-lb.tectonic-system.svc'
Server:    <IP_ADDRESS>
Address 1: <IP_ADDRESS> kube-dns.kube-system.svc.cluster.local

Sorry I can't give a more universally reproducible example.  I did think this was related to a bug in uclibc related to nameserver search path length [1] but I've been unable to induce the error outside the VMware environment by manipulating the search path.  :/
[1] https://mailman.uclibc-ng.org/pipermail/devel/2016-February/000775.html

Going to do a release later today. So I will merge this and add the comment myself.


[Epic] Better docs search: GA

this issue is still in the design process and is not yet ready for eng work
overview
current docs search is pretty broken and does not meet users needs. some previous convo around this happened in #1558 and #4213
examples of user's frustration

searching for transformation gives some results, none of which link you to the resource options which was what the user was looking for
searching for tokens links you to 5 different pages on tokens none with any context around what questions they answer

trying to search for specific features in the console leads to frustration usually with no relevant results

features we need in search

[ ] accurate results
[ ] typos should not result in limited results
[ ] search results need context to the information they provide, e.g., is it part of the aws docs?
[ ] auto-complete, and ability to see results as you type

tools to research

[ ] algolia docs search
[ ] swift type
[ ] elasticsearch

See also https://github.com/pulumi/docs/issues/1558 and https://github.com/pulumi/docs/issues/3519 (which possibly should be closed as dupes of this or vice versa?).

a recent community slack mention requesting context in our search results

Question:  Is there an equivalent API to Terraform's for searching for an AMI? I found the lookup API, but I can't tell if I can use that to search or if I have to know specifically which AMI to get. Need to find a way to find the built AMI when creating the instances.
This is what they are looking for:
https://www.pulumi.com/docs/reference/pkg/aws/getamiids/ OR
https://www.pulumi.com/docs/reference/pkg/aws/getami/ or
Suggestion for docs:
One documentation suggestion: include the module in search results. For instance, when I search for "Role" I get 20 results but they all just say "Role". I've been hovering over each result and looking at my browser's status line to figure out which module they're associated with
Here is the search

Question:  Is there an equivalent API to Terraform's for searching for an AMI? I found the lookup API, but I can't tell if I can use that to search or if I have to know specifically which AMI to get. Need to find a way to find the built AMI when creating the instances.
This is what they are looking for:
https://www.pulumi.com/docs/reference/pkg/aws/getamiids/ OR
https://www.pulumi.com/docs/reference/pkg/aws/getami/ or
Suggestion for docs:
One documentation suggestion: include the module in search results. For instance, when I search for "Role" I get 20 results but they all just say "Role". I've been hovering over each result and looking at my browser's status line to figure out which module they're associated with
Here is the search

Notes from our sync February 12
@davidwrede dropping these here rather than editing the issue body. We said today in the product/engineering meeting that:

We want to make sure to launch this work on community slack
@susanev mentioned making some visual updates to the search bar to draw attention to the improved search

wait why is this an epic?

It was originally listed as a top-line item in Luke's doc of Q1 priorities. Are we going to make any noise at all about the new docs search (i.e. do we need to involve marketing)? If not, happy to call this a tier/0 epic or just an issue.

@infin8x I just plan on announcing it in the community slack. It's likely those are the users would would care about it the most (i.e. people using Pulumi who have questions about features, concepts, etc.).

@infin8x it might be worth mentioning it as part of the site redesign work, but i agree about not having any sort of marketing content when we first release it.

i think this will just be on pr though from what i understand

@susanev Sorta. We've had to merge a few other PRs to test out some changes, but it's just the one big PR that actually switches our site search engine over to Swiftype.

Sounds good! No need to track this as an epic then if you're happy to take care of posting in the community slack when you're done.


[Suggestion] Vampirism compatibility

compatibility with Vampirism
https://www.curseforge.com/minecraft/mc-mods/vampirism-become-a-vampire
suggestions

vampires are not affected by freezing
vampires either do not need water or it is shared with the blood bar somehow
vampires have different body temperature
vampires are affected by heat/scalding more drastically

I'll take a look, thanks for the suggestion.

I'm not sure of a way to do this that makes any sense. This entire mod is designed to work with human body temperatures. I think the best I can do is just disable the mod features if affected by vampirism. I'm not really very interested in support without having full details of how it would even be fun gameplay to integrate temperature. Thirst isn't even an issue, as they have a different biology.

disabling the features would work

This is fixed in the latest release. Can be found on CurseForge and Modrinth.


Follow googlecartographer/cartographer#1255

@wally-the-cartographer merge

Merge requested by authorized user kdaun. Merge queue now has a length of 1.


feat: [#3997] Move Javascript generators from Samples to "generators" - Empty Bot

Addresses #3997
#minor
Description
This PR adds the generator-botbuilder's Empty bot from the BotBuider-Samples repository.
Detailed Changes

Added Empty bot templates for JS and TS versions.

Testing
These images show the generator-botbuilder working for the Empty bot.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage remained the same at 84.543%

Files with Coverage Reduction
New Missed Lines
%

libraries/botbuilder-lg/src/templateExtensions.ts
1
84.48%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
19660

Relevant Lines:
22028

💛  - Coveralls


Set the Pkg environment

Despite the heroic efforts both in Juno and Revise.jl, I still find myself restarting the Julia process from time to time, at which point I have to remember to re-activate whatever environment I'm working in.
It would be great if there were some widget where I could set a directory, which would both activate that directory (Pkg.activate(dir)) and also add --project=<dir> to the startup flags so when I restarted I'd still be in the configured project.

I'll close this in favour of https://github.com/JunoLab/Juno.jl/issues/175.


test: storage

add test cases for @uniqs/utils

Pull Request Test Coverage Report for Build 689183104

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+6.6%) to 100.0%

Totals

Change from base Build 689102181:
6.6%

Covered Lines:
174

Relevant Lines:
174

💛  - Coveralls


Duplicate Filter filtered to much

For example commands may not have a new fix time and get filtered out, if the duplicate filter only checks the FixTime. It should also check if the attributes differs, to prevent something like that.

I don't think this would work. Last position might have some attributes that were calculated by the server after filtering. I think we should check if last position contains at least all the attributes from current position or possibly more. Also, for performance reasons I would recommend to just compare keys, not values.

Please give me a little hint. I find no way to check all the keys at once, should I make a list of keys and compare last with actual? I think only a few would be nessesary, example:
position.getAttributes().containsKey(Position.KEY_IGNITION).equals(lastPosition.getAttributes().containsKey(Position.KEY_IGNITION))
Thank you

Just go through the keys in current position and check if they exist in the last one.

I really tried a lot with iterates and so on, but I don't get it to work, please can you give me a code snippet or a better hint how you would do it, because I think this should get fixed for the next version, but I'm not the java specialist like you are...

You are basically asking to write the whole for you. I'm not sure what the difficulty with iterating through keys and checking if they are available in the other position.

I'm closing this. Please re-open when it's done. For the future I would recommend that you don't push your changes until you are finished. Everyone subscribed to the repo gets a notification about every push.

@5of9, do you plan to fix the issues or you are no longer interested in this?

I'm not able to do so. Sorry

Implemented in 9a597a7f902eea46405a345d4398139c13f69655.


Input Type=number MaxLength

Hello guys,
I trying to block the field after 4  more digits, there is some way to do this with the AvField ?
I did this and show's some error message:
maxLength: {
                          value: 4,
                          errorMessage: "Please enter a valid year"
                        },

You probably want max="9999" (or really a reasonable year value) as well as min="1000" (or a reasonable year value).
You can still use the validate prop to get the custom error message with those (I'm on mobile so I can't easily type that out)

No, it was not that, but no problem.
I already changed the type to 'text' and the maxLength worked :)
Thanks.

Hi,
Here https://availity.github.io/availity-reactstrap-validation/components/validators/, you can see that if maxLength is defined for text input it won't let you exceed 16 characters and so the error message never shows up!


Segmentation fault when use through python(tesserocr)

when i use tesseract through command line, it works. But when I call it through python(tesserocr), it crashes and said Segmentation fault.

I compile it myself in Ubuntu 14.04. The version is 3.04

We do not support 3rd party solution. Please contact author of your solution or use tesseract user forum.


Better shortcut for “Open Next Working Files”

The current shortcut for “Open Next Working Files” is Cmd+K Down, or Cmd+K Up for the reverse.
In other IDEs I am used to quickly switching between tabs aka working files with a single chord shortcut. Having a two chord shortcut for this slows me down quite a lot.
“Navigate Next in Quick Open” doesn't give me what I need here because the order is different from Working Files, and also it shows other recent files which are not currently in Working Files.
Would it be possible to improve this shortcut?

For next milestone we plan to introduce stacks and tabs and I think this would cover your use case.

Hi, I'm using the Insiders release to trial the new “tabs” interface. I don't see a shortcut to go to the next file in an open editor?

@OliverJAsh

Thanks!
On Wed, 8 Jun 2016 at 11:06 Benjamin Pasero<EMAIL_ADDRESS>wrote:

@OliverJAsh https://github.com/OliverJAsh
[image: image]
https://cloud.githubusercontent.com/assets/900690/15890740/54048b72-2d71-11e6-862b-4bae1a64b85f.png
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/vscode/issues/6965#issuecomment-224545847,
or mute the thread
https://github.com/notifications/unsubscribe/AA4QCRwwfq--WiaP6mkbZmvxGVwDc-vYks5qJpQigaJpZM4IoZjV
.


SchemaRegistry in an IDocumentFilter implementation is null

Per this previous issue @domaindrivendev calls out that SchemaRegistry should not be null in an IDocumentFilter implementation. In this code fragment it appears to be getting set as null. As a result IDocumentFilter implementors are somewhat crippled from extending the Swagger document.

null issue is fixed in beta902


Material Stepper Icon: Custom SVG change

What is the expected behavior?
When mat-icon "svgIcon" property is updated for custom svg, the updated icon should be updated on the page.
What is the current behavior?
When mat-icon "svgIcon" property is updated via interpolation or renderer 2 the custom svg is not re-rendered. I'm able to see that "svgIcon" value of mat-icon changes in debug mode, but the svg isn't changed.
What are the steps to reproduce?
html:
<mat-step #addressCheckoutStep>
      <ng-template matStepLabel>
        <mat-icon svgIcon="{{addressSvgIcon}}">Address</mat-icon>
      </ng-template>
      <app-address></app-address>
</mat-step>

ts component:
onClick(){
    this.addressSvgIcon = 'another-svg-icon';
  }

Both svg icons are added to mat-icon-registry and displayable. The issue is related only to dynamic change of "svgIcon" property.

@krezzsy can you share a reproduction in stackblitz?

@jelbourn https://stackblitz.com/edit/angular-stepper-custom-icons-1xxv1t

I'm also running into this issue.
I have mat-icons that are suppose to render different svgIcons dependent upon the value passed via Interpolation, however even though the value is changing the icon is not rendering properly.
In my case I have two icons on the same page and they only properly render when they are the same svgIcon value. If they are different, one of them will not properly render.

@jelbourn any updates on it?

I resolved my issue thanks to this comment .
The only difference for me was that my SVGs were using the same id attribute AND the same class attribute. I only had to change the class name for one of the SVG files and it resolved the issue.
Both of my SVG's had a class named "cls-1", so I changed one of them to "cls-2":
SVG1:
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 134"><defs><style>.cls-1{fill:#fff;fill-rule:evenodd;}</style></defs><title>Glitch_White_RGB</title><path class="cls-1" d="M89,77l-9,23v94h32v17h18l17-17h26l35-35V77H89Zm107,76-20,20H144l-17,17V173H100V89h96v64Zm-20-41v35H164V112h12Zm-32,0v35H132V112h12Z" transform="translate(-80 -77)"/></svg>
SVG2:
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 134"><defs><style>.cls-2{fill:#6441a4;fill-rule:evenodd;}</style></defs><title>Glitch</title><path class="cls-2" d="M89,77l-9,23v94h32v17h18l17-17h26l35-35V77H89Zm107,76-20,20H144l-17,17V173H100V89h96v64Zm-20-41v35H164V112h12Zm-32,0v35H132V112h12Z" transform="translate(-80 -77)"/></svg>
In my case, I was using Twitch's SVG files downloaded from their official branding page.
@krezzsy I noticed in your stackblitz example your SVG's are using the same id attribute value just like the example I linked. Does changing it help resolve your issue?

@PayaamEmami Thanks, that helps!

@krezzsy Awesome! Should we have @jelbourn close this issue?

The issue has been resolved


Send fastq files directly from ingest prod. to SCEA

Once we have curated a project for HCA, we also convert the metadata to MAGE-TAB format for SCEA. As part of this process, we need to either provide paths to the fastq files (from NCBI/ENA) and if they aren't available, to send the fastq files to them directly. There is no relatively quick way to get fastq files for projects when only an SRA object or bam file is immediately available in NCBI/ENA. We don't want to have to do this twice. Ideally we would be able to transfer already uploaded fastq files from a completed project in HCA ingest prod. to SCEA.

Need to set up a meeting with Jon and potentially others in the SCEA team to discuss sending fastq/bam/sra files.

Need to set up a meeting with Jon and potentially others in the SCEA team to discuss sending fastq/bam/sra files.

I think one of the constraints Jon is facing is that they don't have any long term storage so can't have fastq files sitting on disc for an indeterminate amount of time before they analyse them, instead working in a just in time manner
How many datasets are affected by this problem, how many more can we deliver to SCEA if we solve it?

I think one of the constraints Jon is facing is that they don't have any long term storage so can't have fastq files sitting on disc for an indeterminate amount of time before they analyse them, instead working in a just in time manner
How many datasets are affected by this problem, how many more can we deliver to SCEA if we solve it?


Invalid difficulty reported

 Issue by atomminer
Monday Nov 18, 2019 at 23:23 GMT
Originally opened as https://github.com/velesnetwork/veles-archive/issues/51

velesd reports incorrect difficulty via getblockchaininfo call.
conf file:
server=1
listen=1
daemon=0
gen=0
rpcthreads=12
dbcache=5
maxconnections=10
deprecatedrpc=accounts
algo=sha256d
samples output of getblockchaininfo:
{"result":{"chain":"main","blocks":269390,"headers":269390,"bestblockhash":"6ceaa8d9e1000d6af7c1f697a62ff57dd5de1c80285281defd275a37e5f7caee","difficulty":3831.391509370843,"mediantime":1574118779,"verificationprogress":1.097842440893784e-05,"initialblockdownload":false,"chainwork":"00000000000000000000000000000000000000000000016d813667f86cc444f5","size_on_disk":224296637,"pruned":false,"softforks":[{"id":"bip34","version":2,"reject":{"status":true}},{"id":"bip66","version":3,"reject":{"status":true}},{"id":"bip65","version":4,"reject":{"status":true}}],"bip9_softforks":{"csv":{"status":"active","startTime":0,"timeout":9223372036854775807,"since":6048},"segwit":{"status":"active","startTime":0,"timeout":9223372036854775807,"since":6048}},"warnings":""},"error":null,"id":"1"}
decoding nBits from getblocktemplate provides accurate difficulty of 28118634.611017339 at the same time.

 Comment by AltcoinBaggins
Thursday Feb 06, 2020 at 11:40 GMT

This is the expected behaviour, the getblockchaininfo command reports the difficuly of the algo that produced the last block found - for example, in the result above the bectblockhash is 6ceaa8d9e1000d6af7c1f697a62ff57dd5de1c80285281defd275a37e5f7caee which is not sha256d hash, so the reported difficulty 3831.391509370843 was the difficulty of the algo that produced said block.


Reduce boilerplate by constructing AccountTransaction directly

This change is

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

Comparison is base (79e16b0) 68.89% compared to head (7126234) 69.02%.
Report is 1 commits behind head on main.

Files
Patch %
Lines

crates/blockifier/src/test_utils/declare.rs
97.36%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1197      +/-   ##
==========================================
+ Coverage   68.89%   69.02%   +0.12%
==========================================
  Files          57       58       +1
  Lines        7092     7124      +32
  Branches     7092     7124      +32
==========================================
+ Hits         4886     4917      +31
- Misses       1791     1792       +1
  Partials      415      415

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


websocket problem?

Mojolicious version: latest version
Perl version: v5.25.11
Operating system: MacOSx Sierra

Steps to reproduce the behavior
https://gist.github.com/fayland/67e72492ab9d13f46a7f4d48b5d6891f
run the two scripts. anyevent-websocket.pl can return us
M: $VAR1 = \bless( {
'opcode' => 1,
'body' => '4100720dfbc176dfb493-0000000500005d97'
}, 'AnyEvent::WebSocket::Message' );
while mojo returns nothing.
Expected behavior
at least some body comes back
Actual behavior
nothing is there.

I don't know what's going on, but maybe someone else can understand what is going over the wire?
-- Non-blocking request (https://realtime-bir.paddypower.com/diffusion?v=4&ty=WB)
-- Connect 9ec950285de19d0e87d50234c28582bc (https://realtime-bir.paddypower.com:443)
-- Client >>> Server (https://realtime-bir.paddypower.com/diffusion?v=4&ty=WB)
GET /diffusion?v=4&ty=WB HTTP/1.1\x0d
Accept-Encoding: gzip\x0d
Host: realtime-bir.paddypower.com\x0d
User-Agent: Mojolicious (Perl)\x0d
Sec-WebSocket-Version: 13\x0d
Sec-WebSocket-Key: NjkwMjU2NDg3OTAxNDUwNg==\x0d
Upgrade: websocket\x0d
Sec-WebSocket-Extensions: permessage-deflate\x0d
Content-Length: 0\x0d
Connection: Upgrade\x0d
\x0d

-- Client >>> Server (https://realtime-bir.paddypower.com/diffusion?v=4&ty=WB)

-- Client <<< Server (https://realtime-bir.paddypower.com/diffusion?v=4&ty=WB)
HTTP/1.1 101 Switching Protocols\x0d
Upgrade: WebSocket\x0d
Connection: Upgrade\x0d
Sec-WebSocket-Accept:2tFBwo9w5oXPJjYZh13e/EzUQmA=\x0d
Set-Cookie: session=2aaf24da0eae4498-0000000100000a7e; HttpOnly\x0d
\x0d

-- Client >>> Server (https://realtime-bir.paddypower.com/diffusion?v=4&ty=WB)

Wonder if AnyEvent::WebSocket::Client has support for something similar to MOJO_USERAGENT_DEBUG=1...

If it were anything, it would be AE_VERBOSE=9, but is no logging in AnyEvent::HTTP that I can see.

Hello Fayland,
in your testscripts you forgot the "use v5.10" term for the say function.
Imho it's no mojolicious problem since the site responsiveness is very slow even using the http proto.
Anyhow, i got something back usingMojo::UserAgent:
-- Non-blocking request (https://realtime-bir.paddypower.com/diffusion?v=4&ty=WB)
-- Connect bb2df23965d20425be23567937deb783 (https://realtime-bir.paddypower.com:443)
-- Client >>> Server (https://realtime-bir.paddypower.com/diffusion?v=4&ty=WB)
GET /diffusion?v=4&ty=WB HTTP/1.1\x0d
Host: realtime-bir.paddypower.com\x0d
Connection: Upgrade\x0d
Accept-Encoding: gzip\x0d
Sec-WebSocket-Extensions: permessage-deflate\x0d
Sec-WebSocket-Key: NTY3NjM4NjQxNzc5NDM5MA==\x0d
Content-Length: 0\x0d
Upgrade: websocket\x0d
Sec-WebSocket-Version: 13\x0d
User-Agent: Mojolicious (Perl)\x0d
\x0d

-- Client >>> Server (https://realtime-bir.paddypower.com/diffusion?v=4&ty=WB)

-- Client <<< Server (https://realtime-bir.paddypower.com/diffusion?v=4&ty=WB)
HTTP/1.1 101 Switching Protocols\x0d
Upgrade: WebSocket\x0d
Connection: Upgrade\x0d
Sec-WebSocket-Accept:XoAJp/6ocJi6y7BYbiC3bqE+Y0s=\x0d
Set-Cookie: session=4cfef4948e887d43-00000000000048c2; HttpOnly\x0d
\x0d
\x81'4\x02100\x024cfef4948e887d43-00000000000048c2
GOT 41004cfef4948e887d43-00000000000048c2
-- Client >>> Server (https://realtime-bir.paddypower.com/diffusion?v=4&ty=WB)

I think of something like mod_request as the root cause.
Rgds.
Franz

aha, I don't follow. each time I run the anyevent.pl I got result, but none for mojo one. I tested it once again. same result. did you get response each time you run the script? same script (just added use v5.10;)? thanks

Yes,
even when disabling permessage-deflate Sec-WebSocket-Extension it get one message back.
But:
there are load balanced services behind it, take a look at the SSL Certs (i enabled SSL Debug Defaults).
So, when talking to the host which answers with the thawte cert, i don't get back a message.
So it's clear to be, that this is a backend problem. (Could be anything :-))
Working with QuoVadis Cert:
-- Non-blocking request (https://realtime-bir.paddypower.com/diffusion?v=4&ty=WB)
-- Connect 3bb6c094ada733e2d9f184d690a89bdc (https://realtime-bir.paddypower.com:443)
Authority: /C=BM/O=QuoVadis Limited/CN=QuoVadis Root CA 2/C=BM/O=QuoVadis Limited/CN=QuoVadis Root CA 2
Authority: /C=BM/O=QuoVadis Limited/CN=QuoVadis Root CA 2/C=US/O=HydrantID (Avalanche Cloud Corporation)/CN=HydrantID SSL ICA G2
Authority: /C=US/O=HydrantID (Avalanche Cloud Corporation)/CN=HydrantID SSL ICA G2/C=IE/ST=Leinster/L=Dublin/O=Paddy Power Betfair Public Limited Company/OU=IT/CN=realtime.paddypower.com
-- Client >>> Server (https://realtime-bir.paddypower.com/diffusion?v=4&ty=WB)
GET /diffusion?v=4&ty=WB HTTP/1.1\x0d
Sec-WebSocket-Key: Mjg4OTIwNjMyNjUzOTk3Nw==\x0d
Accept-Encoding: gzip\x0d
Host: realtime-bir.paddypower.com\x0d
Content-Length: 0\x0d
User-Agent: Mojolicious (Perl)\x0d
Sec-WebSocket-Version: 13\x0d
Connection: Upgrade\x0d
Upgrade: websocket\x0d
\x0d

-- Client >>> Server (https://realtime-bir.paddypower.com/diffusion?v=4&ty=WB)

-- Client <<< Server (https://realtime-bir.paddypower.com/diffusion?v=4&ty=WB)
HTTP/1.1 101 Switching Protocols\x0d
Upgrade: WebSocket\x0d
Connection: Upgrade\x0d
Sec-WebSocket-Accept:Tu3ItvRFxhsY8Ln6oL/3s5NSMas=\x0d
Set-Cookie: session=a2f095b85997da84-0000000b00003923; HttpOnly\x0d
\x0d
\x81'4\x02100\x02a2f095b85997da84-0000000b00003923
GOT 4100a2f095b85997da84-0000000b00003923
-- Client >>> Server (https://realtime-bir.paddypower.com/diffusion?v=4&ty=WB)

Not working (Thawte cert):

-- Non-blocking request (https://realtime-bir.paddypower.com/diffusion?v=4&ty=WB)
-- Connect 8c2e1554f5e22be02e89a2b3f906acbb (https://realtime-bir.paddypower.com:443)
Authority: /C=US/O=thawte, Inc./OU=Certification Services Division/OU=(c) 2006 thawte, Inc. - For authorized use only/CN=thawte Primary Root CA/C=US/O=thawte, Inc./OU=Certification Services Division/OU=(c) 2006 thawte, Inc. - For authorized use only/CN=thawte Primary Root CA
Authority: /C=US/O=thawte, Inc./OU=Certification Services Division/OU=(c) 2006 thawte, Inc. - For authorized use only/CN=thawte Primary Root CA/C=US/O=thawte, Inc./CN=thawte SSL CA - G2
Authority: /C=US/O=thawte, Inc./CN=thawte SSL CA - G2/C=IE/ST=Dublin/L=Dublin/O=Power Leisure Bookmakers Limited/OU=IT/CN=*.paddypower.com
-- Client >>> Server (https://realtime-bir.paddypower.com/diffusion?v=4&ty=WB)
GET /diffusion?v=4&ty=WB HTTP/1.1\x0d
Sec-WebSocket-Version: 13\x0d
Accept-Encoding: gzip\x0d
Connection: Upgrade\x0d
Host: realtime-bir.paddypower.com\x0d
Upgrade: websocket\x0d
Content-Length: 0\x0d
Sec-WebSocket-Key: NDUxMjM5OTg0MTA3MzMxOA==\x0d
User-Agent: Mojolicious (Perl)\x0d
\x0d

-- Client >>> Server (https://realtime-bir.paddypower.com/diffusion?v=4&ty=WB)

-- Client <<< Server (https://realtime-bir.paddypower.com/diffusion?v=4&ty=WB)
HTTP/1.1 101 Switching Protocols\x0d
Upgrade: WebSocket\x0d
Connection: Upgrade\x0d
Sec-WebSocket-Accept:jwtPHvefjjSAV/WNdD4tzLsBrng=\x0d
Set-Cookie: session=eb04aa7b99d7bbfb-000000000000d492; HttpOnly\x0d
\x0d

-- Client >>> Server (https://realtime-bir.paddypower.com/diffusion?v=4&ty=WB)

I thin issuing a support ticket is the way to go ;-)
Rgds.
Franz

interesting. it really works now. thanks


PostAudit Renaming and Clean up

Rename CoreInternal -> CoreAdmin
Consolidate array length checks into ArrayValidations.sol
Remove removeAuthorizedAddressAtIndex
Consolidate isMultipleOfSetNaturalUnit, getSetDetails into SetTokenLibrary
Reduce Core instantiation in ExchangeIssuanceLibrary
Create StandardStartRebalanceLibrary.calculateCombinedUnits to reduce duplication and stack size in calculateCombinedUnitArrays
Add unit tests for all new functions
Updated a bunch of comments

Pull Request Test Coverage Report for Build 4971

9 of 9 (100.0%)  changed or added relevant lines in 4 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 4892:
0.0%

Covered Lines:
977

Relevant Lines:
977

💛  - Coveralls

In the future, let's break up PRs, particularly if they involve naming changes and source changes. This is difficult to digest.


FormData error

Confirm this is a Node library issue and not an underlying OpenAI API issue

[X] This is an issue with the Node library

Describe the bug
            const openai = new OpenAI(openaiConf)
            openai.files.create({
                file: fs.createReadStream('C:\\Users\\18222\\Desktop\\workspace\\AfflatusBox\\1.jsonl'),
                purpose: "fine-tune"
            }).then(fr=>{
                console.log("fr",fr);
                }）

The following problems occur：
TypeError: Received null for "file[fd]"; to pass null in FormData, you must use the string 'null'
To Reproduce
            const openai = new OpenAI(openaiConf)
            openai.files.create({
                file: fs.createReadStream('C:\\Users\\18222\\Desktop\\workspace\\AfflatusBox\\1.jsonl'),
                purpose: "fine-tune"
            }).then(fr=>{
                console.log("fr",fr);
                }）

The following problems occur：
TypeError: Received null for "file[fd]"; to pass null in FormData, you must use the string 'null'
Code snippets
No response
OS
windows11
Node version
18.17.0
Library version
4.3.0

Thank you for your response, see below：
import OpenAI, { ClientOptions, toFile } from 'openai';
import fs from 'fs';

{
  "scripts": {
    "dev": "vite",
    "build": "tsc && vite build && electron-builder",
    "build:mac": "tsc && vite build && electron-builder --mac",
    "build:win": "tsc && vite build && electron-builder --win",
    "lint": "eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
    "preview": "vite preview"
  },
  "dependencies": {
    "@aws-sdk/client-s3": "^3.379.1",
    "@aws-sdk/s3-request-presigner": "^3.370.0",
    "@mantine/core": "^6.0.16",
    "@mantine/form": "^6.0.17",
    "@mantine/hooks": "^6.0.16",
    "@mantine/notifications": "^6.0.16",
    "@mantine/prism": "^6.0.16",
    "@mantine/spotlight": "^6.0.16",
    "@reduxjs/toolkit": "^1.9.5",
    "@tabler/icons-react": "^2.25.0",
    "@traptitech/markdown-it-katex": "^3.6.0",
    "dayjs": "^1.11.9",
    "electron-settings": "^4.0.2",
    "framer-motion": "^10.13.0",
    "highlight.js": "^11.8.0",
    "lodash": "^4.17.21",
    "lowdb": "^6.0.1",
    "markdown-it": "^13.0.1",
    "markdown-it-emoji": "^2.0.2",
    "markdown-it-footnote": "^3.0.3",
    "markdown-it-link-attributes": "^4.0.1",
    "octokit": "^3.1.0",
    "openai": "^4.3.0",
    "react": "^18.2.0",
    "react-dom": "^18.2.0",
    "react-redux": "^8.1.1",
    "react-router-dom": "^6.14.0"
  },
  "devDependencies": {
    "@types/markdown-it": "^12.2.3",
    "@types/markdown-it-emoji": "^2.0.2",
    "@types/markdown-it-footnote": "^3.0.0",
    "@types/markdown-it-link-attributes": "^3.0.1",
    "@types/polyfill-library": "^3.108.1",
    "@types/react": "^18.0.37",
    "@types/react-dom": "^18.0.11",
    "@types/uuid": "^9.0.2",
    "@typescript-eslint/eslint-plugin": "^5.59.0",
    "@typescript-eslint/parser": "^5.59.0",
    "@vitejs/plugin-react": "^4.0.0",
    "electron": "^24.4.0",
    "electron-builder": "^23.6.0",
    "eslint": "^8.38.0",
    "eslint-plugin-react-hooks": "^4.6.0",
    "eslint-plugin-react-refresh": "^0.3.4",
    "typescript": "^5.0.2",
    "vite": "^4.3.2",
    "vite-plugin-electron": "^0.11.2",
    "vite-plugin-electron-renderer": "^0.14.5"
  },
  "main": "dist-electron/main.js"
}

{
  "compilerOptions": {
    "baseUrl": ".",
    "paths": {
      "@/*":["src/*"]
    },
    "target": "ES2020",
    "useDefineForClassFields": true,
    "lib": ["ES2020", "DOM", "DOM.Iterable"],
    "module": "ESNext",
    "skipLibCheck": true,

    /* Bundler mode */
    "moduleResolution": "bundler",
    "allowImportingTsExtensions": true,
    "resolveJsonModule": true,
    "isolatedModules": true,
    "noEmit": true,
    "jsx": "react-jsx",

    /* Linting */
    "strict": true,
    "noUnusedLocals": true,
    "noUnusedParameters": true,
    "noFallthroughCasesInSwitch": true
  },
  "include": ["src", "electron","types"],
  "references": [{ "path": "./tsconfig.node.json" }]
}

Using your advice, I encountered the following error：
 UnhandledPromiseRejectionWarning: Error: file uploads aren't supported in this environment yet as 'File' is not defined
Additionally, I am using the Electron environment.

Ah, I see! That makes sense - Electron is not yet supported.
You might try a polyfill that adds File support, but please note OpenAI advises against calling the API from a client environment (such as Electron) since it can expose your API keys to attackers.

Okay, I will try to modify my code privately and thank you for your patient assistance.


pseudocode for docker pruner

Hello @,
Please review the following commits I made in branch maiamcc/docker-pruner-pseudocode:
74d85df8c91fa7aa516e138dea3c3626a7d77349 (2019-10-07 18:42:36 -0400)
tiltfile to tweak settings
393abebb624bbe53583a6946106b3357e35b577b (2019-10-07 18:35:10 -0400)
pseudocode for docker pruner itself
Code review reminders, by giving a LGTM you attest that:

Commits are adequately tested
Code is easy to understand and conforms to style guides
Incomplete code is marked with TODOs
Code is suitably instrumented with logging and metrics

@nicks @jazzdan this isn't for landing but should be a useful bird's-eye view of what i'm planning to implement / lmk if you see any glaring problems right now


Error: time data '2022-12-07T10:19:24' does not match format '%Y-%m-%dT%H:%M:%S%z'

I saw this error after using the Android App for Restic. It includes Restic 0.12 and the repository was created with Restic 0.13 ? => https://github.com/lhns/restic-android

ERROR    Unable to collect metrics from Restic. Error: time data '2022-12-07T10:19:24' does not match format '%Y-%m-%dT%H:%M:%S%z'

Hello,
I've faced the very same issue. I was using the current github image on a recently created restic (restic 0.12.1 compiled with go1.17 on linux/amd64; directly from Ubuntu repo) repository on Linux (Linux docker-1 5.15.0-58-generic #64-Ubuntu SMP Thu Jan 5 11:43:13 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux).
restic output for that variable is: '2023-02-01T14:14:19.30760523Z'
after your transformation this becomes: '2023-02-01T14:14:19'
Why not removing the trailing numbers after the period only?
What's the point in the regexp in line https://github.com/ngosang/restic-exporter/blob/main/restic-exporter.py#L100?
Why aren't you just remove milliseconds

Fixed in 84190584b8b48f4c7db9db6f655a35490c6d4553 / Release 1.1.0


Per-file indentation such as “Detect Indentation” (still) uses tab size rather than indent size

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.84.2 (1a5daa3a0231a0fbba4f14db7ec463cf99d7768e) & 1.85.0-insider (8762127fc97b8aaae5f3a0dd6a6d853d9a1b7574)
OS Version: Windows_NT x64 10.0.22635

Steps to Reproduce:
Configure editor.indentSize (requires JSON) and/or editor.tabSize so they have different values.
Observe:

❎ If [Status Bar ➡ Select Indentation ➡ Change Tab Display Size] not also set, changing the per-file [Status Bar ➡ Select Indentation ➡ Indent Using Spaces/Tabs] affects the size of tab chars.

Expected: ignore [Indent Using Spaces/Tabs] and default to tabSize – a tab may not be an indent

❎ If editor.detectIndentation is true (default) but no existing indent size detected (e.g., new or blank files), indents default have the size of tabSize according to the Tab and Backspace keys.

Expected: If false detectIndentation makes indnets default to indentSize, so should true detectIndentation if no size detected.

❎ [Status Bar ➡ Select Indentation ➡ Indent Using Spaces/Tabs] hints the default tab size but not the default indent size.

Expected: hint the default indent size rather – the default tab size hint is optional

❎ The Settings UI description for editor.detectIndentation links to editor.tabSize and vice versa.

Expected: detectIndentation links to indentSize rather. indentSize already links to detectIndentation.

This is not a duplicate of #42740.

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

Not fixed by #200368, still affects 1.86.0-insider (2c8f291)
While I’m here –
Why is this a feature request, not a bug report? Is the confusion on editor.indentSize vs. editor.tabSize a feature, not a bug?

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

:slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Happy Coding!


Use PackageReference in all Katas .csproj files

Purpose
With the upcoming IQ# project references feature (see https://github.com/microsoft/iqsharp/pull/262), the IQ# kernel will automatically load any projects and packages specified in the .csproj file alongside the current .ipynb notebook file.
Some of the Katas projects have a ProjectReference to utilities/Common/Common.csproj. But this project is also included in the Microsoft.Quantum.Katas package. So when the Katas notebooks try to load the Microsoft.Quantum.Katas package, this results in duplicate symbol definitions, and an error is thrown.
Change Description
This PR proposes to avoid this issue by adding a PackageReference to Microsoft.Quantum.Katas in all of the .csproj files, and removing the ProjectReference to utilities/Common/Common.csproj, if it exists. (The downside of this change is that it would make the local development process slightly more annoying for changes inside utilities/Common. However, it seems that changes there are very infrequent, and so I hope this isn't a big deal.)
Additional Notes
There will be a major end-user benefit of this change soon. Once the IQ# project references feature is available, and the Katas repo is updated to use that version of the QDK, the %package Microsoft.Quantum.Katas command at the top of every notebook can be removed. The package will get automatically loaded during IQ# kernel initialization due to the PackageReference in the .csproj.

Moving this back to Draft status; holding off on this change until after the next QDK release.

I think it would be better to add a reference to the Katas Project and not the Katas Package. Otherwise, it is odd to have to build & create a package just to pick up changes that are built from the same repository.

I agree, @anpaz-msft, it's not ideal. IQ# currently only supports loading magic commands (such as %kata) from packages. Initial support for project references in IQ# is limited to only Q# projects. Essentially this change will involve moving the package reference from the notebooks (%package command) into the .csproj file (PackageReference element).
It is a good point that we should consider in the future for IQ#: adding support for C# project references to get things like custom magic commands, display encoders, etc. Also adding @cgranade, who had mentioned this at one point as well.

Actually closing this PR for now, since the purpose of the change will be slightly different when I raise it again in a week or so. I'll move the changes onto a different branch.


Update config.py

SUMMARY

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TESTING INSTRUCTIONS

ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Required feature flags:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

@ShenShaji This PR doesn't provide any motivation/context in the title or description, but the proposal to flip the default setting of this feature flag is an interesting one. @eschutho do you think the Alerts & Reports feature is ready for prime time?  Maybe we can start gathering consensus if so.

Closing this since the PR template has not been filled out and we haven't been given any more context here.


(GH-1973) Add GH issue links to 'Known issues' doc

This adds links to GitHub issues for each of the issues listed on the
'Known issues' doc. It also updates several of the issues to provide
more context on the issue and clearer instructions on any applicable
workarounds.
!no-release-note

CLA signed by all contributors.


Is there any plan to merge the modeling_chatglm.py into the Transformers library?

Feature request  / 功能建议
Hi GLM-4 Team,
Thanks for your great work and the powerful GLM-4 models. I'm currently conducting research on efficient long-context LLMs inference and am trying to implement our method in GLM-4-1M. To reduce the effort, I wanted to ask if there are any plans to merge the modeling_chatglm.py into the Transformers library? This would greatly help our work and benefit the community. Thanks for your help!
Motivation / 动机
To do some experiments on efficient long-context LLMs inference topic.
Your contribution / 您的贡献
I'll open-source the related experiments results and implementation.

We also aim to adapt to the Transformers library. However, the current model implementation contains some legacy code that may not fully comply with the requirements of the Transformers library. We will make the necessary modifications as soon as possible and submit a PR to the Transformers library. This may take some time, and we appreciate your understanding.

Thanks @zRzRzRzRzRzRzR for the response and plan. Looking forward the merged version GLM-4.

This issue will be closed first. We will make an announcement after merging it into hf. Thank you for your support.


prometheus-dnsmasq-exporter: 0.2.0 -> unstable-2024-04-22

Description of changes
Bumps the prometheus-dnsmasq-exporter from the 2019 v0.2.0 tag to the most recent commit on the master branch, which has some important commits that haven't been tagged https://github.com/google/dnsmasq_exporter/commits/main/

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

@teutat3s Appreciate the review, but I updated the PR to include https://github.com/google/dnsmasq_exporter/commit/03f84edc208fa88e31cf00533db42e7e0c9717ca since the exporter doesn't work with newer dnsmasq versions without it.

Result of nixpkgs-review pr 305960 run on x86_64-linux 1

1 test built:

nixosTests.prometheus-exporters.dnsmasq

1 package built:

prometheus-dnsmasq-exporter


Context make should also accept async functions.

https://github.com/auth0/auth0-react/issues/97#issuecomment-677918755
To get the token from Auth0-React library an async function has to be called. This is not possible with the current bindings.

Async functions are supported using makeasync.

Async functions are supported using makeasync.


Training Guidance

Thanks for sharing your work on CountGD. I’m interested in training the model from scratch on my device . Could you please kindly provide some guidance on how I can set it up and train the model on my own? I’d really appreciate any help. Thanks!

Hi, thank you for your interest. The code and instructions are now available here: https://github.com/niki-amini-naieni/CountGD/blob/main/training.md.


[Feature] Optimize disk space used by output files

As a user, I want to minimize the disk space used by a project's references when they are copied in the final output path, so that I can speed up the build by reducing the I/O on the root output path disk.
Acceptance:

Given a project has a reference which is not a project reference, then the files associated with this reference (i.e. the .dll, the .pdb and the .xml) should not be actually copied in the final output path. Instead, a symbolic link should be created there for each of the files.
There should be no difference between the number and content of the files produced by the regular build as final output, vs those produced when using the OutputPathExtension.
This should not affect Visual Studio functionality such as Debug or Run without debugging.

This functionality is now extended to most of the output files which are copied by MSBuild in target CopyFilesToOutputDirectory. The extension uses the CreateSymbolicLink*IfPossible properties.


Damaged Prototype

Prototype level for damaged balls.

Damage Effect: "dirty" ball by making darker
Repair Effect: Resets color & damaged state

To add to GameObjects:

Add DamageYarn or RepairYarn.

Settings:

Yarn Combine: toggle Combine damaged (Default = No combine)
Cat Yarn Interaction: toggle Cat Reject Damaged Ball (Default = Reject)
If cat can accept ball, provides no fav color bonus

Test Level:

Assets/Scenes/TEST - Editor Only/Jyama/Prototype/BasePrototype.unity
R to toggle between Pads / Furniture.
Fire = Damage & Faucet = Repair

 Prototype: Yarn Dirty/Burned


TestFlight Beta - Crashing

I just installed The TestFlight update on my iPad, it crashed as soon as I opened it. I thought I should inform you about this.

Reopening as I see other reports on this. I can't seem to reproduce it though. It would be appreciated if any reproducible steps can be provided. Could be an iOS version issue.

I might have identified the issue. Build 10 should fix this.

Reopening as I see other reports on this. I can't seem to reproduce it though. It would be appreciated if any reproducible steps can be provided. Could be an iOS version issue.
I tested it on iPad 8th generation and iPhone 8, both are on 14.4.

My iPhone 6s is at 14.4 as well, as I checked in further investigation into my general -> about (in settings)


Allow to have ArborX be a TPL

With this PR, I can use an external ArborX with DTK. You need to set the following configuration variables:
-D DataTransferKit_ENABLE_ArborX_TPL=ON
-D TPL_ArborX_DIR=/path/to/arborx

The PR is pretty straightforward, the only thing is that when ArborX is a TPL I create a dummy dtk_search library.

Are all of them necessary?

They are necessary. Tribits is looking for these variables. At first, I had weird bugs where ArborX was a registered TPL at the beginning of the configuration (because one variable was set) but not at the end (because another one was not set).

I expect only TPL_ENABLE_<TPL_NAME> and <TRIBITS_PACKAGE>_ENABLE_<TPL_NAME> are required


Disallow pydantic 2.0

Pydantic 2.0 introduced breaking changes to the library. Here, version is fixed to 1.10 -- the most recent release before 2.0 --  temporarily while Pydantic 2.0 is integrated.

update the version requirement for docs too. https://github.com/mgiammar/mrsimulator/blob/pydantic_update/docs/requirements.txt#L5


multipleOf validation fails when the value is fractional

Describe the bug
Given an openAPI spec that contains validation of multipleOf: 0.1  for a double type, there are several valid values for which the validation fails, and therefor the API request is not sent.
To Reproduce
Steps to reproduce the behavior:

Use autorest to generate a typescript client with the following type contained
Attempt to call the API with a value of 2.0
Observe that the validation fails and the command is not sent

       fractionalValue:
          type: number
          format: double
          minimum: 0
          maximum: 100
          multipleOf: 0.1
          example: 0.1

Expected behavior
For a multipleOf value of 0.1, all of the following values (and others) should be valid:

0.1
0.2
1
2

Additional context
I believe this may be resolved by changing line 57 of https://github.com/Azure/ms-rest-js/blob/45f89c90414db812e4950185ffe7f9f6becb5664/lib/serializer.ts to use an epsilon value of MultipleOf when the type is double.
This may include false positives that I have not considered. However, for client-side validation false positives are expected, since the client does not have full context, and will rely on server validation in other scenarios.

Label prediction was below confidence level 0.6 for Model:ServiceLabels: 'Cosmos:0.086542636,Service Bus:0.07491286,Azure.Core:0.05635434'

@joheredi @sarangan12 could you please have a look?

Taking a look at it. Will update soon with my findings

@xirzec @jeremymeng Per our SDK Guidelines, we should not be doing any validations. Any reasons why we should still keep these validations? Why can't we remove them altogether?

I have sent a note to the Autorest crew abount these validations and based on their input, I will decide on removing the constraints.

@xirzec @jeremymeng Per our SDK Guidelines, we should not be doing any validations. Any reasons why we should still keep these validations? Why can't we remove them altogether?

Per our offline discussion, I agree we can remove this check on the client side

Removed the constraints check. Closing this issue


Add this and final to avoid misunderstanding.

Add this keyword for each place that needs.
The project, with this keyword, gains where is the method or field comes.
this comes from the class itself or its superclasses.
Add final keyword for each place that needs.
final keyword avoid misunderstanding for which class can or can't extensible.
For example, utility classes like BukkitPaths/Paths or ConfigPath classes like ColorConfigPath.
final keyword becomes the project reliable and safe.
final keyword makes fields more reliable.
final keyword makes your methods where it is in an abstract class more reliable.

one of them


UI for adjusting NP joints

I'm not sure if we need to re-create the joints or just adjusting the parameter set of it.
I think if the beam_move_face_id and beam_stay_face_id are not changed, the joint does not have to be recreated.

Adjust moving_side thickness
Adjust screw line position along the length of the beam (change to joint and screw)
Change beam_stay_face_id for a few joints that are on the wrong side.

This need to have a thicker moving side.

This one also needs to be thicker.