Missing GNU Make in various readme.md

Description
Following #4138 (but not only for ubuntu images) I would like to know which version of GNU Make is installed in each environments (ubuntu-latest, windows-latest and  macos-latest) when looking at their respective README.md
In google/or-tools we still have a Make based build so we need to know which version is installed by default on each of these github action runners...
I feel unproductive to push a dummy commit in order to reverse the runner environment to check which version of make is installed...
note: while on Ubuntu 20.04 build-essential package will pull make I feel sad to not have the version displayed in the readme.md like you did for bazel, cmake or gcc.
note2: make seems installed on macos and windows but again won't appear in the Readme.md...
Virtual environments affected

[ ] Ubuntu 16.04
[ ] Ubuntu 18.04
[X] Ubuntu 20.04
[X] macOS 10.15
[ ] macOS 11
[ ] Windows Server 2016
[X] Windows Server 2019
[ ] Windows Server 2022

Image version and build link
https://github.com/Mizux/inspect-ci/actions/runs/1265694653
Is it regression?
NO
Expected behavior
Having this tools and its version documented (like other build systems)
Actual behavior
Do not appear in the REAME.md as Included Software...
Repro steps
simply add to any workflow:
    - name: Check Make
      run: make --version

Then you'll spot its presence...

Windows has make.exe from MinGW64
https://github.com/actions/virtual-environments/blob/b7f276c003aea42575b52247bdb2183e355fca2f/images/win/scripts/Installers/Install-Mingw64.ps1#L1-L13

@catthehacker so will it be possible to update
Report to add it to the README.md aka

https://github.com/actions/virtual-environments/blob/main/images/linux/scripts/tests/Tools.Tests.ps1
https://github.com/actions/virtual-environments/blob/main/images/macos/software-report/SoftwareReport.Common.psm1
https://github.com/actions/virtual-environments/blob/main/images/win/scripts/SoftwareReport/SoftwareReport.Tools.psm1

As well as having a test to check its presence e.g.

https://github.com/actions/virtual-environments/blob/main/images/linux/scripts/tests/Tools.Tests.ps1

note: I may try to provide a PR for this but if maintainer are against these QoL changes I don't want to waste my time on it...

so will it be possible to update the following files ?

most likely, someone from action should chime in here soon and clarify if they want to add this or not
PR content would be something like this:
function Get-MakeVersion {
    $version = make --version | Select-Object -First 1
    return "$version"
}

or
function Get-MakeVersion {
    $version = make --version | Select-Object -First 1 | Take-Part -Part 2
    return "GNU Make $version"
}

Hello!
Unlike gcc, make releases happen hardly ever [1] and usually introduce very small amount of changes, which possibly makes 'make' not worth being shown in the README files.
[1] - http://ftp.gnu.org/gnu/make/

I am going to close this now, feel free to reopen if you have any questions.

Actually, for me, it matter since macos env use make 3.80 instead of 4.2.21 (IIRC) on windows-latest and ubuntu-latest
and make $(foreach ...) is not correctly evaluated...
e.g. https://github.com/google/or-tools/blob/b37d9c786b69128f3505f15beca09e89bf078a89/cmake/Makefile#L146-L182
Also in the C++ realm, when using CMake (which is a build generator) this one default to make based build generator so knowing the make version do matter for C++ devs...
todo(me): try to create a minimal reproducible example


Starter project: title screen should have some traffic

The title screen shows a "screensaver" that bounces randomly around an empty map. It'd be more interesting to have some traffic running, and maybe to follow some agents for a while. https://github.com/dabreegster/abstreet/blob/9ba4f83ca47e0d5902115ac2e471709a7313864f/game/src/pregame.rs#L137

(Ignore this, just testing a Figma embedding plugin)
https://www.figma.com/file/RX2nOdY2uPaqGGvWPyDvV6/A%2FB-Street?node-id=1178%3A991

Is abstreet/game/src/pregame.rs the only relevant file for this issue?

Changes should go here and apply to TitleScreen. To spawn random traffic, you could use spawn_agents_around or ScenarioGenerator::small_run. To follow an agent, you'd do ctx.canvas.center_on_map_pt(app.primary.sim.canonical_pt_for_agent(...))


[7.0] Server Sub-User Issues.

Panel or Daemon: Panel
Version of Panel/Daemon: 7.0
Server's OS: Ubuntu 16.04
Your Computer's OS & Browser: Chrome, Win 10

Add Details Below:
Adding a sub-user to a server is non-functional, unsure about deleting a sub-user from a server. Adding a deleting sub-users/users from the panel itself is fine though.

Can you please clarify what the issue here is @odddellarobbia?


chore: update node lts versions in node.js.yml workflow

Update node versions in default workflow to current LTS releases.
Also including the current release could be added as well with something a little more verbose like:
    strategy:
      matrix:
        include:
          - node-version: 14
            lts: true
          - node-version: 16
            lts: true
          - node-version: 18
            lts: false
          - node-version: 19
            lts: false
    continue-on-error: ${{ ! matrix.lts }}

Thanks!


OCPBUGS-1592: Add HTTP proxy to syncer container

vsphere-syncer container needs HTTP proxy too.
cc @openshift/storage

/jira refresh

/retest


Replay now creates index of replays

Like python, generate a an compiled version of the text replay that is indexed for faster replays.

🎉


histogram fix and python analysis

Hi, remapping triangular noise is still broken :)
See the plot here:

It completely destroys the blue noise characteristics by moving values that should be far away together...
It can be fixed by doing orig = fract(0.5+x)*2-1.
I included fix in my blog posts Mathematica analysis.
If you don't have time to fix it, I will look into it later this week.
Thanks!

Ach, I will replace it with a previous function we did for remapping ourselves, that doesn't reorder the input - see the _erp version (made by my colleague Erik Pedersen)
(and guess I need to update All Teh Slides as well...)

