Special character in URI

Maybe we should avoid using special character in URI.

http://data.doremus.org/ontology#M31_Actor's_Function
http://data.doremus.org/ontology#M32_Actor's_Responsibility

https://github.com/DOREMUS-ANR/doremus-ontology/blob/master/Doremus-v0.1.owl#L2083

+1 I also noticed this yesterday night, basically, you should normalize all fragment id. No apostrophe, no ampersand, replace the white space by an underscore, etc. Remember that the fragment id is NOT the label of the class / property.

How can replace it?

M31_Actors_Function
M31_Actor_s_Function
other way?

M31_Actor_Function ?
I was wondering whether we might not as well change the label :+1:
M31 Actor Function
M32 Actor Responsibility
Are there other special characters in the class or property names?

@pierrechoffe Are you talking about the label or about the fragment identifier of the class / property ? You seem to give the same value for both, but again, those are two very different things. Look at geonames identifiers. Fragment identifiers are opaque, labels are human readable.
M31 represent the class of all possible functions of an actor, right? What is actually interesting is the property U31_had_function_of_type. I would probably propose to delete this class, I don't see its added value. For me, the value of the property U31 is a skos:Concept that comes from the function concept scheme. Correct?
Actually, I was about to make a similar suggestion, and to delete numerous classes such as M4_Key, M5_Genre, etc. You seem to systematically duplicate the semantics that one can find in the concept scheme already.

I would probably propose to delete this class

@rtroncy yes, this is sth I was starting to think about...
we would say:
F22 u12_has_genre: "sonate" ; (or URI)

So, I will make a list of classes that could be deleted

No, this is not a string OR a URI. If you do so, this means your property is both a datatype property AND an object property, which means you're making an OWL Full ontology, which is to be avoided.
It depends how you want to formally define the class F22, and for example, if you want to express that F22 is a subclass of an anonymous class that restricts the usage of the property u12 to values that MUST belong to a particular concept scheme. This might be handy just for this purpose to name this class (that generates the restriction). The good modeling pattern to follow here is geonames, that exactly does this.
Before you do or undo anything, let's discuss what precise formalization you aim to apply.

In this case and in most cases I can think of, we will have both possibilities : datatype and object, because we never know the kind of resources the institutions will have.
What should we do ?

Either I don't understand what you mean or you don't understand what we do in the converter. The whole point of the converter is to automatically and systematically convert "strings" found in MARC to skos concepts for a number of well-defined properties (all the ones which have for value a controlled vocabulary). So I really don't see how you can have both. If you provide a real example, this may explain better what you mean ...

not both: either one or the other.
e.g. (1) BnF using a URI for genre "sonata" (in their AIBM controlled
vocabulary)
and (2) Bibliothèque de Garges-les Gonesses using a string.
We don't know how our users' data is configured and we want to be flexible.
OK, they really should use the controlled vocabulary, but we can also
assume that in some cases a very special genre will not be in the cv, so
this would be another case of using a string rather than URI for the same
class "genre".
2016-06-17 18:31 GMT+02:00 Raphael Troncy<EMAIL_ADDRESS>
Either I don't understand what you mean or you don't understand what we do
in the converter. The whole point of the converter is to automatically and
systematically convert "strings" found in MARC to skos concepts for a
number of well-defined properties (all the ones which have for value a
controlled vocabulary). So I really don't see how you can have both. If you
provide a real example, this may explain better what you mean ...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/DOREMUS-ANR/doremus-ontology/issues/4#issuecomment-226817024,
or mute the thread
https://github.com/notifications/unsubscribe/ADblcHifynYtNYl26Wt8G8CI8HHOHbfmks5qMsvrgaJpZM4I4IFI
.

So you're really confused :-) We don't modify any original data. When converting data, we make interpretations and choices, that are imposed by the DOREMUS model. In our case, we consider that a genre is a skos:Concept and not a literal. So we don't have ambiguity anymore. How to always get a  skos:Concept from the input data is an implementation detail. In our case, this is resolved by the so-called String2URI module. For resolving the problem of never ever complete list of xxx (e.g. genre), the easiest trick is to always have a placeholder misc value.

Things were (relatively) clear for me but this conversation made me confuse... This reminds me of André Gide's quote : "when a philosopher answers me, I don't understand my question anymore" :))
Maybe some examples would help or some "what pb are we trying to solve" kind of approach.
Anyway, I said I would make a list of classes that could be deleted (I will not not delete them myself) and we can talk further.

The decision about deleting these classes seems to take time.
In preparation for the turtle conversion #6 , I propose to have M31_Actor_Function and M32_Actor_Responsibility. We can delete them at a later time.


Suggestion: Preserve line numbers

Currently, this TypeScript code

class PreserveLineNumbers {

    myMethod()  {

    }

}

is transpiled to this JavaScript code
var PreserveLineNumbers = (function () {
    function PreserveLineNumbers() {
    }
    PreserveLineNumbers.prototype.myMethod = function () {
    };
    return PreserveLineNumbers;
})();

However, you could reformat the code, so that the main code pieces keep the same lines, to something like this:

var PreserveLineNumbers = (function () { function PreserveLineNumbers() {}

    PreserveLineNumbers.prototype.myMethod = function () {

    };

return PreserveLineNumbers; })();

P.S. I know about the source maps.

@CyrusNajmabadi can probably chime in with the specifics around how and why we do this

The reason we do things in the current manner is that preservation of source code formatting was not a goal with the new compiler rewrite.  So, the emitter acts as more of a pretty-printer than a true tree rewrite (i.e. one preserving as much of the original tree as possible).
We do attempt, in very specialized situations, to have our pretty-printing be informed by the original code.  For example, we'll try to preserve certain single line constructs.  Or we try to keep some newlines in complex expressions to help make the outputted code more readable.
Right now though, we don't do much additional work with keeping newline information around.
If you're interested in improving things here, feel free to contribute a PR.  Thanks!

Though we can do this for simple transformations, with an added complexity bear in mind; we can not do that for all transformations. consider something like async/await. SourceMaps has been the standard for JS community to deal with these transformations. The TypeScript compiler supports soruce map generation with --soruceMap flag; the generated maps are supported by all major browsers and IDEs.

Sadly we can not have this feature. I implemented a log util to log the message together with the file name and line number. It's work great with babel since babel supports preserve line number. But not typescript.

+1, there are many cases of develper tools that do not support courcemaps (for instance often hosted online logs of Functions As A Service providers)


Licensing tag in composer.json

Hi,
I have noticed that you, when you updated the extension to ADLdap 2 v6 (commit 62b56c89b82b0e41967483c9f1e3b765015b585a), you have also changed the license to GPLv3+ (in composer.json).
Could you please clarify if that is intended or, on the contrary, if you meant to change the license to LGPLv3+ (the same type used by the previous version) but typed just GPL (instead of LGPL) by mistake?

Hi,
thanks for your question! It was no mistake that i changed from LGPL to GPL.
I think you are using the library in a closed source application and don't want to publish your code?
I'am thinking about chaning back to LGPL....
I know it's no easy for a company to observe the GPL restrictions.
Would this be a solution for you?
Greets

Hi,
you are correct, I used a previous version of the library in a closed source application at the company I work for (it might be open sourced in the future, but there are no definite plans to do so at this time).
A license change of the module to LGPL would be welcomed.

Hi,
I will change the license in the next week.
I've to read a litte bit about the licence subject.
In my opinion also a BSD license maybe suitable, but I don't know the the pro/cons about BSD licenses and LGPL.
The next version would be usable for closed source applications.

Regarding the pros and cons of the BSD/MIT-style licenses vs. the LGPL, you might find this page helpful.
In short, the LGPL:

requires any modifications made to your library to be documented and licensed under the same license (or the GPL);
requires the source code of you library to be distributed alongside with the application which is using it (the application itself does not need to be licensed under the GPL or otherwise open sourced).

A BSD/MIT-style license, on the contrary, just requires the license text to be distributed with the source code (or the binaries, in the case of compiled software).


Use .init to create test databases

Uses the features added in #55

If you want to push the init refactoring in the tests back on me, its cool. I should have probably done it but I wimped out on refactoring it because I didn't want to break things that were working.


Control ring to open

Control the interval of ring to open

Channing Settings for RTO is not supported by the Nuki Bridge API, thus it won't be implemented.


gradle failed with error Script 'node_modules\react-native\react.gradle' line: 366 Cannot run Project.afterEvaluate(Closure) when the project is already evaluated.

React native android app building bundle on appcenter with gradle failed with below error
Tried to upgrade gradle version but no help.
Android react native build with gradle failed with error Script 'node_modules\react-native\react.gradle' line: 366
Cannot run Project.afterEvaluate(Closure) when the project is already evaluated.
Gradle build failed with
Script 'node_modules\react-native\react.gradle' line: 366
Cannot run Project.afterEvaluate(Closure) when the project is already evaluated.
Build should run with app bundle
Gradle build scan link - https://gradle.com/s/b5gpbr4utg626
build.gradle file config
buildscript {
ext {
buildToolsVersion = '34.0.0'
minSdkVersion = 24
compileSdkVersion = 34
targetSdkVersion = 34
androidXCore = "1.0.2"
kotlin_version = "1.8.10"
}
repositories {
google()
mavenCentral()
//mavenCentral{
//  content {
//    excludeGroup("com.facebook.react")
//}
//}
}
dependencies {
classpath('com.android.tools.build:gradle:7.3.0')
classpath("com.google.gms:google-services:4.4.0")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version")
//implementation("org.jetbrains.kotlin.js:org.jetbrains.kotlin.js.gradle.plugin:$kotlin_version")
//implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version")
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
mavenLocal()
maven {
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
url("$rootDir/../node_modules/react-native/android")
}
maven {
// Android JSC is installed from npm
url("$rootDir/../node_modules/jsc-android/dist")
}
    google()
    jcenter()
    maven { url 'https://www.jitpack.io' }
    maven { url 'https://dl.bintray.com/microsoftazuremobile/SDK' }
}

}
gradle-wrapper.properties
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https://services.gradle.org/distributions/gradle-7.6-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
settings.gradle
apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings)
include ':app', ':react-native-code-push'
project(':react-native-code-push').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-code-push/android/app')

