No output of server information when stdin is not present

When stdin is not present, the server information is not printed. The easiest way to reproduce this error is to run
import os
os.system("http head example.com")

which produces no output.
Tested on macOS10.13.5 with Python3.6, centOS 6 with Python3.7

@pkqxdd you'll need to include the --ignore-stdin option:

The default behaviour of automatically reading stdin is typically not desirable during non-interactive invocations. You most likely want use the --ignore-stdin option to disable it.
It is a common gotcha that without this option HTTPie seemingly hangs. What happens is that when HTTPie is invoked for example from a cron job, stdin is not connected to a terminal. Therefore, rules for redirected input apply, i.e., HTTPie starts to read it expecting that the request body will be passed through. And since there's no data nor EOF, it will be stuck. So unless you're piping some data to HTTPie, this flag should be used in scripts.

— https://httpie.org/doc#scripting


Add support for .NORM file format

Support for .NORM is obviously the next big thing for AIRR Standards:

https://xkcd.com/2116/

You are prescient @bussec , I heard a few days later that Microsoft will supports this. I've assigned this to you so you can jump right on this after the parking log committee standard is finalized!

closed as 8-D


problem with install

I have a problem with the "pip install request_curl". Python version 3.10. When I try to install - I get the following error:

Collecting pycurl<8.0.0,>=7.45.2
Using cached pycurl-7.45.2.tar.gz (234 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.
│ exit code: 10
╰─> [1 lines of output]
Please specify --curl-dir=/path/to/built/libcurl
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

What could be the problem?

Hi,
It seems that you are encountering an error while installing pycurl on your system. In order to use or build pycurl, you will need to have libcurl installed on your system.
To resolve this issue, you may want to refer to the official pycurl documentation, which provides detailed instructions on how to install pycurl on various platforms. Here's the link to the installation section of the documentation: http://pycurl.io/docs/latest/index.html#installation.
Alternatively, you can use our pre-built Docker image which includes libcurl, making the installation process easier. You can find the instructions on how to use the Docker image here: https://github.com/Notifysolutions/request_curl#usage-with-curl-impersonate.
I hope this information is helpful in resolving your issue.


Improve the instruction for each Webpack version.

If using Webpack 5 or higher, the loading *.ttf files are failed due to using the file-loader module.

It is necessary to use Asset Modules since Webpack 5 or higher instead of the file-loader.
{
    test: /\.ttf$/,
    type: 'asset/resource'
}

That is, the current instruction guide on the README.md file is for Webpack 4 or lower. I wan to improve the guide for Webpack 5 or higher users by this pull request.

Could someone review this? Thanks!

@hediet Thank you for the reviewing. I look forward to this pull request is merged into the main branch.


Replace ChatGPT 3.5 with ChatGPT 4 as a test to reduce latency

GPT model definition is done in
https://github.com/ClemensGruber/climart_gptree/blob/760b5298cb10467f0e74724d0fea9e17f01f5622/main.py#L63-L65

First tests did not show much difference in reaction time and not a felt speed-up with GPT 4!
:-/

Good catch:
OpenAI API and other LLM APIs response time tracker
https://gptforwork.com/tools/openai-api-and-other-llm-apis-response-time-tracker
Generally GPT 4 seems to have more latency than 3.5 and the most interesting part: Response time is at arround 2 sec at GPT 3.5 while we have to wait 5 sec with GPT 4!
We have 20 to 40 seconds waiting time with GPTree so it seems as a bigger problemm in our implementation!


Fresh checkout + build/run issues

I'm trying to get the dev environment setup so I can reproduce some weird behavior I'm seeing. Unfortunately, I can't get a build from source to even run.
The steps to reproduce:

git clone git@github.com:/CD4017BE/RedstoneControl
cd RedstoneControl
./gradlew build  <-- completes successfully
./gradlew runClient <-- fails

Log File of ./gradlew runClient
I eventually want to use IntelliJ, but narrowed down to just the above command-line operations since I would expect them to work out of the box.

From the type of crash I would say the access transformer in the CD4017BE_lib dependency wasn't applied. But I don't know why, normally it should automatically apply access transformers from dependencies as well.
The forge client debug logs should provide more details about what went wrong during startup.

I've submitted PR #27 to fix this issue. The dependency on the deobf'd library caused access transformers not to run (for reasons beyond my ken).


maximized windows arent located correctly

some windows (e.g. slack, sublime text, whatsie) ate located wrong when maximised.
looks like the are couple of pixels to the left and top

Hi,
I've been having some inconsistencies with X11 windows. Looks like there's no obvious way to accurately guess the next position.


Multi select column filter issue

Hi,
I am using multi select column filter in my application. I am able to select multiple options using this feature. But, I am only able to select multiple options by clicking on SHIFT+ Up arrow or SHIFT+down arrow or SHIFT clicking multiple options or by LEFT CLICK+dragging on the options. If I dont do this, my previous selections are getting cleared and I can only select single option. Is there any possibility or option for me to select multiple options without using SHIFT key. I want to just select multiple options one after another and old options selected should not be cleared. And, if I click again on already selected option, it should be unselected. Please help me asap.

hi


Can we use github plugin to backup our vault along with livesync plugin?

As you mentioned in the documentation that don't use two or more syncronisation method when we use livesync but you also mentioned that this is not a backup solution. So can we use github backup solution along with this plugin?

Thank you for asking me!
Yes, our vault can be backed up via Git or other synchronising solutions. However, we should not activate more than one synchronisation solution at the same time.
Self-hosted LiveSync does not use any special files for synchronisation. But other solutions may use some. Please make sure that the files will be ignored when you use Hidden file synchronisation. (The default configuration contains .git).
Just a quick supplement, If the other synchronisation has not been performed continuously or in real-time, mostly harmless now. (i.e., Git, FolderSync on Android). However, OneDrive, iCloud and like them still could cause a nightmare.

Thank you for asking me! Yes, our vault can be backed up via Git or other synchronising solutions. However, we should not activate more than one synchronisation solution at the same time. Self-hosted LiveSync does not use any special files for synchronisation. But other solutions may use some. Please make sure that the files will be ignored when you use Hidden file synchronisation. (The default configuration contains .git).
Just a quick supplement, If the other synchronisation has not been performed continuously or in real-time, mostly harmless now. (i.e., Git, FolderSync on Android). However, OneDrive, iCloud and like them still could cause a nightmare.

I am sorry but I am still confused. Let me rephrase my question again. So there is also a plugin of GitHub which backup our vault to GitHub. And then there is livesync plugin that you have created. So as I understood livesync plugin would be useful for sync file across devices such windows to android. But it don't backup file as GitHub plugin do on GitHub. So can I use these two plugin together? So that GitHub plugin will backup my data on GitHub and your plugin (livesync) will sync my data(vault) across devices?

Sorry for trying to explain in detail and making it more difficult to do so...
We can use both Self-hosted LiveSync and Obsidian-git.
To be safer, following rules help us more safe.

Do not start Self-hosted LiveSync's synchronisation while Obsidian-git is working.
And also, Do not start Obsidian-git synchronisation while Self-hosted LiveSync is processing files.

If you want to enable Hidden file sync in Self-hosted LiveSync, make sure that /.git/ is in Skip Patterns which is on the Sync Settings pane.
Please avoid performing two synchronisations at the exact same time.

Ok so I think you are trying to say that we can use livesync plugin all the time but if we wanna backup our data so we should turn of the livesync plugin for a moment and turn on the obsidian git plugin and update the backup and then again turn it off and turn on the livesync plugin. So we can do this once a day so in that way we can also take our backup daily and also we can enjoy the livesync plugin. Am I correct in my understanding?

I apologise for being so much late!
Yes, you are correct surely!

I think the gist is to use the git or github plugins only for backup, and never use it for sync and leave the sync part to this plugin

I think the gist is to use the git or github plugins only for backup, and never use it for sync and leave the sync part to this plugin

You mean we can use both at the same time?

I think the gist is to use the git or github plugins only for backup, and never use it for sync and leave the sync part to this plugin

You mean we can use both at the same time?

It all depends on what you mean "at the same time".
If you mean just have both plugins installed, yes, you can use them at the same time.
If you mean: Have git automatically sync (pull and push) and this plugin automatically sync, then no, you can't.
I have git just for backups, I have it set to NEVER do anything automatically and I manually backup it once a day or so. Then, in this scenario, yes, you can use both

I think the gist is to use the git or github plugins only for backup, and never use it for sync and leave the sync part to this plugin

You mean we can use both at the same time?

It all depends on what you mean "at the same time". If you mean just have both plugins installed, yes, you can use them at the same time. If you mean: Have git automatically sync (pull and push) and this plugin automatically sync, then no, you can't. I have git just for backups, I have it set to NEVER do anything automatically and I manually backup it once a day or so. Then, in this scenario, yes, you can use both

Ok thankuu now i understood clearly. I just have to turn off the automatic backup in git plugin and do it manually once a day. Can you show the screenshot of how you setup livesync plugin because its setting looks so complicated. I am not able to setup it yet.

I think the gist is to use the git or github plugins only for backup, and never use it for sync and leave the sync part to this plugin

You mean we can use both at the same time?

It all depends on what you mean "at the same time". If you mean just have both plugins installed, yes, you can use them at the same time. If you mean: Have git automatically sync (pull and push) and this plugin automatically sync, then no, you can't. I have git just for backups, I have it set to NEVER do anything automatically and I manually backup it once a day or so. Then, in this scenario, yes, you can use both

Ok I set it to 0 which means it disabled automatic backup. Is it correct?

I apologise for being so much late! Yes, you are correct surely!

Hi you are saying in documentation that "Enter the information for the database we have set up" and then you are hiding the password. Then how can I supposed to know what should I type there? Please clarify it.

And for manual backup do I need to first push then stage all and then commit. Right?

You can just do git backup and it will do it all

And for manual backup do I need to first push then stage all and then commit. Right?

You can just do git backup and it will do it all

Ok that is simple. Thankuu 😊

Hi you are saying in documentation that "Enter the information for the database we have set up" and then you are hiding the password. Then how can I supposed to know what should I type there? Please clarify it.

There is no way to give specific instructions there. It all depends on how you configure you database. If you have an admin user, just put the password of that admin user. Admin rights are preferred because that way the plugin will be able to create the database and fix some potential issues

Now it feels like I will never able to use this plugin because till now I am completely blank about what should I do. There must be a demo guide for non technical user who know nothing about technology and want to setup. 😭😭😭

Hi you are saying in documentation that "Enter the information for the database we have set up" and then you are hiding the password. Then how can I supposed to know what should I type there? Please clarify it.

There is no way to give specific instructions there. It all depends on how you configure you database. If you have an admin user, just put the password of that admin user. Admin rights are preferred because that way the plugin will be able to create the database and fix some potential issues

Can you give an example about what information I put here. And how I am going to connect it with mobile. Do it need to put the same information there as well?

Can you give an example about what information I put here. And how I am going to connect it with mobile. Do it need to put the same information there as well?

First, what are you using? your own couchdb server or cloudant?

Can you give an example about what information I put here. And how I am going to connect it with mobile. Do it need to put the same information there as well?

First, what are you using? your own couchdb server or cloudant?

I don't know what does it mean. I use syncthing to sync my laptop and mobile. And use github plugin for backup.

I don't know what does it mean. I use syncthing to sync my laptop and mobile. And use github plugin for backup.

This plugin has nothing to do wyth synthing. It uses a database, known as couchdb to sync in real time between devices

I don't know what does it mean. I use syncthing to sync my laptop and mobile. And use github plugin for backup.

This plugin has nothing to do wyth synthing. It uses a database, known as couchdb to sync in real time between devices

In simple language what i need to do to use this plugin if i know nothing about it? Can you send me a screen recording of setting it up. It would be helpful.

In simple language what i need to do to use this plugin if i know nothing about it? Can you send me a screen recording of setting it up. It would be helpful.

@Gourav1910 You need to be willing to do a bit of research. Have you even tried googling "what is couchdb?" or "how do i setup a couchdb server?"
If you really don't know what any of this means, you're going to need a LOT more handholding than you should ask from someone who does this for free. Either put in the basic effort yourself, or offer to pay the person for their time to hold your hand.

There must be a demo guide for non technical user who know nothing about technology and want to setup

If you want an experience like that I recommend you use a paid service with actual customer support.
If you really have that little knowledge about technology, you are very likely to shoot yourself in the foot at some point trying to manage your own data.

In simple language what i need to do to use this plugin if i know nothing about it? Can you send me a screen recording of setting it up. It would be helpful.

@Gourav1910 You need to be willing to do a bit of research. Have you even tried googling "what is couchdb?" or "how do i setup a couchdb server?" If you really don't know what any of this means, you're going to need a LOT more handholding than you should ask from someone who does this for free. Either put in the basic effort yourself, or offer to pay the person for their time to hold your hand.

There must be a demo guide for non technical user who know nothing about technology and want to setup

If you want an experience like that I recommend you use a paid service with actual customer support.  If you really have that little knowledge about technology, you are very likely to shoot yourself in the foot at some point trying to manage your own data.

Are you trying to roast me or something? I was asking from a normal obsidian user perspective. Even dataview and templater plugins are also heavily technical but still they made it so simple through their documentation that even I can use it very easily. If you are making a plugin then you should put necessary documentation for everyone or else metion in clear way that for whom this plugin is for so that everyone don't waste their time trying to figure out things. And that's the purpose of the plugin itself that is to make things so much easier for the audience so that they don't have to step into technicalities and only focus on usecase. Otherwise why are even making a plugin itself. Just write a note somewhere that if you want additional features then get educated do Google research learn various coding languages do trial and error and all of that. Then why the whole market exist in the world. Why just we start saying to the people that learn and do everything on your own. So if I have no technical knowledge then I have full rights to ask anything whatever I want. Whether you help or not it's up to you.


Check for substitute permissions before attempting to use SafeObjectOutputStream

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Please see SpecialPermission

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Can we have a good description of the change. It can help understand the code changes apart from code commit message

Can we have a good description of the change. It can help understand the code changes apart from code commit message

Most of the time, commit message should be sufficient to understand the code changes as only the commit message is preserved in the git history and is available in git annotations and blame. PR description may provide additional info on top of a commit message and/or PR title when necessary, especially in cases when a PR consists of multiple commits. In this particular case, I don't see what additional info is necessary on top of PR title that describes the changes in the commit. Note that neither PR title nor description can substitute detailed review of code changes.


zld

推荐收录
链接
https://github.com/michaeleisel/zld
理由
A faster version of Apple's linker
Apple's approach is a very reasonable one, using C++ with STL data structures. However, there are a number of ways in which zld has sped things up, for instance:
Using Swiss Tables instead of STL for hash maps and sets
Parallelizing in various places (the parsing of libraries, writing the output file, sorting, etc.)
Optimizations around the hashing of strings (caching the hashes, using a better hash function, etc.)
推荐人信息
SketchK

zld
@四娘：一个更快的 linker。在大型项目里增量编译 link 阶段的耗时占用非常大，这个项目在 Apple 版本的基础上改为使用更加高效的 Hash 实现，增加任务的并行处理，Benchmark 显示 link 时间比原本缩短了 40% 左右。

推荐人：SketchK


PIXI.Texture.clone() doesn't clone the frame

Expected Behavior
cloned frame
Current Behavior
not cloned
Possible Solution
this.frame.clone() and if not null also clone this.orig, this.trim
cheers to Ivan

Yep, we have that problem in code.


Hub application for Windows IoT Core

Hi,
I created the start of a Nuimo hub application for Windows IoT Core. I started creating the following integrations:

Philips Hue
Chromecast
Timer (idea is to set the timer to a time with the dial ring and then press the button to start counting down)
A test app to fiddle around with event handling and showing Led Matrices

It needs a forked version (PR #16) of the Nuimo SDK (because for example I needed a way to accumulate the rotation events not to flood the program with triggers, and I wanted to try to improve the connection / reconnection stability).
It is not a Windows desktop application as you might have been looking for, but still you might find it interesting. @soffer @vittel @Inrego @NeilvdM @voelpade tagging you here since you showed interest in the NuimoSDK in the past (I assume @larsblumberg gets notifications automatically :) )

I now have a basic working version, but there are still lots of improvements to make.

I have been developing a service to integrate Nuimo into Home Assistant on Windows. It handles integrations with all other devices I'd need :)

@wind-rider Thank you for the update.
I'm so frustrated with the Nuimo staff that I simply neglected the thing/
@Inrego Could you also share your project?
I'm hoping next week to have some time/energy and continue this...

@Inrego Yes, please share your project. I'm also really interested to see how are you using Home Assistant with Nuimo

I will later when I get home.
Note that it is not a finished or even working product yet.
But basically, it is a Windows Service that communicates with the Home Assistant api.
So it doesn't integrate directly into Home Assistant.. Instead you configure actions in a GUI for the service.
Here's a rather old screenshot, but it may give you an idea:
https://twitter.com/Inrego/status/792829353151332352

Also, I asked Senic whether they can make a Nuimo firmware that will make it behave as a Surface Dial. This way Nuimo would profit from the integration groundwork that Microsoft laid - saving them time and having a more direct integration in windows (not needing a separate service, app or even a driver).
Microsoft documented how to do this at https://msdn.microsoft.com/en-us/windows/hardware/commercialize/design/component-guidelines/radial-controller-protocol-implementation. The minimum implementation - rotation and button - seems quite straightforward to do.

From what I understand, Senic is working on a kind of bridge device that runs Home Assistant and can connect to Nuimo. I don't know about you, but that would kind of fill my requirements and I wouldn't need to put any more work into development for Nuimo 😛
I had a Skype call with one of the Senic designers, where he asked me questions about what I'd like from such a device (for example I suggested it could be a Google Home-like device that takes voice commands too).

I'm at the stage where I simply ask for Win integration as was promised and as is already operational on macOS...  :-(

With all these bt libraries for Windows and the fact, that the os level bt integration is only implemented for universal apps that can't be used as drivers in any way, and bt not yet part of .Net standard libraries, makes a platform support hard to realize.

I created a pull request a long time ago which makes this library supported on desktop .NET
Windows 10 or higher is still a requirement, though.
That is also how I integrate Nuimo into a Windows Service in my own development.

I think i integrated it in my own library version. At least i made it work on desktop. But what i did was so much of a hack that it was the reason why i never pushed the api to github ;)

