Update script for 114th congress

By default the script is searching for the 113rd congress. It should be changed to 114 by default in:
    parser.add_argument(
        '-n', '--congress', default='113',
        help="Congress session number, for example: 110, 111, 112, 113")

But when running on the 114, it doesn't find any links:
$ python scripts/gpo_member_photos.py -n 114
Updating the congress-legislators repo...
The system cannot find the path specified.
Submit congress session number: 114
Links: 0
Found a total of 0 member links
---
Didn't resolve Bioguide IDs: 0
Welcome to Git (version 1.9.5-preview20141217)

Run 'git help git' to display the help index.
Run 'git help <command>' to display help for specific commands.
Silently Installing...
mkdir: cannot create directory `congress/225x275': File exists
mkdir: cannot create directory `congress/450x550': File exists

It's possible the whole site is down this morning. I've been trying to check it manually and not getting anything.

@hugovk, I called GPO to ask about the member guide website, and someone there estimated that it would be updated for the 114th in June. So assuming that that's true, gpo_members.py probably isn't going to work for the 114th for a while. I assume that Booker (ref #8) — like Rep. Brat, etc. — isn't on the GPO member guide for the 113th because he took office through a special election. Which I believe means that missing legislators will remain a mostly manual job unless we find a new data source.
@rshorey bioguide is also down for me, but the GPO member guide is up.

Hm. You guys don't pull from this site? http://bioguide.congress.gov/scripts/biodisplay.pl?index=P000612. The logic for scraping the images and all that seems relatively simple/predictible as Perdue's link is:
http://bioguide.congress.gov/bioguide/photo/P/P000612.jpg
Just curious.

@jonrobinson2 Have to be careful with that because bioguide photos may be subject to copyright. From http://bioguide.congress.gov/copyright.htm:

Images on this site are provided as a contribution to education and scholarship. Not all images are in the public domain; some images may be protected by the U.S. Copyright Law (Title 17, U.S.C.). Do not duplicate without permission from copyright holder. Copyright information is provided whenever possile, but it is ultimately the responsibility of the user to determine and satisfy the copyright and other restrictions.

All of the photos for historical MoCs on GovTrack come from bioguide.... under a hopeful premise that the really old photos are out of copyright. :) https://www.govtrack.us/data/photos/

Interesting. That is sufficiently vague language.


How to submit form in react native

Hi,
I have form in my React Native app:
<Form model="user" onSubmit={user => onSubmit(user)}>
    <Field model="user.name">
        <TextInput onBlur={() => validate('user.name', () => false)}/>
    </Field>
    <TouchableHighlight onPress={onPress} underlayColor={'gray'} style={styles.button}>
        <Text>{text}</Text>
    </TouchableHighlight>
</Form>

but I don't know how to submit form in proper way (in onPress function).
I know that I can use action.submit  but then I will bypass for example submit prevention when fields are invalid (for test user.name field is forced to invalid).
You are do checks on handleSubmit in form component and I would like to use them but I don't know how to submit form programatically.

Instead of using <Form>, have a handler on your parent component, such as:
// ...
handleSubmit() {
  const { userForm, user } = this.props;

  if (userForm.valid) { // userForm.$form.valid in V1
    // submit user here
  } else {
    // show errors
  }
}

and have the onPress={...} handler of <TouchableHighlight> call handleSubmit.

It works:) thank you for your help.

@davidkpiano
How to use onSubmit without a button, how to use something like onChange on the form ?
Thanks!


I can not ping from wsl to my Wireless LAN adapter Wi-Fi IP

Version
Microsoft Windows [Version 10.0.19041.1288]
WSL Version

[X] WSL 2
[ ] WSL 1

Kernel Version
5.10.16
Distro Version
Ubuntu-20.04
Other Software
node.js and using http-server
Repro Steps
// wsl
$ ping <IP_ADDRESS>
PING <IP_ADDRESS> (<IP_ADDRESS>) 56(84) bytes of data.
^C
--- <IP_ADDRESS> ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2108ms

Also, I get this error when trying to create an http server:
// wsl
$ http-server -a <IP_ADDRESS>
node:events:368
      throw er; // Unhandled 'error' event
      ^

Error: listen EADDRNOTAVAIL: address not available <IP_ADDRESS>:8080
    at Server.setupListenHandle [as _listen2] (node:net:1302:21)
    at listenInCluster (node:net:1367:12)
    at doListen (node:net:1505:7)
    at processTicksAndRejections (node:internal/process/task_queues:84:21)
Emitted 'error' event on Server instance at:
    at emitErrorNT (node:net:1346:8)
    at processTicksAndRejections (node:internal/process/task_queues:83:21) {
  code: 'EADDRNOTAVAIL',
  errno: -99,
  syscall: 'listen',
  address: '<IP_ADDRESS>',
  port: 8080
}

Expected Behavior
To get response from ping. And to be able to create an http-server mapping my real local network ip.
 : Media disconnected
   Connection-specific DNS Suffix  . :

Ethernet adapter vEthernet (WSL):

   Connection-specific DNS Suffix  .   : Media disconnected
   Connection-specific DNS Suffix  .  : Media disconnected
   Connection-specific DNS Suffix  . :

Wireless LAN adapter Wi-Fi:

   Connection-specific DNS Suffix  .  : Media disconnected
   Connection-specific DNS Suffix  . :

@Josema Did you find a solution?  Im encountering the same issue


PR for Payment form SSOC'23 #291

I have Added payment form in the directory. Please merge this PR

@Vikash-8090-Yadav check this PR

@Venerablevivek please create a README.md file in your project and attach working video of your project in that file and here in conversation section too.

@Venerablevivek If you want to contribute your project under SSOC'23 then you should complete it ASAP.

@Venerablevivek issue number bro?

@Venerablevivek If you want to contribute under SSOC'23, then complete it ASAP.


_lwp api solarish addition.

I'd have to do more looking, but I'm pretty sure that those are private symbols that external consumers should not be building dependencies upon.

I am also inclined not to put these in here.  Where were you hoping to consume these symbols?
There are better alternatives for some of them; e.g., thr_kill() is better than _lwp_kill().

I'd have to do more looking, but I'm pretty sure that those are private symbols that external consumers should not be building dependencies upon.

Fair enough, it was not obvious from their respective man pages.


Fix examples/glview rotations

GLtf defines rotations as quaternions, glRotated expects angle/axis, with angle in degrees.

@tsmaster Super awesome! Thanks! Merged!

In additional testing (with the other cars in Kenney's Car Kit), I think
the Translation/Rotation/Scale matrices have the scale in the wrong order.
I'll send another PR for that soon.
On Tue, Mar 1, 2022 at 9:55 AM Syoyo Fujita @.***>
wrote:

@tsmaster https://github.com/tsmaster Super awesome! Thanks! Merged!
—
Reply to this email directly, view it on GitHub
https://github.com/syoyo/tinygltf/pull/349#issuecomment-1055704043, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAARVESCTWEDKWIS5OWNHVLU5ZK2DANCNFSM5PUPM42A
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>


Fix setting the invalid losses to "inf"

The propagation of values was wrong.
E.g. loss = [1, 2, NaN, 3, NaN] -> isnan(loss) == [False, False, True, False, True]
Thus loss[isnan(loss)] would have shape (2, ), however isnan(loss) would have shape (5, ).
PyTorch supports propagating a scaler into tensor.

I suppose, this is wrong. Should all NaN losses be changed to inf?


[package request] - pycoq

Package Request
https://github.com/ejgallego/pycoq

ibm has a pycoq too https://github.com/IBM/pycoq


Self - Modified Startup.cs

Startup.cs contains autostart and install locations that are being flagged by Windows Defender.

Ref: https://github.com/quasar/QuasarRAT/issues/611


Question: Best way to handle multiple entities depending on each other

Hey there,
first off, great repository. Learned a lot! However, right now I am tackling a problem which I don't have a definitive answer to.
I have CreateCustomerCommand which will be handled by a CustomerCommandHandler.
The customer command has some other information, lets say an address. I want to store that address via a address repository.
How would I go about that?
Right now I thought about 2 ways:

Inject the address repository, create an address object and add it to the address repository. Commit() will handle both.
Send another command "AddCustomerAddressCommand" from the CustomerCommandHandler which will then be handled by a AddressCommandHandler and will get saved there.

Maybe there is a third way I am not thinking of. Would love to learn about a good solution to this.
Thank you!

Depends. If Customer is a AggregationRoot and Address is part of this aggregation you need to have just one repository for this entities. Also my recommendation is add address in Customer AddressCollection and save both at the same time by EF. To edit or remove Address you can use more commands and the same customerHandler.
If Address is not part of Customer aggregation you can send a new command to handle de address when you are saving the customer.


fixed note about the verbose parameter based on feedback from Chris W

@CWiswell-IDM , could you take a look at why the baseline test failed?

Test failed because of Numba issue; fixed on master


feat: Implement eth_getTransactionReceipt method

Description
https://github.com/keep-starknet-strange/rosettanet/blob/main/rpc-call-examples/eth_getTransactionReceipt.hurl
https://github.com/keep-starknet-strange/rosettanet/blob/main/rpc-call-examples/starknet_getTransactionReceipt.hurl
Same call. Just format output.
Requirements

Unit tests have to be implemented.
Do not change the existing type structure
Tests must have non-existent transaction results as well.

Completion Time
The issue is assumed to be completed in 5 days. If you need more time, please also specify that.
This issue is reserved for a local event in Istanbul
Bounty: 80 STRK

2h

Hey @ermvrs
I will attend to Istanbul event. I want to take this issue.

Hey there, can i get this?

I'll hop on this


[@open-wc/testing-helpers]: no exported member getScopedElementsTemplate

When trying to setup a freshly generated project, I get an error during npm install.
Expected behavior
I would expect @open-wc/testing-helpers to install cleanly without issues.
Actual Behavior
$ npm i

><EMAIL_ADDRESS>prepublish
> tsc && npm run analyze -- --exclude dist

node_modules/@open-wc/testing-helpers/types/src/litFixture.d.ts:10:209 - error TS2694: Namespace '"/**/foo-bar/node_modules/@open-wc/testing-helpers/types/src/scopedElementsWrapper"' has no exported member 'getScopedElementsTemplate'.

10 export function litFixtureSync<T extends Element>(template: LitHTMLRenderable, options?: import('./fixture-no-side-effect.js').FixtureOptions, getScopedElementsTemplate?: import('./scopedElementsWrapper.js').getScopedElementsTemplate): T;
                                                                                ~~~~~~~~~~~~~~~~~~~~~~~~~

Found 1 error.

npm ERR! code 1
npm ERR! path /**/foo-bar
npm ERR! command failed
npm ERR! command sh -c tsc && npm run analyze -- --exclude dist

npm ERR! A complete log of this run can be found in:
npm ERR!     /**/.npm/_logs/2021-10-02T19_01_40_131Z-debug.log

Additional context
$ npm init @open-wc

Choices

What would you like to do today? > Scaffold a new project
What would you like to scaffold? > Web Component
What would you like to add? > Linting, Testing, Demoing
Would you like to use typescript? > Yes
Do you want to write this file structure to disk? > Yes
Do you want to install dependencies? > No

$ npm version
{
  npm: '7.24.1',
  node: '14.17.6',
  v8: '8.4.371.23-node.76',
  uv: '1.41.0',
  zlib: '1.2.11',
  brotli: '1.0.9',
  ares: '1.17.2',
  modules: '83',
  nghttp2: '1.42.0',
  napi: '8',
  llhttp: '2.1.3',
  openssl: '1.1.1l',
  cldr: '39.0',
  icu: '69.1',
  tz: '2021a',
  unicode: '13.0'
}

$ tsc --version
Version 4.4.3

@open-wc/testing-helpers: 2.0.0-next.2

Might be related to #2302

I'm experiencing exactly the same problem


Feature request: fill pdf forms

Would be amazing to be able to edit an existing pdf that way!

Load pdf form
Fill it
Flatten it

+1

Hi @diegocr, and thanks for your work! Which is the technical problem for supporting fillable forms? Maybe I could spend some time to fix that, once I know the technical difficulties :)

