Build iOS Release error

Environment

react-native-cli: 2.0.1
react-native: 0.47.1
node: v8.2.1
npm: v5.3.0
yarn: 0.20.3

Target Platform: iOS
Development Operating System: MacOS

Steps to Reproduce

react-native init rn0471_build_ios_release_error_reproduce
open .xcodeproj file
edit scheme -> select "release" build configuration
build & run in simulator

Actual Behavior
Build failed error in XCode:
+ DEST=/Users/alekseypokhodnya/Library/Developer/Xcode/DerivedData/rn0471reproduce-fdeyxrhuiruhnzgprfosmoijckya/Build/Products/Release-iphonesimulator/rn0471reproduce.app
+ [[ Release = \D\e\b\u\g ]]
+ BUNDLE_FILE=/Users/alekseypokhodnya/Library/Developer/Xcode/DerivedData/rn0471reproduce-fdeyxrhuiruhnzgprfosmoijckya/Build/Products/Release-iphonesimulator/rn0471reproduce.app/main.jsbundle
+ node /Users/alekseypokhodnya/RubymineProjects/rn047-fail-test/rn0471reproduce/node_modules/react-native/local-cli/cli.js bundle --entry-file index.ios.js --platform ios --dev false --reset-cache --bundle-output /Users/alekseypokhodnya/Library/Developer/Xcode/DerivedData/rn0471reproduce-fdeyxrhuiruhnzgprfosmoijckya/Build/Products/Release-iphonesimulator/rn0471reproduce.app/main.jsbundle --assets-dest /Users/alekseypokhodnya/Library/Developer/Xcode/DerivedData/rn0471reproduce-fdeyxrhuiruhnzgprfosmoijckya/Build/Products/Release-iphonesimulator/rn0471reproduce.app
/Users/alekseypokhodnya/RubymineProjects/rn047-fail-test/rn0471reproduce/node_modules/metro-bundler/src/lib/Terminal.js:141
    this._nextStatusStr = util.format(format, ...args);
                                              ^^^

SyntaxError: Unexpected token ...
    at exports.runInThisContext (vm.js:53:16)
    at Module._compile (module.js:373:25)
    at Module._extensions..js (module.js:416:10)
    at Object.require.extensions.(anonymous function) [as .js] (/Users/alekseypokhodnya/RubymineProjects/rn047-fail-test/rn0471reproduce/node_modules/babel-register/lib/node.js:152:7)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
    at Module.require (module.js:353:17)
    at require (internal/module.js:12:17)
    at Object.<anonymous> (/Users/alekseypokhodnya/RubymineProjects/rn047-fail-test/rn0471reproduce/node_modules/react-native/local-cli/server/runServer.js:18:18)
    at Module._compile (module.js:409:26)
+ [[ false != true ]]
+ [[ ! -f /Users/alekseypokhodnya/Library/Developer/Xcode/DerivedData/rn0471reproduce-fdeyxrhuiruhnzgprfosmoijckya/Build/Products/Release-iphonesimulator/rn0471reproduce.app/main.jsbundle ]]
+ echo 'error: File /Users/alekseypokhodnya/Library/Developer/Xcode/DerivedData/rn0471reproduce-fdeyxrhuiruhnzgprfosmoijckya/Build/Products/Release-iphonesimulator/rn0471reproduce.app/main.jsbundle does not exist. This must be a bug with'
error: File /Users/alekseypokhodnya/Library/Developer/Xcode/DerivedData/rn0471reproduce-fdeyxrhuiruhnzgprfosmoijckya/Build/Products/Release-iphonesimulator/rn0471reproduce.app/main.jsbundle does not exist. This must be a bug with
+ echo 'React Native, please report it here: https://github.com/facebook/react-native/issues'
React Native, please report it here: https://github.com/facebook/react-native/issues
+ exit 2

Reproducible Demo
https://github.com/pohodnya/rn0471_build_ios_release_error_reproduce

what does your babelrc file look like?

@chirag04, Full project you can see here, .babelrc here

Seeing this as well after upgrading from 0.42 -> 0.46.x .

This is a critical problem for me. When can you solve it?

I had the exact same problem. But I didn't upgrade my project or anything, it just stopped working.
After I removed my NVM it worked again.

I'm experiencing the same problem, except mine happens when I run react-native init <project-name>
@timvansteenis, What do you mean by removing the NVM? the node version manager?

Same problem with Android, stopped our automated pipeline for QA. Critical.

@timvansteenis  what you mean removed my NVM?
could you please explain?
thx

@gino8080 I removed my Node Version Manager. I guess the script was somehow using another version of Node.
The script that resulted in the error (when run from XCode) worked fine when i ran it from the terminal. That gave me a clue that it probably wasn't a bug in RN.

This appears to not be a bug in React Native, but a problem with how your environment is setup.
This is the script that xcode uses to determine which binary to use:
https://github.com/facebook/react-native/blob/6e99e314b232c315628c31f97a865c17c071ad23/scripts/react-native-xcode.sh
Notice you can explicitly specify a NODE_BINARY to use via env var. To debug, you can also compare which binary the script is pointing to by using which node inside of this script, and inside your terminal.
Mine for instance works fine like this:
/Users/tabrindle/.nvm/versions/node/v7.10.0/bin/node

@tabrindle yes, you are right. I find in my nvm list<EMAIL_ADDRESS>with default alias.
Yes you are right.
As a result, the following steps helped for me

completely remove the node from the mac os system with comand:
sudo rm -rf /usr/local/{lib/node{,/.npm,_modules},bin,share/man}/{npm*,node*,man1/node*}
delete all node versions from nvm
nvm install v6.10.0
nvm alias default 6.10.0

Glad I could help! Thanks for documenting what you did.

I had to change .babelrc file to :
{   "presets": ["react-native"],   "plugins": ["transform-decorators-legacy"],   "sourceMaps": true }


better API and logging for identity registry

What this PR does / why we need it: Let registry return errors for AddMapping and DeleteMapping; also added some logging to the registry.
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
Special notes for your reviewer:
Release note:

NONE

@crazytan: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-presubmit.sh
a0e4f01a391f68c5d07e1957e8eca43b32b95512
link
/test istio-presubmit

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


feat(pattern): utilizing the ContentSection in CardSection pattern

Related Ticket(s)
Related issue: #1196
Description
Utilizing the ContentSection for CardSectionSImple and CardSectionImages pattern
Changelog
New

Array cards being rendered using ContentSection pattern inside the CardSection

Changed

@photodow : updated the PR

@photodow: updated the PR


Dropdown's container should not be inline-block

Typically it is unexpected to have multiple components be inline-block by default.  Have to wrap the entire component in a div to style the  component easily.

Fixed by: https://github.com/DigitalRiver/react-atlas/pull/290


Problems with Flatview

I am using RNSketchCanvas inside flatlist
Works fine in android but in ios it scroll vertically after stroking a little.
Any idea why this happens
PFA

I have tried -
onStrokeStart={() => this.setState({ scrollEnabled: false })}
onStrokeEnd={() => this.setState({ scrollEnabled: true })}
  <FlatList
    data={model}
    renderItem={_renderItem}
    keyExtractor={_keyExtractor}
    extraData={this.state.index}
    scrollEnabled={this.state.scrollEnabled}
  />

Although this stops the scrolling , it doesnt work in the expected way.

Could be due to gesture responder system => FlatList becomes the responder instead of SketchCanvas
If so try adding props to FlatList to disable it's touches when stroking

Anybody found a solution for this issue yet?


Enable URLs with querystring

I know this is old, but I'd love to see this or something equivalent go in. In our app, all user-uploaded files are stored in an S3 bucket that's not publicly accessible. Rather than making an exception for images intended for maps, we inject presigned URLs into the CartoCSS for marker files, etc. Problem is, presigned URLs have query strings which are currently being stripped.

I just updated the branch to solve conflicts on CHANGELOG file.


Updates to k8s Let's Encrypt certs with domain wildcards

The current k8s LE certs are created for these domains:

production

DNS name: docker-ucsb-4.dataone.org

this will be updated to: api.dataone.org when that domain name is active

development

DNS name: api.test.dataone.org
DNS name: stage.gnis-ld.org

It has been proposed that these certs are updated to include these, and possibly other domain wildcards:

production

DNS name: *.dataone.org

this will allow docker-ucsb-4.dataone.org, api.dataone.org, etc

DNS name: *.gnis-ld.org

development

DNS name: *.test.dataone.org
DNS name: stage.gnis-ld.org

@nickatnceas indicates that updating these certs with wildcards will require using the certbot AWS Route53 plugin.
In order to use this plugin it is necessary to create a locate AWS access key, from an AWS Identity and Access Management (IAM). Also, our create wildcards may interrupt his workflow and require he may need to setup a new AIM user.
I haven't setup an IAM user, so not sure of the details of the conflict here.
@mbjones instead of creating the k8s certs with wildcards, is is sufficient to just create the certs as:

production

DNS name: api.dataone.org
DNS name: gnis-ld.org

development

api.test.dataone.org
stage.gnis-ld.org
Note that creating these certs doesn't require the certbot amazon plugin and related IAM user.

What is the use case for wildcards for k8s?

Getting a wildcard cert from certbot requires the use of the AWS R53 API plugin, which requires read/write access to the full domain in AWS (in this case dataone.org and gnis-ld.org). We have this plugin running on a couple other hosts where it's the only option, but I try not to use it if it doesn't provide any benefit, just for security reasons.
Our docs for setting up the AWS R53 plugin: https://github.nceas.ucsb.edu/NCEAS/Computing/blob/master/ssl_certificates.md#generate-certificates-using-aws-route53-for-verification
And the official docs (see the Caution warning): https://certbot-dns-route53.readthedocs.io/en/stable/

Yeah, we don't have to use wildcards. I was just curious if it would make adding new services under new hostnames easier -- sounds like it will be harder, and that we should stick with updating the LE certs each time we need a new hostname added for a new service. Many of the DataONE services will be under api.dataone.org, so hopefully it will be relatively rare.


Add the projects data for the pod !

The projects data in this portfolio is not what our pod is working on , so I want to change that and add the projects on which we are currently working.

@akshitadixit I did discus this with my teammate . As this is a small issue, I would like to work on it alone !

Make sure you keep a tab on #6 as well

Make sure you keep a tab on #6 as well

Sure !


Update README to use sublist for running first available formatter

-    -- Conform will run the first available formatter
-    javascript = { "prettierd", "prettier", stop_after_first = true },
+    -- Use a sub-list to run only the first available formatter
+    javascript = { { "prettierd", "prettier" } },

This syntax was explicitly deprecated by #491. Why are you trying to bring it back?