Did anyone ever get the nuimo to work with home assistant or homebridge using the nuimo connected to the hub?

After spending more time with the device, and being beta tester of their hub - I kinda dropped using it. I don't like that I have to tap the device to wake it up, it cannot wake up by turning the wheel. It's so unintuitive. And with the hub being such a flop, I never really used any of them again. Now I have Google Home and just voice control everything instead.

Same here
Adi Soffer - Contact Using Spike
On May 20, 2019 at 11:29 GMT, René Simonsen<EMAIL_ADDRESS>wrote:
After spending more time with the device, and being beta tester of their hub - I kinda dropped using it. I don't like that I have to tap the device to wake it up, it cannot wake up by turning the wheel. It's so unintuitive. And with the hub being such a flop, I never really used any of them again. Now I have Google Home and just voice control everything instead.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.


Link to PDF versions of files

After moving to github pages as part of #225 we will lose the ability to directly link to the PDF directory at https://helium.nebra.com/pdfs/
So we need to create a PDF overview page at https://nebraltd.github.io/Helium-Guides/#/pdfs/overview.md or similar which links to the raw PDFs.
We could also add the raw PDF links to the main pages as well for reference purposes

Link is dead, as like your support !

Added PDF docs in the overview file https://github.com/NebraLtd/Helium-Guides/commit/221193c18c27d47bb8c61c7f78333bc53553c8eb  and listed on the sidebar https://github.com/NebraLtd/Helium-Guides/commit/5bf02f8225d5b934b99da9e49ce902dbfd96a408

Link https://helium.nebra.com/pdfs/overview


NTR: Consider adding specific diets

Hi All,
We are currently adding diet and supplement restrictions, but some terms may be more suited for FOODON.  I am listing a few that are higher on our list.   I don't have an easy answer to where in FOODON these should go. There is a term diet meal, liquid (FOODON_03302872) but that is a child of 'food product', so I don't think that is a natural placement.
Thanks.

Term
in Maxo
Definition
Definition source
Synonym
Foodon Term

vegetarian   diet
no/will not add currently

vegan   diet
no/will not add currently

Low-carbohydrate,   high-protien, high fat diet
no
The   low-carbohydrate, non–restricted-calorie diet aimed to provide 20 g of   carbohydrates per day for the 2-month induction phase and immediately after   religious holidays, with a gradual increase to a maximum of 120 g per day to   maintain the weight loss.
PMID:18635428
Low carbohydrate diet

Meditteranean   diet
no
The moderate-fat, restricted-calorie,   Mediterranean diet was rich in vegetables and low in red meat, with poultry   and fish replacing beef and lamb.
PMID:18635428

low fat   diet
no
A   restricted-energy diet with less than 30 % of energy from fat.
PMID:23651522

low fat food FOODON_03510039

intermittent   fasting
no
Intermittent fasting is a form   of time restricted eating, typically 16 h fasting and 8 h eating.
PMID: 30897855

DASH   diet
no
Dietary Approaches to Stop Hypertension   (DASH) trial, which demonstrated that consuming a diet rich in fruits,   vegetables, and low-fat dairy products and reduced in saturated fat and   cholesterol
PMID: 29141784