(for comparison, see also https://www.shadertoy.com/view/Mt2XW1 )


Parameter Examples support

Swashbuckle supports Parameter Examples? Haven't found anything in docs.
https://swagger.io/docs/specification/adding-examples/
Here's how it looks in ReDoc:

Closing due to inactivity


[BEAM-12260] Java - Backport Firestore connector's ramp-up throttling to Datastore connector

A new connector for Cloud Firestore is being added to Beam and currently out for review (see #14261). Some of the features and adjustments are useful for Cloud Datastore as well, so they're being backported to this connector.
Ramp-up throttling
This follows the same implementation as the Firetore connector, though implemented as a subtransform in the Write/Delete PTransform for simplicity and so the change is more easily visible.
In essence, the ramp-up throttler is a generic rate limiter that emits elements only when there is sufficient "budget". This budget starts at 500 entities per second (split across workers) and increases by 50% every 5 minutes, as documented under Datastore Best Practices. Abiding by this rule is not always necessary, the throttling step can be turned off in that case.
Minor tweaks
There have been minor tweaks and adjustments to some of the constants along the way.

Raised target latency for automatic batch sizing from 5 to 6 seconds.
Decreased initial batch size from 200 to 50.
Decresed minimum batch size from 10 to 5.
The default user agent from pipeline options is set, so the Beam version used is visible by the Datastore team for debugging.
Add two metrics to help users debug, datastoreEntitiesMutated and datastoreLatencyMsPerMutation.

R: @chamikaramj

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

@chamikaramj - feel free to delegate to someone else.
@danthev - thank you!

Run Java PreCommit

Same questions as https://github.com/apache/beam/pull/14723 but we can do the conversation there.

R: @nehsyc

R: @udim
(also please note the corresponding Python changes and the current review from @nehsyc in https://github.com/apache/beam/pull/14723)

Run Java PreCommit

There seems to be a broken Flink test in master, otherwise this is ready for review.

Tests are green, so change is ready for review.

Run Apache Beam Java SDK Quickstart - Direct

retest this please

Java Wordcount failure seems unrelated, but I can't get it to rerun the test.

Run Java PreCommit

Thanks! Rerunning precommit, there's a FlinkSavePoint test that I've noticed more than once now, probably flaky.
Run Java PreCommit

Run Java PreCommit

It looks like the test added in this change is flaky: https://issues.apache.org/jira/browse/BEAM-12858. @danthev would you by chance be able to take a look?


Torches can't be placed on fences.

As the title says you can't place torches on fences. The same applies to cobblestone walls, glass and stained glass. You can only place torches on the top of these blocks.

Are you sure? Torches appear to be placeable on the top of fences.

I can't replicate this bug either.

I think NiLSPACE meant on the side of fences. I'm not sure if that's even a vanilla feature.

When I tried placing torches on your dev server I couldn't do it. It is possible that the inventory was out of sync, and that's why it didn't work.

No, I meant the top of the fence.

Well I can place torches on the top of fences fine on the dev server.

You cannot put torches ontop of fences made from some of the woods. You oakfence is fine. It definitely doesn't work if your fence is made from acacia.

Oh, now it makes sense. I tried placing it on a birch fence.

You should be able to put one on any of these of course.

Yeah, but I only tried placing it on a birch fence ;)


Tutorial fixes and updates

I just went through the written Tutorials - it's such a cool format!
I found some typos and minor points where clarity could be added, so here's a PR for that!

I didn't quite know how to address it in this PR, but I'm wondering if this bit should be rephrased:

The library comes with a variety of tools that mimic SwiftUI's native navigation tools (such
as sheets, popovers, fullscreen covers, alerts, and confirmation dialogs), but they take
ComposableArchitecture/Stores instead of bindings.

Given that the example with the sheet is actually just using the native binding there:

I didn't quite know how to address it in this PR, but I'm wondering if this bit should be rephrased:

Good call! Will fix it up on main.


Hybooru halt at Resolving tag parents

I using PowerShell to run all the command
npm start

><EMAIL_ADDRESS>start
> node server.js

HyBooru started on port 3939
Environment: production.
Press Ctrl-C to terminate.

Rebuilding Database!

Posts (11077/11077)             [####################] Done in 500ms
Urls (12716/12716)              [####################] Done in 611ms
Tags (8673/8673)                [####################] Done in 260ms
Mappings (84127/84127)          [####################] Done in 339ms
Mappings (50840/50840)          [####################] Done in 622ms
Tag parents (924/924)           [####################] Done in 58ms
Tag siblings (171/171)          [####################] Done in 9ms
Importing options...            [####################] Done in 24ms
Resolving file relations...     [####################] Done in 212ms
Normalizing tags (4/4)          [####################] Done in 192ms
Resolving tag parents...        [--------------------]

After it halt, PostgreSQL staring to use more resource and my disk is gradually filling up until it full (my disk only have around 30GB of free space)
ever I Terminate batch job, it won't stop filling up the disk. I need to terminate PostgreSQL processor itseft to stop it
I don't know this is a bug or not but i just want to let you know about this issue.

oh and btw i fix this issue by adding/changing this in configs.json
"tags": { "resolveRelations": false },

Fixed in v1.6.0. Reopen if the issue persists.

For some reason this issue still persists (at least for me...), even in 1.11.0?
I got the following error message:
Error: Connection terminated unexpectedly at Connection.<anonymous> (/mnt/dietpi_userdata/Hybooru/node_modules/pg/lib/client.js:132:73) at Object.onceWrapper (node:events:633:28) at Connection.emit (node:events:519:28) at Socket.<anonymous> (/mnt/dietpi_userdata/Hybooru/node_modules/pg/lib/connection.js:107:12) at Socket.emit (node:events:531:35) at endReadableNT (node:internal/streams/readable:1696:12) at processTicksAndRejections (node:internal/process/task_queues:82:21)
Using this Debian-based distro, everything still works, I just have to turn off tag relations for now...

@NatureHog  This doesn't look like the same issue. You are losing the connection to the database.
Make a new issue, post full logs for what does work and what doesn't.

I'll look into it first myself, maybe I'm just doing something wrong, but I will open a separate issue when I've looked into it. Thanks!


DNS Record wrong

The domain name created within the Record is different from what is provided in the CLI with upgraded version of Defang.
Record: *.hongcheny.hongcheny.defang.app
Should be: https://service1--3000.hongcheny.defang.app

@edwardrf was this fixed? Please close if it was.


wesnoth: 1.14.1 -> 1.14.2

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/wesnoth/versions.
These checks were done:

built on NixOS
/nix/store/5sh8gb3jwfb9086wiyb5sh66zx158bcc-wesnoth-1.14.2/bin/wesnoth passed the binary check.
/nix/store/5sh8gb3jwfb9086wiyb5sh66zx158bcc-wesnoth-1.14.2/bin/wesnothd passed the binary check.
2 of 2 passed binary check by having a zero exit code.
1 of 2 passed binary check by having the new version present in output.
found 1.14.2 with grep in /nix/store/5sh8gb3jwfb9086wiyb5sh66zx158bcc-wesnoth-1.14.2
directory tree listing: https://gist.github.com/b0e3a41a54024956b2d7971ee078d50e
du listing: https://gist.github.com/b92ba34a8adb15bfdc22fe1082734759

meta.description for wesnoth is: '"The Battle for Wesnoth, a free, turn-based strategy game with a fantasy theme"'.
cc @abbradar for testing.

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: wesnoth
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Attempted: wesnoth
Partial log (click to expand)
shrinking RPATHs of ELF executables and libraries in /nix/store/5sh8gb3jwfb9086wiyb5sh66zx158bcc-wesnoth-1.14.2
shrinking /nix/store/5sh8gb3jwfb9086wiyb5sh66zx158bcc-wesnoth-1.14.2/bin/wesnoth
shrinking /nix/store/5sh8gb3jwfb9086wiyb5sh66zx158bcc-wesnoth-1.14.2/bin/wesnothd
gzipping man pages under /nix/store/5sh8gb3jwfb9086wiyb5sh66zx158bcc-wesnoth-1.14.2/share/man/
strip is /nix/store/92d2ifxcni4n3zx9s8wnkcjlvnx5ajlc-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/5sh8gb3jwfb9086wiyb5sh66zx158bcc-wesnoth-1.14.2/bin
patching script interpreter paths in /nix/store/5sh8gb3jwfb9086wiyb5sh66zx158bcc-wesnoth-1.14.2
/nix/store/5sh8gb3jwfb9086wiyb5sh66zx158bcc-wesnoth-1.14.2/share/wesnoth/data/tools/unit_tree/update-wmlunits: interpreter directive changed from "/bin/bash" to "/nix/store/m47apl3hq3i52fzy2cz24378p0xn4lyx-bash-4.4-p19/bin/bash"
checking for references to /build in /nix/store/5sh8gb3jwfb9086wiyb5sh66zx158bcc-wesnoth-1.14.2...
/nix/store/5sh8gb3jwfb9086wiyb5sh66zx158bcc-wesnoth-1.14.2

Failure on aarch64-linux (full log)
Attempted: wesnoth
Partial log (click to expand)
[ 98%] Building CXX object src/CMakeFiles/wesnoth-client.dir/whiteboard/side_actions.cpp.o
[ 98%] Building CXX object src/CMakeFiles/wesnoth-client.dir/whiteboard/action.cpp.o
[ 98%] Building CXX object src/CMakeFiles/wesnoth-client.dir/whiteboard/suppose_dead.cpp.o
/build/wesnoth-1.14.2/src/savegame.cpp: In static member function 'static bool savegame::savegame::is_illegal_file_char(char)':
/build/wesnoth-1.14.2/src/savegame.cpp:418:49: warning: comparison is always true due to limited range of data type [-Wtype-limits]
  return c == '/' || c == '\\' || c == ':' || (c >= 0x00 && c < 0x20)
                                               ~~^~~~~~~
[ 98%] Building CXX object src/CMakeFiles/wesnoth-client.dir/whiteboard/utility.cpp.o
building of '/nix/store/n5sp2p60sj0xsyivpwvgsznja4v7la3s-wesnoth-1.14.2.drv' timed out after 3600 seconds
error: build of '/nix/store/n5sp2p60sj0xsyivpwvgsznja4v7la3s-wesnoth-1.14.2.drv' failed


not recognizing closing audio tag in accessibility lesson

Describe your problem and - if possible - how to reproduce it
In the lesson: Applied Accessibility - Improve Accessibility of Audio Content with the audio Element
When I completed the challenge properly (with a closing audio tag of course) and click run tests, I pass all of the tests but the site doesn't recognize the closing  tag I put.
Add a Link to the page with the problem
https://learn.freecodecamp.org/responsive-web-design/applied-accessibility/improve-accessibility-of-audio-content-with-the-audio-element
Tell us about your browser and operating system

Browser Name: Google Chrome
Browser Version: 66.0.3359.139 (64 Bit)
Operating System: Windows 10 Home

If possible, add a screenshot here

@udidol, thank you for reporting this. The tests all pass for me until I add an id attribute to the audio tag. This shouldn't affect the tests passing correctly.

@udidol @jonathan-grah I just tried the challenge in both FF and Chrome and I am able to successfully pass the challenge. The challenge does not require you to enter an ID in the opening audio tag. The challenge passes without the ID entered from the example. Please verify your code and let us know.

I added a screenshot with my code.
You can see if you find a problem...

@udidol  in your audio tags you had added the id="meowClip. This is part of the example. It is not required for the challenge

@mstellaluna, you are correct but it shouldn't stop the tests from passing.
thanks @hctpscl

@udidol Can you try again?
Here is the pseudo code that I tried.
<audio controls>
	<source src="..." type="audio/mpeg" />
</audio>

I remember this was fixed recently.

In any case, the id for the attribute should not be what is breaking or passing the test. Its not required to be added to the code. A PR is welcome though to strengthen this.

when I deleted the id attribute it worked.

@udidol, yeah that is correct.
The point is that whether or not there is an id attribute, the tests should still pass if the closing tag is present.


Sometimes, return result is empty.  What is reason? Blocked? r = httpx.post(url=deeplx_api, data=post_data).text

Sometimes, return result is empty.  What is reason? Blocked? r = httpx.post(url=deeplx_api, data=post_data).text

maybe


can not open eatensons

VSCode Version: Code 1.3.1 (e6b4afa53e9c0f54edef1673de9001e9f0f547ae, 2016-07-12T13:31:10.994Z)
OS Version: Darwin x64 15.3.0

Steps to Reproduce:

Are you behind a proxy? If so, did you configure it?


Added functions for working with the Custom week number

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en
For changelog. Remove if this is non-significant change.
Category (leave one):

New Feature
Short description (up to few sentences):
The week number 1 is the first week in year that contains some day, which default to January 1, it can be modify by parameter of function. Week begins at monday.
In this way, users can customize the first week of the year through parameters.

Detailed description (optional):
toCustomWeek
Converts a date or date with time to a UInt8 number containing the Custom Week number.
toCustomWeek(DateTime, [, CustomDate][, Timezone])
toCustomYear
Converts a date or date with time to a UInt16 number containing the Custom Year number.
toCustomYear(DateTime, [, CustomDate][, Timezone])
toStartOfCustomYear
Rounds down a date or date with time to the first day of Custom year. Returns the date.
toStartOfCustomYear(DateTime, [, CustomDate][, Timezone])
Example:
By default, the week contains January 1 is the first week:
SELECT toDate('2016-12-27') AS date, toCustomYear(date) AS year, toCustomWeek(date) AS week, toStartOfCustomYear(date) AS startday;
┌───────date─┬─year─┬─week─┬───startday─┐
│ 2016-12-27         │ 2017   │          1  │ 2016-12-26   │
└───────────┴─────┴─────┴─────────┘
The week contains January 28 is the first week:
SELECT toDate('2016-12-27') AS date, toCustomYear(date, '01-28') AS year, toCustomWeek(date,'01-28') AS week, toStartOfCustomYear(date,'01-28') AS startday;
┌───────date─┬─year─┬─week─┬───startday─┐
│ 2016-12-27         │ 2016   │        49  │ 2016-01-25  │
└───────────┴────┴─────┴─────────┘

@andyyzh what's the usecase for this? is it somehow related to Lunar calendar?

@andyyzh what's the usecase for this? is it somehow related to Lunar calendar?

A week number computing rule: the week contained January 1st is the first week, contained a day to make configurable.
It has nothing to do with the lunar calendar.

USA, Canada, most of Latin America, Japan, Israel, South Korea, among others, use a week numbering system (called North American in our Calculator) in which the first week (numbered 1) of any given year is the week which contains January 1st.
https://www.calendar-12.com/week_number

I'm trying to figure out the motivation for this implementation. (Sorry, it doesn't look clear for me.)
It looks like that the initial motivation is to provide week numbering to start first week from January 1st.
But you probably have noticed that the ISO week numbering starts from the first week containing January 4th. And you wanted to generalize this function, so you've added the possibility to start the numbering from any selected day within a year. Is this really needed?
I'm asking because it looks like a false generalization. ISO week numbering starts from the first week containing January 4th, because, coincidentally, it is also the first week that contains majority of days (at least 4 of 7) within a year.
And the possibility to start from the first week containing January 3rd or January 5th doesn't make much sense. It is still can make sense to start from a week containing January 1st (first week with at least one day within year) or January 7th (first full week within a year).
But I wonder if it is motivated by some unusual local calendars...

For week numbering system, at least the following customizations make sense:

start a week from Monday (as in Europe) or Sunday (as in USA) or Saturday;
allow numbered week to cross the year boundary (as in ISO-8601); or reset the numbering at January 1st; or use number zero instead of one if a week belongs to previous year;
how to select the first week of a year: by first day of year or by majority of days within a year (ISO-8601) or containing completely within a year.

For example of (still incomplete) generalization of week numbering system, look at:
https://dev.mysql.com/doc/refman/5.5/en/date-and-time-functions.html#function_week
and
https://en.wikipedia.org/wiki/Week#Week_numbering

But you probably have noticed that the ISO week numbering starts from the first week containing January 4th. And you wanted to generalize this function, so you've added the possibility to start the numbering from any selected day within a year. Is this really needed?
toCustomWeek(DateTime, [, CustomDate][, Timezone])
Adding 'CustomDate' parameter is unnecessary, it's to make functions more general.

But I wonder if it is motivated by some unusual local calendars...
No special calendar requirement,

I plan to delete the 'CustomDate' parameter to make the purpose of the function clearer.
Do you want to change the name of the function?  called NorthWeek or USWeek?

I plan to delete the 'CustomDate' parameter to make the purpose of the function clearer.
Do you want to change the name of the function? called NorthWeek or USWeek?

Ok. Yes, better to change the name.
USWeek is not appropriate, because weeks start at Sunday in US.
NorthWeek is too confusing.
Better to implement the week function from MySQL (at least for compatibility).
https://dev.mysql.com/doc/refman/5.5/en/date-and-time-functions.html#function_week

Prepare to add these functions that similar to mysql, and add new mode:

WEEK(date[,mode])
YEAR(date[,mode])
YEARWEEK(date[,mode])

I'll commit it in two weeks.

Ok.

Implementing functions similar to those in MySQL;
week(date[,mode])
This function returns the week number for date or datetime. The two-argument form of week() enables you to specify whether the week starts on Sunday or Monday and whether the return value should be in the range from 0 to 53 or from 1 to 53. If the mode argument is omitted, the default mode is 0.
The following table describes how the mode argument works.

Mode
First day of week
Range
Week 1 is the first week …

0
Sunday
0-53
with a Sunday in this year

1
Monday
0-53
with 4 or more days this year

2
Sunday
1-53
with a Sunday in this year

3
Monday
1-53
with 4 or more days this year

4
Sunday
0-53
with 4 or more days this year

5
Monday
0-53
with a Monday in this year

6
Sunday
1-53
with 4 or more days this year

7
Monday
1-53
with a Monday in this year

8
Sunday
1-53
contains January 1

9
Monday
1-53
contains January 1

For mode values with a meaning of “with 4 or more days this year,” weeks are numbered according to ISO 8601:1988:

If the week containing January 1 has 4 or more days in the new year, it is week 1.

Otherwise, it is the last week of the previous year, and the next week is week 1.

For mode values with a meaning of “contains January 1”, the week contains January 1 is week 1. It doesn't matter how many days in the new year the week contained, even if it contained only one day.
week(DateTime1, [, mode][, Timezone])

Parameters

DateTime1 – Date or DateTime.
mode – Optional parameter, Range of values is [0,9], default is 0.
Timezone –  Optional parameter, it behaves like any other conversion function.

Example
SELECT toDate('2016-12-27') AS date, week(date) AS week0, week(date,1) AS week1, week(date,9) AS week9;

┌───────date─┬─week0─┬─week1─┬─week9─┐
│ 2016-12-27 │    52 │    52 │     1 │
└────────────┴───────┴───────┴───────┘

yearWeek(date[,mode])
Returns year and week for a date. The year in the result may be different from the year in the date argument for the first and the last week of the year.
The mode argument works exactly like the mode argument to week(). For the single-argument syntax, a mode value of 0 is used.
Example
SELECT toDate('2016-12-27') AS date, yearWeek(date) AS yearWeek0, yearWeek(date,1) AS yearWeek1, yearWeek(date,9) AS yearWeek9;

┌───────date─┬─yearWeek0─┬─yearWeek1─┬─yearWeek9─┐
│ 2016-12-27 │    201652 │    201652 │    201701 │
└────────────┴───────────┴───────────┴───────────┘

@alexey-milovidov
Does default mode value need to be added to the system settings?
FYI:
https://dev.mysql.com/doc/refman/5.5/en/server-system-variables.html#sysvar_default_week_format

@vitlibar ,  I'm done.  please review code, thank you.

All checks have passed.

All checks have passed.

All previous tests have passed. I don't think the failing tests are caused by my change.
@alexey-milovidov   If you have time, take a look.

@vitlibar
All the review issues have been fixed except toStartOfWeekInterval() function was not added.
Please review again.

@vitlibar went on vacation. I will reassign this task to someone else.

@vitlibar went on vacation. I will reassign this task to someone else.

ok, thanks!


Webgpu support

This project is very nice with render graph and resource pipeline. Will you plan to support wgpu backend?

I think some time in the future, a webgpu backend would be an appropriate and valuable addition. However, I don't anticipate working on this personally for quite some time. The spec is in "working draft" state, and no browsers support it without turning on experimental flags. I'm personally more interested in adding DX12 support, or improving the existing backends (vulkan 1.2 features, or metal heaps, for example.)
Not to say this isn't a good idea, just being realistic and transparent about my own personal priorities/preferences. I'd be happy to help someone implement and upstream this if they were interested.


Use with react-worker-dom ?

instead using react.render can we use ReactDOM default renderer... for initial render instead use it inside react tree.. or use it as aliases ?
eg:  eact-worker-dom and use react lite to work too...
import React from 'react';
import reactDOM from 'react-worker-dom'; // Instead of using react-dom
reactDOM.render(new Worker('worker.js'), document.getElementById('container'));

many clojurescript React wrapper also use ReactDOM..

I think react-lite can't work with react-worker-dom.

Ok... would it have some issue... if i just use react-dom from react to render react-lite...?
react-dom only contain with :
(function(React) {
  return React.__SECRET_DOM_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
});

React API support React.render only until 0.14.. can we make best practices for others to use react-dom ... instead aliases,  React 0.15 above will show deprecated warning...
because its consisten..., preserving others API such as clojurescript Reagent OM...
till now i still doesn't know why react separating two global js like that...
but people follow it, and it become future culture... and accepted

Once react-lite can use react-dom directly without alias by React.__SECRET_DOM_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, but react-dom changed its npm package, it would require react/lib/ReactDOM.

i think i can make it... using cdn version:
(function(f) {
  // CommonJS
  if (typeof exports === "object" && typeof module !== "undefined") {
    module.exports = f(require('react'));

  // RequireJS
  } else if (typeof define === "function" && define.amd) {
    define(['react'], f);

  // <script>
  } else {
    var g;
    if (typeof window !== "undefined") {
      g = window;
    } else if (typeof global !== "undefined") {
      g = global;
    } else if (typeof self !== "undefined") {
      g = self;
    } else {
      // works providing we're not in "use strict";
      // needed for Java 8 Nashorn
      // see https://github.com/facebook/react/issues/3037
      g = this;
    }
    g.ReactDOM = f(g.React);
  }

})(function(React) {
  return React.__SECRET_DOM_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
});

use aliases can also work with clojurescript:
; before rendering
(set! js/ReactDOM js/React)

Overall thanks.....,
I just figure how to implement virtual-dom rendering and patching in web-worker...
then i came across your react-lite because its small size really fit in web-worker to bundle...
Unfortunetly to make it work... we need some heavy work to implement separation context between main thread and worker thread.... because worker env doesnt allow us to write DOM...
check this out

feather-app...
presentation

They look interesting~


Update workshop materials for Kansas location

Google Doc Presentations currently say "Boston" on title slide
Need update to say "Kansas" along with appropriate presenter name

I will update this weekend.

Are there presentations you want linked from the schedule? Happy to do this if they're updated and ready.

Working on them here.  Currently putting them all in one long slidedeck for ease of use during the day and editing.  If you want to break them out into separate presentations, that'd be awesome!
https://docs.google.com/presentation/d/1fICkE6EIMG8J-mR3mhdP982EVnaawOVbJzoPQ3nN7kk/edit?usp=sharing

Actually... on second thought.  Probably best to wait until we're done tweaking.  I'll add the separate slide decks to the website Sunday night

Sounds good!

Here's the Faciltator's Annotated Schedule: https://docs.google.com/document/d/14JJFfgfTMQAl2ocWgt6h4hu59my_JUXDnQIOJJGHsU4/edit#

Individual presentations linked on the website.


Azure Core Http Sample Issue

Section link:

Reason:

Suggestion:
Add clientOptions to ServiceClient.
Update code as following:
const { ServiceClient, logPolicy, bearerTokenAuthenticationPolicy } = require("@azure/core-http");
const clientOptions = {
  requestPolicyFactories: [
    logPolicy(),
    bearerTokenAuthenticationPolicy(
      creds,
      "https://management.azure.com"
    )
  ]
};
const client = new ServiceClient(creds, clientOptions);

@xirzec, @deyaaeldeen for notification.

@xirzec These samples are more for us to test the library before releasing than for the public. They didn't run before I updated them in PR #8148 but it looks that I forgot to update the browser version.

@zzhxiaofeng could you please open a PR to fix it?


Implement multi model support

This story enable reusable components by allowing for subsystem models to be developed independently and reused by other models. For example you may have a reusable model and set of EventProcessors that you want to use in multiple places. You want other models to be composed of the reusable model.
For example you may have a model and set of EventProcessors that together model a user searching for an address, you call this model AddressSearch. You need to use this functionality in multiple places, i.e. you have other models, for example: a PaymentScreen, that need to contain an instance of AddressSearch. You register PaymentScreen and it's EventProcessors and an instance of AddressSearch and AddressSearch's EventProcessors for the PaymentScreen model. You now have a specific instance of AddressSearch and it's infrastructure for each instance of the PaymentScreen model. PaymentScreen and AddressSearch act in their own right. When AddressSearch changes the router publishes a  ModelChangedEvent which an EventProcessor in PaymentScreen can observe and react accordingly, typically agmenting it's own model with the results of the ModelChangedEvent.
Items to do:

Enables the Router API to allow for additional models to be registered.
Ensure all registered models still have their own staged event workflow.
If there are events fired between the models all events will be processed before any model updated is dispatched.
When a model processes an event it will raise a ModelChangedEvent allowing other models to receive the changed model and augment their own.
Expose functionality to create a model typed to a subsystem. For example you still want IRouter<TModel> to avoid providing TModel on each IRouter method

This is now supported


php  7.4.3

On php7.3 it works fine. But on 7.4 its not working on my system. When I click Backup in the control panel, an error occurs

I am getting a different error with 7.4.3


Updated UG

organised the UG into different sections: Person-related commands, Group-related commands, Event-related commands and miscellaneous commands.
updated the help command to display the correct link that directs to our UG in this github repo.
updated the UG to display the right image when user key in the help command.

Everything looks good!


[Project Addition] Plant Pathogen Detection using DL

Deep Learning Simplified Repository (Proposing new issue)
:red_circle: Project Title : Plant Pathogen Detection using DL
:red_circle: Aim : Detecting images of Plant Pathogens into 4 diseases and healthy.
:red_circle: Dataset : https://www.kaggle.com/datasets/kanishk3813/pathogen-dataset
:red_circle: Approach : Creating custom CNN model as well as 5 pre-trained models for multi-class classification task.

📍 Follow the Guidelines to Contribute in the Project :

You need to create a separate folder named as the Project Title.
Inside that folder, there will be four main components.

Images - To store the required images.
Dataset - To store the dataset or, information/source about the dataset.
Model - To store the machine learning model you've created using the dataset.
requirements.txt - This file will contain the required packages/libraries to run the project in other machines.

Inside the Model folder, the README.md file must be filled up properly, with proper visualizations and conclusions.

:red_circle::yellow_circle: Points to Note :

The issues will be assigned on a first come first serve basis, 1 Issue == 1 PR.
"Issue Title" and "PR Title should be the same. Include issue number along with it.
Follow Contributing Guidelines & Code of Conduct before start Contributing.

:white_check_mark: To be Mentioned while taking the issue :

Full name : Arihant Bhandari
GitHub Profile Link : https://github.com/Arihant-Bhandari
Email ID<EMAIL_ADDRESS>Participant ID (if applicable): Arihant Bhandari (eternal_insight)
Approach for this Project : using pretrained and custom cnn models for classification (pre-trained: resent50, vgg16, inception, xception)
What is your participant role? (Mention the Open Source program)
GSSoC 2024 Contributor

Happy Contributing 🚀
All the best. Enjoy your open source journey ahead. 😎

hi @abhisheks008 i want this to be the project after cotton disease, pls assign this on cotton disease PR merger. pls assign this at that time.
thank you as always for your time and effort.

hi @abhisheks008 pls assign this as my next project, thank you as always

Assigned @Arihant-Bhandari


Lowering i32x4.splat + f64x2.convert_low_i32x4 results in panic

Test Case
;; unsigned.wat
(module
  (func (export "foo") (result v128)
    (i32.const 0)
    (i32x4.splat)
    (f64x2.convert_low_i32x4_u)
  )
)

;; signed.wat
(module
  (func (export "foo") (result v128)
    (i32.const 0)
    (i32x4.splat)
    (f64x2.convert_low_i32x4_s)
  )
)

Steps to Reproduce
wasmtime unsigned.wat
wasmtime signed.wat

Expected Results
Terminate without any errors
Actual Results
thread '<unnamed>' panicked at cranelift/codegen/src/machinst/lower.rs:766:21:
should be implemented in ISLE: inst = `v6 = fcvt_from_uint.f64x2 v13  ; v13 = const0`, type = `Some(types::F64X2)`
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
zsh: abort      wasmtime unsigned.wat

thread '<unnamed>' panicked at cranelift/codegen/src/machinst/lower.rs:766:21:
should be implemented in ISLE: inst = `v6 = fcvt_from_sint.f64x2 v13  ; v13 = const0`, type = `Some(types::F64X2)`
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
zsh: abort      wasmtime signed.wat

Versions and Environment
Wasmtime version or commit: wasmtime-cli 18.0.2 (90db6e99f 2024-02-28)
Operating system & Architecture:

Server

OS: Ubuntu 18.04.3 LTS (Bionic Beaver)
Arc: x86_64

IMac

OS: Monterey 12.6.2
Arc: x86_64

Extra Info
It is not reproduced in

M1 MacBook Air

OS: Sonoma 14.3.1
Arc: Arm64

MacBook Pro

Monterey 12.6.3
Arc: x86_64

Thanks for the bug report!

This was "introduced" in https://github.com/bytecodealliance/wasmtime/pull/7859 which was backported to the 18.0.0 release in https://github.com/bytecodealliance/wasmtime/pull/7878. I say "introduced" here because this was sort of always a bug and that PR just happened to expose it, it's not directly caused by that PR per se.
Fuzzing later found this bug which resulted in https://github.com/bytecodealliance/wasmtime/pull/7915 as a band-aid fix for the issue followed up with https://github.com/bytecodealliance/wasmtime/pull/7919 for a "real fix" for at least the unsigned case. We'd forgotten about the signed case though (oops!) so I can work on that.
I'll note though that the band-aid of #7915 means that this issue doesn't reproduce as-is on main today.

I posted https://github.com/bytecodealliance/wasmtime/pull/8099 for the missing signed conversion, but AFAIK that's just "good to have" and isn't require for correct operation on main.
The release-19.0.0 branch has all the various fixes there as well, so the only question remaining I think is effectively whether or not we want to backport https://github.com/bytecodealliance/wasmtime/pull/7915 to the 18.0.x branch.

I think we're more-or-less done with this now so I'm going to close this.


Black inconsistent blobs on environment reflections

Godot version
3.4.beta4
System information
Linux 64-bit, Ubuntu 20.04.1, AMDGPU RAVEN2, GLES2 & GLES3
Issue description
Not really sure what to say further.

My personal speculation is that this is caused by https://github.com/godotengine/godot/commit/1065f8dc863bbc2dac985213c5e95b5d2b238ed3 - EDIT: seems to be consistent with findings, see later comments.
Initially found by @DeerTears on an upgrade to 3.4.beta4 - they were busy so I'm writing the report.
Speculation, screenshots, etc. is my own.
Steps to reproduce
(To use test project)
Just run it, although flying around in the editor helps if you want specific angles.
(to create new project demonstrating issue)

Create a new project.
Create a sphere.
For the most obvious effect, metallic of 1, roughness of 0.
Fly around in editor, see effect.

Minimal reproduction project
horiz.zip

I can confirm this on the Material Testers demo in 3.4 beta 4 as well.

Bug is likely because in both GLES2 and GLES3 ref_vec gets modified after reflection for use by the cubemap sampling, which is the divergence in the maths between the master version and the 3.x version.
Specifically it's transformed by, among other things, radiance_inverse_xform, which also explains why the effect moves with sky rotation.

Ok, so, having tried that, and looked at the 4.0 PR again, I'm wrong about ref_vec, but having actually moving the horizon check back I can at least definitely confirm it was that commit causing the blobs.
I'm also reasonably sure that the Z inversion on GLES2 is meant for the cubemap and therefore will mess with things anyway, so the horizon check there still needs re-ordering.

@20kdc That is the right fix! Good catch. It still results in better specular highlights than in 3.3
3.3

3.4 with 20kdc's fix

Uuuuh, which iteration of the fix? 1f079ed , or the one where the check is moved back (which has disappeared but I can recreate)?

1f079ed but without the comments referencing this Github Issue

So apparently that was actually the one I was talking about, so it never disappeared anyway.
I'm confused, but whatever. I'll run a test and will PR once I confirm on a test project.


Add files via upload

King’s College Saint Michaels
Website: https://uk-stmichaels.kingscollegeschools.org
Schools group name: Kings Group
Used email Domains: kings.education, kingsgroup.org

@rafacapa Pull request merged. Thank you!


Requesting an example program

An example program (say, applying the log function to an array) was requested at the clima monday morning meeting. @charleskawczynski was having some error running a similar kernel, perhaps he can file an issue on that as well?

https://github.com/vchuravy/GPUifyLoops.jl/blob/master/examples/simple.jl / https://juliagpu.gitlab.io/GPUifyLoops.jl/#Simple-1

Please see the help documentation for contextualize for an example, i.e.,
?contextualize


Replace spl_object_hash() with more efficient spl_object_id()

Simple function name replacement.
spl_object_id() returns numeric id instead of string hash so it's a simple win, both memory and time-wise.

@guilhermeblanco Ready once your local environment is 7.2-ready. 😉

@Majkl578 can you run the phpbench suite on this? I realize it will be a minimal difference, but still interested :-)

I don't really know how to use that tool properly, but here's my try with:
php phpbench.phar run -l dots --report=default --iterations 10

develop:
(best [mean mode] worst) = 656.000 [82,393.438 81,644.309] 864.000 (μs)
⅀T: 19,774,425.000μs μSD/r 1,538.198μs μRSD/r: 4.208%

this PR:
(best [mean mode] worst) = 684.000 [80,597.321 79,853.433] 808.000 (μs)
⅀T: 19,343,357.000μs μSD/r 1,549.527μs μRSD/r: 3.284%

master:
(best [mean mode] worst) = 478.000 [55,520.700 55,048.114] 523.000 (μs)
⅀T: 13,324,968.000μs μSD/r 1,221.664μs μRSD/r: 3.714%

@Majkl578 the report from the single benchmarks is more relevant. For instance, a benchmark of persistence would show us how many lookups are done.
Anyway, I don't see a big change right now.

:ship:

Oh, conflicts

Somewhat messed up branches before rebase. but looks ok now. 👍

This is still running CI against 7.1 though... Weird o.O

Yes, that commit was lost during recent rebase. Let's wait until we're done with develop and reapply it afterwards.

This time it got merged 😜


_isValid check is invalid

Hi!
I'm just doing an ItemSearch and turns out that no items match my search criteria.
Although the AWS Api returns:
<Request>
    <IsValid>True</IsValid>
     <ItemSearchRequest>...</ItemSearchRequest>
     <Errors>
          <Error>
               AWS.ECommerceService.NoExactMatches
               <Message>We did not find any matches for your request.</Message>
          </Error>
     </Errors>
</Request>

Piranhax tells me that the request is invalid and therefor the promise fails. Can't tell if it failed because of an error on the request or just because my search found no results.
Shouldn't it take into account the IsValid field and show the error message in case of erros and not just reject?
Thanks in advance

What is the value of TotalResults?
In their document, Amazon gives a statement:

Although an IsValid value of True specifies that the request was valid and executed, it does not mean that a result was obtained. There may not have been any items that satisfied the search criteria, for example. To check for this condition, either search for the presence of an Error element, or evaluate the value of the TotalItems element. If the value is zero, there are no results to display, as shown in the following example.

http://docs.aws.amazon.com/AWSECommerceService/latest/GSG/CheckingRequestExecution.html
Should it excluded from exception or not? What do you think?
Because, exception raised when request got non success response, or there are some errors in response. And promise will reject it.
I will investigate in detail, and consider the best solution for this.

TotalResults = 0
It was a search returning no values and was trying to handle it on the then part of the promise, but was going nuts because it's thrown to the catch.
From my point of view, the request should be invalid if the field IsValid is set to false, otherwise is valid but there can be either results to show or errors to handle (as in an empty search)
Thx in advance!


Forma API FRApplicationDataManager is not defined

Described in Programming Guide but not in API Reference.

fixed in dd601b21d01b29736211bf43bf2aeac4a270d256


Error executing delete sql when no rows are deleted

Hello!
I have odbc 2.4.8 installed and have noticed an error when deleting data. I believe I should NOT be receiving this error.
The error occurs when executing a delete statement and no rows are actually deleted. For example...

Execute a delete statement to delete a row that does exist (delete works)
Run the same exact statement to attempt to delete the now-deleted row (fails with an error)

I think odbc should NOT throw an error, but instead simply return a count of 0 since no rows were deleted. Here is a screen shot of the error I received. Notice that the odbcErrors array is empty.

Thanks all!

After more testing, I found out the update behaves the same way. If I execute an update that results in 0 rows being updated, it throws an error the same way as described above.

Hi @snotmare ,
I am trying to recreate but not having any luck. I created a table with 2 columns, added an entry, then double delete it with:
let result = await connection.query('DELETE FROM MIRISH.ODBCISSUE389 WHERE ID = 1');
console.log(result);
result = await connection.query('DELETE FROM MIRISH.ODBCISSUE389 WHERE ID = 1');
console.log(result);

When I run it, I get the following:
[
  statement: 'DELETE FROM MIRISH.ODBCISSUE389 WHERE ID = 1',
  parameters: [],
  return: undefined,
  count: 1,
  columns: []
]
trying again!
[
  statement: 'DELETE FROM MIRISH.ODBCISSUE389 WHERE ID = 1',
  parameters: [],
  return: undefined,
  count: 0,
  columns: []
]

Is there something different you are doing that I could try?

try {
const pool = odbc.pool('DSN=Sample', (error, pool) => {
// pool now has open connections
if (error) {
console.log('Error creating connection pool:', error);
return; // handle
}
// Ensure the email is properly quoted in the SQL query
const query = "SELECT * FROM Sample.JobUser WHERE Email =<EMAIL_ADDRESS>
pool.query(query, (error2, result) => {
  if (error2) {
    console.log('Error executing the SQL query:', error2);
    return; // handle
  }
  console.log('Query result:', result);
});

});
} catch (error) {
console.log('Unexpected error:', error);
}
}
Error executing the SQL query: [Error: [odbc] Error executing the sql statement] { odbcErrors: [] }
@snotmare I am also getting same error with insert, update and select queries. Could you please help me to fix this issue?

@markdirish thanks for the response!
It looks like you're using the query() method to execute your SQL, I didn't realize you could do that. When I try your way, I get the same results (it works). Here is the code I'm running to produce the error...
let sql = `delete from gppuser where rcid = 9999999`;
let statement = await connection.createStatement();
await statement.prepare(sql);
let result = await statement.execute();

// let result = await connection.query(sql);
console.log(result);

With an update...
let sql = `update gppuser set fnam = 'test' where rcid = 9999999`;
let statement = await connection.createStatement();
await statement.prepare(sql);
let result = await statement.execute();

// let result = await connection.query(sql);
console.log(result);

I would prefer to use a prepared statement over the query method because we use parameter binding.

connection

TypeError: pool.acquire is not a function
Please check the following updated code.
try {
const connectionString = 'DSN=Hilde';
odbc.pool(connectionString, (error1, pool) => {
if (error1) {
console.log('Error executing the odbc connection:', error1);
return;
} // handle
pool.connect((error2, connection) => {
if (error2) {
console.log('Error executing the pool connection:', error2);
return;
} // handle
// now have a Connection to do work with
// Ensure the email is properly quoted in the SQL query
const sql = 'SELECT * FROM Hilde.JobUser WHERE Email =<EMAIL_ADDRESS>connection.query(sql, (error3, result) => {
if (error3) {
console.log('Error executing the SQL query:', error3);
return; // handle
}
console.log('Query result:', result);
});
});
});
} catch (error) {
console.log('Unexpected error:', error);
}
I am still getting the same error. Could you please help me with this? @snotmare
Error executing the SQL query: [Error: [odbc] Error executing the sql statement] { odbcErrors: [] }

@harsh-savvient Ah, I'm sorry, we're actually using a different pool library rather than the built-in one for odbc. We're using generic-pool.
Either way, try your code with a connection object instead of a pool object and see if that makes a difference.

connection

https://www.npmjs.com/package/odbc
I am using odbc npm package and facing same issue with connection object.
Please check the following code block:
async function connectToDatabase() {
      try {
        const connectionString = "DSN=Sample";
        odbc.connect(connectionString, (error, connection) => {
          if (error) {
            console.log("Error executing the odbc connection:", error);
            return;
          } // handle
          // now have a Connection to do work with
          // Ensure the email is properly quoted in the SQL query
          const sql = `SELECT * FROM Sample.JobUser WHERE Email =<EMAIL_ADDRESS>          connection.query(sql, (error2, result) => {
            if (error2) {
              console.log("Error executing the SQL query:", error2);
              return; // handle
            }
            console.log("Query result:", result);
          });
        });
      } catch (error) {
        console.log("Unexpected error:", error);
      }
    }

Error
Error executing the SQL query: [Error: [odbc] Error executing the sql statement] { odbcErrors: [] }

Hello @markdirish ! Just checking in... was my last response to you helpful in recreating the issue? Is there more information that I can provide to help?
Perhaps the issue is a difference between using the .query() method and a prepared statement.


[BUG] Remove duplicate calculator

Describe the bug
remove duplicate calculator
Screenshots

CheckList

[x] I'm a
JWOC'24 Contributor
[x] I've checked the existing issues, this issue is not a duplicate

Assign me

Assign me


Self Service blank slate

The self-service "tabula rasa" pull request.

Removed Bootstrap, and Bootstrap Sass libraries
Removed many other vendor libraries no longer being used
Restyled with Patternfly
Updated build tool to make fonts and images available under gulp serve-dev
Added a services module for application data models
Added a config module so that application configuration can be kept in one place
Reordered module dependencies
Deleted at least 10 lines of code, maybe more.

Removed in this pull request is a large amount of code in the form of directives and states which are not going to be useful or that can be reused.
This pull request also adds in Patternfly for the basis for all styling, removing any existing bootstrap base and the Jellyfish overrides built on top of it.
Navigation from the previous POC and wires have been re-implemented as components and services.

@stackus burning the midnight oil!
@dclarizio @matthewd @Fryguy Please review


Update all.json

Site
URLScan link

syncrwalletconnect.com
https://urlscan.io/result/43041df0-568c-4fb1-a495-d561e8575799/

wchainmins.com
https://urlscan.io/result/96fc7a49-d008-4bab-b1df-b3ddc45814dd/

✔Has DOT
"syncrwalletconnect.com",

"wchainmins.com",

❌No DOT
"open-defi-notifications.web.app",
"polygontechnology.pro",
"rxomcho.com",
"verification-vvalletconnect.com",
"wallet-pagylors.com",
"wallrtconnect.netlify.app",
"zealous-multi.netlify.app",

thank you


Allow admins to completely disable shortcode queries

This plugin allows us to disable [sql-table] shortcode select queries per page or to globally enable them.
Since editors can edit page headers, it would be nice to prevent them from running queries at all from page markdown.
I don't think it's a gaping security problem (as long as you trust your editors), but it seems a logical extension to the settings already available.

@hughbris  Working through all issues. On this one, have you any suggestions about how to do this. The shortcode enabling global/per-page is copied from other shortcode modules.
Not quite sure where you would want the constraint to be made, or how this would differ from allowing select queries per page.
Happy to incorporate with some guidance as to what is wanted.

PR by @hughbris handled this.


PAAC-433: Implemented whitelist logic to paac-frontend. Added outage index.html file path in Wiring.scala file.

Merged.


can't show details for repos from organization

Not sure why this doesn't work, but as far as I know I"m not part of an organizations I can't test. Can you be a bit more specific about your situation and print any applicable errors?

Same problem... Not found the repository...


test: add test coverage for RangeCheckBuiltinRunner

At the moment, there are quite a few tests missing for the RangeCheckBuiltinRunner structure in order to have good coverage. This generates problems in use as is the case here:
https://github.com/keep-starknet-strange/cairo-zig/blob/d043ccf85a54a5d566046fd86d0eafa65f762865/src/vm/builtins/builtin_runner/range_check.zig#L239
The test coverage needs to be improved for the whole structure.

i can take this one

i can take this one

@oxlime Assigned


Add Initial Parser for Window Sysmon Event 3

Required items, please complete
Change(s):
- Added ASIM parser for Sysmon Event 3 ( both Event and WindowsEvent)
Reason for Change(s):

New addition.

Version Updated:

Non-existent to 0.0.1

Testing Completed:

See guidance below

@microsoft-github-policy-service agree [company="{Wortell}"]
Met vriendelijke groet / Kind regards,
Guus Verbeek
.
Bekijk
ook eens:
@.***https://www.wortell.nl/nl/themas/secure
Consultant
.
+31611084192tel:+31611084192
From: microsoft-github-policy-service[bot] @.>
Sent: dinsdag 1 november 2022 10:07
To: Azure/Azure-Sentinel @.>
Cc: Guus Verbeek @.>; Mention @.>
Subject: Re: [Azure/Azure-Sentinel] Add Initial Parser for Window Sysmon Event 3 (PR #6530)
@goosvorbookhttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fgoosvorbook&data=05|01|guus.verbeek%40wortell.nl|20ee7de7d1f24e8322fb08dabbe87937|b1a6616c94734cab82b6b6affeed3e12|1|0|638028904388015991|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=XV8feVvc%2BPc%2FDlcJYzhDgIYivCWPR25jyQwoSIJ0C64%3D&reserved=0 please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
@microsoft-github-policy-service agree [company="{your company}"]
Options:

(default - no company specified) I have sole ownership of intellectual property rights to my Submissions and I am not making Submissions in the course of work for my employer.
(when company given) I am making Submissions in the course of work for my employer (or my employer has intellectual property rights in my Submissions by contract or applicable law). I have permission from my employer to make Submissions and enter into this Agreement on behalf of my employer. By signing below, the defined term “You” includes me and my employer.
Contributor License Agreement
Contribution License Agreement

This Contribution License Agreement (“Agreement”) is agreed to by the party signing below (“You”),
and conveys certain license rights to Microsoft Corporation and its affiliates (“Microsoft”) for Your
contributions to Microsoft open source projects. This Agreement is effective as of the latest signature
date below.

Definitions.
“Code” means the computer software code, whether in human-readable or machine-executable form,
that is delivered by You to Microsoft under this Agreement.
“Project” means any of the projects owned or managed by Microsoft and offered under a license
approved by the Open Source Initiative (www.opensource.orghttps://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.opensource.org%2F&data=05|01|guus.verbeek%40wortell.nl|20ee7de7d1f24e8322fb08dabbe87937|b1a6616c94734cab82b6b6affeed3e12|1|0|638028904388015991|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=%2FH%2BaP6gOTAjyNTt3Bohg0cnDMjze2EUx%2FrLPlgeRUp4%3D&reserved=0).
“Submit” is the act of uploading, submitting, transmitting, or distributing code or other content to any
Project, including but not limited to communication on electronic mailing lists, source code control
systems, and issue tracking systems that are managed by, or on behalf of, the Project for the purpose of
discussing and improving that Project, but excluding communication that is conspicuously marked or
otherwise designated in writing by You as “Not a Submission.”
“Submission” means the Code and any other copyrightable material Submitted by You, including any
associated comments and documentation.
Your Submission. You must agree to the terms of this Agreement before making a Submission to any
Project. This Agreement covers any and all Submissions that You, now or in the future (except as
described in Section 4 below), Submit to any Project.
Originality of Work. You represent that each of Your Submissions is entirely Your original work.
Should You wish to Submit materials that are not Your original work, You may Submit them separately
to the Project if You (a) retain all copyright and license information that was in the materials as You
received them, (b) in the description accompanying Your Submission, include the phrase “Submission
containing materials of a third party:” followed by the names of the third party and any licenses or other
restrictions of which You are aware, and (c) follow any other instructions in the Project’s written
guidelines concerning Submissions.
Your Employer. References to “employer” in this Agreement include Your employer or anyone else
for whom You are acting in making Your Submission, e.g. as a contractor, vendor, or agent. If Your
Submission is made in the course of Your work for an employer or Your employer has intellectual
property rights in Your Submission by contract or applicable law, You must secure permission from Your
employer to make the Submission before signing this Agreement. In that case, the term “You” in this
Agreement will refer to You and the employer collectively. If You change employers in the future and
desire to Submit additional Submissions for the new employer, then You agree to sign a new Agreement
and secure permission from the new employer before Submitting those Submissions.
Licenses.

Copyright License. You grant Microsoft, and those who receive the Submission directly or
indirectly from Microsoft, a perpetual, worldwide, non-exclusive, royalty-free, irrevocable license in the
Submission to reproduce, prepare derivative works of, publicly display, publicly perform, and distribute
the Submission and such derivative works, and to sublicense any or all of the foregoing rights to third
parties.
Patent License. You grant Microsoft, and those who receive the Submission directly or
indirectly from Microsoft, a perpetual, worldwide, non-exclusive, royalty-free, irrevocable license under
Your patent claims that are necessarily infringed by the Submission or the combination of the
Submission with the Project to which it was Submitted to make, have made, use, offer to sell, sell and
import or otherwise dispose of the Submission alone or with the Project.
Other Rights Reserved. Each party reserves all rights not expressly granted in this Agreement.
No additional licenses or rights whatsoever (including, without limitation, any implied licenses) are
granted by implication, exhaustion, estoppel or otherwise.

Representations and Warranties. You represent that You are legally entitled to grant the above
licenses. You represent that each of Your Submissions is entirely Your original work (except as You may
have disclosed under Section 3). You represent that You have secured permission from Your employer to
make the Submission in cases where Your Submission is made in the course of Your work for Your
employer or Your employer has intellectual property rights in Your Submission by contract or applicable
law. If You are signing this Agreement on behalf of Your employer, You represent and warrant that You
have the necessary authority to bind the listed employer to the obligations contained in this Agreement.
You are not expected to provide support for Your Submission, unless You choose to do so. UNLESS
REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING, AND EXCEPT FOR THE WARRANTIES
EXPRESSLY STATED IN SECTIONS 3, 4, AND 6, THE SUBMISSION PROVIDED UNDER THIS AGREEMENT IS
PROVIDED WITHOUT WARRANTY OF ANY KIND, INCLUDING, BUT NOT LIMITED TO, ANY WARRANTY OF
NONINFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.
Notice to Microsoft. You agree to notify Microsoft in writing of any facts or circumstances of which
You later become aware that would make Your representations in this Agreement inaccurate in any
respect.
Information about Submissions. You agree that contributions to Projects and information about
contributions may be maintained indefinitely and disclosed publicly, including Your name and other
information that You submit with Your Submission.
Governing Law/Jurisdiction. This Agreement is governed by the laws of the State of Washington, and
the parties consent to exclusive jurisdiction and venue in the federal courts sitting in King County,
Washington, unless no federal subject matter jurisdiction exists, in which case the parties consent to
exclusive jurisdiction and venue in the Superior Court of King County, Washington. The parties waive all
defenses of lack of personal jurisdiction and forum non-conveniens.
Entire Agreement/Assignment. This Agreement is the entire agreement between the parties, and
supersedes any and all prior agreements, understandings or communications, written or oral, between
the parties relating to the subject matter hereof. This Agreement may be assigned by Microsoft.

—
Reply to this email directly, view it on GitHubhttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2FAzure-Sentinel%2Fpull%2F6530%23issuecomment-1298241357&data=05|01|guus.verbeek%40wortell.nl|20ee7de7d1f24e8322fb08dabbe87937|b1a6616c94734cab82b6b6affeed3e12|1|0|638028904388015991|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=2XQWXG5f6UfP2BnT%2FB9loco3AR3a9aacMFugvgD%2F270%3D&reserved=0, or unsubscribehttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAFUKSRJ5R3BHEWQGN4N5TZ3WGDMUHANCNFSM6AAAAAART3STGE&data=05|01|guus.verbeek%40wortell.nl|20ee7de7d1f24e8322fb08dabbe87937|b1a6616c94734cab82b6b6affeed3e12|1|0|638028904388015991|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=vbMYRoUvrQ1EPQaCQOZ0H7DrGwMTqG4Y8OjO4Pf8hDQ%3D&reserved=0.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

@microsoft-github-policy-service agree company="Wortell"
Met vriendelijke groet / Kind regards,
Guus Verbeek
.
Bekijk
ook eens:
@.***https://www.wortell.nl/nl/themas/secure
Consultant
.
+31611084192tel:+31611084192
From: microsoft-github-policy-service[bot] @.>
Sent: donderdag 3 november 2022 20:42
To: Azure/Azure-Sentinel @.>
Cc: Guus Verbeek @.>; Mention @.>
Subject: Re: [Azure/Azure-Sentinel] Add Initial Parser for Window Sysmon Event 3 (PR #6530)
@goosvorbookhttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fgoosvorbook&data=05|01|guus.verbeek%40wortell.nl|eb01ab4ededf418d778508dabdd36e5a|b1a6616c94734cab82b6b6affeed3e12|1|0|638031013027382198|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=pODV14oc3sVaUVFfyJQqrmmlbHlpPf65pbxD80l0nq8%3D&reserved=0 the command you issued was incorrect. Please try again.
Examples are:
@microsoft-github-policy-service agree
and
@microsoft-github-policy-service agree company="your company"
—
Reply to this email directly, view it on GitHubhttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2FAzure-Sentinel%2Fpull%2F6530%23issuecomment-1302584552&data=05|01|guus.verbeek%40wortell.nl|eb01ab4ededf418d778508dabdd36e5a|b1a6616c94734cab82b6b6affeed3e12|1|0|638031013027538434|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=yNYaGZrvTLrC0YcfKfkz8rIhX%2FLUg6icjGx72MXp42Y%3D&reserved=0, or unsubscribehttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAFUKSRK2JROJYNZY2XKIUETWGQIPJANCNFSM6AAAAAART3STGE&data=05|01|guus.verbeek%40wortell.nl|eb01ab4ededf418d778508dabdd36e5a|b1a6616c94734cab82b6b6affeed3e12|1|0|638031013027538434|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=vlDfuUXPM4aYTewDy0ZXNDNprHaz70OUjI7EM5JYH4I%3D&reserved=0.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>


Improves examples copy&paste-ability

Remove $ from line beginnings, so that the example can easily be copy&pasted in the console.
Also fix tomcat port so that the example works out of the box.

LGTM :thumbsup:

i'd prefer a clever solution to avoiding the $ rather than removing it from the display.  it is used throughout to distinguish what is entered and multi-line from what is returned.

The change is not removing all $s - it's leaving the one at the command start. The removed characters are in the following lines in a multi-line command.
See here for an example of what its trying to fix http://brooklyn.apache.org/v/latest/start/policies.html#auto-scaling.
The example snippet looks confusing with all those $ on each line (that's a multi-line command). Messing with copy-pasteability is an additional problem.

ah of course.  should we render it as:
$ for i in byon{1..4}; do
>   vagrant ssh ${i} --command 'ps aux | grep -i tomcat |  grep -v grep | awk '\''{print $2}'\'' | xargs kill -9'
> done

?
or i'd say to remove the leading char altogether

I'm for the latter so it's easier to just grab it from the snippet and paste it somewhere. Otherwise you'd have the same problem as now - need to paste it somewhere intermediate to remove all those extra characters.

@neykov if you use the clipboard icon in the corner it does that for you, though i agree if you don't know about it it's irritating -- trying to fix that

The clipboard icon doesn't work on flash-free browsers so better not to depend on it doing the stripping.

+1

@neykov is https://github.com/apache/brooklyn-docs/pull/123 a better approach?
no strong feelings if you prefer to remove the >  multi-line prompt IE layer this on top of that
i suspect the -saefafefj flags to curl is a mistake which should be removed (and grep for it, i've noticed it in another file too) but want to confirm just in case it's a magic incantation on another curl impl /cc @grkvlt @Graeme-Miller

Closing in favour of #123.
Good spot on the curl argument agree should be safe to remove.


Missing 0.4.1 release for provided wheels

Hey folks I just upgraded my pytorch installation to 1.3 and had a look at torchvision, too.
I can find 0.4.1 releases on
https://download.pytorch.org/whl/cpu/torch_stable.html
e.g. https://download.pytorch.org/whl/cpu/torchvision-0.4.1%2Bcpu-cp36-cp36m-linux_x86_64.whl
but I can neither find a release here on Github releases, nor a proper git tag for v0.4.1.
Could you create a push a v0.4.1 git tag.
Or is there a reason it there are v0.4.1 wheels but not a v0.4.1 release?

@daniel-j-h The 0.4.1 release is a dummy release for torchvision binaries to be compatible with PyTorch 1.3.
It doesn't actually bring any of the new features from torchvision master (except for a single bugfix).
We are planning on cutting a new release of torchvision in the next few weeks.
cc @soumith if we should cut a dummy release on GitHub.

Discussed with @soumith about it, we will be publishing a new torchvision GitHub release

Any update here? Even just tagging the release without adding release notes would be helpful.

Just created a new release tag in https://github.com/pytorch/vision/releases/tag/v0.4.1


[QUESTION] any way to respawn the agent after death

Is there any way with des format or some internal tools not to end the episode after death, but to revive the agent at the starting position of the spawn?
For context, I want to make an additional environment to test the agent's memory. For example, fill everything with lava, then add a corridor from one start point to the end point, but limit the agent's FOV. In order to solve it, the agent would have to randomly try directions, dying in the lava and reviving, but remembering the previously opened corridor cells (to eventually get to the end point).
Thanks!

Hi @Howuhh. Thanks for your interest. There are a few solutions.
Solution 1: A quick solution could be just add the code that memorises the trajectory before dying and then recreate the exact state upon which the agent died by just selecting actions from the trajectory one after another. I know this is not perfect, but relatively easy to implement.
Solution 2: Use the wizard mode which is supported by both MiniHack and NLE. This is a debug mode of the NetHack game whereby the player may try out anything they might want to test. In complex environments wizard mode might change the environment significantly, but in your case using it out-of-the-box should be straightforward.  Note that you'd have to answer this question programmatically.
Hope this help. Let me know if these work!


Use unused param in SpatialAwarenessPlanarObject

Overview
The name parameter in CreateSpatialObject was previously unused.
This change aligns with the mesh observer, which uses the name to name the GameObject
https://github.com/microsoft/MixedRealityToolkit-Unity/blob/d0884451fcc2516f769f416863893b0387a1facc/Assets/MRTK/Core/Definitions/SpatialAwareness/SpatialAwarenessMeshObject.cs#L51

/azp run

/azp run


perf: optimize cluster operation tab

Signed-off-by: liuying<EMAIL_ADDRESS>
What type of PR is this?
/kind bug

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #191
Special notes for reviewers:

Does this PR introduced a user-facing change?

Additional documentation, usage docs, etc.:

Codecov Report

Merging #213 (8f6f2df) into master (5abb993) will not change coverage.
The diff coverage is n/a.


Update to use template files

Pull Request (PR) description

Update appveyor.yml to use the default template.
Added default template files .codecov.yml, .gitattributes, and .gitignore, and
.vscode folder.

This Pull Request (PR) fixes the following issues

Task list

[x] Added an entry under the Unreleased section of the change log in the README.md.
Entry should say what was changed, and how that affects users (if applicable).
[ ] Resource documentation added/updated in README.md.
[ ] Resource parameter descriptions added/updated in README.md, schema.mof
and comment-based help.
[ ] Comment-based help added/updated.
[ ] Localization strings added/updated in all localization files as appropriate.
[ ] Examples appropriately added/updated.
[ ] Unit tests added/updated. See DSC Resource Testing Guidelines.
[ ] Integration tests added/updated (where possible). See DSC Resource Testing Guidelines.
[ ] New/changed code adheres to DSC Resource Style Guidelines and Best Practices.

This change is

Codecov Report

:exclamation: No coverage uploaded for pull request base (dev@fd6e712). Click here to learn what that means.
The diff coverage is n/a.

@@          Coverage Diff          @@
##             dev     #21   +/-   ##
=====================================
  Coverage       ?   2.12%
=====================================
  Files          ?       1
  Lines          ?      47
  Branches       ?       0
=====================================
  Hits           ?       1
  Misses         ?      46
  Partials       ?       0

Continue to review full report at Codecov.

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


net/http/pprof: pprof over HTTPS

Please answer these questions before submitting your issue. Thanks!

What version of Go are you using (go version)?

1.6

What operating system and processor architecture are you using (go env)?

GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/erwin/Go"
GORACE=""
GOROOT="/usr/local/Cellar/go/1.6.2/libexec"
GOTOOLDIR="/usr/local/Cellar/go/1.6.2/libexec/pkg/tool/darwin_amd64"
GO15VENDOREXPERIMENT="1"
CC="clang"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fno-common"
CXX="clang++"
CGO_ENABLED="1"

What did you do?

$ go tool pprof https://<IP_ADDRESS>:8900/debug/pprof/profile

What did you expect to see?

PPROF console/result

What did you see instead?

Fetching profile from https://<IP_ADDRESS>:8900/debug/pprof/profile
Please wait... (30s)
http fetch https://<IP_ADDRESS>:8900/debug/pprof/profile: Get https://<IP_ADDRESS>:8900/debug/pprof/profile: x509: cannot validate certificate for <IP_ADDRESS> because it doesn't contain any IP SANs

========================
How can I actually hand my certificate over to the pprof tool?

Your certificate is already being transported to the pprof tool over the HTTPS connection.  The problem is it's not valid for the IP address <IP_ADDRESS>.

Ah yes that seemed to fixed it. Oddly enough browsers and test-tools accept both <IP_ADDRESS> and localhost locally for testing on that certificate tho.
Now I'm not getting any output tho. I'm using Gin and have _ "net/http/pprof" also imported but not seeing anything:
$ go tool pprof https://localhost:8900/debug/pprof/profile
Fetching profile from https://localhost:8900/debug/pprof/profile
Please wait... (30s)
Saved profile in /Users/erwin/pprof/pprof.localhost:8900.samples.cpu.002.pb.gz
Entering interactive mode (type "help" for commands)
(pprof) list
profile is empty
(pprof) top5
profile is empty
(pprof) top
profile is empty

Am I missing something?

I'm guessing your service was idle during those 30 seconds, so there was nothing for pprof to measure.
It seems like there's no bug here, so I'm going to optimistically close.  Happy to reopen if mistaken though.
If you have more questions about using Go (as opposed to suspected problems within Go itself), please see: https://github.com/golang/go/wiki/Questions
Cheers


add description field with accordion ui to grooming task

https://www.figma.com/file/ytuQPsJss0mXlAwjLRWMvP/Pollgroo?type=design&node-id=1410-1338&mode=design&t=cUzVLe2fprDgihg7-0


CMS for FAQ

Is your feature request related to a problem? Please describe.
There is no way to change FAQ text from the CMS at the moment.
Describe the solution you'd like
Add CMS schema and use it in Liquid template.
Describe alternatives you've considered
Nope. Just do it.
Additional context

Done in #122


Add comments with names of TrueType instruction to assembly

Thanks.  I cherry-picked one commit.  Here it is: https://github.com/behdad/fonttools/commit/5d66d59a1f3a25f31fd696bf6024da71251a977b


data can't equal rules all time mr

rules
can't depends on rules to get data every time please make something new
 - $data = Validate(........
 + $this->validate(.......
 + $data = request()-excepts($excepts); # or any thing similar

thanks

One of the important factors I take into account while developing the package is security, you should type all expected data for security reasons.
For more information read this
https://github.com/alexeymezenin/laravel-best-practices/issues/22


Do not realize all configurations by default

Fixes https://github.com/gradle/gradle/issues/28192
Fixes https://github.com/gradle/gradle/issues/15639
Partially fixes https://github.com/gradle/gradle/issues/26418 (We will not deprecate auto building, just change behavior and warn about it in upgrade guide. Detecting this is hard, and avoiding this behavior relies on buildscript changes that we don't want to propogate eveywhere)
Commit 1:
Deprecate DefaultArtifactPublicationSet (used by KMP, they will have to change their plugin logic to have the assemble task directly depend on their artifact).
This removes implicit behavior where any artifact registered with this set is 'intelligently' selected to be built by the assemble task.
Now, the jar, war, and ear are all built when running assemble
Add artifacts directly to the archives configuration in the war, ear, java, and distributions plugins.
In 9.0, we will add a dependency directly from the assmeble task to these artifacts, skipping the archives configuration.
For now, we don't want to change behavior if users expect these artifacts to be in the archives configuration.
Deprecate the archvies configuration.
Deprecate adding artifacts to the archives configuration (You can still add archives to non-consumable configurations and therefore configurations that are deprecated for consumption, as Android and Kotlin use non-consumable configurations for publishing)
Add a test to verify that we do not automatically realize registered configurations in WellBehavedPluginTest
Add tests to verify new deprecations
Add test to verify assemble task can be referenced directly with dependsOn to add artifacts to be built during that lifecycle task
Commit 2:
We avoid realizing lazy configurations in the target project that are known to be non-consumable.
We leverage the public type of the pending Provider, as that encodes the known role of the configuration.
For unlocked configurations without a role, we still need to realize the configuration to determine if it is consumable or not.
This may show improvements in some projects that heavily use lazily registered configurations.
 We will likely see improvements then.
This change is to open the pathway for ecosystem plugins to create more Configurations without fear of the overhead associated with them.
Reviewing cheatsheet
Before merging the PR, comments starting with

❌ ❓must be fixed
🤔 💅 should be fixed
💭 may be fixed
🎉 celebrate happy things

Superseded by https://github.com/gradle/gradle/pull/31682, which does not require all the archives/assemble work


Raspberry Pi 3B - error 1

Hi everyone, I have a question. I'm trying to upload SW to an ESP32 and when I compile it gives me the following:
Linking /data/home-assistant-glow/.pioenvs/home-assistant-glow/firmware.elf
collect2: fatal error: ld terminated with signal 9 [Killed]
compilation terminated.
*** [/data/home-assistant-glow/.pioenvs/home-assistant-glow/firmware.elf] Error 1
========================= [FAILED] Took 607.65 seconds =================== ======
Does anyone know what to do with it? I already had it working normally, but then I switched to another RPi and it doesn't work anymore. Thanks

Unfortunately, I am not familiar with this error.


Release tmt-1.32.1

Fixing spec file version in order to be able to update Fedora packages.

I've seen the failure else in another PR, glad it's not because of my changes there.
It seems like centos offers pytest 6.2.2 - no idea how this could eve pass :O

This should help:
diff --git a/tests/unit/test.sh b/tests/unit/test.sh
index 53864417..6378f207 100755
--- a/tests/unit/test.sh
+++ b/tests/unit/test.sh
@@ -44,7 +44,13 @@ rlJournalStart
             rlRun "TEST_VENV=$(mktemp -d)"

             rlRun "python3 -m venv $TEST_VENV --system-site-packages"
-            rlRun "$TEST_VENV/bin/pip install pytest-container pytest-xdist"
+
+            # Only pytest-container <= 0.3.0 works with pytest 6.2.2 in CentOS Stream 9.
+            if rlIsCentOS "=9"; then
+                rlRun "$TEST_VENV/bin/pip install pytest-container==0.3.0 pytest-xdist"
+            else
+                rlRun "$TEST_VENV/bin/pip install pytest-container pytest-xdist"
+            fi

             # Note: we're not in the root directory!
             rlRun "$TEST_VENV/bin/python3 -m $PYTEST_COMMAND $PYTEST_PARALLELIZE $PYTEST_MARK ."

         rlRun "python3 -m venv $TEST_VENV --system-site-packages"

@happz I think using site-packages will potentially keep producing issues like this going forward. Are you sure you want to keep doing workarounds for version conflicts?
@psss do you want it fixed as part of this release?

         rlRun "python3 -m venv $TEST_VENV --system-site-packages"

@happz I think using site-packages will potentially keep producing issues like this going forward. Are you sure you want to keep doing workarounds for version conflicts?

I'm sure we shouldn't keep such workarounds for too long - I guess it's fine for now, a week or two, or one or two releases, but eventually, it should be resolved.
On the other hand, some of them might be impossible to resolve from our end, like this one. The most recent pytest-container is not compatible with pytest 6.2.2, and CentOS Stream 9 does not ship newer pytest, I'm not sure how we could fix this particular trouble without an exception. Some of them might stick with us :(

pytest-container is not compatible with pytest 6.2.2

@happz wouldn't it be better to update pytest from pypi rather than lowering plugin versions though? There shouldn't be a conflict, as we're explicitly using venv: rlRun "$TEST_VENV/bin/python3 -m $PYTEST_COMMAND.
something like:
             rlRun "python3 -m venv $TEST_VENV --system-site-packages"
             # pytest-containers 0.4.0 is not compatible with c9s pytest 6.2.2
             if rlIsCentOS "=9"; then
                 rlRun "$TEST_VENV/bin/pip install -U pytest"
             rlRun "$TEST_VENV/bin/pip install pytest-container pytest-xdist"

Or that, yes. No preference.

I am confused, packit should have updated the version automatically on propose_downstream what happened here?

I am confused, packit should have updated the version automatically on propose_downstream and I don't see any special action in .packit.yaml what happened here?

packit is not configured to bump version in .spec file and I wrongly assumed it does so when doing the release commit.

But the default should be that it does, on mine it bumps always from 0.0.0: https://github.com/scikit-build/scikit-build-core/blob/main/.packit.yaml

But the default should be that it does, on mine it bumps always from 0.0.0: https://github.com/scikit-build/scikit-build-core/blob/main/.packit.yaml

yes, tmt is not using default. Same with changelog.

For the changelog I saw the sync_changelog: true, but I did not see anything about the version :/. Am I blind or is there something else happening?

* These both are reporting: "Running default implementation for ActionName.prepare_files"

I'm not yet super familiar with packit to be honest. Perhaps it's done by running get-current-version action, but that's a guess.

* These both are reporting: "Running default implementation for ActionName.prepare_files"

I'm not yet super familiar with packit to be honest. Perhaps it's done by running get-current-version action, but that's a guess.

I have reported upstream. That was my suspicion as well, but I saw that that one was limited to copr_build job, in which case it should not have effected that default. This seems like a bug on their side

I have reported upstream. That was my suspicion as well, but I saw that that one was limited to copr_build job, in which case it should not have effected that default. This seems like a bug on their side

Not sure about it being a bug, but fwiw packit did detect the old version:
2024-03-27 15:43:59.022 api.py     WARNING Version '1.31.0' in spec file is outdated.

Indeed, but similarly it did with scikit-build-core that I linked there. The weird part where they differ is after the "Running default implementation for ActionName.prepare_files"  line

wouldn't it be better to update pytest from pypi rather than lowering plugin versions though?

+1 I see no point in limiting us to old pytest as long as it doesn't inject newer dependency of tmt itself.

Ok, packit came back with an explanation. When using sync_changelog: true, this implies version is not bumped. It was not documented as such though, but this explains stuff

Infra is not so great today so I'm merging without waiting on it. It is just a few simple lines, what can go wrong. Right? Right?!


Test ownership by testing ownership directly

Test ownership by testing ownership directly
Issue: currently we test if a provider is owned by the forklift controller indirectly by testing the url,
Fix: testing the owner reference is more direct and self explanatory.

@rszwajko hi, can you "take over" this issue ?

closing in favor of @rszwajko 's fix

Work completed in https://github.com/kubev2v/forklift-console-plugin/pull/249


docs: add Let's Encrypt how to

Incorporating https://blog.heptio.com/how-to-deploy-web-applications-on-kubernetes-with-heptio-contour-and-lets-encrypt-d58efbad9f56 into the Contour documentation.
Signed-off-by: Dave Cheney<EMAIL_ADDRESS>

@Bradamant3 ping, i'd like to get this reviewed for the 0.4 release on 15 march


Documentation for pluggable serdes

Minor serde's code improvements
Javadoc added to serde-related code

[ ] Breaking change? (if so, please describe the impact and migration path for existing application instances)

What changes did you make? (Give an overview)
Is there anything you'd like reviewers to focus on?
How Has This Been Tested? (put an "x" (case-sensitive!) next to an item)

[ ] No need to
[ ] Manually (please, describe, if necessary)
[x] Unit checks
[ ] Integration checks
[x] Covered by existing automation

Checklist (put an "x" (case-sensitive!) next to all the items, otherwise the build will fail)

[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation (e.g. ENVIRONMENT VARIABLES)
[x] My changes generate no new warnings (e.g. Sonar is happy)
[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
[x] Any dependent changes have been merged

Check out Contributing and Code of Conduct
A picture of a cute animal (not mandatory but encouraged)

Might adding a note about className to https://github.com/provectus/kafka-ui/blob/master/documentation/guides/Protobuf.md


Fix Close Device of Python API

Fixes #1557
Description of the changes:

Add check if device handle is None to close(), stop_cameras(), and stop_imu().
Call stop_cameras() and stop_imu() in destructor instead of calling them in close().

Before submitting a Pull Request:

[x] I reviewed CONTRIBUTING.md
[x] I built my changes locally
[x] I ran the unit tests
[x] I ran the functional tests with a device
[x] I ran the performance tests with a device

I tested changes on:

[x] Windows
[ ] Linux

I've tested this also and it looks like a good fix.


add setContext method

A reasonable extension to this (possibly to be included here) is to also allow setProperty to work. Currently it doesn't as this doesn't allow for multiple arguments.

@tlambert03 if you have a chance could you look at this?
basic usage is like this:
from pymmcore_plus import CMMCorePlus
core = CMMCorePlus.instance()
with core.setContext(autoShutter = False):
    assert not core.getAutoShutter()
    # do other stuff
assert core.getAutoShutter()


Split out DSA full and DSA slim to make it clearer to students which they should use

Split out DSA full and DSA slim to make it clearer to students which they should use.

@turnbullja could you please provide the URLs where we could validate the changes when deploying? Otherwise we have to track down the logic to see what questions lead to those outcomes :)
Thanks


Insert blank lines in "human-readable question" for scenario

Oh yeah - it looks like the scenario isn't getting added. Should I just preserve the key value here? I.e. << topic >>?


no devices created with homematic integration

I have homeassistant 0.109.6 with homematic integration and hmip-rfusb.
I habe 2 hmip-bwth, web ui of homematic is working and there are created 2 entities for each hmip-bwth with correct values. I can change the values in home assistant but for these entities there are no devices so that i cannot change the room for example.
Why are the devices missing but entities are present?
My config of add in:
1 rf_enable: false
2 wired_enable: false
3 hmip_enable: true
4 rf:
5  - type: CCU2
6 device: /dev/ttyAMA0
7 wired:
8 - serial: xy
9  key: abc
10 ip: <IP_ADDRESS>
11 hmip:
12  - type: HMIP_CCU2
13 device: /dev/ttyUSB0
14 regahss_reset: false
and in configuration.yaml:
homematic:
interfaces:
hmip:
host: core-homematic
port: 2010
username: Admin
password: xxxxxxx
resolvenames: json
groups:
host: core-homematic
port: 9292
username: Admin
password: xxxxxxx
resolvenames: json
path: /groups

Hi 👋
This is the issue tracker for the addon however, it seems like you have an issue with the integration inside Home Assistant, please open an issue in this repo: https://github.com/home-assistant/core/issues, thanks 👍


DBMAIL in babelfish.

How can we configure PGMAIL or any other extensions to send email from babelfish

@kranthi1385
You can use COPY command with the PROGRAM option to invoke a script or some utility (for example, swaks) to send emails. See the example of calling pg_dump.


Adding Auth Functionality into Kafdrop

Hi, we would like to open a pull request and add authentication functionality into Kafdrop (by adding and configure Spring Security). Just want to touch base with you to see if you like the idea before we open the pull request; otherwise we'll fork the project and host with the auth feature by ourselves. Any suggestions or feedback will be appreciated. Thanks!

@wxinuwaterloo , would you consider doing this work on Kafdrop 3. Your fork might require significant rebasing as the two projects have materially diverged.


As a frontend developer I need to get professionals filtered by tags to show them to students

Resolved as part of #5 .


Fix STAGE dataset links

Fixes: #1360

@katevoss, that's a great point. @bradtaylor, please see Kate's screenshot. Merging for now so that the link is correct. Please provide feedback if you want us to make further changes to the text.