Confusion on my part. I was using an older rev, 25d48271e3d4404ba017cb92a37d3a681c1ad149, and saw that the description for stop after first functionality did not match up on the README.md and :help conform-options. My mistake.


Integrate aider to solve complex issues

Hi @haesleinhuepf,
I like the idea of interacting with the code base through issues like here (either Github or even better Gitlab) and that any suggested changes are created as MR.
I know you have probably seen https://aider.chat/  which uses different LLMs for code architect or implementer/editor.  As far as I played with it, aider also seems to break down more complex changes in to multiple commits. I think, this sort of approach (maybe using aider as backend) would be good for gitbob.
git-bob comment

git-bob solve

Can people like me trigger the Github Actions of your repo with your OpenAI key?
Ah, I just saw that you thought of that.

I also thought of integration with aider, see:

https://github.com/Aider-AI/aider/issues/1022

How much experience do you have with aider @VolkerH ? I heard that it's quite expensive in use... that's why I was hesitant yet in implementing this bridge...

Not much first-hand experience.
I did give it a try for about an hour or so. Also made the mistake of adding too many files as context which can get expensive as it is lots of tokens.
I just like the approach of having the architect that breaks the think down into smaller steps, the implementer that creates a commit for each of those steps and thought aider is already implementing this. (I am not sure how well they are doing this).
As a user interface, I would think the approach via Gitlab/hub is superior to CLI because:

you not only have a commit history, you also have the whole specification (initial prompt) and conversation with the LLM in your history
using the existing review functionality in Gitlab/hub it is much more natural to point out at which particular sections you want changes from the LLM.

I envisage a workflow like:

Create the issue in which you explain the use case and background information, maybe including some images for a multi-modal LLM
Provide specifications in an issue comment
[Optional] Outline your own idea of the main steps/architecture
Have a conversation with git-bob about the architecture spanning several isse comments.
Once the conversation has narrowed it down to reasonable steps, ask git-bob to implement these steps
git-bob then makes a branch and creates commits step-by-step, opens a Pull Request.
user uses the PR review tools to comment and ask for changes
user can pull branch make final edits, try out cod, push
iterate over last steps

I see some of this conversation implemented in aider, some in git-bob. For me, both are still proofs-of-concept that I would have trouble using productively, but I can see this becoming super-useful in a couple of years

I just like the approach of having the architect that breaks the think down into smaller steps, the implementer that creates a commit for each of those steps and thought aider is already implementing this. (I am not sure how well they are doing this).

git-bob also does that. I think the approach is inspired by github copilot workflows.

Have a conversation with git-bob about the architecture spanning several isse comments.
Once the conversation has narrowed it down to reasonable steps, ask git-bob to implement these steps

That's exactly how git-bob works :-)
See #378

For me, both are still proofs-of-concept

Exactly. I called it "functional proof of concept" in the preprint. And I'm using it in some project for simple tasks. Also in my opinion we need to work like this to move the technology forward.

Ah. I hadn't looked at the pre-print. That spells out everything already, in particular this:

Discussions with git-bob and resulting code-modifications
are conserved in an online-platform that others can read and
follow,  making  the  interaction  with  the  AI-assistant  fully
transparent,

... which is what I think is really the advantage over aider, or editor integrations such as cursor.ai or continue.dev.
Cool.
Now you could create a fancy website for git-bob and try to rake in a few million $$ venture capital like cursor or continue ...

which is what I think is really the advantage over aider, or editor integrations such as cursor.ai or continue.dev.
Cool.

I hope the reviewers agree. 🤞
And they will ask for gitlab suppprt as well. So thanks for opening the other issue. The discussion there is also a nice example 🌞


Missing hostname in open_vswitch . external-ids, which leads to error in ovn-nbctl startup

I tried to setup the cluster via playbook in contrib section and I try to setup on aws.
I observed that my containers were not able to access internet. I had setup a cluster previously using same playbook and infra where containers were able to access internet.
When debugging, I found that on linux-minion node
ovn-nbctl list logical_router ovn-nbctl: unix:/var/run/openvswitch/ovnnb_db.sock: database connection failed (No such file or directory)
Also I found some error logs as follows:
Oct 03 07:44:10 ip-10-224-142-226 ovs-vsctl[31345]: ovs|00001|vsctl|INFO|Called as ovs-vsctl --no-wait set Open_vSwitch . external-ids:hostname= Oct 03 07:44:10 ip-10-224-142-226 ovs-vsctl[31345]: ovs|00002|db_ctl_base|ERR|external-ids:hostname=: argument does not end in "=" followed by a value.
When i run the command ovs-vsctl get open_vswitch . external_ids, I get following output
{
"k8s-api-server"="http://<IP_ADDRESS>:8080",
"k8s-api-token"="xxxx_a_long_token",
ovn-encap-ip="<IP_ADDRESS>",
ovn-encap-type=geneve,
ovn-nb="tcp:<IP_ADDRESS>:6641",
ovn-remote="tcp:<IP_ADDRESS>:6642",
ovn-remote-probe-interval="100000",
rundir="/var/run/openvswitch",
system-id="f0b523fd-1984-48c5-8b87-0595ff29d34a"
}
I destroyed the infrastructure and tried again multiple times, even tried with older commits which definitely were working but everytime now I am getting this issue. Request for some pointers on how to resolve. Thanks!

ovn-nbctl list logical_router ovn-nbctl: unix:/var/run/openvswitch/ovnnb_db.sock: database connection failed (No such file or directory)

This is probably because you did not use sudo?

I was logged in as root so sudo should not be problem. Problem is internet access from containers have stopped working and with my very limited grasp of ovn-k8s, i thought this might be issue as seen in logs.

And you rant the command in master node?
Were pods able to ping each other across hosts?
I guess, you no longer have the setup?

The command failed on linux-minion node. It ran successfully on master node.
I did not check for pods being able to ping each other. I will quickly recreate the setup, test and update here as it is actually reproducible issue for me.

The command failed on linux-minion node. It ran successfully on master node.
It is only supposed to run correctly on master node.

Once you have the reproduction, do print in the o/p of ovn-nbctl list logical_router_static_route
and ovn-nbctl show.
From the nodes, try to ping to your pod IPs (pods in the same node as well as other nodes).
From inside the pod, try to ping the nexthop of your VM. This IP will also be seen in the o/p of  ovn-nbctl list logical_router_static_route with output_port set and ip_prefix is <IP_ADDRESS>/0

Hi, recreated the setup and reproduced the issue.

From the nodes, i am able to ping the pods successfully.
Pods are able to serve https requests across hosts.
Output of ovn-nbctl list logical_router_static_route and ovn-nbctl show is same ovn-nbctl: unix:/var/run/openvswitch/ovnnb_db.sock: database connection failed (No such file or directory). Could not ping ip of next-hop as command for determining didn't work

Output of ovn-nbctl list logical_router_static_route and ovn-nbctl show is same ovn-nbctl: unix:/var/run/openvswitch/ovnnb_db.sock: database connection failed (No such file or directory). Could not ping ip of next-hop as command for determining didn't work

You have to run this on master.

Yes, you are absolutely correct! I am able to ping the actual ip address of google.com but not google.com. I will add an edit in the comments above .

You can look in /etc/resolv.conf and see the IPs listed there. What are those IPs? Can you ping them? May be the kubernetes cluster DNS pod is not running?

From within the pod, output of /etc/resolv.conf
root@webserverlin2-798dbcf665-6xz6x:/# cat /etc/resolv.conf
nameserver <IP_ADDRESS>
search default.svc.cluster.local svc.cluster.local cluster.local devfactory.local
options ndots:5

From master node:
root@ip-10-224-131-107:~# cat /etc/resolv.conf
domain devfactory.local
search devfactory.local
nameserver <IP_ADDRESS>
nameserver <IP_ADDRESS>
nameserver <IP_ADDRESS>
nameserver <IP_ADDRESS>

From within the pod, I am not able to ping <IP_ADDRESS> but i can ping <IP_ADDRESS>

From within the pod, I am not able to ping <IP_ADDRESS> but i can ping <IP_ADDRESS>

That explains why DNS resolution does not work. What is <IP_ADDRESS>?

No such entity in my infrastructure/subnet and looks like kubernetes specific. I will try to find out its source. Thanks!

Hi @shettyg ,
I found the source of <IP_ADDRESS>, it is set in the ovn-kubernetes repo itself as a playbook variable here.
I am not sure why it has suddenly stopped working, because i have used the playbook in past and it worked well. Any pointers on how to proceed ?
Also I am not sure if the playbook in the contrib section also sets up kube-dns ?

Hey guys, I attempted to setup on google cloud engine, also tried changing kubernetes version but facing the same error. Would really appreciate any pointers to proceed.
Thanks!

Hi @cn-mayank , the playbooks are not deploying kube-dns yet unfortunately. You could try to set it up manually in the meanwhile until the support is added in the playbooks. Besides the DNS issue, do you have any other issues? Also, thanks for trying it out!

Hi @alinbalutoiu , what is the significance of ip <IP_ADDRESS> which is coded in the playbook here. This ip gets supplied to kubelet command as argument as well and is not reachable from container.
Also do you thing ovn-nbctl list logical_router ovn-nbctl: unix:/var/run/openvswitch/ovnnb_db.sock: database connection failed (No such file or directory) is related to dns issue ?

Hi @cn-mayank , that is the IP of the dns service which is not getting created by the playbooks at the moment.
ovn-nbctl list logical_router - are you running this command from one of the master nodes as root?

Thanks for the clarification! I will setup dns manually to proceed further


remote storage adapter - allow log level adjustment

Suggested Tags:

component/remote storage
priority/P3
low hanging fruit

Comments on work:

adjust the hard coded "debug" log level to allow for change.

go-kit and promlog allow the same defaults
listed available options

adjust formatting to be consistent
change startup message
add some additional start logging

Maintainer review request:

@juliusv

@juliusv @brian-brazil @fabxc
Hi guys,
Is there anyway either you guys could adjust the hard coded value to accept passing the go-kit/promlog defaults?
I think I read somewhere this adapter may be going away, but it would be a nice minimal adjustment in the mean time.
Thank you,
Peter

Hmm, dupe of https://github.com/prometheus/prometheus/pull/3880 ?

Yip, dupe.


JAVA-2792: Allow custom results in the mapper

TODO:

[x] add a processor flag to opt out of custom types. I think having them on by default is the right choice, but if someone is not using them, it could be nice to have a way to go back to the stricter compile-time checks.
[x] javadocs
[x] manual. This deserves a dedicated page.
[x] add nullability annotations
[ ] document custom return types in the annotations' javadocs