ketogenic   diet
ketogenic diet intake   MAXO_0030010
The ketogenic diet is a   high-fat, low-carbohydrate, adequate-protein diet that mimics a fasting   state, resulting in the substitution of ketone bodies as a source of energy.   The ketogenic diet can be used to reduce recurrent epileptic seizures in   individuals with intractable epilepsy. Intractable epilepsy is defined as   epilepsy that failed to respond to three or more antiepileptic drugs.
PMID:23419562, PMID:27759811,   PMID:28701250
Modified Atkins diet

fasting
fasting intervention   MAXO_0000098
Going without food or drink for   a certain period of time.
PMID: 30897855

Low   calorie diet
calorie restrictive diet intake   MAXO_0000089

low calorie food FOODON_03315839

texture   modified diet
texture modified diet intake   MAXO_0030011

https://github.com/monarch-initiative/MAxO/issues/66
https://github.com/monarch-initiative/MAxO/issues/82
https://github.com/monarch-initiative/MAxO/issues/94
@laurenechan

Indeed diet meal is a material entity reference, whereas diet seems to speak to a pattern of behaviour.  We've had some past discussion about this (https://github.com/EcologicalSemantics/ecocore/issues/108 @pbuttigieg @cmungall @diatomsRcool) and explored whether a diet is a material aggregate of sorts, or qualities, but actually, now I'm thinking it is best considered a type of protocol, essentially a (food) inclusion criteria (http://purl.obolibrary.org/obo/OBI_0500027) that pertains to food consumption processes. Whether the protocol is adhered to strictly is a different question!

We'd probably use "eligibility criterion" (http://purl.obolibrary.org/obo/OBI_0500026)- both inclusion and exclusion - to define diet components. Its definition is nicely general: "an eligibility criterion (rule) is_a selection criterion which defines and states the requirements (positive or negative) for an entity to be considered as suitable for a given task or participation in a process."

Agreed, this is more of a protocol!
@LCCarmody Just to make sure I understand, are you recommending to add all of these eating patterns/therapies into FOODON rather than add them into MAxO?
I am primarily wondering if we are then limiting representation of any nutrition therapies in MAxO should we choose to not include things such as a ketogenic diet, which is a prescribed medical nutrition therapy. There are some separations between medically prescribed nutrition recommendations and more of a lifestyle eating pattern, but therapeutic diets should likely still be represented in MAxO I would think.

Tried to solve this more as a result of cmungall's and diatomsRcool examples on EcologicalSemantics/ecocore#108 .  New term proposals are there that fit into BFO / IAO / OBI paradigm.  I'll repeat them here for feedback:
This one has broad synonym of "diet" because it is a more specific sense of diet:
label: 'ingested food set':
subClassOf: 'material aggregate'
definition: 'A comprehensive set of food items which an organism has ingested over some span of time.'
hasBroadSynonym: diet
elucidation: 'This names various food items an organism has ingested. The quantity or mass of the items is not indicated.'
This could be derived from:
label: 'ingested food log'
subClassOf: IAO "data set".
definition: 'A set of food consumption events detailing food ingested and the time of ingestion.'
elucidation: 'This may include the mass or quantity of a food item, and other details such as its preparation process.'
label: 'ingested food'
subClassOf: "food material".
definition: 'A food material consumed by an organism at some point or duration in time.'
... one could add terms for other statistics derived from the ingested food log
Another sense of diet is as a defined set of food proportions, so not referencing material entities directly. The proportions are with respect to some open-ended "norm", or with respect more particular food groups.  Outright exclusions are needed, e.g. "A vegan diet contains no animal products."
Technically this sense of diet sounds a lot like a "dataset of features" (http://purl.obolibrary.org/obo/OBI_0000649) about an organism's ingested food:  A data set that is produced as the output of a descriptive statistical calculation data transformation and consists of producing a data set that represents one or more features of interest about the input data set. .  If we allow a looser interpretation of "descriptive statistical calculation", then this would cover both intentional plan/goal and descriptive perspectives, and could include constraints on timing of ingestion, so could cover fasting regimes.  I'll check with OBI folks on monday about this.
label: "diet"
subClassOf: OBI 'dataset of features' and 'is about' some 'ingested food'
definition: 'A set of generalizations about an organism's ingested food'
label: "mediterranean diet"
subClassOf: diet
definition: 'A diet emphasizing vegetables, fruits, herbs, nuts, beans and whole grains, and allowing moderate amounts of dairy, poultry, eggs, and seafood, and a lower intake of red meat.'
etc.  One could add  "objective specification" parts that contain diet constraints.

OBI call was informative. Call reinforced not to mint a basic "diet" term. All the more particular senses of diet live in different places in BFO etc. class/concept hierarchy. Instead, to connect the word "diet" as people might use it in a search engine to these varied term entities, we can use the  hasBroadSynonym annotation.
'ingested food log' survived critique in the call as a clear case of a data set.  Should we label it as "... log" or "... record" or "... data set"?
And I just found "ingested food" already exists as an UBERON term so we will reuse that.
The 'ingested food set' was agreeable but it does sound problematic to have it be an "object aggregate" as the aggregate is intended to reference a collection of object instances at some time t, whereas the proposed set is only meant to reference the classes or types of food eaten.  So I would revise ingested food set to be a type of dataset too, derived from the food log dataset. May only need to add this term in the future.
The above "diet" was discouraged as the "dataset of features" parent was too tied to parameters of an actual dataset.  People preferred "dietary regimen" as a subclass of protocol, so - and here I welcome definition edits - something like:
label: "dietary regimen"
subClassOf: protocol
hasBroadSynonym: diet
definition: "A set of restrictions on food type ingestion and/or timing of food ingestion"
Another suggestion was to define classes of dietary food - a "vegetarian food", a "carnivorous food" - here one can define in an equivalency exactly what is permitted or not in the class by reference to other food types.  I really like this.  Under "FoodOn product type, I would add a convenience class  "food product by dietary group" class to gather the various diet categories.
label: "food product by dietary group"
subClassOf: "FoodOn product type"
definition: "A food item categorized by a dietary group of food"
Then subclasses can have equivalency axioms that spell out the dietary group:
label: "pescatarian food"
subClassOf: "food product by dietary grouping"
definition: "A dietary group of food that does not include land-based animals or animal products, but does allow freshwater- or saltwater-based animal products."
equivalentTo: "'food material' and not ('meat food product' or 'avian food product' or 'dairy food product') "
The https://www.dietaryguidelines.gov/sites/default/files/2019-05/2015-2020_Dietary_Guidelines.pdf document conveys in its "eating patterns" not just the set of foods to eat, but also amounts, so I avoided using "eating pattern" in label as it carries this extra level of detail.
We can then simply say some organism is 'consumer of' [some | only] 'pescatarian food'.  (It isn't defined in RO at moment but 'consumer of' is reverse of 'has consumer'.)
An experimental process can [paraphrasing] have an associated 'dietary regimen' protocol with objective (objective specification) to provide  'oral administration' (a planned process) of certain food (a 'food product by dietary group') according to some schedule.

@ddooley are there notes from the OBI call? @laurenechan is implementing our dietary interventions in Maxo (she is a registered dietitian) and it would be great for her to participate in the future.
I do think we need to think more about dietary regiments- there are similar to a protocol but also have dynamic and behavioral aspects. These are in fact what we need for interventions and disease causal relationships (e.g. exacerbates or causes).
We probably need greater community coordination and discussion before any design patterns are implemented - where should we have these discussions?

I didn't take any notes, but can recount that Chris S. was advocating for real study data to use as a basis to describe diet related terms from (sounds like you could provide some!); while Bjorn was happy to see curation work proceeding on diet as it related to protocol, with the analogy of protocols related to drug administration to patients  in certain amounts/times of day.  We talked about diet and poked holes in above "diet" definition, leading to my response above.
I would be happy to engage with Lauren and others on this more.  If she wanted to present to the OBI group in January on the dietary regime/nt and explain protocol parts and beyond, and clinical study needs, I  think that would be welcome - I can verify with the OBI group.
I foresee FoodOn housing diet related food groups but would accept other curation teams taking the lead there too.  The ECOCORE folks certainly have a parallel interest in capturing food system related diet.  Alternately, outside of the OBI call, in January we could organize a telecon on the subject?

BTW I'd like to see these diets added too: Lacto-vegetarian, Ovo-vegetarian, Lacto-ovo vegetarian diet, and a semivegetarian diet — also called a flexitarian diet — which is primarily a plant-based diet but includes meat, dairy, eggs, poultry and fish on occasion or in small quantities. (source: https://www.mayoclinic.org/healthy-lifestyle/nutrition-and-healthy-eating/in-depth/vegetarian-diet/art-20046446)

I support this for terms, but for MAxO...we mainly get recommendations for 'Supplement X if vegetarian/Vegan', but I think more granular terms could be useful.

Ok.  For FoodOn application to websites like https://fdc.nal.usda.gov/ (which we are working on) I'm thinking here of being able to select a diet (or indirectly, a list of foods), and then be able to calculate which nutrients may need special attention (supplementation or particular food sourcing) as a result.  Understanding of course that food preparation and individual nutrient uptake are wildcards.

A diagram that in my view disambiguates types of dietary / eating pattern term.  Feedback welcome:

And a list of fasting and food-specific diets - not complete but potential organizing scheme

@ddooley
Is there a particular reason we are using proscribed as opposed to prescribed?
Also, looking at the 'diet by type of food' --> 'composition' sections, what are you proposing we guide the "high" or "low" values off of for indicating composition? Would we use percentages of acceptable macronutrient distribution ranges or some other guideline?
Further, I think we may reconsider "ketogenic" as a term for composition as you will get a huge number of foods that fall into that category. Ketogenic simply describes production of ketones in the body, but ketones are produced by all humans throughout the day with lipid breakdown even in someone who is not observing a 'classic ketogenic diet'. As any substrate can become lipid and lipid catabolism can happen in a human fed any substrate, this could arguably encompass a huge amount of foods.
Additionally, achievement of ketosis (the goal for a ketogenic diet) also relies on timing of substrate consumption, i.e. if you have 30g carb throughout the day in small quantities you are more likely to maintain ketosis, whereas if you had all 30g at one time, some human bodies will not maintain ketosis. While I understand the means to try and include this as a composition factor, we may consider just focusing on macronutrient content labels as opposed to functional labels to ensure we can clearly define the classes.

My 2 cents: Halal diet is unlikely to be prescribed, but it may be proscribed. Conversely, vegetarian may be proscribed or prescribed or just a preference.  Not sure if there is a term that encapsulates all 3. I don't think we should necessarily divide them.
I don't think we need to have terms that breakdown composition too specifically. Higher and lower might be subjective, but I think that's preferable because there are different situations.  Maybe textual defines could be 'higher than normal' or 'higher than baseline' or something that could fit a number of circumstances.
I have no opinion on ketogenic--  Maybe textual definitions and comment field can cover some of the information?

Oy - that was my spelling mistake.  I meant "prescribed"!  Fixed above.  But good point Leigh, there seems to be a middle space as well for cultural diets - "practiced" might be better than "prescribed" in a number of cases.  And then advice not to eat a certain way.  So possibly proscribed/prescribed/practiced diet are their own stand-alone terms, and we don't place other diet categories under them - but this suggests building a bit of a model to capture who is doing the prescribing / proscribing. Something that could be done later.
And I would be fine relabeling "high fat / low fat" to "higher than normal" and "lower than normal" fat intake.
We could discuss having diet terms defined so they can at least be used in text mining without necessarily expecting to link them to food categories.

Our biggest concern for text mining is to include synonyms of how they might be stated in the literature.   We currently do use annotation properties for exact, narrow, and broad synonyms to try bridge what things are commonly referred to with the exact concept.  Does FoodOn use those annotation properties?

Yes FoodOn uses the oboInOwl broad and narrow and exact synonym.  And we try to keep them well populated, especially the exact one.  We also use the language attribute with all labels and synonyms.

Diet vocabulary is now on its way to being incorporated in ONS.


change so that the gripper doesn't have prefix j2s7s300

changing the moveit config so that the gripper doesn't have the j2s7s300 prefix. This goes in conjunction with the new 7dof_optimization branch on kinova-ros driver and 7dof_prentice_merge on vector_v1.
@maxsvetlik I think you're on the only person using the 7dof arm at UT that might be on this branch since gemini has a separate branch. Can you make sure this isn't going to break your setup before I pull this in?

Since our 7dof arm has a different gripper, we're using a separate MoveIt! config, so this shouldn't be a problem. LGTM, merge away.
The j2s7s300 prefix is an eye sore, glad its being taken care of :)

Great! Sadly the j2s7s300 remains for the arm, so it won't disappear completely ;)


Remove NBSP characters so the input is not displaced

I think this is about the case where there is no prompt -- input begins on an empty line. In that case, the input element is not left-flush because of the NBSP in the paragraph.

Ugh, this is a tricky one. The problem is real (input lines shift to the left when you hit enter). But the proposed fix messes up copy-and-paste. The empty-inline-block span doesn't collapse, but it doesn't copy as a newline either. So copied game output is wrong.

I think the solution is CSS to suppress the placeholder space (display:none it) when it's followed by an input element.
I changed the NBSP to a regular space, since we have white-space:pre-wrap these days.
(But I only touched buffer windows. Grid windows still use NBSP because hey, no known problems there.)


Publish Windows builds on Chocolatey

Hey, Chocolatey is the homebrew of Windows. It'd be really nice to have mutagen there.

I would really like to make that a reality.  Once the v0.8.0 release is out, I'm going to turn my attention towards distribution channels, and I agree that Chocolatey makes the most sense on Windows.
I haven't had too much time to delve into the Chocolatey docs just yet, but my understanding is that there's a moderation process for new packages.  I worry that the maintainers may not be keen to accept Mutagen as a package.  I know that Homebrew is (rightfully) selective of what goes into homebrew-core, but it at least has a "side-loading" mechanism where you can load formulae from third-party taps.  Does Chocolatey have something similar?  That might be a slightly easier route at first.

I'm going to close this in favor of the existing issue #12, but I've made sure to add a note about Chocolatey support for Windows.  Feel free to provide more input on Chocolatey either here or in #12.  Thanks!


[AutoPR notificationhubs/resource-manager] typo: notificationhubs

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/6420

This PR has been merged into https://github.com/Azure/azure-sdk-for-go/pull/5088


Datepicker navigation icon not visible

The date picker navigation icons, used to move between months, are present but not visible (you can click on them and the month will change as expected). See attached screen:

fixed with version 0.1.1


Pass subprocess return status to W&B using subprocess.Popen

W&B should now almost always correctly display whether a run failed or was successful and also display relevant error information in the W&B log.
subprocess.Popen and subprocess.run were both considered. Although cleaner and simpler, subprocess.run often fails to capture the stack trace, so subprocess.Popen is a better option.

Thanks for all the suggestions! I’ve implemented most of the changes, though I kept the while loop since subprocess.Popen is non-blocking. Otherwise, I simplified it significantly for better clarity and efficiency. Please let me know if there’s anything else that should be adjusted.


ci step to automatically publish on master merge

[ ] check if branch is rebased with master/other_branch on pr
[x] publish on github as release on master merge using release draft action
[x] publish on luarocks on master merge using release draft action
[x] increment version with prepare for next release
[ ] automerge using label use https://github.com/pascalgn/automerge-action

@srijan02420 Branch Rebasing and Automerge actions skipped since Merge policy is highly subjective and depends on use case. Will publish general guidelines on what procedure to follow.


Loss function

Hi, how can I use more than one loss function?

The simplest way is to write your own:

def loss1(pred, target):
    '''first loss here'''
    return ...

def loss2(pred, target):
    '''second loss here'''
    return ...

def loss(pred, target):
    return a*loss1(pred, target) + b*loss2(pred, target)

or something like this, more advanced loss can be implemented through torch's _WeightedLoss class template.


Little flag to filter updates in Furyfile

Hi team!
I added a little flag on the furyctl vendor command ~--filter~ --prefix to add a prefix on the modules i want to update, eg: ~furyctl vendor --filter dr/velero~  furyctl vendor --prefix dr/velero.
This can useful when we do stack upgrades.

Is hasprefix enough? What about regexes? Mainly to be able to do an "or" if needed as I don't think "something/.*/whatever" would be a realistic use case in favor of regexes.
Otherwise LGTM

Is hasprefix enough? What about regexes? Mainly to be able to do an "or" if needed as I don't think "something/.*/whatever" would be a realistic use case in favor of regexes.
Otherwise LGTM

Is hasprefix enough? What about regexes? Mainly to be able to do an "or" if needed as I don't think "something/.*/whatever" would be a realistic use case in favor of regexes.
Otherwise LGTM

Agree with Phillipe!

Is hasprefix enough? What about regexes? Mainly to be able to do an "or" if needed as I don't think "something/.*/whatever" would be a realistic use case in favor of regexes.
Otherwise LGTM

Agree with Phillipe!

I would like to start "easy", in my day to day for this type of activity i don't need regex capabilities, i need only to reduce furyctl vendor scope when updating vendor folder.

I would like to start "easy", in my day to day for this type of activity i don't need regex capabilities, i need only to reduce furyctl vendor scope when updating vendor folder.

I would like to start "easy", in my day to day for this type of activity i don't need regex capabilities, i need only to reduce furyctl vendor scope when updating vendor folder.

In this case, I suggest renaming the flag. Instead of f | filter, something like prefix. Then we can implement the regex feature later using the f | filter flag.
What do you think?

I would like to start "easy", in my day to day for this type of activity i don't need regex capabilities, i need only to reduce furyctl vendor scope when updating vendor folder.

In this case, I suggest renaming the flag. Instead of f | filter, something like prefix. Then we can implement the regex feature later using the f | filter flag.
What do you think?

I would like to start "easy", in my day to day for this type of activity i don't need regex capabilities, i need only to reduce furyctl vendor scope when updating vendor folder.

In this case, I suggest renaming the flag. Instead of f | filter, something like prefix. Then we can implement the regex feature later using the f | filter flag.
What do you think?

Sure @angelbarrera92 , i will do it now

I would like to start "easy", in my day to day for this type of activity i don't need regex capabilities, i need only to reduce furyctl vendor scope when updating vendor folder.

In this case, I suggest renaming the flag. Instead of f | filter, something like prefix. Then we can implement the regex feature later using the f | filter flag.
What do you think?

Sure @angelbarrera92 , i will do it now

Done, instead of filter i added --prefix with the -P short notation

Done, instead of filter i added --prefix with the -P short notation

Done, instead of filter i added --prefix with the -P short notation

Can you take a look at the linter? https://ci.sighup.io/sighupio/furyctl/159/1/3

Done, instead of filter i added --prefix with the -P short notation

Can you take a look at the linter? https://ci.sighup.io/sighupio/furyctl/159/1/3

Done, instead of filter i added --prefix with the -P short notation

Can you take a look at the linter? https://ci.sighup.io/sighupio/furyctl/159/1/3

Done!

Done, instead of filter i added --prefix with the -P short notation

Can you take a look at the linter? https://ci.sighup.io/sighupio/furyctl/159/1/3

Done!

LGTM

LGTM

Released at v0.2.5 :)

Released at v0.2.5 :)


