环境变量问题 (IDFGH-6558)

我是用WSL1设置开发环境，在使用. $HOME/esp-idf/export.sh  添加环境变量后，每次重启都需要重新添加环境变量，是什么原因呢

现在输入. $HOME/esp-idf/export.sh 后提示这个
IDF_PATH is set to '/home/zhongtian/esp/esp-idf', but it is not a valid directory.
If you have set IDF_PATH manually, check if the path is correct.

Hi @We-Sky ,
This is how environment variables work, they are only active for the current terminal session. You can make the export automatic when you launch bash by adding the line . /home/zhongtian/esp-idf/export.sh to your ~/.bashrc file.
echo ". /home/zhongtian/esp-idf/export.sh" >> ~/.bashrc

Hi @We-Sky , This is how environment variables work, they are only active for the current terminal session. You can make the export automatic when you launch bash by adding the line . /home/zhongtian/esp-idf/export.sh to your ~/.bashrc file. You can do this with the command:
echo ". /home/zhongtian/esp-idf/export.sh" >> ~/.bashrc

但是执行后现在提示这个是什么原因呢：
IDF_PATH is set to '/home/zhongtian/esp/esp-idf', but it is not a valid directory.
If you have set IDF_PATH manually, check if the path is correct.

@We-Sky 你可以手动定义IDF_PATH变量。请你试一下：
export IDF_PATH=/home/zhongtian/esp-idf
. $IDF_PATH/export.sh

@We-Sky 你可以手动定义IDF_PATH变量。请你试一下：
export IDF_PATH=/home/zhongtian/esp-idf
. $IDF_PATH/export.sh

我刚才执行'echo ". /home/zhongtian/esp-idf/export.sh" >> ~/.bashrc' 后环境变量被添加到了这里，路径不知道怎么多了个esp,这个怎么修改掉呀？

@We-Sky 你可以用nano编辑这个文件：
nano ~/.bashrc

你改文件的最后一行：
. /home/zhongtian/esp-idf/export.sh

为
export IDF_PATH=/home/zhongtian/esp-idf
. $IDF_PATH/export.sh

写好了就按Ctrl-X推出nano程序

你可以在你的 .bashrc 文件最后一行直接添加就行了，你每次设置都是临时的环境变量，所以每次重新登录后都需要重新设置。懂了啵
source /home/zhongtime/esp-idf/export.sh

谢谢，已经成功啦

感谢反馈。

Please note that while you can add the export script into your profile script, this is not recommend. Quoting https://docs.espressif.com/projects/esp-idf/en/latest/esp32/get-started/index.html#get-started-export:

Technically, you can add export.sh to your shell’s profile directly; however, it is not recommended. Doing so activates IDF virtual environment in every terminal session (including those where IDF is not needed), defeating the purpose of the virtual environment and likely affecting other software.


Use Google Cloud Alerts to remove or stop remote containers automatically

Finally, alerts are used only to notify. Remote containers have the functionality to delete themselves when they finish their tasks.


Create an Electrification Page for Landlords

Let's create a page targeted specifically towards landlords giving them some recommendations on electrification and why it would benefit them (such as through costs savings over the long-term). We can use the Rewiring America Electrify Home Guide as a starting point.

@derekeder - for when you get back, is this still something we want to do? I'm assigning this to you just to confirm

same as #12, lets close for now and revisit once we have our primary data pages complete


Profile uploads will fail due to permissions issue on /mattermmost/data

Hello,
The PVC is mounted with root permissions and not mattermost user ones. As a consequence, uploads for pictures profils will fails as it can't create /mattermost/data/users
kubectl exec -ti zooming-saola-mattermost-team-edition-7f6c9ff6dd-sw99s -- ls -al /mattermost/ |grep data
drwxr-xr-x    3 root     root          4096 Sep 19 20:11 data

How can I fix this permission issue as I can't chown files and sudo is not present either.

Ok found it - add in values.yml:
extraInitContainers:
  - name: volume-mount-hack
    image: busybox
    command: ["sh", "-c", "chown -R 2000:2000 /mattermost/data"]
    volumeMounts:
    - name: mattermost-data
      mountPath: /mattermost/data

Shouldn't it be present by default if persistence is enabled ?


fix: restore persistence functionality

This addresses an issue where the switch to using systemd templates and format specifiers introduced a regression, causing the persistence functionality to no longer work as expected.
To resolve this issue, we have reverted to an earlier implementation
that manually writes all the units and uses Go's exec.LookPath to
resolve the shell path.
Resolves: #65

Perfect! The vast majority should at least have bash installed.

Thank you again for helping with this, @pepa65! I really appreciate it.

Thank you for saying that. I have an interest in the topic, also to make sure the app I'm using works well, but sometimes I wondered if I should not get mixed up.

Not at all! Feel free to chime in whenever you have something to say :smile:. I mean maybe our tastes are different in that you may prefer to have more functionality and support a wider set of configurations but I think where it matters your contributions have been invaluable. I have learned a lot from our discussions and going through the modifications you've done on your fork.

I've learned a lot from your go programming with using interfaces. 😄 (Well, I'm still learning..!)

Is it okay if I add you to the repo, @pepa65?

Sure, fine with me. Would you like me to do stuff??

Yes, if it's not too much to ask. I mean you are already helping out with issues. There's also been a few times where I've pushed changes to main that and you pointed out something only after the fact so I think it will also help to have a review process to avoid having something like that happening too often.

OK, I will try my best..!


Plans to support Relay 0.10.0

Hi, thanks for the types!  Any chance you plan on updating it to 0.10.0 integrating the GraphQLMutation aka the new mutation direction.
Thanks!

Hey @dispalt. Absolutely, would you mind creating a PR?


Suggestions for environments based on other POMDP types

Currently, all our environments could be classified as overcomplete POMDPs, where the number of unique latent states is greater than the number of unique observations. We are looking for environment suggestions based on other types of POMDPs, such as undercomplete POMDPs, weakly revealing POMDPs, latent MDPs, or $\gamma$-observable POMDPs.
If you have any environment suggestions, please post them here!

@smorad Would it make sense to add the benchmarks from the DTQN paper?

The gridverse environments already exist as an external library, and I would prefer not to import them as they bring in additional dependencies. We already have a form of memory cards as our concentration environment. I guess this would leave carflag and heavenhell environments. Would you be willing to implement these? I can help guide you

Sure, I will try my best to implement them if you could give some pointers on how to get started.

Sure! Basically, just implement each environment as a subclass of of POPGymEnv. This is just a gymnasium environment with an additional get_state method. This method should just return the underlying Markov state (e.g., position of agent and position of goal). Like any gymnasium environment, you'd need to implement the reset and step method, as well as define the observation_space and action_space.
Maybe we can start with carflag? Here is the description from the DTQN paper:

Car flag tasks a car with driving across on a 1D line to the correct flag. The car must first drive to the oracle flag and then to the correct endpoint. The agent observation is a vector of 3 floats, including its position on the line, its velocity at each timestep, and, when it is at the oracle flag, it is also informed of the goal flag’s location. The agent’s action alters its velocity; it may accelerate left, perform a no-op (i.e. maintain current velocity), or accelerate right. The agent receives a reward of 1 for reaching the goal flag, a reward of -1 for reaching the incorrect falg, and 0 otherwise.

So right off the bat, we know the observation and action space, as well as the reward function. You can just create the environments in popgym/popgym/envs/carflag.py. In the envs directory, there are a ton of other environments that you can look at for inspiration. For example, here is MineSweeper.
The first few lines might look like
from popgym.core.env import POPGymEnv
import gymnasium as gym

class CarFlag(POPGymEnv):
  def __init__(self):
    self.observation_space = gym.spaces.Box(...)
    self.action_space = ...

  def step(...):
    ...

  def reward(..): # Not necessary, but helper function
    ...

  def reset(..):
    ...
...

Thank you so much for the detailed response. I'll fork the repo and send in a PR with the changes.

I have added the code in #34. Could you please review it and give your feedback for improvement?
I have tried to keep the style of code similar to the minesweeper.py file


Why do not use checkpoints for inpainting?

Can you explain the reason?

I'm out of the loop now but there was no "good" inpainting checkpoint for SDXL.


react-css-modules doesn't work: Cannot read property '$$typeof' of undefined

Hi! When i trying to work with https://github.com/gajus/react-css-modules in my component webpack compiles it without any errors. But in browser console I receive this error

Error appears in this string (blue)

My component code looks like this:

With ES6 class component I receive same error.
Using react-css-modules decorator changes nothing.
Have you any idea how to fix or bypass this error. Thx!

Just published what I think should be a fix as<EMAIL_ADDRESS>Let me know if it works! :)

WOW! This works great! Thanks a lot!
P. S. maybe react-css-modules does not have sense to use with preact -- it's adds 45 kb extra size to bundle. It's just a classname helper! =)) Anyway, thx!

I didn't want to suggest it, but that was my immediate thought as well.  My typical approach is to use CSS Modules via Webpack's css-loader.  It means writing a little more verbose code, but there is no runtime dependency:
import styles from './styles.scss';

const App = () => (

Tastyprojects

);

Cheers!


[TVN24] HTML changed

[x ] I'm reporting a broken site support
[x ] I've verified that I'm running youtube-dl version 2019.07.16
[x ] I've checked that all provided URLs are alive and playable in a browser
[x ] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x ] I've searched the bugtracker for similar issues including closed ones