@ioggstream you mean like the Acroform plugin does?


feature: added debounce operator

Hey, because of issue #129 , I created the debounce operator.

Pull Request Test Coverage Report for Build 479

11 of 14 (78.57%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.03%) to 83.526%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

connectableobservable.go
0
3
0.0%

Totals

Change from base Build 478:
-0.03%

Covered Lines:
2312

Relevant Lines:
2768

💛  - Coveralls


Move help_* out of settings root

This moves the help_ settings file entries into their respective parent keys.
ansible-navigator.help-builder => ansible-navigator.ansible-builder.help
ansible-navigator.help-config => ansible-navigator.ansible.config.help
ansible-navigator.help-doc => ansible-navigator.documentation.help
ansible-navigator.help-inventory => ansible-navigator.ansible.inventory.help
ansible-navigator.help-playbook => ansible-navigator.ansible.playbook.help
documentation will be moved to ansible.doc in a future PR

Should we write a porting guide to explain the breaking chances?

Definately.


Could not install ipykernel in devcontainer

Testing #7680

On MacOS
Open the jupyter-datascience-notebooks dev container from https://github.com/Microsoft/vscode-dev-containers
Follow instructions in test plan item up to running the cell
Click prompt to install ipykernel

Bug
I get a error notification :
Could not install ipykernel. If pip is not available, please use the package manager of your choice to manually install this library into your Python environment.

Potentially relevant other logs from dev tools:

I was using the following kernel:

Hm looks like I'm not using the kernel from virtualevn I just created, however it doesn't show up in the list of kernels:

@mjbvz Two questions:

Did you have the latest python insiders installed?
Did you create the virtual env before starting VS code?

The pip error means you have to get pip yourself. Not sure why we don't just run 'ensurepip' but here's the directions:
https://pip.pypa.io/en/stable/installation/

Yes I believe so. Here's the extra information:

Python ext version: v2021.10.1283853053-dev
Jupyter ext version: v2021.9.1001281857
Host OS: MacOS 11.6
Remote OS: Linux e8ce3374e5c4 5.10.47-linuxkit #1 SMP Sat Jul 3 21:51:47 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

I think so but here's more info about what I did:

First I opened the data science dev container from vscode-dev-containers
Then I ran python -m venv mytestEnv
Then I opened the mytestEnv  folder (still inside that container)

Let me know if I should try something different instead

When you say this:

Then I opened the mytestEnv folder (still inside that container)

Do you mean you opened this as a folder in VS code?
That would prevent that virtual environment from being listed. You should open the folder just above that.

And because of this bug here:
https://github.com/microsoft/vscode-jupyter/issues/7583
you have to create the virtual env before opening the folder in VS code

Ah yes that was the issue! After opening the parent folder, I could select the kernel and then install worked properly

I'm going to open another issue to make us install pip. Seems weird that we can't just install it.

I'm going to open another issue to make us install pip. Seems weird that we can't just install it.

We're waiting on telemetry for this, Brett didn't want to install Pip as he didn't believe it was the right solution when I submitted a PR to do that in the Python extension.
@rchiodo /cc


Feature Request: color blending artifacting

This is an excellent emulator and it would be my daily driver if the visuals looked more like the Apple II video that I remember, which had the blurring and fringing of colors. AppleWin does a good job at this with their NTSC output, but I have to use Wine for that, and that's currently broken on my setup.

Do you have a couple of screenshots of what you mean? I added artifacts for HIRES, and the next version I push also have artifacts for DHIRES, so, there's progress! :-)

This is taken from the native Linux AppleWin port to SDL. I guess I should've said "I'm looking for NTSC artifacts"...

I just checked and yes this is a much more complex filter than the one I use -- I mostly do scanlines and some bleed. Perhaps at some point I'll make a shader of some sort to do this in the graphic card!

Have you seen this? https://zellyn.com/apple2shader/

Yes however after a few discussions, these shaders (not the only one) require a 'full video' decode path, ie all the apple2 memory is passed to the shader to render. This is all very well and good, but I'd like MII to still work on machines with no GPU. I Have Plans for a small device with that on.
I haven;t forgotten about you tho, next version has a new video pipeline, new DHRG color mode, and even a new fancypants low-res/double-lowres renderer. I'm quite happy with how the monochrome looks now, too (bit patterns)

Hey, that looks nice! And great to hear that you're exploring all the options. I understand about wanting it to be able to run on a non-GPU device, and I imagine these days, it would have to be pretty tiny not to have a GPU, but I'll be following your progress 😊

I'm going to close this, I see the new rendering and it's looking very nice now, thank you!
Also read the release notes and am happy to hear about these:

Added support for 'pasting' text in the emulator. Paste your pet BASIC programs, it works now. (Control-SHIFT-V -- not in a menu yet).
There is a non-functional Mockingboard driver in the code, it's not hooked up to the UI, it still needs work (mostly make the audio output work).


Hound ❤ Swiftlint

Added support for Hound to validate our Swiftlint specs.

Current coverage is 88.64% (diff: 100%)

Merging #10 into master will not change coverage

@@             master        #10   diff @@
==========================================
  Files            23         23
  Lines           599        599
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits            531        531
  Misses           68         68
  Partials          0          0

Powered by Codecov. Last update b90df08...689c62f


isExplicitNavigationBack is always false

I just recently discovered this very useful property, however when trying to use it it's always false - regardless if I use the browser's back button (not sure if that's even supported?) or Router.navigateBack().
I'm currently scrolling to the top of the page on the router:navigation:complete event from my main App class, but I would like to not do that if isExplicitNavigationBack:
import {inject} from 'aurelia-framework';
import {EventAggregator} from 'aurelia-event-aggregator';

@inject(EventAggregator)
export class App {
	constructor (ea) {
		this.ea = ea;

		this.ea.subscribe('router:navigation:complete', e => {
			// isExplicitNavigationBack is always false - whether using back button or Router.navigateBack()
			if (!e.instruction.router.isExplicitNavigationBack) {
				document.body.scrollTop = document.documentElement.scrollTop = 0;
			}
		});
	}
}

Is this a bug, or am I doing something wrong here?

Oh, I noticed that inside router:navigation:processing it is in fact true after using navigateBack(). That solves my issue as I can store the value of it and use it later on inside complete. I'm curious why it would be reset to false inside complete though? I still feel that's undesirable behaviour but I might be missing something?

Also, the fact that it's false when you use the normal back button inside the browser makes it much less useful. It would be awesome if it could be merged with the work done by @jwx for this very similar issue: https://github.com/aurelia/router/issues/436

I see that PR https://github.com/aurelia/router/pull/459 is just waiting to be merged, and that would solve everything as we'd have proper back/forward button support and more so I'll close this issue for now and hope to see that PR in the next release.


iOS App Notification shows "Unknown code" for Simplified Chinese and Lithuanian languages

The recent OctoPod update on OctoPrint (0.3.8 and after, can't remember if 0.3.7 also affected) seems broke the iOS App (Ver 3.12 build 4).
The previous version could normally send notifications like "print progress 25%" or "print complete". However, after updated OctoPod on OctoPrint, all the notifications are now just "Unknown code".

Hi @paul-tian,
Thanks for reporting this. Could you share your octoprint.log file? It should contain an error for the missing code and the missing language when this error happens. With that info we can troubleshoot and fix this.
BTW, update to version 0.3.9 that has some nice improvements. However, I assume you will see this same error.
Thanks,
Gaston

octoprint.log
Hello Gaston,
Here is my octoprint.log file. Sure there is something like
" - octoprint.plugins.octopod - ERROR - Missing translation for code Print progress in language zh".
I assume that the missing language translation is the reason for the "Unknown code".
BTW I could contribute to the translation of "ZH-CN" if needed.

oh, that explains why it's not working. plugin was expecting to see ZH-CN and not zh. That is why it's not finding the correct translation. Is there a way to configure your phone to use zh-cn? or is it always zh?
I might add some lookup logic that if someone looks for zh then it can use zh-cn.
谢谢
Gaston

I've tried to set my phone's region to China Mainland and Language to Simplified Chinese but the log still shows "missing zh". I'm not sure if my phone's model (not a China Mainland Version) is affecting.
I'll try to test with a China Mainland Version later.

no worries. I'm pushing a new version right now with the proper fix.

Done. Could you update to 0.3.10 release and let me know how things work for you? To force an update go here

谢谢
Gaston

Hello Gaston,
The 0.3.10 Version of OctoPod for OctoPrint seems good. Test Notification works as expected.
Cheers,
Paul

Excellent!!! Thanks for testing it!


Transpiled programs do not run

Source
report zexample.

start-of-selection.

  data lv_str type string.
  lv_str = 'Hello'.
  write lv_str.
  field-symbols <str> like lv_str.
  assign lv_str to <str>.
  write <str>.
  unassign <str>.

Transpiled to a program which does not run because of missing imports at the beginning
import runtime from "@abaplint/runtime";
global.abap = new runtime.ABAP();

And also when added, the program runs but does not output anything

focusing on getting unit tests running
not sure how/if to handle selection screens in PROGs

https://github.com/abaplint/transpiler/pull/958 merged


Inline SVG doesn't seem to be supported in components

There's a SVG (icon.svg) in my React component (foo), which is imported inline using svg-inline-react (component) and svg-inline-loader (Webpack loader).
import InlineSVG from 'svg-inline-react'
import icon from '!svg-inline!./icon.svg'

const foo = () => {
  return (

      <InlineSVG src={icon} />

  )
}

But jsdom doesn't seem to support SVG elements, so Mocha throws the following error (I'm not sure if that's the reason).

<InlineSVG />: raw prop works only when window.DOMParser exists.
module.js:341
throw err;
^
Error: Cannot find module '!svg-inline!./icon.svg'

Mocha settings:
require('babel-register')();

const jsdom = require('jsdom').jsdom;

const exposedProperties = ['window', 'navigator', 'document'];

global.document = jsdom('');
global.window = document.defaultView;
Object.keys(document.defaultView).forEach((property) => {
  if (typeof global[property] === 'undefined') {
    exposedProperties.push(property);
    global[property] = document.defaultView[property];
  }
});

global.navigator = {
  userAgent: 'node.js'
};

What can I do about that? Can I just ignore the <InlineSVG> component during my tests?

Are you using mount or shallow? If you're using mount does shallow work instead?

My test:
describe('<foo />', () => {
  it('contains bar', () => {
    expect(mount(<foo />)
      .contains(
)).to.equal(true)
  })
})

Both shallow and mount returns the same error.

"Error: Cannot find module '!svg-inline!./icon.svg'" seems unrelated to enzyme - perhaps the webpack loader isn't functioning correctly in your tests?

Yeah this seems to be due to a combination of issues with 1) jsdom not supporting SVG and possibly 2) your webpack loader configuration for your tests.
I'm going to close this since it's not an actionable issue for enzyme.

