HV-1942 Update DefaultGroupSequenceProvider add default method provide the class of instance

The provider can not get current class of instance when the instance is null When use a common DefaultGroupSequenceProvider for multi class. And the method of BeanMetaDataImpl#getValidDefaultGroupSequence checked must have the special group of beanClass.getName() and also can not return the default group of Default.class.

Hey @ilikly, thanks for submitting a pull request. Could you please provide a test case showing a problem you are trying to solve with these changes?
Since the group sequence is resolved at runtime based on a type of a bean under validation, if an object passed to the DefaultGroupSequenceProvider is null, there's no point in continuing validation, and a provider can just return null.
But if you are trying to use Validator#validateValue(..) and that's where you get the null, then it is somewhat by design.

Hey @ilikly, thanks for submitting a pull request. Could you please provide a test case showing a problem you are trying to solve with these changes? Since the group sequence is resolved at runtime based on a type of a bean under validation, if an object passed to the DefaultGroupSequenceProvider is null, there's no point in continuing validation, and a provider can just return null.
But if you are trying to use Validator#validateValue(..) and that's where you get the null, then it is somewhat by design.

But if the prodiver just return null will be thrown an exception of GroupDefinitionException at the method org.hibernate.validator.internal.metadata.aggregated.BeanMetaDataImpl#getValidDefaultGroupSequence

@ilikly please provide a sample project showing what you are trying to achieve and what doesn't work. It's hard to understand your requirement with the current details.
Thanks!

@ilikly please provide a sample project showing what you are trying to achieve and what doesn't work. It's hard to understand your requirement with the current details.
Thanks!

public class Test {

    public static void main(String[] args) {
        final ValidatorFactory validatorFactory = Validation.buildDefaultValidatorFactory();
        final Validator validator = validatorFactory.getValidator();
        A a = new A();
        validator.validate(a);
    }

    public static class GlobalDefaultGroupSequenceProvider implements DefaultGroupSequenceProvider<Object> {

        @Override
        public List<Class<?>> getValidationGroups(Object object) {
            List<Class<?>> groups = new ArrayList<>();

            if (object != null) {
                groups.add(object.getClass());
            }

            return groups;
        }
    }

    @Setter
    @Getter
    @GroupSequenceProvider(GlobalDefaultGroupSequenceProvider.class)
    public static class A {
        @NotNull
        private String name;
    }

    @Setter
    @Getter
    @GroupSequenceProvider(GlobalDefaultGroupSequenceProvider.class)
    public static class B {
        @NotNull
        private String name;
    }
}

The parameter in callback of method getValidationGroups is null, so the GlobalDefaultGroupSequenceProvider can not provide the Default group for A or B class.

That being said, I'm not sure I understand when having a specific group sequence provider make sense if the bean class is actually null? I would expect it to not be validated and that having specific groups wouldn't make any difference?
So if you contribute a test case, make sure I can see why it makes sense to actually have this feature.
Thanks.

I had add some test for DefaultGroupSequenceProvider.

@Override
        public List<Class<?>> getValidationGroups(Object object) {
            List<Class<?>> groups = new ArrayList<>();

            if (object != null) {
                groups.add(object.getClass());
            }

            return groups;
        }

Does a workaround exist for this please?

Hey @valh1996 ,
What exactly are you trying to work around? Any chance you could provide a realistic test case ?
It's been a while since I've looked at the group sequences...
But generally speaking if the object under validation is null then there's not much to validate and the group sequences should be irrelevant... That's why having a realistic test would help to identify where the fix should be applied if any.

Hi @marko-bekhta
Basically I use the same DTO between user roles to modify an entity. So for example the administrator role can modify all fields, while the lambda user can only modify part of the fields.
To do this, I use @JsonView to indicate which fields are serialized or not, based on role.
@JsonView({View.Admin.class, View.Moderator.class})
@NotNull
private Date name;

The problem is that the @NotNull rule won't work if the user is neither an Administrator nor a Moderator.
So I also want to enable/disable validation rules based on user role using groups :
@JsonView({View.Admin.class, View.Moderator.class})
@NotNull(groups = {View.Admin.class, View.Moderator.class})
private Date name;

But to apply the right groups according to the user's role, I have to use an @GroupSequenceProvider :
public class RoleBasedSequenceProvider implements DefaultGroupSequenceProvider<Object> {

    @Override
    public List<Class<?>> getValidationGroups(Object request) {
        List<Class<?>> sequence = new ArrayList<>();

        sequence.add(request.getClass());

        if (request == null) {
            return sequence;
        }

        Authentication authentication = SecurityContextHolder.getContext().getAuthentication();
        if (authentication != null && authentication.getAuthorities() != null) {
            Set<Class<?>> roleGroups = authentication.getAuthorities().stream()
                    .map(GrantedAuthority::getAuthority)
                    .map(ERole::valueOf)
                    .map(View.MAPPING::get)
                    .collect(Collectors.toSet());

            sequence.addAll(roleGroups);
        }

        return sequence;
    }
}

Then i can add @GroupSequenceProvider(RoleBasedSequenceProvider.class) in my DTO.
But as the PR indicates, it doesn't work to mark <Object> to make the sequence reusable. It's is null so we cannot add default sequence.

Hey,
ok, this brings more clarity to what you are trying to achieve. See https://docs.jboss.org/hibernate/validator/9.0/api/org/hibernate/validator/spi/group/DefaultGroupSequenceProvider.html, the DefaultGroupSequenceProvider wasn't intended to use on multiple types and the docs state:

In order to redefine dynamically the default group sequence for a type T, the GroupSequenceProvider annotation must be placed on T, specifying as its value a concrete implementation of DefaultGroupSequenceProvider, which must be parametrized with the type T.

So that means that the provider you are trying to implement:
public class RoleBasedSequenceProvider implements DefaultGroupSequenceProvider<Object>

should be used on an Object 😔... Now if you are saying

Basically I use the same DTO between user roles to modify an entity

and it means that you are working with a single DTO then just use that DTO instead of the Object:
public class RoleBasedSequenceProvider implements DefaultGroupSequenceProvider<MySingleDto> {

    @Override
    public List<Class<?>> getValidationGroups(MySingleDto request) {
        List<Class<?>> sequence = new ArrayList<>();
        sequence.add(MySingleDto.class);
        // other stuff ....
        return sequence;
    }
}

And that should do it. But... If you are trying to reuse the same sequence on different types and that's why you had <Object> then I'd say it does sound like a reasonable use case, and we can work on a change to support it.
But since it'll be a breaking change (at least according to the javadocs, I've shared at the beginning of this comment) we'd only be able to try including such change in an upcoming 9.0 release.

Thanks
superseded by https://github.com/hibernate/hibernate-validator/pull/1447


Scrolling a list view with mouse gestures stopped working on desktop and web after flutter update - Channel dev, 2.3.0-12.1.pre

Updated flutter to Channel dev, 2.3.0-12.1.pre and noticed that scrolling a listview with mouse gestures of drag down and drag up, stopped working on the platforms desktop and web
void main() {
  runApp(MyApp(
    items: List<String>.generate(10000, (i) => 'Item $i'),
  ));
}

class MyApp extends StatelessWidget {
  final List<String> items;
  MyApp({Key? key, required this.items}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    final title = 'Long List';
    return MaterialApp(
      title: title,
      home: Scaffold(
        appBar: AppBar(
          title: Text(title),
        ),
        body: ListView.builder(
          itemCount: items.length,
          itemBuilder: (context, index) {
            return ListTile(
              title: Text('${items[index]}'),
            );
          },
        ),
      ),
    );
  }
}

I am able to scroll up-down using Page Up/Down keys, So the list scrolling does work.
Flutter doctor -
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel dev, 2.3.0-12.1.pre, on Microsoft Windows [Version 10.0.19042.985], locale en-IN)
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
[√] Chrome - develop for the web
[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.6.5)
[√] Android Studio (version 4.2.0)
[√] VS Code (version 1.55.1)
https://user-images.githubusercontent.com/8936255/118917572-ce9e4a80-b94e-11eb-8f28-0a148ac0bb9f.mp4

This is intended behaviour asked on #71322 and applied by PR #81569. It is not a bug.

Thanks!


Explicitly include only node_modules during auto-extract

This is an attempt to fix #1900

We are using this fork currently and are happy to see only node_modules sources in vendor.js - everything else is accounted for as expected. :+1:

@rtheunissen Could you test the latest Laravel Mix beta and see if this is still an issue? I'm fairly certain it shouldn't be anymore. If it is I'd like to figure out why and fix it.


egressgw: add policies by source IP cache

See individual commits

/test

Looks like ci-verifier failed to update the status to skipped: https://github.com/cilium/cilium/actions/runs/4251267599/jobs/7393399001
marking as ready


Nintendo DS Emulation

Is the Nintendo DS emulation stable now?
I want to try to play NDS games, and they don't work, the screen is blank and the emulator slows down too.
If so, I hope they fix it soon.

Hey Nicohacker2021,
The NDS core is still pretty far away from being stable/usable. It is expected that most games will not work in it in its current state.
Thanks,
-Sky


reading the value from property file and placing in uri request and getting error

{
  "name": "find_backendautomation_org",
  "url": "org.jsmart.zerocode.converter.MimeTypeConverter",
  "operation": "stringToJson",
  "request": "${$.Fetch_Organization.response.body.successResult.organziations[?(@.name=='${web.application.yell.account.id}')].id}",
  "assertions": []
}