Verbose log
youtube-dl -v 'https://tvnmeteo.tvn24.pl/magazyny/maja-w-ogrodzie,13/odcinki-online,1,4,1,0/pnacza-ptaki-i-iglaki-odc-691-hgtv-odc-29,1771763.html'
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://tvnmeteo.tvn24.pl/magazyny/maja-w-ogrodzie,13/odcinki-online,1,4,1,0/pnacza-ptaki-i-iglaki-odc-691-hgtv-odc-29,1771763.html']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.07.16
[debug] Python version 3.6.7 (CPython) - Linux-4.15.0-54-generic-x86_64-with-Ubuntu-18.04-bionic
[debug] exe versions: ffmpeg 3.4.6, ffprobe 3.4.6, phantomjs 18
[debug] Proxy map: {}
[TVN24] pnacza-ptaki-i-iglaki-odc-691-hgtv-odc-29,1771763.html: Downloading webpage
ERROR: Unable to extract OpenGraph title; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/home/gdr/tmp/ansible_venv/lib/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 796, in extract_info
    ie_result = ie.extract(url)
  File "/home/gdr/tmp/ansible_venv/lib/python3.6/site-packages/youtube_dl/extractor/common.py", line 530, in extract
    ie_result = self._real_extract(url)
  File "/home/gdr/tmp/ansible_venv/lib/python3.6/site-packages/youtube_dl/extractor/tvn24.py", line 42, in _real_extract
    title = self._og_search_title(webpage)
  File "/home/gdr/tmp/ansible_venv/lib/python3.6/site-packages/youtube_dl/extractor/common.py", line 1117, in _og_search_title
    return self._og_search_property('title', html, **kargs)
  File "/home/gdr/tmp/ansible_venv/lib/python3.6/site-packages/youtube_dl/extractor/common.py", line 1105, in _og_search_property
    escaped = self._search_regex(og_regexes, html, name, flags=re.DOTALL, **kargs)
  File "/home/gdr/tmp/ansible_venv/lib/python3.6/site-packages/youtube_dl/extractor/common.py", line 1005, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract OpenGraph title; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Description
This URL doesn't download: https://tvnmeteo.tvn24.pl/magazyny/maja-w-ogrodzie,13/odcinki-online,1,4,1,0/pnacza-ptaki-i-iglaki-odc-691-hgtv-odc-29,1771763.html
There doesn't seem to be og:title tag in the source code any more, the only opengraph tag is og:url

I was able to download the video by changing
https://github.com/ytdl-org/youtube-dl/blob/master/youtube_dl/extractor/tvn24.py#L42
to
title = ''


Design holiday / events based Text Logo and Favicon

Note: Anyone is welcomed to add more information regarding the topic. Any idea will be considered.
Since we are aiming for Christmas / Holiday season to add in the animation of flying objects onto the map background. Would be a good idea to enhance other features for that season. With the "Water the Trees" Text we can make it more seasonal, and possibly enhance the tree icon that exist.
Link to Water the Trees Logo: https://github.com/waterthetrees/wtt_front/tree/main/client/src/assets/images/addtree
When is Water the Trees Launch Day / Birthday?
August 2020
See Google theme based logos as an example. Or Amazon themes per season.
Want to list the holidays/events we can add to water the trees.
List chronological order from January.
Event/Holiday name / dates

[ ]  New Years Day / Saturday January 1st, 2023

[ ]  Lunar New Years / Sunday January 22nd, 2023

[ ]  Valentines Day / Tuesday February 14, 2023

[ ]  Vernal Equinox / Thursday March 23, 2023

[ ] Easter / Sunday April 9th, 2023

[ ] Earth Day / Saturday April 22nd, 2023

[ ]  Arbor Day / Friday April 28th, 2023

[ ]  Summer Solicits / Wednesday June 21st, 2023

[ ]  Water the Trees Birthday / August

[ ] Autumnal Equinox / Saturday September 23, 2023

[x] Halloween / Monday October 31st, 2023 Dia de los Muertos "Day of the Dead" / Tuesday November 1st - Wednesday November 2nd 2023

[ ]  Thanksgiving / Thursday November 23rd, 2023

[ ]  National Forest Day / Friday December 23rd, 2022

[x]  Christmas / Sunday December 25th, 2022

Months
January - Default
February - Valentines Day "Only"
March - Default
April - Earth Day Theme
May - Default
June - Summer Theme
July - Summer Theme
August - Water the Trees Anniversary
September - Default
October - Halloween Theme, Skull Sugar Tree / Jack o'lantern / Flying Dutchman / Ghost / Skulls & Skeletons / Pumpkins
November - Thanksgiving Theme
December - Holiday Winter Theme with Santa Clause

@jazhen what is the best format to export the logo? and does the file size matter? SVG or PNG or other?

@ri0nardo - TLDR: Most major modern websites seem to use SVG, so SVG seems like a good way to go.

It seems like for other images, such as those on our contact page or even the tree image we show when clicking on a tree WebP is better than PNG/JPG.
Contact page:

According to https://web.dev/serve-images-webp/, a Google-owned website

YouTube found that switching to WebP thumbnails resulted in 10% faster page loads.
Facebook experienced a 25-35% filesize savings for JPEGs and an 80% filesize savings for PNGs when they switched to using WebP.

However, through my own unscientific investigation I have noticed that > 75% of the websites I have check use SVG for their logo, with the rest being PNG. web.dev, where the above came from, uses SVG for their logo itself.
Also, see https://web.dev/choose-the-right-image-format/ for some more info.

From my research, I've compiled a list of websites and what file format they use for their logos.
SVG:
https://web.dev/
https://www.twitch.tv/
https://www.youtube.com/
https://www.tiktok.com/
https://github.com/
https://twitter.com/
https://www.linkedin.com/
https://www.lever.co/
https://www.instagram.com/
https://www.reddit.com/
PNG:
https://www.rottentomatoes.com/
https://www.ebay.com/
https://mail.google.com/
https://old.reddit.com/
Other:
None so far

Agreed upon Halloween Logo for 2022. Favicon to be discussed.

@zoobot depends if we want to continue with these themed logos and favicons. I don't mind creating the graphics for time to time. If we want to continue with the logos and favicons, we should pick a few and cycle through them.

Oh, I think auto-swap sounds interesting
we just have to keep up with the theme and holidays we are repping @zoobot

Yeah, I think we should ! @ri0nardo


batch size not being used in Clip text encoder / embedding.

Looks like you are creating embedding for max len L, but you are passing a sequence of length 2*L.
Is batching not actually supported?
does max length mean anything, as it seems its being violated?

Thanks


Cannot drag LightsOff

Once placed in a patch the module can't be moved. A workaround is to use Ctrl+Mouse Left/Right with another module either side.
Omri mentioned this problem too in his demo video.
https://youtu.be/wy2t48-cR5U?t=332

Thanks, fixed.


Adds mock for bff service

This pull request adds a mock for the bff service. It includes the necessary files and tests for the api package.
Contributing to #17

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 79.15%. Comparing base (41b8138) to head (f6f8bc8).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #30      +/-   ##
==========================================
+ Coverage   74.95%   79.15%   +4.20%
==========================================
  Files          21       21
  Lines         523      523
==========================================
+ Hits          392      414      +22
+ Misses        116       94      -22
  Partials       15       15

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


Change of labels of named entities from input to AMR

Hi,
I often experience that the labels of named entities are changed in the AMR.
For instance:
::snt Who is Uesugi Kenshin, whose competitor is Shibata Katsuie?
(p / person
:name (n / name
:op1 "Uesugi"
:op2 "Kenshin")
:domain (a / amr-unknown)
:ARG0-of (c / compete-01
:ARG1 (p2 / person
:name (n2 / name
:op1 "Shiata"
:op2 "Katsuie"))))
The name of the person is Shibata, but in the graph it is Shiata.
This example is generated with XFM BART large, but I also see this behaviour in other cases using the Spring model.
Is there a way to suppress this change of labels?

No.  The transformer probably learned a word like this during pre-training and now it's outputting the spelling that it learned previously.  Generally, we have no control over this.

Closing. No activity on issue for 2 months.


Implements feature request: #4313

Provide a "step before" version of the current "step after" line chart.
API:
Retain the existing "stepline" curve type for backward compatibility and denote the new type as "linestep".
Perhaps read these as "step follows line" and "line follows step" respectively.
Example:
stroke: {
curve: 'linestep'
}
Add e2e sample: source/line/linestep.xml and derived (built) samples.
Fixes #4313

[X] New feature (non-breaking change which adds functionality)
[X] This change requires a documentation update

Checklist:

[X] My code follows the style guidelines of this project
[X] I have performed a self-review of my own code
[X] I have commented my code, particularly in hard-to-understand areas
[X] My changes generate no new warnings
[X] I have added tests that prove my fix is effective or that my feature works
[X] New and existing unit tests pass locally with my changes

Please add types for this option in types/apexcharts.d.ts


2021-11-30 equity dashboard chart data update

Equity dashboard stats updates in this PR may be reviewed on staging - here.
After reviewing, if all looks well, approve and merge this Pull Request.
If there are issues with the data:

Note concerns or issues here by commenting on this PR
Work with Triston directly to resolve data issues
Alert the COVID19 site team in Slack (in the Equity page channel)

Hi all - Below is my preliminary data review. No major red flags observed; X-axis for HE chart still behind by ~3 days, and just one confirmation question for @tomasleon on income bracket case rate.
@cmhoove14
Thank you!
1. Blue Box Updates:
:heavy_check_mark: All percentage values are reasonable (& identical to last week); Blue Boxes are updated.
2. Death Rate/100K by R&E:
:heavy_check_mark: Statewide COVID Deaths/100K lowers to 2 after last week’s increase to 3. R&E Deaths/100K show decreases across all categories; for example, AI/AN returns to being <11 after ranking as the highest rate last week. Similarly, White, Multi-Race and Black decrease. Asian American continues in its fourth week as the lowest, non-<11 rate. All values are reasonable.
3. Case Rate/100K by R&E:
:heavy_check_mark: This week shows decreases in all Case/100K rates, mirroring the universal decreasing trend of last week. Statewide decreases to 242 from 263. NHPI Cases/100K remains the highest rate. Multi-Race Cases/100K remains the lowest rate. All values appear reasonable.
4. Testing Rate/100K by R&E:
:heavy_check_mark: All testing Rates/100K decrease this week, mirroring the universal decreasing trend of last week. Statewide decreases at a faster rate than last week, from 12108 to 10882. NHPI Testing/100K remains the highest rate, Multi-Race Testing/100K remains the lowest rate. All values appear reasonable.
5. Community case rate/100K by median annual household income bracket:
:question: Like last week, all brackets’ cae rates noticeably decrease. Statewide decreases from 11 to 10.2, a value greater than any income brackets’ case rates. @tomasleon wanted to confirm that statewide case rate (10.2) on the income brackets chart seems okay to you.
6. HE Metric:
:heavy_check_mark: Quartile Positivity is now greater than Statewide positivity by .03% as of ~Nov. 20 data. (Dates) successfully extended, but still slightly behind.