I guess it's the first one, because it seems to be specific to SVG. Other loaders (including inline ones) are working fine. The only impossible-to-test React components were the ones with inline SVG.
I was wondering how people solved it. Is there a way to ignore this SVG stuff? It doesn't need to be tested.
Anyway, thank you both for your attention!

@diessica you might want to look into a way to mock SVG files for tests. I'm not personally sure how to do that with Mocha (we mainly use Jest and its pretty easy there) so you may want [ask in the Mocha gitter channel[(https://gitter.im/mochajs/mocha) or on StackOverflow

Yeah, that's the way to go!
Thank you! 😀

For anyone still struggling with this issue: This has nothing to do with Enzyme. Check your Webpack and Mocha configuration.
My solution

I've stopped using Webpack inline loaders (for some reason they don't get read by Mocha – I was getting the module not found message).
I've ignored all SVG files using a compiler in Mocha
https://gist.github.com/diessica/76cdb131ddba6ef103d688ab7165c74e  (use it with --compiler CLI option).

For people still struggling with this issue: solution above isn't enough, so I wrote an article about it:
:fire: How to Exclude CSS, Images, Anything from Unit Tests
It works for any JS testing framework (Mocha, ava, Jest, whatever).
Really hope it helps!


Fix Responsive Issues

Guidelines 👇🏼
If you would like to be rewarded by BoxyHQ for your participation in contributing to Hacktoberfest, please register for our Hacktoberfest event.

User Story:
As a user, I expect the application to be responsive and display correctly on various devices and screen sizes. Currently, there may be some responsive issues that need attention and fixing.
Acceptance Criteria:

Perform a comprehensive review of the application on different devices (desktop, tablet, mobile sizes).
Identify and document any responsive issues that are affecting the user experience.
Prioritize and address each responsive issue systematically.
Test the fixes on various devices and browsers to ensure they resolve the problems effectively.
Once all responsive issues are resolved, verify that the application looks and functions correctly on different screen sizes.

Additional Information:
Ensuring that the application is responsive is essential for providing a seamless user experience. Fixing responsive issues will enhance usability and accessibility for all users, regardless of their device.

i can help in that can you assign it to me

@AniruddhaGawali, we need all client side pages to be responsive


Behavior when chips are selected.

I don't know if it's the expected behavior of this, when you select one or more items, and you unFocus the widget, the hint and TextInput disappears, this is annoying and confusing for the user doesn't have an input.

Hi, thanks for the input :) but this is expected behavior, regarding the UX/UI I wanted it to be like vue multi-select, that everything is basically "one input" that is what differs this package from the others and the reason I 've created it :)


go/constant: BinaryOp does not support relational operators on numbers

What version of Go are you using (go version)?
go version go1.7.3 linux/amd64
What did you do?
https://play.golang.org/p/Paqll33YBG
What did you expect to see?
false
What did you see instead?
panic: invalid binary operation 0 < 0

goroutine 1 [running]:
panic(0x132680, 0x1050a138)
	/usr/local/go/src/runtime/panic.go:500 +0x720
go/constant.BinaryOp(0x1c0e20, 0x1050e160, 0x28, 0x1c0e20, 0x1050e168, 0x1050e0f8, 0x0, 0x0)
	/usr/local/go/src/go/constant/value.go:1110 +0x2c0
main.main()
	/tmp/sandbox478253161/main.go:11 +0xa0

This might be too late for 1.8, depending on how much work it is to fix.

BinaryOp() does not handle comparison operations, Compare() does. Is it supposed to?
If not, we should give more helpful message saying that op X is not supported, and put that in doc as well (that would be trivial and can be done in time for 1.8).

I did not see Compare. I think a doc change on BinaryOp should suffice for now.


Powershell commands to verify the current status of MacSec in

The article correctly describes how to configure MacSec, however do we have any powershell command that list this parameters.
The default output of Get-AzExpressRoutePort -ResourceGroupName "your_resource_group" -Name "your_direct_port_name"
will only return the basic information, it will not show any of the elements referencing the Mac Sec configuration applied. This limits the troubleshooting we can do when you setup macsec and you find issues. We should at least have a command that list the cipher and keyvault information for macsec right?

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

ID: 1d55ccda-fe86-6732-41d3-abea758842c8
Version Independent ID: 4e043350-9d88-a57f-e743-a169d73d86be
Content: Azure ExpressRoute: Configure MACsec
Content Source: articles/expressroute/expressroute-howto-macsec.md
Service: expressroute
GitHub Login: @duongau
Microsoft Alias: duau

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

@joteromontes
Thank you for bringing this to our attention.
I've delegated this to content author @duongau, who will review it and offer their insightful opinions.

Hi @joteromontes, at this time we don't have that command but I have relay this to our PG team and they'll add this to their back log to review. For now I'll be archiving this issue. Thank you. #please-close


unpin numpy in conda-forge feedstock?

We're currently releasing gufe on CF with numpy <1.24.0.
I can't remember exactly why we were doing those anymore, do we want to revisit this pin?

We’ve never hit any issues iirc? We not linking etc
On Sat, 4 Nov 2023 at 09:13, Irfan Alibay @.***> wrote:

We're currently releasing gufe on CF with numpy <1.24.0.
I can't remember exactly why we were doing those anymore, do we want to
revisit this pin?
—
Reply to this email directly, view it on GitHub
https://github.com/OpenFreeEnergy/gufe/issues/248, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACGSGBZS6LQNPXZZ2VQPAZLYCYBMHAVCNFSM6AAAAAA65OG7O2VHI2DSMVQWIX3LMV43ASLTON2WKOZRHE3TOMRUHAYTMMI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

@dwhswenson might remember - there was some reason, maybe in openfe

IIRC, this is numba/numpy incompatibility introduced almost a year ago. Guess I didn't make a tracking issue on OpenFE; here's the OPS issue for it: https://github.com/openpathsampling/openpathsampling/issues/1127
Looks like numba > 0.57 should fix: https://github.com/numba/numba/releases/tag/0.57.0

Yes so we should drop the numpy pin and add a numba > 0.57 pin (but really this should be take care of by our deps that use numba, not us if we can help it)

Looks like this has been previously dealt with. I don't see numpy pins in either:

our gufe environment.yml
our gufe feedstock

Closing issue as completed.


Unimplemented CSR appears in the generated .S file

Hi everyone,
Here is my riscv_core_setting.sv:

// Implemented previlieged CSR list
ifdef DSIM privileged_reg_t implemented_csr[] = { else
const privileged_reg_t implemented_csr[] = {
`endif
// Machine mode mode CSR
MSTATUS,    // Machine status
MISA,       // ISA and extensions
MTVEC,      // Machine trap-handler base address
//    MSCRATCH,   // Scratch register for machine trap handlers
MEPC,       // Machine exception program counter
MCAUSE     // Machine trap cause
};

And here is base_testlist.yaml with my custom test:

test: test_arithmetics
description: >
Arithmetic instruction test, no load/store/branch instructions
gen_opts: >
+num_of_tests=100
+num_of_sub_program=5
+instr_cnt=2000
+no_csr_instr=0
+directed_instr_0=riscv_int_numeric_corner_stream,4
iterations: 1
gen_test: riscv_instr_base_test
rtl_test: core_base_test

However, the generated code has csrr and csrw operaions with the 0x340 (MSCRATCH) register which I have disabled. Also, csrr and csrw operations with the 0x340 register present inside the body of most handlers:

instr_fault_handler:
li x17, 0
csrw 0x340, x17
li x26, 0
0: csrr x17, 0x340

load_fault_handler:
li x17, 0
csrw 0x340, x17
li x26, 0
0: csrr x17, 0x340

Is it a normal result? I am not sure that this is a bug but in my opinion, disabled CSRs should not appear inside the body of the program.

Upd:
I have just realized that handlers I have mentioned are not used in my code so they are not the problem. However, csr operation with 0x340 appears inside the main func:

main:             beq        t5, t4, 5f
lui        a1, 335156
srai       t2, a0, 18
remu       a1, s9, a2
csrrwi     t2, 0x340, 23


Implemented @screen directive known from windi.css

https://windicss.org/features/directives.html#screen

Can you add some test cases about your commit?

I've added a test case. Please check it out :slightly_smiling_face:

Add lt and at variant support


Reproducing the results on the VOC dataset

Hi, thanks for your work.
I tried to reproduce the results on the VOC dataset. I added the dataset to your code. This is my fork.  I also added Timm wrapper to use timm models
I follow the article's recommendations and run the following command:
python train.py --data /path/to/voc --model-name  tresnet_l  --num-classes 20 --batch-size 48 --lr 2e-4
I achieved only 96.1 % with tresnet_l  (Q2L level)
Could you, please, help me to reproduce your results from the article ( 96.6 % ). Have you trained it with a larger batch size?

96.1% is not bad.
in any case, i trained with:
--learning_rate=5e-5 --batch_size=128
so i think you need lower learning rates.
play a bit larger batches, and reduced learning rates


updated Sort page to store the new referencetype (Experimental/Not_experimental/Meeting_abstract) in MRT table

and disabled the Workflow create section in workflow Editor page

Thanks @azurebrd


Added PoPGate tag for backup nhg test

Pull Request Functional Test Report for #2712 / 0bc57000b8c9dd66c8fc40b6954a3457ebe12106
Virtual Devices

Device
Test
Test Documentation
Job
Raw Log

Arista cEOS

TE-11.1: Backup NHG: Single NH
83b05f43
Log

Cisco 8000E

TE-11.1: Backup NHG: Single NH
79b86448
Log

Cisco XRd

TE-11.1: Backup NHG: Single NH
f0a9d82b
Log

Juniper ncPTX

TE-11.1: Backup NHG: Single NH
e0a55a78
Log

Nokia SR Linux

TE-11.1: Backup NHG: Single NH
9cfdfb89
Log

Openconfig Lemming

TE-11.1: Backup NHG: Single NH
78e2164a
Log

Hardware Devices

Device
Test
Test Documentation
Raw Log

Arista 7808

TE-11.1: Backup NHG: Single NH

Cisco 8808

TE-11.1: Backup NHG: Single NH

Juniper PTX10008

TE-11.1: Backup NHG: Single NH

Nokia 7250 IXR-10e

TE-11.1: Backup NHG: Single NH

Help

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 53.056%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1736

Relevant Lines:
3272

💛  - Coveralls


(regression) Wrong type mutation across file boundaries

Flow version v0.22.0 [cf1a279ff382932c6bf9978f057b67358ec8b258], the problem didn't occur in v0.21.
File 1
/* @flow */
export type Result = ?React.Element;

(
spoiler
: Result);

File 2
/* @flow */
import type {Result} from "./file1.js";

(
test
: Result);

This setup produces
js/file2.js:4
  4: (
test
: Result);
      ^^^^^ React element: `div`
  4: (
test
: Result);
      ^^^^^ React$Element. This type is incompatible with
  4: (
test
: Result);
                       ^^^^^^ Element

The error goes away if I were to replace ?React.Element with ?React$Element, or with React.Element, or remove "spoiler" from file1. However I feel that if one declares a type in a particular way, that definition should remain constant regardless of the circumstances of its use...

@pasha-mf You need to add the following line to file1.js:
import React from 'react';

Well, I have a global declaration declare var React: React;, which works fine everywhere else but here...


Leaderboard Error

Hey! This bot is extremely cool but recently I came with an error related to the leaderboard system.
Because of this, I can't enable leaderboards for any room, as it shows some unknown error.
Screenshot of the place where I wrote the code in config.js.
Screenshot of the error in Terminal.
I would appreciate any help as I need this bot for my server. Thanks.
Regards,
~Champ1604

The crash is in your personal config.js file, it's not a bug or a laderboards system error.
Make sure exports.leaderboards = {}; is defined. If not, add it at the beginning of the file. Then you can add the config data for the rooms. Example:
exports.leaderboards = {};

exports.leaderboards['tournaments'] = {
	winnerPoints: 5,
	finalistPoints: 3,
	semiFinalistPoints: 1,
	battlePoints: 0,
	onlyOfficial: true
};

exports.leaderboards['lobby'] = {
	winnerPoints: 5,
	finalistPoints: 3,
	semiFinalistPoints: 1,
	battlePoints: 0,
	onlyOfficial: true
};

Anyway i planned to add commands to configure the laderboards system to avoid this kinds of problems.


setCookie() is not executed in README example

In README this is in AppController's beforeFilter:
if(!$this->Auth->user())
{
    $user = $this->Auth->identify();
    if ($user) {
        $this->Auth->setUser($user);
        return $this->redirect($this->Auth->redirectUrl());
    }
}

This code will be executed for Cookie and Form logins. With Form logins, redirect() prevents the code in UserController's login() from being run where setCookie() is called.
So I changed the code in AppController to:
if(!$this->Auth->user())
{
    $user = $this->Auth->identify();
    if ($user) {
        $this->Auth->setUser($user);
        if ($this->request->params['controller'] != 'Users' && $this->request->params != 'login' && !$this->request->is('post')) {
            return $this->redirect($this->Auth->redirectUrl());
        }
    }
}

And the code in UsersController to:
public function login()
{
    $this->loadComponent('Beskhue/CookieTokenAuth.CookieToken');

    if ($this->request->is('post')) {
        $user = $this->Auth->user();
        if ($user) {
            $this->CookieToken->setCookie($user);
            return $this->redirect($this->Auth->redirectUrl());
        } else {
            $this->Flash->error(__('Username or password is incorrect.'));
        }
    }
}

This is definitely not elegant. Maybe you have a better idea for that.

What version of CakePHP are you using? I am not able to reproduce this issue in version 3.2.7. In 3.x, redirect should not exit. While the README example returns out of beforeFilter, the login action should still be called: http://book.cakephp.org/3.0/en/controllers.html#redirecting-to-other-pages

I have the issue with 3.3.x. return $this->redirect() prevents login() from being executed.

I will create a 3.3.x install soon to test this.

I didn't have much time for development previous weeks, so I just now tested this on CakePHP 3.3.5. I am still not able to reproduce this issue.
If I perform a form login, redirect is called and subsequently UsersController->login() is still called. You can add a die() right after the redirect in AppController to see if the redirect truly is stopping execution and is redirecting immediately.

Please tell me if you still have this issue.


Use other types than Buffer for Bytes field

Problem
Prisma is using Buffer for the Bytes field and because of that I need to convert the Buffer to Uint8Array before returning the data to be able to use it in the browser.
And since I'm using typescript I want to be able to reuse the types without having to type cast the Uint8Array back to Buffer.
const files = Prisma.file.findMany();
return files.map(file => {
  file.blob = new Uint8Array(file.blob) as Buffer;
  return file;
}

This feel like an unnecessary hack.
Initial issue: blitz-js/superjson#181
Suggested solution
Allow to use another type like Uint8Array instead of Buffer for the Bytes field.
Alternatives
Allow any other of the types supported by the ECMAScript Specification.
https://tc39.es/ecma262/multipage/indexed-collections.html#table-49

In my opinion, it's just good programming to define functions and interfaces to use Uint8Array instead of Buffer unless you specifically need something that is in Buffer, but not Uint8Array. (Buffer inherits from Uint8Array in case that wasn't clear.) I think all Prisma does with buffers supplied to queries is write them to the wire, in which case, Uint8Array should suffice.
The only thing I would warn surrounding this is that there is a big (and dangerous) difference between Uint8Array.buffer and Buffer.buffer!


[AUTOPATCHER-kernel] Kernel upgrade to version <IP_ADDRESS> - branch main

[AUTOPATCHER-kernel] Kernel upgrade to version <IP_ADDRESS> - branch main
Upgrade pipeline run -> https://dev.azure.com/mariner-org/mariner/_build/results?buildId=418955&view=results
[third attempt]
https://dev.azure.com/mariner-org/mariner/_build/results?buildId=419313&view=results
[second attempt - just kernel]
https://dev.azure.com/mariner-org/mariner/_build/results?buildId=419175&view=results
[First attempt -failed due to infra change for pipelines]
AMD64 build -> https://dev.azure.com/mariner-org/mariner/_build/results?buildId=418960&view=results
ARM64 build -> https://dev.azure.com/mariner-org/mariner/_build/results?buildId=418961&view=results

Boots in vhdx and passes basic smoke tests


[Bug] Random button order

The buttons order is never the same when start and/or refresh

using firefox

fixed in 2c08bb7


Choice of Mating and Mutating chance

This is already exposed through kwargs passed to DaFT and DaFT.run().


groovyConsole: show line numbers when launched with a filename

When using the groovyConsole filename invocation format,
only the first line was numbered.

+1

Merged, thanks.

Related Jira: GROOVY-9434

Thank you for doing all the necessary house keeping (Jira, merging to the right branch) 😊👍


Add postgres volume for persistence

As it is a tutorial, I don't want to persist database volumn.


[BUG] Container not starting/ stuck in loop - unknown user/group icd:icd

Describe the bug
Container is not starting and stuck in loop.
No matter what group id or user is used.
To Reproduce
Steps to reproduce the behavior:

Use CA Container in Unraid or create custom.
Start container with default settings
See error

Screenshots

Configuration
docker run
-d
--name='icloud-drive-sync'
--net='bridge'
-e TZ="Europe/Berlin"
-e HOST_OS="Unraid"
-e HOST_HOSTNAME="Unraid-Server"
-e HOST_CONTAINERNAME="icloud-drive-sync"
-e 'PUID'='99'
-e 'PGID'='100'
-e '/app/config.yaml'='/mnt/user/appdata/icloud-drive-sync/config.yaml'
-l net.unraid.docker.managed=dockerman
-l net.unraid.docker.icon='https://help.apple.com/assets/60AD31069883FC55AC222539/60AD310B9883FC55AC22254A/de_DE/712e44cf3701cf5bc9580c9367fa5526.png'
-v '/mnt/user/icloud-drive-sync/':'/app/icloud/':'rw'
--restart always 'mandarons/icloud-drive'
82ae4dc06f1004b6df5c4e939730201b693f34299c6285da100ea8eb89cfcc0b

From https://www.reddit.com/r/unRAID/s/kTIkei5Jbw

Toggle the Basic/Advanced switch on top right corner, set Extra Parameters: to --user 99:100 if it's not.

Solved by removing PUID and PGUID entirely in Docker settings.
I also changed the variables according to the newer installation parameters on GitHub.

Maybe update the Unraid template?

@weichmut thank you for this direction. Also on unRaid, was able to get the container up and go through the authentication process. Although, still not functioning, nothing syncing, no errors, session_data being populated.


please give support  gpu amd randeon 5500 xt

Please give support  gpu amd randeon 5500 xt

Can you clarify what OS?
The XT 5500 is a gfx1012 which is supported by ROCm on Linux, but not windows.

Running Ollama on Mac OS Sequoia 15.1
iMac 2020 with Intel Core i7 and AMD Radeon Pro 5500 XT 8GB
Ollama only uses the CPU.
Do I need to set up Linux to make use of it?

Yes, this GPU is supported by our linux build.  Apple AMD GPU support is tracked via issue #1016


#44: Improve our linter

this addresses  #44
This adds linting rules for:

Require statements alphabetisation (done with the sort-requires plugin)
Stroustrup brace style enforcing
Force spaces before and after keywords

The enforcement of the 'use strict' line is still under discussion.

Some of the issues marked as still missing in the issue were actually already there, so of course I didn't add them :)

oh! haha I didn't realize we already had those rules xD my bad

ok!! looks good to me
🎉 🎉 🎉 🎉 🎉 🎉 🎉


Add support for primary term validation in transport replication

Signed-off-by: Ashish Singh<EMAIL_ADDRESS>
Description
Solves #5464
Issues Resolved
Solves #5464
Check List

[x] New functionality includes testing.

[x] All tests pass

[x] New functionality has been documented.

[x] New functionality has javadoc added

[x] Commits are signed per the DCO using --signoff
[x] Commit changes are listed out in CHANGELOG.md file (See: Changelog)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #5490 (3649f7d) into main (306b199) will increase coverage by 0.22%.
The diff coverage is 81.81%.

@@             Coverage Diff              @@
##               main    #5490      +/-   ##
============================================
+ Coverage     70.84%   71.06%   +0.22%
- Complexity    58296    58380      +84
============================================
  Files          4741     4742       +1
  Lines        278541   278582      +41
  Branches      40268    40274       +6
============================================
+ Hits         197322   197979     +657
+ Misses        65068    64416     -652
- Partials      16151    16187      +36

Impacted Files
Coverage Δ

...ensearch/action/bulk/TransportShardBulkAction.java
79.46% <0.00%> (-0.39%)
:arrow_down:

...in/java/org/opensearch/index/shard/IndexShard.java
71.03% <0.00%> (+0.44%)
:arrow_up:

...eplication/checkpoint/PublishCheckpointAction.java
22.41% <0.00%> (ø)

...replication/UnsupportedReplicaActionException.java
50.00% <50.00%> (ø)

...ch/indices/recovery/PeerRecoveryTargetService.java
53.64% <50.00%> (+0.15%)
:arrow_up:

...upport/replication/TransportReplicationAction.java
79.25% <92.85%> (+3.07%)
:arrow_up:

.../main/java/org/opensearch/OpenSearchException.java
93.82% <100.00%> (+0.01%)
:arrow_up:

...org/opensearch/index/shard/IndexShardTestCase.java
94.05% <100.00%> (+0.01%)
:arrow_up:

...n/indices/forcemerge/ForceMergeRequestBuilder.java
0.00% <0.00%> (-75.00%)
:arrow_down:

.../indices/forcemerge/TransportForceMergeAction.java
25.00% <0.00%> (-75.00%)
:arrow_down:

... and 488 more

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

Have created a new transport action as per @Bukhtawar's comment - #5616. Please do take a look. @sachinpkale @gbbafna


Who doesn't love more ESLint?

This is an extension of #529. It fixes some things, but breaks some other things. Yay, trade-offs!
Description
This changes the structure of where our eslint configs live.
In #529:

Linting for pwa-kit-* lives in monorepo root

Monorepo root has .eslintrc and all deps
pwa-kit-* packages don't need any .eslintrc or deps

Linting for template-* lives in eslint-config-pwa-kit

eslint-config-pwa-kit has .eslintrc and all deps
template-* packages have thin .eslintrc and 3 deps (babel preset + eslint config + eslint)

Linting for generated projects is generated from a file to disable the header/header rule.

In this PR:

Linting for all packages lives in eslint-config-pwa-kit

eslint-config-pwa-kit has .eslintrc and all deps
All packages have a thin .eslintrc and 3 deps (babel preset + eslint config + eslint)

Linting for monorepo internals (namely header/header) lives in monorepo root

Monorepo root has only eslint-plugin-header

Generated projects use the same eslint config as template-* packages in the monorepo

This has the following benefits:

Eslint rules live in a single location, rather than two
Don't need to install deps in monorepo root
Don't need to use a different config file for generated projects

However, this does have the following drawbacks:

Linting doesn't work for ./scripts (doesn't work either in v2, but does in #529)
Linting kinda works in VS Code (the first file you open will work, but not the second. Weird...)

Types of Changes

[ ] Bug fix (non-breaking change that fixes an issue)
[ ] New feature (non-breaking change that adds functionality)
[ ] Documentation update
[ ] Breaking change (could cause existing functionality to not work as expected)
[ ] Other changes (non-breaking changes that does not fit any of the above)

Breaking changes include:

Removing a public function or component or prop
Adding a required argument to a function
Changing the data type of a function parameter or return value
Adding a new peer dependency to package.json

Changes

(change1)

How to Test-Drive This PR

(step1)

Checklists

General

[ ] Changes are covered by test cases
[ ] CHANGELOG.md updated with a short description of changes (not required for documentation updates)

Accessibility Compliance
You must check off all items in one of the follow two lists:

[ ] There are no changes to UI

or...

[ ] Changes were tested with a Screen Reader (iOS VoiceOver or Android Talkback) and had no issues
[ ] Changes comply with WCAG 2.0 guidelines levels A and AA
[ ] Changes to common UI patterns and interactions comply with WAI-ARIA best practices

Localization

[ ] Changes include a UI text update in the Retail React App (which requires translation)

@wjhsf I think your lock files are out of sync, you might want to regenerate them.

Looks like some pesky circular deps are popping up again:
lerna WARN ECYCLE Dependency cycles detected, you should fix these!
lerna WARN ECYCLE babel-preset-pwa-kit -> babel-preset-pwa-kit
lerna WARN ECYCLE eslint-config-pwa-kit -> (nested cycle: babel-preset-pwa-kit -> babel-preset-pwa-kit) -> eslint-config-pwa-kit
lerna WARN ECYCLE (nested cycle: eslint-config-pwa-kit -> (nested cycle: babel-preset-pwa-kit -> babel-preset-pwa-kit) -> eslint-config-pwa-kit) -> (nested cycle: eslint-config-pwa-kit -> (nested cycle: babel-preset-pwa-kit -> babel-preset-pwa-kit) -> eslint-config-pwa-kit)

This error is somewhat inherent of the solution and the relationship between eslint-config-pwa-kit and babel-preset-pwa-kit.

This is only an observation. But when the ESLint integration was working (interesting it only seems to work reliably with the react sdk) removing a header and saving results in the header being applied twice. I'm not sure if that helps pin point whats wrong, but it might help.

Looks like some pesky circular deps are popping up again:
This error is somewhat inherent of the solution and the relationship between eslint-config-pwa-kit and babel-preset-pwa-kit.

One of those is because babel-preset-pwa-kit accidentally depended on itself. Oops!
I don't know of any way to avoid the other one, unless we use a different eslint config for babel-preset-pwa-kit (or just don't lint it at all). The package is just a single config file, so not linting isn't a big deal, but I'm not sure which way we should go on this.


java.lang.VerifyError, when using Swing components and @PrepareForTest

From<EMAIL_ADDRESS>on January 20, 2012 17:47:38
Hello,
when I run a test, which has some Swing components and use @PrepareForTest, I get an Exception:
java.lang.VerifyError: (class: javax/swing/plaf/metal/OceanTheme, method: <clinit> signature: ()V) Bad type in putfield/putstatic
It appears only, when I use @PrepareForTest annotation and init some Swing components, without it's ok.
Is there some issue with Swing components using with mocking?
Thanks for the help,
Alexei
This throws Exception:
@RunWith( PowerMockRunner.class )
@PrepareForTest( { String.class } )
public class TestGUI
{
@Test
public final void test()
{
JLabel label = new JLabel( "foobar" );
}
}
This runs fine:
@RunWith( PowerMockRunner.class )
public class TestGUI
{
@Test
public final void test()
{
JLabel label = new JLabel( "foobar" );
}
}
Original issue: http://code.google.com/p/powermock/issues/detail?id=363

From<EMAIL_ADDRESS>on February 19, 2012 09:19:22
Hi
Are you using java7?

From<EMAIL_ADDRESS>on February 19, 2012 09:21:50
Hi,
No, we are using Java 6 with 1.5 code compliance.

From<EMAIL_ADDRESS>on April 18, 2012 13:47:28
We are running into this with Java 6, too, and it is preventing us from implementing a whole swath of tests. Any update? Anything info we can provide to assist?

From<EMAIL_ADDRESS>on June 13, 2012 00:31:45
Hi, we are facing this issue since many days and eagerly looking for a fix to the above mentioned ticket. Is there any update regarding this ticket. Your update would really be helpful for us to proceed further.

From<EMAIL_ADDRESS>on June 13, 2012 00:43:59
Are you using Java7?

From<EMAIL_ADDRESS>on June 13, 2012 01:49:32
No, we are using Java6. Didn't tried it yet with Java7.

From<EMAIL_ADDRESS>on June 13, 2012 03:56:32
What class are you preparing for test?

From<EMAIL_ADDRESS>on June 14, 2012 04:35:25
By preparing for test, do you mean: @PrepareForTest( { String.class } )?? It doesn't matter which class get's prepared, it's always the same issue.

From<EMAIL_ADDRESS>on June 17, 2012 23:18:28
Yes that's what I mean. Hmm are you sure that it doesn't matter? In the example in this issue it works fine if nothing is prepared (@PrepareForTest is not used at all).

From<EMAIL_ADDRESS>on June 18, 2012 03:11:15
Yes, without @PrepareForTest it's fine. But we have test cases, where we want to mock GUI and also we need @PrepareForTest, because we mock some final or private methods...

From<EMAIL_ADDRESS>on June 18, 2012 03:24:31
I understand. I strongly encourage to refactor your code and break-out the functionality into a new class that can be tested in isolation. In that way you probably don't even need PowerMock. For testing the UI interaction another framework should probably be just, fest-swing or something similar.

From<EMAIL_ADDRESS>on February 08, 2013 04:15:06
The PrepareForTest annotation doesn't even need to specify any classes (but it needs to be present), for the VerifyError to be thrown - see example below. This is with the latest versions of mockito, powermock-module-junit4 and powermock-api-mockito (and their Maven dependencies).
A question was asked regarding which version of Java - is this fixed in Java 7 then?
@RunWith(PowerMockRunner.class)
@PrepareForTest // Don't even need to specify any classes to prepare!
public class VerifyErrorTest {
@Test
public void test() {
    new JFrame();
}

}

From<EMAIL_ADDRESS>on February 08, 2013 07:58:47
PrepareForTest automatically prepares your test case so that might be what's causing it.

From<EMAIL_ADDRESS>on January 21, 2014 03:49:28
Have just tried this in Java 7 (v1.7.0_45) and it's still not fixed :-(

From<EMAIL_ADDRESS>on January 21, 2014 08:20:11
Here's a neat workaround/solution that a colleague of mine discovered today: Just add the annotation @PowerMockIgnore("javax.swing.*") to the test class and PowerMock will defer the loading of the problematic classes to the system classloader.

From<EMAIL_ADDRESS>on October 08, 2014 13:05:32
I changed the project system library to j2se-1.5 to fix this. There may be a problem with the jre you are using.


Outline Text problem with flow direction

Describe the bug
There is a bug in outline text box that when I use it with persian text (right to left text) it reverse it and I should use flow direction left to right to fix it.
Screenshots
Following screenshot show two panel the upper panel is right to left and the panel beneath it is left to right and it works.

Hi, all texts have this problem. And it has nothing to do with language
@NaBian  Is this normal behavior?

outlinetext is geometry in essence, its behavior can not be consistent with textblock, textbox and so on. so i close this pr.


[BUG] Parsing Groth16 proofs from JSON is limited to 64 bits per public input

Bug Report
Due to the following line, parsing a Groth16 proof from JSON is limited to 64-bits per public input. As a result, some proofs will not be verifiable. It does not effect verification of RISC Zero's Groth16 proofs for the zkVM, because we do not use the JSON encoding.
https://github.com/risc0/risc0/blob/main/risc0/groth16/src/data_structures.rs#L246

@capossele , this was solved by #1420, ya? If so, feel free to close this

Addressed in #1420


Route caching is not working correctly in Nuxt 3

I am having issues using this module with version 3 of nuxt. I have added the enable and store parameters in the nuxt.config.ts file to use cacheRoute. In each page, inside the <script setup> tag, I have added the function
useRouteCache((route) => {
route
.setMaxAge(3600)
.setCacheable()
.addTags([“tag”])
})

When I navigate on my site, the cache files are not stored, but if I manually reload the page, the files are created. How is this possible?
The routing is dynamic and the structure is as follows:

I also tried to include the useRouteCache function inside the <script> tag within created(), but importing useRouteCache gives me the following issue:
ERROR  Internal server error: Missing "./dist/runtime/composables" specifier in "nuxt-multi-cache" package

When you navigate the page in the browser the browser does the rendering, so no SSR is happening. The route cache is SSR-only: It caches the entire markup of the rendered page and serves this on every subsequent request. That‘s why when you reload the page it‘s working.
One way to make sure the route cache is working is to put a console.log in a component where you know it‘s being rendered on the server. When you refresh a page multiple times you should be seeing the logged message only once in the console.


proposal: affected/package: pkg.go.dev/log

It seems the log package only emits the date in the format YYYY/MM/DD. It would be great if we also had the option for ISO conformant dates: YYYY-MM-DD

Has been proposed before: #34416

Frankly, it should be the default. Why would golang want to be stuck with an idiosyncratic date representation? Break backward compatibility!


[macOS] Fix menu crash when used from opened native dialog.

Part of https://github.com/godotengine/godot/pull/97636
Fixes https://github.com/godotengine/godot/issues/97437 (fixes crash)

Thanks!


Allow web client to join a custom url

I made it ndf (maybe --no-default) is better so that we can add more feature gates. --no-ssl is thus no longer relevant.
For example, building the doc features with rustdoc-types and cargo_toml etc are heavy an absolutely not required for the CI

Maybe slim then instead? "no default" doesn't really convey that much information about what the conceptual change is


[NH-78296] detect lambda

Looks good, just curious why here instead of current Config's hasLambdaEnv


Any possibility of a light theme?

I've been using this theme for a while but as of recently i've had to start wearing glasses and I have to focus a bit harder to view dark themes in normal lighting. It would be awesome if there was a light alternative to this theme because it's by far my favourite.
If not I might have a look at forking it and making a light theme myself, and doing a pull request if that's okay with you :)

Thank you for bringing this up! I hesitate to add too many variants of Horizon in an attempt to keep its scope tight and focused. With that said:

I will keep this in mind and may try out some "Horizon Bright" looks. 😉 I can't promise anything though and like I said, I would like Horizon to have a focused scope. This also means I may or may not accept a PR right away until I've made up my mind.
I can definitely help you out in customizing your own editor for a light theme :)

I'm assuming you only want to change the editor (not syntax) colors. In that case, check out the Theme Color Reference. This lists all of the customizable properties in VS Code. The easiest way to change these is to edit workbench.colorCustomizations in your JSON settings. Check out the sidebar contrast snippet in the README for an example. VS Code's color reference is fairly clear and easy to navigate so you should be able to find what you're looking for. Please let me know if you have any questions!

Just wanted to pop back on here to say that Horizon now has Bright variants!


graphql field alias not typed correctly (preset near-operation-file / preResolveTypes)

Describe the bug
When using preset near-operation-file with option preResolveTypes the generated type for a graphql field with an alias is missing the "Types." prefix coming from the imported base types.
To Reproduce
https://codesandbox.io/s/near-operation-file-issue-with-alias-6esqp
Run 'yarn start' for the code generation process which produces the issue. See document.ts for the resulting error.
Expected behavior
In document.ts we should have "dep: Types.Department" instead of "dep: Department"

@cmattick Thanks, fixed this in: https://github.com/dotansimha/graphql-code-generator/pull/3017

Fixed in 1.9.0


A created IDP's saml authenticator can have the same IDPEntityId as the resident IDPs saml authenticator

A created IDP saml authenticator can have the same IDPEntityId as the resident IDPs saml authenticator. This happens because the resident IDP has a saml authenticator with the name "samlsso" when we create IDPs the saml authenticator name is "SAMLSSOAuthenticator".
This will be a problem in cases like the saml bearer grant where it cannot pick the proper IDP based on the IDPEntityId.
https://github.com/wso2-extensions/identity-inbound-auth-oauth/blob/04198ac315e660cf93278c9e18c489818ff6fe22/components/org.wso2.carbon.identity.oauth/src/main/java/org/wso2/carbon/identity/oauth2/token/handlers/grant/saml/SAML2BearerGrantHandler.java#L800-L818

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


Don't use GCC-specific syntax for example code on psABI

Review comment come from @anderslindgren-iar and Anders Berg(IAR) https://lists.riscv.org/g/tech-toolchain-runtime/message/344
    # Load value from a symbol
0:  auipc a0, %pcrel_hi(symbol)
    lw    a0, %pcrel_lo(0b)(a0)
    # Store value to a symbol
1:  auipc a0, %pcrel_hi(symbol)
    sw    a1, %pcrel_lo(1b)(a0)
    # Calculate address
2:  auipc a0, %pcrel_hi(symbol)
    addi  a0, a0, %pcrel_lo(2b)

Anders: The example is GCC-specific. An example should preferably be tool chain neutral or at least it should be mentioned that it is GCC-specific and that the syntax may differ a bit depending on which toolchain one is using.

@anderslindgren-iar I guess I have been living with GNU toolchain for long time, did you mind pointing out which part is GCC-specific syntax, I believe those code could be also compiled with clang but I guess some syntax might not be supported in the IAR compiler? backward Numeric Labels reference or relocation modifier?

GCC doesn't parse assembly, GNU as does
This isn't GNU as-specific, this is the standard RISC-V assembly syntax that both GNU as and LLVM agree on
There is no alternative syntax, and we're not making up our own, that would be confusing and unhelpful

(and if IAR decided to come up with their own syntax for their proprietary toolchain then that's IAR's problem)

Hi!
Numerical labels and the "b" syntax are not supported by all tools. In
addition, it's hard to read for users what aren't familiar with the syntax.
In this case, the example would become much clearer if normal, named,
labels were used.
-- Anders Lindgren, IAR Systems
Den 2022-04-21 kl. 05:00, skrev Kito Cheng:

@anderslindgren-iar
https://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fanderslindgren-iar&data=05|01|anders.lindgren%40iar.com|b769b8f70f0c459a7b2108da2343228a|752d689536a34853a00fc9efc645753e|1|0|637861068489226021|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=4mfRZTFsfMjIEfW4r8hiy%2BE5H04ltjnsm9ouZT6Ns%2FM%3D&reserved=0
I guess I have been living with GNU toolchain for long time, did you
mind pointing out which part is GCC-specific syntax, I believe those
code could be also compiled with clang but I guess some syntax might
not be supported in the IAR compiler? backward Numeric Labels
reference or relocation modifier?
—
Reply to this email directly, view it on GitHub
https://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Friscv-non-isa%2Friscv-elf-psabi-doc%2Fissues%2F270%23issuecomment-1104655868&data=05|01|anders.lindgren%40iar.com|b769b8f70f0c459a7b2108da2343228a|752d689536a34853a00fc9efc645753e|1|0|637861068489226021|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=TEi1leDKeuQHthSBpqskKoNBfc%2ByTPObQdgjTZ5zb%2Fg%3D&reserved=0,
or unsubscribe
https://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAYPY257SKXITMYDNUN5ABWTVGDAEJANCNFSM5T53AVZQ&data=05|01|anders.lindgren%40iar.com|b769b8f70f0c459a7b2108da2343228a|752d689536a34853a00fc9efc645753e|1|0|637861068489226021|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=sInFS%2BNOvUa4KWzBTtpq17HvUv3vRGxgBPH9Ivm6644%3D&reserved=0.
You are receiving this because you were mentioned.Message ID:
@.***>

Numeric labels are supported by GNU-compatible assemblers, which both major toolchains have. I do not know of a serious RISC-V assembler that doesn’t support it, and large amounts of real-world code relies on it. If IAR has one that doesn’t that’s your problem and you should support it if you want to be able to build real-world code rather than diverge from the de-facto standard.
Numeric labels are more concise and, importantly, make it clear that the label is for the specific instruction by having it on the same line, rather than for the block if you have it on a separate line as you’d need for a longer text label (unless you use silly amounts of indentation). They also avoid polluting the symbol table.
If someone doesn’t know how numeric labels work then I question whether that portion of the document is aimed at them; we are not targeting an average developer, we are targeting people who are dealing with ABIs. The asm manual is the more user-facing document.


chore(deps): dependabot cherry-pick version bumps

Description
This pull request changes the following:

Bumps inquirer from 9.2.15 to 9.2.20.
Bumps codecov/codecov-action from 4.1.0 to 4.3.1.
Bumps remark-cli from 12.0.0 to 12.0.1.
Bumps @hashgraph/proto from 2.14.0-beta.5 to 2.14.0-beta.6.
Bumps remark-preset-lint-consistent from 5.1.2 to 6.0.0.
Bumps peaceiris/actions-hugo from 2 to 3.
Bumps helm/kind-action from 1.9.0 to 1.10.0.
Bumps listr2 from 8.0.2 to 8.2.1.
Bumps @listr2/prompt-adapter-enquirer from 2.0.2 to 2.0.8.
Bumps EnricoMi/publish-unit-test-result-action from 2.15.1 to 2.16.1.
Bumps winston from 3.11.0 to 3.13.0.
Bumps follow-redirects from 1.15.4 to 1.15.6.
Bumps adm-zip from 0.5.10 to 0.5.12.

Related Issues

Closes #

:tada: This PR is included in version 0.25.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Kill child on process.exit()

Otherwise the java process stays around after running a node program
like this:
  const DynamoDbLocal = require('dynamodb-local');
  DynamoDbLocal.launch(8001, null, ['-sharedDb', '-inMemory'])
    .then(function() {
      process.exit(0);
    })

which happens in the wild. For example, some test frameworks behaves
like this when in so called watch mode and you type 'q' as in 'quit'.

Thanks @Enselic


Add documentation on usage for MeteorUp

Following up on https://github.com/VeliovGroup/Meteor-Files/issues/290
Add documentation on usage for MeteorUp
MeteorUp uses Dockers and has to create volumes in mup.json in order to have files stored on the server.

@bryanlimy could we move it form Constructor to separate file?

@dr-dimitru just did, you want to me to do another pull request?


Docs added: code of conduct, license and contributor guidelines

Related to:
Resolves: #34
Description:
Added code of conduct, contributor guidelines and license file to align with Github's recommended community standards
Tests:
N/A
Checklist:
Please put an x in each box that you have completed

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code in any hard-to-understand areas
[x] My changes generate no new warnings or errors
[x] I have added test instructions that prove my fix is effective or that my feature works

Thanks so much @orama254, this is crucial to guiding this project and ensuring a safe, supportive coworking environment. Also I appreciate you noticing that we didn't have this stuff already :neutral_face:


Documentation: Move querydsl-apt dependency to the build plugin

I think it’s cleaner to have the querydsl-apt dependency only on the build plugin instead of using the provided scope. So instead of
<dependency>
  <groupId>com.querydsl</groupId>
  <artifactId>querydsl-apt</artifactId>
  <version>${querydsl.version}</version>
  <scope>provided</scope>
</dependency>

do this:
<build>
  <plugins>
    ...
    <plugin>
      <groupId>com.mysema.maven</groupId>
      <artifactId>apt-maven-plugin</artifactId>
      <version>1.1.3</version>
      <executions>
        <execution>
          <goals>
            <goal>process</goal>
          </goals>
          <configuration>
            <outputDirectory>target/generated-sources/java</outputDirectory>
            <processor>com.querydsl.apt.jpa.JPAAnnotationProcessor</processor>
          </configuration>
        </execution>
      </executions>
      <dependencies>
        <dependency>
          <groupId>com.querydsl</groupId>
          <artifactId>querydsl-apt</artifactId>
          <version>${querydsl.version}</version>
        </dependency>
      </dependencies>
    </plugin>
    ...
  </plugins>

This way the IDE doesn’t suggest classes from the querydsl-apt dependency which aren’t available at runtime.

I think this sounds fine. Thanks for the suggestion.
It might even be good to review the documentation in that field, will do!

Its even cleaner to do:
<dependency>
  <groupId>com.querydsl</groupId>
  <artifactId>querydsl-apt</artifactId>
  <version>${querydsl.version}</version>
  <scope>provided</scope>
  <classifier>jpa</classifier>
</dependency>

Which makes the entire apt-maven-plugin unnecessairy.

Its even cleaner to do:
<dependency>
  <groupId>com.querydsl</groupId>
  <artifactId>querydsl-apt</artifactId>
  <version>${querydsl.version}</version>
  <scope>provided</scope>
  <classifier>jpa</classifier>
</dependency>

Which makes the entire apt-maven-plugin unnecessairy.

I know.
Its just that we shouldn't encourage users to use the Maven plugin in the first place. Using the properly classified dependency in the provided scope is the prefered method. As long as our documentation points to the Maven plugin and show examples using a bunch of unnecessairy dependencies, requests like these will keep popping in.


Access token change

Desired Outcome
*To fix the issue open in https://github.com/cyberark/terraform-provider-conjur/issues related to support authentication using access token issue nos. (#99, #69)
Implemented Changes
*accessTokenFile variable used instead of accessToken : client.go
*test case added in client_test.go
Connected Issue/Story
Resolves #[https://github.com/cyberark/terraform-provider-conjur/issues/69
https://github.com/cyberark/terraform-provider-conjur/issues/99
]
Definition of Done

'CONJUR_AUTHN_TOKEN' : support for access token added for Terraform provider Conjur

Changelog

[ ] The CHANGELOG has been updated, or
[X] This PR does not include user-facing changes and doesn't require a
CHANGELOG update

Test coverage

[X] This PR includes new unit and integration tests to go with the code
changes, or
[ ] The changes in this PR do not require tests

Documentation

[ ] Docs (e.g. READMEs) were updated in this PR
[ ] A follow-up issue to update official docs has been filed here: insert issue ID
[X] This PR does not require updating any documentation

Behavior

[ ] This PR changes product behavior and has been reviewed by a PO, or
[ ] These changes are part of a larger initiative that will be reviewed later, or
[X] No behavior was changed with this PR

Security

[ ] Security architect has reviewed the changes in this PR,
[ ] These changes are part of a larger initiative with a separate security review, or
[X] There are no security aspects to these changes

Changes look good! Just a comment on the description, the links in the desired outcome point to conjur-api-go and further down the links refer to terraform-provider-conjur. Is that correct?

So https://github.com/cyberark/conjur-api-go/pull/69 - Add/Update CODEOWNERS is related to this fix?
The Desired Outcome points to conjur-api-go 69, but I think it should be terraform-provider-conjur 69
*To fix the issue open in https://github.com/cyberark/terraform-provider-conjur/issues related to support authentication using access token issue nos. (https://github.com/cyberark/conjur-api-go/issues/99, https://github.com/cyberark/conjur-api-go/pull/69)


Keep s3_account_level_public_access_blocks in AWS CIS Compliance Frameworks

Is your feature request related to a problem? Please describe.
I opened https://github.com/prowler-cloud/prowler/issues/1916 3 weeks ago to request a new check named s3_bucket_level_public_access_block. While we still want this check to be available in Prowler, I noticed that the associated PR also added this check to prowler/compliance/aws/cis_1.5_aws.json, replacing the s3_account_level_public_access_blocks check in that file (see my comment on https://github.com/prowler-cloud/prowler/pull/1953/files#r1130145399).
Describe the solution you'd like
I would like to have the s3_bucket_level_public_access_block check available to use, but I would still like the s3_account_level_public_access_blocks check to be used by default when Prowler is run with the --compliance cis_1.5_aws option.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
The s3_bucket_level_public_access_block is extremely useful for AWS accounts where 1 or more buckets have a legitimate reason to be publicly exposed, and are treated as compliance exceptions. However, for the majority of AWS accounts, this is typically not the case, and the s3_account_level_public_access_blocks check is preferable.

@sergargar

Hi @addefisher, how about having both checks applying to 2.1.5 of the CIS?

2.1.5 Ensure that S3 Buckets are configured with 'Block public access (bucket settings)' (Automated)
Profile Applicability:
• Level 1 Description:
Amazon S3 provides Block public access (bucket settings) and Block public access (account settings) to help you manage public access to Amazon S3 resources. By default, S3 buckets and objects are created with public access disabled. However, an IAM principal with sufficient S3 permissions can enable public access at the bucket and/or object level. While enabled, Block public access (bucket settings) prevents an individual bucket, and its contained objects, from becoming publicly accessible. Similarly, Block public access (account settings) prevents all buckets, and contained objects, from becoming publicly accessible across the entire account.

@sergargar I'm ok with including both checks.


Apply ArcGIS Server patches to multiple machines with single config file

I tried repurposing 'SampleConfigs/Gis Servers/GISServer-GeneralPurpose-MultiMachine.json' to apply patches to multiple ArcServer machines like below. But I got an error as ArcGIS DSC module was assuming that I am doing an HA deployment.
"AllNodes": [
{
"NodeName": "machine1",
"Role": [
"Server"
]
},
{
"NodeName": "machine2",
"Role": [
"Server"
]
},
{
"NodeName": "machine3",
"Role": [
"Server"
]
},
{
"NodeName": "machine4",
"Role": [
"Server"
]
}
],
Applying patches to multiple servers is a common use case. Hope this can be considered as an enhancement.

We have many deployments in our organization and debated the 3 known options to apply patches to existing systems:

Good ole fashioned manual execution
Powershell Desired State Config (PSDSC)
Alternative Means

Option 1 is an option (and the default approach if nothing else), but quickly becomes unsustainable with the amount of environments we manage.  Plus, confidence is not high that all systems will be included
Option 2 seems overly complex to apply a patch and has a few challenges (both related to our design choices and our organization policies).  Many of our portals have IWA enabled, so we would have to disable Windows Authentication on all the portal solutions prior to executing PSDSC to apply the patches (design decision).
Furthermore, running a full 'upgrade' to get the patch applied will go through all the test/execute steps for a typical PSDSC execution which is not very efficient.  If there was a "Mode" for 'patch' then this becomes much more palatable (and I think best case result of this 'issue' is to ask for an enhancement to support a patch only execution mode with a list of systems).
We also scrub our .json files clean of sensitive information (like account credentials) as they change every 60 days per our IT Security policy, so getting these most recent passwords back into the .JSON files is somewhat challenging for doing an organization wide patch deployment.  We have to do this for 'site by site' upgrades already.
So we ended up with Option 3 using just a stand alone powershell script.  There are other options to consider as well (just google 'patch management').
Here is a rough script we used on the last 10.7.1 Security 2019 Update2 patch (the servers.txt is expected to be a list of hostnames to apply the patch to, 1 hostname per line):
$sourcefile = "\\<server>\<share>\ArcGIS-1071-S-SEC2019U2-Patch.msp"
$Computername = Get-Content C:\tmp\servers.txt

#-----------------------------------------------------------[Execution]------------------------------------------------------------
foreach ($Computer in $computername)
{
Write-Host "`n"
Write-Host -ForegroundColor Green "Starting Install..."
Write-Host -ForegroundColor Cyan "Creating Folders on remote computer"
$destinationFolder = "\\$computer\C$\Esri_1071_patch"
	if (!(Test-Path -path $destinationFolder)) {
		New-Item $destinationFolder -Type Directory
	}
Write-Host -ForegroundColor Cyan "Copying files to remote computer"
	Copy-Item -Path $sourcefile -Destination $destinationFolder
Write-Host -ForegroundColor Cyan "Installing patch"
	Invoke-Command -ComputerName $computer -ScriptBlock { cmd /c start /wait Msiexec /p c:\Esri_1071_patch\ArcGIS-1071-S-SEC2019U2-Patch.msp /log c:\Esri_1071_patch\AGSPatch2019U2.log }
Write-Host -ForegroundColor Green "Installation Complete for $computername"
}

Moving forward, we will continue refining this script as a more automated way of deploying patches without the overhead of the PSDSC utilities.  We also add the Esri patches to our PSDSC defined "PatchesDir" (\\<server>\<share> in the referenced script above) folder so that new installs (and upgrades) from PSDSC execution will receive the patches.
Hope this helps..

Patrick @pfoppe ,
Your comments are welcome.
Option 3 (Plain PS) is not idempotent. Idempotency is an important requirement for our automated operations for creating identical, repeatable environments. Use of Chef, Ansible and PS DSC is increasing due to this reason. Even this esri ps dsc module we are discussing potentially was created due to that reason.
Option 2 (PS DSC):  In an ideal scenario, every step you would need to do before patching and after patching will need to be coded up in corresponding custom dsc resource and configurations. It might seem utopian considering all the hurdles but many IT devops efforts are striving towards that.
Option 2 - In the short term, I would request the esri team to consider spending some time on patch deployment. Outside of installation, this is one of the most common and important use case for any organization trying out the ArcGIS DSC module. Some immediate needs are

Patch identification to allow for idempotent deployment. This is not reliably possible yet. Please refer to issue #212. Yes, solving this requires coordination across many release teams and many versions but someone in esri should take it up.
Ability to install patches in a particular order. Dumping all patches into one directory is not ideal.
Patch deployment process should only check if the corresponding software exists. It should not need unnecessary json parameters that are only needed during installation.

Side note: Portal adoption by many organizations will be difficult if idempotent deployments are not easy to implement.
Automated, idempotent software deployment and maintenance is a requirement in my organization. I think it is becoming a very high priority across the IT landscape.

You are correct that option 3 that we are using is NOT idempotent
However, it has been the easiest and most standard approach we have used for us to execute the patches across our stack.
I had an old Project Manager that often times reminded us not to "use a bazooka to swat a fly"
We have struggled to setup PSDSC for patches (with all the overhead and complexities involved to run PSDSC).  We are hoping we can see a benefit during new deployments and upgrades with PSDSC, but do NOT see enough value using PSDSC for our patches.

Please try with v3.0.2. -Mode Install and -Mode InstallLicense is now supported for this deployment type.


[experiment / poc] Dictionary Based Group-By

This is a experimental PR mainly for perf testing and PoC. Discussion can be done in this issue: https://github.com/apache/pinot/issues/11759

Codecov Report

Merging #11758 (7bcf791) into master (ae16812) will decrease coverage by 48.72%.
Report is 23 commits behind head on master.
The diff coverage is 0.00%.

@@              Coverage Diff              @@
##             master   #11758       +/-   ##
=============================================
- Coverage     63.11%   14.39%   -48.72%
+ Complexity     1117      201      -916
=============================================
  Files          2342     2347        +5
  Lines        125802   126095      +293
  Branches      19336    19398       +62
=============================================
- Hits          79395    18149    -61246
- Misses        40745   106410    +65665
+ Partials       5662     1536     -4126

Flag
Coverage Δ

integration
?

integration1
?

integration2
?

java-11
?

java-17
?

java-20
14.39% <0.00%> (-48.56%)
:arrow_down:

temurin
14.39% <0.00%> (-48.72%)
:arrow_down:

unittests
14.39% <0.00%> (-48.72%)
:arrow_down:

unittests1
?

unittests2
14.39% <0.00%> (-0.09%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Files
Coverage Δ

...gment/index/readers/BitmapInvertedIndexReader.java
0.00% <ø> (-100.00%)
:arrow_down:

...ot/segment/spi/index/creator/JsonIndexCreator.java
0.00% <ø> (-66.67%)
:arrow_down:

...m/function/JsonExtractScalarTransformFunction.java
0.00% <0.00%> (-54.07%)
:arrow_down:

...re/common/inverted/InvertedDataFetcherFactory.java
0.00% <0.00%> (ø)

...t/index/readers/json/ImmutableJsonIndexReader.java
0.00% <0.00%> (-75.37%)
:arrow_down:

...aggregation/groupby/InvertedGroupKeyGenerator.java
0.00% <0.00%> (ø)

.../common/inverted/InvertedJsonIndexDataFetcher.java
0.00% <0.00%> (ø)

...core/common/inverted/InvertedIndexDataFetcher.java
0.00% <0.00%> (ø)

...local/realtime/impl/json/MutableJsonIndexImpl.java
0.00% <0.00%> (-88.00%)
:arrow_down:

...va/org/apache/pinot/core/plan/GroupByPlanNode.java
0.00% <0.00%> (-56.42%)
:arrow_down:

... and 1 more

... and 1533 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

We never got around to prioritizing this. Closing.


coq: update from 8.4pl5 to 8.4pl6

In the Travis build log, we can see that some process get « Killed ». I don’t know why (maybe an out-of-memory?). The coq package only gets built correctly.
I have not tested everything locally, but since this update is a bugfix release, I think it should be fine.

I am currently building everything and will merge if the build is done.


Support for Es module?

We have a project where package json is set up with type module, and running next-roots then requires it to be .cjs,
but then it throws this error:
node:internal/modules/cjs/loader:1080
  throw err;
  ^

Error: Cannot find module '.../roots.config.js'
Require stack:
-<EMAIL_ADDRESS>    at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15)
    at Module._load (node:internal/modules/cjs/loader:922:27)
    at Module.require (node:internal/modules/cjs/loader:1143:19)
    at require (node:internal/modules/cjs/helpers:119:18)
    at Object.<anonymous> (.../node_modules/.pnpm/next-roots@3.7.0/node_modules/next-roots/dist/cli.js:144:4087)
    at Module._compile (node:internal/modules/cjs/loader:1256:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
    at Module.load (node:internal/modules/cjs/loader:1119:32)
    at Module._load (node:internal/modules/cjs/loader:960:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:86:12) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
<EMAIL_ADDRESS>  ]
}