Side question:
when using a new approach in Quarkus Native mode the mapped producers are not found:
 Unhandled asynchronous exception, sending back 500: java.lang.IllegalArgumentException: No request processor found for com.datastax.oss.driver.internal.core.cql.DefaultBoundStatement@10d28ad08
	at com.datastax.oss.driver.internal.core.session.RequestProcessorRegistry.processorFor(RequestProcessorRegistry.java:54)
	at com.datastax.oss.driver.internal.core.session.DefaultSession.execute(DefaultSession.java:227)
	at com.datastax.dse.driver.api.core.cql.reactive.ReactiveSession.executeReactive(ReactiveSession.java:60)
	at com.datastax.oss.quarkus.runtime.internal.session.DefaultQuarkusCqlSession.executeReactive(DefaultQuarkusCqlSession.java:65)
	at com.datastax.oss.quarkus.runtime.CassandraClientProducer_ProducerMethod_createDefaultCassandraClient_56bb2685a5ebdaa8256d5379e1323898239219fa_ClientProxy.executeReac

The previous approach was working in a native mode, maybe you have an idea why it may not work in the Quarkus now?

OK, I think everything has been addressed. I'll leave this open until tomorrow so that @tomekl007 can take one last look.


API Key

From where I can get API key ? What are the charges and can you give some information regarding speech emotion models which exist ?

Hi @VSK02101996, thanks for your interest in Hume's emotion models. We're still in private beta, but we'll be rolling out access continuously. If you'd like to sign up for an API key please register on our waitlist.
If you'd like to learn more about the models we provide and the science behind them please check out our website.


map bitmap is partially corrupted in Valheim test release 0.219.10

The mod appears to function as it has before until the in-game map is opened, revealing strange rendering artefacts:

Also, it is not producing .png files in the screenshots directory as it used to with normal version of Valheim. This happens with NomapPrinter v1.3.6 and v1.3.5. I'm running Valheim Linux native version from Steam on Fedora 40.

I have no idea what's happening if you have no errors in log file.
You can try clearing cache located in ...\BepInEx\cache\shudnal.NomapPrinter

The following is repeated multiple times in the Play.log:
Stack trace:
NomapPrinter.MapViewer.Update () (at <3f7f1f2d4d224a59afdc9ec4848a9b17>:0)
NomapPrinter.NomapPrinter.Update () (at <3f7f1f2d4d224a59afdc9ec4848a9b17>:0)

MissingMethodException: Method not found: single .ZInput.GetAxis(string)
  at NomapPrinter.MapViewer.Update () [0x00153] in <3f7f1f2d4d224a59afdc9ec4848a9b17>:0
  at NomapPrinter.NomapPrinter.Update () [0x00022] in <3f7f1f2d4d224a59afdc9ec4848a9b17>:0 ```

Ah I somehow missed. Yes it's broken for current PTB. I will fix this when
it comes live.
пт, 18 окт. 2024 г., 20:13 Daniel Challen @.***>:

The following is repeated multiple times in the Play.log:
Stack trace:
NomapPrinter.MapViewer.Update () (at <3f7f1f2d4d224a59afdc9ec4848a9b17>:0)
NomapPrinter.NomapPrinter.Update () (at <3f7f1f2d4d224a59afdc9ec4848a9b17>:0)
MissingMethodException: Method not found: single .ZInput.GetAxis(string)
at NomapPrinter.MapViewer.Update () [0x00153] in <3f7f1f2d4d224a59afdc9ec4848a9b17>:0
at NomapPrinter.NomapPrinter.Update () [0x00022] in <3f7f1f2d4d224a59afdc9ec4848a9b17>:0 ```
—
Reply to this email directly, view it on GitHub
https://github.com/shudnal/NomapPrinter/issues/14#issuecomment-2422907097,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AE4CTQVDQZA6B2EDKB6BIRTZ4E6SNAVCNFSM6AAAAABQGHQ7O6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRSHEYDOMBZG4
.
You are receiving this because you commented.Message ID:
@.***>

1.3.7 should work on PTB. But I didn't change anything related to wrong image issue.

This problem (corrupted map, missing png file) is still occurring with the newly-released Patch 0.219.13 – The Bog Witch

Well without any info on the issue I can't even start to investigate.
I can't reproduce it myself so you have to do at least some basic  actions like enable logging and send a log file, trying other worls, other character, other data storage settings or other OS with the same world and character.

The problem appears to only affect one world/server. A fresh no-map world doesn't have the problem, but a fresh character on the existing world does have a strangely rendered map. I don't have easy access to other machines to test, but I will ask if one of my friends can install the mod and replicate the issue.
Player.log

For now, however, I guess we can close the issue unless I get more concrete information.

Did you try to delete cache?  That has made the problem go away, thank you. Sorry for taking your time.

Damn that's good news. I started to thinking something is wrong an this looks like malformed cache somehow. Or version difference idk. If you have another OS related issue don't afraid to ask again. This issue is really closed now.


Inconsistent world height

Polar: 1.1.2
Minestom: 9b15acf4fa
When i try convert 1.19.4 anvil world i have this error.
The console output https://pastebin.com/J3ffUqtU
        at Ext_myherolib//net.hollowcube.polar.AnvilPolar.readAnvilChunks(AnvilPolar.java:106)
        at Ext_myherolib//net.hollowcube.polar.AnvilPolar.anvilToPolar(AnvilPolar.java:52)
        at Ext_myherolib//net.hollowcube.polar.AnvilPolar.anvilToPolar(AnvilPolar.java:36)
        at Ext_myheroblockwars//com.windskull.mhblockwars.WorldManager.<init>(WorldManager.java:61)
        at Ext_myheroblockwars//com.windskull.mhblockwars.WorldManager.getWorldManager(WorldManager.java:97)
        at Ext_myheroblockwars//com.windskull.mhblockwars.MhBlockWarsCore.initialize(MhBlockWarsCore.java:12)
        at java.base/java.util.LinkedHashMap$LinkedValues.forEach(LinkedHashMap.java:647)
        at net.minestom.server.extensions.ExtensionManager.gotoInit(ExtensionManager.java:127)
        at net.minestom.server.ServerProcessImpl.start(ServerProcessImpl.java:216)
        at net.minestom.server.MinecraftServer.start(MinecraftServer.java:322)
        at net.minestom.server.MinecraftServer.start(MinecraftServer.java:327)
        at world.cepi.sabre.server.Sabre.boot(Sabre.kt:63)
        at world.cepi.sabre.SabreLoader.boot(SabreLoader.kt:10)
        at world.cepi.sabre.SabreLoader.main(SabreLoader.kt:14)```

Sabre is not maintained anymore and should not be used. You are actually using whatever minestom version that sabre was compiled with, not the one you wrote a dependency on.
Regarding the inconsistent world height exception, Polar worlds are required to be a uniform height. I assume your anvil world is not fully upgraded to the latest version (eg some chunks have 256 world height, some have 384). By default Polar converts all chunks in all regions in the world, either make sure all chunks are upgraded to the latest version (eg by loading them in a vanilla client/server) or use a ChunkSelector to only convert the relevant (and upgraded) chunks. For example, to convert only a 5 chunk radius around 0,0:
AnvilPolar.anvilToPolar(Path.of("/path/to/anvil/world/dir"), ChunkSelector.radius(5));

I compiled Saber myself on the version I specified, the world was created in World Painter with an export to version 1.19 and I did "Optimalize World" on it to version 1.19.4 just to be sure, I only loaded the area of 20 chunks and looks like everything is fine, but it seems a little strange to me that I get this error because the world was never run on a version lower than 1.19.

That is strange, maybe world painter does something odd in the chunks at the edge or something, I have not tried it.


Qa

Coverage decreased (-0.3%) to 83.979% when pulling f0899fd50931d2f3d18fd64c51f5630ec117cef2 on qa into 213108b6c412434e7d07b33c3a71b36bbefc22e6 on master.


[BUG] Placed foliage disappearing on scene reload as well as after starting/playing scene

Godot version
"4.2.1"
Plugin version
"1.3.1 (stable) as well as current master branch"
Platform
"Windows 10"
Issue description
Meshes which are placed with the painting tool in a scene disappear if we play the scene via the "play scene" option in the editor.
In addition to that, saving and reloading the project also gets rid of the meshes. (Sometimes empty MultiMeshInstance nodes get left over in the gardener.)
I was also able to reproduce the same bug by switching between larger scenes (only happening in a larger project, I presume due to Godot loading/unloading scenes dynamically to avoid high memory usage?)
Steps to Reproduce
1.) Download attached "FoliageTest.zip" and extract. (uses current addon from master branch)
2.) open test.tscn, click on "Hardener" and select "Greenhouse_Plant_State"
3.) Start painting on the plane. Green blocks should appear.

4.) save the scene with CTRL+S and start playing the scene. The cubes aren't visible:

5.) closing and reopening the project also causes the cubes to disappear/not render properly.
Minimal reproduction project
FoliageTest.zip
Apologies in advance if i'm missing crucial info here and/or if i'm not using the tool properly.
I saw this bugreport: https://github.com/dreadpon/godot_spatial_gardener/issues/36
Although in my case it doesn't have to do with the LOD distance. (I'ts by default on -1.)
I'll dig through the code to see what could be causing this but just in case i wanted to post this bugreport here.
In any case thank you for this great tool. :)
/EDIT:
Just found out that this bug happens if you use "SpawnedNode3D" instead of "Mesh" in the LOD settings. With regular meshes (.tres) files it works fine.

Fixed by https://github.com/dreadpon/godot_spatial_gardener/commit/4b045a1e2507b56454d0026d5a4b2f97bfc59ace
The issue was caused by a fix aimed at avoiding Vulkan buffer issues with MultiMesh resources (https://github.com/godotengine/godot/issues/68592) which set MultiMesh of an OctreeNode to null whenever it was outside the kill threshold.
Fixed by not doing that anymore and opt to just nulling the MultiMesh.mesh itself.
The Vulkan issue above was also also fixed, as there was an orphan Node which kept reference to OctreeManager resources and by extension MultiMesh. It didn't need to be a Node, so it was changed to RefCounted.


[Core] Add eq comparison to BatchElementError

Description
Closes #862

[X] I have updated the release notes.
[X] I have updated all relevant user documentation.

Reviewer Notes

Test Instructions

Just a note that #880 added some more tests 🙃

Note that for git autosquash to work, the fixup commits should be prefixed with fixup!, not !fixup.


[SPARK-47186][DOCKER][FOLLOWUP] Reduce test time for docker ITs

What changes were proposed in this pull request?

This is a follow-up of SPARK-47186, which accidentally increased the test time by about 80 minutes.
After some investigation, I have found that PullResponseItem.getProgressDetail is the root cause.
In this PR, we remove the codes that touch it.
Why are the changes needed?

Save CI time from ~120 minutes to ~40 minutes
Does this PR introduce any user-facing change?

no
How was this patch tested?

Was this patch authored or co-authored using generative AI tooling?
no

Thank you for keeping monitoring and working on this, @yaooqinn .


KeyStoreManger has only one constructor

Hello dev team.
I really wondering why you decided to implement only one constructor for keystoremanager that provides ability ONLY ready wallets from file.
F.e.  Im storing my wallets in keychain and I need

get wallets from keychain
serialize them to user's directory
construct KeystoreManager
Start using the web3

Please add simple constructor to init KeyStoreManager with AbstractKeystore/EthereumKeystoreV3

I've included those in the last git commit, now you can construct manager from a set of either v3 or bip32 keystores. Initial design was to provide a convenient method for developer to store all the keystores in a folder and just read from there.
Please note that storing keystores themselves in keychain is not necessary, there is no unencrypted private data in those. You can even iCloud backup and sync those. Although password MUST be stored in a keychain if you save it on behalf of the user.
Sincerely, Alex


SCRCPY NOT OPENNING AFTER LAUNCH

i got this promt when i open my scrcpy
recently i can use this file but before i disconect to the wifi cause im using wireless mode.. and i turn back to cable this message pop up and my scrcpy does not open anymore

What is the result of adb devices?

the promt flick 3 times then it disappeared
when i open the scrcpy-console.bat this pop up
scrcpy 3.0 https://github.com/Genymobile/scrcpy
ERROR: Could not list ADB devices
ERROR: Server connection failed
Press Enter to continue...

the promt flick 3 times then it disappeared

https://github.com/Genymobile/scrcpy/blob/master/doc/windows.md#run

ERROR: Could not list ADB devices

There's a problem with adb.
What is the result of adb devices if you execute it from a terminal (opening open_a_terminal_here.bat)?

im not programming literate.. what can i do to fix this?

i just closed the scrcpy (i was in wireless connection) then when i open it back it doesnt open

To get the error message, you must execute as described here: https://github.com/Genymobile/scrcpy/blob/master/doc/windows.md#run

scrcpy 3.0 https://github.com/Genymobile/scrcpy
ERROR: Could not list ADB devices
ERROR: Server connection failed
Press Enter to continue...
this is the message i get

i cant read the commad scrcpy --help because it flashes the prompt then immidietly disappered

i cant read the commad scrcpy --help because it flashes the prompt then immidietly disappered

How do you launch it precisely? (scrcpy --help).
What's the result of adb devices -l?
Might be related to #5001.


Add findit commands for locating other versions of objects

Takes advantage of commit 103 in the main traad repository.
This interfaces with the traad server to allow the user to utilise the findit module
in Rope. This commit primarily adds three user-facing commands (plus backend
logic):

`traad-find-occurrences' - Display occurrences of the object under point. Includes unsure occurrences.
`traad-find-implementations' - Display implementations of the object under point.
`traad-find-definition' - Display the definition of the object under point.