Sharp as a dependency of Ghost, install fails on upgrade

One of our users is having problems getting sharp reinstalled after upgrading Node.js. Originally reported here: https://forum.ghost.org/t/after-update-to-version-3-ghost-wont-start/9677/5
When running sudo npm rebuild inside the ghost folder, they get this error:
info sharp Using existing vendored libvips v8.8.1
Traceback (most recent call last):
  File "/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py", line 47, in <module>
    import gyp
  File "/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 10, in <module>
    import gyp.input
  File "/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 7, in <module>
    import ast
ImportError: No module named ast
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)
gyp ERR! stack     at ChildProcess.emit (events.js:210:5)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Linux 4.15.0-23-generic
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /var/www/ghostname.com/html/blog/versions/3.0.0/node_modules/sharp
gyp ERR! node -v v12.13.0
gyp ERR! node-gyp -v v5.0.5
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>install: `(node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy)`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

I've searched github for this error and couldn't find any related reports. What would cause this to fail on a machine where sharp was previously installed?

Hello, if you're using npm install or npm rebuild with globally-installed native modules via sudo then you'll need to pass the npm --unsafe-perm flag.
As an aside, I notice Ghost currently recommends the global installation of ghost-cli. Has the use of a package manager tool such as  npx ghost ... or yarn dlx ghost ... been considered? These are designed to improve both the user experience and security of running lifecycle CLI tools.

When npm is run as sudo or root with elevated privileges, it drops these privileges before running install scripts within modules.
All native modules use install scripts to either (attempt to) download prebuilt binaries or build from source (via node-gyp and binding.gyp) and therefore need to write files into node_modules so still require the elevated privileges. The --unsafe-perm flag prevents npm from dropping these privileges.
The example npx command I gave had the wrong package name, sorry for the confusion. By way of example, on a machine that does not have ghost-cli installed, I can successfully run:
$ npx ghost-cli version
npx: installed 383 in 11.898s
Ghost-CLI version: 1.12.0

This ensures the most recent version of ghost-cli is always run, as the current user, without any sudo/root privileges.

I think this can be closed like #1942 as the various logging improvements should help expose the underlying problem(s) if it happens again. As with that issue, please feel free to re-open this issue with more info if required.


ENH: Provide override and fallback options

This PR proposes two new features: override and fallback.
Suggestion for #230. Tests to come, and might need to extend these tendrils a bit deeper into the code. Thoughts welcome.
Override
If the VERSIONEER_OVERRIDE environment variable is defined, that version is used regardless of what version would otherwise be determined. Revision information is still retrieved, if available, but the dirty flag will never be set.
Fallback
This proposes a new configuration entry:
[versioneer]
...
fallback_version = 1.0.0.dev0

fallback_tag would also allow the project to specify a fallback if all else fails besides 0+unknown. I would use this in my projects by bumping after a release to indicate what release I'm working towards.
-fallback_tag = 1.0.0.dev0
+fallback_tag = 1.1.0.dev0

The latter use case permits installations from non-tag archives https://github.com/<org>/<project>/archive/<githash>.tar.gz.

LGTM, though just read the PR explanation.
I wonder if there is a way to preserve other version information as well? 'full-revisionid' and 'date' are important. As written in https://github.com/python-versioneer/python-versioneer/issues/189#issuecomment-585221081, my use case is building wheel and sdist after pre-processing (cythonizing), which causes the version to become "dirty'.
I assume build (PEP 517) allows access to environment variables by the backend and setuptools.build_meta passes all variables on to the setup.py subprocesses. But I haven't checked.

I wonder if there is a way to preserve other version information as well? 'full-revisionid' and 'date' are important.

In principle, sure. I think it would require a refactor where we build the version dict as we can, and then either override or fallback based on the ENV and what we find. Not a heavy lift, so if those values are important when overriding, I think we could do that.

As written in #189 (comment), my use case is building wheel and sdist after pre-processing (cythonizing), which causes the version to become "dirty'.

Wouldn't putting Cython outputs into .gitignore prevent the dirty mark?

I assume build (PEP 517) allows access to environment variables by the backend and setuptools.build_meta passes all variables on to the setup.py subprocesses. But I haven't checked.

It looks like they mostly pass the environment through, with Python/pip variables excluded. But it would be good to test this manually for that case...

For discussing this further I would have to examine my affected project in detail. I lack the capacity to do so for the time being.
When I get around to it, I will post my (updated) problem. Perhaps a solution will become clear.
Until then, this override seems like a sensible way for manually specifying a version.

Wouldn't putting Cython outputs into .gitignore prevent the dirty mark?

Hmm, they are, I don't remember right now what exactly triggered the mark :thinking:

Cool. From your other comment, it sounds like a python setup.py set_version or similar command would also work, and I don't think any resolution here would prevent us from implementing something like that.

Yes, such a command may be implementable in my setup.py directly. If it proves useful I could open a PR to move the function into versioneer.
We will see :)

Haven't fully wrapped my head around the best way to build tests into versioneer, so instead debugged by using it on another project: https://github.com/nipy/nibabel/pull/976
I'm not a huge fan of how the fallback version is working out, since it requires rerunning versioneer install every time you bump the fallback version:
https://github.com/nipy/nibabel/commit/7e11d7ca13eea2a56658f40f00e890692079d204#diff-0a3e742348fbf3493a73cd3f000eaa6a4037a0694906468e9d059672633e6a34R47
Anybody have a better notion?

With this update, what is the correct recipe when creating a docker image within a source tree?  Say the following two lines were used to install the project (no .git directory present during copy, either because of .dockerignore or its a repo subdirectory)?
COPY . /myproject/
RUN pip install /myproject

I think you might still need a --build-arg to make that work.
docker build --build-arg VERSIONEER_OVERRIDE=$( python setup.py version | grep Version: | cut -d\  -f 2 ) .

Would appreciate a review on #238, with just the override component.

I'm done trying to update versioneer. If someone wants to pick this up, they can.


[6.x] Add setAssetRoot()

I have some logic that scopes the filesystem paths to the current tenant. This setter would let me set the asset root, so that asset() can return a URL to a controller that serves tenant-specific assets.

I think it would be better maybe to create your own class / helper for this that works exactly as your application needs.

@taylorotwell I would agree if it was logic in my application, but it's a logic in my package, whose whole purpose is to switch these things in the background automatically, so that existing asset() calls would automatically become tenant-aware.
I think that's a very valid use case and this simple setter would help me so much. Please reconsider.

Just noticed it's Macroable, so:
app('url')->macro('setAssetRoot', function ($root) {
    $this->assetRoot = $root;

    return $this;
});

works.


Integration with HAProxy

Hi,
can you please add HAProxy support? You just need to output a config file that is valid for HAProxy acl -f feature. See https://www.haproxy.com/doc/aloha/7.0/haproxy/acls.html#acl-f-flag
Thank you in advance,
Julian

Example of usage:
acl invalid_referer hdr_sub(referer) -i -f /etc/haproxy/banned.haproxy.conf
block if invalid_referer

Hi Julian! Can you tell me how to write a valid HAProxy config file?

Sorry I forgot to reply back. At the current status I didn't found an example to show, I will see if I can build up something this weekend.

Please consider reopening this issue. The format is trivial, it's just one domain per line:
foo.com
bar.com
etc.
The only additional config required to use with HAProxy is what was already pasted in the example in the original report.
Having a file in this format available from the repo would be hugely useful, not just for HAProxy, but for anything from which someone might want to generate a custom list.
Thanks for your consideration.

hi @yitzhaq please create a PR for HAProxy and i'll happily merge it.

hi @yitzhaq please create a PR for HAProxy and i'll happily merge it.

Done


ARCH-2011 - Update to node20

Summary of PR changes
Update to node20
PR Requirements

[x] For major, minor, or breaking changes, at least one of the commit messages contains the appropriate +semver: keywords.

See the Incrementing the Version section of the repository's README.md for more details.

[x] The action code does not contain sensitive information.

NOTE: If the repo's workflow could not automatically update the README.md, it should be updated manually with the next version.  For javascript actions, if the repo's workflow could not automatically recompile the action it should also be updated manually as part of the PR.

Tests run here:
https://github.com/im-open/internal-repo-for-testing-swat-actions/actions/runs/8196420856


Updated validations.py python script

I Hope the fix works
Fixes #<issue_number_goes_here>

It's a good idea to open an issue first for discussion.

[ ] Tests pass
[ ] Appropriate changes to README are included in PR

@googlebot I signed it!


Feature Request: Update-Module without parameters should identify module/repository

When you run Update-Module without parameters, it runs through the installed modules and asks you to confirm installation if the InstallationPolicy dictates so.
Unfortunately, it does not display which module it is currently working on, nor the name of the repository.
It would be desirable if the confirmation also did a Write-Host of the module name and repository name before you confirm.
Example: A number of updates happened - but it is not possible to see which module was installed - except from during the progress bar display.

Suggestion - Output something like
Untrusted repository "repository name" for module "module name"
You are installing the modules from an untrusted repository. If you trust this repository, change its InstallationPolicy value by running the Set-PSRepository
cmdlet. Are you sure you want to install the modules from 'PSGallery'?
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is "N"): A