Can you support roots.config to have file extension .cjs?

Hi, that makes sense, will look into that 🙂

Hi @BorghildSelle,
the new version 3.8.0 was just published. Should support your requirement. Could you please check? You can find an example here https://github.com/svobik7/next-roots/tree/master/examples/basic-esm

Hello,
thanks for finishing this quick!
Sadly we encountered another issue with app router breaking pages i18n next config, so the conversion to app router is postponed.
Thank you for all your work :)


git submodule update --recursive --remote --merge --force ? How do you keep your submodule updated with the latest?

Hi Michael,
Quick question on your setup with a separate image repo (approach I have also been following). Do you run a git submodule update --recursive --remote --merge --force to update your submodule every time you add a new image (to your separate image repo) or have you managed to automate this update through your code (through some git config or maybe sth else)?
Thanks in advance!

I use a GUI frontend to Git with Sourcetree.
Not sure what command it runs, but whenever I add a new image to images submodule, I'll see a file in the interface that needs to be committed.

Thanks for the response.
So, to clarify:

When you upload an image to your local repo for _https://github.com/mmistakes/made-mistakes-images_ you get the file on your Sourcetree GUI ready to commit
When you do commit you now have the image in _https://github.com/mmistakes/made-mistakes-images_
How do you get https://github.com/mmistakes/made-mistakes-jekyll images folder (the submodule) to get updated when you trigger a new deploy in Netlify?
The submodule is tied to a specific commit in your image repo (In your case currently that is "661e083" from "images @ 661e083", but that is now commit is actually now outdated since your image repo has now been updated with a new image
At least in my case I can only make the images folder in my source code repo update if I run git submodule update --recursive --remote --merge --force locally to update my source code image folder and then all flows well from there.\

I'm guessing you may have some automation in place to get it to work seamlessly?

No automation on my part. When I commit to the images repo, in my main repo that has the submodule, the GUI in Sourcetree will show there's a commit tied to the images repo that also needs committing.
Since I never just add an image without tying it to a post or page it's not that big of a deal.

Thanks @mmistakes. My issue seems to stem from Github Desktop (there seems to be a substantial amount of improvements to be done on the submodules front there).
Thanks for helping me understand your workflow. Cheers!


Setting a cached image source from Uri not working 2.1.1

Hi there.
There seems to be an issue when trying to set a CachedImage source from an Uri on version 2.1.1. No image appears.
If I try to load using any of the other methods it works, however setting the source to an URL through code or XAML directly fails.
Reverted to 2.1.0 and it's working.
Any ideas on what might be happening?
Kind regards and keep up the good work.

@daniel-luberda Any idea? Sounds strange to me since I don't expect changes here

I don't expect it either.  Could you give me your code?

Hi there.
Just tested and confirmed on an empty project. Created a new repository for it as well.
I can confirm that the issue is happening on all Windows platforms.
Please check https://github.com/joelsantos/TestFFImage/blob/master/TestFFImage/TestFFImage/App.cs
Here's a picture of the issue https://onedrive.live.com/redir?resid=A69DDA9C53B62B67!888341&authkey=!AKSG29rRApTQ0IY&v=3&ithint=photo%2Cpng
Now that I think about it.. I am not sure it works with 2.1.0 either. Let me check again and I'll let you know.
Cheers,
Joel

@joelsantos It works fine. The issue is that you don't call the init method in your platform projects:
CachedImageRenderer.Init();

See: https://github.com/luberda-molinet/FFImageLoading/wiki/Xamarin.Forms-API#important

@molinch Sorry I forgot to add that to this sample project, but I was doing that on my original project.
I added   CachedImageRenderer.Init(); to the multiple Windows projects and it still doesn't work.
I am doing it on App.xaml.cs, after Xamarin.Forms.Forms.Init(e); (were we are usually advised to do it), however it is still not working. I tried moving the initialization around, but I still don't see any pictures.
You couldn't repro the issue?

@daniel-luberda I cannot test on WP but on iOS/Android I confirm that everything works as expected.
Could you give it a try?

@joelsantos There was a bug in all windows releases. I'm currently fixing it. Thanks!

Thank you @daniel-luberda :+1:  glad I could help

Hi @joelsantos , it's already fixed. Just download 2.1.2 nuget.

I can now confirm that the issue is solved. Thank's once again :+1:


fix: improve npm package

:tada: This PR is included in version 0.4.4 :tada:
The release is available on:

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.0.0-rc.1 :tada:
The release is available on npm package (@rc dist-tag)
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


question about Complex depends condition in Hera

Hello Hera workflow team. I have a question about complex condition in hera workflow.
I am currently using argo workflow on my complex job processing and have decided to change from yaml to hera's. but I wonder about the proper way to create complex workflow in Hera like argo workflow yaml.
for example, my argo workflow yaml has these conditions:
- name: complex-conditions
  depends: (decoder.Skipped && extractor.Skipped) || (decoder.Succeeded || extractor.Succeeded)
  ...
  ...
- name: complex-condition-2
  depends: (decoder.Skipped && filecheck.Skipped && extractor.Omitted) || (decoder.Succeeded || redictor.Succeeded)
  ...
  ...

parentheses depends is here. I thought that the next function in hera would be a solution but it seems insufficient.
    with Workflow(...) as w:
        example_function = Task('example-function', RandConditional)
        example_function2 = Task('example-function2', RandConditional)
        example_function3 = Task('example-function3', RandConditional)
        example_function4 = Task('example-function4', RandConditional)
        example_function5 = Task('example-function5', RandConditional)

        example_function.next(example_function2)
        example_function.next(example_function3)
        example_function.next(example_function4)

        example_function2.next(example_function5, Operator.And, TaskResult.Failed)
        example_function3.next(example_function5, Operator.And, TaskResult.Succeeded)
        example_function4.next(example_function5, Operator.And, TaskResult.Succeeded)

this code to
      - name: example-function
        template: example-function
      - depends: example-function
        name: example-function2
        template: example-function2
      - depends: example-function
        name: example-function3
        template: example-function3
      - depends: example-function
        name: example-function4
        template: example-function4
      - depends: example-function2.Failed && example-function3.Succeeded && example-function4.Succeeded
        name: example-function5
        template: example-function5

but
        ...
        ...
        example_function.next(example_function3)
        example_function.next(example_function4)

        example_function2.next(example_function5, Operator.And, TaskResult.Failed)
        example_function3.next(example_function5, Operator.And, TaskResult.Succeeded)
        example_function4.next(example_function5, Operator.And, TaskResult.Succeeded)

        example_function2.next(example_function5, Operator.Or, TaskResult.Success)
        example_function3.next(example_function5, Operator.And, TaskResult.Success)
        ...

I expected complex depends but i got ValueError
#expected
      - depends: example-function2.Failed && example-function3.Succeeded && example-function4.Succeeded || example-function2.Succeedeed && example-function3.Succeedeed
        name: example-function5
        template: example-function5

# ValueError: example-function2 already in example-function5's depends: example-function2.Failed && example-function3.Succeeded && example-function4.Succeeded

I want to any suggestion on these problem. I read manual and hera's issue many times, but i cannot found.
How to I solve this situations?

Hi @sparkstar! Thank you for the question! Any chance you checked out the Hera expr module? It's supposed to help create these complex expressions. Once you have an expression, you can modify the Task.depends field manually. Hera cannot capture the enormous complexity of the depends field via pure functions so we went with an expr module that allows expressing this complexity, plus made the depends field a public attribute so the condition can be set! Does this help?

Thanks. I will try to use expr.

@sparkstar I am closing this for now. If you'd like to further discuss the use of expression feel free to reopen this issue! Thanks again for the question :)


Region flag is not properly handled in arc_plots_compare

Using region argument when comparing arc plots, it only applies to the profile but full length sequence and arcs are still displayed.

Neither are domains in StructureCompareMany

Thanks Simon, the screenshot helps me a lot.
I don't think StructureCompareMany is affecting this. It looks like those arcs are isolated to your region. I think these two issues are related though. With either plot_arcs_compare or domains there are bars plotted along the x-axis that aren't being clipped to the region. It should be relatively simple to fix. I'll get to it this week or next.

Scott, Will, and Simon have all run into this issue, so I definitely need to fix something and/or add clarification in the documentation.
rnav.plot_arcs_compare is meant to display two full sequences that do not align positionally. This means that we end up with 3 coordinate systems, that of sequence 1, sequence 2, and of the actual x-axis. It is not obvious to me which of these region should apply to.
In the case where sequence 1 and 2 are the same, rnav.plot_arcs_compare adds extra clutter by showing 2 x-axes and the positional alignment between them. This alignment also removes the space where annotations would otherwise go. For Simon, Will, and Scott's cases, a better solution is to use rnav.plot_arcs, adding both samples to the same axes.
Note: this method will not align sequences or filter interactions for the second sample. I can provide code to do this if needed.
# create the plot with a single sample
plot = rnav.plot_arcs(
    samples=[my_first_sample],
    sequence="ss",
    structure="ss",
    interactions="ringmap",
    profile="shapemap",
    region=(72, 200),
    panels={
        "structure": "top",
        "interactions": "top",
        "profile": "top"
    },
)

# add a second sample to the same axes
plot.plot_data(
    ax=0,
    sequence=my_second_sample.get_data("ss"),
    interactions=my_second_sample.get_data("ringmap"),
    structure=my_second_sample.get_data("ss"),
    profile=my_second_sample.get_data("shapemap"),
    panels={
        "structure": "bottom",
        "interactions": "bottom",
        "profile": "bottom"
    }
)