All commands display their results in a dedicated buffer, with shortcuts to
preview the result and visit it directly. For example, here are some results for
a call to the traad-find-occurrences command:
(Command called on args in extract_variable_view)

Note that this also removes the previous, commented-out versions of these
commands.

I'm going to approve this without doing a thorough review. I figure we'll iron out any problems with it as we go; it's good to have the core functionality in place.
I had abandoned this work initially because the support for finding stuff in ycmd and other frameworks was pretty solid. But rope seems to be getting better and better lately, so it's good to have this feature back!

Thanks - feel free to ping me if any issues come up.
I figured it might be down to YCMD. It seems powerful. I like that Traad is easy to install, simple and modular so I'm glad you're happy to have this back! :)


nixos/fcgiwrap: add option migration instruction errors

Description of changes
This adds migration instructions for the removed global shared instance
configuration of fcgiwrap.
Adding those explicit messages to the previous options requires moving
the newly defined options from services.fcgiwrap.* to
services.fcgiwrap.instances.* due to an option namespace clash.
mkRenamedOptionModule was not used because the previous options do
not directly map to the new ones. In particular, user and group
were described as setting the socket's permission, but were actually
setting the process' running user.
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[x] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/can-we-please-stop-breaking-stuff-willy-nilly/48496/30

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/can-we-please-stop-breaking-stuff-willy-nilly/48496/31

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/can-we-please-stop-breaking-stuff-willy-nilly/48496/38

An alternative would be of course to just forbid instance names that conflict with an old option for a while (i.e. one release cycle).

An alternative would be of course to just forbid instance names that conflict with an old option for a while (i.e. one release cycle).

That's not an alternative, because it still blocks top-level options from being introduced.

Any movement on this? I think we ought to decide what to do about stable (warnings, hard errors, full backport, just release an advisory nobody will read, …) after we figure out what we’re doing here.

I'd like this PR and #326315 to be merged on master before I can work on the backport and the advisory.

Mind if I push the button on these, or is anything still missing?

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/security-advisory-local-privilege-escalation-in-the-fcgiwrap-nixos-module-also-affecting-the-cgit-smokeping-and-zoneminder-modules/51419/1


Does feature-based CFG support generation like CFG does?

with nltk.CFG, it is possible to generate sentences recognized by a CFG grammar:
http://www.nltk.org/howto/generate.html
But is it possible to do the similar generation for feature-based CFG (https://www.nltk.org/book/ch09.html#ref-load_parser1)?
And if not, is there a relatively-easy workaround to enable the generation?
What comes in my mind is to use CFG to generate sentences and then use more detailed F-CFG to keep only recognized sentences.
I don't have in mind more complex language to generate than the grammars offered here:
https://www.nltk.org/book/ch09.html#ref-load_parser1
Just with a larger lexicon.

Apparently, it does!
The trick was to get grammar object for F-CFG by:
from nltk.data import load
grammar_file = 'PATH TO GRAMMAR FILE'
grammar = load(grammar_file)


Setup per service routing keys

Switch on-call alerts over to service specific routing keys to handle situations where a given service is under maintenance or needs a different person on call

@alecps Where would you put this in terms of priority?

@alecps we seem to be in a good spot now, do you think this is still a priority?

@aslawson @nambrot  I think p3 makes sense for now. I'll bring this up for discussion during the ops sync


Light theme for Terminal.app

Environment:

macOS 12.5
Terminal.app

Would it be possible to add a profile file for Terminal.app for the light variation of this color scheme? Unless I'm missing something, the downloadable profile only includes the dark variation.

There is no official release for the light theme, but you can generate it yourself using terminal.sexy and .Xresources.
See this section for more information:
https://github.com/cocopon/iceberg.vim/tree/5ac9da61e8626d1218498a35e515f36387efe454#terminal-emulators


Unexpected Recompositions

Please complete the following information:

Library Version v2.1.9
Affected Device(s) All

Describe the Bug:
This has ended up a bit long and it is possible I've not 100% understood how compose is skipping/recomposing things so if you think there is something wrong do let me know, but the below is my understanding of things and matches up with debugging and logging on the app.
Lets say you have a screen that takes a state data class State(name: String, image: String). You use glide to display the image and text for the name
fun Screen(state: State) {
    Column {
        GlideImage(imageModel = { state.image }, modifier = Modifier.size(56.dp))
        Text(state.name)
    }
}

if you call this function again with a new state where the name is different, but the image is the same, this causes GlideImage to recompose (the generated lambda captures the state, state has changed so composable is not skipped).
Inside the GlideImage, the lambda is calculated and put inside a StableHolder (side note, seems odd that the imageModel labda is invoked twice - once for the recomposeKey and once for the builder. For most cases this does not seem an issue but if you are doing some other calculations there does not seem ideal).
The StableHolder I assume is to allow compose to skip the inner GlideImage call if the actual model hasn't changed - it is marked as @Stable, but then does not implement equals - compose will only consider these classes the same if the are the same instance, but GlideImage is creating a new StableHolder on every recomposition so the inner GlideImage will never be skipped. It seems to me that StableHolder should implement equals and delegate to the value as to whether it is equal to - though this may be risky if the value used can't be treated as stable (e.g. it has mutable properties), or the outer GlideImage should be creating the StableHolder with some sort of remember call e.g. recomposeKey = remember(invokedModel) { StableHolder(invokedModel) } (which would mean the same instance if the invoked model is equals).
As another recomposition bit of fun, we found some instances where the FlowCustomTarget was created twice, and one instance got the size callbacks registered on, and the other instance got the constraints given to it. It looks like new targets are created based on remember(recomposeKey, imageOptions), but the executeImageRequest is launched based on just LaunchedEffect(recomposeKey), so if just the options change then there is a new target where the constraints are set, but the glide request is still based on the original target.
Expected Behavior:
Passing in the same model (for models that implement equality) does not cause unnecessary recompositions/glide loads.

They @jd565, thanks for reporting important issues!
The StableHolder will be changed as a data class, and imageOptions will be used for a recomposition trigger in the ImageLoad composable in the next release.

@jd565 Now you're available the patch version with the latest snapshot. Thanks for reporting this issue!


WIP for v4

@bluebill1049 Congratulations on releasing v4 🎊
I'll translate into Japanese! 🇯🇵

Thanks @kotarella1110! I have organise the data folder better as well now.
Merry Xmas and Enjoy your holiday! and Thank you for being a great team member along the year 🙏


asset name in AndroidStudio should suggest auto-completions from assets configured in pubspec.yaml

When for instance creating an Image.asset() in AndroidStudio the assets name should suggest auto-completions from the assets already configured in pubspec.yaml.
On a second revision a preview of the asset should appear both inline and on the documentation tooltip.
On a third revision, it would be nice to have an option to add an asset from file (for when you forgot to add the asset you wanted to pubspec.yaml), which would automatically add it to a default assets folder, and also add it to pubspec.yaml, run a packages get, and finally auto-complete it.

A first step could be a Dart file generated with string constants for each path. This way assets could be selected like icons with Icons.sear....
I thought I saw a PR about that already a while ago but wasn't able to find it just now.

Should this be in flutter/flutter-intellij ?

Issue moved to flutter/flutter-intellij #2580 via ZenHub


Try to use container image from local cache first

We want to use container image from local cache first as default,
if image is not present in local cache then try to download and
extract it from remote.
Fixes https://github.com/rancher-sandbox/cOS-toolkit/issues/1279
Signed-off-by: Michal Jura<EMAIL_ADDRESS>

Easy solution here would be to add a --local flag to all the commands using the unpack and pass that down to the unpacker


CI is not running.

CI is down and is probably due to our own jenkin cluster is not running or misconfigured.
Managing our own Jenkin cluster is  both tedious and susceptible to downtime. A better approach is to use a manage CI/CD service such as Travis or CircleCI.

The CI should be fixed now. The etcd-bot credentials on jenkins were out of date so the pull-request-builder plugin wasn't working.
Ideally we should move to a managed service like travis instead of using our own (increasingly unmaintained) jeknins cluster.


Added Service Instance Logging initial release.

@dkoper it looks like I sent the PR while the repo with the release binaries was private. I have now made the repo public. I wasn't able to get the Travis build to run again. Can you kick off the Travis build to verify this PR? Thank you.

Done! Thanks.


No resource identifier found for attributes

Hey there,
I just can't get around these errors below. Could you please send me some tips?
Error:(2) No resource identifier found for attribute 'rv_centered' in package 'my.package.example'
Error:(2) No resource identifier found for attribute 'rv_rippleDuration' in package 'my.package.example'
Error:(2) No resource identifier found for attribute 'rv_ripplePadding' in package 'my.package.example'
Error:(2) No resource identifier found for attribute 'rv_color' in package 'my.package.example'

When i add "compile 'com.github.traex.rippleeffect:library:1.2.4' it compiles, but i'm still unable to use PinActivity.

Why can't you use the PinActivity?
Indeed you have to compile rippleeffect with the library.
Cheers,
Olivier

@olivierg13 It looks like restarting Android Studio was the solution in my case. Anyways, thanks for replying so fast (and of course for awesome library)!

@olivierg13 ...yeah, so now i'm able to see PinActivity and other classess and their packages correctly, but another wild error appeared:
 Didn't find class "com.github.orangegangsters.lollipin.lib.views.KeyboardButtonView" on path: DexPathList

I'm also getting the 'No Resource Identifier Error' but restarting Android Studio didn't work. I've also double checked to my sure dependencies are correct

@alokedesai
Try adding this dependency on your build:
https://github.com/traex/RippleEffect
See the other threads on resolved issue, there are a few same discussions I guess

Yep :smile:, sorry didn't think to look at the closed issues

@alokedesai
No problem, I'm the first one to do that also ^^

@olivierg13 Could you link the thread you mentioned here?
I'm getting the same problem and already added the rippleeffect dependency.
18:45:28.220 [ERROR] [org.gradle.api.Project]  Position 29 : No resource identifier found for attribute 'tv_typeface' in package 'me.passos.apps.a2fa'
 Position 47 : No resource identifier found for attribute 'tv_typeface' in package '...
 Position 2 : No resource identifier found for attribute 'rv_centered' in package '...
 Position 2 : No resource identifier found for attribute 'rv_rippleDuration' in package '...'
 Position 2 : No resource identifier found for attribute 'rv_ripplePadding' in package '...'
 Position 2 : No resource identifier found for attribute 'rv_color' in package '...
 Position 15 : No resource identifier found for attribute 'tv_typeface' in package '...'

You should add this library into your gradle.build file:
compile 'com.github.omadahealth.typefaceview:typefaceview:1.3.0@aar'

@mseroczynski Any luck with getting that working?
I also am getting the class not found even with adding the additional libraries.

Thanks @ayhansalami , that's work.

Thanks @ayhansalami , that's work.


Toggle between search modes

[x] I have read through the manual page (man fzf)
[x] I have the latest version of fzf
[x] I have searched through the existing issues

Info

OS

[ ] Linux
[x] Mac OS X
[ ] Windows
[ ] Etc.

Shell

[x] bash
[x] zsh
[ ] fish

Feature request
Wouldn't the greatest search command of all time be able to dynamically choose/toggle through search modes, via bindings ?

Posix Basic Regular Expressions
Posix Extended Regular Expressions
Perl Compatible Regular Expressions
Glob Expressions
Literal Expressions

if this was a search command, sure but fzf is a filter that derives its input from search commands. Even fzf run just as $fzf
still derives its input from FZF_DEFAULT_COMMAND and does not handle searching. However, This can be achieved with the
--bind:F1:"reload(command that searches using posix regex {+f})"
--bind:F2:"reload(command that uses posix extneded{+f})"
--bind:F3:"reload(pearl compatible regex {+f})"
--bind:F4:"reload(glob expression {+f})"
--bind:F5:"reload(literal expression {+f})"

you could have them all on one such as
declare -a list
list=( "poxix regular command" "posix extended command" "pearl regex" "glob expression" "literal expression" )
--bind:F1:"reload(select choice in "${list[@]}";
do
case $choice in
            posix regular command)
                                     command using posix regular against {+f}
                             ;;
            posix extended command)
                                     command using posix extended against {+f}
                            ;;
            perl regex)
                                    command using perl regex against {+f}
                           ;;
            glob expression)
                                   command using glob expression agasint {+f}
                        ;;
            literal expression)
                                  command using literal expression against {+f}
                          ;;
