How we can implement pagination on mention list?

#122 use Mention.suggestionListBuilder which gives you full control how to render suggestions, for instance you can add CircularProgressIndicator when you are fetching / paginating:
  flutter_mentions:
    git:
      url: https://github.com/fayeed/flutter_mentions.git
      ref: 49d94534ecf4ee07f67920d1d743ce9963c8708d


Question - Update/Insert Document

I want to make it so a document is inserted if a document with the given ID doesn't exist, otherwise update the document. I want to know whether or not a built in function already does this. I know you can do this with a simple db.findOne & based on that db.insert or db.update but it would be a nice feature if it already doesn't exist! (Maybe it could be db.save)
db.findOne({ _id: id }, (err, doc) => {
	if (err) { return reject(err); }
	if (doc) {
		db.update({ _id: id }, { data }, (err, newDoc) => {
			if (err) { return reject(err); }
			resolve(newDoc);
		});
	} else {
		db.insert({ _id: id, data }, (err, newDoc) => {
			if (err) { return reject(err); }
			resolve(newDoc);
		});
	}
});

If I understand your question well, you are asking for a way to update a document if it exists; insert it, if it doesn't.
You can set the options.upsert parameter to true. More about it in the [README.md] (https://github.com/louischatriot/nedb#updating-documents) file

The readme says:

IMPORTANT NOTE: Please don't submit issues for questions regarding your code. Only actual bugs or feature requests will be answered, all others will be closed without comment. Also, please follow the bug reporting guidelines and check the change log before submitting an already fixed bug :)

Please close your issue as the author does not answer questions here. You might try stackoverflow.


fix: train --opt-eps default value (1e-3 -> 1e-8).

Hi.
I found a mismatch for the default parameter of --opt-eps between the help comment and the actual value in the train script.
The purpose of this PR is to fix it.

thanks for catching it, mistake is in the description though, I train with fairly high eps by default if I use an opt where that arg applies (rmsprop, adam), the default momentum doesn't use that arg.

I understood, thanks!


Correction for raw affiliation Center for Research in Microelectronics and Nanotechnology (CRMN), Sousse, Tunisia; Laboratory of Thermal Processes, Research and Technology Centre of Energy, Hammam-Lif, Tunisia

Correction needed for raw affiliation Center for Research in Microelectronics and Nanotechnology (CRMN), Sousse, Tunisia; Laboratory of Thermal Processes, Research and Technology Centre of Energy, Hammam-Lif, Tunisia
raw_affiliation_name: Center for Research in Microelectronics and Nanotechnology (CRMN), Sousse, Tunisia; Laboratory of Thermal Processes, Research and Technology Centre of Energy, Hammam-Lif, Tunisia
new_rors: 00dmpgj58;00dyead60;02xj61x84
previous_rors: 00dmpgj58;00dyead60
works_examples: W4385071085;W4386140997
contact: 122231b0698cee7064a77b9d4acb0d28:9f8aecb9dc63f386e49efb4549af @ ens-lyon.fr

This issue was accepted and ingested by the OpenAlex team on 2024-11-01. The new affiliations should be visible within the next 7 days.


Invalid token

I did a full rebuild of my nvim, deleted all and then installed as you have described, and still getting this,
You also closed my other ticket, without addressing my issue, that was just like this.
https://github.com/Gako358/Dotfiles/tree/205e79501493609aeba5954583a53e5dc4e4fea6/.config/nvim
My nvim config, if you want to add and see if you can make it work

I believe your other issue was #10. That appears very different to me than this. This error message actually tells me almost exactly what the problem is!
I believe the issue is in your ~/.config/github-copilot/hosts.json file. If copilot.vim works, then the file is valid, but maybe some token in there is causing a problem or something. Its extremely early here (about 5am) but tomorrow I can make a branch or something that you can use to try and debug without showing anything private.

If you want to try and debug this yourself in the meantime, open up a lua file and put the relevant code in there:
local function oauth_user(token)
  return vim.json.decode(
    vim.fn.system('curl -s --header "Authorization: Bearer ' .. token .. '" https://api.github.com/user')
  )
end

local get_cred = function()
  local userdata = vim.json.decode(
    vim.api.nvim_eval("readfile('" .. find_config_path() .. "/github-copilot/hosts.json')")[1]
  )
  local token = userdata["github.com"].oauth_token
  local user = oauth_user(token)
  return { user = user, token = token }
end

get_cred()

Then just run the file with :luafile % while you have it opened after saving, add some print statements or print(vim.inspect())'s and you should find your issue within about 5 min. Since I can't reproduce it, its going to be hard to figure this out on my end.

I am on Gentoo, but not aware anything different from other users..?

I am on Gentoo, but not aware anything different from other users..?

It should be working fine on Gentoo. Did you try isolating the issue with the code I provided? The error message you gave makes it pretty clear the error is somewhere in there, so running that snippet in isolation should reproduce the issue.

Ive been trying a bit and I hardcoded my path to copilot folder, and printed to confirm location. Correct location. Then I printed vim.inspect(userdata) and the information is correct according to my hosts.json file.
But still getting error..
and the funny thing is, on each run it changes that value that is invalid
Error while calling lua chunk: test.lua.36: Expected value but found invalid token at character 16

The token character changes on each run...

Ive been trying a bit and I hardcoded my path to copilot folder, and printed to confirm location. Correct location. Then I printed vim.inspect(userdata) and the information is correct according to my hosts.json file.
But still getting error..
and the funny thing is, on each run it changes that value that is invalid

Error while calling lua chunk: test.lua.36: Expected value but found invalid token at character 16

The token character changes on each run...

This error occurs on the json_decode line for curl correct? Try moving the curl result to a variable outside of the decode. Then print it using vim.inspect, when it errors you should be able to tell where. I would run it twice to see if the string itself that's being decoded changes, or if it's just the order of the response components.

I am 99.99% certain your issue is fixed as of the latest patch. I randomly reproduced your problem, and although I could do so only once, I was able to find out that this is an upstream issue related to unicode characters.
I found out in further testing, that copilot still apparently functions with no authentication step whatsoever, as long as hosts.json exists. I think the 20 something thousand line javascript file takes care of auth if you don't pass parameters to it. When reverse engineering said file, it appeared that you needed to give it the variables I had set in the environment, but apparently it will resolve them for you if not provided.
Thus, all authentication has been removed until I fully implement the steps from copilot.vim, so that this is a total replacement. Even then, if you already have a hosts.json you should be ok, since I would have a check for it before requiring auth.

I closed this since the entire body of code that has been giving you problems is no longer called, but if you are not getting completions still (I strongly hope and doubt this will be the case), that will be a problem and we may have to readdress this, so feel free to reopen it.


Allow python-triage to stop builds

closes #260

closes #260

CC @Fidget-Spinner

Thanks Zach and Palo!

@Fidget-Spinner: This permission should maybe be listed in https://devguide.python.org/triaging/#becoming-a-member-of-the-python-triage-team

@vstinner sure, I will work on that.


Checkpoints

What are the most recent model checkpoints for retrieving premises and generating tactics? I was using https://huggingface.co/kaiyuy/leandojo-pl-ckpts, but it seems to have been deleted from HuggingFace.

We no longer need leandojo-pl-ckpts since the model checkpoints are available in Hugging Face format. If you need models in the PyTorch Lightning format, you can use the tricks here.


Add cost to Chat.

I re-ran the cells up to my changes -- to make the PR cleaner, should I avoid running the cells which generate Claude output?

Got some conflicts to resolve btw.

What's the status here @griff4692 ?


ASOC2022: 基于dragonball-sandbox开源组件搭建简易虚拟机 Build a simple virtual machine based on dragonball-sandbox open source components

任务背景  Background
轻量虚拟机是虚拟化领域的一个重要技术，通过轻量虚拟机既可以保证原本属于容器技术的低开销快启动，也获得了虚拟化带来的高安全强隔离，许多云厂商将该技术运用于其云原生产品上，以此实现产品的极致轻量、弹性能力和多租户隔离。Dragonball是开源rust编写的轻量虚拟机项目，其中包含Dragonball-sandbox虚拟机相关依赖库项目和kata container项目下的Dragonball虚拟机管理器（VMM）。在阿里云内部这套轻量虚拟机方案有着诸多落地场景，支撑了函数计算每日五十亿次调用，弹性容器实例每日百万级的容器创建，是阿里云云原生底层系统中重要的一环。
Lightweight virtual machines are an important technology in the field of virtualization. Through lightweight virtual machines, the low-cost and fast startup of container technology can be guaranteed, and the high security and strong isolation brought by virtualization can also be obtained.. Dragonball is a lightweight virtual machine project written in rust under the Openanolis community, which includes the Dragonball-sandbox virtual machine related dependency library project and the Dragonball virtual machine manager under the kata container project. This lightweight virtual machine solution in Alibaba Cloud has many implementation scenarios, such as supporting 5 billion calls per day for function computing, and the creation of millions of containers per day for Elastic Container Instances. It is an important part of Alibaba Cloud's current cloud-native system.
任务描述 Description
通过Dragonball-sandbox组件(https://github.com/openanolis/dragonball-sandbox ) 和上游rust-vmm组件(https://github.com/rust-vmm ) 在导师的指导下，搭建出一个简易的轻量虚拟机。产出代码Demo和文档。
This experiment aims to build a simple lightweight virtual machine based on the existing Dragonball-sandbox(https://github.com/openanolis/dragonball-sandbox) open-source virtualization components and rust-vmm (https://github.com/rust-vmm)
upstream virtualization components under the instructor's guidance.
Students need to complete the code demo and related documentation writing to finish the task.
任务目标 Goal
【必选】将dragonball-sandbox组件和rust-vmm组件组合，搭建出一个简易的轻量虚拟机。
[Required] Combine the dragonball-sandbox components and the rust-vmm components to build a simple lightweight virtual machine.
完成途径 How to complete the task
学习 rust 编程，学习虚拟化技术，学习开源社区工作方式
在社区中提交Issue，提交pull request，完成相关代码，review后被社区合并
Learn rust programming, learn virtualization technology, and learn how the open-source community works
Submit an issue in the community, submit a pull request, complete the relevant code, and be merged by the community after review
难度 Difficulty
进阶
Advanced
导师 Mentor
Chao<EMAIL_ADDRESS>

Close since @yaoyinnan has done the wonderful job of minimal


Vehicle Count Methodology

This is somewhat related to https://github.com/sharedstreets/sharedstreets-mobility-metrics/issues/42. To confirm my understanding of the current method:
Total Vehicles = Count of unique device_id by day from Device_Status with an event_type of reserved, available, unavailable at least once in that day
Active Vehicles = Count of unique device_id by day from Trips
Is that right?  In the interest of comparing notes, SFMTA has taken a few approaches to counting devices thus far, depending on the purpose, and they all each have their pros & cons.  We initially started with a simple count of unique device_ids for each day but since providers may swap out vehicles mid-day, this ended up being misleading.
Hourly snapshots on-street devices = Given a "snapshot date/time" (e.g., 4/25 at 8am), total count of unique device_id from Device_Status that have sent an event within 48 hours of the snapshot date/time and with a latest event of available, reserved, or unavailable
Hourly snapshots of revenue devices = Given a "snapshot date/time" (e.g., 4/25 at 8am), total count of unique device_id from Device_Status that have sent an event within 48 hours of the snapshot date/time and with a latest event of available or reserved
The only difference between the two are whether or not to include the unavailable devices.  If measuring towards cap adherence, then we include the unavailable devices (what we've been calling "on-street devices"), but if looking more at actual service and what's available to customers (what we've been calling "revenue devices"), we exclude the unavailable devices.  The 48-hour window can also be flexible.
We've also been calculating:
Revenue Hours = sum of total time in an available or reserved state, which is derived from Device_Status
Using the hours helps to account for the change in devices over the course of the day.  Given different service models, this may or may not matter.  Some providers pull devices from service at night, some rebalance and/or replace devices over the course of the day, and others may just leave devices out all day with minimal rebalancing.   The hours would account for this so that we can compare and/or aggregate providers in an apples-to-apples way.
The snapshot approach is a little more intuitive, but the revenue hours is a little more flexible.  We're currently working with both now.

Is that right? In the interest of comparing notes, SFMTA has taken a few approaches to counting devices thus far, depending on the purpose, and they all each have their pros & cons. We initially started with a simple count of unique device_ids for each day but since providers may swap out vehicles mid-day, this ended up being misleading.

This is correct, except for Total Vehicles we would also count a vehicle that only had a "removed" status in addition to the other 3 + we add any ids that were seen in trips. There shouldn't be any vehicle ids from trips that were not already in a status change, but it's a conservative choice just to be sure. Presumably vehicles with only a "removed" event also had other events, but those fired on a previous day before the query window. The idea with Total Vehicles is to include basically anything that hit an endpoint.

The snapshot approach is a little more intuitive, but the revenue hours is a little more flexible. We're currently working with both now.

Thanks for sharing these detailed notes. I would love to include as many valid approaches as possible, and will take a look at revenue hours as one option alongside what we have today.

Based on feedback, we have added additional detailed fleet size metrics based on reconstruction of the status_changes feed. This functionality is available in v2.0 More details here:
https://github.com/sharedstreets/mobility-metrics/issues/77


Bootstrap plugin

In this PR we apply the io.spine.tools.gradle.bootstrap plugin (a.k.a. Bootstrap plugin) to this project.
With the help of the plugin, we're able to hide some tedious configuration details from the user.
Also, in this PR we split the build script into smaller case-specific configuration parts. The helper scripts and resources required by those scripts are now located in the script subfolder of the project.
Also, in this PR we perform a small update on the repository README.

@armiol, PTAL.

@armiol, PTAL.


Support for vuejs 3

Hello, everyone.
Recently I wanted to use this library in my vue3 project but I was not able.
it is crashing with the error
vue.js:6848 Uncaught (in promise) TypeError: selfHook.bind is not a function
any fix for that will be highly appreciated

Did you solve this? @gilons
I think i have figured out this is related to importing a component async from an external package.

Any updates on support for Vue 3 ?

I made little Vue 3 support for a fork of this plugin, anyone trying to use this in a Vue 3 project can use my little workaround till @iamstevendao releases official support for Vue 3.
https://github.com/victorybiz/vue3-tel-input

@victorybiz if you found a solution, why don't you make a PR?

I personally don't have the time to make a PR atm but came across this and have a quick easy solution if anybody is already stuck with Vue 3 and still needs to use this.
I created a quick gist and also a codesandbox to demonstrate use with the vanilla package

I made little Vue 3 support for a fork of this plugin, anyone trying to use this in a Vue 3 project can use my little workaround till @iamstevendao releases official support for Vue 3.
https://github.com/victorybiz/vue3-tel-input

Can you tell me how to track the value using "v-model" via vuelidate?

I made little Vue 3 support for a fork of this plugin, anyone trying to use this in a Vue 3 project can use my little workaround till @iamstevendao releases official support for Vue 3.
https://github.com/victorybiz/vue3-tel-input

Hi. I tried your fork, still the directive v-model doesn't change the virable of parent component from data. for example, sandbox
Could you help me with this, please?

Sorry for the delay guys. Support for vue3 is available at vue-tel-input@next: guide
Let me know if you find any issues.

Hello,
I tried to use support for Vue3  but I have those errors when  I click on input :
`
runtime-core.esm-bundler.js?5c40:217 Uncaught TypeError: Cannot read property 'setSelectionRange' of undefined
at f (vue-tel-input.umd.min.js?e75b:formatted:173)
at Proxy.onFocus (vue-tel-input.umd.min.js?e75b:formatted:5857)
at Object.onFocus.e..e. (vue-tel-input.umd.min.js?e75b:formatted:3447)
at callWithErrorHandling (runtime-core.esm-bundler.js?5c40:154)
at callWithAsyncErrorHandling (runtime-core.esm-bundler.js?5c40:163)
at HTMLInputElement.invoker (runtime-dom.esm-bundler.js?830f:333)
`
Do you have any solutions ?

Hello @iamstevendao ,
I tried to use support for Vue3 but I have those errors when I click on input :
runtime-core.esm-bundler.js?5c40:217 Uncaught TypeError: Cannot read property 'setSelectionRange' of undefined
    at f (vue-tel-input.umd.min.js?e75b:formatted:173)
    at Proxy.onFocus (vue-tel-input.umd.min.js?e75b:formatted:5857)
    at Object.onFocus.e.<computed>.e.<computed> (vue-tel-input.umd.min.js?e75b:formatted:3447)
    at callWithErrorHandling (runtime-core.esm-bundler.js?5c40:154)
    at callWithAsyncErrorHandling (runtime-core.esm-bundler.js?5c40:163)
    at HTMLInputElement.invoker (runtime-dom.esm-bundler.js?830f:333)

Do you have any solutions ?

I've got the same problem. Do you resolve it or wait official release?

@maraispierre @vasiiil are you guys using vue-tel-input in a component using composition API?

@maraispierre @vasiiil are you guys using vue-tel-input in a component using composition API?

No, I just use the vue-tel-input tag in the component as described in the block Getting started

@iamstevendao on my side, yes I try to use vue-tel-input in an component using composition API. I will try to use it with Option API.

@iamstevendao I try to use vue-tel-input with Option API, it doesn't work.

@iamstevendao hi
i'm update vue version to 3.1.1 and this error (Cannot read property 'setSelectionRange' of undefined) no longer reproduced.
but i have another error: countries doesn't displayed.
my import plugin code:
import { createApp } from 'vue';
import VueTelInput from 'vue-tel-input';
import 'vue-tel-input/dist/vue-tel-input.css';

Vue.use(VueTelInput, {
    defaultCountry: 'RU',
    dropdownOptions: {
        showDialCodeInSelection: false
    },
    inputOptions: {
        placeholder: 'Мобильный телефон',
    },
    invalidMsg: 'Некорректный номер телефона',
    mode: 'international',
    preferredCountries: ['RU', 'KZ', 'KG', 'BY']
});
Vue.mount('#app');

@iamstevendao Same issue when I will upgrade my version to 3.1.1

@iamstevendao hello
I think I found a bug.
reproduce:
1.set the validCharactersOnly prop to true
2.enter the correct phone number
3.enter a letter
if you enter a digit after the letter, the letters will be erased, and only a valid phone number will remain in the input field.
If after formatting the entered phone number (when the last digit is entered, the number is automatically formatted), enter a digit, the letters will again become unavailable for input.
thus, invalid characters can only be entered when there is a valid phone number in the input field and phoneObject.valid === true

@iamstevendao the plugin doesn't work properly on Vue 3. after mounting the plugin on Vue the Tel input shows up, formatting works. but using ref/reactive states in the Composition api and using v-model="phone" does nothing.
Whatever is being typed in <vue-tel-input v-model="phone"></vue-tel-input> won't add the typed numbers to the phone ref.
Also tried switching up ref for
setup: () => {
    const state = reactive({
        phone: ''
    })

   return { ...toRefs(state) }
}

<vue-tel-input v-model="phone"></vue-tel-input>
{{ phone }}

Nothing seem to work, data is not reactive.

Hey guys, sorry for the delay! I have addressed this issue in v6.0.0-beta.1.
Can anyone confirm that it's working now? Feel free to re-open the issue if not.

Hey guys, sorry for the delay! I have addressed this issue in v6.0.0-beta.1.
Can anyone confirm that it's working now? Feel free to re-open the issue if not.

@iamstevendao hi
Thank yuo for answer.
In vue-tel-input.vue you changed the value prop to the modelValue, but in computed and mounted still use this.value.
Didn’t there also need to replace the value with the modelValue?
mounted:
if (this.value) {
  this.phone = this.value.trim();
}

computed:
this.$nextTick(() => {
  // In case `v-model` is not set, we need to update the `phone` to be new formatted value
  if (value && !this.value) {
    this.phone = value;
  }
});

@vasiiil Thanks for noticing! 6.0.0-beta.2 is up!

There are still some bugs, on changing country it doesn't changes Dial Code in the input and changes only flag, also I can't write anything in input without hitting Enter key on every attempt to write any number

Sorry for the delay guys. Support for vue3 is available at vue-tel-input@next: guide
Let me know if you find any issues.

Hi! I'm getting a 404 on all of your documentation pages, is there any other way to see them?

@MorningPants can you try this? https://iamstevendao.com/vue-tel-input/guide/getting-started.html


Figure out a System.Diagnostics.Process story

Right now, executing a System.Diagnostics.Process will mess up the termios state on Unix systems. We need to figure out a way of dealing with this. It's not clear what the right thing to do actually is given that we could be in raw mode, while a child process expects cooked mode.
Further, on Windows, we need to consider how we'll deal with child processes that alter the console mode via System.Terminal and leave it in a state that the parent doesn't expect.

It's not clear what the right thing to do actually is given that we could be in raw mode, while a child process expects cooked mode.

The vast, overwhelming majority of programs expect to start in cooked mode.
I think the sensible thing to do is to throw an exception if the user launches a process when in raw mode. We could just switch to cooked mode and go ahead and launch the process, but that would likely lead to unexpected results as far as the user is concerned. Better to just enforce the notion that starting a child process while you're in raw mode is a bad idea. We should also make sure that changing raw mode while any child processes are still alive results in an exception.
Obviously we're going to have to ban System.Diagnostics.Process and provide a wrapper to do this.

After having done some digging through the relevant Process code (including portions of System.Native), here are some findings.

All terminal adjustments made as a result of a SIGCHLD signal (child process exiting) can effectively be blocked with PosixSignalRegistration (by setting PosixSignalContext.Cancel).
Terminal adjustments made as a result of starting (or failing to start) a Process cannot be blocked at all.

The second point is a major problem.

I don't think we'd need to do much in particular for Windows. Just the mode changes described above should be enough.

Still need to think about how SIGTTOU fits into all this. Relevant: http://curiousthing.org/sigttin-sigttou-deep-dive-linux

Still need to think about how SIGTTOU fits into all this. Relevant: http://curiousthing.org/sigttin-sigttou-deep-dive-linux

Spinning this off into a separate issue as it doesn't really have anything to do with Process: #42

Terminal adjustments made as a result of starting (or failing to start) a Process cannot be blocked at all.

This has now been resolved; see e995c00750c7f2299741391fbcc709d1a2d3331c and https://github.com/dotnet/runtime/issues/62707#issuecomment-992745135.


feat: Whitelist of files for actual Playwright tests

Use case:
We have a bunch of tests files in our project, but only some of them require a browser instance. Currently we open for every test with Jest a dedicated browser.
Ideas:

a) introduce a whitelist, so that only for a specific glob pattern (can also be full file path) will the browser in the end being created

- b) use a single browser instance for all the tests and only create a new context for each file (docs in #72)

For any further visitors the workaround or best practise for that by Jest would be to create multiple Jest configuration files. In the end you can combine this by calling jest with jest -c jest.e2e.config.js for example via the jest section of your package.json file and the testMatch setting of Jest.


Encoding error when installing on Windows

Hi,
When pip-ing on Windows, I get:
Collecting tri.table
  Downloading tri.table-4.1.0.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\rosselj\AppData\Local\Temp\pip-build-pffzr5hj\tri.table\setup.py", line 7, in <module>
        readme = open('README.rst').read()
      File "C:\PortableSoftware\WinPython3-5\python-3.5.3.amd64\lib\encodings\cp1252.py", line 23, in decode
        return codecs.charmap_decode(input,self.errors,decoding_table)[0]
    UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 4826: character maps to <undefined>

As far as I've seen, it might be related to some special characters in auxiliary text files (README and such). Probably, the quotation marks in the README.rst file (look for “just display columns x, y and z somehow”). I'd like to test your very promising package, but I'm stuck here...

We've pushed a new release (4.1.2) for you that should fix this. Funnily it was a confluence of problems:

python on windows uses cp1252 encoding by default
but not in python 3.6 anymore!
we had inadvertently put in smart quotes instead of straight quotes in the readme. Oops
we didn't open the readme with a specific encoding specified

phew! We've fixed 3 and 4 :P

Nice, that was fast ! ... and it works, even nicer. Thanks !

Great! If you have any questions feel free to mail me at<EMAIL_ADDRESS>or post issues here. There's a bit of magic in tri.table which makes people a bit confused at time when trying to do more advanced stuff :P


feat: FastEmbed embedding provider

Description:
This PR intends to add Qdrant/FastEmbed as a local embeddings provider, associated tests and documentation.
Documentation preview: https://langchain-git-fork-anush008-master-langchain.vercel.app/docs/integrations/text_embedding/fastembed

@eyurtsev, should be good now.

Can merge if passes tests


Latest version of collection not published to Ansible Galaxy

Deployment to Ansible Galaxy failed for the latest two commits. So the latest version available on Galaxy is 1.9.7.

@robertdebock Any chance to pick this up?

You are right. Not sure what happened. New version is pushed and published to Galaxy. Thanks!


chore(backend, wip): update tigerbeetle-node to v0.10.0

Changes proposed in this pull request

Context

fixes #381

Checklist

[ ] Related issues linked using fixes #number
[ ] Tests added/updated
[ ] Documentation added
[ ] Make sure that all checks pass

Closed due to: https://github.com/interledger/rafiki/pull/452


Animations not triggering if component or element is already on viewport.

I am using TAOS with Angular v15.
I have successfully installed it, however the animations on the above the fold content is not triggering.
But the lower content animations are fine.
Is there a way to fix this?

At the moment we don't support JS frameworks, it may work with some (doesn't with React it seems).
Most likely an issue with JS loading after the HTML.
Look at
<script>document.documentElement.classList.add('js')</script>


OGC WmsMapType minZoom - maxZoom range does not restrict tiles rendering

Using the example code with different wms servers

setting the values minZoom and maxZoom have no effect in the tiles rendering
regardless of those zoom values the tiles are rendered

This is a problem when rendering smaller geographic boundaries at a small zoom values, whereas the map becomes unreadable with some many overlapping lines
Some wms servers deal with the zoom by returning empty tiles below certain zoom level, like US census for counties boundaries below zoom 6
  url: "https://tigerweb.geo.census.gov/arcgis/services/TIGERweb/tigerWMS_Current/MapServer/WmsServer?",
  layers: "Counties",

But others keep rendering the tiles at any zoom level, ignoring minZoom value
Would it be possible for the WmsMapType plugin to stop calling the wms server when out of the zoom range (minZoom - maxZoom) if any of those values is set in the WmsMapType options?
Thanks

Do you have a example for this? The WMS helper is a fairly light wrapper around https://developers.google.com/maps/documentation/javascript/reference/image-overlay#ImageMapType and should support setting min and max zoom.

The example from this repository also ignores the minZoom value as well
The following URL, using layer = "2" and minZoom = 8
It keeps showing the boundaries for any zoom value below 8
  url: "http://webservices.maps.canada.ca/arcgis/services/ELECTIONS/elections_canada_2019_en/MapServer/WMSServer?",
  layers: "2",

The fundamental question here would be

Who is responsible or has the capability for enforcing the zoom range?

The WMS server OR the Google ImageMapType / overlayMapTypes functions
Or this plugin should take care of that?

From Google documentation it looks like ImageMapTypeOptions is responsible for that
"minZoom: The minimum zoom level for the map when displaying this MapType. Optional; defaults to 0"


IronOS changing to 128 bit UUID

Change to 128bit UUID's #1608  is now  merged into IRonOS  beta ( coming in the next release)
Please check if it doesn't break  Ble webpage.
Original ticket explaining the reason for 128bit UUID:  Original ticket explaining the reasons for UUID change to 128bit: https://github.com/Ralim/IronOS/issues/1569
Zip file is here for Download of the beta:
https://github.com/Ralim/IronOS/actions/runs/4420347769

https://github.com/Ralim/IronOS/actions/runs/4420347769
This one is broken, there's no exposed services in BLE Explorer even.

yep we see it broken in PineSAM too please report that on comments for it so Ralim knows :)


Release @google-cloud/common v0.25.0

This pull request was generated using releasetool.

Release is at https://github.com/googleapis/nodejs-common/releases/tag/v0.25.0


Handle Supermetrics API rate limiting

This shouldn't break the SupermetricsToCSV task (improve Supermetrics.to_json() to accomplish that)

Added to the next release. This is now handled in two ways: 1. Retries on requests level, 2. Requests on the Prefect task level.


Add support for new MSBuild .csproj format

Could not load project NewProjectFormat
(new MSBuild .csproj are not supported, unload them first):
System.NullReferenceException: Object reference not set to an instance of an object.

   at NuGetReferenceSwitcher.Presentation.Models.ProjectModel.LoadReferences()
   at NuGetReferenceSwitcher.Presentation.ViewModels.MainDialogModel.GetAllProjects(IEnumerable`1 objects)

Any update on this ??
We are also facing same issue.

+1

I havent planned to implement this feature - however i accpect prs... im working on a command line version for .net core with this feature, because it is much simpler than developing a vs extension...

Great extension, would even be better with this issue, so +1.

@RSuter,

command line version for .net core with this feature

Will it be in the same repository? Or in the  separate repository? When are you planning to release it?

As an alternative, you might want to use condition=... in your itemgroups. In that way, depending on $(Configuration) you can use referenced packages or project references easily with one csproj file. Works in both old and new csproj format.

@monty241 this is a really good idea. After I changed all my projects to this, I really no longer need this extension :-)
@michael-freidgeim-webjet i'm not yet sure if I open-source this tool, I'm already spending a lot of time for open source (see my other projects), and I also need to earn some money sometimes or have some free time... the current is not really working very well.

Any updates on this?

This is not planned, use DNT instead: https://github.com/RicoSuter/DNT


Add properties pane for artboards

It should at least allow you to specify a precise pixel size for the artboard.

In progress. PR coming soon


JS: Use recent WASM features

WeakRef and reference types are now supported in all recent browser and NodeJS. We should consider to use them them.

Done in 0.4 alphas


BalancedPositiveNegativeSampler does not work as expected

🐛 Bug
From my understanding, BalancedPositiveNegativeSampler would return the self.batch_size_per_image * self.positive_fraction number of positive labels per image. But when I printed out, the positive labels only account for way less than positive_fraction number of positive labels per image. Is it expected? Am I understanding it wrong?
For example,  with batch_size_per_image as 512, positive_fraction as 0.25 as default value, the negative samples returned will be around 490.

To Reproduce
Steps to reproduce the behavior:

Expected behavior

Environment
Please copy and paste the output from our
environment collection script
(or fill out the checklist below manually).
You can get the script and run it with:
wget https://raw.githubusercontent.com/pytorch/pytorch/master/torch/utils/collect_env.py
# For security purposes, please check the contents of collect_env.py before running it.
python collect_env.py

PyTorch / torchvision Version (e.g., 1.0 / 0.4.0):
OS (e.g., Linux):
How you installed PyTorch / torchvision (conda, pip, source):
Build command you used (if compiling from source):
Python version:
CUDA/cuDNN version:
GPU models and configuration:
Any other relevant information:

Additional context

I think I understand. It's min(positive.numel(), num_pos) that caused this. I will close this issue.


moving the gh-pages from bobs to the official repo

@abstractj i think this should do it for the docs that bob had.  i think we need to update the way docs are created though since the current doxx plugin has issues with the latest npm https://github.com/evertton/grunt-mrdoc/issues/9
but that is another issue :)

@lholmquist son, did you rebase?

@abstractj crap, history is a little f'ed here.  let me re-do this

@abstractj i made a better one over here https://github.com/keycloak/keycloak-nodejs-auth-utils/pull/7


values.yaml annotations for regenerating values.schema.json

We have a few quite long values.yaml files, and they are constantly growing.
Unfortunately the current workflow supports only the initial creation of values.schema.json, but not its incremental updating.
Also many values are empty in values.yaml and are only set in accompanying values-<env>.yaml files which contain sensitive information and environment specific concrete values. Hence the type of these values is not derivable from values.yaml.
It would also be very helpful if the value constraints like e.g. enum, minimum or regex would also be reflected in values.yaml because it's cumbersome to find them in the very long values.schema.json file.
My proposal is to add (optional) comment line(s) with type annotations in values.yaml before each value line.
When generating values.schema.json from values.yaml these type annotation would then be used to refine the derived types (and to check for inconsistencies).
The syntax for the annotations should be succinct. Obvious and hence redundant information should be ommited, e.g. "type": "object" if there are child values, also derivable types like "string", "integer" of "boolean".
Also meaningful defaults should be used, e.g. all parent values should be considered as required by default. Only if the parent itself is optional this should be annotated.
In short only the manual changes necessary to the now generated values.schema.json file should be annotated.
To promote the adoption this approach it would also be helpful if there was a tool to create a new version of the existing values.yaml file by adding/updating these annotation comment lines based on the (manually edited) information in values.schema.json.
Thank you in advance

@mick62 I think you want to add "additionalProperties": false, to all objects, so that your CI fails if anyone adds options without created the schema for it.

Hey! Sorry, I have been caught up with multiple things, so I have not been able to reply to issues / write code for this project. I'm not exactly planning on building more into the tool. This was more of a side project 😅 To be fair, I wasn't even using this at work because at the time I wrote the tool, we were still using Helm v2. I had just written the tool wondering that we could try using it / taking it for a spin when we want to migrate to Helm v3 and try using the schema feature
I would recommend forking and using the repo, I'm guessing you or others might already be doing this. I did notice a nice PR regarding annotated yaml in #10 by @k-kinzal , but then later I couldn't find any time to build on top of that PR


Template support

Hyperlink to template parts elsewhere in the workspace
Teach the extension about parameters for intellisense
Help generating a template ("factor out as template"?)

Totally need this!!! Installed the extension, opened a working template and bam, syntax errors:


Axis fixes

OK, the pressure to not reduce the coverage is great. Anyway, I'm done. If someone wants to poke around before merging, cool. Otherwise, you can play with the axis examples to see if it acts the way you think it should act.

Looks great to me. I'd say :+1: for merge


Command not found on Linux (Sharing Server)

Hai, Mike I'm sorry for disturbing you, and I'm sorry if my English is not good, but I'll make you easy to understand.
We've some problem, after I've installed Wkhtml to the Linux (Sharing Server), and then after that I've installed composer, with your Library "Mikehaertl/phpwkhtmltopdf".
We've got something error message, "sh : wkhtmltopdf : command not found"
After that, I've added binnary => "to/directory/of/wkhtml"
And then, We've got some error message about "sh : path/directory/wkhtml : No such file or directory
After that, I've checked with "whereis wkhtmltopdf", It's show empty directory.
Can you help me, what's wrong with it? And Can you give us, some solution, or good advice, please ?
Thank you very much for your attention

It's wkhtmltopdf not wkhtmlto.

Thank you @mikehaertl  For your advice. But I'm not understand what do you mean about. Please tell me little more.
We can't  understand about what do you say, "It's wkhtmltopdf not wkhtmlto" ?
We've appreciate, about your good advice, and information.
Thank you for your attention.

This library is a wrapper around wkhtmltopdf. This is a shell command that must be installed on your system. It's not called wkhtmlto as in your configuration.

Thank you @mikehaertl for your response. I've appreciate.
But I've solution for this error.
We've must add ' ./wkhtmltopdf/path_to_bin/wkhtmltopdf ' on binary configuration.
We've missed add ' ./ ' in front of the path.
And It's make trouble and error for us.
So, now It's can work properly like what we want.
Thank you @mikehaertl for your library, It's very usefull.
We're hope, you and your team have a good future.
Best Regards,
Andy


Tear-down the connection

Hello!
I stumble upon the interesting (for me) behavior, a few of most http requests are failed with the reason "socket_closed_remotely".
I have the erlang client which uses httpc (it has connection manager) and cowboy 2.6.3. In the tcpdump tcp trace (attached to issue from_client.pcap.zip), I see, that httpc client sends http requests, the httpc connection manager route that requests into established connections. And after some requests/replies, cowboy decide to close the connection, and in tcp trace, I see the [FIN, ACK] from it. But, after ~16 microseconds, httpc sends request into connection, and after that replies with [FIN, ACK] and receives [ACK] back from cowboy. As the result, the last request failed with "socket_closed_remotely" reason.
It looks like a race on the client-side, between receive [FIN, ACK] and request ~16 microseconds, and possibly, the "close" message was in mailbox of httpc connection manager but the request was already sent into connection or smth like...
But, it seems like, cowboy doesn't add the "Connection: close" header to the last successful reply, which could help the connection managed don't route the new requests to the connection which will be closed soon or already closed...

Cowboy adds Connection: close when it knows it's going to close the connection, not when closing the connection as a result of a timeout, because there's no way to signal that in HTTP/1.1. You should either increase the timeouts or make sure connections don't stay idle too long. This problem does not exist with HTTP/2 due to the GOAWAY frame existing.

@essen hmm, I'm a little bit confused, could you explain please, why did you talk about timeout? There is no timeout at all in my case

The first [FIN, ACK] line in TCP > Timestamps says [Time since previous frame in this TCP stream: 5.001000000 seconds], pretty sure you just have a 5 seconds timeout somewhere in the Cowboy configuration. Might be a default value, Cowboy defaults used to be very low but they were relaxed a while back.


SAMZA-2419: removing duplicate cleaning of stores

Issues: Code block for cleaning logged stores according to config value is duplicated.
Changes: Removing duplicate code block.
Tests: N/A, code is functionally the same

@rmatharu @bharathkk can you take a look?

Looks good to me. Can you add a unit test?

@mynameborat done

Will merge it once travis and checks pass.

@mynameborat must have been a transient failure before; i didn't see any specific test failures, and the next run passed.


i just started out what is this error and how do i fix it terminal issue

C:\Users\Documents\Chess-Challenge-main (1)\Chess-Challenge-main\Chess-Challenge\src\My Bot\MyBot.cs(5,
17): error CS0161: 'MyBot.Think(Board, Timer)': not all code paths return a value [C:\User\Documents\Chess-Challenge-main (1)\Chess-Challenge-main\Chess-Challenge\Chess-Challenge.csproj]

It means that your Think function may not always return a move.

Google "not all code paths return a value c#"

Thanks


[v3.5.0 - RC1] Hideout not loading when S+D is installed

When the mod is installed (default settings) the hideout is stuck on loading forever until the game is force closed, these are all the pertinent logs I found in FullLogOutput.log
[Message: ModVerify] dvize.Donuts PluginVersion:1.6.0 FileVersion:<IP_ADDRESS> CRC32:1535F845
[Warning:DonutsPlugin] Loaded 10 Donuts Scenario Folders
[Warning:DonutsPlugin] Loaded 3 Donuts Scenario Folders
[Warning:DonutsPlugin] Loaded 10 Donuts Scenario Folders
[Warning:DonutsPlugin] Loaded 3 Donuts Scenario Folders
[Warning:DonutsPlugin] Adding scenario: live-like
[Warning:DonutsPlugin] Adding scenario: live-like-alt
[Warning:DonutsPlugin] Adding scenario: morescavs
[Warning:DonutsPlugin] Adding scenario: morepmcs
[Warning:DonutsPlugin] Adding scenario: impossibleraids
[Warning:DonutsPlugin] Adding scenario: quietraids
[Warning:DonutsPlugin] Adding scenario: scav-raids
[Warning:DonutsPlugin] Adding scenario: starting-pmcs-only-live-like
[Warning:DonutsPlugin] Adding scenario: starting-pmcs-only-live-like-alt
[Warning:DonutsPlugin] Adding scenario: starting-pmcs-only-morescavs
[Warning:DonutsPlugin] Adding scenario: Live Like (Random)
[Warning:DonutsPlugin] Adding scenario: Starting PMCs Only (Random)
[Warning:DonutsPlugin] Adding scenario: A Whole Lotta SCAVs
[Warning:DonutsPlugin] Loaded 13 PMC Scenarios and Finished Generating
[Warning:DonutsPlugin] Adding scenario: live-like
[Warning:DonutsPlugin] Adding scenario: live-like-alt
[Warning:DonutsPlugin] Adding scenario: morescavs
[Warning:DonutsPlugin] Adding scenario: morepmcs
[Warning:DonutsPlugin] Adding scenario: impossibleraids
[Warning:DonutsPlugin] Adding scenario: quietraids
[Warning:DonutsPlugin] Adding scenario: scav-raids
[Warning:DonutsPlugin] Adding scenario: starting-pmcs-only-live-like
[Warning:DonutsPlugin] Adding scenario: starting-pmcs-only-live-like-alt
[Warning:DonutsPlugin] Adding scenario: starting-pmcs-only-morescavs
[Warning:DonutsPlugin] Adding scenario: Live Like (Random)
[Warning:DonutsPlugin] Adding scenario: Starting PMCs Only (Random)
[Warning:DonutsPlugin] Adding scenario: A Whole Lotta SCAVs
[Warning:DonutsPlugin] Loaded 13 SCAV Scenarios and Finished Generating
[Warning:DonutsPlugin] Loaded PMC Scenarios: live-like, live-like-alt, morescavs, morepmcs, impossibleraids, quietraids, scav-raids, starting-pmcs-only-live-like, starting-pmcs-only-live-like-alt, starting-pmcs-only-morescavs, Live Like (Random), Starting PMCs Only (Random), A Whole Lotta SCAVs
[Warning:DonutsPlugin] Loaded Scav Scenarios: live-like, live-like-alt, morescavs, morepmcs, impossibleraids, quietraids, scav-raids, starting-pmcs-only-live-like, starting-pmcs-only-live-like-alt, starting-pmcs-only-morescavs, Live Like (Random), Starting PMCs Only (Random), A Whole Lotta SCAVs
[Warning:DonutsPlugin] scenariosLoaded:True
[Warning:ModulePatch] Donuts is waiting for bot preparation to complete...
[Warning:ModulePatch] Donuts still waiting...
[Warning:ModulePatch] Donuts still waiting...
[Warning:ModulePatch] Donuts still waiting...
[Warning:ModulePatch] Donuts still waiting...
[Warning:ModulePatch] Donuts still waiting...
[Warning:ModulePatch] Donuts still waiting...
[Warning:ModulePatch] Donuts still waiting...
[Warning:ModulePatch] Donuts still waiting...
[Warning:ModulePatch] Donuts still waiting...
[Warning:ModulePatch] Donuts still waiting...
[Warning:ModulePatch] Donuts still waiting...
[Warning:ModulePatch] Donuts still waiting...
[Warning:ModulePatch] Donuts still waiting...
[Warning:ModulePatch] Donuts still waiting...
[Warning:ModulePatch] Donuts still waiting...
[Warning:ModulePatch] Donuts still waiting...
[Warning:ModulePatch] Donuts still waiting...
[Warning:ModulePatch] Donuts still waiting...
[Warning:ModulePatch] Donuts still waiting...
[Warning:ModulePatch] Donuts still waiting...
[Warning:ModulePatch] Donuts still waiting...
[Warning:ModulePatch] Donuts still waiting...
[Warning:ModulePatch] Donuts still waiting...
[Warning:ModulePatch] Donuts still waiting...
[Warning:ModulePatch] Donuts still waiting...
[Warning:ModulePatch] Donuts still waiting...
[Warning:ModulePatch] Donuts still waiting...

thanks, this has been fixed: https://github.com/dvize/Donuts/issues/66#issuecomment-2223625547


Add Maven support for containerizing packaged JAR

For #905 on the Maven side.
Things are working. We can discuss if the implementation and the new configuration make sense. No tests are added for now.

I'll add some more explanation about what's going on and how the new config will look like shortly.

As for the new config,
<configuration>
  <!--
    Optional.
    "exploded" is the default and the current behavior.
    "packaged" puts a JAR artifact (and potentially a WAR in the future).
  -->
  <containerizingMode>exploded</containerizingMode>
</configuration>

When the mode is "packaged", the layers built by Jib will be

Dependency layer
"Others" layer: to contain a single JAR under /classpath, e.g., /classpath/awesome-app-2.3.jar

And the entrypoint will be set to
java -cp /classpath/*:/app/libs/* example.MainClass

In order for the JAR containerization to work, the build has to run with mvn package instead of mvn compile. I should not forget to show a correct error message when the JAR artifact is not built.

I still need to add integration tests and may sort out a couple things, but good enough to start reviewing.

Hmm... On second thought, I don't like the fallback for identifying the input JAR. It may act differently depending on whether package is combined with a Jib goal. I think we better need consistent and reproducible behavior.

I think this looks okay, I do find that containerizingMode is a little long.
Do any of these make sense?

mode
packaging // presumably this conflicts with maven properties?

We may go with mode then. To me, packaging is a bit confusing term in the context of containerization.

I feel like mode is really vague.

HelloWorld.class.getResourceAsStream() worked when explicitly saying /world is at root.

Yeah my naming suggestions were a little weak, maybe we can talk about this tomorrow at the design before submitting.

I think we decided in the design meeting that this should be good to go. Might need a rebase?

@loosebazooka I've tweaked the code around adding dependencies while resolving merging conflicts. Please take a second look at the last merge commit (https://github.com/GoogleContainerTools/jib/pull/1746/commits/be7610be57a2e4fd4e0cb399fabdcd0aae63e50f) to see things look good.


Note on how to find TLS/SSL certificate thumbprint

Added a note and image on how to find the TLS/SSL certificate thumbprint similar to https://docs.microsoft.com/en-us/azure/app-service/configure-ssl-certificate-in-code#find-the-thumbprint

@v-carpenterd : Thanks for your contribution! The author(s) have been notified to review your proposed change.

IMPORTANT: When this content is ready to merge, the reviewer must add #sign-off in a comment or the approval may get overlooked.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@v-carpenterd : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@v-carpenterd : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Update v2.8.1 Bug: Medkit Forever Critically Injured State & Stimpack Damage Issue

Hello! It's me again, and I found some new bugs.

Stimpack
So, in order to test whether this new feature works or not, I installed a mod that displays HP number in text, and here's what I've found:
Starting with 500HP (I tweaked it using config so the issue is easier to notice)
I used the ramp outside the experimentation fire exit as a test.

I jumped off the ramp, and landed myself on the ground. My HP now is 100

I jumped of the ramp again, but now my HP is 60

I jumped of the ramp third time, and my HP is exactly 20

Subsequent jumping down the ramp always leave me in critical state with my HP slowly regenerate back to 20. (Never killed me)

Medkit
After that test, I tried to heal myself using the new medkit, but I found that the medkit can never heal you above 100HP

Also, I found that if you heal yourself during critically injured state (when you're about one hit away from death, your character will have decreased movement speed and blood trails behind you. You can still recover after some time as the game automatically heals you back to 20HP, and at that point, the blood will stop and your character will be able to move normal again)
Your character will never stop bleeding and your speed will be decreased for the entire duration of that round.

My Personal Guess:
At frist, I thought it's the text issue, perhaps it couldn't register the correct health. However, subsequent jumps proved that the game was automatically registering health back to 100 when we took damage if our health was above 100. (no matter how big or small the damage actually was)
I'm guessing 100HP is the default HP, so the game trys to return us back to that value when our health is over 100.
As for the medkit bleeding, I think because we never "recover" from the critically injured state as we force heal ourselves using medkits, the game forever thinks we're still critically injured.

Made a pull request that solves both issues.
TL;DR vanilla assumes that the maximum health possible is 100 and forces that whenever the player is damaged.
In other words, stimpack was just basically a "take one hit and your health boost is gone because it's back to 100"
The medkit issue was basically forgot to set the player to not critically injured when healed past the threshold.

Thanks for so much info, I just uploaded 2.8.2 with @WhiteSpike's changes and all should be resolved now. @FireGeneral please reopen this issue if issues arise.


Display name is not reflecting in meeting for host

When starting a scheduled meeting with a given meeting id and passcode and host login credentials, it's starting the meeting successfully. But the hostname is showing as per the zoom account, not what I want to show via 'displayName' option available in the plugin. And it's causing the issue when the case is server admin creates a meeting and someone else is starting it as host. But I am passing server admin account credentials to log in to zoom. But I want to show the name of the host who started the meeting.
@evilrat Please tell me how can I achieve this?

When starting a scheduled meeting with a given meeting id and passcode and host login credentials, it's starting the meeting successfully. But the hostname is showing as per the zoom account, not what I want to show via 'displayName' option available in the plugin. And it's causing the issue when the case is server admin creates a meeting and someone else is starting it as host. But I am passing server admin account credentials to log in to zoom. But I want to show the name of the host who started the meeting.
@evilrat Please tell me how can I achieve this?

Fir Personal meeting it will take your account name only....passing name is not supported via zoom


Add a Thrift service for cameras to add support for cross-language camera <-> server communication

The existing design of PEPI as of v3.0 has the requirement that servers and cameras (in Python, MetaServer and MetaCamera) be implemented in the same language. This requirement stems from the fact that the camera object's still() method is called directly from the server.
This issue proposes that the MetaCamera object be replaced with an Thrift service defined in pepi.thrift.
Benefits:

Adding a Thrift server for a camera would allow the still() method to be called over Thrift, which would inherently provide cross-language support.
It is consistent with the existing design of abstracting away components of the system from the caller
A server could support cameras that were available over the network.
This would provide a single source of truth for what a camera is, rather than only providing a Python object implementation.
Further to the above point, it would mean a single test suite for contracts could be implemented in Python by accessing objects from other languages over Thrift. If the wrong values are received in Python, then we can infer that the implementation is incorrect in that language.

Drawbacks:

The distinction between a Camera and a CameraServer is muddied as they both act as servers.
This could introduce unacceptable latency/overhead to the system for synchronised captures.
Server's need to know whether they're dealing with a local or remote camera, and therefore where that camera is accessible at. Accessing all over Apache Thrift may be an OK design, but breaks existing compatibility with 3.0, so perhaps there will be a way to pass different types of cameras to a server.

Implemented in new design introduced in a5bfe4343e506e6b6622d1ad2e94c26c62f01fa9.


Convert DMLProjector to BatchIteratorProjector

Codecov Report

Merging #5076 into batch-iterator will decrease coverage by 0.02%.
The diff coverage is 87.5%.

@@                 Coverage Diff                  @@
##             batch-iterator    #5076      +/-   ##
====================================================
- Coverage             82.29%   82.26%   -0.03%
- Complexity            11018    11020       +2
====================================================
  Files                  1332     1332
  Lines                 45143    45147       +4
  Branches               5660     5661       +1
====================================================
- Hits                  37150    37141       -9
- Misses                 5324     5334      +10
- Partials               2669     2672       +3

Impacted Files
Coverage Δ
Complexity Δ

...ate/operation/projectors/IndexWriterProjector.java
78.94% <100%> (ø)
9 <1> (ø)
:x:

...tion/projectors/IndexWriterCountBatchIterator.java
88.09% <100%> (+5.23%)
26 <2> (+4)
:white_check_mark:

...eration/projectors/ColumnIndexWriterProjector.java
75% <100%> (ø)
9 <1> (ø)
:x:

...va/io/crate/operation/projectors/DMLProjector.java
76.47% <55.55%> (-1.31%)
5 <3> (ø)

...n/java/io/crate/exceptions/JobKilledException.java
0% <0%> (-66.67%)
0% <0%> (-1%)

...ration/projectors/BulkProcessorFutureCallback.java
75% <0%> (-18.75%)
5% <0%> (-2%)

...rc/main/java/io/crate/analyze/UnboundAnalyzer.java
70% <0%> (-15%)
2% <0%> (ø)

.../crate/operation/projectors/InputRowProjector.java
85.71% <0%> (-14.29%)
5% <0%> (-1%)

...crate/executor/transport/TransportShardAction.java
77.5% <0%> (-12.5%)
8% <0%> (-1%)

...transport/executionphases/ExecutionPhasesTask.java
83.17% <0%> (-8.42%)
20% <0%> (-3%)

... and 31 more

Continue to review full report at Codecov.

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


Possible Issues with withAsyncComponent

Thanks for putting this together.
Line 64
 if (rehydrateState) {
          if (!rehydrateState.resolved[id]) {
            return false;
          }
....

Not sure what rehydrateState.resolved[id] is referring to, but in the case of rehydrateState.resolved not defined it throws an error which I guess you should guard against its null-ability.
Line 103
 state: { resolved: execContext.getResolved() },

I think you kill state rehydration too soon before it gets to the client.
Currently to get around this I only requery store.getState() which is not ideal.

Thanks for the report @kikoanis
I'll review these and make sure the cases are covered in the next batch of tests I plan to write.

Hi @kikoanis!
I am reviewing your issue.  A couple of questions...

Not sure what rehydrateState.resolved[id] is referring to, but in the case of rehydrateState.resolved not defined it throws an error which I guess you should guard against its null-ability.

Have you experienced an undefined error?

I think you kill state rehydration too soon before it gets to the client.
Currently to get around this I only requery store.getState() which is not ideal.

I am a bit confused on this one.  I believe store.getState() is against the redux store, if so this should not be affected by the line you have highlighted. The line in question is to remove the state that is used by this library when rehydrating a client with the async components that were resolved in a server render.  This data is only needed once, and we therefore destroy to avoid issues with hot reloading and/or remounting cases.

Have you experienced an undefined error?

This is the error message I am getting

Which I tracked it down to line 84 in the compiled file

I am a bit confused on this one. I believe store.getState() is against the redux store
Yes it is.

This data is only needed once, and we therefore destroy to avoid issues with hot reloading and/or remounting cases.

I know this is for the client to use the server state only the first time. But the problem is that the client is not getting it first time. Not sure if we need the client to destroy it rather than the server, may be by replacing this line
state: { resolved: execContext.getResolved() },

by this
state: typeof window !== 'undefined' ? { resolved: execContext.getResolved() } : rehydrateState,

Hmm, something definitely sounds off here.  It appears the state is not being configured properly for your environment.  Is there any chance you could share your configuration with me so that I can review?

Thanks for getting back on it.
Will try to upload something for you to review based on your redux branch. Will keep you informed

doh... this will take sometime as the redux branch is way behind and the project I am working on is private one and I am afraid I am not in a position to share it.
Anyway. On the server side what I am getting as a state is only this
{
   resolved: {
      '1': true
   }
}

There is no elements of the other store state which is why I am doing Store.getState() again on the client side. Obviously this defeats the whole idea of SSR, doesn't it?
You may be right about the possibility of mis-configuration on our side so I will try to update the redux-opinionated branch to get a solid example to debug and review.

OK... So I think I managed to resolve the issue for now by adding a new reducer entry for "resolved" as an empty object into the redux store. The "resolved" entry is mentioned in the withAsyncComponent.
Still not sure if the "resolved" entry is for tracking changes between server and client internally, why we still need it in the redux store.
Unless I am missing something else not obvious in your react-universally@next


Create health check API

https://microservices.io/patterns/observability/health-check-api.html

Priorities

Service online
Avg response time
QPS
# of DB failures
# of DB connection
Memory usage
CPU usage

@byliuyang Can you assign this to me?

https://short-d.com/r/health-check-design


Use checksums to disambiguate snapshots in >1 pack

This PR takes care of non-unique snapshots/snapshots available in multiple packs by comparing content checksums. If the snapshots are determined to be non-identical, AmbiguousSnapshotMatch is returned, as before.
Potentially relevant to #74, depending on how we want to implement elfshaker list.

Thanks for the review and suggestions.


Fix lint realted problems and enable related GitHub actions

Fix lint realted problems.
Enable cli-ci both main and feature/sjad branches.

Hi, @saragluna .
Please help to review this PR.
This PR fixed the pipeline failures. And enable github actions when creating PR to this branch: azure-javaee:feature/sjad
It's not easy to fix the test failures in this package: github.com/azure/azure-dev/cli/azd/test/functional. So I just skipped it. If it's necessary to add the tests in this package, we can enable it then.
Anyway, it's much better than no pipeline in out PRs before.


detect on image or filename

I would like the option to use predict without having to touch the disk.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Is there anything still required for this? Its too late to see the welcome.yaml issue.

Thank you for your contribution! For some reason I wasn't getting notifications for individual autodistill repositories when we first created them. This PR relates to a broader question that we have not yet answered on data formats. I think we'd want to offer the image loading functionality in autodistill itself, rather than individual models. Then we would update each model to use the parent autodistill image loader. I will flag this with the team and see what we can do.

Any update on this? If this functionality is available in a different way, I'm happy to change the way I'm using it.

@seanreynoldscs Thank you for your contribution! We have been working hard on support for loading images from memory and. We are excited to say that DETIC now has support for loading images from memory. You can pass in a PIL or cv2 array as the input argument, rather than a file name.
This is being rolled out to other Autodistill modules, too.
Let me know if you have any questions!

Note: You will need to run pip install --upgrade autodistill autodistill-detic to use the feature to load images from memory.


Develop

Coverage decreased (-0.3%) to 71.709% when pulling 79598aaaa2207173066fe457861e354370a88c67 on JrtPec:develop into 41969e2de839c0f67cf9642c19a393a32207432b on opengridcc:develop.

Coverage decreased (-0.3%) to 71.709% when pulling 79598aaaa2207173066fe457861e354370a88c67 on JrtPec:develop into 41969e2de839c0f67cf9642c19a393a32207432b on opengridcc:develop.

Coverage decreased (-0.06%) to 71.958% when pulling af2e2cba7e5b49ab00a5da9e92101fc38663af78 on JrtPec:develop into 41969e2de839c0f67cf9642c19a393a32207432b on opengridcc:develop.


Feature: Email Signup with Flask-Mail OTP Verification

Feature Request
Is your feature request related to a problem you're trying to solve with Devhub? Please describe.
The signup process is currently restricted to username only, which could be improved by allowing email signups with OTP verification.
Describe the solution you'd like

Enhance the signup process to allow registration using either username or email
Implement OTP verification system using Flask-Mail for email-based signups
Modify the login route to accept either username or email along with password
Update SQLAlchemy models to include email field and verification status

Describe alternatives you've considered
Social media logins were considered but may complicate the user experience. Email verification provides a good balance of security and usability.
How would this feature improve Devhub?
This will provide more flexible options for account creation and login, enhancing user convenience while maintaining security.
Additional context

Are you willing to resolve this issue by submitting a Pull Request?

Use Flask-Mail for handling email functionality
Implement rate limiting for OTP generation using Flask-Limiter
Consider using Flask-Security for additional auth features if needed
Update Flask routes to handle new email-based login logic

hey i want to work on this feature enhancement , i already have experience with nodemailer
so can you assign me this issue

Sure.. assigned!


fatal error: numpy/ndarrayobject.h: No such file or directory

Hi
I am trying to build this package in Ubuntu 16.04 and I have 3 versions of python i.e python2.7, python3.5 and python3.6. It is building successfully but after going for make   it is showing  fatal error.
I am posting below kindly help.
user@BLRMIESPC-756:~/numpy-opencv-converter-master/build$ cmake .. -- The C compiler identification is GNU 5.4.0 -- The CXX compiler identification is GNU 5.4.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")  -- Checking for module 'opencv' --   Found opencv, version 3.3.1 -- Boost version: 1.58.0 -- Found the following Boost libraries: --   python --   system -- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.6m.so (found version "3.6.3")  -- Boost version: 1.58.0 -- Found the following Boost libraries: --   python --   system -- Configuring done -- Generating done -- Build files have been written to: /home/user/numpy-opencv-converter-master/build
After typing make
user@BLRMIESPC-756:~/numpy-opencv-converter-master/build$ make Scanning dependencies of target np_opencv_converter [ 20%] Building CXX object CMakeFiles/np_opencv_converter.dir/np_opencv_converter.cpp.o In file included from /home/user/numpy-opencv-converter-master/np_opencv_converter.hpp:15:0,                  from /home/user/numpy-opencv-converter-master/np_opencv_converter.cpp:5: /home/user/numpy-opencv-converter-master/utils/conversion.h:10:33: fatal error: numpy/ndarrayobject.h: No such file or directory compilation terminated. CMakeFiles/np_opencv_converter.dir/build.make:62: recipe for target 'CMakeFiles/np_opencv_converter.dir/np_opencv_converter.cpp.o' failed make[2]: *** [CMakeFiles/np_opencv_converter.dir/np_opencv_converter.cpp.o] Error 1 CMakeFiles/Makefile2:104: recipe for target 'CMakeFiles/np_opencv_converter.dir/all' failed make[1]: *** [CMakeFiles/np_opencv_converter.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2

I have the exact same problem and would be happy to find an answer!


Chapter 2: mLab is becoming a part of MongoDB Atlas

migrate sandbox and production DBs to Atlas or elsewhere (elsewhere preferred)
change tutorials and screenshots inside book's content

elsewhere preferred
Do you know something is wrong with Atlas?

@YuriGor Haven't researched Atlas but prefer smaller, private companies. Something like Zeit for hosting apps.

@YuriGor Here are a few thoughts.
I just deployed this app https://github.com/async-labs/saas on MongoDB Atlas, AWS, M10 cluster, us-west-1. I did not do benchmarking but for the same app, DB region, my location, and internet speed - server-side rendered pages load a bit faster with the above MongoDB Atlas cluster ($65/month) compared to dedicated mLab cluster ($180/month).
UX/UI/simplicity/intuition is my much worse at MongoDB Atlas compared to mLab, I guess that they are more focused on Enterprise level customers.
Since their stock soared recently, I bet they will keep buying competitors and making open source code harder to use for small companies.

Did you see scalegrid.io?

@YuriGor Much friendlier UX/UI and performance is good.
At the Scalegrid's dashboard:

I could not find any UI to create DB user.
No UI to edit collection or document.
There is no unique URL for individual DB and collection, I have to click 3-4 times to see a list of collections in particular DB.

Can you confirm?

I also found nice mongo UI
https://github.com/mongo-express/mongo-express
it's an express-based web admin interface and can also be used as an express middleware, so may be it makes sense to integrate it into builderbook's admin ui?
Or just install as dev dependency of the project and use standalone.
It uses clear URL convention, so it will be easy to mention direct URL's in the book's text.
Using dbaas's ui for admin tasks is ok, but for development purposes it's more comfortable to use something locally.
This is screenshots how I connected to my mLab test collection:

As expected, works much faster than mLab's ui.

Note, we should update the book's content in Q1 2019 when mLab shuts down. So far I am happy about MongoDB Atlas.

@klyburke @YuriGor @delgermurun I replaced mLab instructions with MongoDB Atlas instructions. Changes are live at:
https://builderbook.org/books/builder-book/server-database-session-header-and-menudrop-components#database

Think you also can update the readme where this issue is referenced now then ;)

@kvsm Good point, done.


BYOT no longer deploying due to not finding vnet in DTL

I have a template that has previously worked when deploying from DTL, it's sitting in a git repository in VSTS. The template spins up a few VMs and joins them to a VNet that I specify at deployment time but which isn't in the DTL resource group. I'm now seeing the following error:
The Resource 'Microsoft.Network/virtualNetworks/DTL-Name' under resource group 'DTL-PreviewRG632835' was not found.
There isn't a VNet called that in the resource group and I'm not trying to join the VMs to it even if it did exist. I can't find any reference in my template to that VNet so I'm assuming it's something DTL is doing as part of it's template validation or provisioning.
Are there any details on this and how to deal with it?

Hi Chris, I am sorry that you are having this issue.  I took a look in our telemetry, but unfortunately could not find any information. Could you share your environment name and subscription ID with me directly at<EMAIL_ADDRESS>so that I can dig a little deeper?

We are closing this issue here. Please reopen if you are still seeing this error.


docker-1.12 removed "syslog-tag" option from log driver

docker-1.12 have removed syslog-tag
I have try to change "syslog-tag" to "tag" in docker-compose.yml but it dosen't work.
So from docker-1.12 I can not get harbor's logs.
How can I get harbor's logs back?

I haven't tried 1.12 yet, let's keep this issue open.

I assume there's update in API of docker daemon and the docker-compose has to be updated accordingly.

i use docker on win10 and have error as follow:
deploy_log_1 is up-to-date
Creating deploy_ui_1
Creating deploy_mysql_1
Creating deploy_registry_1
ERROR: for ui  unknown log opt 'syslog-tag' for syslog log driver
ERROR: for registry  unknown log opt 'syslog-tag' for syslog log driver
ERROR: for mysql  unknown log opt 'syslog-tag' for syslog log driver
ERROR: Encountered errors while bringing up the project.

fixed in #506 and #507


GetProfileDataAsync not getting called to get user profile for 5 min!

I facing a strange problem. I use oidc client for client login. I register new user in Identityserver3, I add some custom claims.
When I login, I am not getting the custom claims (user.profile.marketid & user.profile.contactuserid), but the same claims are reflection after approx. 5 min, after the user registration.
I checked the Identityserver3 server code, observed GetProfileDataAsync is not getting called for 5 min for the newly registered user.
After 5 min, I am getting custom claims.
I tried with the samples code provided (asp.net mvc implicit flow), for the same user, found that I am getting all the claims, but I am not getting the same when I use oidc client user manager for login.
I am trying to figure out what is the problem is, is it a configuration issue or what is the problem, can you suggest.
The below are my configuration of IdentityServer3
AbsoluteRefreshTokenLifetime : 2592000
AccessTokenLifetime : 3600
AuthorizationCodeLifetime : 300
ClientId : Portal
ClientName : Portal
IdentityTokenLifetime : 300
SlidingRefreshTokenLifetime : 1296000
Typical code, to get the user profile claims.
mgr.signinRedirectCallback({ data: url })
.then(function (user) {
console.log("signed in", user);
if (user.profile.marketid === undefined || user.profile.contactuserid === undefined) {
Can someone suggest, what is going on ?

Can you debug thru the oidc-client code when the authorization response is returned to see why it think it doesn't need to access the user profile endpoint?


Flickering stuck class when resizing the window.

Hi there,
I've put together a simple page with a persistent nav to the right of some content. Using waypoints, the right nav sticks and stops on scroll with constraints to the main content. This works perfectly, however when I resize the page the nav seems to flicker around, when inspecting the element in question it seems the 'stuck' class is removed and added in quick succession. Not sure what is causing this strange behaviour, thought you might have an answer as to why this is occurring. I've looked in the issues and can't see anything at the minute.
Codepen Reduced Test Case: http://codepen.io/aaron-stez/pen/dpoNzV

bump

Bit of a plea to the community for this one... as the creator is having a (well deserved) break. Can anyone help me this issue?
I've found that using the sticky plug-in doesn't cause the same problem. Take a look at the CodePen above, and when you start scrolling, look at the stuck side nav, and change the browser width to trigger my issue.

Ive found out my issue, although its was a little tricky to delve down to the problem! "Never use a position: fixed element as the waypoint element."
http://imakewebthings.com/waypoints/guides/debugging/#fixed-position


Global options support

If you have  specific options you want to propagate throught all your validation rules, you can do so by passing in a global options object.
This is ideal for when you have a dependent key that each validator requires such as the current locale from your i18n implementation, or
you want easily toggle your validations on/off.
const Validations = buildValidations(validationRules, globalOptions);

import Ember from 'ember';
import { validator, buildValidations } from 'ember-cp-validations';
const Validations = buildValidations({
  firstName: {
    description: 'First Name'
    validators: [
      validator('presence', {
        presence: true,
        dependentKeys: ['foo', 'bar']
      })
     ]
   },
  lastName: validator('presence', true)
}, {
  description: 'This field'
  dependentKeys: ['i18n.locale', 'disableValidations'],
  disabled() {
    return this.get('model.disableValidations');
  }
});

Just like in the default options, locale validator options will always take precedence over default options and default options will always take precedence
over global options. This allows you to declare global rules while having the ability to override them in lower levels.
This rule does not apply to dependentKeys, instead they all are merged. In the example above, firstName's dependentKeys will be
['i18n.locale', 'disableValidations', 'foo', 'bar']

Im not too sure if this requires a major version upgrade or not since there was a minor api change.
From:
buildOptions(options = {}, defaultOptions = {}})

To:
buildOptions(options = {}, defaultOptions = {}, globalOptions = {})

Which means that anyone that has a custom validator which uses buildOptions will have to make this change.


Allow installation of either tensorflow or tensorflow-gpu

The tensorflow requirement in install_requires prevents installation of tensorflow-gpu. This problem is because TensorFlow has two registered Python package names, one for CPU and for GPU. I moved tensorflow to be in extras_require, so that the user can pick either. (Of course this doesn't solve all problems though.) Am open to other options.
Let me know what you think.

Thanks! Assigning to Adria to investigate this one.

How would one use this? is it:
pip install sonnet[tensorflow]

And:
pip install sonnet[tensorflow-gpu]

The other thing to do is to check if nvidias-smi is on the PATH, execute it and make sure it returns with a 0 as exit code.

Merged! abf71e18448235d7a0a36f253c7ef6982c8b6007


libsass: 3.5.5 -> 3.6.0

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/libsass/versions.
meta.description for libsass is: '"A C/C++ implementation of a Sass compiler"'.
meta.homepage for libsass is: '"https://github.com/sass/libsass"
Release on GitHub
Compare changes on GitHub

Checks done (click to expand)

built on NixOS
/bin/sh passed the binary check.
1 of 1 passed binary check by having a zero exit code.
0 of 1 passed binary check by having the new version present in output.
found 3.6.0 with grep in /nix/store/jzdbjd4wms06aibkys7a6cw807j2s0j9-libsass-3.6.0
directory tree listing: https://gist.github.com/42d518dac9bc6eb2bd8b1a5d300a3e1e
du listing: https://gist.github.com/43be20c74774f55a9788b4b4c0e4ff94

Rebuild report (if merged into master) (click to expand)

82 total rebuild path(s)
26 package rebuild(s)
26 x86_64-linux rebuild(s)
26 i686-linux rebuild(s)
4 x86_64-darwin rebuild(s)
26 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
adapta-gtk-theme
arc-theme
astroid
breeze-gtk
chrome-gnome-shell
gnome3.gnome-control-center
gnome3.gnome-session
gnome3.gnome-shell
gnome3.gnome-terminal
gnome3.gnome-tweak-tool
gnome3.gnome-tweaks
gnome3.gnome_control_center
gnome3.gnome_session
gnome3.gnome_shell
gnome3.gnome_terminal
gnome3.pomodoro
gnomeExtensions.gsconnect
greybird
haskellPackages.hlibsass
haskellPackages.hsass
libsass
pantheon.elementary-session-settings
plasma5.breeze-gtk
plata-theme
sassc
tetra-gtk-theme

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/jzdbjd4wms06aibkys7a6cw807j2s0j9-libsass-3.6.0 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A libsass https://github.com/r-ryantm/nixpkgs/archive/8efbb3609dc6258fc3fb9cb270458d5ec1b8f4dc.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/jzdbjd4wms06aibkys7a6cw807j2s0j9-libsass-3.6.0
ls -la /nix/store/jzdbjd4wms06aibkys7a6cw807j2s0j9-libsass-3.6.0/bin

cc @codyopel @offlinehacker for testing.

@GrahamcOfBorg build libsass sassc

@GrahamcOfBorg build libsass sassc


Add docker 17.04 CE to the build matrix to check swarm api breakage

See #714

Codecov Report

Merging #718 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #718   +/-   ##
=========================================
  Coverage     65.73%   65.73%
  Complexity      631      631
=========================================
  Files           148      148
  Lines          2723     2723
  Branches        323      323
=========================================
  Hits           1790     1790
  Misses          783      783
  Partials        150      150

Continue to review full report at Codecov.

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

I'm fine with merging once the tests pass on 17.04. Right now testSecretOperations() fails.

I'm fine with merging once the tests pass on 17.04. Right now testSecretOperations() fails.

I believe this failure is because of this change. I've "fixed" this in 694747cd65d26e2f2a21260cbc1b3178dc38d829, but it seems to be related to a change in API contract.

closed in favor of #728


How can I set the ConnectionString programmatically?

I'm writing a 10-line Console app and am fighting my darnedest to simply hard-code the value into my C# source code because I don't want to mess with a separate app settings file, but I'm searching the docs low and high and am finding it to be surprisingly difficult.
[Enter feedback here]

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

ID: 180c6ca8-2bdc-4685-ebc5-aaea2236937f
Version Independent ID: 74f63340-7428-a3a7-6d6c-701d3be4348d
Content: Connection strings in Application Insights - Azure Monitor
Content Source: articles/azure-monitor/app/sdk-connection-string.md
Service: azure-monitor
Sub-service: application-insights
GitHub Login: @AaronMaxwell
Microsoft Alias: aaronmax

@ardave
Thanks for your feedback! We will investigate and update as appropriate.

@ardave, thank you for the question.
The code samples available in this doc should help you in this regard. If you want to hardcode the connection string in your application, you could do that in the Main method of Program.cs file when registernig the ApplicationInsightsTelemetry, something like:
var options = new ApplicationInsightsServiceOptions { ConnectionString = "<CONNECTION_STRING"] };
builder.Services.AddApplicationInsightsTelemetry(options: options);

Also, a complete sample for Console application using connectionString hardcoded is available here - .NET Core/.NET Framework console application
Hope this helps. Please let me know if you have any questions.

@ardave, We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply and reopen the issue. We will gladly continue the discussion.


[SEC-11866] cws-instrumentation: add selftests command

What does this PR do?
Adds a selftests command that can be used to test the cws-instrumentation tracer by tracing itself running in selftests mode.

Motivation

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

Reviewer's Checklist

[ ] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[ ] Use the major_change label if your change either has a major impact on the code base, is impacting multiple teams or is changing important well-established internals of the Agent. This label will be use during QA to make sure each team pay extra attention to the changed behavior. For any customer facing change use a releasenote.
[ ] A release note has been added or the changelog/no-changelog label has been applied.
[ ] Changed code has automated tests for its functionality.
[ ] Adequate QA/testing plan information is provided if the qa/skip-qa label is not applied.
[ ] At least one team/.. label has been applied, indicating the team(s) that should QA this change.
[ ] If applicable, docs team has been notified or an issue has been opened on the documentation repo.
[ ] If applicable, the need-change/operator and need-change/helm labels have been applied.
[ ] If applicable, the k8s/<min-version> label, indicating the lowest Kubernetes version compatible with this feature.
[ ] If applicable, the config template has been updated.

/merge


feat: add tsx support for mdx

I'm curious; why do you want this?
TS without intellisense is mostly useless and TS cannot handle .mdx files, so I'm not sure about the benefits here?

@brillout Because we can copy and paste the TSX code to mdx. And it helps a lot for TS users.

I'd be curious if performance (in the context of large .mdx files) is affected at all by this change, but we don't have benchmarks. Some cursory manual tests would probably be enough. Any volunteers? :P

Also, as I understand it, the (only?) benefit is that you don't have to strip type assertions when pasting TSX from another file.

Also, as I understand it, the (only?) benefit is that you don't have to strip type assertions when pasting TSX from another file.

Probably also to be able to use stuff like enums.

The error comes when @babel/parser tries to parse it somewhere after applying rehype plugins, I'm not sure where exactly because the stack trace doesn't say.
I was going to suggest a rehype plugin that transpiles TSX into JSX, but I'm not sure if that's possible to do 😬 esbuild doesn't support this yet (https://github.com/evanw/esbuild/issues/735), as for Babel I'm not sure if it's possible to pass a custom TypeScript configuration so it doesn't take the project's one.
That would've been a really nice solution to hack MDX to support TSX because it would put you in control, so I'm sad that it didn't seem to go anywhere. 😢
Anyway, I just wanted to write this to balance out my discouraging words above, so that you know I tried. 😄

esbuild doesn't support this yet

We can use sucrase to strip the types.

But it needs a JSX transform, too, it can't only strip types.

@silvenon MDX does that

@silvenon Esbuild does that

I recommend using this Remark plugin:
https://www.npmjs.com/package/@jamsch/remark-typescript

Oh whoops, that's for code blocks only. lol

I think pasting TypeScript into MDX is rare enough that we won't support this.
Your best bet is making a Remark plugin.

@aleclarson I meant that sucrase doesn't seem to be able to turn TSX to JSX, only TSX to JS. transforms: ["typescript"] doesn't work for me, I need to configure it with transforms: ["jsx", "typescript"].
But yeah, I agree that this plugin shouldn't be doing this.

👍


Fix: Mints are sorted by balance which can suddenly change

See #117.
Mints are now sorted by URL. Default for mint selection when spending is mint with largest balance available.

Codecov Report
Patch coverage: 33.33% and project coverage change: -0.06 :warning:

Comparison is base (e8011a0) 52.24% compared to head (bc10b46) 52.18%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #145      +/-   ##
==========================================
- Coverage   52.24%   52.18%   -0.06%
==========================================
  Files          36       36
  Lines        2699     2700       +1
==========================================
- Hits         1410     1409       -1
- Misses       1289     1291       +2

Impacted Files
Coverage Δ

cashu/wallet/cli/cli_helpers.py
43.00% <20.00%> (-1.45%)
:arrow_down:

cashu/wallet/wallet.py
85.12% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

LGTM!


No 1.0.0 release tag in Docker hub.

#277 the same issue

@veily Thanks for pointing out this issue, We will be update the docker image soon

@veily 1.0.0 tag has been added to the docker hub of service-center.

This issue is fixed now, I am going ahead to close this issue, feel free to open it if any concerns.....


Fix hot-deployment with python-3-supporting libraries (fixes #1678)

As a side-effect now every file in the hot-deployed directory or virtualenv is deployed, not just Python files. I'm open to changing that so that the new code still has the old behavior, but I don't know if there's really a good reason to keep the old behavior. Non-python files can be included in virtualenvs, and it's conceivable that those might need to be hot-deployed as well.

If the additional files are small I don't see any problem with including them.

Yes, I think so as well. But maybe there's a case to be made that when deploying user scripts (not virtualenvs) we should include only .py files--to avoid deploying a lot of unnecessary data when a user does something like:
./simpleToilScript.py ./huge-data.bam

though maybe that doesn't happen all that often
The tests should hopefully pass now, sorry about that, I only ran the hot-deployment tests and didn't know those unit tests even existed.

Looks like this failed because of an unrelated cache race. Maybe we should turn debug logging on for the CI tests? Otherwise it's pretty hard to figure out what went wrong--and these tests are flaky, so it's usually not easy to reproduce the error locally.

Not sure how to restart the build. This failed because of a flaky test.
Jenkins, test this please.

This (second) flaky test is fixed in #1720. Let's try this one again in the meantime. Jenkins, test this please.


powerdns::config should allow empty value on only-notify

If you do not need to NOTIFY the slaves defined in the NS records (e.g. you are using another method to distribute the zone data to the slaves), then set only-notify to an empty value and specify the notification targets explicitly using also-notify and/or ALSO-NOTIFY domain metadata to avoid this potential bottleneck.
Proposal fix :
  if $value == '' and !$setting in ['gmysql-dnssec', 'only-notify'] { fail("Value can't be empty.") }

Thanks, this is in fact a bug and we should allow for empty values when the setting is only-notify. If you can you are free to open a pull request -- if not I will try to get this implemented as soon as possible.

This commit should solve the issue you reported. I've also added tests for it while I was at it. @Poil are you able to check this on one of your systems?
If all tests pass I'll merge it to master and prepare a new release.

Yes that's good :)
Perhaps you can add in the fail message the $title of the key to know which one fail
Thanks

Good suggestion. Even though Puppet should tell you which resource fails it's not a major change. I've made sure it includes $setting as $title would be part of what Puppet returns.


Authoring: Wrap up of main pages

Review existing authored pages against actual.
Fil in Todos
test against live site across breakpoints.
log any new issues (bugs or missing things)

+review , use update authoring guide if needed

Should be done now - we're bugfixing!


Added a inputRef prop allowing to set ref on the actual input

Addressing #123 and my personal pain when it comes to simplicity 😆 . While a more straightforward approach would be to simply pass in a className and then use ReactDOM to get the element with the appropriate selector, the enhancement allows the following:
render = () => (
    <ReactS3Uploader
        inputRef={(el) => this.input = el}
        {...otherProps}
    />
)

This is especially convenient, when you're trying to support a streamlined look across all browsers like so:
const Container = styled.div`
    &> input[type=file] {
        visibility: hidden;
        width: 0;
    }
`
//.... in your component:
triggerFilePicker = () => this.input.click()
render = () => (
    <SomeSweetButton onClick={this.triggerFilePicker} />
    <ReactS3Uplaoder
        inputRef={(el) => this.input = el}
       {...otherProps}
    />
)

Thanks

Published v4.5.1


a couple of typos

DelectionPolicy instead of DeletionPolicy in windows-baseline-stack.yml
"EC2 ]instance" (stray ] character) in README.md in CloudFormation/Windows/windows-server-with-latest-ssm-agent

Thank you for reporting these (even if we are very late to resolving them!).
Resolved in https://github.com/aws-samples/amazon-ec2-image-builder-samples/commit/73cc7b818ebe44ac342f60f2d40e5c3843f584f7.


Embed Album Art

I don't know how to do this yet, but apparently you can embed image files in MP3s for the ID3 tag. It'd be cool if SC supported this.

Added in 0.11.0


[Feature Request] Add setting to open window in full screen

Description of the new feature/enhancement
Currently when I pin the windows terminal to my taskbar and open it, it will open in windowed mode. I would like to have a setting, where the windows terminal opens in fullscreen mode per default.

Proposed technical implementation details (optional)

Add setting openFullscreen

Tracking this as part of /dup #1043
Thanks!

You guys should reopen this issue. Fullscreen is not the same as maximized, and the patch only address maximized state. Not fullscreen.

FYI: https://docs.microsoft.com/en-us/windows/terminal/customize-settings/global-settings#launch-size:

Whoops. That would solve what I was looking for. Thanks.


BREAKING: Component trait now requires that change is implemented

Fixes: https://github.com/DenisKolodin/yew/issues/538

Closing in favour of https://github.com/DenisKolodin/yew/pull/554


Sets border-radius when vertical buttons have a single child button

Example
<div class="ui vertical buttons">
  <button class="ui button">Button</button>
</div>

fiddle
Top of the button was not rounded

Thanks a lot for filing this issue, and including an easy to understand test case. I've added a milestone, and will try to take a look as soon as I can.

I've implemented this with slightly more succinct code.


added binary search tree in c

For binary search tree, see the main function of this file as reference and add the needed functionality accordingly
Also the folder is for C programs, not CPP programs. Either change program to its C counterparts or remove the extra programs altogether


Figure out how to collect AWS ELB logs

Use https://docs.elastic.co/integrations/aws/elb as a starting point.

I will set up an Application Load Balancer (ALB).


Wrong rector config path in README.md

Hi.
After rector v0.7.65 installation, I used
vendor/bin/rector process src --config vendor/rector/rector/config/set/knplabs/doctrine-behaviors-20.yaml
as described in the README.md.
It should be without "knplabs" :
vendor/bin/rector process src --config vendor/rector/rector/config/set/doctrine-behaviors-20.yaml
Hope this helps.

Hi, could you send PR?


Broken link in Documentation/manual-olm-install.md

Hi,
hyperlink for metering.catalogsourceconfig.yaml  redirects to not found page.
File: manual-olm-install.md
Section:
sectence: Download the metering-operators metering.catalogsourceconfig.yaml and install it into the openshift-marketplace namespace:

Regards,
Dinakara Sai Santosh Burugupalli

Thanks for calling that broken link out.
Unfortunately, we don't have an easy way to expose the most up-to-date bundle/index image packing method that OLM now recommends. Openshift CI creates those images for us during an e2e run, but those images are ephemeral which makes updating that manual-olm-install.md documentation a bit trickier. It's possible to manually construct a ConfigMap containing the requisite manifests that OLM can then consume, but IIRC that method is no longer supported.
I'll try and carve out some time to play around with using that ConfigMap formatting to close this out in the meantime.


Data: Convert 'init(bytes:)' is deprecated: replaced by 'init(_:)' into a fix-it

Also fixup all the uses of Data(bytes:).

@swift-ci test


Updates on config and spec

on docker we must ensure that both paths are mounted (puppet_dir and puppet_code_dir)
add more spec tests

LGTM


Add FlexIO definitions and 1060 pad config

I had started on something similar for 1020, but put it on hold due to https://github.com/imxrt-rs/imxrt-ral/issues/32.
Have you already written a consumer for the flexio::Pin trait? My hunch is that having const OFFSET: u32 rather than type Pin: consts::Unsigned is easier to work with. It also has precedence in gpio::Pin.

@Florob I didn't get to writing a consumer yet, but in theory I agree, so I changed it.
Is this what you had in mind?

Is this what you had in mind?

Actually not. I was talking about the Pin associated type, not the generic.
I'd try to align with the gpio::Pin trait here, which has the generic as consts::Unsigned, and then an OFFSET: u32 associated constant.

Actually not. I was talking about the Pin associated type, not the generic. I'd try to align with the gpio::Pin trait here, which has the generic as consts::Unsigned, and then an OFFSET: u32 associated constant.

I'm uncertain what you mean. imxrt_iomux::gpio::Pin has a const N: u8 generic.
I adjusted it a little, is it better now?

@Florob I'm not far yet, so far I only print the parameters, but this is the driver I'm working on: https://github.com/Finomnis/ws2812-flexio
Just for information.

I'm uncertain what you mean. imxrt_iomux::gpio::Pin has a const N: u8 generic.

I'm so sorry. I must somehow have been looking at an ancient revision. What you have now is indeed what I would have suggested.

I'm not far yet, so far I only print the parameters, but this is the driver I'm working on: https://github.com/Finomnis/ws2812-flexio

That link 404s for me. Is the repository set to private perhaps?

@Florob Oops. Fixed. Apologies.