Cross-compilation on macOS fails

Tried to compile on x86-64 macOS for aarch64 and it failed like this:
  configure: error: in `/Users/runner/work/subspace/subspace/target/aarch64-apple-darwin/production/build/hwlocality-sys-5187208e9a266943/out/build':
  configure: error: cannot run C compiled programs.
  If you meant to cross compile, use `--host'.
  See `config.log' for more details
  thread 'main' panicked at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/autotools-0.2.6/src/lib.rs:781:5:

Not sure if this is hwlocality's fault yet, but this is the first package that failed in the project.

I think this happens because the autotools crate, which is used for vendored builds on Unix systems, does not have support for cross compilation yet and therefore does not pass the right flags for it to ./configure.
You may be able to work around it in the short term by extracting the target triplet (aarch64-apple-darwin) from the environment variables that cargo sets for build.rs, and adding a --host <triplet> to configure parameters (IIRC the autotools crate has the right hook for that). If it works, a contribution to the autotools crate to do it automatically would likely be welcome.
But be warned that cross-compilation of C code is not easy, and it may take a lot more effort than setting a configure flag to make it work.

I have cross-compiled stuff for a long time and things like https://github.com/rust-lang/cc-rs handle it gracefully. I'll look into it once I'm in a mood to debug macOS issues again :upside_down_face:

I'm cross-compiling a large project which uses cc internally for some C dependencies and I didn't have issues with cross-compilation before autotools was introduced, so I'm pretty sure cc itself selects compiler correctly.


Support dynamic refreshing impersonation user configuration.

Is your feature request related to a problem? Please describe.
When I need to update the impersonation user, currently I have to restart the cluster. We need to add a method that allows me to update the impersonation user configuration without restarting the cluster.
Describe the solution you'd like
Support dynamic refreshing impersonation user configuration.
Describe alternatives you've considered
Urgency
Urgency
Additional context

thanks for issue it


Refactor dynamic linker, add compartment support

This PR does a bunch of cleanup and refactoring of the dynamic linker, moving it towards a usable state. It uses that refactoring to implement support for multiple compartments, changing (critically) the dependency search-and-load algorithm to handle multiple compartments with instances of the same underlying library. There are also some changes external to dynlink for supporting some of these new abilities.
This version of the dynamic linker was able to load two libraries into different compartments, each with their own copy of libstd, and execute them. Pretty neat.
Future PRs will:

Add support for secure gates to the dynamic linker
Add support for the dynamic linker to indicate the TLS template in a compartment, so that TLS allocation can happen in-compartment.
Add support for systematic running of constructors and destructors.

One fun thing is that this dynamic linker was written to carefully compartmentalize OS-specific stuff it needs in loading, so in theory, it's portable!

Also I have no idea why my git config keeps resetting it's like melete is messing with me.

Do we need a tracking issue for the reference runtime or compartmentalization support?

Probably, yeah. Although I was planning to play around with the project management stuff, using this as a case-study, soon.


Use YAML.unsafe_load when available

Informed by https://github.com/ruby/psych/issues/533#issuecomment-1023561867, this Issue notes the availability of the YAML.unsafe_load method, in Psych 4.0.

use YAML.unsafe_load if available, OR
use YAML.safe_load if available, enabling aliases and all the permitted classes
use YAML.load if those methods aren't available (lower versions of Psych)

Location of use:
https://github.com/cschiewek/devise_ldap_authenticatable/blob/default/lib/devise_ldap_authenticatable/ldap/connection.rb

https://github.com/cschiewek/devise_ldap_authenticatable/pull/276

would be nice to have a new release with @schlumpfit proposal.
with ruby 3.0.4 this problem is present in multiples applications

seems like this issue has already fixes in the psych repo follow the link below
https://github.com/ruby/psych/pull/567

yes, but this gem was not modified to allow aliases

What do you suggest to me?
Maybe do not use aliases in the LDAP YML file? Or something else?

pass aliases: true to YAML.safe_load
see https://github.com/cschiewek/devise_ldap_authenticatable/pull/276


[FEATURE] Retry option and augmented resilience in output parsing for AiServices

For AiServices returning java objects other than String, there is always a certain risk that the model doesn't entirely return the expected format, resulting in conversion errors when the framework tries to parse the result.
Two proposals to make this a bit more resilient:

Trim the answer in a smart way, eg. in case of JSON parsing, cut off everything before the first { and after the last }. Models like to add some unwanted things before and after the real answer, smart trimming would solve this issue that happens relatively often.
Add a 'numberOfRetries' options for AiServices, that will make new call(s) to the model if the parsing failed, in the hope the new answer is parsable.

A third idea is to allow the user to provide a method String curate(String modelOutput) to do some pre-trimming or curation of the direct model output themselves, after which the curated answer is parsed by LangChain4j (eg. cutting of numbers when asking for List, in case the model numbered the  items). Possibly this curation can also be done on the returned java object afterwards, but I can imagine that there are cases where the user observes a specific type of wrong answer appearing often, that is easy to intercept in code. The curate method could also throw an error in that case, which would 'reject' the model answer, and trigger a retry, just like a parsing error would (if this functionality will be implemented).

Hi @LizeRaes thank you!
This is a duplicate of https://github.com/langchain4j/langchain4j/issues/859 and https://github.com/langchain4j/langchain4j/issues/968.
I will close this issue and link it to those two.


[BEAM-12127] More optimizations for PCollectionConsumerRegistry: cach…

…e monitoring container, avoid randomInt for sampling if resevoir is empty
MonitoringContainer lookup shows up as .4% of CPU on benchmark and is easily memoized.
Please add a meaningful description for your change here

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

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

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

GitHub Actions Tests Status (on master branch)

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

R: @kennknowles @amaliujia


[core] Extract RowKeyExtractor

Purpose

For BucketMode, we need multiple bucket extractor implementations.

Tests

API and Format

Documentation

+1


Create an API endpoint that exposes 24h trade volume and last price for each coin

This is maybe already possible with the market data website daniel has made?

This is what CMCs request form say is needed
"Please provide a link to the API documentation (Required for listing) *
It needs to expose the 24h trade volume and the last price for each coin (For example, Poloniex's API endpoint: https://poloniex.com/public?command=returnTicker)"

introduced with :
https://api.mkr.market/

@pimato  is this still the way to go, meaning new pairs will be available on this api endpoint? is there an doc listing the api interface?


Feature Request - Announcements

Please add in the capability to display a daily feed of announcements, either via a RSS / XML feed or PDF file view.

The feature has been added in the latest update.


Publish as ES5 to npm

http-messsage-parser isn't working with some tools (create-react-app) and some 'non-latest' browsers.
The general guidance based on my research appears to be to release to npm as ES5 for a few years.
For example, here is a snippet from Facebook recommending that packages be published pre-compiled.
Is that something that can be done for this package?

@s-maheshbabu the latest release now has only ES5 syntax. Reopen issue if it's not working for you still.
Thanks for reporting!

That worked. Thanks for fixing the issue.

No problem!


Pass component to run if no auth

https://github.com/sandrinodimattia/use-auth0-hooks/blob/19af6143c3ab0ffaf1ad5e6f3b9455157d6e1b7d/src/wrappers/with-login-required.tsx#L35

All of the concepts of this library have been moved to the official Auth0 SDK for React (https://github.com/auth0/auth0-react), so I'll be archiving this repository shortly.


Fix InputDecorators suffix and prefix widgets are tappable when hidden

fixes The InputDecoration's suffix and prefix widget can be tapped even if it does not appear
This PR also updates two existing tests to pass the tests for this PR. These tests are trying to tap prefix and  suffix widgets when they're hidden. While the linked issue had visible prefix and suffix widgets https://github.com/flutter/flutter/issues/39376 for reproduction.
Code sample

expand to view the code sample
import 'package:flutter/material.dart';

void main() {
  runApp(MainApp());
}

class MainApp extends StatelessWidget {
  final _messangerKey = GlobalKey<ScaffoldMessengerState>();

  MainApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      scaffoldMessengerKey: _messangerKey,
      home: Scaffold(
        body: Container(
          alignment: Alignment.center,
          padding: const EdgeInsets.all(16.0),
          child: TextField(
            decoration: InputDecoration(
              labelText: 'Something',
              prefix: GestureDetector(
                onTap: () {
                  _messangerKey.currentState?.showSnackBar(
                      const SnackBar(content: Text('A tap has occurred')));
                },
                child: const Icon(Icons.search),
              ),
              suffix: GestureDetector(
                onTap: () {
                  _messangerKey.currentState?.showSnackBar(
                      const SnackBar(content: Text('A tap has occurred')));
                },
                child: const Icon(Icons.search),
              ),
            ),
          ),
        ),
      ),
    );
  }
}

Before

After

Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[ ] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is test-exempt.
[x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

Note to take into account : since this patch, automated tests might fail if the widgetTester doesn't first tap the TextField and pump, then try to tap a suffix or prefix widget.
Example widget :
TextField(
              decoration: InputDecoration(
                suffix: IconButton(
                    icon: const Icon(Icons.plus_one),
                    onPressed: _incrementCounter),
              ),
            )

Was working before :
    await tester.tap(find.byIcon(Icons.plus_one));

Is needed now :
    await tester.tap(find.byType(TextField).first);
    await tester.pump();
    await tester.tap(find.byIcon(Icons.plus_one));

For people having pre-existing tests trying to tap on suffixes, they now all fail on Flutter 3.22
Though the tests were incorrect, not this patch which has the correct behaviour. But I post this message to save some time on future developers having this issue with their tests :)


A black screen appears when tapping "Scan" in BC Wallet

From Lawyer:
"I have installed the bc wallet ap but when I click “scan” to scan the QR code the screen turns black.  Is there something that can be done to rectify this?"
Device: iPhone 7 software version 15.7.7
A solution that fixed the bug for the lawyer was to uninstall and reinstall the wallet.
Fix: Add a message stating that camera use is required to use the camera.
Please use a full screen modal as laid out in the style guide
Acceptance Criteria
Given the Holder has not allowed camera permission for BC Wallet on their mobile device
When the Holder selects the scan button
Then they are presented with a full screen modal informing them that camera use is required
and a primary button labelled "Open settings" that opens the device's settings
and a secondary button labelled "not now" that takes them back to the home screen

For issues like this it would be great to get their device specifics. Type, OS, OS Level.

Added the device specs

@knguyenBC This happens when they denied access to the camera. It could be fixed by going into Settings -> Privacy -> Camera -> BC Wallet and allowing the app to use the camera. We could add a message saying this to alert the user to the problem.

Sounds like a good plan. I'll draft something.

@jleach Updated the ticket to include solution for this issue, wireframes, reference to style guide, and acceptance criteria.


Add wasm-pack configuration

wasm-pack is a way to compile Rust to WebAssembly.
Would be nice to use it for this project, because we could automate the (currently manual) build process.
Here are some instructions on how to get started.

Fixed with #9.


Day incorrect in datepicker

Bug, feature request, or proposal:
When I select a date I see the correct date in the field but, when I save, the datepicker send the day before the date I have selected
here's the code:
<md-form-field> <input mdInput 														[(ngModel)]="fareCalendar.startDate" name="startDate" 														[mdDatepicker]="picker"  														placeholder="startDate"> 													<md-datepicker-toggle mdSuffix [for]="picker"></md-datepicker-toggle> 													<md-datepicker #picker></md-datepicker> </md-form-field>
I am using angular 4  and @angular/material": "^2.0.0-beta.10

but the date:

How can I send the UTC date

Could you try to reproduce it here, please: https://plnkr.co/edit/8nRKSJ?p=preview ?

I just want that the date I have selected in calendar is already in UTC timezone

That's why I'm asking you to reproduce it in the plunk. For me it's working fine, but it's possible that some config or bug is happening in your case:

If it's just a matter of configs, stackovervlow.com is more suitable than this channel.

The calendar returns a javascript Date object. What you've shown in above message seems like something that generated from other source (it looks like a JSON.stringify() result or maybe from a database service). To get back the Javascript Date object, you have to do:
fareCalendar.startDate = new Date(fareCalendar.startDate);

If I select th date: 6/9/2017 and print it I see:
Wed Sep 06 2017 00:00:00 GMT+0200
Then I save the date in a body  const body = {       startDate: this.fareCalendar.startDate     };
And make post request.
I am using Http client

Oh, you may be refering to the fact that the UTC time add/subtract your current time offset. Look at the picture below: I'm in a GMT+2h00 zone, so, my UTC value is offset by 2 hours. So, if I set the hours to 23h00 in my Date object, my UTC date get offset to the day after (as in 1h00 am).

Yes, I want the date selected is already UTC, I used primeng calendar and there is a property like utc="true" that solve this.
If I select 22/9/2017 I want send: 2017-09-22T00:00:00.000Z

Well... I really don't know if it's planned to support such a utc attribute.
cc: @mmalerba

We do plan to add support for different timezones/offsets, but its not there yet. In the mean time you could make a custom DateAdapter that works with UTC dates to accomplish this.
Here is the DateAdapter class you would have to extend:
https://github.com/angular/material2/blob/master/src/lib/core/datetime/date-adapter.ts
Some examples of existing implementations:
https://github.com/angular/material2/blob/master/src/lib/core/datetime/native-date-adapter.ts
https://github.com/angular/material2/blob/master/src/material-moment-adapter/adapter/moment-date-adapter.ts
And some documentation that may help:
https://material.angular.io/components/datepicker/overview
https://blog.angular.io/taking-advantage-of-the-angular-material-datepicker-237e80fa14b3

@lippomano I have the same request. Did you get any solution about it ? thank you for any suggestions.

@we125182 I write a method that manipulate every date it is not the best practice but it's simpler for me

I'm also getting a incorrect date.

I get this exact same behaviour on https://material.angular.io/components/datepicker/overview
It always adds +1 day after selected.

@adaojunior if you're seeing the same issue on the docs site its likely some issue related to your locale / time zone. Any additional information you can provide would be useful. If you're using Moment.js in your app (or willing to try it) you could give the MomentDateAdapter a try and see if it resolves your issue. Just add the MatMomentDateModule from @angular/material-moment-adapter at your application root instead of MatNativeDateModule

@mmalerba  same issue on the docs, see:

I'm using MdNativeDateModule on my application.

@mmalerba Hello, is it possible to import MatMomentDateModule from @angular/material-moment-adapter when using beta12? I cannot find the way to do it, it's seems to me this module is not yet released?

@npen yeah I think it missed the release, you can install it from here in the mean time: https://github.com/angular/material2-moment-adapter-builds

Adding +1 day is a new "feature" with the day picker. I believe it has been introduced in beta 12.

@jt-helsinki Thanks for the detailed info, strangely I am unable to reproduce it using the same settings. I tried 12th of October 2017 at 22:30 in the following time zones (all of the Australian ones listed on my system): Adelaide, Brisbane, Broken Hill, Currie, Darwin, Ecula, Hobart, Lindeman, Lord Howe, Melbourne, Perth, Sydney.
All of them showed the 12th circled and selected the 12th after clicking (on docs site)

If anyone knows what I'm doing wrong please let me know...

Looks like you're doing exactly what I was doing.
An unlikely shot, could it be a OS/browser thing?
I'm on:
OSX
Chrome (Version 61.0.3163.100 (Official Build) (64-bit))

@jt-helsinki @adaojunior, are you in regions with daylight saving time period currently on?

Yes!! Australia!!

And is it a normal DST period, I mean, every year, on October, Sydney is usually in DST...?

yes, First weekend of Oct to first weekend of April of the next year
Sydney DST

@mmalerba, I've heard of something about ECMA 5.1 and previous versions having DST issues... if this is the problem, it would affect older browsers (that, for sure, is not the case of @jt-helsinki's https://github.com/angular/material2/issues/7167#issuecomment-336249082). Look at this test in IE 11 that I couldn't reproduce in Chrome (I think you have already noticed the calendar showing the 31st day of the previous month):

Oddly enough, this started happening when the Aussie daylight savings time ticked over.
Strange because he same problem doesn't happen here in Europe. Then again, maybe it will when the clocks change at the end of the month.

Awesome sluething @julianobrasil! I was able to reproduce it with those settings, I'll  look into it.

@julianobrasil it looks like that article you linked is spot on. IE seems to be doing its own DST correction, so my logic to do it manually with UTC dates is overcompensating

@jt-helsinki , same thing here in Europe when DST kicked in. If DatePicker is not supposed to handle different timezones, shouldn't it ( at least ) handle DST ?

Indeed it should, hence the open PR to fix it

@mmalerba  shouldnt the datepicker not support timezones
its for selecting only date
if i am selecting date of birthday it shouldnt change according to different time zones

I made my self a workaround by overriding the MomentJS DateAdapter compiling the date from UTC and then converting it into the locale date:
import { Inject, Injectable, Optional } from '@angular/core';
import { MAT_DATE_LOCALE } from '@angular/material';
import { MomentDateAdapter } from '@angular/material-moment-adapter';
import { Moment } from 'moment';
import * as moment from 'moment';

@Injectable()
export class MomentUtcDateAdapter extends MomentDateAdapter {

  constructor(@Optional() @Inject(MAT_DATE_LOCALE) dateLocale: string) {
    super(dateLocale);
  }

  createDate(year: number, month: number, date: number): Moment {
    // Moment.js will create an invalid date if any of the components are out of bounds, but we
    // explicitly check each case so we can throw more descriptive errors.
    if (month < 0 || month > 11) {
      throw Error(`Invalid month index "${month}". Month index has to be between 0 and 11.`);
    }

    if (date < 1) {
      throw Error(`Invalid date "${date}". Date has to be greater than 0.`);
    }

    let result = moment.utc({ year, month, date }).locale(this.locale);

    // If the result isn't valid, the date must have been out of bounds for this month.
    if (!result.isValid()) {
      throw Error(`Invalid date "${date}" for month with index "${month}".`);
    }

    return result;
  }
}

@Silthus
Your solution works like a charm. Just had this issue and you commented 18 hours ago. Lucky me! :D

Silthus' workaround works great.
@mmalerba: Is there a plan to implement something into oficial MomentDateAdapter to avoid workarounds?

@mmalerba I can send a PR later this day.

You can change the default behaviour to parse dates as UTC by providing the MAT_MOMENT_DATA_ADAPTER_OPTIONS and setting it to useUtc: true.
@NgModule({   imports: [MatDatepickerModule, MatMomentDateModule],   providers: [     { provide: MAT_MOMENT_DATE_ADAPTER_OPTIONS, useValue: { useUtc: true } }   ] })
Check here for more details

MAT_MOMENT_DATE_ADAPTER_OPTIONS - oh man, that's so awesome!
However, this..., it's not should, it must be default configuration for datepicker.

Why does datepicker care about the timezones at all? Who would ever need that?

Maybe the problem here is the fact that the datepicker's value is a Date in the first place.  Date is a perfectly good(ish) class for representing an absolute instant in real time; it's a terrible representation of a calendar date.  This entire thread, dozens of posts, dozens of users complaining, could have been avoided if the default date adapter went to/from ISO 8601 date-only strings.  Every date library (and of course the native Date object) understands them, they are exactly as specific as the UI that generated them, and they can be "upgraded" to an instant or range of real time by simply adding "Z" on the end.  What I mean to say is, adding context to go from "2018/11/26" to "2018/11/26Z" makes sense, but going the other way -- trying to remove time-zone-ness from the data -- does not.
Of course, I can fix all this by writing my own date adapter, or going out and getting the Moment-based one, but as long as the default behavior is Date-based, you're going to keep seeing people showing up in this thread.

I made my self a workaround by overriding the MomentJS DateAdapter compiling the date from UTC and then converting it into the locale date:
import { Inject, Injectable, Optional } from '@angular/core';
import { MAT_DATE_LOCALE } from '@angular/material';
import { MomentDateAdapter } from '@angular/material-moment-adapter';
import { Moment } from 'moment';
import * as moment from 'moment';

@Injectable()
export class MomentUtcDateAdapter extends MomentDateAdapter {

  constructor(@Optional() @Inject(MAT_DATE_LOCALE) dateLocale: string) {
    super(dateLocale);
  }

  createDate(year: number, month: number, date: number): Moment {
    // Moment.js will create an invalid date if any of the components are out of bounds, but we
    // explicitly check each case so we can throw more descriptive errors.
    if (month < 0 || month > 11) {
      throw Error(`Invalid month index "${month}". Month index has to be between 0 and 11.`);
    }

    if (date < 1) {
      throw Error(`Invalid date "${date}". Date has to be greater than 0.`);
    }

    let result = moment.utc({ year, month, date }).locale(this.locale);

    // If the result isn't valid, the date must have been out of bounds for this month.
    if (!result.isValid()) {
      throw Error(`Invalid date "${date}" for month with index "${month}".`);
    }

    return result;
  }
}

The important line being:
let result = moment.utc({ year, month, date }).locale(this.locale);

thanks, it's work very well :)

@Silthus the adapter you did works like a charm, but I have a requirement to set the format for the date.
How can I achieve that alongside timezone adapter?

I am wondering if adding the useUTC portion to a component's providers instead of the module's providers will not work?
When using an India timezone (spoofing the browser), we were not able to make moment work, we ended up having to manually remove the timezone offset in order to get the mat-datepicker to choose the correct date:
let newDate= new Date(initialInfo.value);           newDate.setMinutes(newDate.getMinutes() + newDate.getTimezoneOffset());           variableValueCtrl.reset(newDate);
When I tried to get it to work with moment it cause a whole host of other issues. However this still causes the selection to be wrong:

Not looking for a solution, just alerting to the issues

Stackblitz showing crazy go nuts wonky-ness when you have your browser spoofed to India time:
https://stackblitz.com/edit/angular-trude-datetest


how to get the single chain pdb from pdb file

I want to caculate the tmscore between the stardard pdb and the database pdb .example  2YSS_A and 1OAQ_L the pdb website offer the whole pdb contain two chain. how to get the single chain pdb information and use the TM-align caculate the score?  can you give me a hand

If you want to extract a chain from a PDB file, for a single case you can open the PDB file and copy out the ATOM/HETATM lines for the chain in question to a new file. The chain ID is the 22nd character of each ATOM/HETATM line.
To do this programmatically the easiest way is probably to use pdb-tools:
pip install pdb-tools
pdb_selchain -A 2YSS.pdb > 2YSS_A.pdb

Then you can run TM-align with that file. I don't fully understand the first part of your question though. Hope this helps!

very helpful! thanks for your kindness .


LimitelessLed with easybulb

running windows 10 trying to get easy bulbs to work with LimitlessLEDv6
have downloaded the program it loads up ok and can find the wifi bridge
ip address udp port 5987 but when ever i send a comand nothing happens i have all colored bulbs
installed was looking for a way to use maybe google home or mini to work the voice comand for the bulbs ..seen a few things on here ..but cant even get this to work ..have not done any programming as such to date just some basic html code on windows web site building  ..everything looks like it should be working but nothing happens ..i have seen a other program running ha -bridge also not even sure what to run that ..is that on  apache-maven ..again not sure so as you can see could do with some help here ..just on where to start and what programs i need to run what ever ..
i understand i need to send the same code as from the phone app
and this limitless replicates that ..i just cant get it to work
and yes i have allowed it on firewall as it find my bridge any help cheers guys
OK UP DATE found
LimitlessLED MiLight Remote v2.1.11
and this works great from the pc
but strange LimitlessLEDv6 uses port 48899  but v2.1.11 uses 8899 and works but if i change v6 to 8899 still done not work so confused surly if u use the same ip and bridge in both programs they would both work ..
Component/platform:
Description of problem:
Expected:
Problem-relevant configuration.yaml entries and steps to reproduce:

Traceback (if applicable):

Additional info:

Please only open an issue if you suspect a bug. If you need help please use our help channels:
https://home-assistant.io/help/#communication-channels
Thanks!


use $USERPROFILE instead of $HOME on Windows

Windows doesn't have $HOME.

Sorry, I'll push one more fix.

BTW, I prefer to move pushb into github.com/xconstruct/go-pushbullet/cmd/pushb for go-get.


Add testing for vxlan

Won't pass CI till https://github.com/networkservicemesh/sdk-vpp/pull/120 has been merged.


feat: Mini Aztec Connect With Uniswap

Extend the Uniswap noir contract with extension to aggregate multiple "swaps" with the same parameters into one large swap (Aztec Connect style).
The swap flow itself will be similarly to what is outlined in #843, but the aggregation itself should be done before this, and have a distribution stage afterwards ensuring that people get their funds.

Aggregate
Perform swap as in #843
Distribute

Aztec connect used the sequencer to perform the distribute step, consider doing similar with "partial" claims, or let the users individually handle their claims. For now, don't need to consider fees.

Replaced by https://github.com/AztecProtocol/aztec-packages/issues/2167


Feature: Unite all log system

History
Currently, sealos has at least 3 logging system.

pkg/utils/logger base logger tool support console/file/net with color support.
this is sealos most used logger system, but have many issues:

Net logger driver is not well tested; we cannot ensure it is work fine or not
There are no active updates where this logger file copy from: logger repo
Dangerious bug: when use log as one process command line tool logging, it is worked well, but when using as a service log, it has data race:

When log file is full (reach max-line), the file log driver will start a goroutine to split old log files to old names which will close fd, and when at this time, one new log.write call is coming, log will panic as file is already closed cause loss of log.

lvscare|image-cri-shim using glog to provide logger.

glog's impl is watch command line flags to parse, but

pkg/image/buildah is using sirupsen/logrus for interactive logs.
just one pkg usage and can easly replace with any other one.

Suggest
As kubernetes and kubebuilder is using uber-go/zap as its base log system, we should update logger system to unite one.
Pros:

zap is used by base k8s and tool.
Unit logger system to join support cli and server usage.
resolve goroutine data race and flag already defined bug

Cons:

a lot of source code need to be updated and test.

https://github.com/kubernetes/enhancements/tree/master/keps/sig-instrumentation/2845-deprecate-klog-specific-flags-in-k8s-components klog has some history impact and k8s community is disscusion to disabled some feature, s we do not need to support klog.


Add prerequisites and update sections of the article for clarity

Additional item we can discuss is whether we need the Configure Google federation using Powershell as it requires additional prerequisites. We could add this in the future plus MS Graph API.
Do we need to use tenant ID in URLs such as https://<tenant-ID>.ciamlogin.com/<tenant-ID>/federation/oidc/accounts.google.com? Isn't tenant sub-domain sufficient post-build?

Moving changes to azure-docs-pr repo. #please-close


Not working. Was working before. Not sure why it stopped working. Help!

Using Terminap.app
I'm using the latest version of termtile.
My ~/.bashrc looks like this:
# Added by termtile (https://github.com/apaszke/termtile)
alias ul='osascript ~/.termtile/tile.scpt up left'
alias ur='osascript ~/.termtile/tile.scpt up right'
alias dl='osascript ~/.termtile/tile.scpt down left'
alias dr='osascript ~/.termtile/tile.scpt down right'
alias ll='osascript ~/.termtile/tile.scpt left'
alias rr='osascript ~/.termtile/tile.scpt right'
alias up='osascript ~/.termtile/tile.scpt up'
alias down='osascript ~/.termtile/tile.scpt down'
alias big='osascript ~/.termtile/resize.scpt '
alias cen='osascript ~/.termtile/center.scpt '
alias max='osascript ~/.termtile/maximize.scpt '
alias sn='osascript ~/.termtile/changeScreen.scpt next'
alias fs='osascript ~/.termtile/fullscreen.scpt '

I get no error message, nothing. Nothing happens at all.
any help appreciated.

I guess that there might have been an interface change in the Terminal's AppleScript API. I'm no longer actively maintaining the repo, so I won't look into it. Any PRs are welcome. Thanks!


The source directory drogon-1.7.1/trantor does not contain a CMakeLists.txt file.

When trying to build the library from source:
CMake Error at CMakeLists.txt:118 (add_subdirectory):
The source directory
/home/nuclear/drogon-1.7.1/trantor

does not contain a CMakeLists.txt file.
To Reproduce
Steps to reproduce the behavior:
tar -xf drogon-1.7.2.tar.gz
cd drogon-1.7.2/
./build.sh
Also, the trantor directory is empty, but it is used from CMakeLists.txt.
Also, the library includes files from it
tried with version 1.7.2 and 1.7.1
Expected behavior
CMake to run successfully
Desktop (please complete the following information):

OS: Ubuntu 20.04

This seems to be a defect of github, it did not include the code of the submodule when it was packaged

If you clone drogon, you can use
git clone --recurse-submodules https://github.com/drogonframework/drogon.git

it will automatically clone the trantor repository in the trantor directory, but if you cloned drogon without the --recurse-submodules option, you can do
git submodule update --init


Implement security recommendations from Electron

https://electronjs.org/docs/tutorial/security

Moved to Jira - https://smm.atlassian.net/browse/EXTCH-52


malformed authorization header

PLEASE! Help-me...

{
"error": "invalid_request",
"error_description": "Invalid request: malformed authorization header"
}

not authentication, information down.
HEADER:

BODY:

MONGO:

You're Authorization header only has a client secret, no client id. You should send 'Basic' + new Buffer(client_id + ':' + 'client_secret).toString('base64').

Also, you seem to be trying to do a password grant with a client_credentials grant type.

@steffansluis  hey man, I tried any forms, but not possible. You to know other form for me to achieve.

Truth be told, I haven't used this package in quite a while. I ended up implementing my own handlers using node-oauth2-server because I needed some custom logic. You're probably best off reading through the code and debugging as you encounter different errors.
The error you are encountering is thrown here because it expects an access token in the Authorization header as opposed to client credentials. This comes from the handle function on the authenticate handler. You seem to be wanting the token handler. The authenticate handler is supposed to validate requests, whereas the token handler actually handles the generation of tokens and such.

Okay, I Understand, but with node-oauth2-server not accept request's with JSON it accept only request application/x-www-form-urlencoded I necessary using request with JSON, because of the frameworks that using in my front-end, what you advice?

Using node-oauth2-server (or this package for that matter) doesn't affect the rest of your API, only the authentication flow might require a particular encoding but if you really want you could get around that (not sure if the OAuth2 RFC allows for that though). Once you have requested a token you can simply create your own endpoint that authenticates first and then serves some JSON. It would look something like this:
...

server.get('/myendpoint', OAuthServer.authenticate, (req, res) => {
  // Send any type of response here
  res.json({ hello: 'world' });
});

...

@steffansluis  thanks, I will read better about the OAuth2 RFC, for me understand the specifications.


When reading (chinese) .msg files, HTML converted from RTF is completely garbled (encoding issue)

The problem is that the RTF's included codepage is ignored and all the hex bytes for text are converted one at the time. However, codepage 936 (chinese charset) requires two bytes per character (double byte character set, DBCS). Moreover, any code page defined in the RTF header should be honored when parsing user text.

Solved by bbottema/outlook-message-parser#3.

Released in 6.0.0-rc1.


Editing fullwidth UTF-8 characters results in an index out of range error

Description of the problem or steps to reproduce
Paste this (or any really long fullwidth string) into a new micro buffer:
０１２３４５６７８９ａｂｃｄｅｆｇｈｉｊｋｌｍｎｏｐｑｒｓｔｕｖｗｘｙｚＡＢＣＤＥＦＧＨＩＪＫＬＭＮＯＰＱＲＳＴＵＶＷＸＹＺ！＂＃＄％＆（）＊＋，－．／：；＜＝＞？＠［＼］＾＿｀｛｜｝～０１２３４５６７８９ａｂｃｄｅｆｇｈｉｊｋｌｍｎｏｐｑｒｓｔｕｖｗｘｙｚＡＢＣＤＥＦＧＨＩＪＫＬＭＮＯＰＱＲＳＴＵＶＷＸＹＺ！＂＃＄％＆（）＊＋，－．／：；＜＝＞？＠［＼］＾＿｀｛｜｝～

micro will crash:
Micro encountered an error: runtime error: index out of range
runtime.errorString runtime error: index out of range
/home/zbyedidia/go/src/runtime/panic.go:491 (0x42b9d3)
/home/zbyedidia/go/src/runtime/panic.go:28 (0x42a6ae)
/home/zbyedidia/gopath/src/github.com/zyedidia/micro/cmd/micro/cellview.go:187 (0x8a1ad0)
/home/zbyedidia/gopath/src/github.com/zyedidia/micro/cmd/micro/view.go:895 (0x902775)
/home/zbyedidia/gopath/src/github.com/zyedidia/micro/cmd/micro/view.go:1149 (0x904dd9)
/home/zbyedidia/gopath/src/github.com/zyedidia/micro/cmd/micro/micro.go:227 (0x8c7566)
/home/zbyedidia/gopath/src/github.com/zyedidia/micro/cmd/micro/micro.go:464 (0x8c8e75)
/home/zbyedidia/go/src/runtime/proc.go:185 (0x42d7dd)
/home/zbyedidia/go/src/runtime/asm_amd64.s:2337 (0x45aad1)

Some more observations (since the stacktrace has view.go):

If you extend the width of the terminal emulator to fit the string on one line in micro, it will not crash
Similarly, if you just paste in a few fullwidth characters, it won't crash until you keep pasting and go past one line
Interestingly enough, try inserting a non-fullwidth character like a in the middle of the sample fullwidth string I provided. Pasting that will not crash micro even if it exceeds the drawable width for one line

Specifications
Version: 1.3.5-dev.73
Commit hash: 3924e36
Compiled on January 18, 2018

OS: Arch Linux x86_64
Terminal: urxvt on the bspwm WM

@zyedidia Going through some of my old issues, this seems to be fixed (thanks!). I didn't actually verify that 7934956 is the fix, but that was over 2 years ago, so not worth it. Fwiw I'm on:
Version: 2.0.5-dev.23
Commit hash: 63900cb
Compiled on June 05, 2020


Validation error: Trying to access parent frame stack values.

Hi, I'm getting a super strange error with wasm-bindgen that I wasn't seeing in the past few days.
Basically when I'm pushing a boxed trait object to some storage (a Vec<Box<_>>), wasm-bindgen fails with:
error: failed to create wasmi module
	caused by: Validation: Function #165 validation error: Trying to access parent frame stack values.

It looks like it's running the output wasm file through an interpreter to figure out the signature of the exposed functions(?).
Here's the minimal lib.rs I'm managed to compile this down to:
#![feature(proc_macro, wasm_custom_section, wasm_import_module)]

use std::boxed::Box;
use std::cell::RefCell;
use std::rc::Rc;

extern crate wasm_bindgen;

use wasm_bindgen::prelude::*;

#[wasm_bindgen]
pub fn greet(mut holder: TestTraitHolder) {
    let test_struct = TestStruct::new();
    let boxed = Box::new(test_struct);

    // If you comment this out, no errors from wasm-bindgen.
    holder.hold.push(boxed);
}

#[wasm_bindgen]
pub struct TestTraitHolder {
    hold: Vec<Box<TestTrait>>,
}

#[wasm_bindgen]
pub struct TestStruct {
    a: Rc<RefCell<u32>>,
    f: Rc<RefCell<ButtonState>>,
}

#[wasm_bindgen]
impl TestStruct {
    pub fn new() -> TestStruct {
        TestStruct {
            a: Rc::new(RefCell::new(0)),
            f: Rc::new(RefCell::new(ButtonState { hovered: true, clicked_in: false, clicked: true, })),
        }
    }
}

#[derive(Clone)]
struct ButtonState {
    pub hovered: bool,
    pub clicked_in: bool,
    // If you remove one of these fields, no errors from wasm-bindgen.
    pub clicked: bool,
}

pub trait TestTrait {
    fn hello(&self);
}

impl TestTrait for TestStruct {
    fn hello(&self) {
        // If you comment this out OR change `self.f` to `self.a`, no errors from wasm-bindgen
        let _hi = self.f.borrow().clone();
    }
}

The way I tested this was to create a new hello-world project from the README and sub in this lib.rs and run:
cargo build --target wasm32-unknown-unknown && wasm-bindgen target/wasm32-unknown-unknown/debug/wasm_validation_64.wasm --out-dir .
There's also a lot of weird ways to make this go through wasm-bindgen without complaining, see the comments. Does anyone know why this might be happening?

Thanks for the report! This may be an LLVM bug or a bug somewhere else, but unfortunately I can't seem to reproduce :(
Can you create a standalone repo with a script to reproduce this?

Thanks for the reply @alexcrichton! Hmm, wonder why it's not reproducing for you. I'm working on a WASM/Rust project and have been using this pattern for at least a week, but I just started encountering this bug.
Here's the standalone repo with information on how to reproduce:
https://github.com/DarrenTsung/wasm-validation-64
Includes my wasm-bindgen version / rustc version, etc. Let me know if you think of any other useful information!

This is not that useful, but I went back in the wasm-bindgen commit history to see if I could find any versions that work with the example. Once I got to bump 0.2.2 commit, it worked, but the next commit it didn't (https://github.com/rustwasm/wasm-bindgen/commit/3305621012bd84221a6310bf0e8ef8bad25887cc). This is because this is the first commit that added the wasmi project for validation / type inference(?).
Anyways, that wasn't the version of wasm-bindgen I was previously using (as a lot of the flags weren't recognized), so it seems like wasm-bindgen isn't the issue here. The likely culprit is the version of nightly I'm running.

Oh yeah, I had this problem as well but forgot to post an issue about it.
Rolling back to rustc e5f80f2a4 2018-05-09 resolved the problem for me.

Thanks @jsheard! That helped make the search a lot faster :).
Installed a previous nightly version with:
rustup toolchain install nightly-2018-05-09
Rolling back to that version with override in my project directory:
rustup override set nightly-2018-05-09
Confirmed that it works with the latest wasm-bindgen (0.2.10) for my project as well as the standalone repo.

Here's a short example that also has the problem, although it does pull in quite a lot of crates.
#![feature(proc_macro, wasm_custom_section, wasm_import_module)]

extern crate wasm_bindgen;
extern crate image;

use wasm_bindgen::prelude::*;

#[wasm_bindgen]
pub fn read_img() {
    image::load_from_memory(&[]);
}

$ wasm-bindgen ./imaj.wasm.gc --out-dir=.
error: failed to create wasmi module
	caused by: Validation: Function #739 validation error: Trying to access parent frame stack values.

Here's the generated, garbage-collected WASM:
repro.wasm.zip

rustc 1.27.0-nightly (acd3871ba 2018-05-10)
wasm-bindgen 0.2.10

If I roll back to nightly-2018-05-09, I do not see the problem. If I compile in release mode, I do not see the problem.

Hm ok thanks for the file @shepmaster! Attempting to run that file through tools like wasm-dis or wasm2wat produces quite a lot of errors, so I think that may just flat out be a corrupted wasm file. That would point towards probably an LLVM or an LLD bug

Hm I still can't reproduce though and actually generate a corrupt wasm file myself. Would someone be willing to make something like a docker image which reproduces this?

Ah ok I was able to reproduce with the instructions in https://github.com/rust-lang/rust/issues/50869 and get an upstream LLVM bug, so I'm going to close this in favor of the rust-lang/rust issue


Doc

This PR adds a centralized document.

What about deploying the book on vercel for branches and prs, and merge this branch into master, so that it can be available online, allowing us to publish doc of a feature/module even if it's WIP?

Yes LGTM.


Add exponent to the labels of web 3D gates

This pull request fixes the bug reported in #4761. The exponents of gates are not reflected in the labels of 3D circuits. This PR adds it using CircuitDiagramInfo._wire_symbols_including_formatted_exponent, which has been used in the generation of the text circuit diagrams.
Another problem raises after the exponents are added. The color of the X gate is chosen as black, and the label's color is also black. As a result, the label cannot be recognized. To solve this problem, I set the label's color according to the brightness of the gate color. If it is dark (e.g., in the case of black), white is picked for the label. The color parameter for MeshBasicMaterial has also to be changed to avoid shadowing the label.
After the modification, the test case used in the #4761
import cirq_web
a, b, c, d = cirq.GridQubit.rect(2, 2)
cirq_web.Circuit3D(cirq.Circuit(cirq.X(a)**0.5, cirq.Y(b)**0.5, cirq.X(c), cirq.Y(d))).generate_html_file(
    file_name="hello.html")

generates this circuit:

close #4761

Automerge cancelled: A required status check is not present.
Missing statuses: ['Pytest Windows (3.7)', 'Pytest Windows (3.8)', 'Pytest Windows (3.9)', 'Typescript lint check', 'Typescript tests', 'Typescript tests coverage']

@yjt98765 This looks good, writing there though to document though that line 254 overrides the MeshBasicMaterial to 'white', which will cause issues when trying to customize gate colors from the Python. I see why it was done, but we should keep track of this somehow so that if someone tries to change the color and runs into issues this is why. As time permits I can also look at it.


QC test tests

As discussed in #41 and implemented in #45, we now have a mechanism and first example to create fake profiles, designed to pass or fail a give test, allowing us to build a test suite to ensure the correct performance of the qc tests. Currently, only one trivial example is implemented; behavior of all qc tests should be validated in qcvalidation.py.

This work ongoing in #47 - please comment there.


feat(tabs): refactor tabs

Describe pull-request
Refactoring the tabs. We now have: inline-tabs, folder-tabs and navigational-tabs. This PR also includes removing the functionality of displaying the tabs content. The fallback tab label was also removed in this PR.
Solving issue
Fixes: #3221 #3173
How to test

Go to storybook link below.
Check in Components -> Tabs -> Folder Tabs / Inline Tabs / Navigational Tabs
Check that the styling is correct.

Suggested test steps

[x] Browser testing (Chrome, Safari, Firefox)
[x] Keyboard operability
[x] Interactive elements have labels.
[ ] Storybook controls
[ ] Design/controls/props is aligned with other components
[ ] Dark/light mode and variants
[ ] Input fields – values should be displayed properly
[ ] Events

Screenshots
Additional context

Figma deviations (https://www.figma.com/file/d8bTgEx7h694MSesi2CTLF/Tegel-UI-Library?node-id=10544%3A33259&t=PKbKkCMJzUjnw0uH-0):

[ ] Background color should change on hover

Do we need mode variants for navigation and inline tabs, cant it just be transparent?

navigation and inline tabs, ca

Yes, it's needed or the scroll buttons :/

Needs rebasing, the build is suddenly crashing. Ill get on it

There is a rouge border after the last item on the folder tabs 🥷

 There is a rouge border after the last item on the folder tabs 🥷

Sneaky! Should be fixed now


Broken Test for sample 05/sample-resource-server

The test on this sample is currently broken:

$ mvn test
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/usr/share/maven/lib/guice.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
[INFO] Scanning for projects...
[INFO]
[INFO] -----------------------< sample:resourceserver >------------------------
[INFO] Building resourceserver 0.0.1-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ resourceserver ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] Copying 1 resource
[INFO] Copying 0 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ resourceserver ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:3.2.0:testResources (default-testResources) @ resourceserver ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Using 'UTF-8' encoding to copy filtered properties files.
[INFO] skip non existing resourceDirectory /work/dev/keycloak/keycloak-book-jp/05/sample-resource-server/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ resourceserver ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ resourceserver ---
[INFO]
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running com.example.demo.DemoApplicationTests
10:15:35.836 [main] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating CacheAwareContextLoaderDelegate from class [org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate]
10:15:35.845 [main] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating BootstrapContext using constructor [public org.springframework.test.context.support.DefaultBootstrapContext(java.lang.Class,org.springframework.test.context.CacheAwareContextLoaderDelegate)]
10:15:35.874 [main] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating TestContextBootstrapper for test class [com.example.demo.DemoApplicationTests] from class [org.springframework.boot.test.context.SpringBootTestContextBootstrapper]
10:15:35.881 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Neither @ContextConfiguration nor @ContextHierarchy found for test class [com.example.demo.DemoApplicationTests], using SpringBootContextLoader
10:15:35.884 [main] DEBUG org.springframework.test.context.support.AbstractContextLoader - Did not detect default resource location for test class [com.example.demo.DemoApplicationTests]: class path resource [com/example/demo/DemoApplicationTests-context.xml] does not exist
10:15:35.885 [main] DEBUG org.springframework.test.context.support.AbstractContextLoader - Did not detect default resource location for test class [com.example.demo.DemoApplicationTests]: class path resource [com/example/demo/DemoApplicationTestsContext.groovy] does not exist
10:15:35.885 [main] INFO org.springframework.test.context.support.AbstractContextLoader - Could not detect default resource locations for test class [com.example.demo.DemoApplicationTests]: no resource found for suffixes {-context.xml, Context.groovy}.
10:15:35.885 [main] INFO org.springframework.test.context.support.AnnotationConfigContextLoaderUtils - Could not detect default configuration classes for test class [com.example.demo.DemoApplicationTests]: DemoApplicationTests does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
10:15:35.918 [main] DEBUG org.springframework.test.context.support.ActiveProfilesUtils - Could not find an 'annotation declaring class' for annotation type [org.springframework.test.context.ActiveProfiles] and class [com.example.demo.DemoApplicationTests]
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.197 s <<< FAILURE! - in com.example.demo.DemoApplicationTests
[ERROR] com.example.demo.DemoApplicationTests  Time elapsed: 0.195 s  <<< ERROR!
java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test
[INFO]
[INFO] Results:
[INFO]
[ERROR] Errors:
[ERROR]   DemoApplicationTests » IllegalState Unable to find a @SpringBootConfiguration,...
[INFO]
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  1.910 s
[INFO] Finished at: 2022-06-06T10:15:36+09:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default-test) on project resourceserver: There are test failures.
[ERROR]
[ERROR] Please refer to /work/dev/keycloak/keycloak-book-jp/05/sample-resource-server/target/surefire-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
$

Fixed by https://github.com/keycloak-book-jp/keycloak-book-jp/commit/8a582aef77a3b248f6bd4651ec48862c81b36901.


Some source files say Copyright Microsoft

Some source files say copyright Microsoft:
https://github.com/eclipse-dataspaceconnector/DataSpaceConnector/blob/main/spi/build.gradle.kts
But the LICENSE file is Apache. Does Microsoft really have copyright ownership of the specified files? If not, we should really remove the copyright claim. Thanks,

This is the guideline for the Apache Software Foundation (ASF). We are using the Apache 2.0 license, but are not part of the foundation. Our project belongs to the Eclipse Foundation, and we ofc stick to their guideline (see above link).
This is totally fine and is also described in the link you provided "It does not apply to developers outside the ASF who are applying the Apache License to their work"


Sound files?

Where are the music and sound effect file locations, i was gonna do some sick switching of the files to have a more "entertaining" experience to my personal game.

It's in the readme but it doesn't seem that the assets have been bundled in the past couple of releases. Here's a link to the latest Assets


[FEAT]: Provide options to choose between different LLM providers for each workspace

What would you like to see?
At the time of setup of anythingLLM i had chosen openAI for LLM and now whenever i create a new workspace, i am forced to use OpenAI. Please provide options to choose between different LLM providers in the workspace.

Tracking this feature on https://github.com/Mintplex-Labs/anything-llm/issues/698
Agree with you, and it will be done 👍


liphonenumber installation failing.

hi,
im not able to install libphonenumber.
[root@localhost build]# make
[  2%] Built target generate_geocoding_data
[  7%] Built target geocoding
[ 12%] Built target geocoding-shared
[ 12%] Generating Metadata code
[ 13%] Built target generate-alt-format-metadata
[ 34%] Built target phonenumber
Linking CXX executable geocoding_test_program
libphonenumber.a(phonenumberutil.cc.o): In function void boost::call_once<void (*)()>(boost::once_flag&, void (*)())': phonenumberutil.cc:(.text._ZN5boost9call_onceIPFvvEEEvRNS_9once_flagET_[_ZN5boost9call_onceIPFvvEEEvRNS_9once_flagET_]+0x19): undefined reference to boost::thread_detail::enter_once_region(boost::once_flag&)'
phonenumberutil.cc:(.text.ZN5boost9call_onceIPFvvEEEvRNS_9once_flagET[ZN5boost9call_onceIPFvvEEEvRNS_9once_flagET]+0x2f): undefined reference to boost::thread_detail::commit_once_region(boost::once_flag&)' phonenumberutil.cc:(.text._ZN5boost9call_onceIPFvvEEEvRNS_9once_flagET_[_ZN5boost9call_onceIPFvvEEEvRNS_9once_flagET_]+0x58): undefined reference to boost::thread_detail::rollback_once_region(boost::once_flag&)'
collect2: error: ld returned 1 exit status
make[2]: *** [geocoding_test_program] Error 1
make[1]: *** [CMakeFiles/geocoding_test_program.dir/all] Error 2
make: *** [all] Error 2
please help...

hi,
im not able to install libphonenumber.
[root@localhost build]# make
[  2%] Built target generate_geocoding_data
[  7%] Built target geocoding
[ 12%] Built target geocoding-shared
[ 12%] Generating Metadata code
[ 13%] Built target generate-alt-format-metadata
[ 34%] Built target phonenumber
Linking CXX executable geocoding_test_program
libphonenumber.a(phonenumberutil.cc.o): In function void boost::call_once<void (*)()>(boost::once_flag&, void (*)())': phonenumberutil.cc:(.text._ZN5boost9call_onceIPFvvEEEvRNS_9once_flagET_[_ZN5boost9call_onceIPFvvEEEvRNS_9once_flagET_]+0x19): undefined reference to boost::thread_detail::enter_once_region(boost::once_flag&)'
phonenumberutil.cc:(.text.ZN5boost9call_onceIPFvvEEEvRNS_9once_flagET[ZN5boost9call_onceIPFvvEEEvRNS_9once_flagET]+0x2f): undefined reference to boost::thread_detail::commit_once_region(boost::once_flag&)' phonenumberutil.cc:(.text._ZN5boost9call_onceIPFvvEEEvRNS_9once_flagET_[_ZN5boost9call_onceIPFvvEEEvRNS_9once_flagET_]+0x58): undefined reference to boost::thread_detail::rollback_once_region(boost::once_flag&)'
collect2: error: ld returned 1 exit status
make[2]: *** [geocoding_test_program] Error 1
make[1]: *** [CMakeFiles/geocoding_test_program.dir/all] Error 2
make: *** [all] Error 2

It looks like boost isn't installed correctly.
Did you read the README and follow the instructions to install boost?

hi,
im getting the same error even after re installing latest version boost_1_59_0.
i followed this steps -
./bootstrap.sh
./b2
please help..

Did you read the README?

there is no README in the boost_1_59_0.
so i searched and run the scripts.

hi,
There is no README in the boost_1_59_0.
so i searched in run scripts. what can i do?

hi,
There is no README in the boost_1_59_0.
so i searched in run scripts. what can i do?
On Wed, Nov 18, 2015 at 2:28 PM, David Yonge-Mallo<EMAIL_ADDRESS>
wrote:

Did you read the README?
—
Reply to this email directly or view it on GitHub
https://github.com/googlei18n/libphonenumber/issues/908#issuecomment-157648523
.

Please read the README file:
https://github.com/googlei18n/libphonenumber/blob/master/cpp/README
Like I said, it looks like boost isn't installed correctly. Without knowing anything about your operating system and setup, and what you did to install the prerequisites for libphonenumber, we can't help you further than to point you at the README.

hi,
im using centos 7.
after running this below commmand im getting output as,
$ sudo yum install libboost-dev libboost-thread-dev libboost-system-dev
output:
[root@localhost opt]# sudo yum install libboost-dev libboost-thread-dev libboost-system-dev
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile

base: centos.excellmedia.net
extras: centos.excellmedia.net
updates: centos.excellmedia.net
No package libboost-dev available.
No package libboost-thread-dev available.
No package libboost-system-dev available.
Error: Nothing to do

same error in while running libphonenumber.

Packages on CentOS are named differently than on Debian. You'll need to, e.g., "yum install boost-devel", etc.
Closing as this is not an issue with the library.

hi,
everything is installed still im gettting same error.
Name and summary matches only, use "search all" for everything.
[root@localhost build]# yum search boost
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile

base: centos.excellmedia.net
extras: centos.excellmedia.net
updates: centos.excellmedia.net
==================================================================== N/S matched: boost =====================================================================
boost-atomic.i686 : Run-Time component of boost atomic library
boost-atomic.x86_64 : Run-Time component of boost atomic library
boost-chrono.i686 : Run-Time component of boost chrono library
boost-chrono.x86_64 : Run-Time component of boost chrono library
boost-context.i686 : Run-Time component of boost context switching library
boost-context.x86_64 : Run-Time component of boost context switching library
boost-date-time.i686 : Run-Time component of boost date-time library
boost-date-time.x86_64 : Run-Time component of boost date-time library
boost-devel.i686 : The Boost C++ headers and shared development libraries
boost-devel.x86_64 : The Boost C++ headers and shared development libraries
boost-doc.noarch : HTML documentation for the Boost C++ libraries
boost-examples.noarch : Source examples for the Boost C++ libraries
boost-filesystem.i686 : Run-Time component of boost filesystem library
boost-filesystem.x86_64 : Run-Time component of boost filesystem library
boost-graph.i686 : Run-Time component of boost graph library
boost-graph.x86_64 : Run-Time component of boost graph library
boost-graph-mpich.i686 : Run-Time component of parallel boost graph library
boost-graph-mpich.x86_64 : Run-Time component of parallel boost graph library
boost-graph-openmpi.i686 : Run-Time component of parallel boost graph library
boost-graph-openmpi.x86_64 : Run-Time component of parallel boost graph library
boost-iostreams.i686 : Run-Time component of boost iostreams library
boost-iostreams.x86_64 : Run-Time component of boost iostreams library
boost-locale.i686 : Run-Time component of boost locale library
boost-locale.x86_64 : Run-Time component of boost locale library
boost-math.i686 : Math functions for boost TR1 library
boost-math.x86_64 : Math functions for boost TR1 library
boost-mpich.i686 : Run-Time component of Boost.MPI library
boost-mpich.x86_64 : Run-Time component of Boost.MPI library
boost-mpich-devel.i686 : Shared library symbolic links for Boost.MPI
boost-mpich-devel.x86_64 : Shared library symbolic links for Boost.MPI
boost-mpich-python.i686 : Python run-time component of Boost.MPI library
boost-mpich-python.x86_64 : Python run-time component of Boost.MPI library
boost-openmpi.i686 : Run-Time component of Boost.MPI library
boost-openmpi.x86_64 : Run-Time component of Boost.MPI library
boost-openmpi-devel.i686 : Shared library symbolic links for Boost.MPI
boost-openmpi-devel.x86_64 : Shared library symbolic links for Boost.MPI
boost-openmpi-python.i686 : Python run-time component of Boost.MPI library
boost-openmpi-python.x86_64 : Python run-time component of Boost.MPI library
boost-program-options.i686 : Run-Time component of boost program_options library
boost-program-options.x86_64 : Run-Time component of boost program_options library
boost-python.i686 : Run-Time component of boost python library
boost-python.x86_64 : Run-Time component of boost python library
boost-random.i686 : Run-Time component of boost random library
boost-random.x86_64 : Run-Time component of boost random library
boost-regex.i686 : Run-Time component of boost regular expression library
boost-regex.x86_64 : Run-Time component of boost regular expression library
boost-serialization.i686 : Run-Time component of boost serialization library
boost-serialization.x86_64 : Run-Time component of boost serialization library
boost-signals.i686 : Run-Time component of boost signals and slots library
boost-signals.x86_64 : Run-Time component of boost signals and slots library
boost-static.i686 : The Boost C++ static development libraries
boost-static.x86_64 : The Boost C++ static development libraries
boost-system.i686 : Run-Time component of boost system support library
boost-system.x86_64 : Run-Time component of boost system support library
boost-test.i686 : Run-Time component of boost test library
boost-test.x86_64 : Run-Time component of boost test library
boost-thread.i686 : Run-Time component of boost thread library
boost-thread.x86_64 : Run-Time component of boost thread library
boost-timer.i686 : Run-Time component of boost timer library
boost-timer.x86_64 : Run-Time component of boost timer library
boost-wave.i686 : Run-Time component of boost C99/C++ pre-processing library
boost-wave.x86_64 : Run-Time component of boost C99/C++ pre-processing library
ibus-typing-booster.noarch : A typing booster engine for the IBus platform
boost.x86_64 : The free peer-reviewed portable C++ source libraries
boost-build.noarch : Cross platform build system for C++ projects
boost-jam.x86_64 : A low-level build tool

Name and summary matches only, use "search all" for everything.
[root@localhost build]# yum install boost-thread
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile

base: centos.excellmedia.net
extras: centos.excellmedia.net
updates: centos.excellmedia.net
Package boost-thread-1.53.0-23.el7.x86_64 already installed and latest version
Nothing to do
[root@localhost build]# yum install boost-timer
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
base: centos.excellmedia.net
extras: centos.excellmedia.net
updates: centos.excellmedia.net
Package boost-timer-1.53.0-23.el7.x86_64 already installed and latest version
Nothing to do
[root@localhost build]# yum install boost-random
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
base: centos.excellmedia.net
extras: centos.excellmedia.net
updates: centos.excellmedia.net
Package boost-random-1.53.0-23.el7.x86_64 already installed and latest version
Nothing to do
[root@localhost build]#

Please read the following sections from the README:
"Version 1.40 or more recent is required if you need libphonenumber to be
thread-safe. If you access libphonenumber from a single thread, you can
avoid the Boost dependency by disabling the USE_BOOST CMake option (see
Troubleshooting section below for information about ccmake).
[...]
Note: Boost Thread is the only library needed at link time.
[...]
Supported build parameters
USE_BOOST             = ON | OFF [ON]  -- Use Boost. This is only needed in
multi-threaded environments that
are not Linux and Mac.
Libphonenumber relies on Boost for
non-POSIX (e.g. Windows)
multi-threading."
Either you need boost, in which case you seem to be missing boost-thread-devel (note that you need the "-devel" packages, not just the runtime ones); or you don't need boost, in which case you should disable it. Either way, this is not an issue with the library, but with your setup. All the information you need to set up an environment for compiling the library is in the README file.
If you need help with setting up boost, I suggest you post to a boost user forum.

hi,
Thank you for your suggestion.


Add a new --message parameter for delta and run commands

Description
Implementing https://github.com/score-spec/score-humanitec/issues/32.
What does this PR do?
Add a new --message parameter for delta and run commands
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New chore (expected functionality to be implemented)

Checklist:

[ ] My change requires a change to the documentation.

[ ] I have updated the documentation accordingly.

[ ] I've signed off with an email address that matches the commit author.

Top of mind information:

Based on https://github.com/score-spec/score-humanitec/issues/32 I chose --message instead of --comment. The latter is the vocabulary in Humanitec. What do you think, is that ok with --message?
For the doc, I will open a new PR in associated developers-docs repo.


Inference Example Code

Hi,
could you provide a sample of code where a inference is done, after the training phase?
Thanks

ok sorry, I saw now an example in server.py.


travis.yml: only build master branch.

This avoids duplicating builds for PRs not from forks.

Merging despite red CI as a repo has been renamed; I'll handle that in another PR immediately.


Add an entry point to add a new window to mouse tooltip area

Tooltips are gonna rendered on ui side of the game. I do use the functionality to show tooltips below the default one.
But this window used for tooltips is disallowing or removing newline characters.
Also it's only allowing for coloring the whole text instead of certain parts. I would like to have a window what is more flexible.
WIP

@89pleasure could you a screenshot of where you'd want it injected? And maybe a screenshot with some drawing over it how you imagine it would work when adding multiple elements.

Of course!
I wanted to do it later. Just created the issue with a small text so I don't forget it 😅

So finally! I take the time to give more info on this.
Right now a Tooltip is gonna be added. As far as i know there is just one widget for it on UI side. But in C# you can pick one which actually just inherits from one single IWidget.
There are:
IconTooltip
StringTooltip (IconTooltip)
NumberTooltip
...
many others, all combined under Game.UI.Tooltip namespace.
This tooltip shown next to the mouse. So i guess there is already a function to do so in the JS of the UI.
What I would like to have is a ExtendedTooltip where I'm able to add "\n" so I can add more than just one info at it.
Currently the only tooltip i can use is StringTooltip since all others only accept no dynamic text. But this is not accepting any kind of newlines.
Also it would be cool to add several icon per newline and so on.


Update aws-java-sdk-bundle to 1.12.507

About this PR
📦 Updates com.amazonaws:aws-java-sdk-bundle from 1.12.500 to 1.12.507
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.amazonaws", artifactId = "aws-java-sdk-bundle" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "com.amazonaws", artifactId = "aws-java-sdk-bundle" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, commit-count:1

Superseded by #2786.


Update to Jenkins LTS version 2.375

This PR is trying to address the current issues were using/building a JFR image with a Jenkins version > 2.346.3 fails (e.g. #686 or #657).
The changes are addressing:

Jenkins refactoring from JEP-230
Couple of dependency updates
Refactoring of some deprecations

I have commented some dependencies were @oleg-nenashev has added a TODO to remove.
I'm not 100% sure, but they could be safely removed now.
Testing done
Test Image
romanisb/jenkinsfile-runner:jenkins-core-2.375.4
(Build from packaging/docker/unix/eclipse-temurin-11-jre/Dockerfile):
Test Pipeline
Jenkinsfile
node() {
    echo("${Jenkins.instance.getVersion()}")
}

Command
docker run --rm -v ${pwd}:/workspace romanisb/jenkinsfile-runner:jenkins-core-2.375.4 -ns
Output
...<jpi related warnings removed>
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.codehaus.groovy.reflection.CachedClass (file:/app/jenkins/WEB-INF/lib/groovy-all-2.4.21.jar) to method java.lang.Object.finalize()
WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.reflection.CachedClass
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Started
Resume disabled by user, switching to high-performance, low-durability mode.
[Pipeline] Start of Pipeline
[Pipeline] node
Running on Jenkins in /build
[Pipeline] {
[Pipeline] echo
2.375.4
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
Finished: SUCCESS

Submitter checklist

[x] Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
[x] Ensure that the pull request title represents the desired changelog entry
[x] Please describe what you did
[x] Link to relevant issues in GitHub or Jira
[x] Link to relevant pull requests, esp. upstream and downstream changes
[x] Ensure you have provided tests - that demonstrates feature works or fixes the issue

Everything looks good, thanks you! I would likely go straight to Jetty 11 but it is a separate topic

Thanks for the approval. Before merging this change, let me remove a change which shouldn't end up in this PR and clean up the the comments.

Everything looks good, thanks you! I would likely go straight to Jetty 11 but it is a separate topic
@oleg-nenashev

I've looked into updating to Jetty 11 and straight away the compilation will fail because auf the namespace change from javax.* to jakarta.*:
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /mnt/c/Users/dev/romanisb/jenkinsfile-runner/setup/src/main/java/io/jenkins/jenkinsfile/runner/JenkinsLauncher.java:[20,20] error: package javax.servlet does not exist
[ERROR] /mnt/c/Users/dev/romanisb/jenkinsfile-runner/setup/src/main/java/io/jenkins/jenkinsfile/runner/JenkinsLauncher.java:[21,20] error: package javax.servlet does not exist
[ERROR] /mnt/c/Users/dev/romanisb/jenkinsfile-runner/setup/src/main/java/io/jenkins/jenkinsfile/runner/JenkinsEmbedder.java:[77,20] error: package javax.servlet does not exist
[ERROR] /mnt/c/Users/dev/romanisb/jenkinsfile-runner/setup/src/main/java/io/jenkins/jenkinsfile/runner/JenkinsLauncher.java:[80,14] error: cannot find symbol
  symbol:   class ServletContext
  location: class JenkinsLauncher<T>
  where T is a type-variable:
    T extends JenkinsLauncherCommand declared in class JenkinsLauncher
[ERROR] /mnt/c/Users/dev/romanisb/jenkinsfile-runner/setup/src/main/java/io/jenkins/jenkinsfile/runner/JenkinsEmbedder.java:[375,23] error: cannot find symbol
  symbol:   class ServletContext
  location: class JenkinsEmbedder
[ERROR] /mnt/c/Users/dev/romanisb/jenkinsfile-runner/setup/src/main/java/io/jenkins/jenkinsfile/runner/PluginManagerImpl.java:[14,29] error: cannot find symbol
  symbol:   class ServletContext
  location: class PluginManagerImpl
[ERROR] /mnt/c/Users/dev/com/romanisb/jenkinsfile-runner/setup/src/main/java/io/jenkins/jenkinsfile/runner/NoListenerConfiguration.java:[8,20] error: package javax.servlet does not exist
[INFO] 7 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Jenkinsfile Runner 1.0-beta-32-SNAPSHOT:
[INFO]
[INFO] Jenkinsfile Runner ................................. SUCCESS [  1.422 s]
[INFO] bootstrap .......................................... SUCCESS [  7.175 s]
[INFO] setup .............................................. FAILURE [  7.503 s]
[INFO] Jenkinsfile Runner: Plugin dependencies ............ SKIPPED
[INFO] payload ............................................ SKIPPED
[INFO] jenkinsfile-runner ................................. SKIPPED
[INFO] packaging-parent-pom-resources ..................... SKIPPED
[INFO] packaging-parent-pom ............................... SKIPPED
[INFO] packaging-parent-pom-slim .......................... SKIPPED
[INFO] vanilla-package .................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  30.009 s
[INFO] Finished at: 2023-07-17T10:26:19+02:00
[INFO] ------------------------------------------------------------------------

Also I'm not sure if Jetty 11 will somehow work with Jenkins core in the future, but I do not have that much in-depth knowledge in this:
https://www.jenkins.io/doc/administration/requirements/servlet-containers/

Sorry for the response delays, is definitely something to look into

I hope to catch up with the discussions here but it realistically won't happen until August

Hi @oleg-nenashev, will there be a new (beta) release soon? I'm hoping for a fix for #686

Hi @oleg-nenashev, sorry to ask again, but will there be a new (beta) release soon? We have been unable to execute our pipeline tests for while.

Sorry, catching up on the technical debt

Hi @oleg-nenashev  is the fix in beta-32?

@lhupfeldt yes


Added Target Logo (issue-127)(Changes made)

Description
Added Target Logo with the changes suggested.
Fixes #127
Insert the image of the art below

Checklist:
To fill the checklists, put x inside the brackets. [x]

[x] My code follows the guidelines of this project
[x] I have tested my code and it works properly
[x] I have added just one folder that includes my Art files (jsx and css)
[x] I have not edited App.js file
[x] I have commented my code, particularly in hard-to-understand areas
[x] My changes generate no new warnings
[x] This is my original code and I have NOT copied the code from anywhere else.

Hi @sreeharianilkumar1 change the base branch from  salil-naik:main to salil-naik:updates

Hi @sreeharianilkumar1 change the base branch from salil-naik:main to salil-naik:updates

Hi, I have changed the base branch to salil-naik:updates


Test cleanup

Some long overdue cleanup of some test classes and cases.  The changes here are mostly focused on implementing file path checking/substitution to allow the tests to discover required input data from different initial working directories.  Ultimately, this now allows ctest to run effectively and do both test discovery and execution.  So from the repo root directory, one can do the following:
Activate most all features for a build
make -B test_build -S . -DNETCDF_ACTIVE:BOOL=On -DBMI_C_LIB_ACTIVE:BOOL=On -DBMI_FORTRAN_ACTIVE:BOOL=On -DNGEN_ACTIVATE_PYTHON:BOOL=On -DNGEN_ACTIVATE_ROUTING:BOOL=On

Compile all targets (including activated tests for the various options)
cmake --build test_build --target all -j 8

Discover and run all built tests
cmake --build test_build --target test

The builds and tests can also be done via make, e.g.
cd test_build
make test

What is important to note here, is that we have a couple standard test targets we test often, test_unit and test_all, which have 152 and 128 total possible tests, for a combined 280 tests.  (using the above build flags).
When you run the entirety of the discoverable tests using ctest, there are 822 tests discovered!  Even with the overlap in test_unit/test_all, there are clearly some test cases not be exercised frequently (some of where are fixed up in this PR).
This should have no regression on existing testing workflows, but should allow for more comprehensive ones, and we may even want to revisit the automated action runners and consider using the ctest interface to discover and run tests.
Checklist

[x] PR has an informative and human-readable title
[x] Changes are limited to a single goal (no scope creep)
[x] Code can be automatically merged (no conflicts)
[x] Code follows project standards (link if applicable)
[x] Passes all existing automated tests
[x] Any change in functionality is tested
[x] New functions are documented (with a description, list of inputs, and expected output)
[x] Placeholder code is flagged / future todos are captured in comments
[x] Project documentation has been updated (including the "Unreleased" section of the CHANGELOG)
[x] Reviewers requested with the Reviewers tool :arrow_right:

Target Environment support

[x] Linux
[x] MacOS

It looks like this was merged in spite of two failing tests, because the failing tests were believed to be fixed by 7550dfc (in #516) ... but after that commit, the same tests in this PR would have failed for a different reason, which is now happening in #524.
I am going to roll back some of the pathing changes in the dependent files in RoutingPyBindTest to fix the tests, but this may make some of the goals of this PR unachieved--particularly the cd test_build; make test workflow. However, since these tests rely on static YAML files with relative paths in them, there is not a better answer at the moment--I continue to doubt whether the ability to run the tests from three different locations in the hierarchy is a worthwhile goal, for this and other reasons. At a minimum (and perhaps maximum), the tests should work when run from the repo root, and making them run from anywhere else incurs cost.


Geographic traffic routing method in Azure Traffic Manager

Description

This checklist is used to make sure that common guidelines for a pull request are followed.

[X ] I have read the contribution guidelines.
[X ] The pull request does not introduce breaking changes.

General Guidelines

[X ] Title of the pull request is clear and informative.
[X ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

SDK Generation Guidelines

[ ] If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
[ ] The generate.cmd file for the SDK has been updated with the version of AutoRest, as well as a link to the swagger spec, used to generate the code.
[ ] The project.json and AssemblyInfo.cs files have been updated with the new version of the SDK.

Closing and reopening to ping CLA bot.

@vladca,
Thanks for your contribution.
To ensure that the project team has proper rights to use your work, please complete the Contribution License Agreement at https://cla.microsoft.com.
It will cover your contributions to all Microsoft-managed open source projects.
Thanks,
Microsoft Pull Request Bot

@vladca traffic manager tests are failing

@vladca Why are you making changes to the master branch, instead of the AutoRest branch?

This is done now, thank you Mark
From: Mark Cowlishaw<EMAIL_ADDRESS>Sent: 04 March 2017 00:02
To: Azure/azure-sdk-for-net<EMAIL_ADDRESS>Cc: Vlad Cananau<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [Azure/azure-sdk-for-net] Geographic traffic routing method in Azure Traffic Manager (#2896)
@markcowl requested changes on this pull request.
Need tests for the new features, and need to re-record existing tests for the new api version

In src/ResourceManagement/TrafficManager/TrafficManagerManagement/Generated/EndpointOperations.cshttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2Fazure-sdk-for-net%2Fpull%2F2896%23discussion_r104266842&data=02|01|Vlad.Cananau%40microsoft.com|b353b6612fa94c30170408d46291becd|72f988bf86f141af91ab2d7cd011db47|1|0|636241825491447340&sdata=AryLH4hvwalN92kGmNESByXg8sgFgJkyq2kob8Q27p8%3D&reserved=0:

@@ -154,7 +154,7 @@ public TrafficManagerManagementClient Client

         url = url + "/";

Where are the tests for the new features?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2Fazure-sdk-for-net%2Fpull%2F2896%23pullrequestreview-25096143&data=02|01|Vlad.Cananau%40microsoft.com|b353b6612fa94c30170408d46291becd|72f988bf86f141af91ab2d7cd011db47|1|0|636241825491447340&sdata=bxf2lDq7dhX6CYm2rRtO9hUlSR0yIwDFoh%2F9NwZNZ6M%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAHG6yfT1qwuRlYtqW-CKoXLLmZz8XRwyks5riKoRgaJpZM4MSlSs&data=02|01|Vlad.Cananau%40microsoft.com|b353b6612fa94c30170408d46291becd|72f988bf86f141af91ab2d7cd011db47|1|0|636241825491447340&sdata=yWwc1cgN8Rmg%2FWJ%2FWLqOstQlbQKGuYc5E%2FRqk0GVoTw%3D&reserved=0.

@vladca it looks like you changed the AssemblyFileVersion when you only needed to change AssemblyVersion. Please change the AssemblyFileVersion back to 1.1.0.


⚠ T:Riza Roblox Proxy has degraded performance

In 87236b7, T:Riza Roblox Proxy (https://rprxy.triza.dev) experienced degraded performance:

HTTP code: 200
Response time: 3341 ms

Resolved: T:Riza Roblox Proxy performance has improved in b7fc648.


project member has no permission to list controllerregistrations as required by gardener dashboard

How to categorize this issue?

/area user-management
/kind bug
/priority 3
What happened:
Gardener dashboard 1.51.0 is not able to show available Network Types and DNS Providers, which it tries to look up in the controllerregistrations. (unless logged in with an global admin account). With kubectl and a project-admin serviceaccount I get:
# kubectl get controllerregistration
Error from server (Forbidden): controllerregistrations.core.gardener.cloud is forbidden: User "system:serviceaccount:garden-23t-test:default" cannot list resource "controllerregistrations" in API group "core.gardener.cloud" at the cluster scope

What you expected to happen:
Be able to list the controllerregistration, as the dashboard depends on it for important functionality.
How to reproduce it (as minimally and precisely as possible):
# kubectl get controllerregistrations
with a serviceaccount with gardener.cloud:system:project-member permissions
Anything else we need to know?:
As a quick workaround I allowed access to controllerregistrations with
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
  name: controllerregistration-reader
rules:
- apiGroups: ["core.gardener.cloud"]
  resources: ["controllerregistrations"]
  verbs: ["list"]
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
  name: read-controllerregistration-global
subjects:
- apiGroup: rbac.authorization.k8s.io
  kind: Group
  name: system:authenticated
roleRef:
  kind: ClusterRole
  name: controllerregistration-reader
  apiGroup: rbac.authorization.k8s.io

It is possible that this gardener installation is missing some RBAC by accident, but I did not find anything relating to reading controllerregistration anywhere, so I'm unsure how the dashboard wound up to be dependent on being able to read them.
Maybe this is also more of an issue for g/dashboard and it needs to change there, but if list access on the controllerregistrations is considered uncritical it is easier fixed in g/g.
Environment:

Gardener version: 1.28.2
Gardener dashboard 1.51.0

Will be fixed by https://github.com/gardener/dashboard/pull/1073, right @grolu @petersutter ?

correct

Closing as https://github.com/gardener/dashboard/pull/1073 has been merged.


1.3.0 incompatible with Immersive Engineering

The newest version (1.3.0) has some kind of incompatibility with IE, because when I try to load a world it says "Errors in the currently selected datapacks prevented the world from loading"

Thank you for bringing this to my attention! This is actually related to one of my other mods, Runesword, so I will close this issue and open a new one in that repository.


undeprecate old multiplayer blocks

We don't want to invalidate tutorials/videos/screenshots made by others that utilize these blocks.

You can just revert the old PR

It is done.


Photons simulation

Hi, Does/Can CARLA simulate all the photos of the image?

Sincerely, I don't know what to reply.


Another Build Error

Sorry for being a nub. But I'm still having problems..
Thanks for all your help. : )
PS C:\Users\Travis\projects\sdl2learningrust> cargo build
Compiling sdl2-sys v0.0.33 (https://github.com/AngryLawyer/rust-sdl2#9ca7193b)
Compiling bitflags v0.1.1
Compiling libc v0.1.4
Compiling log v0.3.1
Compiling rand v0.3.5
C:\emacs.cargo\registry\src\github.com-1ecc6299db9ec823\rand-0.3.5\src\read.rs:70:29: 71:72 error: this function takes
2 parameters but 3 parameters were supplied [E0061]
C:\emacs.cargo\registry\src\github.com-1ecc6299db9ec823\rand-0.3.5\src\read.rs:70             0 => return Err(io::Error
::new(io::ErrorKind::Other,
C:\emacs.cargo\registry\src\github.com-1ecc6299db9ec823\rand-0.3.5\src\read.rs:71
"end of file reached", None)),
error: aborting due to previous error
Could not compile rand.

The error traits are going through stabilization in the standard library, which is probably causing these errors.

Should be fine now


Converting Text to sound

Pull Request Template
script name - convert text to sound.py
What have you Changed
what you changed in the codebase.write here
Created Code Base
Updated Read Me with all steps
Issue no.(must) -
2 Issues Found :
1.) Direct installing of the mentioned libraries in Anaconda generates Errors
2.) Direct calling of the libraries in Google collab generates errors
Self Check(Tick After Making pull Request)

[x] This issue was assigned to me.
[x] One Change in one Pull Request
[x] My file is in proper folder (Name of folder should be in lowercase with no space in between)
[x] I am following clean code and Documentation and my code is well linted with flake8.
[x] I have added README.md and requirements.txt with my script

If issue was not assigned to you Please don't make a PR. It will marked as invalid.

Few suggestions @Anustup900. I created a self-check task list for you. Just tick mark them when completed

[ ]  Change folder name tp sounf_to_text
[ ] Fix linting and spelling error
[ ] Issue no. is something we open at issues #50 (so write that at issue(must)) space in PR template
[ ] Replace your spaces in .py filename with _ and shorten it's name

Hey you can use http://pep8online.com/  for removing linting errors

Few suggestions @Anustup900. I created a self-check task list for you. Just tick mark them when completed

[ ]   Change folder name to sound_to_text
[ ]  Fix linting and spelling error
[ ]  Issue no. is something we open at issues #50 (so write that at issue(must)) space in PR template
[ ]  Replace your spaces in .py filename with _ and shorten it's name

Please remove sound_to_text empty file on root
Remove folder "Converting text to sound" and add readme.md and requirements.txt to text_to_sound folder

Done

Hey, thanks for your contribution @Anustup900 . Leave a star if you like the process and learn something about open source :)

@all-contributors please add @Anustup900 for code


error with setup.py

when i run make-deb without setup.py on current dir.
I got this error:
python: can't open file '/root/dashboard-vtg/setup.py': [Errno 2] No such file or directory
Traceback (most recent call last):
File "/usr/local/bin/make-deb", line 16, in
main()
File "/usr/local/bin/make-deb", line 11, in main
debconf.render()
File "/usr/local/lib/python2.7/dist-packages/make_deb/init.py", line 89, in render
trigger_filename = "%s.triggers" % self.context['name']
KeyError: 'name'

Hey nhanct!
This was actually fixed in 0.0.3: https://github.com/nylas/make-deb/commit/183c7c598534661bf4646082188da28d35defe4c
Thanks for reporting the issue.


Allow Symfony 6

This allows Symfony 6 components.
This is a draft ATM because I only ran some tests locally.
CI failure seems unrelated. See https://github.com/composer/composer/issues/10387.

Codecov Report

Merging #1815 (e16a5dd) into master (d9817c1) will decrease coverage by 19.29%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##             master    #1815       +/-   ##
=============================================
- Coverage     87.83%   68.54%   -19.30%
  Complexity     7836     7836
=============================================
  Files           281      281
  Lines         22748    22194      -554
=============================================
- Hits          19981    15212     -4769
- Misses         2767     6982     +4215

Flag
Coverage Δ

5-max
68.54% <ø> (-19.30%)
:arrow_down:

7.4
68.54% <ø> (-19.30%)
:arrow_down:

agnostic
68.54% <ø> (ø)

mysql
?

pgsql
?

sqlite
?

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

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

Now psalm job is fixed, I get 11 errors related to added return types in Symfony 6.
I checked those errors and are all enforcing the 5.x behavior.
Should I add those errors to the baseline to keep the current behavior?

I guess so.
They are not functionally relevant, are they?
In a next step we need to get rid of at least v3 here.
That might also simplify a few things.

Lets focus on getting this merged first, so we can easier then finalize also the v3 removal PR.

I did some cleanup in tests/composer:

I removed composer-php8.json as it seems unused.
I fixed php version requirement.
I removed php 7.3 polyfill.
I bumped PHPUnit requirement to 9.5+.


Website theme hardcoded to load light theme until changed

Why is the website theme set to load in light mode instead of users OS mode until changed?
https://github.com/scaffold-eth/se-2/blob/dedd249fed95a858845164424529564b6b51949b/packages/nextjs/components/SwitchTheme.tsx#L6
Why not just remove that false and let the website load based on users current OS's mode?

Hey @kevinjoshi46b , thanks for the suggestion (and for checking already how to easily change this). I'm not sure if there's a reason why it was set like that, but I agree it would indeed be nice to take the user preference into account (especially since it's trivial to do so).
I created PR #289 for this. (For future reference, if you have other ideas or small fixes, feel free to open a PR alongside the issue)

Hey @sverps , happy to help 🫡
I would have opened a PR but before that I just wanted to get to know why was it implemented so, assuming there would have been some reason.
Looking forward to #289 being merged 🚀🚀

Thanks @kevinjoshi46b for noticing it !!

I'm not sure if there's a reason why it was set like that, but I agree it would indeed be nice to take the user preference into account

I don't remember that it had any particular reason, it was added in #83