esac
done


Change fonts on different components

Hi, I started a migration from bootstrap to material-ui.
one of the things that I noticed was that I can not set directly the font size of a component using the MuiThemeProvider. for example, I would like to have all the select and text fields to have an inner text with a font size of 12 instead of 16, isn't there a way to achieve this easily?
I saw in your code of the text field the following:
const styles = {
    root: {
      fontSize: 16,
      lineHeight: '24px',
      width: props.fullWidth ? '100%' : 256,
      height: (props.rows - 1) * 24 + (props.floatingLabelText ? 72 : 48),
      display: 'inline-block',
      position: 'relative',
      backgroundColor: backgroundColor,
      fontFamily: baseTheme.fontFamily,
      transition: transitions.easeOut('200ms', 'height'),
      cursor: props.disabled ? 'not-allowed' : 'auto',
    },
... other styles.....
}

so, the font can not be set using the theme provider  (context) and it would be good to have this and set different font sizes using that theme provider.

I started a migration from bootstrap to material-ui

Consider using the v1-beta branch over v0.x.

isn't there a way to achieve this easily?

Yes, there is with v1. It's in the documentation.

@Princezhm The master branch is in a low maintenance mode. We don't plan any work on it. However, we still do our best to review and merge pull requests that fix bugs on this branch.

@oliviertassinari  thanks for your answer, I started moving forward to beta. thanks, it helps a lot.


Use DB_CHARSET utf8mb4 by default

Since April 2015, WordPress uses utf8mb4 by default. It would be nice if you do so as well in config/application.php.
When I got this error using wp import export.sql:
ERROR 1366 (HY000) at line 215: Incorrect string value: '\xF0\x9F\x8C\xAE" ...' for column 'option_value' at row 1
It cost me some time to realize, that my wp-config was wrong.
Changing
define('DB_CHARSET', 'utf8');
to
define('DB_CHARSET', 'utf8mb4');
resolved it.

@ideadapt thanks, updated.


[Breaking] Add training to batchnorm with exponential moving average

Ports the dfdx implementation of batch norm training to candle, which unfortunately requires breaking changes.

Changes the type of running_mean and running_var from Tensor to Var. I'm not sure if this is an intended use of Var, but it seemed to be the best fit for this use case.
Removes num_features parameter and adds momentum parameter to new and new_no_bias methods. The num_features parameter is redundant with the size of the given tensors.
Adds a forward_t method that shadows the ModuleT implementation. This makes batchnorm more intuitive in a ModuleT context, but could create confusion or have unexpected behavior for some use cases. Without this, however, forward_t(..., true) calls forward instead of forward_learning, so I'm not really sure of the trade-off here.

Thanks!


Featured items ranking

Option can be added to hide any of them from the main menu

Added on v2.16.0-beta.2.


Retry query for username

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


Implement duplicate method for Stdio, File and other owned handle types

…via dup/dup2 on unixes and DuplicateHandle on Windows.
Notably, this shouldn’t be generalised to Clone, because the handle/fd duplication might fail.

I'd also like to see implementations of AsRawFd and AsRawHandle as appropriate!

@alexcrichton not all kinds of handles can be duplicated, though.


[PDI-16786] Export linked resources uses deprecated variables

deprecated variables have been changed to ${Internal.Entry.Current.Directory}
unit-tests for exportResources have been added

Build Completed
:fire: This pull request has some issues. It would be preferable to fix them in order for it to be just perfect. See below for more details. Some links are also available below for further assistance in addressing those issues.
Build Commands
mvn -Dsurefire.runOrder=alphabetical -B -fn -f 'pom.xml' -pl 'engine,plugins/core/impl,plugins/meta-inject' -P '!assemblies' -amd clean install && mvn -B -f 'pom.xml' -pl 'engine,plugins/core/impl,plugins/meta-inject' -P '!assemblies' -amd site

Cleanup Commands
mvn -B -f 'pom.xml' -pl 'engine,plugins/core/impl,plugins/meta-inject' -P '!assemblies' -amd build-helper:remove-project-artifact

Changed files
  engine/src/main/java/org/pentaho/di/job/entries/job/JobEntryJob.java
  engine/src/main/java/org/pentaho/di/job/entries/trans/JobEntryTrans.java
  engine/src/main/java/org/pentaho/di/trans/StepWithMappingMeta.java
  engine/src/main/java/org/pentaho/di/trans/steps/jobexecutor/JobExecutorMeta.java
  engine/src/test/java/org/pentaho/di/job/entries/job/JobEntryJobTest.java
  engine/src/test/java/org/pentaho/di/job/entries/trans/JobEntryTransTest.java
  engine/src/test/java/org/pentaho/di/trans/StepWithMappingMetaTest.java
  engine/src/test/java/org/pentaho/di/trans/steps/jobexecutor/JobExecutorMetaTest.java
  plugins/core/impl/src/main/java/org/pentaho/di/trans/steps/autodoc/AutoDocMeta.java
  plugins/meta-inject/src/main/java/org/pentaho/di/trans/steps/metainject/MetaInjectMeta.java
  plugins/meta-inject/src/test/java/org/pentaho/di/trans/steps/metainject/MetaInjectMetaTest.java

Unit Test Coverage
These statistics help you identify how your changes have affected the coverage of the following files. If a file is not in this list, then its coverage was not affected by your changes. To get some help interpreting these metrics, please refer to Jacoco's documentation.

:warning: Coverage Changes: <0.1% (click to expand)
org.pentaho.di.job.entries.evaluatetablecontent.JobEntryEvalTableContent

Branch Change: -1% :small_red_triangle_down:
Complexity Change: -1% :small_red_triangle_down:
Instruction Change: -0.2% :small_red_triangle_down:

org.pentaho.di.job.entries.getpop.MailConnectionMeta

Branch Change: -1% :small_red_triangle_down:
Complexity Change: -1.5% :small_red_triangle_down:
Instruction Change: -0.3% :small_red_triangle_down:

org.pentaho.di.job.entries.waitforsql.JobEntryWaitForSQL

Branch Change: -0.7% :small_red_triangle_down:
Complexity Change: -0.9% :small_red_triangle_down:
Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.constant.ConstantMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.datagrid.DataGridMeta

Branch Change: -2% :small_red_triangle_down:
Complexity Change: -1.7% :small_red_triangle_down:
Instruction Change: -0.2% :small_red_triangle_down:

org.pentaho.di.trans.steps.memgroupby.MemoryGroupByMeta

Branch Change: -4.5% :small_red_triangle_down:
Complexity Change: -5.2% :small_red_triangle_down:
Instruction Change: -0.3% :small_red_triangle_down:
Line Change: -1% :small_red_triangle_down:

org.pentaho.di.trans.steps.webservices.WebServiceMeta

Branch Change: -1.7% :small_red_triangle_down:
Complexity Change: -1.2% :small_red_triangle_down:
Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.salesforceinsert.SalesforceInsertMeta

Instruction Change: -0.1% :small_red_triangle_down:

@bmorrise @pamval @mchen-len-son @mdamour1976 please review


Feat/add archived to events 2

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Point pillars models

Add point pillars models contribution

The large files will be uploaded in a later PR.


add background property to Artboard

Fix #226

Warnings

:warning:

Source/dom/layers/SymbolMaster.js changed, but not:

📚 its docs
🧪 its tests

That's OK as long as you're refactoring.

  Generated by :no_entry_sign: dangerJS


Should be added with #1198 :)

Fixed! Thanks @Septimus


Matching commands precisely.

Only matching the command not whole message;
Commands now sending to Slack with quote '```';
Actions (e.g. login, logout) now sending to Slack with italic;
Normal messages now sending to Slack without mrkdwn parsing.
!!! Notice that I changed the version to 1.5.0. If you don't want it upgrade, please don't use auto merge on GitHub.

I'll have to review this one more. Again, thank you for contributing. It really helps me a lot.
Some initial thoughts (if I am wrong about something, please correct me):

we actually want to only see if a command contains an item in the blacklist
is there a benefit to disabling markdown parsing?

I think we can add this one as 1.5.0, since we're probably going to update it all in one batch, but I'm not going to do auto merge anyway, so I can update my own code and change a bit of yours.

Wow, I'm really sorry that I haven't reviewed this at all, I've just been really busy. I will see if I can get to it this weekend.

My thoughts are:

Arguments of some commands like /login and /msg, must be hidden causing some privacy problems.
Sending messages from Minecraft to Slack with Markdown parsing may cause some confusions. Take an example, the message from minecraft: (_(_( would be rendered to Slack like this ((( with the second ( in italic.

If these are mismatch with your initial thoughts, you can just skip this PR. :)

That sounds good.

Instead of using isAction, could we just add the _'s to the message itself?
send("_logged in_", event.getPlayer().getName(), true);

Sure :-)


Revert "chore/test-perms"

Reverts splunk/splunk-connect-for-snmp#785

:tada: This PR is included in version 1.9.2-beta.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Configuration YAML Documentation Updates

live.mdx:

documented changes to move setup_path to other directories than /etc/clearpath

yaml.mdx:

removed micro_ros_ws that is no longer required
fixed issues with the platform ros_parameters
documented how to change between ps4 and logitech

controllers.mdx:

add link to yaml.mdx

There is mention of installing the micro ros workspace that needs to be removed here: https://docs.clearpathrobotics.com/docs/ros/installation/robot#source-install


Make fail

Hello ZerBea! I tried to build the latest build on my raspberry pi zero(latest kernel 5.15.56+). I have build last year without a problem. Now I get this after try to make:
cc -O3 -Wall -Wextra -std=gnu99   -o hcxdumptool hcxdumptool.c -DVERSION_TAG=\"6.2                                                                                .9-122-gdb85452\" -DVERSION_YEAR=\"2023\" -DSTATUSOUT -DNMEAOUT hcxdumptool.c: In function ‘writegpwpl’: hcxdumptool.c:667:4: warning: implicit declaration of function ‘write’; did you me                                                                                an ‘fwrite’? [-Wimplicit-function-declaration]  if(write(fd_hcxpos, gprmc, gprmclen) != gprmclen) errorcount++;     ^~~~~     fwrite hcxdumptool.c: In function ‘writeshb’: hcxdumptool.c:857:23: error: storage size of ‘unameData’ isn’t known  static struct utsname unameData;                        ^~~~~~~~~ hcxdumptool.c:869:4: warning: implicit declaration of function ‘uname’; did you me                                                                                an ‘rename’? [-Wimplicit-function-declaration]  if(uname(&unameData) == 0)     ^~~~~     rename hcxdumptool.c:857:23: warning: unused variable ‘unameData’ [-Wunused-variable]  static struct utsname unameData;                        ^~~~~~~~~ hcxdumptool.c: In function ‘open_pcapng’: hcxdumptool.c:960:8: warning: implicit declaration of function ‘stat’; did you mea                                                                                n ‘strcat’? [-Wimplicit-function-declaration]   while(stat(pcapngname, &statinfo) == 0)         ^~~~         strcat hcxdumptool.c:968:1: warning: implicit declaration of function ‘umask’ [-Wimplicit                                                                                -function-declaration]  umask(0);  ^~~~~ hcxdumptool.c: In function ‘process_nmea0183’: hcxdumptool.c:2407:15: warning: implicit declaration of function ‘read’; did you m                                                                                ean ‘fread’? [-Wimplicit-function-declaration]  if((nmealen = read(fd_gps, nmeabuffer, NMEA_SIZE)) < NMEA_MIN)                ^~~~                fread hcxdumptool.c: In function ‘nl_get_interfacecapabilities’: hcxdumptool.c:3097:17: warning: implicit declaration of function ‘readlink’; did y                                                                                ou mean ‘read_bpf’? [-Wimplicit-function-declaration]      if((dnlen = readlink(driverfmt, driverlink, 64)) > 0)                  ^~~~~~~~                  read_bpf hcxdumptool.c: In function ‘open_device_nmea0183’: hcxdumptool.c:3883:23: error: storage size of ‘tty’ isn’t known  static struct termios tty;                        ^~~ hcxdumptool.c:3887:4: warning: implicit declaration of function ‘tcgetattr’ [-Wimp                                                                                licit-function-declaration]  if(tcgetattr(fd_gps, &tty) < 0) return false;     ^~~~~~~~~ hcxdumptool.c:3888:17: error: ‘PARENB’ undeclared (first use in this function)  tty.c_cflag &= ~PARENB; // Clear parity bit, disabling parity (most common)                  ^~~~~~ hcxdumptool.c:3888:17: note: each undeclared identifier is reported only once for                                                                                each function it appears in hcxdumptool.c:3889:17: error: ‘CSTOPB’ undeclared (first use in this function); di                                                                                d you mean ‘CSTOP’?  tty.c_cflag &= ~CSTOPB; // Clear stop field, only one stop bit used in communicat                                                                                ion (most common)                  ^~~~~~                  CSTOP hcxdumptool.c:3890:17: error: ‘CSIZE’ undeclared (first use in this function); did                                                                                you mean ‘CB_SIZE’?  tty.c_cflag &= ~CSIZE; // Clear all bits that set the data size                  ^~~~~                  CB_SIZE hcxdumptool.c:3891:16: error: ‘CS8’ undeclared (first use in this function)  tty.c_cflag |= CS8; // 8 bits per byte (most common)                 ^~~ hcxdumptool.c:3892:17: error: ‘CRTSCTS’ undeclared (first use in this function)  tty.c_cflag &= ~CRTSCTS; // Disable RTS/CTS hardware flow control (most common)                  ^~~~~~~ hcxdumptool.c:3893:16: error: ‘CREAD’ undeclared (first use in this function)  tty.c_cflag |= CREAD | CLOCAL; // Turn on READ & ignore ctrl lines (CLOCAL = 1)                 ^~~~~ hcxdumptool.c:3893:24: error: ‘CLOCAL’ undeclared (first use in this function); di                                                                                d you mean ‘AF_LOCAL’?  tty.c_cflag |= CREAD | CLOCAL; // Turn on READ & ignore ctrl lines (CLOCAL = 1)                         ^~~~~~                         AF_LOCAL hcxdumptool.c:3894:17: error: ‘ICANON’ undeclared (first use in this function)  tty.c_lflag &= ~ICANON;                  ^~~~~~ hcxdumptool.c:3895:17: error: ‘ECHO’ undeclared (first use in this function); did                                                                                you mean ‘EIO’?  tty.c_lflag &= ~ECHO; // Disable echo                  ^~~~                  EIO hcxdumptool.c:3896:17: error: ‘ECHOE’ undeclared (first use in this function)  tty.c_lflag &= ~ECHOE; // Disable erasure                  ^~~~~ hcxdumptool.c:3897:17: error: ‘ECHONL’ undeclared (first use in this function); di                                                                                d you mean ‘ECHRNG’?  tty.c_lflag &= ~ECHONL; // Disable new-line echo                  ^~~~~~                  ECHRNG hcxdumptool.c:3898:17: error: ‘ISIG’ undeclared (first use in this function); did                                                                                you mean ‘NSIG’?  tty.c_lflag &= ~ISIG; // Disable interpretation of INTR, QUIT and SUSP                  ^~~~                  NSIG hcxdumptool.c:3899:18: error: ‘IXON’ undeclared (first use in this function); did                                                                                you mean ‘TCXONC’?  tty.c_iflag &= ~(IXON | IXOFF | IXANY); // Turn off s/w flow ctrl                   ^~~~                   TCXONC hcxdumptool.c:3899:25: error: ‘IXOFF’ undeclared (first use in this function)  tty.c_iflag &= ~(IXON | IXOFF | IXANY); // Turn off s/w flow ctrl                          ^~~~~ hcxdumptool.c:3899:33: error: ‘IXANY’ undeclared (first use in this function)  tty.c_iflag &= ~(IXON | IXOFF | IXANY); // Turn off s/w flow ctrl                                  ^~~~~ hcxdumptool.c:3900:18: error: ‘IGNBRK’ undeclared (first use in this function); di                                                                                d you mean ‘SIGABRT’?  tty.c_iflag &= ~(IGNBRK|BRKINT|PARMRK|ISTRIP|INLCR|IGNCR|ICRNL); // Disable any s                                                                                pecial handling of received bytes                   ^~~~~~                   SIGABRT hcxdumptool.c:3900:25: error: ‘BRKINT’ undeclared (first use in this function); di                                                                                d you mean ‘CRPRNT’?  tty.c_iflag &= ~(IGNBRK|BRKINT|PARMRK|ISTRIP|INLCR|IGNCR|ICRNL); // Disable any s                                                                                pecial handling of received bytes                          ^~~~~~                          CRPRNT hcxdumptool.c:3900:32: error: ‘PARMRK’ undeclared (first use in this function); di                                                                                d you mean ‘RTA_MARK’?  tty.c_iflag &= ~(IGNBRK|BRKINT|PARMRK|ISTRIP|INLCR|IGNCR|ICRNL); // Disable any s                                                                                pecial handling of received bytes                                 ^~~~~~                                 RTA_MARK hcxdumptool.c:3900:39: error: ‘ISTRIP’ undeclared (first use in this function); di                                                                                d you mean ‘N_STRIP’?  tty.c_iflag &= ~(IGNBRK|BRKINT|PARMRK|ISTRIP|INLCR|IGNCR|ICRNL); // Disable any s                                                                                pecial handling of received bytes                                        ^~~~~~                                        N_STRIP hcxdumptool.c:3900:46: error: ‘INLCR’ undeclared (first use in this function)  tty.c_iflag &= ~(IGNBRK|BRKINT|PARMRK|ISTRIP|INLCR|IGNCR|ICRNL); // Disable any s                                                                                pecial handling of received bytes                                               ^~~~~ hcxdumptool.c:3900:52: error: ‘IGNCR’ undeclared (first use in this function)  tty.c_iflag &= ~(IGNBRK|BRKINT|PARMRK|ISTRIP|INLCR|IGNCR|ICRNL); // Disable any s                                                                                pecial handling of received bytes                                                     ^~~~~ hcxdumptool.c:3900:58: error: ‘ICRNL’ undeclared (first use in this function)  tty.c_iflag &= ~(IGNBRK|BRKINT|PARMRK|ISTRIP|INLCR|IGNCR|ICRNL); // Disable any s                                                                                pecial handling of received bytes                                                           ^~~~~ hcxdumptool.c:3901:17: error: ‘OPOST’ undeclared (first use in this function); did                                                                                you mean ‘BPF_ST’?  tty.c_oflag &= ~OPOST; // Prevent special interpretation of output bytes (e.g. ne                                                                                wline chars)                  ^~~~~                  BPF_ST hcxdumptool.c:3902:17: error: ‘ONLCR’ undeclared (first use in this function)  tty.c_oflag &= ~ONLCR; // Prevent conversion of newline to carriage return/line f                                                                                eed                  ^~~~~ hcxdumptool.c:3903:10: error: ‘VTIME’ undeclared (first use in this function); did                                                                                you mean ‘ETIME’?  tty.c_cc[VTIME] = 10;    // Wait for up to 1s (10 deciseconds), returning as soon                                                                                as any data is received.           ^~~~~           ETIME hcxdumptool.c:3904:10: error: ‘VMIN’ undeclared (first use in this function); did                                                                                you mean ‘CMIN’?  tty.c_cc[VMIN] = 0;           ^~~~           CMIN hcxdumptool.c:3905:1: warning: implicit declaration of function ‘cfsetispeed’ [-Wi                                                                                mplicit-function-declaration]  cfsetispeed(&tty, B9600);  ^~~~~~~~~~~ hcxdumptool.c:3905:19: error: ‘B9600’ undeclared (first use in this function)  cfsetispeed(&tty, B9600);                    ^~~~~ hcxdumptool.c:3906:1: warning: implicit declaration of function ‘cfsetospeed’ [-Wi                                                                                mplicit-function-declaration]  cfsetospeed(&tty, B9600);  ^~~~~~~~~~~ hcxdumptool.c:3907:5: warning: implicit declaration of function ‘tcsetattr’ [-Wimp                                                                                licit-function-declaration]  if (tcsetattr(fd_gps, TCSANOW, &tty) < 0) return false;      ^~~~~~~~~ hcxdumptool.c:3907:23: error: ‘TCSANOW’ undeclared (first use in this function); d                                                                                id you mean ‘TCSETSW’?  if (tcsetattr(fd_gps, TCSANOW, &tty) < 0) return false;                        ^~~~~~~                        TCSETSW hcxdumptool.c:3883:23: warning: unused variable ‘tty’ [-Wunused-variable]  static struct termios tty;                        ^~~ hcxdumptool.c: In function ‘close_sockets’: hcxdumptool.c:3916:25: warning: implicit declaration of function ‘close’; did you                                                                                mean ‘pclose’? [-Wimplicit-function-declaration]  if(fd_socket_unix != 0) close(fd_socket_unix);                          ^~~~~                          pclose hcxdumptool.c: In function ‘open_socket_rt’: hcxdumptool.c:3946:16: warning: implicit declaration of function ‘getpid’; did you                                                                                mean ‘getpt’? [-Wimplicit-function-declaration]  saddr.nl_pid = getpid();                 ^~~~~~                 getpt hcxdumptool.c: In function ‘main’: hcxdumptool.c:4884:4: warning: implicit declaration of function ‘getuid’; did you                                                                                mean ‘getpt’? [-Wimplicit-function-declaration]  if(getuid() != 0)     ^~~~~~     getpt make: *** [Makefile:66: hcxdumptool] Error 1
What I am missing?

Look like the development files (includes / headers) are not installed. Even the header files for such basic functions like write and read are missing on your system. You need to install them.
Than everything compiles fine:
$ git clone https://github.com/ZerBea/hcxdumptool
Cloning into 'hcxdumptool'...
remote: Enumerating objects: 4802, done.
remote: Counting objects: 100% (337/337), done.
remote: Compressing objects: 100% (139/139), done.
remote: Total 4802 (delta 204), reused 298 (delta 198), pack-reused 4465
Receiving objects: 100% (4802/4802), 1.52 MiB | 1.97 MiB/s, done.
Resolving deltas: 100% (3232/3232), done.

$ cd hcxdumptool

$ make
cc -O3 -Wall -Wextra -std=gnu99   -o hcxdumptool hcxdumptool.c -DVERSION_TAG=\"6.2.9-122-gdb85452\" -DVERSION_YEAR=\"2023\" -DSTATUSOUT -DNMEAOUT

$ sudo make install
install -D -m 0755 hcxdumptool /usr/bin/hcxdumptool

Thanks for the answer! Updated the build-essential to the latest, but the error is the same. Tried to reinstall it is still same. Reverted back to an older SD image, still same problem.
Tried to build the last one, that I used (version 6.2.5) and it does the make without problem.
It is very strange. Do you have any ideas?

Indeed, very strange. Looks like a header file is missing on your system.
But the standard includes have not changed on all versions of hcxdumptool.
Please comment output of
$ uname -r
$ gcc --version

I changed some includes.
Please try again on latest git head.

Nice Job! Make works again.
Thank you!

No problem, you're welcome.
But unfortunately I don't know why it is working, now.
Can you please comment output of
$ uname -r
and
$ gcc --version
Maybe we can figure out why "unistd.h" wasn't included by other headers.

Updated the last comment just now :)

Ok, Thanks.
Now I know what happened.
I tested the version only on gcc 11 and 12. It looks like 8.3 have a different behavior regarding some standard includes.

You may have noticed that I changed the headline.
According to GCC release overview
https://gcc.gnu.org/releases.html
GCC 8 is deprecated and not longer maintained:
https://gcc.gnu.org/gcc-8/
GCC 8.3 reached EOL on Feb 22, 2019.


Docu enhancement request: How to react to OData SAML timeouts?

Could you add to documentation a recommended way to react to OData SAML timeouts from HCP, etc,, cf  https://help.hana.ondemand.com/help/frameset.htm?de16793b391a4bcfae6096f34433de76.html under Session Timeout.
I you think this should be better added to the cited page, could you inform your colleagues responsible for this page?

@DerGuteWolf  I cannot judge whether it fits our docu or HCP so I created an internal incident<PHONE_NUMBER> for this. Let's see...

@DerGuteWolf: There is also a "feedback" function at the bottom of the cited page.
Any feedback is directly forwarded to the author of the topic.

Yes, I know, already used this several times, but first you there is no interaction (ie I get no feedback and your colleague dealing with this can't get back to me if there are some questions), and second here is also the question where this needed piece of information should be added.,,

Hello DerGuteWolf,
thanks again for your suggestion. I took a look at the internal tracking and it has been forwarded to the HCP team who will update their documentation accordingly. Unfortunately they are not using github so i am not sure if you will get another update here.
At least i asked for a status update.
Kind Regards,
Michael

Hi Michael,
just to be sure: the question is if course how to deal with the timeout in an OpenUI5/SAPUI5 ODataModel environment. On this page currently only a jQuery.ajaxComplete example is given.

Is there any progress on this? How should one deal with such authentication ticket timeouts in OpenUI5? As this seems to be done eg on launchpad.support.sap.com it would be nice if you could provide an offical example for this.

As far as I could see there is no progress, yet. I will check back if this is something that will be addressed for UI5 specifically.
As there are different approaches used to send requests (XHR, jQuery, datajs) it will be hard to find any common solution except overriding the native XHR and checking for the response codes there. I guess this is also how it was solved in the Launchpad.

Hi!
any progress?
I think fora first version it would me enough if the requests initiated through SAPUI5 would be considered.
Regards,
Wolfgang

Any progress?

Thank you for your patience.
HCP has a pattern for handling the session timeout by checking for a certain header and the information is included in their documentation - https://help.sap.com/viewer/65de2977205c403bbc107264b8eccf4b/Cloud/en-US/de16793b391a4bcfae6096f34433de76.html.
Please clarify if the request is to have the recommended handling for your UI5 application of this Session Timeout in UI5 documentation, or general information about detecting the end of a session of a running process, or built-in handling of such cases in SAPUI5.

Well, I referenced this docu page already and already wrote the question is "how to deal with the timeout in an OpenUI5/SAPUI5 ODataModel environment".
The question is eg will jQuery(document).ajaxComplete work with the SAPUI5 OData Models?
Additionaly I find the reloading as suggested in the documentation way too obtrusive, as everythings the user has entered in forms would be lost on reload. launchpad.support.sap,com seems to have a mechanism in place to prevent this.
So, if there is some build-in handling in SAPUI5, I would like to ask for documentation of it, otherwise for some recommended handling.

The Fiori Launchpad is using a XHR-proxy to intercept all XHR calls sent by UI5. In case one of them gets a response which indicates expired SAML authentication, it is using an iframe to authenticate again and afterwards retries to send the request. This all happens transparently for SAPUI5, for us just the XHR callback is triggered a little later.
There is a backlog item to integrate this feature into SAPUI5, so it can also be used by other applications than the FLP, but it is quite hard to get it working reliably with different kinds of IdPs.

Thanks for the update. IMHO it would we helpful already to have the current FLP implementation available for other/standalone applications even it if only works with SAML 2.0 IdP which indicates the timeout with a configurable header.

We have the same issues here with the session timeout of standalone UI5-Applications. Reload is a poor way to handle this situation. Any progress on the Fiori Launchpad like solution?

@goligo : Is there any update to the backlog item mentioned in https://github.com/SAP/openui5/issues/958#issuecomment-362518208 ?

@DerGuteWolf Sorry, there will be no more updates from me, I have left SAP.

OK, thanks for the answer.
Anybody else @sap who wants to give an update?

I feel with you, @DerGuteWolf ! Have the same issue and would appreciate any update...

This issue will be covered in backlog item FIORITECHP1-24618.


docker/dockerfile_generator.sh: No such file or directory

Platform:
Mac 10.15.5
Architecture:
x64
docker/dockerfile_generator.sh isn't found
➜  openjdk-build git:(master) ./makejdk-any-platform.sh --docker jdk8u
Starting ./makejdk-any-platform.sh to configure, build (Adopt)OpenJDK binary
Parsing opt: --docker
Possible opt arg: jdk8u
Working dir is ./build/
[debug] COPY_MACOSX_FREE_FONT_LIB_FOR_JDK_FLAG=true
[debug] COPY_MACOSX_FREE_FONT_LIB_FOR_JRE_FLAG=true
JDK Image folder name: j2sdk-bundle/jdk*.jdk
JRE Image folder name: j2re-bundle/jre*.jre
Searching for JDK_BOOT_DIR
Guessing JDK_BOOT_DIR: /Library/Java/JavaVirtualMachines/adoptopenjdk-14-openj9.jdk/Contents/Home
If this is incorrect explicitly configure JDK_BOOT_DIR
Boot dir set to /Library/Java/JavaVirtualMachines/adoptopenjdk-14-openj9.jdk/Contents/Home
<EMAIL_ADDRESS>line 86: docker/dockerfile_generator.sh: No such file or directory

@Willsparker By going back in the commit history and running the command again, it looks like it was caused by https://github.com/AdoptOpenJDK/openjdk-build/pull/1864
Does docker/dockerfile_generators.sh need to be a full path?

Sorry- an oversight in my PR you linked above 😓  Should be fixed with #1910


README lib, dist "404 page not found"

Remove or replace this

lib - the javascript version of the project (compiled from typescript). This should not be edited directly, as it will be overwritten with each release.
dist - the packed bundle of the project for use in browser environments.

lib exists in the published version found on npm, although I understand your point - the readme could be a bit clearer here

And what about "dist"? is possible to download the JS bundle for browsers?

@enriquepiatti - you can build this yourself. Clone (or simply download) the repo, then follow the steps in the readme:
https://github.com/tiagosiebler/binance?tab=readme-ov-file#webpack
I've just done some minor updates via #490 but generally the bundle generation through webpack seems to still work.


python_type_check CI is broken

This looks like an upstream change that broke CI, see https://app.circleci.com/pipelines/github/pytorch/vision/4305/workflows/9ae30f70-6fa0-419f-966b-8db2e249a12b/jobs/254769 for an example
The error we get is
torchvision/datasets/mnist.py:446: error:
Incompatible
return
value
type
(got
"GzipFile",
expected
"IO[Any]")

[return-value]
            return gzip.open(path, 'rb')
                   ^
Found 1 error in 1 file (checked 97 source files)

cc @seemethere @pmeier

I'm on it.

This is caused by mypy==0.790 released two days ago. It includes python/typeshed@846d922df238d307a99347f74d91ccb362f876ad which amongst others makes the return types of the gzip module more precise.

@pmeier so does this mean that using an older mypy will give type checking errors?

It shouldn't, but I'm not sure. I'll check and get back to you.

Just checked with mypy 0.780 on the master -> no issues
$ mypy --config-file mypy.ini
Success: no issues found in 97 source files
$ pip list | grep mypy
mypy                   0.780
$ git log -1
commit 610c9d2a063bf0695d4f1c3cc396f0c1f2c3a4af (HEAD -> master, origin/master)
Author: Adeel Hassan<EMAIL_ADDRESS>Date:   Mon Oct 12 13:53:17 2020 +0500

    remove hard coded value (#2793)

awesome, thanks for checking!


added mustContain keyword array and allowRelativeURL property

With urlMustContain property one can allow batching of some requests.
which goes to a particular endpoint.
allowRelativeURL property removes the need for absolute url match while
searching for a config

Could you explain the need for this a bit more and add some passing unit tests?

sure, urlMustContain parameter is for filtering batch requests. For example my angularjs application tries to load templates dynamically as it is required. batcher tries to make a batch request for html files which are static. so server side cant find required controllers for these static files. by adding urlMustContain property, i am saying: only try to batch load requests which has at least one of these keywords in its url. by doing this i prevent trying to load static files by batch request. only batch load requests which contain "api" in its url.
this has some issues though. a static file may have "api" keyword in it's name. maybe we should change this to check start of url. like url should start with "/api" keyword.
i added allowRelativeURL property to support relative URL's as i inspected source code i saw that requests which dont have absolute url's aren't batched at all. because batchConfig was looking for an absolute url match to find necessary config file.
i may be wrong. i couldn't inspect source code completely. if i make sense to you i will add unit tests asap

I'm trying to think of a more generic way of handling this.  I don't really want to go down the route of adding magic properties to do things and having done this lots in the past and coming back to the code I always forget what those magic properties do.  I think it might be better if I provide a function that the implementer can pass into the options to do their own inspection of the urls to determine if it can be batched.  Something like a match function?

yep you are right, i ll try to submit that match function. i dont have much time this week but i ll try to create some


Add two SIRUS.jl models

It took a bit longer than expected, but finally regression was implemented for SIRUS.jl. I've tried to explain at the Julia Discourse why this is a useful model. Hopefully the StableRulesClassifier and StableRulesRegressor can be added to MLJModels.jl :smile:

Codecov Report

Merging #519 (416d5df) into dev (c72e67c) will decrease coverage by 0.25%.
The diff coverage is n/a.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff             @@
##              dev     #519      +/-   ##
==========================================
- Coverage   76.92%   76.67%   -0.25%
==========================================
  Files          16       16
  Lines        1157     1162       +5
==========================================
+ Hits          890      891       +1
- Misses        267      271       +4

see 3 files with indirect coverage changes

Congratulations! Looks like a very thorough piece of work.
I'm currently on leave so copying @OkonSamuel in here. I strongly suggest you take a look at:

[ ]  https://github.com/rikhuijzer/SIRUS.jl/issues/29

Thanks @rikhuijzer I'll review this weekend.

See also https://github.com/rikhuijzer/SIRUS.jl/issues/32.

Thanks @rikhuijzer. This is indeed a great addition.
Your code is clean :smile:
Just adjust the docstrings a bit to match the mlj standard.

I hope this is now conforming the spec. I also refactored the code a bit in https://github.com/rikhuijzer/SIRUS.jl/pull/37 and things are definitely more clear now :+1:
If this PR is accepted, then I'll register the new SIRUS.jl version with the updated docstrings (v1.2.2).

I hope this is now conforming the spec. I also refactored the code a bit in rikhuijzer/SIRUS.jl#37 and things are definitely more clear now 👍
If this PR is accepted, then I'll register the new SIRUS.jl version with the updated docstrings (v1.2.2).

@rikhuijzer Thanks for addressing most of the issues raised. I'm sorry for being so meticulous here but there are just a few more things that needed to be added/removed before merging.

[x] Avoid using docstring keyword in the metadata_model helper. I have opened a PR here to handle that.
[ ]  Add Operations and Fitted parameters section to the docstring. You can use  https://github.com/JuliaAI/NearestNeighborModels.jl/blob/dev/src/models.jl#L575-L583 as template for Classification and https://github.com/JuliaAI/NearestNeighborModels.jl/blob/dev/src/models.jl#L731-L736 as a template for Regression. Feel free to adjust the descriptions to match your model's context. Since you didn't define a fitted_params specific to your model types, mlj calls the default implementation.
[ ] Although Optional, it is highly recommended you add an Examples section. You can use the one you defined here

I'm happy to help out in a way I can.

Thank you for the review and pull request, @OkonSamuel. Apologies for the slow response. It took me a while to get to it due to PhD-project demands. I have omitted the Examples section because of the trade-off in computation time and ease of testing. If I add an example section, then I would like to add doctests, but at the same time the documenter and tests already take very long. Also, the examples should be clear for readers since it is the core feature of MLJ and since I've added it to the README.
Apart from that, I've merged your PR (thanks again for that) and added Operations and Fitted parameter sections as well as document and exported the returned object (that is, StableForest or StableRules).

Member

Thanks @rikhuijzer for finding the time to add these sections.
I just noticed the the Regressor models subtype Probabilistic rather than Deterministic. I have opened an issue here

I just noticed the the Regressor models subtype Probabilistic rather than Deterministic. I have opened an issue here

I love it! Another bug fixed 😄

Friendly bump, @OkonSamuel

Friendly bump, @OkonSamuel

Hello @rikhuijzer.
This PR is ready to be merged.
Could you tag a new release of your package? Since you made some changes that would affect mlj.
After you do that, I'll open a new PR to add your model.

Friendly bump @OkonSamuel

closing in favor of #524


requirements.txt: download Brotli 0.4.0 pre-compiled wheel from Github Releases

This should speed up the Travis and Appveyor builds, as we don't need to compile Brotli from source, at least on OSX and Windows.
Linux will still use the .tag.gz source distribution.

Coverage increased (+0.04%) to 71.252% when pulling 64d055c7424a759f58e31a0c3f4e6140c860676c on anthrotype:brotli-0.4 into 9080151cd5f141d4fc70b4ec8e3a5925b1a79da1 on behdad:master.

elapsed time for Travis went from 11 to 6 minutes, Appveyor from 5 to 4 minutes.

Maybe we could even get rid of Python 3.3... I don't think anybody is still using that.

Maybe we could even get rid of Python 3.3... I don't think anybody is still using that.

SGTM

SGTM.


Add platform.sh

Seems to be a cloud hosting service that you can use for continuous deployment with github web hooks. I have to dive deeper on its documentation, but looks cool

Good. So what is a point to create an issue about it? If you want to add platform.sh to the table feel free to make a patch and send pull request.


Persistence UI Development #24

Persistence UI Development #24

Implementation looks good.

Changes look good to me


[WIP] UI redesign: challenge teaser card

Setted up the basic Challenge Card :

Demo :
Almost done with Challenge Card design :
https://user-images.githubusercontent.com/80153681/202841787-e67bfebd-41a5-42dd-a5c0-6a3a93785fa0.mov
TODO's :

Using design fonts :
I tried searching PP Neue Machina on google font's but was not able to find it, Should we self host it ?

Cleanup the code if necessary

Open for suggestions and bad code quality/practices criticism,  Will try my best to improve 🙌
Added some comments explaning the approch taken

Lowered the position of the timeline circle on smaller devices in this commit 2e65477 because we added some margin on the image :

Before
After

Please let me know if previous one was looking better


Add upper bounds on all dependencies

CC @sciencesam

I don't understand the persistent failure for linux 0.7; on my machine (with the same libhdf5 version) it works fine.