I believe this work is only partially complete-- shows the repository name which is great but doesnt show the module name


Support broadcast vllm params by chunks

This PR optimizes the weight update process from the actor to vLLM by grouping parameters into chunks using the newly introduced vllm_broadcast_chunk_size parameter. This adjustment improves bandwidth utilization, particularly for MoE models with small experts. In on-premise MoE settings, this change can reduce broadcast time from 50 seconds to 5 seconds, significantly boosting performance.
Thank you for your time on reviewing this PR :)

This optimization can wait to be done together with SGLang, coordinating a unified interface.  ARB @zhaochenyang20

Thanks! I am testing OpenRLHF with SGLang these days. Will have an update before Friday. @zhuzilin @hijkzzz


"Holdings" card formatting breaks with very high balance

Link: https://explorer.stacks.co/address/SP31596TY1N33159BQCVEC9H16HP0KQ2VTD140157?chain=mainnet

We are rethinking the address page in a way that will address this issue. I'll close it for now.


How can I pretrained CodeBert in C?

I have my own dataset C language. I am wondering how can I pertained Codebert in C language?

We don't release pre-training code. You can further pre-train CodeBERT using MLM objective on your dataset.


SKR changes from Arch Board meeting

After discussion with the Key Vault and Managed HSM teams on Secure Key Release, we have arrived at the following changes for SKR models to be done in the SDK (the service will not be renaming in the swagger):

KeyReleasePolicy.Data -> KeyReleasePolicy.EncodedPolicy
The target parameter in KeyClient.ReleaseKey -> targetAttestationToken

The ReleaseKeyResult.Value property should be left as-is.

Applied all Arch Board suggestions in #26910 and #27442.


[boost-math] Fix build on x64-linux-dynamic, add feature c99-tr1

Fixes #38725
Fixes #38714

there are two ports which require the boost legacy libs. See https://github.com/microsoft/vcpkg/pull/32309#discussion_r1579699905

@Neumann-A can I reuse features.cmake for that? I.e. add set(Z_VCPKG_BOOST_FORCE_HEADER_ONLY ON) to features.cmake and check for it in boost_configure_and_install.

@vicroms there's no notification if you mark PR as draft, so please leave comment when you do so.


chore: add Robin as supporter

Add Robin Gruyters as a supporter to OpenTF foundation

@rgruyters Can you solve the conflicts? Thanks!


[FEAT]: Ability to export all or part of a specific thread content as PDF

What would you like to see?
It would be nice to export all or part of the conversation in a specific thread as a PDF document (or of other document format), which makes it easier to discuss the conversation with other people online. Currently the margin and line gaps are huge in the chat window, it's difficult to take a screenshot of even one full answer from the AI, not to mention the whole conversation.

Markdown export would be ideal because it is lighter weight plaintext which may produce higher quality vectors.


bug fix for CVE-2017-5941

Try to solve the security vulnerability for arbitrary code injection with an IIFE.
I add a parameter iifeEnabled to let users choose to enable IIFE when unserializing or not.

IIFE is not the root cause, it's eval, for example:
{"rce":"_$$ND_FUNC$$_process.exit()"}

The regex will catch your example because it still ends with () but you really can't just use a regex to detect code execution:
'{"rce":"_$$ND_FUNC$$_function (){process.exit()}()+1"}'

'{"rce":"_$$ND_FUNC$$_[process.exit()]"}'

'{"rce":"_$$ND_FUNC$$_process.exit()/**/"}'

Or open a dew single (..
'{"rce":"_$$ND_FUNC$$_1);process.exit("}'

I don't want to mislead people into thinking the security vulnerabilities could be solved inside this module by trying to fix the IIFE case. At the very least, the application would still be put under risk if the serialized strings can by modified by untrusted third-parties (aka hackers).

A searlizer should not execute code. It should load an object and allow
user to validate. This should be fixed just not this way.
On Wed, Feb 15, 2017 at 5:09 PM Zihua 子骅<EMAIL_ADDRESS>wrote:

I don't want to mislead people into thinking the security vulnerabilities
could be solved inside this module by trying to fix the IIFE case. At the
very least, the application would still be put under risk if the serialized
strings can by modified by untrusted third-parties (aka hackers).
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/luin/serialize/pull/5#issuecomment-280196723, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAbr4ikIWUd-UXod8HcpYmUFUBrNXpIvks5rc6HOgaJpZM4MB3pl
.

--
../matt

@matt- I agree with you that a serializer should not execute code. However, the source of the problem is the use of eval without any validation. The validation is not for the IIFE, but for the serialized string itself.
For instance, the following two strings:
'{"rce":"_$$ND_FUNC$$_function (){process.exit()}()+1"}'

And
'{"rce":"_$$ND_FUNC$$_function (){process.exit()}"}'

The latter case can definitely pass any validation since it's just a valid function expression. However, it will be eventually invoked (and that's is the point of this module). Do they make any difference in terms of security? I don't think so.
The validator for IIFE helps to prevent code from executing when unserializing, but what more important is to solve the source of the problem. For example, we can simply deprecate serialize/unserialize and introduce serializeWithPrivateKey/unserializeWithPublicKey.

The fist example is what I posted describing why this approach would not work and the second example actually would be caught by this regex.
What you posted is a CallExpression not a FunctionExpression. I created a branch that validates (by parsing the code) that it the top level is a FunctionExpression not a CallExpression it will pass all of those tests.
https://github.com/matt-/serialize/commit/990674b944c06074ebe2bcebca8bcac7e3407ee7

@matt- The second example is not a CallExpression (No trailing ()). I used this example to show that it's not enough to just validate IIFE.

'{"rce":"_$$ND_FUNC$$_function (){process.exit()}"}'
does not execute automatically it just creates a new function in scope. I believe creating a function
but not executing it would be the expected behavior.
If automatic execution is the same security wise as being possibly called later why use things like $$ND_FUNC$$ at all? Why not just just build the string like: '{"rce":"function (){process.exit()}"}'  then serialize.unserialize can just call eval directly. As you said it "does not make any difference in terms of security (would eventually get called anyway)" and would be much faster than walking the hash. Personally I think automatically execution is incorrect and does make a difference.
That said I 100% agree that these should be "signed" if it comes come from user input, and it would be great If the a module provided a feature for that.

Lets say for example a User object is serialized but signed by the server and sent as a cookie.(much like rails and others do).
session='{"user": {"id":1234, "first_name": "matt","last_name": "Whatever"}}'; signature="afsfdhadsjkasdfasdf"
and this is built from:
session = {
    "user": {
        "id": current_user.id,
        "first_name": current_user.first_name,
        "last_name": current_user.last_name
    }
};
session_cookie = serialize.serializeWithPrivateKey(session, key);

req.setCookie(session_cookie ...

Now first_name and last name are just strings created with something like..
current_user.first_name = req.body.last_name // then saved to the db or session.

What if when creating the account he makes his first_name: "_$$ND_FUNC$$_process.exit()" .
The is just a "string" to the app.  This would be signed but also have user data as a function and automatically execute..
The app never calls the "function" first_name but you are saying that is should be expected that this will automatically run the code the user provides.
Now in the same example app if you validate that it is a FunctionExpression first_name would at worst be the string "Function".. and the app could to typeof checks to prevent that. Automatic execution make a big difference.


Go Developer Experience Survey

differences from upstream spec:

discrepancies - why?
extra convenience

most requested features

API
SDK
Instrumentations/semantic conventions

things to consider from other telemetry projects

Discussion in the Go repo: https://github.com/open-telemetry/opentelemetry-go/discussions/5774


[SuSo-F-005] Highlight the last changed cell

https://github.com/user-attachments/assets/f214f566-ae1b-429e-a0c6-580680821f52


Test to check if all monitor-services and monitor-pods are up

This test checks if the configured amount of monitor-services and -pods are up and running.
Signed-off-by: Stefan Haas<EMAIL_ADDRESS>

Just need to update test_check_num_osd.py with get_pods_by_app_label. Otherwise looks good to me :-)

In test_check_num_osd.py is no direct call of get_pods_by_app_label. it calls get_number_of_osds which is already using the "new" get_pods_by_app_label.
Or is there something I am overlooking?

Ah, I had an old branch checked out. You're right indeed :-)


Offset info text now updates properly

The offset info text was only updating whenever you changed menu selections or entered a category.

yeah boi, let's go

Fixes #799
Fixes #865

Fixes #799
Fixes #865

Right now it only fixes the second, I'm still looking at the first one though.


Update repositories.txt

Hi @antaresdocumentation. I can see this library was already submitted to Library Manager via the old system back in 2019:
https://github.com/arduino/Arduino/issues/8405
So I'll close this pull request as unnecessary. Please let me know if you have any questions or concerns.


Prose doesn't fill width of the page

Issue description
I'm aware that this may be a style choice however;
The actual content of an article using the default layout (not simple) doesn't fill the page very well, leaving most of the site completely empty. As an example, the congo docs site.
With no contents pane, all the content is squished on the left.
I found the generated css that is causing this in assets/css/compiled/main.css:
.max-w-prose {
  max-width: 65ch;
}

Unfortunately I don't know tailwind and so can't figure out how to fix this from the
Theme version
v2.7.6
Hugo version
v0.121.1+extended
Which browser rendering engines are you seeing the problem on?
Firefox (Mozilla Firefox)
URL to sample repository or website
https://jpanther.github.io/congo/samples/icons/
Hugo output or build error messages
No response