error :
[0;39mjava.lang.RuntimeException:
JSON:"${$.Fetch_Organization.response.body.successResult.organziations[(@.name=='${web.application.yell.account.id}')].id}"
Possibly comments in the JSON found or bad JSON path found<EMAIL_ADDRESS>Details: com.jayway.jsonpath.InvalidPathException: Could not parse token starting at position 62. Expected ?, ', 0-9, *
	at org.jsmart.zerocode.core.engine.preprocessor.ZeroCodeAssertionsProcessorImpl.lambda$resolveJsonPaths$46(ZeroCodeAssertionsProcessorImpl.java:154)
	at java.util.ArrayList.forEach(ArrayList.java:1257)
	at org.jsmart.zerocode.core.engine.preprocessor.ZeroCodeAssertionsProcessorImpl.resolveJsonPaths(ZeroCodeAssertionsProcessorImpl.java:120)
	at org.jsmart.zerocode.core.engine.preprocessor.ZeroCodeAssertionsProcessorImpl.resolveStringJson(ZeroCodeAssertionsProcessorImpl.java:90)

Your path is incorrect. And that is exactly the message you are getting.
Could you describe more what you want to achieve here?
Btw, in your request it is ${$.Fetch_Organization.response.body.successResult.organziations[?(@.name=='${web.application.yell.account.id}')].id} and below in the response exception ${$.Fetch_Organization.response.body.successResult.organziations[(@.name=='${web.application.yell.account.id}')].id} (without the question mark)...

Thanks @RDBreed . @ramachandrakambham  Do you have any questions regarding with this ?


gltfpack-windows.zip v0.21 identified as trojan by Windows

I guess it's a false positive, but Windows identifies gltfpack-windows.zip from release v0.21 as a thread.

Fairly sure this is a false positive; these occasionally happen.
FWIW:

gltfpack-windows.zip has MD5 438a7cb4582e908824f938ecda249b6d and SHA256 ef2e680c7a1bf8c4c4c8c4e72d875cbec20ca8052901a3a3e4986f4a9ff64e8a
Here's a VirusTotal report for the same SHA256: https://www.virustotal.com/gui/file/ef2e680c7a1bf8c4c4c8c4e72d875cbec20ca8052901a3a3e4986f4a9ff64e8a - no AV detects any issues here.
The releases are built directly on GitHub Actions (https://github.com/zeux/meshoptimizer/blob/master/.github/workflows/release.yml), this specific binary was built in this run https://github.com/zeux/meshoptimizer/actions/runs/9666824300
The .zip files are uploaded without repackaging from GitHub, precisely to make sure there's a paper trail
The builds (including build above) run on GitHub hosted infrastructure, so that's managed by Microsoft and presumably free of malware.

I've submitted the .zip file to Microsoft with a note that they are incorrectly classifying it. You can search github for the reported name here and there's a bunch of other projects that run into the same issue; I assume this specific signature is just broken in Defender.

FWIW I also don't see the issue on my copy of Windows 11 (definition files from 6/21/2024). I would double check that the files are downloaded correctly, you can compute SHA256 using PowerShell's Get-FileHash.

Awesome. Thanks for the whole explanation. Knowing the building pipeline gives even more credibility to the safety of the project.
Thanks also for sharing the SHA256 of the .exe file. I confirm it's the same as the one I downloaded.


Conflicting module names for models silently generate invalid code

Describe the bug
I am generating a Python Client using the OpenAPI model of Netbox 3.6.9 (with a few plugins pre-installed).
This schema contains for example a model VLAN and a model Vlan.
However, in the generated client, only the model Vlan is generated, but the models/__init__.py still tries to import VLAN.
OpenAPI Spec File
https://gist.github.com/linkdd/3193453b38357d190545c7988cdac692
Desktop:

OS: Debian 12
Python Version: 3.12
openapi-python-client version 0.21.6

Additional context
At $day_job, it was a blocking point, we had to remove temporarily the dependency to the generated client. I added a few tasks to my backlog in order to tackle this issue myself and ideally come up with a PR, but it won't be soon. Any help or information on how/where the model generation actually happens would be awesome and a huge time saver.

Oh, interesting bug you've found! What's happening is that the module name selected for Vlan and VLAN is, for both vlan. So vlan.py is being generated twice, overwriting itself 😬. The fix is going to be to catch this issue and either warn about it or automatically rename the conflicting modules somehow.
However, there's a workaround for now, before I get to the fix (since I'm swamped this month). Because the generated class names are different, you can target them separately using a config file and override the module name. So something like this should work:
class_overrides:
  VLAN:  # Alternatively, select Vlan if you'd rather
    module_name: custom_vlan  # name this whatever you want

That should cause the second vlan.py to be named whatever you put in module_name instead, and the imports should be updated appropriately. You then invoke the generator like openapi-python-client generate --config path-to-config.yaml <other args here>. You could also change one or both of the class names there, if you like, by putting a class_name:  where module_name:  is.

The fix is going to be to catch this issue and either warn about it or automatically rename the conflicting modules somehow.

The openapi-generator tool name the second module vlan0.py (but it's written in Java, and the Python generator does not support async). I think it's a sane behavior I could try to mimic.
On how to catch it, I guess we could have a set of module names already used, and if the name is already in it we add a suffix. Or something like that. I'll try to look into it as soon as I have some time.

I'm swamped this month

No worries, there is no urgency at the moment :) Thanks for the work on this project.

I'm facing the same issue. I have two different Enums, SIPStatus and SipStatus, but they have overwritten and are still trying to import from the same file:
from .sip_status import SIPStatus, SipStatus

I made a dirty change in a PR which solves the issue on my side. It relies on a global variable which is a code smell, but I'm not familiar enough with the codebase yet to know where is the proper method.
I'm still moving in my new house and assembling furniture, so I don't have a lot of free time, but still, that should be a good starting point towards a solution, and a temporary workaround for people encountering the same problem.
Let's move the discussion on this PR, I'll be happy to receive feedback and guidance from you @dbanty so that we can move forward 🙂


Crash in some devices Caused by: java.lang.IllegalArgumentException:

I have so many issues with this error. but i don't understand what's wrong?
The output is:
Caused by: java.lang.IllegalArgumentException:
at android.database.AbstractCursor.getColumnIndexOrThrow (AbstractCursor.java:333)
at android.database.CursorWrapper.getColumnIndexOrThrow (CursorWrapper.java:87)
at com.mr.flutter.plugin.filepicker.FileUtils.getDataColumn (FileUtils.java:132)
at com.mr.flutter.plugin.filepicker.FileUtils.getForApi19 (FileUtils.java:113)
at com.mr.flutter.plugin.filepicker.FileUtils.getPath (FileUtils.java:29)
at com.mr.flutter.plugin.filepicker.FilePickerPlugin$1.onActivityResult (FilePickerPlugin.java:81)
at io.flutter.app.FlutterPluginRegistry.onActivityResult (FlutterPluginRegistry.java:204)
at io.flutter.app.FlutterActivityDelegate.onActivityResult (FlutterActivityDelegate.java:132)
at io.flutter.app.FlutterActivity.onActivityResult (FlutterActivity.java:142)
at android.app.Activity.dispatchActivityResult (Activity.java:7252)
at android.app.ActivityThread.deliverResults (ActivityThread.java:4335)

Hi @bayuramadeza, could you please also add the output of your flutter doctor -v as well as describing what’s the step to replicate the issue?
Thank you.

I don't know what's the step to replicate it, but it happened in specific devices.

@bayuramadez looks like it happens only in OPPO devices with API 24. Maybe due to a custom rom that is using a custom file explorer and handling the paths by itself.
Since it’s happening only with one brand and API and you can’t also give the steps to replicate (hopefully in some emulator) this is quite hard to debug as I don’t have the model as well and I’m afraid I can’t emulate it as well, I’m closing this.
But feel free to reopen if you’re able to provide with more details. I’d certainly be glad to help you.
Thank you.

@bayuramadeza looks like it happens only in OPPO devices with API 24. Maybe due to a custom rom that is using a custom file explorer and handling the paths by itself.
Since it’s happening only with one brand and API and you can’t also give the steps to replicate (hopefully in some emulator) this is quite hard to debug as I don’t have the model as well and I’m afraid I can’t emulate it as well, I’m closing this.
But feel free to reopen if you’re able to provide with more details. I’d certainly be glad to help you.
Thank you.


[BUG] Flow class logic seems to be repeating itself in its outputs (repeating same exact text multiple times in one output)

AI: To create a playable Super Mario clone in your browser, you will need to write the necessary HTML code. The provided code serves as a starting point and sets up the basic structure and styling of the game.
Let's break down the code and understand its components:

The <!DOCTYPE html> declaration specifies that this is an HTML5 document.
The  element is the root element of the HTML page.
The  element contains meta-information about the document, such as the title and external CSS or JavaScript files.
The <title> element sets the title of the page, which is displayed in the browser's title bar or tab.
The


REST API /v1/channels results in error when adding peer query parameter

Background
I am trying to pull channel information based on the public key of my peers via the REST API.
The same call without the query parameter peer works fine, albeit giving me the whole list of channels. But as soon as I add it, I get an error message.
Describe your issue here.
curl -i -X GET --cacert "$tlscert" --header "$MACAROON_HEADER" "https://<IP_ADDRESS>:8080/v1/channels?peer=${node_id}"
HTTP/1.1 400 Bad Request
Content-Type: application/json
Date: Thu, 15 Apr 2021 18:24:52 GMT
Content-Length: 119

{"error":"illegal base64 data at input byte 64","code":3,"message":"illegal base64 data at input byte 64","details":[]}

LND seems to be expecting base64 here. But even if I naively try to base64-encode the node_id, it won't work and results in a malformed URL error.
I am not entirely sure I am missing something crucial with curl but I also cannot find an example how to add the peerquery parameter.
Your environment

version of lnd: 0.12.1-beta
which operating system (uname -a on *Nix): Linux raspberrypi 5.4.51-v7l+ #1333
version of btcd, bitcoind, or other backend: bitcoind
any other relevant environment details

Steps to reproduce
macaroon="PATH/TO/macaroon"
MACAROON_HEADER="Grpc-Metadata-macaroon: $(xxd -ps -u -c 1000 $macaroon)"
tlscert="PATH/TO/tsl.cert"
node_id="A_PEERS_NODE_ID"

curl -i -X GET --cacert "$tlscert" --header "$MACAROON_HEADER" "https://<IP_ADDRESS>:8080/v1/channels?peer=${node_id}"

Expected behaviour
LND REST API returns the channel data for given peer
Actual behaviour
400 Bad Request

Are you decoding the node ID from hex into raw bytes (should result in 33 bytes) and then converting those bytes into base64? There was an intance similar to this issue in the past (https://github.com/lightningnetwork/lnd/issues/3168) which pointed out a bug in our gRPC-REST dependency, but that's been resolved now.

Thanks for the quick response.
I haven't decoded the node_id from hex into raw bytes and then to base64 as this is not pointed out in the docs
The raw bytes are indeed 33bytes. I tried to plug that in as base64 but the results are similar. Should the conversion to rawbytes be wrong, please let me know.
curl -i -X GET --cacert "$tlscert" --header "$MACAROON_HEADER" "https://<IP_ADDRESS>:8080/v1/channels?peer=$(echo "$node_id" | xxd -r -p | base64)"
HTTP/1.1 400 Bad Request
Content-Type: application/json
Date: Fri, 16 Apr 2021 07:46:25 GMT
Content-Length: 119

{"error":"illegal base64 data at input byte 22","code":3,"message":"illegal base64 data at input byte 22","details":[]}

Ah, you need to make sure you're using URL encoding when converting to base64, which the base64 util does not provide. I tried it and confirmed it works.

Thanks a lot that makes sense. For future reference this is how I sucessfully make the request now
curl -G --cacert "$tlscert" --header "$MACAROON_HEADER" --data-urlencode "peer=$(echo "$node_id" | xxd -r -p | base64)" "https://<IP_ADDRESS>:8080/v1/channels"


Architecture diagram

Since the Mapzen SDK depends on a number of standalone libraries to provide core functionality it would be helpful to have those relationships clearly illustrated in a visual architecture diagram.
Primary components include:

Tangram ES (rendering)
Pelias Android SDK (search)
On the Road (routing)
Lost (location services)

Secondary components include (but not limited to):

Speakerbox (TTS)
Prefs+ (preferences)


Confusing error when running non-root on first execution

The first time you run snabb on a machine it will create /var/run/snabb. This fails with a confusing error message if the process is not running as root:
[luke@chur:~]$ snabb
core/shm.lua:86: shm open error (7724/engine/breaths):No such file or directory
stack traceback:
	core/main.lua:116: in function <core/main.lua:114>
	[C]: in function 'error'
	core/shm.lua:86: in function 'map'
	core/counter.lua:48: in function 'open'
	core/app.lua:28: in main chunk
	[C]: in function 'require'
	core/main.lua:106: in function 'initialize'
	core/main.lua:35: in function <core/main.lua:32>
	[C]: in function 'xpcall'
	core/main.lua:121: in main chunk
	[C]: at 0x0044f740
	[C]: in function 'pcall'
	core/startup.lua:1: in main chunk
	[C]: in function 'require'
	[string "require "core.startup""]:1: in main chunk

The root cause is a permissions problem without adequate error checking:
mkdir("/var/run/snabb", 01777)          = -1 EACCES (Permission denied)

This should either be a fatal error or the process should find a way to tolerate this problem and execute normally.

For what it may be worth, this error can happen when following the directions in the top-level README.md file.
The $ prompt in the "How do I get started" section implies that running  src/snabb --help as a non-root user should be OK, but this will fail if src/snabb --help is the first time the program is ever run.

Fixed in #679.


why is Jupyter REPL called "Interactive Window"?

Testing #10170
The "Window" in the "Run Current File in Interactive Window" command sounds strange.
Nowhere in VS Code do we call a "thing" that lives within a window, a "Window".
Consider to rename it Console or REPL...

Thank you, @weinand! We'll follow up after we circle through the open issues during our next triage.

This is not something we're likely going to do since we have lots of documentation already.


Running with multi-gpu or choosing a single gpu for inference

I can't seem to get this to run in a multi-gpu enviroment. I've tried setting the export CUDA_VISIBLE_DEVICES=0 in my bash enviroment but that didn't seem to do the trick. Any help is appreciated!

In general export CUDA_VISIBLE_DEVICES=<preferred device> or, if you want to choose a different device for each command, CUDA_VISIBLE_DEVICES=<preferred device> python -m openpifpaf.predict <...CLI...> should work.
What exact command do you use and what is the error that you get?


Introduce GunSource API and update gun.js to 0.7.7

Hi! Thanks for this driver. I used it in a small project and noticed some things to fix. Do you mind merging and publishing this? Does it look okay?

Thank you! Sorry it took so long!

Thanks for merging!


make install fails with permission denied error

I'm trying to build Unshield on Fedora 35, and make install comes up with\
Install the project...
-- Install configuration: ""
-- Installing: /usr/local/share/man/man1/unshield.1
CMake Error at cmake_install.cmake:46 (file):
  file INSTALL cannot copy file "/home/hazelnot/git/unshield/man/unshield.1"
  to "/usr/local/share/man/man1/unshield.1": Permission denied.

make: *** [Makefile:100: install] Error 1

Sudo?

That... worked
I kind of figured that if I used sudo I might break something
I feel very stupid and wish there was a way to just straight-up delete this issue now

No worries @hazelnot ! Everyone is a beginner some time!


Cognito Documentation Request

Fully document how Cognito is used and how to interact with it so that documentation can be added to the user guide.

@ryanbasile do we link out to the Cognito docs?


Fix alignment of left icon for OuiListGroupItem

Description

Fix alignment of left icon for OuiListGroupItem with multiline text
Before:

After:

Issues Resolved

Fixes #1000
Check List

[x] All tests pass

[x] yarn lint
[x] yarn test-unit

[x] Update CHANGELOG.md
[x] Commits are signed per the DCO using --signoff

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

@KrooshalUX please let me know if it is desired fix
Link to live demo: https://oui-three.vercel.app/#/display/list-group#text-wrapping-and-tooltips

@kgcreative Can you review from the UX side (or is there someone else who should review)?

LGTM -- this is a really nice update

@canascar -- can you update the figma component to match?


Failed cleanup tasks in status API

Update status API to include failed cleanup tasks for nodes.

Closed in #1452


Fix PEImage::dumpDebugLineInfoCOFF()

Fixes #31
Signed-off-by: Dakota Hawkins<EMAIL_ADDRESS>I think this is right...

I think I used a wrong index, actually... sec.


Clean up docs for x-api v3

I'm getting rid of the help.exercism.io site, and integrating the documentation into the language-specific pages: https://github.com/exercism/exercism.io/pull/2628
There might be some tweaks we'll want to do once it's in production and we see where we need more granularity etc.
This is a direct port from the docs repository, split up into separate files.

I'm not really sure what to do with this and how it is connected to #275 and #278.

Oh, this is all old and can be closed. I lost track of it.


Add Belo Horizonte, Brazil

Looks good to me. I'll let somebody else merge, in case they want to take a look first.

Thanks for adding this!


⚠ Bofrost.at has degraded performance

In 863bc59, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1868 ms

Resolved: Bofrost.at performance has improved in a3ac41e after 6 minutes.


convert code snippets to copy paste

add copy/paste component and convert all pre code snippet blocks to patternfly copy to clipboard components
format server.js (prettier)
run nodemon server with --watch so it does not reload locally after UI changes

Todo:

[ ] review styling and multiline aspects w/ design

yes - agree that the copy/paste components needs design help 😄 . Will try to review it some more today.

default multiline to expanded
expand widths on single line (and render single line design when snippet is single line)
add @mindreeper2420 's css additions w/ ellipsis

@priley86 I see the multiline blocks now expand by default. This looks better.
Only other thing is:

The positioning of a 'Note' beside a copy/paste snippet looks a little off

Thats on Task 2 of 6, Step 8, f, v

@priley86 Code has merge conflicts.


Documentation: Add section to validate Hubble TLS is enabled

A common question is if TLS is configured and enabled, especially since Flows might contain what is considered sensitive information. Add a section to guide users through validating that mTLS is being used. In addition to validating that TLS is configured, it can help users with troubleshooting.

/test

/test

/test


MicroCoroutine

I'm planning improveming performance of ObserveEveryValueChanged.
Currently it make coroutine each observe properties.
If observe 1000 property, 1 Update with 1000 loop(central dispatcher) is faster than 1000 coroutine.
I'll create central dispatcher of observe properties, and public internal system, it called MicroCoroutine.

MainThreadDispatcher.StartMicroCoroutine
Obervable.FromMicroCoroutine
FrameCountType.MicroCoroutine, change default FrameCountType of ObserveEveryValueChanged

Observable.EveryUpdate

If we can use FromMicroCoroutine, completly repaced instead of FromCoroutine.
https://github.com/neuecc/UniRx/commit/2669fdd25e88f396a937af48ae87665555be0223
Changed target are
ObserveEveryValueChanged
EveryUpdate
EveryFixedUpdate
EveryEndOfFrame
NextFrame
TimerFrame
IntervalFrame
DelayFrame
SampleFrame
ThrottleFrame
ThrottleFirstFrame
TimeoutFrame
MicroCoroutine is 10x fast in scenario of many object observing.


Applicant - Relative modals on job application

Description
Tie in the modals that Josh made for the Job application so that applicants can add references and work samples to their skills directly on the job application.

Waiting on front-end framework (#701)

Created the Modal in React as a component, but in order to properly implement it I think we should do some heavy refactoring of the relevant applicant sections (Application Skills and Applicant Profile). This will involve adding API routes, creating the required React components for the containers, creating a Skill component and retrieving the data.

My bad. Accidentally closed the issue.


ProdService implementation

Adds new AnnotationBasedJvmProdHost (uses ServiceLoader + AutoService)
Embeds an instance of that in ProdArcHostService, which is started onDemand (or could be persistent process) in AndroidManifest.xml
Creates a TestProdArcHostService that embeds a TestJvmProdHost
** Adds 'PurePerson' Particle to the test recipe in person.arcs
** PurePerson runs in TestProdArcHostService via @TargetHost Annotation
** Updated E2E tests to verify the new 3-particle 3-host recipe
Had to debug a really nasty GCB issue with bazel forcing desugaring of Java 1.8 code to 1.7 and crashing in the Desugar only on Linux. Disabled it since we don't need desugaring.
AutoService also needed an upgraded rules_jvm_external and rules_kotlin for some unknown reason, so I upgraded those in another PR

/gcbrun

/gcbrun

Playing around with this with my test app.
Here is a heads-up on some strict deps that are needed: cl/302308046
I can get my tests to run, but when I deploy the app, the ServiceLoader doesn't find the classes (the result of ServiceLoader.load(Particle::class.java) is empty). Is there something special I need to do to make this work on an actual Android device?

java

Did you forget to put @AutoService(Particle::class) annotation on your particle? It won't find it if not. To test if the annotation processor is working, build the target with the particle in it and unzip the JAR and see if it as a META-INF/ entry pointing to your particle.

User error --- I was building using a build target in Android Studio, and it looks like that wasn't causing enough of a rebuild to also pick up the META-INFO/services file. A full blaze build did the trick.

User error --- I was building using a build target in Android Studio, and it looks like that wasn't causing enough of a rebuild to also pick up the META-INFO/services file. A full blaze build did the trick.

If you're trying this on an real app inside of the emulator/device, could you try hacking the AndroidManifest.xml file to put the ProdArcHostService in its own process? That's the one thing we haven't tested yet, since the OSS repo has no emulator tests.

/gcbrun

/gcbrun

  /gcbrun


Bug at Massiface and Venoct Fight

before the massiface fight, it will immediately start the fight with no cutscene (forgot if the kyubi cutscene played) and after, you will have no cutscene and fall through the void, eventually landing at the start of the site, after saving the game will play the ending boss fight cutscene and continue as normal
after the venoct fight, it will not play the cutscene and will immediately give you venoct, your objective on both screens will disappear, the Onis will disappear, and McKracken will be unfightable, trying to leave through the elevator results in a black unescapable void.

Hi, you should join the discord server to report this kind of problem because the github is only for problems aboutthe tool, not ingame.
Thank you for reporting the problems but I can't really help you, depending on the settings you choose and whether you're playing on 3DS or Citra, if you have game updates installed, you may meet some bugs.
All randoms are tested on citra with versions 1.0 of the games without any update, so it's recommended to play on citra without any game updates.
You can try to disable your random and talk to McKraken maybe the battle will start, if the battle doesn't start it's because your save is buggy and there's no solution.

@Tiniifan do you know where I can find the discord?

Here https://discord.gg/3wKp5ZxA9N


Create python.py

Thank you for helping us improve the Azure IoT Python SDK!
Need Support

Have a feature request for SDKs? Please post it on User Voice to help us prioritize
Have a technical question? Please see IoT support options for information on posting questions on Microsoft Q&A and Stack overflow using the "azure-iot-sdk" tag.
Need Support? Every customer with an active Azure subscription has access to support with guaranteed response time.  Consider submitting a ticket and get assistance from Microsoft support team
Found a bug? Please help us fix it by thoroughly documenting it and filing an issue on GitHub (See below).

Here's a little checklist of things that will help it make its way to the repository: Note that you don't have to check all the boxes, we can help you with that.
This being said, the more you do, the quicker it'll go through our gated build!
-->
Checklist

[ ] I have read the contribution guidelines.
[ ] I added or modified the existing tests to cover the change (we do not allow our test coverage to go down).
If this is a modification that impacts the behavior of a public API

[ ] I edited the corresponding document in the devdoc folder and added or modified requirements.

Reference/Link to the issue solved with this PR (if any)
Description of the problem
Please be as precise as possible: what issue you experienced, how often...
Description of the solution
How you solved the issue and the other things you considered and maybe rejected

@SarthakRath
What is this?

Sorry....
On Wed, Dec 15, 2021 at 1:10 AM Carter Tinney @.***>
wrote:

@SarthakRath https://github.com/SarthakRath
What is this?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Azure/azure-iot-sdk-python/pull/921#issuecomment-993918281,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AW5HJXT72SBDTN2BRH3AAYDUQ6MSBANCNFSM5KACVWLA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


Is there any way to interact programmatically with the control?

I have a requirement where I have a toggle that when set to true, it must select one of the options in the drop down.
Is this possible? Is it possible to use JavaScript to programmatically select an option?

The control is creating and deleting records in the N:N table/intersect table. You could create a record in there and refresh/save the page to see the result.


Slayer Assistant Plugin

Plugin for searching for slayer tasks and showing information related to each task.

Monster locations
Items required/recommended
Monster attack styles and attributes
Slayer masters that can assign the task

The "slayer" config group is already in use by the core slayer plugin, use a unique string here. Alternatively, given your plugin doesn't use any configuration, you could simply remove the config class entirely.

The "slayer" config group is already in use by the core slayer plugin, use a unique string here. Alternatively, given your plugin doesn't use any configuration, you could simply remove the config class entirely.

Oops! I've removed the config file and updated the commit hash.


Update dependencies

Can't fix the git deps until https://github.com/input-output-hk/cardano-node/pull/3367 is merged.


Skipping cutadapt

Within the parameters_example file, there doesn't appear to be a way to skip cutadapt.  Is this possible?

I added a flag (skip_trimming) that let's you skip cutadapt and the second fastqc step


simplifyied cross project infrastructure

it's basically a copy paste of Scala.js crossProject adding .native* where needded
we need to address scala-native/58 (Make %%% work across different platforms)

I have two concerns with this approach:

It does not allow to create a cross-project that only has 2 targets (e.g., native and JVM, but not JS)
sbt-cross-project now depends on Scala Native and on Scala.js. That means there is now way we can ever suggest this be made standard in sbt.

It does not allow to create a cross-project that only has 2 targets (e.g., native and JVM, but not JS)

If you don't define the concrete project it does not exists. For example:
lazy val foo = crossProject
lazy val fooJVM = foo.jvm
lazy val fooNative = foo.native

fooJs is not listed in the projects command

sbt-cross-project now depends on Scala Native and on Scala.js. That means there is now way we can ever suggest this be made standard in sbt.

This is true. Do you have a use case of sbt-cross-project outside of native and js?

I see the solution presented here as a simple, instantly useable, potentially imperfect step towards the final goal. A few things to love here:

[x] Full source compatibility with existing Scala.js builds
[x] Extremely simple and easy to understand codebase
[x] No cryptic type errors

A few problems that @sjrd mentioned above seem to have simple work-arounds:

Cross-project against 2 out of three can be worked around as shown by @MasseGuillaume.
Dependency between sbt-cross-project and JS/Native can be made optional through some light use of reflection to check if those are currently available.

IMO more generic all-encompasing solution can come later. If inclusion into mainline sbt is an ultimate goal, we should also discuss the design with sbt guys to see what they think about this.
Given that a working version of cross projects blocks our 0.1 release, I'd rather do it some time later in medium-term future and just settle on a simpler solution for now.

OK if you are fine with those restrictions, well why not.
Regarding %%%%, IMO this is a bad idea. I suggest using crossProject and %%% anyway, and explain in the docs that people should use a specific import explicitly in their .sbt file. We can craft that import to shadow the auto-imported version from Scala.js (at least I hope so).
We should also investigate whether the new derivedProjects/extraProjects of sbt 0.13.13 could be leveraged to produce a better experience for sbt-cross-project. In particular I'm hoping we might be able to get rid of the extra lazy val fooJS = foo.js stuff. I'm bringing this up now because, if it can, it would invalidate the suggested workaround for 2/3 of the platforms.

Regarding %%%%, IMO this is a bad idea.
We are on the same page. I just wanted to experiment without modifying the scala-js-plugin. For the same reason, I renamed crossProject to crossProject2. When integrated %% and crossProject will be enough.

Regarding sbt import strategy the source is here: EvaluateConfigurations.scala#L119 and Eval.scala#L81. I'm not a certified sbt developer but I think it translates to a sequence of imports and normal Scala import rules applies. The problem is then:
// plugin lang

object ScalaJsPlugin extends AutoPlugin {
  object autoImport {
    def crossProject = ???
  }
}

object ScalaNativePlugin extends AutoPlugin {
  object autoImport {
    // ...
  }
}

object SbtCrossPlugin extends AutoPlugin {
  object autoImport {
    def crossProject = ???
    // expr 1
  }
  override def requires = ScalaJsPlugin && ScalaNativePlugin
}

// user land
import ScalaJsPlugin.autoImport._
import ScalaNativePlugin.autoImport._
import SbtCrossPlugin.autoImport._
// expr 2

I suppose sbt has a partial ordering of the autoImports based on auto plugins requires
can we find a expr 1 (idealy) or a expr 2  such as crossProject resolved to import SbtCrossPlugin.autoImport.crossProject  (shadowing import ScalaJsPlugin.autoImport.crossProject) ?

Me, @sjrd and @MasseGuillaume are going to discuss this ticket some time next week in person to finalise our discussion on shared cross projects between JS and Native.

meeting minutes:

we solve the ambiguous import (%%% and crossProject) in userland by naming it. A named import has more precedence than a wildcard import.
package name: sbtcrossproject
crossProject enables platform via apply method, breaking source compatibility with current implementation crossProject(JsPlatform, NativePlatform)
xxxxxxSettings are provided via implicit by platform's sbt plugin. jvmSettings is in the sbt-cross-project, nativeSettings is in sbt-native and jsSettings is in temporary sbt-scalajs-cross-project.
we want to experiment with extraproject and derivedproject.
native multi target (window vs linux, etc) is out of scope

https://github.com/MasseGuillaume/sbt-cross-experiment

@sjrd @densh this is what I have in terms of use case: https://github.com/MasseGuillaume/sbt-cross-experiment/blob/master/src/main/scala/userland/User.scala#L6

https://github.com/scala-native/sbt-cross-project/pull/4


Stop current lein tasks when exiting

Might handle this in cljsbuild-ui/app.js in onWindowClose

This is working on Linux, would be great if someone could confirm on Mac and Windows. @LesleyMdCampo and @comamitc perhaps?
Steps:

run the app
start compiling some projects
close the program while the projects are still compiling
check Task Manager (or equivalent) to make sure there are no zombie java processes still running

This isn't fixed yet; just found a race condition when there are more than one processes running. Will try to fix it later today.

This should be fixed now.

Tested on Mac, Windows, and Linux.


Doesn't work in WSL because tkinter is required

Running pico_project.py in WSL fails because there's no GUI and therefore no tkinter module. This could be fixed perhaps by only importing tkinter if pico_project.py is run with the GUI option.

Interesting. I didn't try WSL, just Linux (x86 and Arm), Windows and Mac. I know nothing of WSL, but presumably installing tkinter library is not a possibility if there is no GUI. Will have a think.

Interesting. I didn't try WSL, just Linux (x86 and Arm), Windows and Mac. I know nothing of WSL, but presumably installing tkinter library is not a possibility if there is no GUI. Will have a think.

WSL does not support GUI's at all yet. Microsoft plan to add this feature in the future. If you are going to want to use a GUI then you are going to need to run it on windows itself by installing python.

WSL does not support GUI's at all yet. Microsoft plan to add this feature in the future. If you are going to want to use a GUI then you are going to need to run it on windows itself by installing python.

Had a quick investigate, and can conditionally import, so will sort that out on Monday.

Had a quick investigate, and can conditionally import, so will sort that out on Monday.

After a quick google i was able to find out that you can install tkinter using: sudo apt-get install python3-tk.
I was able to install that on my version of windows subsystem for linux and i was able to get the script to run.
I have not done much testing so i cannot say for sure if this works 100%.
I will report back when i have done some more testing

After a quick google i was able to find out that you can install tkinter using: sudo apt-get install python3-tk.
I was able to install that on my version of windows subsystem for linux and i was able to get the script to run.
I have not done much testing so i cannot say for sure if this works 100%.
I will report back when i have done some more testing

Ok so far I have had no issues after insalling the module. Looks like that has appeared to fix the issue @nmk456 .

Ok so far I have had no issues after insalling the module. Looks like that has appeared to fix the issue @nmk456 .

I'll still fix it up, shouldn't need tkinter installed if only running from the command line.

I'll still fix it up, shouldn't need tkinter installed if only running from the command line.

Hmm, bit more of a PITA that initially thought. Without TKInter a load of top level classes break the rest of the code as tk is undefined. Will need to swot up a bit more on Python and imports etc.

Hmm, bit more of a PITA that initially thought. Without TKInter a load of top level classes break the rest of the code as tk is undefined. Will need to swot up a bit more on Python and imports etc.

am i correct in thinking tkinter is only needed for loading the gui?

am i correct in thinking tkinter is only needed for loading the gui?

If so then can you just use an if statement to import the tkinter module only when the gui option is called?

If so then can you just use an if statement to import the tkinter module only when the gui option is called?

Ok this is a bit messy and definatly is not the neatest solution. but i have thrown together a "patch" based on my comment/thought before that basically only imports and runs code that needs tkinter when the --gui or -g option is called.
I have not done massive amounts of testing but it does appear to work.
I did have to reshuffle some lines of code but nothing has been removed.
I hope this is a little help to build a neater solution. there is a chance i broke something but i have not spotted any bugs atm.
I have attached a zip of these modifications of this project with the possible patch.
SHA-256: E6F5CD91BD23A4895175F5BDEEDD540B2075C339C32B8E64CC7EC4C646C78780
pico-project-generator-MODIFIED.zip
VirusTotal of the file for security: https://www.virustotal.com/gui/file-analysis/Mzk1NDk3OGQxNmEzMzIzMmZlMzA5M2Y1ZDA2MGU4NjA6MTYxMTU5MTQxOQ==/detection

Ok this is a bit messy and definatly is not the neatest solution. but i have thrown together a "patch" based on my comment/thought before that basically only imports and runs code that needs tkinter when the --gui or -g option is called.
I have not done massive amounts of testing but it does appear to work.
I did have to reshuffle some lines of code but nothing has been removed.
I hope this is a little help to build a neater solution. there is a chance i broke something but i have not spotted any bugs atm.
I have attached a zip of these modifications of this project with the possible patch.
SHA-256: E6F5CD91BD23A4895175F5BDEEDD540B2075C339C32B8E64CC7EC4C646C78780
pico-project-generator-MODIFIED.zip
VirusTotal of the file for security: https://www.virustotal.com/gui/file-analysis/Mzk1NDk3OGQxNmEzMzIzMmZlMzA5M2Y1ZDA2MGU4NjA6MTYxMTU5MTQxOQ==/detection

I was trying something along those lines. The mass movement of classes is a PITA. Will do something similar and try and maintain some semblance of code sanity!

I was trying something along those lines. The mass movement of classes is a PITA. Will do something similar and try and maintain some semblance of code sanity!

Note, also need to surround the TK import in try catch because you still need to catch people asking for a GUI when its not supported.

Note, also need to surround the TK import in try catch because you still need to catch people asking for a GUI when its not supported.

Ok so I have done a massive restructure of the code... It took a while. Nothing has changed only how the code is stored and how different things are called. The restructure allows for the program to work fine without tkinter without a GUI.
The restructure also allows possible easier expansion of the code. The restructure splits the code into 4 python files:
pico_project.py - This is the start file (Like normal) this is where the program enters and receives any parameters.
pico_project_generation.py - This file was needed when ripped the GUI from the main file to prevent import loops and incomplete import errors.
pico_project_settings.py - in here are all the variables that are needed by all of the other files in the project. I also put things like the code fragments and lists to make them easy to find when adding more. Again, this was needed so the main 2 files pico_project and pico_project_gui can access all the variables needed.
pico_project_gui.py - This contains ALL code needed for the gui. If the user wanted to they could drop this file entirely and the project would/should work fine without a GUI.
If you decide to merge this code, I would highly recommend testing my code and double checking it before merging it with the master.
The code also is not the neatest, but I have tried my best!
I really hope this helps at least a little!
I have created a pull request with the code so you can easily see it.
Once again i have done some testing on both windows (normal python install with tkinter) and WSL with the tkinter module uninstalled.
Pull request: #11

Ok so I have done a massive restructure of the code... It took a while. Nothing has changed only how the code is stored and how different things are called. The restructure allows for the program to work fine without tkinter without a GUI.
The restructure also allows possible easier expansion of the code. The restructure splits the code into 4 python files:
pico_project.py - This is the start file (Like normal) this is where the program enters and receives any parameters.
pico_project_generation.py - This file was needed when ripped the GUI from the main file to prevent import loops and incomplete import errors.
pico_project_settings.py - in here are all the variables that are needed by all of the other files in the project. I also put things like the code fragments and lists to make them easy to find when adding more. Again, this was needed so the main 2 files pico_project and pico_project_gui can access all the variables needed.
pico_project_gui.py - This contains ALL code needed for the gui. If the user wanted to they could drop this file entirely and the project would/should work fine without a GUI.
If you decide to merge this code, I would highly recommend testing my code and double checking it before merging it with the master.
The code also is not the neatest, but I have tried my best!
I really hope this helps at least a little!
I have created a pull request with the code so you can easily see it.
Once again i have done some testing on both windows (normal python install with tkinter) and WSL with the tkinter module uninstalled.
Pull request: #11

Note, also need to surround the TK import in try catch because you still need to catch people asking for a GUI when its not supported.

Oh while i remember i forgot to add this into my code. but it shouldn't matter too much because if they are trying to run a gui in an environment that does not have one installed or supported then that will be the only time the program crashes.

Note, also need to surround the TK import in try catch because you still need to catch people asking for a GUI when its not supported.

Oh while i remember i forgot to add this into my code. but it shouldn't matter too much because if they are trying to run a gui in an environment that does not have one installed or supported then that will be the only time the program crashes.

I'll take a look as son as I can, I suspect a change this large will need a loot of checking over, but its along the lines I  was thinking of, so useful. Not how how splitting it up will affects its running in all circumstances.

I'll take a look as son as I can, I suspect a change this large will need a loot of checking over, but its along the lines I  was thinking of, so useful. Not how how splitting it up will affects its running in all circumstances.

Oh yeah i agree a change that massive will needs lots of looking over! It wont necessarily affect the running in most circumstances but it will make the code easier to maintain and having the settings inside one file makes changing them a little easier.

Oh yeah i agree a change that massive will needs lots of looking over! It wont necessarily affect the running in most circumstances but it will make the code easier to maintain and having the settings inside one file makes changing them a little easier.

Looks that the tkintermodule installation itself, or rather the documentation for the installation on Linux based platforms (Ubuntu/Debian/RPI) has cause some unnecessary issues over time.
I submitted a simple PR for the README which fix that issue.

Could the library tkinter be loaded only in GUI mode? It does not bring any value in CLI mode.
Python is dynamic in the library loading, we could define that GUI parts are not loaded in CLI mode of script.


Certain machines aren't assembling?

I tried the Arc Furnace, and assembled it all properly, but nothing is happening.
I noticed the same with the Observatory, with no sign of where to place the Observatory block afterwards. Perhaps a mod is replacing the air block?

can you post an image of the machine from several angles please?

could i please have a list of mods? as well as a few pictures?

As far as mods, I removed quite a lot of them to try and fix the problem with the Furnace. It didn't work. The problem with the Observatory was a bit embrassing as I noticed the problem after reconstruction on my test world.
Mods List (from NEIIntegrations Data Dump)
ID,Name,Version,Custom Container,Disableable,Dependencies
mcp,Minecraft Coder Pack,9.05,true,YES,[]
FML,Forge Mod Loader,<IP_ADDRESS>,true,NEVER,[]
Forge,Minecraft Forge,<IP_ADDRESS>2,true,NEVER,[]
CodeChickenCore,CodeChicken Core,<IP_ADDRESS>,true,NEVER,[]
NotEnoughItems,Not Enough Items,<IP_ADDRESS>,true,NEVER,"[CodeChickenCore@[1.0.7,)]"
OpenEye,OpenEye,0.6,true,NEVER,[]
OpenModsCore,OpenModsCore,0.8,true,NEVER,[]
,CoFH ASM,000,true,NEVER,[]
CoFHCore,CoFH Core,1.7.10R3.0.3,false,DEPENDENCIES,"[Forge@[<IP_ADDRESS>8,10.14)]"
libVulpes,Vulpes library,0.0.2,false,DEPENDENCIES,"[CoFHCore, RotaryCraft, GalacticraftCore, tconstruct]"
advancedRocketry,Advanced Rocketry,0.0.1b,false,RESTART,[libVulpes]
antiidconflict,Anti Id Conflict,1.1,false,RESTART,[]
BuildCraft|Core,BuildCraft,7.0.25,false,DEPENDENCIES,"[Forge@[<IP_ADDRESS>6,)]"
BuildCraft|Builders,BC<EMAIL_ADDRESS>BuildCraft|Transport,BC<EMAIL_ADDRESS>BuildCraft|Energy,BC<EMAIL_ADDRESS>BuildCraft|Silicon,BC<EMAIL_ADDRESS>BuildCraft|Robotics,BC<EMAIL_ADDRESS>BuildCraft|Factory,BC<EMAIL_ADDRESS>BuildCraft|Compat,BuildCraft Compat,7.0.12,false,RESTART,"[Forge@[<IP_ADDRESS>9,), BuildCraft|Core, Forestry, BuildCraft|Transport, BuildCraft|Builders]"
endercore,EnderCore,1.7.10-<IP_ADDRESS>_beta,false,DEPENDENCIES,[ttCore]
ForgeMultipart,Forge Multipart,<IP_ADDRESS>9,false,DEPENDENCIES,[]
McMultipart,Minecraft Multipart Plugin,<IP_ADDRESS>9,false,RESTART,[]
HelpFixer,HelpFixer,1.0.7,false,RESTART,[]
NEIAddons,NEI Addons,<IP_ADDRESS>,false,RESTART,[NotEnoughItems]
NEIAddons|Developer,NEI Addons: Developer Tools,<IP_ADDRESS>,false,RESTART,[NEIAddons]
NEIAddons|AppEng,NEI Addons: Applied Energistics 2,<IP_ADDRESS>,false,RESTART,"[NEIAddons, appliedenergistics2]"
NEIAddons|Botany,NEI Addons: Botany,<IP_ADDRESS>,false,RESTART,"[NEIAddons, Botany]"
NEIAddons|Forestry,NEI Addons: Forestry,<IP_ADDRESS>,false,RESTART,"[NEIAddons, Forestry]"
NEIAddons|CraftingTables,NEI Addons: Crafting Tables,<IP_ADDRESS>,false,RESTART,[NEIAddons]
NEIAddons|ExNihilo,NEI Addons: Ex Nihilo,<IP_ADDRESS>,false,RESTART,[exnihilo]
neiintegration,NEI Integration,1.0.12,false,RESTART,"[Forestry@[3.6.0,)]"
NEIPlugins,NEI Plugins Unofficial,<IP_ADDRESS>-unofficial,false,RESTART,"[NotEnoughItems@[1.0.2,)]"
OpenMods,OpenMods,0.8,false,RESTART,[OpenModsCore]
quickhotbar,Quick Hotbar,1.04,false,RESTART,[]
ThermalFoundation,Thermal Foundation,1.7.10R1.2.0,false,DEPENDENCIES,"[CoFHCore@[1.7.10R3.0.3,)]"
ThermalExpansion,Thermal Expansion,1.7.10R4.0.3B1,false,DEPENDENCIES,"[CoFHCore@[1.7.10R3.0.3,), ThermalFoundation@[1.7.10R1.2.0,)]"
RedstoneArsenal,Redstone Arsenal,1.7.10R1.1.1,false,DEPENDENCIES,"[CoFHCore@[1.7.10R3.0.3,), ThermalExpansion]"
RArm,Redstone Armory,1.7.10-1.2.0-40,false,RESTART,"[RedstoneArsenal, endercore, ThermalFoundation, ThermalExpansion, Baubles]"
RedstonePasteMod,Redstone Paste,1.6.2,false,RESTART,[]
simplyjetpacks,Simply Jetpacks,1.5.1,false,RESTART,"[Forge@[<IP_ADDRESS>1,), ThermalExpansion, RedstoneArsenal, RArm, EnderIO@[1.7.10-<IP_ADDRESS>,), BuildCraft|Core@[6.4.15,7.0.0),[7.0.4,)]"
VersionChecker,Version Checker,1.1.9,false,RESTART,[]
wsync,World Sync,1.0,false,RESTART,"[Forge@[v<IP_ADDRESS>1,)]"
WR-CBE|Core,WR-CBE Core,<IP_ADDRESS>,false,DEPENDENCIES,"[CodeChickenCore@[1.0.4,), ForgeMultipart]"
WR-CBE|Addons,WR-CBE Addons,<IP_ADDRESS>,false,RESTART,[WR-CBE|Core]
WR-CBE|Logic,WR-CBE Logic,<IP_ADDRESS>,false,RESTART,"[WR-CBE|Core, ForgeMultipart]"
ForgeMicroblock,Forge Microblocks,<IP_ADDRESS>9,false,RESTART,"[ForgeMultipart, *]"

The top of the arc furnace needs to be rotated counter-clockwise 90 degrees and make sure the gold blocks are moved to be under the new location for the power supplies

Okay then. New problem. Is the Cutting Machine not supposed to use RF power? Cause I see no spot in the Holo projector for a RF Storage block.

Yeah, I caught that about an hour ago, you can replace one of the motors in the back with a power block and it should work.  Fixing that now.

Done and fixed. Now I got a question. How does the Planet Analyzer gather data on, say, Luna? I have the Observatory up and running (albiet at a snail's place), but I dunno how the Planet Analyzer gathers data.

you need to either launch a satellite with a sensor corresponding to the type of data you want to collect then dump it into a data chip for transfer or you can use the observatory, which should be(but i making random data atm) limited to distance data at this point in time.  The data chip can then be put into the planet analyser where you can load the data from the chip

for thhe cutting machine im trying to build it but everytime i place the output hatch it says that it is an invalid block

Can you upload an image of what you have built?


Specifying a specific seeder on base test class does not apply when using in-memory Sqlite DB

Laravel Version: 8.76.0
PHP Version: 7.3.25
Database Driver & Version: in-memory Sqlite

Description:
According the docs for seeding while testing, we can specify a specific seeder on the base test class which would then be ran instead of the default Database\Seeders\DatabaseSeeder class. This does not work if in-memory SQLite DB is used.
My first thought is that this is because artisan migrate command does not accept seed class parameter (used here https://github.com/laravel/framework/blob/45de4c45dc3908a7f8149af34603684311cd0d0e/src/Illuminate/Foundation/Testing/RefreshDatabase.php#L45),
while artisan migrate:fresh command does (used here https://github.com/laravel/framework/blob/45de4c45dc3908a7f8149af34603684311cd0d0e/src/Illuminate/Foundation/Testing/RefreshDatabase.php#L70)
Is there a reason for not running aditional artisan db:seed command in \Illuminate\Foundation\Testing\RefreshDatabase::refreshInMemoryDatabase() method instead of seeding it using artisan migrate (if seeding is enabled and specific seeder is set on base test class)?
To address this I simply seed with specific seeder on my test class using $this->seed('SpecificSeeder') method.
The problem was mentioned here, however it was not addressed further.
Thank you for your valuable work...
Steps To Reproduce:
Set a specific seeder class in base test class while using in-memory Sqlite DB.

Heya, thanks for reporting.
We'll need more info and/or code to debug this further. Can you please create a repository with the command below, commit the code that reproduces the issue as separate commits on the main/master branch and share the repository here? Please make sure that you have the latest version of the Laravel installer in order to run this command. Please also make sure you have both Git & the GitHub CLI tool properly set up.
laravel new bug-report --github="--public"

Please do not amend and create a separate commit with your custom changes. After you've posted the repository, we'll try to reproduce the issue.
Thanks!

Hi, here is the repo:
https://github.com/cicnavi/bug-report
with one commit https://github.com/cicnavi/bug-report/commit/023154160801cb15a67fd65f54d4b9fd6973db1e
As per docs, I have added a $seeder prop in \Tests\TestCase which points to custom seeder \Database\Seeders\TestDatabaseSeeder.
The test \Tests\Feature\SeedingUsingCustomSeederTest::testSampleFromTestSeederExists fails because it expects a Sample in DB which should have been seeded from custom seeder \Database\Seeders\TestDatabaseSeeder instead of default \Database\Seeders\DatabaseSeeder (as per docs).

@cicnavi your test contains test as a value while your seeder contains default.

@driesvints Erm, please check again: https://github.com/cicnavi/bug-report/blob/023154160801cb15a67fd65f54d4b9fd6973db1e/database/seeders/TestDatabaseSeeder.php#L17

Sorry, I misread that. You're correct, this seems broken right now.

I managed to write a fix for this. Please check and test https://github.com/laravel/framework/pull/41869. I managed to get your test passing with it.

That was quick... Tried it out on a real project and works as expected.
I hope it will also be fixed in v9.*...
Thanks and best regards

@cicnavi yeah bug fixes are merged upstream so it'll land in 9.x as well if it gets merged.


Fix wrong calculation of max retry timeout for exponential backoff

Which issue(s) this PR fixes:
Fixes #3609
What this PR does / why we need it:
Calculation of max retry timeout for exponential backoff is wrong,
exponents should be started with 0, not -1.
Docs Changes:
none
Release Note:
Same with the title.

Thanks for your review!

Thanks for the fix!


Update BASE_VERSION to 1.13-2022-05-11T19-02-28

@istio-testing: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-pilot-multicluster_istio_release-1.13
cde6e2a8971bd948d16515257e2b7e2784eee042
link
true
/test integ-pilot-multicluster_istio_release-1.13

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test integ-pilot-multicluster_istio_release-1.13


Remove junit formatter in Azure for the moment

What was the end-user problem that led to this PR?
The problem was it's not easy to inspect Windows failures at the moment. Github checks only show a few inline annotations, but we have ~330 failures at the moment.
What was your diagnosis of the problem?
My diagnosis was that for the moment, regular test output is better.
What is your fix for the problem, implemented in this PR?
My fix is to remove the junit formatter for the moment.

Actually it's super simple to check the failing tests in Azure (there's a Tests tab with all the information ready to filter), I just didn't know how to use the UI. I'm closing this.

I'm going to migrate Azure Pipelines and Travis CI to GitHub Actions after releasing Bundler 2.1.0. Then We will drop to support JUnit formatter.


feat(AlgegraicTopology): the category of simplicial objects is simplicial

For any category C, the category SimplicialObject C is simplicial. In particular, the category of simplicial sets is simplicial.

LGTM! Please feel free to merge once CI passes.
bors d+

Thanks!
bors merge


[BUG?] Contributor leaderboard is shared between D20 and D21

Thanks för reporting! At this point in time it is intended behavior for the sake of just being much faster to implement. I do however want to adress this as a future improvement


HotCodePush not found

I am getting the following error from xcode when building my app. The build succeeds but the following error is in the logs:
Plugin 'HotCodePush' not found, or is not a CDVPlugin. Check your plugin mapping in config.xml.
All the plugin files are there. Running cordova clean does not help either.

But besides that log message everything is working fine?

This can occur when plugin is not defined in platform-specific config.xml. Particularly, when it's missing the following lines:
<feature name="HotCodePush">
  <param name="ios-package" value="HCPPlugin"/>
  <param name="onload" value="true"/>
</feature>

Those lines are injected by Cordova. So I would say, that it missed them for some reason. Try to run the following:
cordova clean
cordova prepare
cordova build

Or just reinstall the plugin.

Yes those lines were missing. running cordova prepare fixed the issue.
Thanks for your help.


FATAL ERROR: v8::FromJust Maybe value is Nothing.

Which @angular/* package(s) are the source of the bug?
compiler
Is this a regression?
Yes
Description
Since last verison 12.2.7 it seem our build didn't work,
Please provide a link to a minimal reproduction of the bug
No response
Please provide the exception or error you saw
Starting: Run node Build Fusion AOT copy
==============================================================================
Task         : Command Line
Description  : Run a command line with arguments
Version      : 1.1.3
Author       : Microsoft Corporation
Help         : [More Information](https://go.microsoft.com/fwlink/?LinkID=613735)
==============================================================================
node --max_old_space_size=8192 ./node_modules/@angular/cli/bin/ng build --prod --aot --localize
Option "--prod" is deprecated: Use "--configuration production" instead.
- Generating browser application bundles (phase: setup)...
Compiling @angular/core : es2015 as esm2015
...
Compiling ngx-image-cropper : es2015 as esm2015
Compiling @angular/cdk/drag-drop : es2015 as esm2015
Compiling @angular/material-moment-adapter : es2015 as esm2015
FATAL ERROR: v8::FromJust Maybe value is Nothing.
 1: 00007FF7534D4C9F napi_wrap+111007
 2: 00007FF753478226 v8::base::CPU::has_sse+59910
 3: 00007FF753479126 node::OnFatalError+294
 4: 00007FF753D37C85 v8::V8::FromJustIsNothing+53
 5: 00007FF75339FECA v8::internal::Isolate::isolate_root_bias+15114
 6: 00007FF75339FD6D v8::internal::Isolate::isolate_root_bias+14765
 7: 00007FF75339A3F0 v8::internal::HashTable<v8::internal::CompilationCacheTable,v8::internal::CompilationCacheShape>::HashTable<v8::internal::CompilationCacheTable,v8::internal::CompilationCacheShape>+42448
 8: 00007FF753527092 uv_pipe_pending_type+4242
 9: 00007FF753531B20 uv_loop_init+1024
10: 00007FF753531DCA uv_run+202
11: 00007FF7533BAECD v8::internal::wasm::SignatureMap::Freeze+35341
12: 00007FF7533B69A8 v8::internal::wasm::SignatureMap::Freeze+17640
13: 00007FF7535225BD uv_poll_stop+557
14: 00007FF7542CFA30 v8::internal::compiler::RepresentationChanger::Uint32OverflowOperatorFor+146176
15: 00007FF892627974 BaseThreadInitThunk+20
16: 00007FF892A2A2F1 RtlUserThreadStart+33
##[error]Process completed with exit code 134.
Finishing: Run node Build Fusion AOT copy

Please provide the environment you discovered this bug in
OS Windows Devops MS Host
node 14.17.6 x64
Angular 12.2.7
npm 6.14.15

Anything else?
No response

Transferring to the CLI repo as I suspect this is related to esbuild-wasm, according to the stack. However, I'm afraid that without a reproduction this is otherwise unactionable for us at the moment.

This does indeed seem related to esbuild wasn’t. However, without a reproduction it’s hard to tell what’s the problem.

Can you provide the version output from what was being used prior to the issue occurring?

Output with version 12.2.5
Starting: Run node Build Fusion AOT copy
Task         : Command Line
Description  : Run a command line with arguments
Version      : 1.1.3
Author       : Microsoft Corporation
Help         : More Information
node --max_old_space_size=8192 ./node_modules/@angular/cli/bin/ng build --prod --aot --localize
Option "--prod" is deprecated: Use "--configuration production" instead.

Generating browser application bundles (phase: setup)...

Generating localized bundles...
√ Localized bundle generation complete.
Copying assets...
√ Copying assets complete.
Generating index html...
√ Index html generation complete.

Initial Chunk Files               | Names         |      Size
main.93475edc636e352a8a34.js      | main          |   4.80 MB
polyfills.9d94f4968ec080ecfb7f.js | polyfills     |   1.02 MB
styles.796faa8979af79bb433c.css   | styles        | 255.63 kB
runtime.2137b91cdd2139c6c3d1.js   | runtime       |   3.20 kB
| Initial Total |   6.08 MB
Lazy Chunk Files                  | Names         |      Size
161.7562832e0ab94f607bb6.js       | -             | 209.13 kB
Build at: 2021-09-22T23:32:32.905Z - Hash: b1021b8b8a16bac64aef - Time: 287267ms

Nope

I dont' know if I solve my issue or it's an another package, but I fix some scss ">>>" warning and now all work fine


Responsive Datawrapper chart height

REDMINE-17670
DataWrapperChart height was fixed previously to a
static value
It receives a post message from DataWrapper with the
ideal height according to device
It creates a hook, which register event and listen to
the messages from iframe and ajust the height accordingly

Coverage remained the same at 99.193% when pulling 7e723a7c8684fe4e9aa5d18084e7449af56b528c on UsmanMuhammad:datawrapper-chart-height into a2ad5543bf6cdadf681c0b68f9d597c0c16de4ed on codevise:master.


Add Makefile.Prow

Signed-off-by: xuezhaojun<EMAIL_ADDRESS>

Since this is equal to https://github.com/stolostron/cluster-proxy/pull/3 which lost by my force push, so this one I will merge it by mysefl.

/lgtm


evaluate expressions with >2 operands

expressions should be evaluated 2 numbers at a time with the built-in operate function. see https://www.theodinproject.com/lessons/foundations-calculator


ERROR error from chat server: unable to send message

Why can't I send messages to anyone?
my log id: 30e0d2b7cef32364ecdca31c

probably for the same reason i cant. looks like keybase fucked up and revoked ALL my devices. my account is completely useless right now, i cant send messages, i cant access any of my teams nor can i get into my wallet. looks like a pretty effective way to steal the money in there

looks like a pretty effective way to steal the money in there
Your Stellar assets don't live in the Keybase application, but on the Stellar blockchain.
So if you're locked out of Keybase for the moment, then that doesn't mean can't access your Stellar assets. It only means you can't open your Keybase wallet to see those funds.
But as long as you have the private Stellar key, you can use any wallet software to access your funds with that key.

See e.g. Stellar's own account viewer to verify everything is still there:
https://www.stellar.org/account-viewer/#!/
Or if you feel more comfortable using a desktop/mobile app, then try it with e.g. https://lobstr.co/

@sevim61 Just curious, but when you try to send messages, does it show a blue padlock to the right of your message, moving back and forth?
Because I have a similar problem in https://github.com/keybase/client/issues/20483 and can't for the life of me figure out what that means (didn't find it documented anywhere).
I even completely re-installed (after removing any trace of Keybase + restart) but soon after, blue padlock again... :,(

I've similar issue, except restarting all keybase processes mentioned in #20483 doesn't help.
When this happens (today) I've used 4.4.1 on Linux and latest from Play Market on Android. New messages from other people arrives only on Android. I was unable to send messages both from Linux and Android.
I've updated/restarted everything, so now I'm using 4.7.2 on Linux. Only difference is 4.7.2/Linux doesn't even show my chats anymore! (Everything else - non-chats - looks normal.) Also I've noticed there is no output even in command line with 4.7.2 (I didn't checked command line output in 4.4.1):
$ keybase chat ls
WARNING: inbox results obtained in OFFLINE mode
$

sorry to revive this, any news on this?

sorry to revive this, any news on this?


nodejs: Implement getting appid

Related Issue
https://github.com/Granulate/gprofiler/issues/504

Lint fails

Looks good, I'll wait for tests to pass


Use more helpful text for navigational links

I like how Surge does their Help pages with the nice sidebar of common tasks/questions (FAQ-style).

At least at desktop widths, we should consider doing a similar treatment. I think there could be a sweet balance between information overload and having people get frustrated/lost/having to resort to Google searching.

Also, in the vein of not having a FAQ, perhaps let's make sure we are super helpful in identifying all the possible things a creator/user may want to learn/experience about/from WebVR.
More inspiration:

https://getmdl.io/faq/index.html
http://www.smallvictori.es/
http://docs.smallvictori.es/basics
http://docs.smallvictori.es/advanced
http://docs.smallvictori.es/html-theme


Add LLaMA-SciTune results to the leaderboard

Hi, It would be great to add LLaMA-SciTune (developed on top of LLaVA architecture with scientific visual-language data) results to the leaderboard.

Hi, the results have been added. Thank you for your suggestion!


The test code screenshot for NUnit is not correct

in line "Or, for an NUnit project, you might use the following code." screen shot is using
using using NUnit.Framework; //this is not valid.
and [TestClass] is not exist inside NUnit.Framework. this one is from MSTest

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

ID: 107f3c03-dac2-0226-d5c1-f2f49daa413d
Version Independent ID: aaf80310-28eb-462b-d4f1-6b97a8abe260
Content: Get started with unit testing - Visual Studio
Content Source: docs/test/getting-started-with-unit-testing.md
Product: visual-studio-windows
Technology: vs-ide-test
GitHub Login: @Mikejo5000
Microsoft Alias: mikejo

Thanks, I'll take a look.


Increase timeout to newline_hw

Want to hold off on this PR and add a few other fixes? Like that showMessage() line?

yes

@jakerella Review requested.

🚢 :shipit:


[Fix] Fix get_valid_count flaky test for cuda

Turned on get_valid_count test for cuda in topi.  Used atomic operations in this fix to replace previous block sync method.
Tested on V100 and T4 GPUs.
@trevor-m @kevinthesun @yzhliu Could you review?

ping @kevinthesun @yzhliu

Thanks @Laurawly @trevor-m

@Laurawly I still get a flaky failure from get_valid_count test in my PR
https://ci.tvm.ai/blue/organizations/jenkins/tvm/detail/PR-4964/8/pipeline/246

@masahi That’s weird. You can comment off the test for now and I’ll try to reproduce it on my end.

@Laurawly Also reported at https://github.com/apache/incubator-tvm/pull/4931#issuecomment-594748097

@Laurawly Also reported at a different PR #4931 (comment)

Yeah, pls feel free to comment out the test: https://github.com/apache/incubator-tvm/blob/master/topi/tests/python/test_topi_vision.py#L106

fortunately my PR is green now without commenting out :) If the next open PR by somebody else sees the same problem, I'll ask him/her to comment it out.


CRC calculation does not match expected values in functional test

Describe the bug
Functional test reports the following results:
[ PASS] 22.009 es_misc_test.c:47 - Result = CFE_ES_CalculateCRC(Data, sizeof(Data), 0, CFE_MISSION_ES_DEFAULT_CRC)
[  MIR] 22.010 es_misc_test.c:48 - Confirm mission default CRC of "Random Stuff" is 20824
[ PASS] 22.005 es_misc_test.c:46 - Result = CFE_ES_CalculateCRC(Data, sizeof(Data), inputCrc, CFE_ES_CrcType_CRC_16)
[  MIR] 22.006 es_misc_test.c:47 - Confirm CRC16 of "Random Stuff" with input CRC of 345353 is<PHONE_NUMBER>

However, manual inspection - via a 3rd party implementation of CRC-16/ARC (the algorithm used in ES) indicates these values are not correct.  The CRC of "Random Stuff" (12-octet) string should be 0x11E3 (decimal 4579) not 0x5158 (decimal 20824).
To Reproduce
Run unit tests and inspect the test results labeled "MIR".
Expected behavior
Values should match a 3rd party implementation.
System observed on:
Debian
Additional context
The reference documentation for "official" CRC implementations usually cite a check value which is the correct computation of a CRC over the string 123456789.  For CRC-16/ARC, this check value is 0xBB3D (see here: https://reveng.sourceforge.io/crc-catalogue/16.htm).
The functional test should add a test case for this string using this check value, and furthermore it shouldn't be "MIR" -- there is only one correct/acceptable answer for a CRC-16/ARC on a known input.  Currently, CFE ES does not allow for different algorithms/polynomials - there is just one defined - so there is just one correct result.
Reporter Info
Joseph Hickey, Vantage Systems, Inc.

Worth noting that this API is designed to allow different CRC types, but no such feature was ever implemented nor asked for by any users.  Only a single implementation - which is CRC-16/ARC - was ever implemented, and nothing else is used anywhere in CFE/CFS.
Going forward - suggesting we consider a simpler declaration for ease-of-use:
uint32 CFE_ES_ComputeDefaultCRC(const void *DataPtr, size_t DataSize);
This would use the default CRC algorithm, and always start from an initial value of 0, which is the way this is used in most cases.  The CS app is the exception that computes a CRC over several cycles, and thus needs to pass in an initial value that is not 0.  To support this case as well as to preserve backward compatibility, the existing API will not change.


[ethers-v4] New factories folder causing module resolution problem.

Since this fix, I'm getting the following issue inside a generated factory:
src/generated/factories/LinkToken__factory.ts(9,38): error TS2307: Cannot find module '.'

It appears this line is trying to import TransactionOverrides from the factories folder:
import { TransactionOverrides } from ".";

This works if the "." becomes ".."

Looks like you're right -- we must've missed it since most of us use ethers v5 by now :)
Seems like an easy fix, could you prepare a PR?

Released as<EMAIL_ADDRESS>


Moving from text completions to chat completions

Bug Report
Overview
OpenAI has deprecated the endpoints for "completions", making calls to Davicinci and Ada impossible as it is.
I'd like to upgrade the package so that they call the chat endpoint.
https://openai.com/blog/gpt-4-api-general-availability#:~:text=Moving from text completions to chat completions

No.


[Bug] Adding points by /add disconnects the character from BC and DS

Describe the bug
While inside a BC or DS instance, if I add points using the /add command the character quickly reloads and the event instance is empty (no monsters anymore)
To Reproduce
Steps to reproduce the behavior:

Go to any BC or DS
Try to add points using /add command
The BC or DS is empty

Expected behavior
I know that using /add points reloads the character but not sure if it's a good idea while inside a BC or DS

Fixed with #382


🐛 Fixed migrations for SQLite database users (#19839)

SQLite has limit of 500 items in a compound select statement.
This limit could be hit when a complex select statement was being generated
as part of a batch insert statement.
Lowering the batch size will have minimal impact on migration performance
while improving SQLite compatibility.
One of these bulk inserts is confirmed to be affected through the linked issue.
I did confirm if the other two cases would trigger it, but the change won't hurt there
either.
Ref: https://www.sqlite.org/limits.html
Issue: #19839

Just thought I'd add that I ran into this problem when updating a local instance from 5.53.3 to 5.96.0, with about 600 posts. Changing the value in .../5.55/2023-07-10-05-16-55-add-built-in-collection-posts.js from 1000 to 450 didn't work, but when I changed it to 100, as @DigitalLeave suggested, it then worked. Supposing I'm correctly following what I did.

The default for chunkSize for batchInsert is 1000 - but this PR only updates values where they've been set explicitly.
It seems like 450 isn't low enough to fix the problem either!
I'm going to close this PR as it doesn't seem particularly active - if someone wants to fix it, then please check out the original issue where I'll leave some more information.

@markstos I wasn't sure if you have permissions to reopen this - so I've done it for you!

Commit pushed to lower batch size to 100.


[rv_plic] About the rv_plic access integrity check

I just tried to use the rv_plic for my separate system, and found there's some problem accessing the rv_plic.
The main problem I have is the tilelink integrity checker problem because the rv_plic seems having the tilelink protocol checker inside.
In my system, I really have no reason to make checkers work on every tilelink transaction, so could I know any way to disable the checker function inside the rv_plic?

I gonna close this issue because I made clear by myself with my custom sustem.


SPARQL Searches for long text strings are very slow

https://graphdb.ontotext.com/documentation/10.0/explain-plan.html may help

oooh my dev machine just got "Query evaluation error: Insufficient free Heap Memory 234Mb for group by and distinct, threshold:250Mb, reached 0Mb (HTTP status 500)\n'"

"Arctic Bay Coralline Algae d18O Data from 1967-2008 CE" is pretty slow for example


Think of nicer syntax for join and union DataFrame operations

Problem

Right now, select and group_by might be useful, but join and union don't really do much (i.e. it's just a wrapper to the base API). So feels weird if it doesn't also provide some ergonomic string syntax
Requested feature

For join: maybe can do something like:
join([first, second], "A <- B") # inner left-join, either use symbols `A...Z` in-order, or by variable name
join([first, second], "A <+ B") # outer left-join
join([first, second], "A <> B") # inner join (is this ambiguous?)
... # etc.

For union: maybe can make it easier to append rows formatted in different ways (e.g. as labeled dict, as tuples, with default values in some sparse way, etc.)
Alternatives considered

Additional context

Another idea (grouping here, though might be worth splitting out to another issue): why not just have everything be encapsulated in the select DSL? E.g. "(a, b).count()" -- to capture the idea of groupby, and then a set of supported operations. So basically get more creative with the DSL string

Some other ideas:

All columns except syntax (e.g. X = select(large_df, " * - omittedCol "))
Plotting library (e.g. plot_var = plot(some_df, cols=("x_colname", "y_colname")) # and some nice ways to handle color, subplots, etc...


Pull request fix issue #73

This pull request fixes this issue , which I found by way of this issue
I can re-build and create another pull request for the sympathetic synth once this one has gone through.
Please let me know if you think there is a better way to fix this of course, and thanks for all your hard work! :)
James

Amazing! Thanks a lot. Any chance you could change the double quotes to single ones. Just so it's consistent. Thanks!

Yes I can do that

I actually changed it to used the existing isObject function - what I should have done, had I seen it in the first place.

@jamespfarrell Nice one, thanks a lot! 🎹


XML linter does not recognize parameters of an event handler correctly

Describe the bug
The xml linter complains if parameters of an event handler are the result of another function call. See screenshot.
This is allowed syntax for event handlers, see https://sapui5.hana.ondemand.com/#/topic/b0fb4de7364f4bcbb053a99aa645affe.
To Reproduce
Any event handler having a function call as parameter shows this behavior. Culprit seems to be the opening bracket which seems to throw the parser off.
Screenshots

Desktop (please complete the following information):

OS: Ubuntu

Hi!
Thanks for another bug report :)
Fixed via v0.15.5 of VSCode extension, please check if it works for you now.

Hi!
thanks for the quick fix! Works now, if the arguments are on the same line.
Because of the long argument list I put the parameters on separate lines (no problem for UI5) and the linter complains again.
See:

Hi, please check VSCode extension v0.15.6

Hi,
thanks, works like a charm.


Extra Validation Required For Humanitarian Type and Humanitarian Scope Vocab

Extra validation is required between the Humanitarian Type and Humanitarian Scope Vocabulary fields. If a user selects a humanitarian type of 1  then they should only be able to select from the values on the Humanitarian Scope Vocabulary where the code starts with '1-' or is '99'. Similarly if a humanitarian type of 2 is selected then the user should only be able to select a vocabulary which starts with '2-' or is 99

Thank you @wendyrogers. This issue has been solved.


feat: expose function for listening to policy violations on a specific GPU group

== Motivation ==
Enable finer grained GPU policy violation tracking
== Details ==
The current go-dcgm library exposes a way to listen to policy violations across all GPUs. While this is useful, it does not currently help with identifying exactly which GPUs are experiencing issues. Ideally, the policy violation would contain identifying GPU information, but it seems today it does not (struct definitions). So instead, it would be useful if users could listen to policy violations on groups created for specific GPUs. This would allow users to then know when specific GPUs were experiencing issues.
This change exposes a new function, ListenForPolicyViolationsForGroup, which takes a GroupHandle passed by the user and listens to policy violations for that group. It also modifies ListenForPolicyViolations to use this new function, but with specifying the group for all GPUs — so no net change in behavior.

@sanjams2 , Thank you for the PR. Please sign your PR: https://github.com/NVIDIA/go-dcgm/blob/main/CONTRIBUTING.md.


Update backup-azure-vms-troubleshoot.md

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

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

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

#sign-off

@v-bllyd: I'm sorry - only the author of this article, @dcurwin, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.

Hi @v-bllyd - This pull request was opened in the public repo, perhaps inadvertently. Would you submit the content update in the private repo? We'll close this PR.
Note that in both the public and private repos for azure-docs, publishing is suspended until Tuesday, September 22. Merging will resume at 7 AM Pacific Tuesday.


Agent protocol support

Adds support for using HAProxy 1.7.x (or 1.6.x with a patch I wrote) with the agent protocol and agent-send.

Adds -A argument which binds a new simple server on a different port. Use the agent-send parameter in your haproxy backends to send requests to this server.
Adds S argument to disable returning spool (haup / hadown) results on regular healthchecks -- those are only returned on the agent server if you pass -S. That way, deploys and such will put servers in MAINT through the agent, not in DOWN through the regular check

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Code running error

After running the code according to the process, it prompts that calling the "funTPT" function shi'h does not assign a value to the output parameter "X".

The most common cause for this is if it doesn't find the image files -- if you want to test it out on our example images please find them here (you may have to create a free account to sign in to Globus before downloading).
You will specify the directory and filenames for your data on line 115 of exampleRunFile, which follows the normal Matlab rules for file paths.

I could't download the example image file with "/FranckLab/T-PT_example/ was not found. Please check the path and try again." Could you figure out this issue?

I was able download the example file from Globus - they should be accessible. Make sure once you've download the example images (I_0 and I_1) you have moved them into the directory examples folder where you're running the code. If this still doesn't work, could you post a screenshot of the workspace or elaborate more on the steps you've taken to get to this point. Thanks.

It doesn't work.

I also could't download the example image file with "/FranckLab/T-PT_example/ was not found. It shows connection Faild

@blue1125 @kimresearcher Please refer to the separate "issue" for the example file download problem: https://github.com/FranckLab/T-PT/issues/3


Microsoft.ServiceBus namespaces/queues apiVersion problem

As per https://docs.microsoft.com/en-us/azure/templates/microsoft.servicebus/namespaces/queues?tabs=bicep&source=docs
I should be able to use @2021-11-01 in my bicep template
param queueName string
param servicebusNamespace string

resource queue 'Microsoft.ServiceBus/namespaces/queues@2021-06-01-preview' = {
  name: '${servicebusNamespace}/${queueName}'
}

However this results in the following error:
    {
    "status": "Failed",
    "error": {
        "code": "NoRegisteredProviderFound",
        "message": "No registered resource provider found for location 'westeurope' and API version '2021-11-01' for type 'namespaces/queues'. The supported api-versions are '2014-09-01, 2015-08-01, 2017-04-01, 2018-01-01-preview, 2021-01-01-preview, 2021-06-01-preview'. The supported locations are ''."
    }

Using the second latest @2021-06-01-preview does work.
Seems the docs give the wrong latest version.

@Dorus Thanks for the feedback! We are currently investigating and will update you shortly.

Hello @Dorus - This seems to be a temporary issue where, as the newer version is rolling out around the world across different Azure data centers, the particular version is yet to be available at the location/region you've selected. Could you try a different location instead?
@tfitzmac could you confirm the above?

I don't know the details of that resource provider but it is possible that it is rolling out. The API version has been added to the specifications.

Hello @Dorus It may also be that the resource provider is not supported at the westeurope location. Our guidance on the matter is to use the version values supported at the selected region, please review: https://docs.microsoft.com/en-us/azure/azure-resource-manager/troubleshooting/error-register-resource-provider?tabs=azure-cli#symptom
Since we didn't determine any doc changes upon reviewing this feedback, we'll now proceed to close this issue. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


Updated latest dependencies

Codecov Report

Merging #65 (7b75e71) into main (da140dc) will decrease coverage by 69.6%.
The diff coverage is n/a.

:exclamation: Current head 7b75e71 differs from pull request most recent head ced6b89. Consider uploading reports for the commit ced6b89 to get more accurate results

@@           Coverage Diff            @@
##            main     #65      +/-   ##
========================================
- Coverage   99.5%   29.9%   -69.5%
========================================
  Files         88      88
  Lines       2246    2246
========================================
- Hits        2234     671    -1563
- Misses        12    1575    +1563

Impacted Files
Coverage Δ

facilyst/models/utils.py
0.0% <0.0%> (-100.0%)
:arrow_down:

facilyst/tests/test_version.py
0.0% <0.0%> (-100.0%)
:arrow_down:

facilyst/models/optimizers/hyperopt.py
0.0% <0.0%> (-100.0%)
:arrow_down:

facilyst/tests/mock_tests/test_wave.py
0.0% <0.0%> (-100.0%)
:arrow_down:

facilyst/tests/mock_tests/test_dates.py
0.0% <0.0%> (-100.0%)
:arrow_down:

facilyst/tests/mock_tests/test_features.py
0.0% <0.0%> (-100.0%)
:arrow_down:

facilyst/tests/models_tests/test_bert_qa.py
0.0% <0.0%> (-100.0%)
:arrow_down:

facilyst/tests/mock_tests/test_mock_utils.py
0.0% <0.0%> (-100.0%)
:arrow_down:

facilyst/tests/models_tests/test_hyperopt.py
0.0% <0.0%> (-100.0%)
:arrow_down:

facilyst/tests/utils_tests/test_cli_utils.py
0.0% <0.0%> (-100.0%)
:arrow_down:

... and 56 more

Continue to review full report at Codecov.

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


removing gdal as a dependency for large-image-converter

Hey folks! I've noticed that gdal is a dependency of large-image-converter. Does this need to be the case? gdal can be frustrating to install, especially for novice python users. As some tile sources don't need gdal (e.g., the tiff tile source), it would seem better to just have gdal be a dependency of certain tile sources rather than also large-image-converter.
For example, the scenario in which large-image-converter is used alongside a tiff tile source wouldn't need gdal but currently requires it as a dependency. Conversely, if a user were using large-image-converter with a tile source that did need gdal, gdal would already be a dependency for that tile source and so wouldn't need to be a dependency of large-image-converter. Thoughts?
Best, Robert

On linux, we have wheels to make it easy to install GDAL, but we should definitely make it an extras_require.

So happy to see this change — thanks @manthey!


Why need noisy train data?

Hello, i am confused by the code in line 241 of style_transfer.py:
get_batches(train0, train1, vocab.word2id,
                args.batch_size, noisy=True)

i have seen the noise function, it's mainly used to randomize the sentence words, that means we may probably get a random ranked sentence for encoder inputs. For example, the sentence is "you are smart and cute", after noise, we may get "smart are you and cute"... so, the reason is ....
thanks so much:)

The noise model is from paper https://arxiv.org/pdf/1711.00043.pdf, and many other papers also found that adding noise to the input of an auto-encoder helps text generation.
Your concern is definitely valid. Adding noise may change/destroy a sentence. But one benefit is that the model is pushed to learn more useful structure of language instead of just copy the input. Another way to think of it is that the decoder is more robust in generating fluent sentences from noisy representations. Because we're aiming at style transfer, not reconstruction, the content representations are from the other style and we want to generate good sentences from that, so we train the decoder to be tolerant of noise.

got that, many thanks..
i am trying to transfer different styles of sentences from different writers.
i found that quite different from the sentiment, their differences mainly on function words and the structure of sentence.
also, i found it difficult to generate normal sentences, many of them seemed weird and didn't  make sense at all...
btw, i have seen your task on Chinese Poems style transfer on youtube, that seems interesting.

@hscspring   I want to know how about your experiment about different writers. Does it work?  Do you say the sentence making sense?

@tobyyouup not at all... i'm trying to improve the model, but i don't know whether it works or not, there are too many issues.

Same question. Thank you.