fix issue where jna libraries dont work on latest win2016 server and …

…above

@toomasr can i trouble someone to cut a new release of this component? thanks for the speedy merge.


Camera Plugin Permissions

Hi,
since you can use the camera plugin just to take pictures (no video), I think the RECORD_AUDIO permission should be optional.
Thanks!

I've opened a Pull Request addressing this issue https://github.com/flutter/plugins/pull/904.

I would like to follow up on this issue.
As of today, we can pass enableAudio: false when initialising the camera controller to not ask for audio permissions.
However, audio permission is still in AndroidManifest.xml and thus still shown in app permissions in Android settings. A user of my app might wonder why that is the case if the app neither uses nor asks for audio permissions.
Might it be possible to remove the permissions (either only audio or both for consistency) from the plugins AndroidManifest.xml and ask the plugin user for adding them themselves to their apps AndroidManifest.xml?
For iOS manually adding them is necessary anyway.

To fix this manually, add this to the android/app/src/main/Manifest.xml
<manifest ... xmlns:tools="http://schemas.android.com/tools">
    ....
        <uses-permission android:name="android.permission.RECORD_AUDIO" tools:node="remove"/>
    ....
</manifest>

To fix this manually, add this to the android/app/src/main/Manifest.xml
<manifest ... xmlns:tools="http://schemas.android.com/tools">
    ....
        <uses-permission android:name="android.permission.RECORD_AUDIO" tools:node="remove"/>
    ....
</manifest>

Thanks. It's work.

Hi, I'm trying this solution for android devices and it works ok.
But I still see the audio permission popup on iOS devices.
There is a solution I didn't see? Thanks in advance

Hi,
Since the merge of PR #837 (version 0.5.2), you are able to enable or disable sound. Because of that, the permission request only happens if you enable the sound. I checked it on both Android and iOS and found that indeed the permission request doesn't happen when disabling sound, so this function works as expected.
Since the audio permission request is isn't mandatory anymore, this issue can be closed.

 this will not ask audio permission.only camera permissions.but my camera wont open.


Maximum rows

When reading more than 1K rows, it failed. Is this the limitation?

What error do you get? Can you share an example?

What error do you get? Can you share an example?