Your issue appears to be a question about how to use Gradle. They should be asked in a different channel, so we will close it. Your question might be answered in Gradle documentation or on our community Slack or forums. Find links to these resources on help.gradle.org.
If you think our analysis is wrong, please provide us with more detailed information explaining why.


Zarr Review

I'm going through the Zarr pages to review, this ticket documents the findings in order to make a list of fixes to generate.

Readability (right technical level)
Language Agnostic
Missing infomation
General Editing

See also Glossary proposal

https://guide.cloudnativegeo.org/zarr/intro.html wondering what we need to explain more:

Zarr arrays are similar to numpy arrays

Assumes people know what numpy is, should we also mention R matrix/array - or give  generic explanation

compatibility with object storage

Do we need a glossary? I feel like this is a key point of Cloud Native but doesn't make sense if you don't know what object storage is (edited)

Zarr array’s shape is the tuple of the length of the array

If the length is a single number why does it matter if it's a tuple, or did we mean a tuple where each dimension size is listed ?


With SHARED=false, ekuiper subscribes twice to the same topic, which causes race conditions and errors

Environment:

eKuiper version (e.g. 1.3.0): 1.4.2
Hardware configuration (e.g. lscpu): amd64
OS (e.g. cat /etc/os-release): Ubuntu 20.04 LTS
Others: ekuiper run with edgexfoundry snap version 2.1

What happened and what you expected to happen:
With SHARED=false, multiple rules use the same stream separately. In this situation, the log shows that kuiper subscribes twice to the same topic. This causes race conditions, e.g. incomplete JSON payload, slice bounds out of range. The logs show some Atoi errors, sink not found errors, and Redis errors. I am not sure to which redis version the errors relate (edgex.redis, kuiper.redis…). Please see the full logs below.
With SHARED=true, all rules run stable as expected.
How to reproduce it (as minimally and precisely as possible):

Build edgexfoundry snap with ekuiper 1.4.2

https://github.com/MonicaisHer/edgex-go.git
cd edgex-go
git checkout EDGEX-172-update-kuiper-to-1-4-x
snapcraft
# this step takes about 15 minutes

Install built and turn on ekuiper service:

snap install edgexfoundry_2.0.1-dev.71_amd64.snap --dangerous
snap set edgexfoundry device-virtual=on
snap set edgexfoundry kuiper=on

Running logs in the background

journalctl -f | grep kuiper

Create a stream (with SHARED=false) and multiple rules using this same stream

edgexfoundry.kuiper-cli create stream stream1 '()WITH(FORMAT="JSON",TYPE="edgex",SHARED="false")'

#rule 1
edgexfoundry.kuiper-cli create rule rule_log '
{
   "sql":"SELECT * from stream1",
   "actions":[
      {
         "log":{

         }
      }
   ]
}'

# rule 2
edgexfoundry.kuiper-cli create rule rule_mqtt '
{
   "sql":"SELECT * from stream1",
   "actions":[
      {
         "mqtt":{
            "clientId": "stream1",
            "protocolVersion": "3.1",
            "server": "tcp://localhost:1883",
            "topic": "sink-result"
         }
      }
   ]
}'

#rules 3
edgexfoundry.kuiper-cli create rule rule_edgex_message_bus '
{
   "sql":"SELECT * from stream1",
   "actions": [
      {
         "edgex": {
            "connectionSelector": "edgex.redisMsgBus",
            "topicPrefix": "edgex/events/device",
            "messageType": "request",
            "deviceName": "device-test"
         }
      }
   ]
}'

Check rules's status

edgexfoundry.kuiper-cli show rules

Connecting to <IP_ADDRESS>:20498...
[
  {
    "id": "rule_edgex_message_bus",
    "status": "Running"
  },
  {
    "id": "rule_log",
    "status": "Running"
  },
  {
    "id": "rule_mqtt",
    "status": "Running"
  }
]

Wait a few minutes and check the rules' status again

edgexfoundry.kuiper-cli show rules

Connecting to <IP_ADDRESS>:20498...
[
  {
    "id": "rule_edgex_message_bus",
    "status": "Stopped: read tcp <IP_ADDRESS>:53310-\u003e<IP_ADDRESS>:6379: use of closed network connection."
  },
  {
    "id": "rule_log",
    "status": "Stopped: redis: can't parse \"application/json\\\"}\"."
  },
  {
    "id": "rule_mqtt",
    "status": "Running"
  }
]

Logs

edgexfoundry.kuiper[23942]: time="2022-01-31 17:41:37" level=error msg="closing rule rule_log for error: redis: can't parse \"application/json\\\"}\"" file="server/ruleManager.go:114"
edgexfoundry.kuiper[23942]: redis: 2022/01/31 17:41:47 pubsub.go:160: redis: discarding bad PubSub connection: redis: can't parse "ion/json\"}"
[...]

Anything else we need to know?:

It fails the checkbox test

Full logs from the above steps:
full-logs-from-reproduce.txt

Additional debugging logs:
previous-logs-from-tests.txt

It seems the edgeX client is not safe to call from multiple go routines.

resolved in 1.4.3 release


qt5-webengine: drop libXslt, libxml2 deps

You'll have to trust me that this builds fine :v

qt5 needs libXslt aswell

You got me


[iOS]: Game Center plugin allows to change orientation of a landscape-only-app to portrait

A landscape-only-app can be turned to portrait orientation while the Game Center View is visible. If you close the GC-view in portrait the underlaying app is cropped.
Steps to reproduce the behavior:

Open GC in landscape-only app
Turn device to portrait
Close GC-view

Device: iPhone SE 2nd generation
OS: iOS 14.4.2

Doesn't happen the other way around, portrait-only-app is locked to portrait while in GC.

Also happens in iOS 15.

Closing issue, fixed with both plugins with 3655+


Add additional Closure Library options.

Add the following additional closure library options:

shouldGenerateJsdoc
shouldProvideRequireSoyNamespaces
shouldProvideRequireJsFunctions

Updated README.md to reflect these options and increase version number to 1.0.2.

Would be great if this could be reviewed and  published on npm so that I could stop using my fork version.

soon! I'm hoping to spend some time on this project next week, pull in outstanding prs, and pull a new closure-templates version

I cleaned up some of the styling, merged as https://github.com/Medium/soynode/commit/6504b5c0470c368c4dabbb7a9be782c3bcca96bc, and published as 1.1.

thanks!


Fails to read .rev file with sass sub folders

Gulp task:
gulp.task('styles', function() {
  return gulp
    .src('./src/**/*.scss')
    .pipe(sass())
    .pipe(revise())
    .pipe(revise.write('dist'))
    .pipe(gulp.dest('dist'));
});

Folder structure:
dist/
  pages/
    home_123.css
    home.css.rev
  styles.css
  styles.css.rev
src/
  pages/
    home.scss
  styles.scss