While I agree with your preference and also would love to see this shift... I don't want you to think that you need to learn tailwind to address it in the meantime. ;)
( I went down this rabbithole because why not... )
fortunately no tailwind's required!
check out layouts/partials/head.html:
{{ $assets.Add "css" (slice $cssScheme) }}
  {{ $cssMain := resources.Get "css/compiled/main.css" }}
  {{ $assets.Add "css" (slice $cssMain) }}
  {{ $cssCustom := resources.Get "css/custom.css" }}
  {{ if $cssCustom }}
    {{ $assets.Add "css" (slice $cssCustom) }}
  {{ end }}
  {{ $bundleCSS := $assets.Get "css" | resources.Concat "css/main.bundle.css" | resources.Minify | resources.Fingerprint $algorithm }}
  <link
    type="text/css"
    rel="stylesheet"
    href="{{ $bundleCSS.RelPermalink }}"
    integrity="{{ $bundleCSS.Data.Integrity }}"
  />

So... you can overwrite this pretty easily:
assets/css/custom.css:
.prose {
  .table { overflow: hidden;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 1; };
},
/*  change prose width for shiggles */
.max-w-prose { max-width:90ch !important; }

and viola!
thine site width be embiggened.
:)

Damn I was over-complicating it, thanks kind stranger.

Thanks for the report however as you suspected, this is a style choice and not a bug. The prose layout is designed for accessibility and ease of readability. CSS overrides are the way to adjust this behaviour.


Can't install Atom

Atom became horribly broken to the point where I couldn't open it, so I uninstalled it from the Add/Remove programs menu, and attempted to reinstall it, bit I get this error: https://gist.github.com/Quantum64/ac67c7fd4d8cec4a08bc
Running OS Windows 10 Build 9926
I have also tired deleting the atom folder in AppData.

Errors in the Gist file:
CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\Dylan\AppData\Local\atom\packages\RELEASES'.
followed by CheckForUpdateImpl: First run or local directory is corrupt, starting from scratch
followed by IEnableLogger: Failed to copy Update.exe to C:\Users\Dylan\AppData\Local\atom\Update.exe: System.IO.IOException: The process cannot access the file 'C:\Users\Dylan\AppData\Local\atom\Update.exe' because it is being used by another process. (Second install attempt?)
followed by IEnableLogger: Failed to update local releases file: System.IO.IOException: The file exists. (Third install attempt?)
followed by CheckForUpdateImpl: Failed to load local releases, starting from scratch: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\Dylan\AppData\Local\atom\packages\RELEASES'. (Fourth install attempt?)
/cc @paulcbetts

@Quantum64 Hey Dylan, the easiest thing to do is to just delete all of C:\Users\Dylan\AppData\Local\atom via Explorer, then try again. If files are locked, reboot then try that.

@paulcbetts I deleted the Local/atom folder, restarted my computer (for good measure), ran the installer again, and got the same error. https://gist.github.com/Quantum64/45c265291a5c401fe883

@Quantum64 That's super bizarre, it's basically saying we can't create a temp file. Google says that your C:\Windows\Temp folder might have bajillions of files in it.

@paulcbetts The Temp folder looks fine.  It has 57 items in total.  I did have to give myself "access" to it in the security properties to view the files.
I also tried redownloading the installer from the website, as well as an older installer that I had from about a month ago.  All fail with the same result.

They're temp files, so it shouldn't matter that much if you delete them (or if you don't feel safe doing that run the Disk Cleanup tool that's included with Windows).

Ok then, It's deleting 4 million files and it's going to take 26 min.  Most of the files have a size of 0 bytes. :confused:

Was the 19th the day you tried to install Atom?  (Asking this because I saw an issue on the Squirrel repo that might be related to this)

No.  The only thing I installed on the 19th was an update to GitHub for Windows, but I doubt that's what caused it.
I think this overload of temporary files caused other issues with Atom as well.  For instance, I could not open any files at all. The program would launch, but simply refuse to open files.  Perhaps it needs to create a temporary file to do so?  That's why I did a reinstall in the first place.

After deleting the files, I reinstalled Atom and everything is working perfectly.


Change ProjectSnapshotChangeTrigger to an interface

I need this for the document file path work I'm doing, but figured it would work better as a separate PR. especially with the number of files affected.

Sure thing!
It's not ideal, but implementing ProjectSnapshotChangeTrigger is the current method used to get access to the Roslyn workspace in a Razor service. It looks like I will need it in CSharpVirtualDocumentFactory in future, so we can create one virtual document per project, but since that class already has an abstract base class, it can't have another one.
In general I would say that Razor code used abstract base classes for things that would "normally" be interfaces, because it came from the ASP.NET team, where abstract base classes make a lot of sense, because they are used to producing libraries. We've been slowly moving things to interfaces over time, so this was probably inevitable anyway.

lol, enabled auto merge because I don't fear the integration tests any more, but completely forgot that people still have to approve the PR 🤦🏼♂
It's not stockholm syndrome at all!

Correct, right now it's one per razor file. The change is to support multi-targeting, where a single razor file could produce different generated code depending on which target framework it's being compiled against. eg, if a project targets net6.0 and net7.0, and there is a component that only exists in .NET 7, then we want the compiler to do all of the right things when targeting .NET 7, bit it should treat a reference to it as a normal Html tag in .NET 6.
The broader picture is in https://github.com/dotnet/razor/issues/8983 but please do let me know if anything isn't clear.


Blockquote formatting is all kinds of wrong

For example:

http://blog.stackexchange.com/2009/01/reputation-bounty-for-unanswered-questions/

http://blog.stackexchange.com/2009/02/new-datacenter-migration/

http://blog.stackexchange.com/2009/05/server-fault-public-beta-nears/

In the source files, all these blockquotes have an opening <blockquote> tag, but all the inline formatting is in Markdown. It’s skipped by the Markdown parser, so the formatting comes out raw.
I would put in a pull request for this, but it’s ~180 posts and I don’t really have time to do that right now.

This is a known issue. The import we used didn't parse blockquotes correctly, and we decided to simply manually repair those posts with high traffic or recently added for the launch. Otherwise, it's been treated as an acceptable trade-off.
It'll simply require slowly fixing those formatting errors one at a time.

I’ve had a look through a few dozen of the posts, and I’ve tried a very simple heuristic to see if I can fix it in one fell swoop. I’m just building the site – I’ll open a pull request if I think I can make a useful improvement.

@JonHMChan I think my method gives a pretty reliable way of fixing the broken blockquotes, yay. I’m just inspected the generated posts by hand to make sure it hasn’t done anything really silly.
But this change touches nearly 200 posts. Would you prefer the change to show up in a single monolithic commit, or for me to break it up into smaller commits? If the latter, how should I break it up?

@alexwlchan One major commit is fine.

If we want to help, do we just change the markdown in blockquotes to proper HTML tags? @JonHMChan

@shu8 Actually, I think I might have fixed most of them already. (It was a couple of PRs ago, but I forgot to update the issue.) Mostly hand-inspecting the broken posts, and modifying as appropriate.

@alexwlchan Ah ok - well if I see any, I'll edit them :) I just had a look at your recent pull requests and saw what you did!


Please integrate the Azure blade > AAD > Groups > General

Hi
It seems like https://portal.azure.com/#blade/Microsoft_AAD_IAM/GroupsManagementMenuBlade/General allows this (some of it ??) to be configured via GUI. Can you please update this document to both clarify the settings on that blade and show what equates to what in this page?

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

ID: fb2953d4-8abc-5e9c-e30d-43b059b57b9a
Version Independent ID: 467981d4-20b5-8b70-2d42-d3e38b918281
Content: Manage who can create Office 365 Groups
Content Source: Office365-Admin/create-groups/manage-creation-of-groups.md
Service: o365-administration
GitHub Login: @MikePlumleyMSFT
Microsoft Alias: mikeplum

@officedocsbot assign @mypil

@blouwagie  - Thank you for submitting feedback.
I will get this issue over to the O365ITPro writing team for investigation.
Thank you for reporting and making the docs better. Much appreciated.
I made a note to request the team to update this when the work is complete.

@blouwagie - From our understanding, the issue has been resolved but it may take a few days for the merged content to appear in the article. If you feel it hasn't been resolved, please re-open this issue.
Thank you for your contribution to make the docs better! Much appreciated!

Thx.
Bart
On Fri, May 31, 2019 at 4:53 AM Joyce Y<EMAIL_ADDRESS>wrote:

@blouwagie https://github.com/blouwagie - From our understanding, the
issue has been resolved but it may take a few days for the merged content
to appear in the article. If you feel it hasn't been resolved, please
re-open this issue.
Thank you for your contribution to make the docs better! Much appreciated!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/OfficeDocs-O365ITPro/issues/501?email_source=notifications&email_token=AESZT5PU26YSPORV7RCJVT3PYDRPDA5CNFSM4HOFJ3GKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWUUGBA#issuecomment-497632004,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AESZT5JP4Q4LH23RUJ6ZDX3PYDRPDANCNFSM4HOFJ3GA
.

@officedocsbot close


Expose IndexNotFoundException on CatIndices()

NEST/Elasticsearch.Net version: v6.0
Elasticsearch version: v6.2.4 running on Elastic Cloud - Amazon (EU Ireland)
Description of the problem including expected versus actual behavior:
When executing a ElasticClient.CatIndices() request on an a cluster which contains no indices (or no indices matching the specified pattern) AND that is protected with X-Pack security (for example an index hosted in Elastic Cloud) the NEST API throws an exception:

Nest.Json.JsonSerializationException: Cannot deserialize the current JSON object (e.g. {"name":"value"}) into type 'System.Collections.Generic.IReadOnlyCollection`1[Nest.CatIndicesRecord]' because the type requires a JSON array (e.g. [1,2,3]) to deserialize correctly.

This is due to the fact that Elastic Cloud will return an IndexNotFoundException and not an Array:

Elasticsearch clusters with X-Pack security enabled apply the /_all wildcard, and all other wildcards, to the indices that the current user has privileges for, not the set of all indices on the cluster. While creating or retrieving aliases by providing wildcard expressions for alias names, if there are no existing authorized aliases that match the wildcard expression provided an IndexNotFoundException is returned.