Looking at the benchmark here
[Benchmark]
public void DefaultMap()
{
    using var original = Helpers.GetResource("VeryLargeSheet.xlsx");
    var importer = new ExcelImporter(original);
    importer.Configuration.RegisterClassMap<DataClassMap>();

    ExcelSheet sheet = importer.ReadSheet();
    foreach (object value in sheet.ReadRows<DataClass>())
    {
    }
}

We have 7,500 rows in the VeryLargeSheet.xlsx - can you please describe your error more as I cant repro

Looking at the benchmark here
[Benchmark]
public void DefaultMap()
{
    using var original = Helpers.GetResource("VeryLargeSheet.xlsx");
    var importer = new ExcelImporter(original);
    importer.Configuration.RegisterClassMap<DataClassMap>();

    ExcelSheet sheet = importer.ReadSheet();
    foreach (object value in sheet.ReadRows<DataClass>())
    {
    }
}

We have 7,500 rows in the VeryLargeSheet.xlsx - can you please describe your error more as I cant repro

Hi, any updates? I'm going to close this soon if no updates

I haven't test it yet, but u can close the issue I guess, thanks
Get Outlook for Androidhttps://aka.ms/ghei36

From: Hugh Bellamy<EMAIL_ADDRESS>Sent: Tuesday, February 23, 2021 7:42:06 PM
To: hughbe/excel-mapper<EMAIL_ADDRESS>Cc: Benjamin Fallar III<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [hughbe/excel-mapper] Maximum rows (#61)
Hi, any updates? I'm going to close this soon if no updates
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/hughbe/excel-mapper/issues/61#issuecomment-784141394, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAYS6RRK56DUGG2UA6WIKWTTAOIA5ANCNFSM4S6CJQKQ.

Cheers!


feat: Admin page

finally, broke it too many times i guess

I also had to change the sessions in server to get it all to work correctly


[FEATURE] Adds SearchApi as WebSearchEngine and Tool

Issue

closes #1132
@mark-searchapi
Change
Added SearchApi as a WebSearchEngine that also can be used as a tool. Currently using Google Search as default engine. It also allows for new engines to be implemented using the SearchApiRequestResponseHandler interface, and adding it to the SearchApiEngine enum so the user can choose which one to use.
General checklist

[X] There are no breaking changes
[X] I have added unit and integration tests for my change
[x] I have manually run all the unit and integration tests in the module I have added/changed, and they are all green
[ ] I have manually run all the unit and integration tests in the core and main modules, and they are all green

[X] I have added/updated the documentation
[X] I have added an example in the examples repo (only for "big" features)

The example is in the docs, I will open a new PR to the examples repo if it is ok

Checklist for adding new model integration

[ ] I have added my new module in the BOM

Checklist for adding new embedding store integration

[ ] I have added a {NameOfIntegration}EmbeddingStoreIT that extends from either EmbeddingStoreIT or EmbeddingStoreWithFilteringIT
[ ] I have added my new module in the BOM

Checklist for changing existing embedding store integration

[ ] I have manually verified that the {NameOfIntegration}EmbeddingStore works correctly with the data persisted using the latest released version of LangChain4j

@algora-pbc /claim #1132

SearchApi organic results are consistent across major search engines so we can simplify the integration and make it future proof (work without changes for upcoming search engines).

@mark-searchapi  Oh ok! I thought you wanted other integrations (like "youtube" and "google_maps" that do not have organic results in the response) in the WebSearchEngine, that is why I created the SearchApiGoogleSearchApi.java, SearchApiGoogleSearchHandler.java, SearchApiGoogleSearchResponse.java coupled to Google Search, so if you wanted to add other engines you could create a new customized implementation. I will take a look at your comments and address them.

@mark-searchapi everything ok, just in case I need to run more tests could you add more credits? I have only 2 left, my account is acc_qWRMkOg9leZVfwOz6Jze1b0P

@mark-searchapi everything ok, just in case I need to run more tests could you add more credits? I have only 2 left


(3hr deck) Clarify elements of training schedule via Journey Model

Describe the issue
The training roadmap is not clear to onboarding teams. We wish to provide an easy to understand visual model for teams to understand.
Which Sprint Priority is this issue related to?
Goal 1

Note: 'Milestone' is a ZenHub term that we use synonomously with 'Sprint'.

The 'Milestone' overview/description (created in ZenHub) should clearly list Sprint Priorities/Goals. This section should indicate which of the priorities/goals this issue is related to.
Additional context

See DevHub's Journeys https://developer.gov.bc.ca/journeys
If we reuse what's used in DevHub then we get the diagram for free but it's additional work

Definition of done

all onboarding and training captured in a list that is then used to create
a visual Journey Map (see addnl contxt)
connect with Digital Academy, show AWS connected pieces, ask if they wish to own now or later
1 day max work

awaiting Julian's availability to do it


screenshots and directions are wrong for devops server 2019

in devops server 2019 (also for tfs versions) doesn't exist the specific template for datadog webhook, so it must be configured by a generic webhook. putting the url in the form https://app.datadoghq.com/intake/webhook/azuredevops?api_key=xxxxxxxxxxxxxxxxxxxxxxx
so you must update screenshot and directions,
thank you

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

ID: c0f632a9-2ab3-d7f4-4c7e-dc9a18e0a7e9
Version Independent ID: eb818eb7-0e79-8cad-ee03-e6c90802218b
Content: Create a service hook for Azure DevOps Services and TFS with Datadog - Azure DevOps
Content Source: docs/service-hooks/services/datadog.md
Product: devops
Technology: devops-collab
GitHub Login: @chcomley
Microsoft Alias: chcomley

Hi @mrmojo666 , Thanks for this feedback. I've created a user story for my backlog to address this! Thanks again!

sorry to be direct... closed why ? still wrong directions for azure devops server 2020/2019. the datadog template is still not existing.
I think should read better issues and products involved (devops server 2019 and 2020, not azure devops on cloud)

moreover the issue you linked is totally different totally out of context

Thank you so much @chcomley for having added this important query to activate the datadog specific hook whitout any notice on this thread. It works!


Update mkdocs.yml so that Releaes Testing is corrected to Release Testing

fixes Issue #2333

Summary
Related issue(s)
Fixes #

/ok-to-test

@JonathanWentaoBao I had to update the title to include ":bug"


Big Cleanup!

We need a big cleanup of the code for better editing and fixing.
This means commenting on what everything does (unless already commented), if already commented, make sure it makes clear sense!
Removing any functions, definitions, sections, prompts, etc., that are left behind by the original authors whilst they were writing the program.
Anything else you can think of to clean up the code? Mention it below

Started. One big change is shifting over to using python's logging method


Beta - "HTML/HTML 5 - Link to Internal Sections of a Page with Anchor Elements" loads empty preview

Challenge Name

Issue Description

When arriving at the "HTML HTML 5 - Link to Internal Sections of a page with anchor elements" lesson,
the preview loads an empty screen.
When you start to type in code the page suddenly refreshes and the preview pane is showing the contents from the previous challenge
On page refresh an error appears on the dev console, screenshot is available below
Issue happens on both local copy of FCC and the current web based beta.
FYI: Some panels were removed to declutter the screenshot
Browser Information

Browser Name, Version: Chrome 64.0.3282.186 64-bit
Operating System: Windows 10 Pro 64-bit
Mobile, Desktop, or Tablet: Laptop
Your Code

Screenshot

On Lesson Load:

After typing in editor:

After Page Refresh:

@mstellaluna I'm not able to reproduce it. I loaded many challenges of HTML section and they all are loading with the preview. Also, that typing behaviour is expected. I think we should close this?

@vkWeb I am able to reproduce this error on two different computers and in the live copy and local copy of Beta. Please check with @Bouncey, @systimotic and/or @raisedadead  before closing this out.

I am able to reproduce this error on two different computers and in the live copy and local copy of Beta.

@mstellaluna No - I'm not a moderator, I cannot close issues 😅. Actually, I was asking you to close.

Please check with @Bouncey, @systimotic and/or @raisedadead before closing this out.

Okay, I'll try to confirm this in our contributor's chatroom.

@vkWeb sorry i don't close any issues, i don't get involved that is why i tagged the core team members.

@mstellaluna Okay.

@mstellaluna this is a security feature in chrome that we are resisting the urge to modify. We only set the iframe (preview) to allow-scripts when you decide to edit/run the code.
@raisedadead have I got that right? Is there anything we could do to aid UX?

@Bouncey the other challenges prior and after don't have this issue. the preview comes up as it should. this one particular one for some odd reason I need to type in the editor for it to show up... that's why I opened the issue

@Bouncey @mstellaluna
There are a couple of things going on here. And I guess this is a bit tricky problem
To reproduce:

Start a incognito window.
Visit any challenge with the Cat Photo image for example https://beta.freecodecamp.org/en/challenges/basic-html-and-html5/turn-an-image-into-a-link
You should see this happening.

So, I think this is not limited to any challenge.
Because,
If you click a link for any other challenge with the image including the one in the discussion here, the behavior is as expected, with a proper render.
I think this could be a SSR issue.

@BerkeleyTrue do we want to trigger the build pipeline on appMount to combat this?

@Bouncey The current trigger is when the challenge loads, which for the initial load is SSR. Yes, appMount should be sufficient to trigger the preview after SSR.

Was going through the current PRs to see if I could help QA anything when I saw #16986. Pulled it, and when I did the tests that @raisedadead mentioned above the preview window loads correctly.
Just wanted to mention it here in case anyone sees this issue and starts working on it again.

@scissorsneedfoodtoo Awesome - so if I understand you correctly, this is now fixed on https://learn.freecodecamp.org? If not, please reopen this.

@QuincyLarson, yes, this is working properly now on Learn!


Deploy Dagster to populate AWS prod instance

Plan to work on this once dev for Dagster is ready

[ ] Create Machine
[ ] add docker
[ ] setup swarm, and add to portainer
[ ]  create stack
[ ]

This is complete


Set up front end for reg commenting

Short description explaining the high-level reason for the pull request
Additions

reg-comment organism HTML and CSS
reg-comment organism made available to main content area on sublanding pages

Removals

Reg comment form test page

Changes

Updates @btn-font-size variable to match Design Manual standard of 16px

Testing

Pull this fork down
If you didn't test #1194:

Copy the new env vars to your .env file
Replace <api_key> with the actual API key
cd out and back into cfgov-refresh to activate the new env vars
pip install -r requirements/local.txt
./cfgov/manage.py migrate

./cfgov/manage.py runserver
Log into Wagtail running locally
Create a new sublanding page; give it a title
Add the Reg Comment module to the content area
Enter the test Document ID: CFPB_FRDOC_0001-0439
Publish to WWW
View the page, test the form
See result page 🎊

Review

@kurtw
@rosskarchner
@richaagarwal
@kave
@sebworks
@amymok

Screenshots

Todo (not in this PR but after launch)

Add a deadline for comments to the Wagtail module, set the form to close automatically after the deadline.

Checklist

[ ] Changes are limited to a single goal (no scope creep)
[ ] Code can be automatically merged (no conflicts)
[ ] Code follows the standards laid out in the front end playbook
[ ] Passes all existing automated tests
[ ] New functions include new tests
[ ] New functions are documented (with a description, list of inputs, and expected output)
[ ] Placeholder code is flagged
[ ] Visually tested in supported browsers and devices
[ ] Project documentation has been updated (including the "Unreleased" section of the CHANGELOG)

Functional 👍 but I'm not picasso

👍 , minor comments. Not sure if you want to use JS to validate the form and display a notification.

Fixes pushed to address comments by @sebworks. JS validation is out of scope for this initial release, but would like to do that eventually.


Unable to replicate FinRL_Explainable_DRL_for_Portfolio_Management_An_Empirical_Approach.ipynb

I am referring to the note book FinRL_Explainable_DRL_for_Portfolio_Management_An_Empirical_Approach.ipynb
In the part of the integrated gradient of the paper, it shows the error message:
RuntimeError: mat1 and mat2 shapes cannot be multiplied (1x957 and 1073x64)
I am using a different train and trade period for the models, and DJI Universe
Train: 2010-01-01 - 2020-12-31
Trade: 2021-01-01 - 2021-08-31
Any help would be greatly appreciated, thanks!

This issue is now solved by redefining the technical_indicator_list.

@16GMCN
I see, any reason why the author chose to use the technical indicators ['macd','rsi_30','cci_30','dx_30'] instead of the usual values?

There's no specific reason. Indicators could be different from macd, rsi, cci, dx.


Request to keep Repo.one undeprecated

The addition of Repo.first and Repo.last in 2.0 is great and seems really useful, but it does not seem like a perfect drop-in replacement for Repo.one. I've been using Repo.one to say "this query, whether or not there is an explicit limit set, should only ever return a single result" which makes for some great intention revealing code. Now instead I would have to run Repo.all with a case statement to match that only a single value (or none) was returned. There were a few cases where I could replace our Repo.one call with Repo.get_by or Repo.first but in most cases we were using it to say that the database should only have 1 record matching this query. Here's an example from our codebase.
In Ecto 1.1.4 we had the following query:
    Repo.one!(from c in Command,
              join: b in assoc(c, :bundle),
              where: b.name == ^bundle,
              where: c.name == ^command)

We could switch this to use Repo.first but because Repo.first always adds a limit to the query, we would lose out on extra meaning of Repo.one to say, "we only ever expect this query to return a single value, otherwise blow up".
So far we've added a helper method to our codebase to give us the same functionality we had with Repo.one but would love to be able to use the existing function in the future. So, is there anyway we could keep Repo.one and Repo.one! in Ecto 2.0?
Also, if I missed any pass discussion that explains the deprecation, let me know. I couldn't find any pull requests that discussed that specifically.

Thank you. The plan is to bring Repo.one and Repo.one! back and make both first and last to be functions in Ecto.Query.

@josevalim Oh, great! :heart:
Do you expect this change to make it into the final 2.0 release?

Definitely. They should be in the next beta.

:+1: Feel free to close this or reword and leave as a reminder.

Your wish has been granted. A new beta should be out soon! Thank you!

Thanks so much @josevalim. I'll try out the new beta as soon as it drops.


Match hb-draw more precisely

As per https://github.com/googlefonts/fontations/pull/880#pullrequestreview-2029561181, "we should make sure we actually offer HB compatibility beyond 2 decimal places if we're going to promise it."
There are a couple of adjustments needed to match HB more precisely. For context #880 doesn't do the floating point math identically so while it matches at low precision (e.g. 2 decimal places for icons) there will be differences in output when the full floating point values are compared. Adjust the following:

Advance, per https://github.com/googlefonts/fontations/pull/880#discussion_r1583727180
Deltas, per https://github.com/googlefonts/fontations/pull/880#discussion_r1583734461
Scale, per https://github.com/googlefonts/fontations/pull/880#discussion_r1583737726

For advance and deltas contrast with the sleipnir code in https://github.com/googlefonts/sleipnir/pull/15/commits/cae1b6320734a78bc3c4f115ec2a8569cd2d2ebf.
Deferring to this issue as #880 appears to be sufficient for icon use where a minute floating point difference doesn't really matter.

off by one ... repo. Moving to fontations.


建议左侧导航节点展开时，点击能再次收起。

如题，目前的效果是点击展开子级菜单，再次点击不会收起，建议添加此功能，以提高操作的易用性。

@strongdevx It would be great if you could use English so others can follow the discussion.

I also vote for this enhancement.

I also vote for this enhancement.


Is this solution for "server commands" only?

How do you overcome this thing:
tables:
users
trpc_calls
you create trpc call, it saves to local and syncs to server.
But, i cant see user in users table yet, before i get sync from server.
so i cant render users table.
Usecase for your implementation is not for every table, just to make some server interactions?

Yes this is only for commands or functions you want to run on the server. E.g. for creating a user, maybe your app has the requirement that before you create a user, you must pull some information from an external account — which you can't do on the client. So creating the user on the server is the best way.
If you haven't, read through my blog post (which expands on the README here) https://bricolage.io/announcing-trpc-crdt/

Usecase for your implementation is not for every table, just to make some server interactions?

Yes exactly. With local-first, you assume writes will land locally but this library makes it straightforward to move the writes to the server when needed.

Thank you very much for response.
And thank you very much for your blog, very interesting thoughts and helpful.


How to get the hash password

I created two hash passwords

The second is for the transaction password
How to verify the second password
This is my code, but it can not work

in get_user_hash() make sure you've added PassWordII to the list of columns being selected from the database.


Tool can not be used in Robot Framework 3.1 + Python 3.5

I am new to this tool but found it quite useful.
But when I try to parse the report which generated by Robot Framework 3.1 + Python 3.5, It failed to run.
agilis@ubuntu:~/Code/Agilis/Tests/SLC_MIT/TestReport$ python -m dbbot.run output.xml
Traceback (most recent call last):
File "/home/agilis/miniconda3/envs/py35/lib/python3.5/runpy.py", line 183, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "/home/agilis/miniconda3/envs/py35/lib/python3.5/runpy.py", line 153, in _get_module_details
code = loader.get_code(mod_name)
File "", line 799, in get_code
File "", line 759, in source_to_code
File "", line 222, in _call_with_frames_removed
File "/home/agilis/miniconda3/envs/py35/lib/python3.5/site-packages/dbbot/run.py", line 43
except DataError, message:
^
SyntaxError: invalid syntax

i was facing the similar issue. it seems that with dbbot ,we need to install dbbot-sqlalchemy too.
just install it via pip using pip install dbbot-sqlalchemy,it should work .
Worked for me .
Happy Testing !!

dbbot-sqlalchemy is separate fork of this project that seems to be actively maintained, has Python 3 support, and supports more databases than bbc
I would recommend everyone tp check it out


Update base.rb

Use raise instead of the obfuscating throw.
Before :
irb(main):002:0> begin
irb(main):003:1*   throw(:exception, Exception.new('test'))
irb(main):004:1> rescue => error
irb(main):005:1>   puts error.inspect
irb(main):006:1> end
#<UncaughtThrowError: uncaught throw :exception>
=> nil

(No way to access the exception class and handle the error)
After:
irb(main):007:0> begin
irb(main):008:1*   raise Exception.new('test')
irb(main):009:1> rescue => error
irb(main):010:1>   puts error.inspect
irb(main):011:1> end
Exception: test
	from (irb):8
	from /bundle/gems/railties-<IP_ADDRESS>/lib/rails/commands/console.rb:110:in `start'
	from /bundle/gems/railties-<IP_ADDRESS>/lib/rails/commands/console.rb:9:in `start'
	from /bundle/gems/railties-<IP_ADDRESS>/lib/rails/commands/commands_tasks.rb:68:in `console'
	from /bundle/gems/railties-<IP_ADDRESS>/lib/rails/commands/commands_tasks.rb:39:in `run_command!'
	from /bundle/gems/railties-<IP_ADDRESS>/lib/rails/commands.rb:17:in `<top (required)>'
	from bin/rails:4:in `require'
	from bin/rails:4:in `<main>'

(Here we can rescue Exception and handle the error).

throw(:exception) is used in conjunction with catch(:exception), and it should return the exception for you as well. You can see one example where it's being used here.
Thanks for your contribution, I hope that helps!

Thank you @carlosantoniodasilva for your comment, nevertheless here is the problem :
config/initializers/i18n.rb
module I18n
  def self.name_for_locale(locale)
    I18n.backend.translate(locale, 'i18n.language.name')
  rescue I18n::MissingTranslationData
    locale.to_s
  end
end

This is not working as the I18n::MissingTranslationData class can't be rescued in this case. Using raise instead would make this case working and actually it's the common way to manage exceptions as far as I can tell (to be honest I have discovered the usage of throw in Ruby with the code of this gem !)

There are ways to make it raise, eg if you use directly I18n.translate (and you should), you can pass in raise: true:
I18n.translate('i18n.language.name', locale: locale, raise: true(

However, I think what you're looking for is actually a default, so this would be simpler without having to resort on exception handling:
I18n.translate('i18n.language.name', locale: locale, default: locale.to_s)

You're right @carlosantoniodasilva. Thank you for this. :+1:

You're welcome, glad I could help. :)
On Sat, Feb 27, 2016 at 12:08 PM, Guillaume Hain<EMAIL_ADDRESS>wrote:

You're right @carlosantoniodasilva
https://github.com/carlosantoniodasilva. Thank you for this. [image:
:+1:]
—
Reply to this email directly or view it on GitHub
https://github.com/svenfuchs/i18n/pull/334#issuecomment-189659823.

--
At.
Carlos Antonio


Revert "Set the class of a swizzled object back to its original class upon deallocation."

Reverts google/GoogleUtilities#52
Order of operations:

[ ] Merge this revert into main
[ ] Merge #57 (previous fix) into main
[ ] Retag CocoaPods-8.5.1 to main's latest commit

Just for the record, we are temporary reverting it to release a simple workaround first to unblock developers fast and safely. We will keep refining the fix after.


add "warning" or "notification" message saying "we reccomend to use ZZ code when allowing a specific country code"

[Enter feedback here]
we had some critical false positive issues repeatedly where cutomer set Geo match filter "only allow specifc country code" and ISP updated its IPv6 address prefix. As the result some clients who are using those updating IPv6 range will be blocked for a while. To avoid this, we have ZZ country code but this docs statement is very weak so some of the customers still may expect that allowing only a specific country code work 100% while updating its IP ranges. So I would like to add "warning" tag saying that how important to add ZZ code and how it helps the situation with not a big risk ( I believe any clients IPs can't be in ZZ code on their purpose)

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

ID: d67cfb74-f875-3645-e2fc-35f7c2abf3e3
Version Independent ID: 45db88b1-3a24-fea8-bbaa-596b2590b320
Content: Geo-filtering on a domain for Azure Front Door
Content Source: articles/frontdoor/front-door-geo-filtering.md
Service: frontdoor
GitHub Login: @duongau
Microsoft Alias: duau

@maotsuk , thank you for your feedback. We have assigned this to the content owner/author for review.

@maotsuk Thank you for your feedback. I have let our PG team know of your suggestion and will provide make the addition if your comments are approved.
#please-close


Factor Network State Machine out of NetworkConnection

Make Network State Machine into its own class and pull some Macro trick to make transition declaration more readable.
I collapsed some states together but there are definitely more opportunities. I marked them with TO-DOs and with any luck we can collapse them as we progress along in the refactor.
Next step would be to clear up the mess with NetworkThread, NetworkMasterThread and NetworkWorkerThread. Will rename those respectively into NotifiableTask, ConnectionDispatcherTask and ConnectionHandlerTask to avoid confusion, and shuffle code around for better encapsulation

Coverage decreased (-75.8%) to 0.0% when pulling 7215be63ea30e8d171629c73bc9922be850f4dec on tli2:tianyuli-network-cleanup into c8ef38db306ad2bc30a2d9a1b61b3a541f73583b on cmu-db:master.

There seems to be some flakiness in the build. This passed on my fork's Travis under (I think) the same environment

I just restarted the build and it worked. This seems to happen quite often after Travis switched to Ubuntu Trusty on Dec 12th.

Done

Coverage decreased (-0.02%) to 75.842% when pulling 3d8ba6c12fdb0080c3c63d13f91b413c06fd1ffd on tli2:tianyuli-network-cleanup into 292a96d0f5df5d3e42bb633af2431b72c938e497 on cmu-db:master.

Coverage decreased (-0.005%) to 75.853% when pulling 3d8ba6c12fdb0080c3c63d13f91b413c06fd1ffd on tli2:tianyuli-network-cleanup into 292a96d0f5df5d3e42bb633af2431b72c938e497 on cmu-db:master.

Coverage decreased (-0.008%) to 75.85% when pulling fe117b25fdc8f9105de250178197c7c269a98f2e on tli2:tianyuli-network-cleanup into 292a96d0f5df5d3e42bb633af2431b72c938e497 on cmu-db:master.


Boxstarter performs reboots although "-DisableReboots" is used

A Boxstarter package I use to configure the computers I manage changed behavior with Boxstarter v2.7.0 (and v2.8.0): Windows reboots during execution.
My package consists of several PowerShell, Boxstarter and cmd.exe commands to configure Windows (7/8/10) the way I want and also several choco install commands.
I was using v2.5.21 just fine but since I upgraded Boxstarter to v2.8.0 Windows reboots automatically, even though I ran installation with the -DisableReboots:
boxstarter.bat MyWindowsInstallationPackage -DisableReboots

Note that I do no reboot management in my Boxstarter package: it is believed not to require any reboot (from configuration and/or installed softwares).
I had choco install -y foobar which I've fixed (cf. #164) but I'm not sure theses others choco install params are still accepted by v2.8.0:

choco install shrewsoftvpn --installargs ('/STANDARD /NODESK')
choco install win32-openssh --params '/SSHServerFeature'

$fusioninventoryagentInstallerArguments = '/server=''https://glpi.example.com/plugins/fusioninventory/'' /ca-cert-file=''' + $casFilepath + ''' /installtasks=Inventory,Deploy /no-category=Printer'
choco install fusioninventory-agent.install --installargs ($fusioninventoryagentInstallerArguments)

Could these extra parameters be wrongly interpreted by Boxstarter?
Why is even Boxstarter launcher restarts when -DisableReboots is used?

I need to have a look but possibly boxstarter.bat is not forwarding things along propperly. Intsall-BoxstarterPackage is the more modern boxstarter entry point and I have not seen issues with it not honoring -DisableReboots. I'll get to the bottom why this is happening.

Is there a "portable" alternative to the boxstarter.bat?
I'm mainly using Boxstarter without install: just the boxstarter.bat foobar command on target computers.

Yeah that "should" work.
I was not able to reproduce this though. I have a test package that directly calles Boxstarter's reboot command and it reports that reboots are suppressed. Its possible that some other dependent package is directly rebooting the computer without going through boxstarter's Invoke-Reboot.
The way to find out for sure is to examine the boxstarter log on the computer. Its located at $env:localappdata\boxstarter\boxstarter.log. If its Boxstarter that is doing the rebooting, you should see entries like: Restart Required. Restarting now...

I have:
[2016-04-18T18:31:12.1194008+02:00:::PID 5680] Boxstarter: restoring current directory location to C:\windows\system32
[2016-04-18T18:31:12.2442008+02:00:::PID 5784] Boxstarter: found C:\Users\User\AppData\Local\Boxstarter\Boxstarter.5784.restart we are restarting
[2016-04-18T18:31:12.2442008+02:00:::PID 5784] Boxstarter: found C:\Users\User\AppData\Local\Boxstarter\Boxstarter.5784.restart we are restarting
[2016-04-18T18:31:12.3066008+02:00:::PID 5784] Boxstarter: Exit Code: 0
[2016-04-18T18:31:12.3066008+02:00:::PID 5784] + Boxstarter finished Calling Chocolatey to install MyWindowsInstallationPackage. This may take several minutes to complete... 00:01:54.2854008
[2016-04-18T18:31:12.3066008+02:00:::PID 5784] + Boxstarter finished Calling Chocolatey to install MyWindowsInstallationPackage. This may take several minutes to complete... 00:01:54.2854008
[2016-04-18T18:31:12.3066008+02:00:::PID 5784] Boxstarter: A Reboot was requested but Reboots are suppressed. Either call Invoke-Boxstarter with -RebootOk or set $Boxstarter.RebootOk to $true
[2016-04-18T18:31:12.3066008+02:00:::PID 5784] Boxstarter: A Reboot was requested but Reboots are suppressed. Either call Invoke-Boxstarter with -RebootOk or set $Boxstarter.RebootOk to $true
[2016-04-18T18:31:12.3222008+02:00:::PID 5784] Boxstarter: Restore Automatic Updates from Windows Update
[2016-04-18T18:31:12.3378008+02:00:::PID 5784] Boxstarter: Enabling UAC
[2016-04-18T18:31:12.3534008+02:00:::PID 5784] Boxstarter: UAC Enabled. Disabling...
[2016-04-18T18:31:12.3690008+02:00:::PID 5784] Boxstarter: Disabling UAC
[2016-04-18T18:31:12.3846008+02:00:::PID 5784] + Boxstarter finished Installation session. 00:01:55.4451629
[2016-04-18T18:31:12.3846008+02:00:::PID 5784] Boxstarter: Restart Required. Restarting now...

If I understand it correctly, Boxstarter grabs the reboot request and ignores it as asked by -DisableReboots, but at some point it think it is now clear to reboot and it does it?
I'll check on a fresh new script attempt...

So I ran the script on a fresh new Windows with the following command (from D:\boxstarter-2.8.0):
boxstarter.bat MyWindowsInstallationPackage -DisableReboots

It rebooted after running choco install shrewsoftvpn --installargs '/STANDARD /NODESK'.
The folder C:\ProgramData\chocolatey\lib content is:

fusioninventory-agent.install\
LinkShellExtension\
myuninst\
ShrewSoftVpn\
vcredist2005\

The folder $env:localappdata\boxstarter content is:

boxstarter.log
boxstarter.script
BoxstarterReEnableUAC

Content of $env:localappdata\boxstarter\boxstarter.script:
Import-Module (Join-Path "D:\boxstarter-2.8.0" BoxStarter.Chocolatey\Boxstarter.Chocolatey.psd1) -global -DisableNameChecking; Invoke-ChocolateyBoxstarter -bootstrapPackage 'MyWindowsInstallationPackage'   -DisableReboots

Here is a excerpt from $env:localappdata\boxstarter\boxstarter.log (full content on this gist):
 The install of shrewsoftvpn was successful.

Chocolatey installed 1/1 package(s). 0 package(s) failed.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
  The install of shrewsoftvpn was successful.
 Chocolatey installed 1/1 package(s). 0 package(s) failed.
[2016-04-21T12:13:26.0918038+02:00:::PID 232] Boxstarter: restoring current directory location to D:\boxstarter-2.8.0\boxstarter.chocolatey\chocolatey
  See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
[2016-04-21T12:13:26.0918038+02:00:::PID 232] Boxstarter: Exit Code: 0
[2016-04-21T12:13:26.1074038+02:00:::PID 232] + Boxstarter finished Calling Chocolatey to install shrewsoftvpn. This may take several minutes to complete... 00:00:39.4141518
[2016-04-21T12:13:26.1074038+02:00:::PID 232] + Boxstarter finished Calling Chocolatey to install shrewsoftvpn. This may take several minutes to complete... 00:00:39.4141518
 + Boxstarter finished Calling Chocolatey to install shrewsoftvpn. This may take several minutes to complete... 00:00:39.4141518
[2016-04-21T12:13:26.1074038+02:00:::PID 232] Boxstarter: Installing 1 packages
[2016-04-21T12:13:26.1074038+02:00:::PID 232] Boxstarter: Checking for Pending reboot
[2016-04-21T12:13:26.1386038+02:00:::PID 232] Boxstarter: Detected Pending reboot
[2016-04-21T12:13:26.1386038+02:00:::PID 232] @{Computer=MyComputer; CBServicing=False; WindowsUpdate=False; CCMClientSDK=; PendComputerRename=False; PendFileRename=True; PendFileRenVal=System.String[]; RebootPending=True}
[2016-04-21T12:13:26.1386038+02:00:::PID 232] Boxstarter: writing restart file
[2016-04-21T12:13:26.1386038+02:00:::PID 232] Boxstarter: writing restart file
 Boxstarter: writing restart file
[2016-04-21T12:13:26.1854038+02:00:::PID 232] Boxstarter: Writing restart marker with pid 5548 from 232
[2016-04-21T12:13:26.2010038+02:00:::PID 232] Boxstarter: Done with softwares installation

Here is where the chocolaty installations are done in the Boxstarter script:
## FusionInventory Agent ##
$fusioninventoryagentInstallerArguments = '/server=''https://glpi.example.com/plugins/fusioninventory/'' /ca-cert-file=''' + $trustedCasFilepath + ''' /installtasks=Inventory,Deploy /no-category=Printer /execmode=Task /task-hourly-modifier=4 /no-start-menu /runnow'

choco install fusioninventory-agent.install --installargs ($fusioninventoryagentInstallerArguments)
## /FusionInventory Agent ##

choco install myuninst
choco install LinkShellExtension

choco install shrewsoftvpn --installargs '/STANDARD /NODESK'
#TODO: Move VPN profile to specific folder?

choco install 7zip

7zip Chocolatey package was not installed (nor attempted to).

Thank you very much for this. The log gist was incredibly helpful. I'm able to see what is happening and I can reproduce this on Windows 7 and 2k8r2.
I have a fix and hope to release it today.

I confirm it now works: Thanks!


add supported type

Situation:
The meshes I'm working on hold an attribute with the size [N, ?, L], represents N points, ? neighbors, L lengths. The below code would fix the 'Unsupported attribute type' error.

Codecov Report

Merging #310 into master will decrease coverage by 0.06%.
The diff coverage is 33.33%.

@@            Coverage Diff             @@
##           master     #310      +/-   ##
==========================================
- Coverage     100%   99.93%   -0.07%
==========================================
  Files         111      111
  Lines        3020     3023       +3
==========================================
+ Hits         3020     3021       +1
- Misses          0        2       +2

Impacted Files
Coverage Δ

torch_geometric/data/data.py
98.07% <33.33%> (-1.93%)
:arrow_down:

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 6fd1fc0...3105066. Read the comment docs.

There are still other conflicts.

Hi, couldn‘t you just convert your tensor to PyTorch?

I can't as I said. The second dimension is not equal of each point.

Sure, that is not possible. You should encode those as edge features.


HTTP Proxy configuration

Allows using an HTTP proxy
Includes specs

General information about my pull requests
As I decided to use capybara and capybara-webkit for screen scraping tasks, I added some new procedures to the webkit_server and Capybara::WebKit::Browser that provide an interface to some of the underlying QtWebKit's advanced functionality.
Note: Because I had to add several C++ source files and headers to webkit_server, I decided to give the webkit_server.pro a nicer and more version control friendly layout. This is of course optional, I don't know whether this file is somehow auto-generated?

+1 would be helpful to do some tests with our http proxies.

Can you rebase this against master and see if you get any failing test cases. Currently all of the tests fail for me.

I'm checking this out

Hah? I didn't want to close it, I just wrote "I'm checking this out". What's up with github?

I cannot reproduce your problem, it runs fine on my Ruby 1.9.1 as well as 1.8.7-p352 (Linux x86_64). Can you paste the RSpec output?

Failures:

Capybara::Driver::Webkit::Browser#set_proxy uses the HTTP proxy correctly
Failure/Error: @server.shutdown
Errno::ENOTCONN:
Socket is not connected
./spec/browser_spec.rb:88:in `shutdown'
./spec/browser_spec.rb:88:in `block (3 levels) in <top (required)>'

Capybara::Driver::Webkit::Browser#set_proxy sends correct proxy authentication
Failure/Error: @server.shutdown
Errno::ENOTCONN:
Socket is not connected
./spec/browser_spec.rb:88:in `shutdown'
./spec/browser_spec.rb:88:in `block (3 levels) in <top (required)>'

Capybara::Driver::Webkit::Browser#set_proxy uses the proxies' response
Failure/Error: @server.shutdown
Errno::ENOTCONN:
Socket is not connected
./spec/browser_spec.rb:88:in `shutdown'
./spec/browser_spec.rb:88:in `block (3 levels) in <top (required)>'

Capybara::Driver::Webkit::Browser#set_proxy uses original URL
Failure/Error: @server.shutdown
Errno::ENOTCONN:
Socket is not connected
./spec/browser_spec.rb:88:in `shutdown'
./spec/browser_spec.rb:88:in `block (3 levels) in <top (required)>'

Capybara::Driver::Webkit::Browser#set_proxy is possible to disable proxy again
Failure/Error: @server.shutdown
Errno::ENOTCONN:
Socket is not connected
./spec/browser_spec.rb:88:in `shutdown'
./spec/browser_spec.rb:88:in `block (3 levels) in <top (required)>'

Finished in 162.14 seconds
619 examples, 5 failures
Failed examples:
rspec ./spec/browser_spec.rb:91 # Capybara::Driver::Webkit::Browser#set_proxy uses the HTTP proxy correctly
rspec ./spec/browser_spec.rb:97 # Capybara::Driver::Webkit::Browser#set_proxy sends correct proxy authentication
rspec ./spec/browser_spec.rb:107 # Capybara::Driver::Webkit::Browser#set_proxy uses the proxies' response
rspec ./spec/browser_spec.rb:111 # Capybara::Driver::Webkit::Browser#set_proxy uses original URL
rspec ./spec/browser_spec.rb:115 # Capybara::Driver::Webkit::Browser#set_proxy is possible to disable proxy again

Joe Ferris is getting the same errors with another piece of code written by me: https://github.com/thoughtbot/capybara-webkit/pull/176
I can only assume that your OS provides a different socket implementation than mine and Ruby does not abstract away the differences. May I ask what OS and architecture you are using?

@halogenandtoast: can you try whether the specs pass if you replace shutdown with close?

I removed the questionable code. Even if connections are dangling, the specs should always run without problems.


PowerToys Run crashes when searching for files/folders

Microsoft PowerToys version
0.64.1
Installation method
GitHub, PowerToys auto-update
Running as admin
Yes
Area(s) with issue?
PowerToys Run
Steps to reproduce
When searching for files or folders using the Windows Search plugin, I get a crash on PowerToys run. From what I've gathered in my sampling it happens when I search for something with a special character or search for some file/folder that has a special character on its path (no matter the level up).
The issue seems to go away if I disable the Windows Search plugin on the PowerToys interface.
I already tried reinstalling PowerToys after cleaning up my AppData folder.
✔ Expected Behavior
Search files and folders without crashes
❌ Actual Behavior
PowerToys Run crashes with the following error:
Version: <IP_ADDRESS>
OS Version: Microsoft Windows NT 10.0.22621.0
IntPtr Length: 8
x64: True
Date: 09/11/2022 20:55:26
Exception:
System.InvalidOperationException: Dispatcher processing has been suspended, but messages are still being processed.
   at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

If simply tap Esc to exit PowerToys Run and then close error message, I'm able to call the prompt to search once more. If I try and search for the same thing again the PowerToys Run enters an infinite loop showing endless error messages. When this happens I'm barely able to force stop the application using Task Manager and I can see that there seems to be a memory leak as PowerToys Runs consumes up to 900MB of RAM before it is force closed.
This is the entire log that was produced -> 2022-11-09.txt
Other Software
No response

For any users that are able to replicate this consistently, can you please update to 0.68.1 and disable thumbnail generation to verify if it fixes the issue? Please let us know on #18166!


Thread safety?

The current approach just creates and modifies a global Dict, which can cause problems when creating RuntimeGeneratedFunctions from different threads. I think a workaround for this might be to just create an array of Threads.nthreads() Dicts instead and only let the constructor modify the Dict at Threads.threadid(). If the same function is created on two different threads, we would of course have to store the expression twice, but that shouldn't be too bad.

I think just using a global lock for this would be fine?

That should work as well. I was only worried about the overhead of such a global lock, but perhaps that is relatively small compared to creating RuntimeGeneratedFunctions in the first place.

Should be insignificant; it's only hit when constructing and compiling the RuntimeGeneratedFunction. If those are hot code paths, you've probably got other problems ;-)
Actually I think the compiler still holds various locks so the @generated part may be locked as a side effect of something else. But not so for the construction side of things.
In general the compiler doesn't seem to like locks held inside @generated, but hopefully #11 is a valid way to do this.


add support for date lookups

MongoDB Engine implemented year lookups by querying by date range. That does not work for month and day lookups (those were unsupported). Regex matching could be used for year, month, and day, but nothing more advanced like day of week.
I think the $expr operator offers the greatest capability, e.g.
day = 0
db.mydatabase.mycollection.find({
    "$expr": {
        "$eq": [ { "$dayOfWeek": "$date" }, day ]
    }
})

These queries don't work (without using the $dateFromString operator) unless datetimes are stored as JSON Date objects. This will probably done as part of https://github.com/mongodb-labs/django-mongodb/issues/11.


Wrong syntax mark stays 'alive'

I'm working with a single file (a list of json objects), and something that is really distracting is the fact that the red mark for a wrong syntax (in my case, an extra comma at the end), stays alive, even if I corrected the thing.
Sample input:
[
{
"content_id": "123", -> it keeps a red mark for around 5-10 seconds, based on my activity
"action_value": "played", -> correctly wrong
}
]
Take a look at the screenshot: http://gyazo.com/4b2f0034c34b91ee19a7c60c242087a1
This is REALLY distracting. Is there a chance to alleviate this? Thanks!

you want to extend the time before the test?


Auto-generate conf.py compatible with Py2 and Py3

I found there is a mix of str compatibility types depending if we are in Py2 or Py3 when trying to auto-generate the conf.py if the project doesn't have one.
The test pushed in the first commit should pass on Py2 but should fail in Py3. This is because how open and encode behaves (I don't know the internals, though).
Ref: https://github.com/rtfd/readthedocs.org/issues/3644#issuecomment-370945200

@agjohnson I just wrote a new test that checks the whole content of the file generated by our code against a pre-generated file. Let me know if anything...

All tests are passing in my local instance. I don't know why it's failing in Travis :/

@stsewd could you run all the tests for this PR in your local instance?
I don't know why all the tests are passing locally but they fail in Travis.

@humitos unfortunately I see the same error as travis :cry:

@humitos unfortunately I see the same error as travis cry

That's awesome because we could debug there :)
I will still try to make the tests fail in my local instance. I don't understand what is happening :/

@humitos I'll try to debug on my local instance now.

@humitos got it
The find method is searching on my local directory, not on the tmp one.
[31] > /home/stsewd/rtd/readthedocs.org/readthedocs/projects/models.py(658)find()
-> matches = []
   6 frames hidden (try 'help hidden_frames')
(Pdb++) l
653             Find files inside the project's ``doc`` path.
654
655             :param filename: Filename to search for in project checkout
656             :param version: Version instance to set version checkout path
657             """
658  ->         matches = []
659             for root, __, filenames in os.walk(self.full_doc_path(version)):
660                 for match in fnmatch.filter(filenames, filename):
661                     matches.append(os.path.join(root, match))
662             return matches
663
(Pdb++) self.full_doc_path(version)
u'/home/stsewd/rtd/readthedocs.org/user_builds/pip/checkouts/0.8.1'
(Pdb++)

because it doesn't find a conf.py file.

The idea of the test is to force a ProjectConfigurationError when trying to find the conf.py file so the _write_config is called.

I'm not following you.
How is that related to the error that Travis shows?
Why it doesn't fail in my local instance?

$ rm ./user_builds/pip/checkouts/0.8.1/conf.py

That was the solution :)
Now, I'm able to make the test fail. Thanks @stsewd!