Sass creates a corresponding .css file for each .scss file that lacks a _ prefix. So it may create some subfolders. The issue is that revise.write('dist') consider dist to be the output directory (while it's actually dist/pages for home.css).
It means that revise.write fails to read the .rev file and thus cannot delete the old revision.

Fixed as of v1.1.0

v1.1.0 actually introduced a regression and did not fix this issue. Reopening as it needs more work.

This issue is now fixed and thoroughly tested as of v1.1.1.


Fix bugs

Summary:
The Application Menu was bugging out and 'Current Project' menu item was not showing upon selecting project, and only showed after refreshing the app.
After some tinkering around I figured out that componentWillReceiveProps() was causing it to be null on first try, and refreshing was the only way to trigger it to show. So I solved it by switching to componentDidUpdate() instead, per the docs (seems like they're recommending to not use it anymore) and it seems to be working much better.
We might want to think about switching other instances of componentWillReceiveProps() as well?
Also implemented the onboarding status check per our Gitter discussion. So now the sidebar instructions only show if onboardingStatus is 'introducing-sidebar'. And if 'done' then we just select the project and don't show the instructions again.

We might want to think about switching other instances of componentWillReceiveProps() as well?

Yeah, we'll eventually need to do this. We should probably make sure new code doesn't include any of the deprecated lifecycle methods.
In general we'd want to migrate to getDerivedStateFromProps, and not componentDidUpdate, since componentDidUpdate causes a double-render (since it happens after the first update, if you change the state it does a whole new cycle). This isn't always super easy, since getDerivedStateFromProps gives you less information than componentWillReceiveProps, but yeah we should start moving in that direction.

Pushed some updates addressing the feedback!

In general we'd want to migrate to getDerivedStateFromProps, and not componentDidUpdate

Does that mean I should be using getDerivedStateFromProps here for the Application Menu, or did you mean use it for the other instances?

Does that mean I should be using getDerivedStateFromProps here for the Application Menu, or did you mean use it for the other instances?

In this case I don't think it matters :) the issue is when you have a setState call inside componentDidUpdate, since that means React is doing two render cycles (since didUpdate is called at the end of one, and then setState kicks off a new one). Because we're calling an Electron API here, it doesn't affect React rendering


Added substituted status AB#28818

Describe your changes
Brief description of your changes - not in-depth because the bulk of the description should be in the task on DevOps.
Checklist before requesting a review

[ ] I have performed a self-review of my code
[ ] I have added tests wherever relevant
[ ] I have made sure that all automated checks pass before requesting a review
[ ] I do not need any deviation from our PR guidelines

@RubenGeo I overlooked you already did this, and this morning picked up the Task for it and updated the CSV fill entirely, with Peter. This PR can be closed. We also copied the new 121 card status "Substituted" into the newly created PR for the Task.


Importer issues when exporting global variables to UE 4.25 Project

Hi,
we're getting the following error when trying to compile the code changes upon exporting the articy project to Unreal.
Fehler	C1083	Datei (Include) kann nicht ge�ffnet werden: "Customizations/ArticyEditorCustomizationManager.h": No such file or directory	Megacity	I:\MegacityProject\Plugins\ArticyImporter\Source\ArticyEditor\Public\ArticyEditorModule.h	10
Fehler	C2039	"Add" ist kein Member von "TWeakObjectPtr<UMegacityInstructionsVariables,FWeakObjectPtr>".	Megacity	I:\MegacityProject\Source\Megacity\ArticyGenerated\MegacityExpressoScripts.h	63
Fehler	C2039	"Add" ist kein Member von "TWeakObjectPtr<UMegacityInstructionsVariables,FWeakObjectPtr>".	Megacity	I:\MegacityProject\Source\Megacity\ArticyGenerated\MegacityExpressoScripts.h	63

This is part of the code it is referring to:
Any help would be greatly appreciated.

Hello Macobrolik,
this would be more appropriate to send to our support at<EMAIL_ADDRESS>(just for future reference).
One issue that immediately stands out is that you called one of your global variable sets "Instructions". The class you are showing in that screenshot inherits from UArticyExpressoScripts, which already has an "Instructions" member, which is a map. Therefore the code is trying to call the Add function on the map, but gets confused because of the dynamically generated member which is also called Instructions.
We will probably include this name on our blacklist for GV namespace names inside articy in the future.
The other issue is that the ArticyEditorCustomizationManager.h apparently can not be found for some reason. Can you confirm it's under ArticyImporter/Source/ArticyEditor/Public/Customizations/ArticyEditorCustomizationManager? If it is, this might also be a false alarm caused by the previous compile issues, so please fix this on your end and try again. If the issue persists, let me know.

Hello,
thanks a lot for the quick reply! I'll keep that in mind for the future.
The issues you mentioned seemed to be it. We managed to fix it by renaming that namespace and adding some of the missing files back in (they didn't get captured by perforce for some weird reason).
Thanks again and have a great day.
Best


Vagrant project dir nailed to ~/vagrant

Even switching project in spacemacs doesn't change project dir from ~/vagrant. Deleting "vagrant-project-directory" from https://github.com/ottbot/vagrant.el/commit/89886eb46739b29a1eb5b8f66dc5096725e8b58b#diff-9b1f699abafec3f1525b5b6c58085d68L104 works like a charm, but I suppose it's there for a reason.

I'm experiencing the same issue and used the same fix to get it working with my own projects.
@ottbot Looking forward to your feedback about this issue. :smiley:


Migrate monitoring to Slinky repo

This will need massaged a bit once @ericjohncarlson gets his dashboard in.
High level things to look at:

paths
oracle.json downloading (should I just reference the oracle.json under config/dydx/oracle.json?

@nivasan1 addressed your comments, thanks for that.
how would you like me to handle deployment instructions? right now the readme is under monitoring/readme.md, but does it make more sense to have a top level deploy.md?

closing as stale, will revisit if/when we allot dev cycles for monitoring.


the unary ! operator causes the compiler to crash

I would try to figure out why but its half till 1 am and I'm tired.
Error:
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/home/lily/.local/lib/python3.11/site-packages/mlogevo/__main__.py", line 119, in <module>
    main()
  File "/home/lily/.local/lib/python3.11/site-packages/mlogevo/__main__.py", line 110, in main
    result = backend.compile(frontend_result, dump_blocks=args.print_basic_blocks)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/lily/.local/lib/python3.11/site-packages/mlogevo/backend/backend.py", line 57, in compile
    read_variable_types(function.instructions, variable_types)
  File "/home/lily/.local/lib/python3.11/site-packages/mlogevo/backend/backend.py", line 31, in read_variable_types
    if ir.dest == "" or ir.instruction.startswith("__"):
                        ^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TypeDecl' object has no attribute 'startswith'

Example code:
void main () {
	int a = !0;
}

enjoy debugging.

https://github.com/UMRnInside/MlogEvo/blob/f5c5cb485c6f179537c3348c89a5a064f88f2af3/mlogevo/frontend/compiler_sketch.py#LL374C42-L374C42
Sorry, I made a typo there. My fault :(

https://github.com/UMRnInside/MlogEvo/commit/df3390b4e43b4bef8acd1d8b3d67b5106043bab2
Done. Try upgrading MlogEvo with pip install -U git+https://github.com/UMRnInside/mlogevo

No worries, happens to everyone!

Can confirm, works. Can be closed.


[Bug] Using ZDNS with --all-nameservers --iterative produces empty output

Running echo example.com. | ./zdns A --all-nameservers --iterative produces this output:
{"altered_name":"example.com","name":"example.com.","results":{"A":{"data":{"results":[]},"duration":0.005172124,"status":"NOERROR","timestamp":"2024-12-03T14:33:32Z"}}}
00h:00m:00s; Scan Complete; 1 names scanned; 185.79 names/sec; 100.0% success rate; NOERROR: 1

Expected Output:
Either the full iterative lookup trace (with all-nameservers) or an error stating error stating that using both  (--all-nameservers and --iterative at the same time)  is not supported.
Potential Cause:
BasicLookupModule.Lookup does not support both flags in parallel
func (lm *BasicLookupModule) Lookup(resolver *zdns.Resolver, lookupName string, nameServer *zdns.NameServer) (interface{}, zdns.Trace, zdns.Status, error) {
	if lm.LookupAllNameServers {
		return resolver.LookupAllNameservers(&zdns.Question{Name: lookupName, Type: lm.DNSType, Class: lm.DNSClass}, nameServer)
	}
	if lm.IsIterative {
		return resolver.IterativeLookup(&zdns.Question{Name: lookupName, Type: lm.DNSType, Class: lm.DNSClass})
	}
	return resolver.ExternalLookup(&zdns.Question{Type: lm.DNSType, Class: lm.DNSClass, Name: lookupName}, nameServer)
}

The reason why the output with the --iterative flag is empty, seems to be that randomExternalNameServer already returns a root-server IP if --iterative is set.

With #485, this is now resolved!
$ echo example.com. | ./zdns A --all-nameservers --iterative
00h:00m:01s; 0 names scanned; 0.00 names/sec; NaN% success rate;
{"altered_name":"example.com","name":"example.com.","results":{"A":{"data":{"per_layer_responses":{".":[{"nameserver":"j.root-servers.net","result":{"additionals":[{"answer":"<IP_ADDRESS>","class":"IN","name":"a.gtld-servers.net","ttl":172800,"type":"A"},


UI is not updating even if visible in the screen

I have a list of  component which fires an API call when is visible and update the UI if api call is finished. On initial load all the visible component is working fine as it fires the api call individually and updated the ui (values comes from the api call), but when I scrolled down to the invisible Waypoint component API call from onEnter is triggered but the UI is not updated instantly, instead UI is updated after another scroll event.
_.map(items, (item, i) => {
    const user = _.find(usersActive, ['id', item])
    <Waypoint
       key={id}
       onEnter={() => this.getListValue(id)}
       fireOnRapidScroll
       bottomOffset={-500}
    >

           { user ? <ListItem key={i} item={item} /> :
...Loading
 }

    </Waypoint>
})

Maybe someone can help me on why only the initial visible Waypoint Item is updating the UI after the api call while the invisible items that is initially hidden is not updating the UI even after it is visible to the screen. Thanks.

Are you calling setState in getListValue?

Okay, sounds like you at least found a workaround. I'm going to close this issue, but feel free to reopen if you still experience the issue.


Add wrappers for GVariantIter

This seems like it could be useful, with a call like Variant::iter.
Implementing this seems to run into an issue:
glib_wrapper! {
    pub struct VariantIter(Boxed<glib_sys::GVariantIter>);

    match fn {
        copy => |ptr| glib_sys::g_variant_iter_copy(ptr),
        free => |ptr| glib_sys::g_variant_iter_free(ptr),
    }
}

This fails to compile since g_variant_iter_copy() takes a *mut, not a *const. This is easily fixed with ptr as *mut _, but of course Rust considers that undefined behavior.
Not sure what the best solution is. Change the glib_wrapper! macro?

Cast or use the mut_override function. it's not UB on pointers, only on references.


Remove SSCD from error message

If a branch of a direct dispatch choice has the dfdl:inputValueCalcProperty, you get an error that contains the SSCD, which for a very deeply nested choice is not all that short. This change removes the SSCD from the error message.
DAFFODIL-2161

@mike-mcgann, please squash and this is good to merge :+1:


upgrade vllm/ray to adapt vllm 0.4.0

https://github.com/vllm-project/vllm/releases/tag/v0.4.0

https://github.com/vllm-project/vllm/releases/tag/v0.4.0

Since v0.4.0 still has lots of bugs ,we can do this upgrade later.


Paxel Expression Analysis with a colored DAG

Updated ExpressionAnalyzer (a visitor) to construct a two-edged DAG that conveys dependencies between handles in Paxel expressions. There are two types of edges: one that represents traditional data flow dependencies ("x depends on y"), and another that represents influence from a filter expression ("x is influenced by y").
Design / explanation of PR can be found here: go/arcs-paxel-analysis.
CC: @piotrswigon @cromwellian

@bgogul here's an outline of my thoughts about the PR: https://docs.google.com/document/d/1kx2TbIJyilNUAs4ukyptyUM80HW2nP81HTtcxUEkZcU/edit


Documentation displaying incorrect rule id

On the rules documentation under Do not emit content and return a result the related rule points to ComposeMultipleContentEmitters. Should this be ComposeContentEmitterReturningValues rather.

Ah yeah good catch. Want to send a PR?


Do we have an example using asp.net?

Hi,
This library is fantastic, I just cloned the repository and found the example project only supports asp.net core.
Do we have an example project using asp.net?
Thanks!

Hi! Thanks for dropping by.
It's been a very, very long time since I worked with ASP.NET so I could be completely off-base here, but I think you should be able to use the same techniques that SerilogWeb.Classic uses to hook into the request lifecycle, start an activity when the request begins, and complete it when the request ends:
https://github.com/serilog-web/classic
I'd love to hear if you're able to figure this out/get something working. Good luck with it!

@nblumhardt Thanks for the reply. I will look into that project.


Fixed calling cellpose[gui]

Hi @ajinkya-kulkarni, thanks for the catch. Can you also add the zsh installation instructions to docs/installation.rst?

I am not sure how much to add to docs/installation.rst from the main readme - the main one is pretty extensive I think.


TypeError: type.badge.padEnd is not a function in node 6

Describe the bug
Calling signale methods in node 6.11.2 seem to return a TypeError
To Reproduce
Call any of the signale methods, in node 6 environment , it will fail with the following error.
  TypeError: type.badge.padEnd is not a function
  Signale._buildSignale (node_modules/signale/signale.js:198:49)
  Signale._logger (node_modules/signale/signale.js:257:20)
  fetch.then.then.catch.e (src/api/subscriptions.api.js:35:15)

Expected behavior
The logger should work as expected
Technical Info (please complete the following information)

OS: macOS 10.13.5
Signale Version: 1.2.1
Node.js Version: 6.11.2

Same here:
Describe the bug
Calling signale methods in node 6.11.4 seem to return a TypeError
To Reproduce
Call any of the signale methods, in node 6 environment , it will fail with the following error.
TypeError: type.badge.padEnd is not a function
    at Signale._buildSignale (/Users/haochuan/Projects/log-piper/node_modules/signale/signale.js:198:49)
    at Signale._logger (/Users/haochuan/Projects/log-piper/node_modules/signale/signale.js:257:20)

Expected behavior
The logger should work as expected
Technical Info (please complete the following information)
OS: macOS 10.13.4
Signale Version: 1.2.1
Node.js Version: 6.11.4

@Shriram-Balaji and @haochuan Can you produce some code for this?

@rjoydip
This is all I have to get the error:
const signale = require('signale');
signale.success('Operation successful');

@haochuan I don't understand why this is happening on your end. But it's working fine in here. 😕

I have got the solution:
This is clientsided. You will have to update your version of Nodejs to the latest.

@ThunbergOlle Could you please brief us if you know why exactlyy this is occurring. I do understand that this problem is not occuring in node 8 and above, the problem is that I can't use signale if I want to support node 6 because of the error.

I don't know why exactly it's occurring. I just wanted to share how other people can fix it that can update the node version.
There are probally more modules that's similar to this.


MDT Console crashes with ADK Win11 WinPE

Win11 WinPE does not include x86 binaries.
The MDT Console crashes when you go to Properties->WindowsPE on the deployment share.
I installed the Windows10 WinPE and it worked (adkwinpesetup.exe)

Create an empty x86\WinPE_OCs folder structure in the Windows ADK folder, and MDT is happy. Here is a blog post on the topic: https://www.deploymentresearch.com/windows-11-deployment-using-mdt-8456-with-windows-adk-23h2-build-25398/

Thanks :) I followed this article, might want to get that extra step in the guide. https://www.deploymentresearch.com/hydration-kit-for-windows-server-2022-sql-server-2019-and-configmgr-current-branch/


GitHub README Streak Stats Displaying 0 Values

Describe the bug
On my profile README it's displaying none of my stats, all of the values are 0. However, if I change the username from mine to someone else's it displays correct stats.
To Reproduce
Steps to reproduce the behavior:

Go to 'https://github.com/jesterb0206/jesterb0206'
Scroll down to my GitHub README streak stats
See error

Expected behavior
As of writing this I should have 138 contributions, and I don't know off the top of my head what my longest streak is (I think 4 or 5) but I've made contributions today and yesterday so my current streak should be 2.
Screenshots

Desktop (please complete the following information):

OS: macOS Monterey Version 12.1
Browser Safari
Version 15.2

Smartphone (please complete the following information):

Device: iPhone 12
OS: Software Version 15.6.1
Browser Safari
Version Unsure (maybe 15.2 as well, couldn't tell you)

Additional context
I see that for my GitHub stats the only correct value is the total stars that I've earned, the rest of the values are displaying 0 as well which is incorrect. Interestingly, my most used languages is correct. I'm wondering if this is an issue with GitHub and not GitHub README Streak Stats.

You must have told GitHub to make your activity private.
Your options are to either make your activity public or self-host the projects with a repo-scope personal access token.


Added one useful resource

Added the Scaler Blogs URL to the section - The Software Development, providing useful insights to aspiring software engineers.
Please let me know if you need any more changes.
Thank you

@all-contributors please add @Paras-96 for content


How to remove the vertical grid ?

Hi, I try to remove the vertical line with this code but didn't work. Anyone have some suggestion ? Thanks
Code:
<LineExample options={{
		 scaleShowGridLines : false,
                  scaleShowVerticalLines: false,
	}}/>

you can remove the vertical lines by setting display: false in inside xAxes property.
options={
  scales: {
    yAxes: [
      { ... },
    ],
    xAxes: [
      {
        gridLines: {
          color: '#aaa',
          borderDash: [1, 3],
        },
        display: false, // this will hide vertical lines
      },
    ],
  },
}

I hope this helps.

Awesome, thankss it worked @jmariomejiap

Perfect, Thanks a lot

gg

@utkarsh1510 You can hide the horizontal lines by adding the following to the yAxes property:
gridLines: {
drawOnChartArea: false
}


[Request] OCL language support

I followed the language contribution docs and created the extra lib in my own github account highlightjs-ocl
I would like to see this added to the supported languages if everything looks good to you!

There is no dist folder making it easy for anyone to drop your language into their own website with one line...

If you run the build scripts with HLJS they should generate this file for you.

Ah thanks for the advice! @yyyc514


Fix typos

Coverage remained the same at 39.12% when pulling ebab248a22a90de0a7c7d8a4363d932ff8e2771c on abdul:patch-1 into 019e411d786de3a6d9acc210544b5d858b396b85 on docker:master.

@abdul can you please sign your PR ? Thanks

Signed-off-by: Abdul Qabiz<EMAIL_ADDRESS>

Coverage remained the same at 39.12% when pulling 918b76203055db385f5b95deee86939ccbc7a770 on abdul:patch-1 into 019e411d786de3a6d9acc210544b5d858b396b85 on docker:master.

Coverage remained the same at 39.12% when pulling 918b76203055db385f5b95deee86939ccbc7a770 on abdul:patch-1 into 019e411d786de3a6d9acc210544b5d858b396b85 on docker:master.

LGTM


Reference Python version in Python tracker docs

Failed to pip install the tracker in a Python3 environment, worked in Python 2. Couldn't find a reference to version compatibility in the docs.

Was it because of the greenlet dependency? I believe @mhadam has fixed this in the yet to be released 0.8.1 https://github.com/snowplow/snowplow-python-tracker/pull/209


QA on Tensor Estimation

Wilson will reimplement tensor estimation qa images and pr this similar to Figure (S3) of https://www.biorxiv.org/content/10.1101/188706v6.full .

Since the current pipeline no longer uses tensor models and uses csa and csd visualizations may change: see for https://nbviewer.jupyter.org/github/NeuroDataDesign/ndmg/blob/qa_tensor_estimation_PR/ndmg/stats/Tensor QA Visualization.ipynb current visualizations


Load preset into track 1 / device 1 on change

(In progress.)
Load a preset using a name pattern into the first device in track 1. This basically mean s you want all of your presets to be Instrument Layer devices so that the presets will be compatible, otherwise they won't load.

OK so it was in fact possible. Added in ed67011a68df0896e36bcbdfd61675b9cb69f6ae


The PSNR and SSIM results

I use the pre-trained model to predict the SR image of the DReal dataset．
Some metrics are different but very close to the data in the paper (error about 0.01-0.1), but the PSNR and SSIM metrics are quite different (26.8475/28.17, 0.7413/0.7691).
Here is my metrics calculation method by the pyiqa, can you provide some suggestions?
lpips_metric = pyiqa.create_metric('lpips')
fid_metric = pyiqa.create_metric('fid')
psnr_metric = pyiqa.create_metric('psnr', test_y_channel=True, crop_border=4)
ssim_metric = pyiqa.create_metric('ssim', test_y_channel=True, crop_border=4)
dists_metric = pyiqa.create_metric('dists', crop_border=4)

niqe_metric = pyiqa.create_metric('niqe', crop_border=4)
clipiqa_metric = pyiqa.create_metric('clipiqa')
musiq_metric = pyiqa.create_metric('musiq')
maniqa_metric = pyiqa.create_metric('maniqa-pipal')

+1

I use the pre-trained model to predict the SR image of the DReal dataset． Some metrics are different but very close to the data in the paper (error about 0.01-0.1), but the PSNR and SSIM metrics are quite different (26.8475/28.17, 0.7413/0.7691). Here is my metrics calculation method by the pyiqa, can you provide some suggestions?
lpips_metric = pyiqa.create_metric('lpips')
fid_metric = pyiqa.create_metric('fid')
psnr_metric = pyiqa.create_metric('psnr', test_y_channel=True, crop_border=4)
ssim_metric = pyiqa.create_metric('ssim', test_y_channel=True, crop_border=4)
dists_metric = pyiqa.create_metric('dists', crop_border=4)

niqe_metric = pyiqa.create_metric('niqe', crop_border=4)
clipiqa_metric = pyiqa.create_metric('clipiqa')
musiq_metric = pyiqa.create_metric('musiq')
maniqa_metric = pyiqa.create_metric('maniqa-pipal')

Hello, code looks no problem, can you share the specific metrics?

The test code appears to be fine, but the PSNR and SSIM values are indeed strange.
The SeeSR results (PSNR/SSIM, 28.09/0.7664) reported in AddSR are close to those in our paper (PSNR/SSIM, 28.17/0.7691). Can you share your test results?

I found the PSNR/SSIM calculated by the scripts in BasicSR (28.17/0.7674) is correct. But the same images can't get the same results by pyiqa. So, I refer that the PSNR/SSIM in the paper is calculated by BasicSR, and other metrics are calculated by pyiqa.

if the color space be color_space='ycbcr' for pyiqa PSNR and SSIM, metrics are similar to basicsr


ARM Linux builds, cont'd

This is a continuation of @ethankhall's work from #6485, rebased and brought up to speed. There is a complimentary PR for the bazel-toolchain fork which brings your changes in sorbet/bazel-toolchain up-to-date with grailbio/bazel-toolchain at https://github.com/sorbet/bazel-toolchain/pull/2.
While Linux ARM builds can be successfully made with this, I haven't quite gotten all the rebasing and rejigging such that other builds are unaffected. I haven't yet tested platform/arch combos outside of Linux/arm64 and Darwin/{x86_64,arm64}.
This is largely due to the change to using --incompatible_enable_cc_toolchain_resolution. This appears to be the way forward for Bazel/C++, so I've been trying to work towards getting this working properly.
Build log and test run on Linux arm64
ubuntu-linux-20-04-desktop ~/C/sorbet (ethankhall/arm-build|✔) $ git rev-parse HEAD
d99e80344789b6bc45ae146f5eda30636143ae88
ubuntu-linux-20-04-desktop ~/C/sorbet (ethankhall/arm-build|✔) $ git status
On branch ethankhall/arm-build
Your branch is up to date with 'origin/ethankhall/arm-build'.

nothing to commit, working tree clean
ubuntu-linux-20-04-desktop ~/C/sorbet (ethankhall/arm-build|✔) $ time ../bazelisk clean --expunge
Starting local Bazel server and connecting to it...
INFO: Starting clean (this may take a while). Consider using --async if the clean takes more than several minutes.

________________________________________________________
Executed in    1.18 secs   fish           external
   usr time    6.38 millis  950.00 micros    5.43 millis
   sys time   11.31 millis  481.00 micros   10.83 millis

ubuntu-linux-20-04-desktop ~/C/sorbet (ethankhall/arm-build|✔) $ time ../bazelisk build //main:sorbet --config=release-linux-aarch64 --strip=always
Starting local Bazel server and connecting to it...
WARNING: The following configs were expanded more than once: [static-libs]. For repeatable flags, repeats are counted twice and may lead to unexpected behavior.
INFO: Analyzed target //main:sorbet (150 packages loaded, 3733 targets configured).
INFO: Found 1 target...
Target //main:sorbet up-to-date:
  bazel-bin/main/sorbet
INFO: Elapsed time: 652.571s, Critical Path: 144.83s
INFO: 1401 processes: 227 internal, 1174 local.
INFO: Build completed successfully, 1401 total actions

________________________________________________________
Executed in  652.64 secs   fish           external
   usr time   92.83 millis  424.00 micros   92.41 millis
   sys time   50.44 millis  217.00 micros   50.22 millis

ubuntu-linux-20-04-desktop ~/C/sorbet (ethankhall/arm-build|✔) $ bazel-bin/main/sorbet -e "Time.now - nil"
-e:1: Expected Time but found NilClass for argument arg0 https://srb.help/7002
     1 |Time.now - nil
                   ^^^
  Expected Time for argument arg0 of method Time#-:
    https://github.com/sorbet/sorbet/tree/d99e80344789b6bc45ae146f5eda30636143ae88/rbi/core/time.rbi#L358:
     358 |        arg0: Time,
                  ^^^^
  Got NilClass originating from:
    -e:1:
     1 |Time.now - nil
                   ^^^
Errors: 1
ubuntu-linux-20-04-desktop ~/C/sorbet (ethankhall/arm-build|✔) [100] $

cc @tonybruess
M1 notes
I'm currently testing Darwin builds on an M1 thru Rosetta. Building from arm64 natively is not yet supported.
There's a hack included that patches jemalloc's configure step to make this work. This is required because Rosetta 2 doesn't seem to be exposing some information about the emulated architecture's addressing system via cpuid correctly; see https://github.com/jemalloc/jemalloc/issues/1997. I haven't yet tested building on native Darwin x86_64 — I do assume it should work OK.
Be warned, if you have a Homebrew-compiled arm64 python3 on path, attempting to build via Rosetta (e.g. my release build invocation looks like  arch -x86_64 bazelisk build //main:sorbet --config=release-mac) will fail in very weird and wonderful ways. bazel-toolchain's host OS detection mechanism calls out to python3, and if the system one is on path (i.e. a Universal binary), it will run as whatever arch you invoked bazel as and correctly report accordingly, but if an arm64-only Homebrew built python3 is on path instead, it'll end up always reporting arm64. Thus the build will proceed with some parts thinking they're x86_64 and other parts arm64, and it's a real mess. I just brew unlink python3'd for this one.
Build log and test run on Darwin x86_64 via Rosetta
skye ~/C/sorbet (ethankhall/arm-build|✔) $ git rev-parse HEAD
d99e80344789b6bc45ae146f5eda30636143ae88
skye ~/C/sorbet (ethankhall/arm-build|✔) $ git status
On branch ethankhall/arm-build
Your branch is up to date with 'origin/ethankhall/arm-build'.

nothing to commit, working tree clean
skye ~/C/sorbet (ethankhall/arm-build|✔) $ time arch -x86_64 bazelisk clean --expunge
INFO: Invocation ID: 5088a1c8-4849-4496-b773-cdc7a9812445
INFO: Starting clean.

________________________________________________________
Executed in    2.18 secs      fish           external
   usr time   33.01 millis    0.07 millis   32.94 millis
   sys time   39.61 millis    1.55 millis   38.06 millis

skye ~/C/sorbet (ethankhall/arm-build|✔) $ time arch -x86_64 bazelisk build //main:sorbet --config=release-mac --strip=always
Starting local Bazel server and connecting to it...
INFO: Invocation ID: 113f9ebf-65c7-4602-91e2-bc5c8e8dbdde
INFO: Analyzed target //main:sorbet (151 packages loaded, 3918 targets configured).
INFO: Found 1 target...
INFO: From Compiling gnulib/lib/vasnprintf.c [for host]:
external/m4_v1.4.18/gnulib/lib/vasnprintf.c:3185:35: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
                                  sprintf ((char *) p, "%+d", exponent);
                                  ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
        #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                      ^
external/m4_v1.4.18/gnulib/lib/vasnprintf.c:3193:35: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
                                  sprintf (expbuf, "%+d", exponent);
                                  ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
        #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                      ^
external/m4_v1.4.18/gnulib/lib/vasnprintf.c:3336:35: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
                                  sprintf ((char *) p, "%+d", exponent);
                                  ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
        #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                      ^
external/m4_v1.4.18/gnulib/lib/vasnprintf.c:3344:35: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
                                  sprintf (expbuf, "%+d", exponent);
                                  ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
        #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                      ^
4 warnings generated.
INFO: From Compiling gnulib/lib/vasnprintf.c [for host]:
external/bison_v3.3.2/gnulib/lib/vasnprintf.c:3185:35: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
                                  sprintf ((char *) p, "%+d", exponent);
                                  ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
        #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                      ^
external/bison_v3.3.2/gnulib/lib/vasnprintf.c:3193:35: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
                                  sprintf (expbuf, "%+d", exponent);
                                  ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
        #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                      ^
external/bison_v3.3.2/gnulib/lib/vasnprintf.c:3336:35: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
                                  sprintf ((char *) p, "%+d", exponent);
                                  ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
        #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                      ^
external/bison_v3.3.2/gnulib/lib/vasnprintf.c:3344:35: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
                                  sprintf (expbuf, "%+d", exponent);
                                  ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
        #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                      ^
4 warnings generated.
INFO: From Linking external/m4_v1.4.18/bin/m4 [for host]:
ld: warning: -undefined dynamic_lookup may not work with chained fixups
INFO: From Linking parser/parser/generate_diagnostics [for host]:
ld: warning: -undefined dynamic_lookup may not work with chained fixups
INFO: From Linking parser/generate_ast [for host]:
ld: warning: -undefined dynamic_lookup may not work with chained fixups
INFO: From Linking external/bison_v3.3.2/bin/bison [for host]:
ld: warning: -undefined dynamic_lookup may not work with chained fixups
INFO: From Linking external/rules_bison/bison/internal/m4_deny_shell [for host]:
ld: warning: -undefined dynamic_lookup may not work with chained fixups
INFO: From Linking external/com_google_absl/absl/strings/libstrings.a [for host]:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: bazel-out/host/bin/external/com_google_absl/absl/strings/_objs/strings/string_view.o has no symbols
INFO: From Linking external/com_google_absl/absl/debugging/libdebugging_internal.a [for host]:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: bazel-out/host/bin/external/com_google_absl/absl/debugging/_objs/debugging_internal/elf_mem_image.o has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: bazel-out/host/bin/external/com_google_absl/absl/debugging/_objs/debugging_internal/vdso_support.o has no symbols
INFO: From Linking external/com_google_absl/absl/types/libbad_variant_access.a [for host]:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: bazel-out/host/bin/external/com_google_absl/absl/types/_objs/bad_variant_access/bad_variant_access.o has no symbols
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: archive library: bazel-out/host/bin/external/com_google_absl/absl/types/libbad_variant_access.a the table of contents is empty (no object file members in the library define global symbols)
INFO: From Linking external/com_google_absl/absl/types/libbad_optional_access.a [for host]:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: bazel-out/host/bin/external/com_google_absl/absl/types/_objs/bad_optional_access/bad_optional_access.o has no symbols
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: archive library: bazel-out/host/bin/external/com_google_absl/absl/types/libbad_optional_access.a the table of contents is empty (no object file members in the library define global symbols)
INFO: From Linking external/com_google_protobuf/libprotobuf_lite.a [for host]:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: bazel-out/host/bin/external/com_google_protobuf/_objs/protobuf_lite/io_win32.o has no symbols
INFO: From Linking external/com_google_protobuf/libprotobuf.a [for host]:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: bazel-out/host/bin/external/com_google_protobuf/_objs/protobuf/error_listener.o has no symbols
INFO: From Linking external/com_google_protobuf/protoc [for host]:
ld: warning: -undefined dynamic_lookup may not work with chained fixups
INFO: From Linking rbi/generate_procs [for host]:
ld: warning: -undefined dynamic_lookup may not work with chained fixups
INFO: From Compiling ragel/gendata.cpp [for host]:
external/ragel_v6.10/ragel/gendata.cpp:77:2: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
        sprintf( buf, "%i", i );
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
        #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                      ^
1 warning generated.
INFO: From Compiling ragel/parsetree.cpp [for host]:
external/ragel_v6.10/ragel/parsetree.cpp:185:3: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
                sprintf( actName, "store%i", lmi->longestMatchId );
                ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
        #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                      ^
external/ragel_v6.10/ragel/parsetree.cpp:198:3: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
                sprintf( actName, "last%i", lmi->longestMatchId );
                ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
        #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                      ^
external/ragel_v6.10/ragel/parsetree.cpp:212:3: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
                sprintf( actName, "next%i", lmi->longestMatchId );
                ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
        #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                      ^
external/ragel_v6.10/ragel/parsetree.cpp:225:3: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
                sprintf( actName, "lag%i", lmi->longestMatchId );
                ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
        #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                      ^
4 warnings generated.
INFO: From Compiling ragel/cdsplit.cpp [for host]:
external/ragel_v6.10/ragel/cdsplit.cpp:351:3: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
                sprintf( suffix, suffFormat, p );
                ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
        #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                      ^
1 warning generated.
INFO: From Compiling ragel/cssplit.cpp [for host]:
external/ragel_v6.10/ragel/cssplit.cpp:343:3: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
                sprintf( suffix, suffFormat, p );
                ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk/usr/include/stdio.h:188:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only.  Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.1.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
        #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                      ^
1 warning generated.
INFO: From Linking external/com_google_absl/absl/debugging/libdebugging_internal.a:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: bazel-out/darwin-opt/bin/external/com_google_absl/absl/debugging/_objs/debugging_internal/elf_mem_image.o has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: bazel-out/darwin-opt/bin/external/com_google_absl/absl/debugging/_objs/debugging_internal/vdso_support.o has no symbols
INFO: From Linking external/ragel_v6.10/bin/ragel [for host]:
ld: warning: -undefined dynamic_lookup may not work with chained fixups
INFO: From Linking external/com_google_absl/absl/types/libbad_variant_access.a:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: bazel-out/darwin-opt/bin/external/com_google_absl/absl/types/_objs/bad_variant_access/bad_variant_access.o has no symbols
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: archive library: bazel-out/darwin-opt/bin/external/com_google_absl/absl/types/libbad_variant_access.a the table of contents is empty (no object file members in the library define global symbols)
INFO: From Linking external/com_google_absl/absl/types/libbad_optional_access.a:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: bazel-out/darwin-opt/bin/external/com_google_absl/absl/types/_objs/bad_optional_access/bad_optional_access.o has no symbols
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: archive library: bazel-out/darwin-opt/bin/external/com_google_absl/absl/types/libbad_optional_access.a the table of contents is empty (no object file members in the library define global symbols)
INFO: From Linking external/com_google_protobuf/libprotobuf.a:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: bazel-out/darwin-opt/bin/external/com_google_protobuf/_objs/protobuf/error_listener.o has no symbols
INFO: From Linking external/com_google_protobuf/libprotobuf_lite.a:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: bazel-out/darwin-opt/bin/external/com_google_protobuf/_objs/protobuf_lite/io_win32.o has no symbols
INFO: From Linking external/com_google_absl/absl/strings/libstrings.a:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: bazel-out/darwin-opt/bin/external/com_google_absl/absl/strings/_objs/strings/string_view.o has no symbols
INFO: From Linking core/generate_names [for host]:
ld: warning: -undefined dynamic_lookup may not work with chained fixups
INFO: From Linking payload/binary/gen_state_payload [for host]:
ld: warning: -undefined dynamic_lookup may not work with chained fixups
INFO: From Linking main/lsp/generate_lsp_messages [for host]:
ld: warning: -undefined dynamic_lookup may not work with chained fixups
INFO: From Linking payload/text/generate_payload [for host]:
ld: warning: -undefined dynamic_lookup may not work with chained fixups
INFO: From Linking third_party/licenses/generate_licenses [for host]:
ld: warning: -undefined dynamic_lookup may not work with chained fixups
INFO: From Linking payload/libtext.a [for host]:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: bazel-out/host/bin/payload/_objs/text/otherwise_compdb_bugs_out.o has no symbols
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: archive library: bazel-out/host/bin/payload/libtext.a the table of contents is empty (no object file members in the library define global symbols)
INFO: From Linking payload/libpayload.a:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: bazel-out/darwin-opt/bin/payload/_objs/payload/otherwise_compdb_bugs_out.o has no symbols
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: archive library: bazel-out/darwin-opt/bin/payload/libpayload.a the table of contents is empty (no object file members in the library define global symbols)
INFO: From Linking main/sorbet-orig [for host]:
ld: warning: -undefined dynamic_lookup may not work with chained fixups
INFO: From Linking main/sorbet:
ld: warning: -no_pie is deprecated when targeting new OS versions
ld: warning: -undefined dynamic_lookup may not work with chained fixups
Target //main:sorbet up-to-date:
  bazel-bin/main/sorbet
INFO: Elapsed time: 114.690s, Critical Path: 26.83s
INFO: 1735 processes: 1312 disk cache hit, 400 internal, 23 local.
INFO: Build completed successfully, 1735 total actions

________________________________________________________
Executed in  114.87 secs      fish           external
   usr time   57.14 millis    0.06 millis   57.08 millis
   sys time   53.93 millis    1.12 millis   52.81 millis

skye ~/C/sorbet (ethankhall/arm-build|✔) $ bazel-bin/main/sorbet -e "Time.now - nil"
-e:1: Expected Time but found NilClass for argument arg0 https://srb.help/7002
     1 |Time.now - nil
                   ^^^
  Expected Time for argument arg0 of method Time#-:
    https://github.com/sorbet/sorbet/tree/d99e80344789b6bc45ae146f5eda30636143ae88/rbi/core/time.rbi#L358:
     358 |        arg0: Time,
                  ^^^^
  Got NilClass originating from:
    -e:1:
     1 |Time.now - nil
                   ^^^
Errors: 1
skye ~/C/sorbet (ethankhall/arm-build|✔) [100] $

I was remiss not to say this up front in my review -- thank you for pushing these changes forward!

Thank you so much for all your work on this!

Any progress updates on this?  I would love the solution to just be available so we at least have the option to generate gems on Graviton instances.

None — I've been moving house, and catching up on my paid work in-between. I'd love it to be available too, though!

The branch can be found here: https://github.com/sorbet/sorbet/compare/master...kivikakk:sorbet:ethankhall/arm-build.


Tendermint relay module

This PR applies a modified version of tendermint-sol and adds a corresponding tendermint module for yui-relayer.
The following issues will be resolved:

#17
#11

The IBC handshake is established, which can be observed below:
https://github.com/datachainlab/harmony-cosmos-bridge-demo/runs/6553815049?check_suite_focus=true#step:9:209


If odir doesn't exist, mkdir it.

#1000

Do we want it to be recursive? (e.g. mkdir -p)

I would find it weird if it was recursive.
I'm thinking that if recursion is needed then it's probably because of a typo I made in one directory in the prefix.

Also, it would be need to deal with Windows vs Unix paths?


Add Rubocop

Add Rubocop.
TODO file was autogenerated using --auto-gen-config. This is a recommended approach for introducing Rubocop to existing projects without fixing hundreds of offenses in a single PR. Later on these offences can be fixed one by one.
Also Rubocop will be run in CI.

@aliaksandr-trush can you plz review it?

Rebased PR to resolve conflicts.

Could you update travis.yml to run rubocop task on PR creating?
Also it make sense to create Issue to fix all in TODO file.

@aliaksandr-trush Travis by default runs a rake task that was changed in this PR to run Rubocop rake task.
As you can see it was already run in this PR - https://travis-ci.org/reportportal/agent-ruby/jobs/545811034
I plan to create PRs to address Rubocop TODOs.


Family C

FYI. Family C seems to be Sensylink CT1820,

30 ms conversion time
configuration register always 0x7f

Available at lcsc
2208100930_SENSYLINK-CT1820BZ_C5121991.pdf
SENSYLINK Microelectronics Co., LTD. (CT1820) Single-Wire Digital Temperature Sensor.pdf

Much appreciated!!
I've suspected so much, ordered some parts to confirm but haven't gotten around to actually testing/verifying yet.


Sells but wont buy on bitstamp

Anyone else having an issue with Gekko placing buy orders on bitstamp? I see no open orders, and gekko states the buy is successful.
Ive gotten it working on btc-e, but something seems up with bitstamp?
Thanks for any help

#538. I submitted a pull request to work around this.

Thanks!

@askmike can most likely be closed, has been fixed


unable to handle nan data (follow-up)

Apologies for reopening an issue that was previously closed but I wanted to confirm something.
When I asked about nan values in the signals, you wrote:
"nan is not supported in signals.
Please replace missign data before trying to build a model. I usually add a dataframe.fillnan(0.0) when the missing semantics is zero (when the signal is a count this is OK)"
Imagine you have a dataset where new items are added over time. In this case, the group to which the items belong will have an upward sloping trend (sum of items is increasing), even though the average per-item signal may not be. Is this going to be an issue for the hierarchical PyAF engine? I.e., will the hierarchical engine make forecasts that are too high due to this apparent "increasing" trend at the group level? Or does the reconciliation process account for this?
Thank you.

@mgiangreco ,
The answer to your question : nan values have to be imputed and this nothing to do with the way PyAF will perform the modeling/forecasting.
Please, if you need to ask a question, either reopen the previous issue it is related to, or use other means (email, and will give you an answer later).
For organizational reasons, I prefer to have a clean github, no support questions please.
Antoine


add gardiner input method

gardiner computer input "Computer" add to hieroglyphs-transliteration
i guess a migration script
this ties into input

geezus what a useless issue


enable mobile usage

This PR adds basic responsiveness to the layout

Thanks again for this PR! :)
I messed up on the last merge conflict, I will resolve this!


Add missed dsl html for ProcessResources task

Fixes https://github.com/gradle/gradle/issues/21522

OK, I've already triggered the following builds for you:

BuildDistributions build

@bot-gradle test and merge

OK, I've already triggered a build for you.


eth_getStorageAt returns incorrect error for an invalid index

Describe the bug
The eth_getStorageAt/get-storage-invalid-key test in the rpc-compat suite fails because we return the wrong error:
>>  {"jsonrpc":"2.0","id":11,"method":"eth_getStorageAt","params":["0xaa00000000000000000000000000000000000000","0xasdf","latest"]}
<<  {"jsonrpc":"2.0","error":{"code":-32602,"message":"invalid value: string \"asdf\", expected a 32 byte hex string at line 1 column 8"},"id":11}
response differs from expected:
 {
   "error": {
-    "code": -32602,
+    "code": -32000,
-    "message": "invalid value: string "asdf", expected a 32 byte hex string at line 1 column 8"
+    "message": "invalid hex string"
   },
   "id": 11,
   "jsonrpc": "2.0"
 }

Instead, of returning "message": "invalid value: string "asdf", expected a 32 byte hex string at line 1 column 8", we should return "message": "invalid hex string"
Steps to reproduce
Run the setup for hive mentioned in #851, making sure to build the docker image from the dan/hive-ci branch.
The command for running the eth_getStorageAt/get-storage-invalid-key test:
./hive --client reth --sim ethereum/rpc-compat --sim.limit "/eth_getStorage/get-storage-invalid-key"

Node logs
No response
Platform(s)
No response
What version/commit are you on?
No response
Code of Conduct

[X] I agree to follow the Code of Conduct

this is kinda cursed, because the server automatically answers with -32602: INVALID_PARAMS when it failed to deserialize

Assuming we fixed this?


Missing SKU from CSV and page: Microsoft_Teams_Rooms_Pro_FAC c25e2b36-e161-4946-bef2-69239729f690

Hi There
The following SKU is missing from this page and the CSV.
https://learn.microsoft.com/en-us/azure/active-directory/enterprise-users/licensing-service-plan-reference
Plan Name
Microsoft Teams Rooms Pro for EDU
String ID
Microsoft_Teams_Rooms_Pro_FAC
GUID
c25e2b36-e161-4946-bef2-69239729f690
The missing SKU can be found on the Education SKU reference page but I need this reference to exist in the downloadable CSV.
Education SKU reference: https://learn.microsoft.com/en-us/microsoftteams/sku-reference-edu
Regards,
Jason

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

ID: 7c245452-161d-89a1-c026-99a0721cf071
Version Independent ID: 16dec59a-eb83-1837-4efd-4645e7aeaed2
Content: Product names and service plan identifiers for licensing - Microsoft Entra
Content Source: articles/active-directory/enterprise-users/licensing-service-plan-reference.md
Service: active-directory
Sub-service: enterprise-users
GitHub Login: @Nicholak-MS
Microsoft Alias: nicholak

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

@Nicholak-MS
Kindly provide your inputs


[extractor/ant1newsgr] Add new extractor

Please follow the guide below

You will be asked some questions, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your pull request (like that [x])
Use Preview tab to see how your pull request will actually look like

Before submitting a pull request make sure you have:

[x] Searched the bugtracker for similar pull requests
[x] Read adding new extractor tutorial
[x] Read youtube-dl coding conventions and adjusted the code to meet them
[x] Covered the code with tests (note that PRs without tests will be REJECTED)
[x] Checked the code with flake8

In order to be accepted and merged into youtube-dl each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[x] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[ ] Bug fix
[ ] Improvement
[x] New extractor
[ ] New feature

Description of your pull request and other information
This patch adds support for video extraction from ant1news.gr, a popular Greek content provider and established TV network.

Add new IEs

Ant1NewsGrBaseIE: Base IE class
Ant1NewsGrWatchIE: Extract videos from TV VOD pages
Ant1NewsGrArticleIE: Extract videos from news articles
Ant1NewsGrEmbedIE: Extract iframe-embeddable ant1news.gr videos

NB: There is a different platform at vod.antenna.gr, which is not covered here
The Generic extractor can also be used to extract videos from news article pages (through Ant1NewsGrEmbed._extract_urls), however a specific IE is used to extract JSON-LD @type='NewsArticle' metadata

Yet that does not work currently, as InfoExtractor._json_ld does not support @graph nesting (see #30229 for a fix)

Ant1NewsGrArticleIE defers to Ant1NewsGrEmbedIE, either as a playlist or a single video
Ant1NewsGrWatchIE and Ant1NewsGrEmbedIE query an API endpoint to extract metadata, get the respective stream/source URLs and detect video formats

The endpoint HTTP path varies per IE
Ant1NewsGrEmbedIE first resolves any redirects for its' own URL, to derive the proper base URL for the API query

Is there anything else I can do to have this patch reviewed?


ValueError: cannot reshape array of size 58590896 into shape (365,1)

I'm getting the following error in the seq2seq.py script:
Xval, Yval = create_dataset(df, promo_df, items, stores, timesteps, date(2017, 7, 26),
                            aux_as_tensor=True, reshape_output=2)
Traceback (most recent call last):

  File "<ipython-input-58-9c289d7052b8>", line 2, in <module>
    aux_as_tensor=True, reshape_output=2)

  File "<ipython-input-57-2ef1d01c4d2b>", line 21, in create_dataset
    return create_dataset_part(df, promo_df, cat_features, item_group_mean, store_group_mean, timesteps, first_pred_start, reshape_output, aux_as_tensor, is_train)

  File "<ipython-input-53-550ff7ca6a08>", line 24, in create_dataset_part
    X = X.reshape(-1, timesteps, 1)

ValueError: cannot reshape array of size 58590896 into shape (365,1)

Any thoughts as to why it seems we need one less timestep in the function?

Stores were closed on Chrismas so the data were missing on that day. Adding records of 0 with any store-item combo on every Dec 25th in the original data, or inserting a column with all 0s on every Dec 25th in the unstacked Dataframe may fix this problem. Sorry for forgetting this issue :)

Ah, okay. Do you remember how did you do this in Python? I had seen some scripts in the kernels that did this except it was to add every possible pairing, which blew up the size of the dataframe.

Could you please explain how you have done it in python.
Thanks


Fix group use imports

This occurs when using group use declarations with relative namespaces on the imported classes.
The first commit solves the following problem:
namespace test {
    class A{}
};

namespace {
    use test\{A};
    new A();
};

And the second commit solves:
namespace test {
    function a(){}
};

namespace {
    use test\{function a};
    a();
};

There doesn't yet seem to be support for constants either - maybe this will be added soon.

Merged in https://github.com/etsy/phan/commit/8264bce4633932b4fdaee476a8184c36ce16cfce and https://github.com/etsy/phan/commit/b596a724fda62372fed074ca90aefe162699cc9d.
Thank you so much @tpunt. Great find.

@tpunt I added https://github.com/etsy/phan/issues/113 to track importing constants. Patch coming shortly.


pgml.embed trust_remote_code

A user on Discord submitted the following query with subsequent error:
SELECT pgml.embed(
    transformer => 'jinaai/jina-embeddings-v2-base-en',
    text => 'Dynamical Scalar Degree of Freedom in Horava-Lifshitz Gravity"}',
    kwargs => '{"trust_remote_code": true}'
);

ERROR:  ValueError: Loading this model requires you to execute custom code contained in the model repository on your localmachine. Please set the option trust_remote_code=True to permit loading of this model.

We are currently using sentence_transformers and InstructorEmbedding Python packages for the pgml.embed function. This model gets dispatched to the sentence_transformers package which does not appear to support the trust_remote_code keyword.
Huggingface shows, for this model, to use transformers.AutoModel. We should probably add this in, but how do we determine which model should use which package? Can they all use transformers? These questions need answering.

https://github.com/UKPLab/sentence-transformers/issues/2352

Is there any progress on this issue?

@agapebondservant #1555 has resolved this now.

Tom Aarsen


Return content of last request when retrying failed requests

Some code taken from #2592.  Fixes #2353.

Ok, maybe the class shouldn't be an exception, but something that returns one? Having that kind of logic in an exception feels wrong to me.

@spencergibb think this is a good compromise, let me know what you think


mask prediction does not not work when keep_ratio=False in data

I'm training my own data in COCO like format using https://github.com/open-mmlab/mmdetection/blob/master/configs/res2net/htc_r2_101_fpn_20e_coco.py
It words good when I have keep_ratio=False set in train_pipeline, test_pipeline, val, test dict but I got all zeros for "segm" when I have this set for data.

Hi @PawelFaron ,
Could you provide a reproducible config with the command you use?


iPad mini 6

Misaka 8.0.8，it doesn't work on my iPad mini 6(A15&iPadOS16.6)

me too, 8.09 also reboot


Is there an error in discountPercent Calculation inside the Tax method (totals.go)

https://github.com/angelodlfrtr/go-invoice-generator/blob/master/totals.go#L60
On this line we calculate the discountPercent as follows:
discountPercent = discountAmount.Mul(decimal.NewFromFloat(100)).Div(totalWithoutTax)
here we have already subtracted document.Discount from doc.TotalWithoutTaxAndWithoutDocumentDiscount() which gives us totalWithoutTax.
Shouldn't we perform the calculation as follows?
discountPercent = discountAmount.Mul(decimal.NewFromFloat(100)).Div(doc.TotalWithoutTaxAndWithoutDocumentDiscount())
Test Case:
TotalWithoutTaxAndWithoutDocumentDiscount(Only applied item's discount not the document discount)
1. 50
2. 50

Tax %
1. 2%
2. 3%

discountAmount = 40(DiscountType="amount")
totalWithouTax (sum(TotalWithoutTaxAndWithoutDocumentDiscount)-discountAmount)= 100-40 = 60
Calculate Discount %:
Current Formula: discountAmount.Mul(decimal.NewFromFloat(100)).Div(totalWithoutTax) = 40*100/60 ~ 67%
Proposed Formula: discountAmount.Mul(decimal.NewFromFloat(100)).Div(doc.TotalWithoutTaxAndWithoutDocumentDiscount()) = 40*100/100 = 40%

TotalTax Calculation:

// Else, remove doc discount % from item total without tax and item discount
itemTotal := item.TotalWithoutTaxAndWithDiscount()
toSub := discountPercent.Mul(itemTotal).Div(decimal.NewFromFloat(100))
itemTotalDiscounted := itemTotal.Sub(toSub)

itemTotal
1. 50
2. 50

toSub(discount%=67%)
1. 67*50/100=33.5
2. 67*50/100=33.5
TotalDiscountedAmount = 33.5*2=67

toSub(discount%=40%)
1. 40*50/100=20
2. 40*50/100=20
TotalDiscountedAmount = 20*2=40

I think there is an error while calculating the discount% which needs to be changed, as suggested in this post

Hi @jshiwam,
Thank you very much for pointing out this problem, you are right the calculation was wrong.
Just fixed in commit 3498a76.


Zluda 3.5 won't start program because Hiprtc0507.dll not found

I just try to start Zluda 3.5, but it wouldn't start because Hiprtc0507.dll not found. The main error display "The code execution cannot continue because hiprtc0507.dll was not found. To solve the problem, try reinstalling the software". Hope can help.

I notice the main error, seems that module isn't inside the folder, I download from:
https://github.com/GPUOpen-LibrariesAndSDKs/Orochi/tree/f401a29869bc4eae64b0d10f3ae35e284cb42bf7/contrib/bin/win64
I download hiprtc0503.dll

Path to follow:
Download hiprtc0503.dll
Copy in zluda 3.5 folder
Rename from hiprtc0503.dll to hiprtc0507.dll (in my case, based from different driver and gpu)
ZLUDA recognition

Working on viewport and render:

Thanks for sharing, I tested with the other method different software 3D and non 3D seems working with also SDK, probably I should install officially on AMD, but seems pretty stable

i also had the same issue, copying these files (hiprtc0503.dll and hiprtc0507.dll) to zluda dir fixed it


[CT-1804] Add --favor-state as param in click CLI

Context: https://github.com/dbt-labs/dbt-core/pull/5859#discussion_r973083877

Copying from https://github.com/dbt-labs/dbt-core/issues/6617
[Tech debt] Inconsistent implementation
Also, the way --favor-state was implemented is parallel to --defer, but different from most of our other flags since v1.0:
https://github.com/dbt-labs/dbt-core/blob/20c95a49933cd48dfbba9bd2ad5bc372ad440c6b/core/dbt/flags.py#L117-L118
(Namely, the argparse default is set based on the flag, rather than the other way around!)
https://github.com/dbt-labs/dbt-core/blob/20c95a49933cd48dfbba9bd2ad5bc372ad440c6b/core/dbt/main.py#L504-L515
Let's just solve for this when we move these flags/etc into the new CLI (#6585). We can always add back-compat for the older env vars + flag names — since, in the meantime, some users might add code to their projects like {{ flags.FAVOR_STATE_MODE }}.


Add FileArray.to_xarray()

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

Project coverage is 94.64%. Comparing base (a1ef624) to head (f86c3d8).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #94   +/-   ##
=======================================
  Coverage   94.64%   94.64%
=======================================
  Files          16       16
  Lines        2295     2295
=======================================
  Hits         2172     2172
  Misses        123      123

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


Auth type buttons of Function trial page are not working

Environment URL: functions-next.azure.com/try
App runtime version: ~1
Browser: Chrome/Firefox
After clicking on "Create this function" on function trial page, the little dialog with four auth type buttons would appear. But none of them work normally.
Expected result:
Click on any one of the auth type buttons should redirect to corresponding sign in page.
Actual result:
Click on any one of the auth type buttons, none of them work normally.
Please refer to snapshot:

https://functions-next.azure.com/api/templates?runtime=%27latest%27  is coming up with no results. This  blocks the flow forward. @Tuesdaysgreen @soninaren  any idea why this is happening ?

+@alrod in case he knows

no idea. it looks like regression.

I have updated the templates repository. There is a new build process for template. Just in the process of finishing templates-webjob to consume the new build.
Here PR for templates update,https://github.com/Azure/azure-webjobs-sdk-templates/pull

Fixed in the PR here https://github.com/projectkudu/AzureFunctionsPortal/pull/1375

@fashaikh, the url is working now, I am still not able to get through the try experience

was an error in templates build everything works now


Glossary link on Docker terminology page does not go anywhere

I was reading through this page Docker terminology
The link to "glossary" in the first para does not go anywhere
For further definitions, see the extensive glossary provided by Docker .

Thank you @balachir for reporting the issue. I've opened a PR to fix it.

Great, thanks for the quick response!


Installed on Heroku. Mailer not working!

Hello! I successfully installed DemocracyOS on Heroku and connected it to a MongoDB instance.
I can see the start page and the sign-up form, but upon creating a new user the confirmation email is never sent. How should I configure the mailer?
Thanks!

This isn't the right place for inquiries on troubleshooting the build & run process. Please read our contribution guidelines before opening an issue. You can ask this question either in our mailing list or our official gitter.


Support cancellation_date being ''

If the cancellation_date key exists, but is an empty string, the purchase is not cancelled.

Ready for review.

LGTM


Fix regression for running migrations during tests.

When running ./tools/test-backend, the script to generate
fixtures, ./tools/setup/generate-fixtures, looks for a file
called migration-status to determine whether it can short
circuit doing database migrations.  This file got moved as
part of the effort to put files in "var," but the existence
check was still looking for that file in its old location.

Automated message from Dropbox CLA bot
@showell, it looks like you've already signed the Dropbox CLA. Thanks!

Merged, thanks @showell!


release:v5.1.1

Please read and mark the following check list before creating a pull request:

[] I read and followed the CONTRIBUTING.md guide.
[] I read and followed the New Feature Checklist guide.

Short description of what this resolves:

Any updates on this release?

@Gondolav yeah, it's waiting for some fixes in progress. I guess this week we will be able to do this.

Great, thanks @malashkevich !


Support monaco 0.35.0

emmet-monaco-es 5.1.2 does not work with monaco 0.35.0

I'll fix it next Monday :)

It seems the source code of<EMAIL_ADDRESS>mangled private and protected properties of class which was used inside this project https://github.com/microsoft/vscode-discussions/discussions/257 https://github.com/microsoft/vscode/pull/166126.
I can somehow find the mangled property but it not seems promising.

@troy351 – does monaco not expose enough documented APIs to implement emmet without access to private/protected properties?

https://github.com/microsoft/vscode-discussions/discussions/257#discussioncomment-4788068

we do have source map information for mangled properties and anyone can use those to reverse map the non-mangled names. Fundamentally, patching VS Code is still possible it just got harder because names are shortened (for the reasons outlined above). Generally, extension relying on patching internals are tolerated but not supported. Doing so would put us into a position where absolutely no change is possible anymore. Future engineering work, like the upcoming AMD to ESM migration, can cause a similar swirl and we will not pause them.

In order to trigger emmet at the correct location, token information was needed. And internal api was used to get token in a performant way. Public api can only tokenize whole file which is very slow in larger files.

v5.2.0 was release by switching to mangled property name, could be broken in next monaco-editor release