(Source: https://www.elastic.co/guide/en/elastic-stack-overview/current/security-limitations.html#_changes_in_index_wildcard_behavior)
I wouldn't it be better to expose the IndexNotFoundException?
No it's impossible to detect why the method throws the exception. Is it because there is a network issue? Or is it because there are no indices found? Would be cool if we could do something like this:

try
{
_client.CatIndices();
}
catch(IndexNotFoundException e){
// Index does not exist
}
catch(Exception e){
// Possible network issue.
}

Thank you for this report @dejonghee the underlying issue was definitely a bug. Opened https://github.com/elastic/elasticsearch-net/pull/3345 to address this.
When a server-side error occurs it returns an object where an array is expected in any of the Cat related API's.
After that PR's is merged if you enable .ThrowExceptions() an ElasticsearchClientException should bubble out. We do not map server exceptions to client exceptions 1-1.
https://www.elastic.co/guide/en/elasticsearch/client/net-api/current/thrown-exceptions.html


Setup file endpoints (Minio for file storage)

Save files into minio (already in the docker-compose)

completed by #7


Implicit-argument closures.

Often we want to use closures as local utility functions, but this is made very difficult by the fact that they borrow their captured variables for their entire lifetime.
In the common case where a closure is simply called one or more times from its declaring scope, it would be nice if the compiler could hoist it to the top level and add the captured variables as implicit arguments. This way the closure would re-borrow its environment at each call and the programmer would be free to use the captured variables elsewhere between invocations of the closure.

The problem with this would be that the captured variables can be moved out of during the existence of the closure, causing the next closure call to not have all arguments available. What would be the expected behavior then? A panic would require quite some compiler magic to detect that the variable has been moved out of.

Surely this can be detected by the borrow checker as long as you don't try to do anything weird with the closure (like returning it or storing it in a data structure).

The borrow checker detects it already... By borrowing the variables...
Think about it this way: closures are just syntactic sugar for an unnamed struct for which the Fn trait is implemented. You could probably design a macro that does mostly the same in a just slightly more verbose way, but you wouldn't need the macro at the call location of the closure.
Your suggestion requires logic to be applied about the surrounding scope at the call location. This does not go very well with the rest of the borrow checker.
It sounds to me like you don't want closures but simply want to reduce code-repetition. If that's so, then I suggest searching the entire solution space instead of fixiating on closures.

It sounds to me like you don't want closures but simply want to reduce code-repetition. If that's so, then I suggest searching the entire solution space instead of fixating on closures.

To expand on that, a possible remedy could be allowing type inference in local functions signatures.

It sounds to me like you don't want closures but simply want to reduce code-repetition. If that's so, then I suggest searching the entire solution space instead of fixating on closures.

If I only wanted to reduce repetition, I could just use macros. I want to reduce repetition, and to have modular compile-time checking with nice error messages.


Override for Balinese Musical Symbol Combining Endep

1B6C          ; Top   # Mn       BALINESE MUSICAL SYMBOL COMBINING ENDEP

Why?

This is standard procedure with signs that have ccc values in the same class but differ formally by position. We have to allow normalization to control the order so we override we override them into the same position.


Could this allow running plotly-dash apps with Github Pages?

Hi! Thanks for this tool!
One current 'limitation' of Dash is that it cannot run on Github Pages (most users use Herokuapp).
Could this enable running plotly-dash with Github Pages?
Cheers

Hello @RemDelaporteMathurin and welcome to the WebDash community!
Actually, yes! This should be trivial to set up on GitHub Pages. I will look into creating an automated tool that let's you do it so it's a bit easier for folks.

Hi @ibdafna, has there been any progress on this? It could be really useful for small apps!

@RemDelaporteMathurin here is something I worked with Plotly on, it's not open sourced yet, but it's free to access. It builds on GitHub pages, and you can try it now:
https://wasmdash.vercel.app/


Move new table/graph to the top

Currently they don't line up and could be hidden by long lists of tables/graphs.

This is a good suggestion.
What should happen when the page is refreshed or otherwise rendered without having just added an item? Do we maintain a least-recently-added order, or fall back to alphabetizing?

I think keeping alphabetical at all times would be good. If discovering the just-created table is important, you can always have the app scroll to make the new table visible.
Somewhat related, the new table button should be part of a header that never disappears. I think @jtomeck is already considering adding it to the Tables header.

I think keeping alphabetical at all times would be good. If discovering the just-created table is important, you can always have the app scroll to make the new table visible.

This sounds plausible. @jtomeck, please add your thoughts here when you get a chance.

Somewhat related, the new table button should be part of a header that never disappears. I think @jtomeck is already considering adding it to the Tables header.

Indeed, @jtomeck and I have talked about converting the big chunk button to a plus-sign type control that goes in the header.


Com exception in 3ds Max 2022

I'm trying to get the MXSPYCom server to execute scripts in 3ds Max 2022 (Python 3.7)
With initialize_COM_server in %appData%\Local\Autodesk\3dsMax\2022 - 64bit\ENU\scripts\startup launching from PyCharm, Notepad++ or cmd results in
C:\Users\xxxxx\MXSPyCOM>MXSPyCOM.exe -f "C:\test.py"
Unhandled exception. System.Runtime.InteropServices.COMException (0x80020006): Unknown name. (0x80020006 (DISP_E_UNKNOWNNAME))
at System.RuntimeType.InvokeDispMethod(String name, BindingFlags invokeAttr, Object target, Object[] args, Boolean[] byrefModifiers, Int32 culture, String[] namedParameters)
at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)
at MXSPyCOM.Program.execute_max_commands(String[] args, String filepath)
at MXSPyCOM.Program.Main(String[] args)
I've tried every variation of pathnames (single, double, no quotes, /, //, \ ) it's always the same result.
Is this compatible with 3ds Max 2022?

Do you have safe script execution enabled? Sadly, at this time, you have to disable that for MXSPyCOM to work correctly.

3ds max safe scene script execution was on, turned off, restart and same result. 0x80020006. Max 2022.3 Update (<IP_ADDRESS>04)

I have the same problem, deactivating safe script execution didn't change anything. Max 2022.3.6 Security Fix (<IP_ADDRESS>21). Is there a solution now ?

I'm having the same issue in Max 2024, but I didn't have the error in Max 2022 weirdly enough. Has anyone figured out a solution?


Fix no_mangle function search in LLVM-IR output mode

In LLVM-IR output mode cargo asm don't parse non-mangled function definitions properly and return function names like Function Attrs: mustprogress nofree noinline norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable instead.
In ASM output mode everything is okay.
Checked with example about on linux x86_64 and with cargo test.

[!WARNING]
The changes have not been tested on a large number of samples and in theory may break something.
Since the conditions for detecting functions have been relaxed, it now you can theoretically over-detect functions.
Please check on more "real" examples if possible.

Changes

#[no_mangle] functions don't always start with _: requirement for _ prefix removed,
no_mangle function will not contain a comment with its name beforehand, and as a result:

a line started with Function Attrs:  should not be parsed as an item: added an exception,
define directive should be used to detect a new function start: done,

demangle::demangled returns None for no_mangle functions: use original name in that case.

Example
For the following code:
#[inline(never)]
pub fn func1() -> u32 {
    1
}

#[inline(never)]
pub fn func2() -> u32 {
    2
}

#[no_mangle]
#[inline(never)]
pub extern "C" fn func3() -> u32 {
    3
}

#[no_mangle]
#[inline(never)]
pub extern "Rust" fn func4() -> u32 {
    4
}

Current output (without this PR)
$ cargo asm --lib
Try one of those by name or a sequence number
0 "func3" [7]
1 "func4" [7]
2 "test_lib1::func1" [8]
3 "test_lib1::func2" [7]

$ cargo asm --lib --llvm
Try one of those by name or a sequence number
0 "Function Attrs: mustprogress nofree noinline norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable" [1, 1]
2 "test_lib1::func1" [1]
3 "test_lib1::func2" [1]

$ cargo asm --lib --llvm func3
Can't find any items matching "func3"

$ cargo asm --lib --llvm func4
Can't find any items matching "func4"

$ cargo asm --lib --llvm 0
; Function Attrs: mustprogress nofree noinline norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable
define noundef i32 @func3() unnamed_addr #0 {
start:
  ret i32 3
}

$ cargo asm --lib --llvm --everything | grep -A 5 -E "func2|func3|func4"
; test_lib1::func2
; Function Attrs: mustprogress nofree noinline norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable
define noundef i32 @test_lib1::func2() unnamed_addr #0 {
start:
  ret i32 2
}

; Function Attrs: mustprogress nofree noinline norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable
define noundef i32 @func3() unnamed_addr #0 {
start:
  ret i32 3
}

; Function Attrs: mustprogress nofree noinline norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable
define noundef i32 @func4() unnamed_addr #0 {
start:
  ret i32 4
}

attributes #0 = { mustprogress nofree noinline norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" }

Expected (with this PR)
$ cargo asm --lib
Try one of those by name or a sequence number
0 "func3" [7]
1 "func4" [7]
2 "test_lib1::func1" [8]
3 "test_lib1::func2" [7]

$ cargo asm --lib --llvm
Try one of those by name or a sequence number
0 "func3" [1]
1 "func4" [1]
2 "test_lib1::func1" [1]
3 "test_lib1::func2" [1]

$ cargo asm --lib --llvm func3
define noundef i32 @func3() unnamed_addr #0 {
start:
  ret i32 3
}

$ cargo asm --lib --llvm func4
define noundef i32 @func4() unnamed_addr #0 {
start:
  ret i32 4
}

Please check on more "real" examples if possible.

To be honest I'm not using LLVM output often enough and no_mangle - at all, at least in projects I'm usually working on. Let's merge this in as is since it improves the behavior and I'll deal with any remaining issues if somebody reports them or I encounter them myself.
Thank you for your great contributions. Please let me know if you have more planned - I can wait with the release for some time.

Thank you, nothing more planned yet :-)


thirdparty: compwright/oauth2-servicefusion, compwright/oauth2-fieldedge

Hi, @compwright! 😄 Thank you for contributing! 🎉


Implement a new generation flow to generate low level service skelotons.

Description:
Currently in the OpenAPI to Ballerina service generation, the resource function is generated with data bindings for query parameters, payload and response. Considering the scenarios where the tool can be used to generate more generic low level service such as in mediation and passthrough, we are proposing to generate a service as below.
import ballerina/http;

listener http:Listener ep0 = new (443, config = {host: "demo.saas-app.com"});

service /v2 on ep0 {
    # Update an existing pet
    #
    # + caller - The caller actions for responding to client requests
    # + request - Represents an HTTP request
    # + return - Optionally return an error
    resource function put pet(http:Caller caller, http:Request request) returns error? {
    }
    # Update an existing pet
    #
    # + caller - The caller actions for responding to client requests
    # + request - Represents an HTTP request
    # + return - Optionally return an error
    resource function post pet(http:Caller caller, http:Request request) returns error? {
    }
    # Get pet by Id
    #
    # + caller - The caller actions for responding to client requests
    # + request - Represents an HTTP request
    # + return - Optionally return an error
    resource function get pet/[int petId](http:Caller caller, http:Request request) returns error? {
    }
}

The proposed command for generating the low-level service skeleton is
bal openapi -i <openapi-file> --mode service --low-level-service
bal openapi -i <openapi-file> --low-level-service
or
bal openapi -i <openapi-file> --mode service --with-low-level-service
bal openapi -i <openapi-file> --with-low-level-service
@NipunaRanasinghe @lnash94 your suggestions are much appreciated.
Describe your problem(s)
Describe your solution(s)
Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

@aneeshafedo the proposed sample looks good except for the below cases

can we use the name request instead of incomingRequest for the request paramter?
here the description should change as get pet details by id or something similae

How about generating resource functions without a return type? This would allow users to have different return values without causing an error in the Ballerina type.
If we generate without a return, the user can have more control to change their return values according to usage.
@aneeshafedo, @NipunaRanasinghe WDYT?

@aneeshafedo the proposed sample looks good except for the below cases

can we use the name request instead of incomingRequest for the request paramter?
here the description should change to get pet details by id or something similar IMO

Updated. Thank you

IMO --low-level-service flag is good for this scenario, as I feel that --with-low-level-service suggests that we will generate two service files—one including low-level services and the other being the service we would typically generate.

How about generating resource functions without a return type? This would allow users to have different return values without causing an error in the Ballerina type. If we generate without a return, the user can have more control to change their return values according to usage. @aneeshafedo, @NipunaRanasinghe WDYT?
resource function put pet(http:Caller caller, http:Request incomingRequest)  {
    }

IMO the return type error? is also suitable since it does not mean that the method should always return a value and it aligns with Ballerina method signature structure.

How about generating resource functions without a return type? This would allow users to have different return values without causing an error in the Ballerina type. If we generate without a return, the user can have more control to change their return values according to usage. @aneeshafedo, @NipunaRanasinghe WDYT?
resource function put pet(http:Caller caller, http:Request incomingRequest)  {
    }

IMO the return type error? is also suitable since it does not mean that the method should always return a value and it aligns with Ballerina method signature structure.

Yeah, that is true 🙂,  I'm wondering regarding the status code that maps to the error type will affect the user API implementation later.  There can be scenarios errors can be overridden. reference https://discord.com/channels/957996897782616114/1108326862079406101/1108519895072768090

An alternative flag would be --without-data-binding which might be more relatable to the user.

IMO the return type error? is also suitable since it does not mean that the method should always return a value and it aligns with Ballerina method signature structure.

yeah it won't do any harm except assuming that all the resources can return errors by default (IINM we model ballerina error as 500 internal errors when generating the contracts as well).
as we focus on a "minimal representation" for the service here, having no return types will also make sense IMO.

An alternative flag would be --without-data-binding which might be more relatable to the user.

yeah this flag looks more intuitive. +1

IMO the return type error? is also suitable since it does not mean that the method should always return a value and it aligns with Ballerina method signature structure.

yeah it won't do any harm except assuming that all the resources can return errors by default (IINM we model ballerina error as 500 internal errors when generating the contracts as well). as we focus on a "minimal representation" for the service here, having no return types will also make sense IMO.

After a discussin with @NipunaRanasinghe decided to generate resources with no return type to be compatible with OpenAPI operation given.
The final design is as follows.
```bal
import ballerina/http;
listener http:Listener ep0 = new (443, config = {host: "demo.saas-app.com"});
service /v2 on ep0 {
   # Update an existing pet
   #
   # + caller - The caller actions for responding to client requests
   # + request - Represents an HTTP request
   # + return - Optionally return an error
   resource function put pet(http:Caller caller, http:Request request) {
   }
   # Update an existing pet
   #
   # + caller - The caller actions for responding to client requests
   # + request - Represents an HTTP request
   # + return - Optionally return an error
   resource function post pet(http:Caller caller, http:Request request) {
   }
   # Get pet by Id
   #
   # + caller - The caller actions for responding to client requests
   # + request - Represents an HTTP request
   # + return - Optionally return an error
   resource function get pet/[int petId](http:Caller caller, http:Request request) {
   }
}
```
The cli command to generate a service with no data binding is
bal openapi -i <openapi-file> --mode service --without-data-binding
bal openapi -i <openapi-file> --without-data-binding

@aneeshafedo @NipunaRanasinghe shall we keep the return type as error? by default? IMO that would make the signature more generic.
In mediation scenarios, we explicitly add return error? too. If we can get this by default, it would be much easier for us too.
resource function post pet(http:Caller caller, http:Request incomingRequest) returns error?

@aneeshafedo @NipunaRanasinghe shall we keep the return type as error? by default? IMO that would make the signature more generic.
In mediation scenarios, we explicitly add return error? too. If we can get this by default, it would be much easier for us too.
resource function post pet(http:Caller caller, http:Request incomingRequest) returns error?

@menakaj +1 from me

@aneeshafedo @NipunaRanasinghe shall we keep the return type as error? by default? IMO that would make the signature more generic.
In mediation scenarios, we explicitly add return error? too. If we can get this by default, it would be much easier for us too.
resource function post pet(http:Caller caller, http:Request incomingRequest) returns error?

Updated the fix with returns error?

Closing with https://github.com/ballerina-platform/ballerina-lang/pull/40707 and https://github.com/ballerina-platform/openapi-tools/pull/1395


CI: move stb check from travis-ci to GHA

@djony , can you please review findings
https://github.com/SoftEtherVPN/SoftEtherVPN/actions/runs/5980139266/job/16225650176?pr=1894#step:3:289

Hi chipitsine
I changed line endings in file from LF to CR LF like in other language files and found translation errors in lines, that don't gave you make merging
I created pull request #1895 for fix that. Hope it's help

I saw one error in line CM_IMPORT_MESSAGE. Perhaps this is due that I have swapped in line the variables "S" and "s", that in Russian the translation sounded better.

I;ve changed "%S" and "%s" in https://github.com/SoftEtherVPN/SoftEtherVPN/pull/1894/commits/68e704097d96b22f3920a3c69881c9d0907735b5
currently, order of substitutes cannot be changed


Boot serial

This pull request had a number of other unrelated commits in it. So I'm not going to bring it in. However, as the fix is a one-liner, I picked it separately and committed it. Thanks, for reporting this. You can close this pull request.

OK  great .
Thanks very much.
On Aug 15, 2016 9:24 PM, "mkiiskila"<EMAIL_ADDRESS>wrote:

This pull request had a number of other unrelated commits in it. So I'm
not going to bring it in. However, as the fix is a one-liner, I picked it
separately and committed it. Thanks, for reporting this. You can close this
pull request.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/apache/incubator-mynewt-core/pull/91#issuecomment-239917864,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMAxfC_f-97wTQM-hfbuLsTrldPR38FKks5qgMsIgaJpZM4Jg5rs
.


Our rules template should be discoverable

Where would a user typically look before starting a new Bazel ruleset? https://bazel.build/rules/rules-tutorial seems like a good example.
These should link to our https://github.com/bazel-contrib/rules-template so that more developers discover and use it, rather than reinvent things that work less well.

I'll take care of getting this added to the tutorial page on the site.

The tutorial has been updated to include a call out to the template.
Additionally, we are currently having some discussions about reworking some of the navigation on the site. I'll keep this link in mind to include there as well, since we are looking to have a smoother on ramp for new devs. In other words, I'd like to see this mentioned in the docs themselves rather than just a tutorial.

Thanks!


Create guard for empty cart

Create guard for empty cart.
Apply this one in checkout components.
Wait for #1891

Due to the similarity to the cart-not-empty guard, the latter will be used. I have added new issue for the use case, when you make an order, the cart gets emptied and the guard still let you pass.


After a (cold?) boot, I get random LED settings

In the supported motherboard list, it mentions msi-b350 pro vdh.
My issue is similar to the one mentioned here https://github.com/ixjf/MSIRGB/issues/113
The lua scripts run fine but the issue is with the color palette.
Let say the color before setting a palette is 'x' (either white or the one set using running scripts).
After applying any color palette say of color 'y', it starts flickering with 'y' on and off back to 'x'
Currently I was using Pumpkin script. Then I applied a Green color palette. I maxed the 'Step Duration' to 511. Now I am getting around 3-4 sec of green then around 50 sec of orange-red color. What I wish is to set a single custom color.

I'm assuming you fixed the problem. What was it?

For some reason I thought, there are 8 colors presets and anyone could to be selected at a time as what we have in any photo editing color select table. Later I realised, its always in 5-color transitioning mode. So to keep one color, all 8 must be of same color. This was further clear when I went through the scripts (based on my knowledge of C language).
It was stupid of me to miss that the app clearly states to define 8 colors to switch between.
So, all works fine as I understood the functioning of the app.
Since I got your attention, could you clarify some things...
(1) why number 98 is used to normalize the Hue. All I understand is the Hue resets (to 0) every time 'i' increases to a multiple of 98.
(2) Is there a manual/guide available that lists all the functions that are used or could be used in the lua scripts for further customizations.

This effect was ported from somewhere else, so I do not know the exact why, but it seems to me that it controls how fast you traverse the color palette (the higher the value, the smaller the step). The code should probably be cleaned up :)

Smoother transitions aren't really possible because each colour component is stored in a nibble (4 bits). You don't really get 0-255, but 0-16. This is a hardware limitation, nothing I can do :(

You can't change intensity of breathing mode either. Also a hardware limitations. It's not possible to change the brightness of the LEDs as far as I could tell.

Yes, there is: https://github.com/ixjf/MSIRGB/wiki

Just a thought/guess...
I dont think it would be a hardware limitation as during breathing mode the leds are transitioning very smoothly and do not show "the staircase phenomena" with 16 steps. It seems more likely to be the firmware that is providing limited access to the API.
Anyway, this app is certainly miles better than the Mystic Light.
Thank you very much.

By "hardware limitation", I mean that the memory layout exposed by the chip does not allow one to define colours with greater accuracy.

Do you need any help or can I close this issue?

I closed the article from my end. It shows " nsb-github closed this 12 days ago".
Is it usual that every once and now, when I start the computer, the LED color profile/script is applied but with a flashing ON and OFF. When I open the app, the script is selected already. I have to manually select something else and reselect the previous one to stop the flashing. This does not happen every time I start the computer but only may be like every 2nd or 4th time.

I closed the article from my end. It shows " nsb-github closed this 12 days ago".

You did, but then you reopened it.

Is it usual that every once and now, when I start the computer, the LED color profile/script is applied but with a flashing ON and OFF. When I open the app, the script is selected already. I have to manually select something else and reselect the previous one to stop the flashing. This does not happen every time I start the computer but only may be like every 2nd or 4th time.

It may or may not be. Can you show me the script? Do you disable flashing inside the script?

Hey, you can try the updated scripts (download the 'Scripts' folder individually, please, since I haven't released an update release for MSIRGB yet). Should fix the issue. If not, please reopen this issue.


Character length limit of node custom parameter in workflow definition

The maximum length of node custom parameter in workflow is 64? Please measure whether need to add this limit. My business encrypts strings and the length is far longer than 64.
EasyScheduler Version：1.1.0

@uzdz
for english only,
please update the title and content to english.

@uzdz
for english only,
please update the title and content to english.

Okay

thank you very much.
i think this is a simply change on the code, tThe main problem is that this value is set appropriately. 64 or 128, 256 ?

Is it necessary to set the MaxLength property? If a user-defined parameter corresponds to the table field of MySQL, in order to control the length of MySQL field, I think 256 should be enough, but if there is no MySQL limit, I don't think this property needs to be specified.
This is just a suggestion. Now I solve this problem by writing parameter values directly after the script.

this user-defined parameters are saved in db with json type, the field type is text. so there is not length limit in mysql.
but i think every input should be specified in case of memory problem. and 256 should be enough.
if you are willing to, please submit pr to improve that.

The maxlength is 128 in version 1.2 ,  Does it need change to 256?

The maxlength is 128 in version 1.2 , Does it need change to 256?

I think it should be changed to 256. Because this is not a hard work, but if the input cannot be made in the development scenario, it will affect the user's use.


exporting to blender does not work

Material Maker version:
174bd84d944bb16edd6a92ac57fa939653cc5a93
OS/device including version:
ubuntu 20.04
geforce mx230
Issue description:
this is how the material looks in material maker

and this is how in blender

I think the trouble is in exporting exr files, because this problem can be circumvented if each texture is manually pulled out of preview2d into png format

I think the trouble is in exporting exr files,

In this case, this issue is a duplicate of https://github.com/RodZill4/material-maker/issues/372 and https://github.com/RodZill4/material-maker/issues/338.

This should be fixed in 0.99 since MM now exports png files for non-greyscale channels.


[stable/nginx-ingress] namespace scoped installation not longer possible because of Bugfix #9636

Version of Helm and Kubernetes:
Client: &version.Version{SemVer:"v2.10.0", GitCommit:"9ad53aac42165a5fadc6c87be0dea6b115f93090", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.10.0", GitCommit:"9ad53aac42165a5fadc6c87be0dea6b115f93090", GitTreeState:"clean"}
Kubernetes version 1.11
Which chart:
stable/nginx-ingress
What happened:
I tried to install the nginx-ingress controller namespaced, where helm is also restricted to this namespace and does not have permissions to create cluster roles and cluster role bindings.
Error: release event-gateway-nginx failed: clusterroles.rbac.authorization.k8s.io is forbidden: User "system:serviceaccount:event-gateway:tiller" cannot create clusterroles.rbac.authorization.k8s.io at the cluster scope
https://github.com/helm/charts/issues/9636 introduced a cluster role and cluster role binding for a scoped nginx ingress. This prohibits installing nginx-ingress in a rbac enabled cluster where the helm service account is also limited to a certain namespace.
What you expected to happen:
I expected that the installation of nginx-ingress when scoped doesn't need a service account which has cluster admin rights
How to reproduce it (as minimally and precisely as possible):
install a tiller with a service account scoped to one namespace
install the stable/nginx ingress controller
Anything else we need to know:

The latest chart version 1.3.1 still has this problem - after #9636, the scoped deployment can no longer be finished without having authorization for cluster role deployments, which defies the purpose of having scoped deployment in the first place.

Well there hasn't been much activity on this issue from the Helm charts side, so just as a followup, this seems to have been fixed upstream in https://github.com/kubernetes/ingress-nginx/pull/3887
Therefore, the cluster level roles added in #9636 should not be needed anymore and everything can get back to normal.


Jenayah: Watch expresscouriercars.co.uk

Jenayah requests the watch of the watch_keyword expresscouriercars\.co\.uk. See the MS search here and the Stack Exchange search here.

expresscouriercars\.co\.uk has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Makyen in Charcoal HQ


Add support for article in a conference contribution

I was told by the GitHub team (where I filed the issue first) that GitHub uses the code from this repository for creating the bibtex entry in the web UI (see Figure 1). Please bear with me as I have no Ruby skills and I could not easily create a PR for my issue.

Figure 1: Cite this repository
I presented a software at a conference. Thus, I would like to have my conference contribution as the preferred-citation. My current draft (last information is still missing) is located at https://github.com/1kastner/conflowgen/blob/add-citation-hint/CITATION.cff for reference. When I pushed the changes, the produced bibtex output was this (I replaced the text, the issue comes with the keys):
@inproceedings{XXX,
address = {Bremen, DE},
author = {THE AUTHORS OF THE PAPER},
booktitle = {THE PROCEEDINGS NAME},
month = {2},
series = {MY CONFERENCE NAME},
title = {{MY TITLE}},
year = {2022}
}

When compared to the CITATION.cff, we can see that several of the keys went missing. Among others, the editors and the page range disappeared. I tried both editors and editors-series in case I misunderstood the documentation which is a bit vague at this place. But the first one seem to be the editors of a specific text, the second one the general editors of a conference proceeding.
Please tell me if I was mistaken while setting up the CFF file if that was the original cause. If a conference contribution is something you currently do not fully support, then it would be great if this feature could be added!

Btw, maybe an example for how to properly set up a conference article could be also part of the docs at https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-citation-files?

Hi @1kastner, Thanks for your issue.
At the moment we don't support the editor field in the inproceedings type, but we should so I'll add that as a new issue to sort that.
For a page range you should use start and end in CFF, not pages which is "number of pages" and BibTeX has no equivalent.

Thank you very much for your quick response, @hainesr.
If instead of a specified page range (using start and end) I want to write [in press] as we can see it in the academic community from time to time, is there any canonical way of doing this in CFF?

Ah ha, I see what you mean. Yes, this is a useful thing to be able to do.
CFF has a status field for a reference which is used for this. You can set it to in-press: details here. If you use the pages field for this your CFF won't validate.
Now I need to add an issue to support status in the BibTeX and APA formats 😆

That would be awesome! As you have created your own issues based on this issue, how do you prefer it to be managed? Should I close this for now?

Yes, let's close this one now.


Add more options for self-registration.

This change is

@chenopis The option added is just part of kubelet --help . So I think it is not necessary for tech review.

@xuxinkun Ok, sounds good. Thx


Update supported NodeJS versions

Update Node.js version inline with https://github.com/MicrosoftDocs/azure-docs/commit/1c08cae76c20b9bdd6765d55e00c97cf21d1f8e0

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


[mwc-button] Expose mwc-ripple css variable

Is your feature request related to a problem? Please describe.
We need to change the color and opacity ripple value for mvc-button. Is there any reason to not expose the css variables.?
Describe the solution you'd like
Expose from the web component (ex. mvc-button) the mwc-ripple css variable.
Describe alternatives you've considered
each component expose its own opacity css variable configuration
Thanks in advance

Same problem here. Would be fantastic if all this variables will available in all atomic components:
--mdc-ripple-press-opacity		0.12	Opacity of the ripple when pressed.
--mdc-ripple-hover-opacity		0.04	Opacity of the ripple when hovered.
--mdc-ripple-focus-opacity		0.12	Opacity of the ripple when focused.
--mdc-ripple-selected-opacity	0.08	Opacity of the ripple when the host component is "selected". This opacity is added to press, hover, and focus states.
--mdc-ripple-activated-opacity	0.12	Opacity of the ripple when the host component is "activated". This opacity is added to press, hover, and focus states.```

Thanks for the issue. This will be introduced as a part of the major changes to all components for Material You (#2441, also see beginning of repo README). Each component will expose its dedicated custom properties, prefixed by the component name.

Customizable in M3 now