Audi account gets disabled

I have experienced that I lost control of my car now and then. Audi Connect investigated and identified the root cause: excessive logins to my account via the API. When a certain threshold is reached, the account gets disabled. I've inquired about the permissible number of logins per day or week.
Query: Is there a way to adjust the update interval configuration?

How recent was this?

Same happened couple of days ago to my account. Audiconnect app also cannot refresh data.
How is the re-enablement procedure of the account? @tomasenskede

Don't know yet, I have asked Audi about this, I will share the answer asap

Query: Is there a way to adjust the update interval configuration?

If you delete the car in the integration (just the one car, not the hole integration) and add it back again, you can specify the refreshment interval. It's set to 10 minutes by defaukt, you can crank this up ... It's the last option in the email-password-request window when you add a new car.

I think the default 10 mins could be too often. I have mine set to 60 mins currently, but even 30 mins was probably ok if I recall I had tried that before.

I had it running with 1min for more than 2 years with my previous e-tron 55.
Now with the Q8 e-tron I noticed the account getting blocked when the shorttrip and longtrip sensors were queried and after the uncommenting of those it worked again.
I was using the SoC sensor with a REST automation to send the SoC to the ABRP api, which has worked for over 2 years.
I hope they are only now locking down due to api errors. I would really not like to only be able to get updated data every 30mins or so.

After deleting and re-adding my account, I was prompted to set an interval. I chose 60 minutes, but I only received updates for the door lock and model, not the SOC. Any thoughts on why this might be happening?

Are you in the US? I noticed this as well for me. I had to change the endpoints as they were using the EMEA ones. See my PR if you want to try it out.

After deleting and re-adding my account, I was prompted to set an interval. I chose 60 minutes, but I only received updates for the door lock and model, not the SOC. Any thoughts on why this might be happening?

After the reboot, numerous sensors became available. I'm situated in Sweden, Europe. Let's test if I can maintain the account's availability over time by updating my information only once every 60 minutes. Fingers crossed!

My account came back, I can refresh in the app again. I just disabled the audiconnect integration for a couple of days.

Mine came back for a while and now its blocket again. I have installed the audiconnect integration with 60 min refresh intervals... but it still to often. I got this answer from Audi;
_We have escalated the matter to our technicians again, and unfortunately, there is nothing more we can do from our end. They were also unable to provide further information regarding your question about how many times ASI can connect to the SOS system.
We will forward your message to our technicians again.
When we analyzed your Audi Connect case, we found that your myAudi login credentials were used to access our servers an unusually large number of times. One reason for this could be the use of a third-party app (e.g., for charging planning for electric vehicles) or similar, which has been allowed to use your personal car login credentials. When such a situation is detected, the car's Audi Connect services will automatically be blocked for the rest of the day. This also means that it will no longer be possible for you to use the official myAudi app for vehicle functions on that day.
As a precaution to avoid this type of problem in the future, we kindly ask you to change your myAudi password to prevent unauthorized third-party access. Alternatively, you can revoke your previous consent for third parties to use your personal login credentials and only use the official myAudi app for your connectivity services. Unfortunately, we cannot do more than this.
We appreciate your understanding._
... so I will change my password and see if its resolves my issue...

I assume that the access is blocked faster when your api queries run into errors.
Interestingly I have not yet read about similar errors within the evcc issue tracker. They also poll the audi api to retrieve at least SoC.

Is their a log where I can see the connection attempts that the connection makes?

I also get blocked out from time to time now. Did not happend before they upgraded API I think. I get Too Many Requests and login to audi service failed. I use default 10 timeout. I actually would like 1 min timeout but see that that can be a problem :P

Then we are experiencing the same behaviour... Where do you find these settings? Would be good to find a working config...

I think it is their way of trying to prevent third parties from accessing their api.

I am on 60 mins refresh interval and now got errors too the other day, something which has never happened before with such long interval. Had to disable the integration in HA for a day.

I think it is their way of trying to prevent third parties from accessing their api.

Time to buy another car.

It's time to start thinking about the OBD update...

after 60 mins intervall and new password to audi api it has been stable for a week soon... fingers crossed...

#325 Manual service call to request cloud update
#321 Refresh Interval Options from integration > configure screen

#326 Turning Active Polling on or off

closing this issue as you can now turn active polling on/off and change polling interval. You can also update from the cloud whenever using the refresh_cloud_data service.
If you continue to experience issues, please open a new issue.


Implement Decline action

After scanning QR code and reviewing request info #2 user should be able do Declne action to send info to server to cancel authentication

Decline action implemented for both platforms

Is application send request to server to cancel authentication request?

No, currently app doesn't send authentication request to server in case Decline button clicked, could you please send me example of Cancel request, I'll add it for both applications?

Server side support this now. iOS application uses it now. We will add to Android application same functionality too.


Contrib space for ODI design system components

Was brainstorming ideas about this a couple weeks ago & continue to feel a need for this.
It could be called:
@cagov/design-system-contributed-components
@cagov/design-system-components-odi
Would be a place where our team can put our shared components in the intermediary period before we would propose them to the DS. A fork, branch, etc of @cagov/design-system is another method, but would be super chaotic to manage at this point.
Would love to discuss this at a Codeshare.

I like this idea. Will put it on the next codeshare agenda.

Discussed at codeshare. Will first create a spreadsheet of potential contrib projects and see how that goes. Putting this on hold for now.

Creating @cagov/design-system-contributed-components as I have an immediate need for combobox-places

Great! :)

Closing since no activity in 6 months.


[mac] Setup window delegate in build(), not show()

Minor cleanup, but this feels more correct.

I'm going to revisit this when #362 is merged; I don't need to use NSNotificationCenter for this if I'm implementing NSWindowDelegate.


[New game]: Invaders of space

🎮 Game Request
"Invaders of Space" is a popular concept in arcade-style games, often invoking the classic "Space Invaders" game originally released in 1978.
Point down the features
Invaders of Space" is a retro-inspired arcade game that draws on the classic "Space Invaders" formula, offering players a nostalgic yet refreshing experience of defending Earth from an alien invasion.
Select program in which you are contributing
GSSoC24
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

@kunjgit @ishita-43 Add gssoc label.

Hey @taneeshaa15 !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹

/self

@ishita-43 Add gssoc label

@kunjgit Add gssoc label

@ishita-43 Add gssoc label

@kunjgit add gssoc label

@ishita-43 Add gssoc label

@ishita-43 @kunjgit Please add gssoc label.

Hello @taneeshaa15, Time's up!⏰
Sorry for closing your issue!
But it's more than a week since we haven't received anything from your side 😢 .
Come up with new ideas, create a new issue and make sure you finish it within a week! 🔥
All the best! 🚀
Happy Hacking! 💗

Hey @taneeshaa15 ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇


Sites need a title/name field

Site hostnames are often output on the front end when generating Open Graph tags, and other places where absolute URLs or "official urls" of the site are needed.
Additionally the "friendly" name of the site is also required for OG tags or title tags: <title>My page about things | My Site</title>. At the moment we have to hard-coded this friendly site name, meaning templates can't be reused as easily.
It would be good if the Sites object were updated to include a human friendly name field for the site. Obviously the WAGTAIL_SITE_NAME is insufficient if the installation is hosting multiple domains.

:+1:

Man, please, review this, you can see in this pic how see the sitename in the login page:

+1

:+1:

Implemented in #1814.

Thank you very much, Did you put this in the documentation?


Update data-util.service.ts

Fix wrong variable names for type and data

@deepu105 already fixed this. closing


[Migration][Refresh] add command migrate:refresh

Simple refresh command

How fix this error :(

@VaderSV probably just needs master merged into your branch

@VaderSV is this essentially just re-running migrations again?

yes. Like migrate:refresh in laravel migrations

@VaderSV ok i'll wait to see if theres any further interest from the community before accepting this one.

I take this task https://github.com/robmorgan/phinx/issues/982 for branch.

A couple of concerns. Not a complete list by any stretch of the imagination.
What identifies a migration as being safe to be run a second time? Or more times?
If a rollback is required, do the subsequent invocations of the migration cause a separate rollbacks? Or is it only the original migration that gets rolled back? What identifies a migration as being safe to rollback more than once?
If migrations are repeatable, they need to be explicitly marked as such. See https://github.com/robmorgan/phinx/issues/1046. In addition, controlling when/if repeatable migrations can/should be run is also important.
Whilst a sole developer may easily manage all the work themselves, in a multi-developer environment, migrations are mainly developed for a particular branch and are expected to be run all forward and backward as often as required for testing and deployment. Few, if any, migrations are developed with the necessary guards to either allow or to protect against a subsequent migration without a rollback in between.
Further, whilst this is an opt-in in terms of using the refresh command, I feel it provides a false sense that migrations will be fine to run twice or more times.

Normally the command name is the same as the class name.
Please update documentation and provide tests.
I would STRONGLY recommend that you disallow the refresh command for version_order being creation. This would break for multi-branch development at different release times. The initial execution order would/could be on a per branch order.
Branch A released, branch A's migrations executed.
Branch B released, branch B's migrations executed.
But if A and B were developed in parallel, the reverse creation order (the default value for Phinx prior to 0.8.0 and unless changed by the local dev team, the current default for 0.8.0), the order of rollback and subsequent re-migration may not be the same.
The potential of "Phinx refresh broke my database" is high. But, simply disallowing the option that could break is far saner.
I will move the default version_order to be execution, not creation in a subsequent release as we needed to introduce this feature and get people used to the benefit first. The next release will have a warning saying that the order will be changed in the next version.

How should we proceed with this enhancement?

From my own perspective, this functionality is simple as 1 alias of pxr && pxm.
I'm not sure of the value of it for other developers. I can see even fewer usages of this feature on a production database. By the time you have a CI/CD pipeline, rollbacks are basically never going to happen unless you are in a dire emergency.
I think dropping the ability to rollback in reverse creation order would be the first step. Rolling back in a different order to execution is just going to mess with people's data in very very unknown ways.
But other than that, the code needs tests. Take into account various options of targets/dates make sure that the rollbacks are in reverse execution order.

yes. Like migrate:refresh in laravel migrations

I think this is now called "migrate:fresh" there
Refs https://github.com/cakephp/migrations/issues/246

Closing due to no activity.


wasabiwallet: <IP_ADDRESS> -> <IP_ADDRESS>

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/zkSNACKs/WalletWasabi/releases.
meta.description for wasabiwallet is: "Privacy focused Bitcoin wallet"
meta.homepage for wasabiwallet is: "https://wasabiwallet.io/"
meta.changelog for wasabiwallet is: ""
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found <IP_ADDRESS> with grep in /nix/store/fhh3bxp9q6fwfwm543c0lxqbjb5lzqy8-wasabiwallet-<IP_ADDRESS>

directory tree listing: https://gist.github.com/855209b66438e9d98073af0c35a5bd12

du listing: https://gist.github.com/f3ac820e19156adce2ab915370bb395a

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
0 i686-linux rebuild(s)
0 x86_64-darwin rebuild(s)
0 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
wasabiwallet

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/fhh3bxp9q6fwfwm543c0lxqbjb5lzqy8-wasabiwallet-<IP_ADDRESS> \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A wasabiwallet https://github.com/r-ryantm/nixpkgs/archive/7f6ca56bd7645d0dea731087b0009d4dbd792c9d.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/fhh3bxp9q6fwfwm543c0lxqbjb5lzqy8-wasabiwallet-<IP_ADDRESS>
ls -la /nix/store/fhh3bxp9q6fwfwm543c0lxqbjb5lzqy8-wasabiwallet-<IP_ADDRESS>/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

wasabiwallet

Maintainer pings
cc @mmahut for testing.

Result of nixpkgs-review pr 113627 run on x86_64-linux 1

1 package built:

wasabiwallet


error: incompatible websocket

Hello!  I've tried a few different ways (python3, python2, uninstalling/reinstalling everything), but always get the following error when I run a quick test.
Test code:
var spacyNLP = require('spacy-nlp');
var serverPromise = spacyNLP.server({ port: process.env.IOPORT })

Error:

Any ideas?  Thank you!
[Sun Dec 04 2016 21:52:11 GMT-0500 (EST)] INFO Starting poly-socketio server on port: 6466, expecting 1 IO clients
[Sun Dec 04 2016 21:52:11 GMT-0500 (EST)] INFO Starting socketIO client for python at 6466
[Sun Dec 04 2016 21:52:11 GMT-0500 (EST)] ERROR An incompatible websocket library is conflicting with the one we need.
You can remove the incompatible library and install the correct one
by running the following commands:

yes | pip uninstall websocket websocket-client
pip install -U websocket-client

Have u tried running the commands it shows u to uninstall and install a different websocket? If pip doesn't work, try with pip3
On Dec 4, 2016, 9:56 PM -0500, Daniel Shiffman<EMAIL_ADDRESS>wrote:

Hello! I've tried a few different ways (python3, python2, uninstalling/reinstalling everything), but always get the following error when I run a quick test.
Test code:
var spacyNLP = require('spacy-nlp'); var serverPromise = spacyNLP.server({ port: process.env.IOPORT })
Error:
Any ideas? Thank you!
[Sun Dec 04 2016 21:52:11 GMT-0500 (EST)] INFO Starting poly-socketio server on port: 6466, expecting 1 IO clients [Sun Dec 04 2016 21:52:11 GMT-0500 (EST)] INFO Starting socketIO client for python at 6466 [Sun Dec 04 2016 21:52:11 GMT-0500 (EST)] ERROR An incompatible websocket library is conflicting with the one we need. You can remove the incompatible library and install the correct one by running the following commands: yes | pip uninstall websocket websocket-client pip install -U websocket-client
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub (https://github.com/kengz/spacy-nlp/issues/1), or mute the thread (https://github.com/notifications/unsubscribe-auth/AH1Dby2O0ClYZzu0QsMrU_1fRfgQk2dPks5rE31bgaJpZM4LDzqT).

@kengz yes, I've tried several different variations of the commands, but no luck yet.  Will keep you posted!

I've also tried on another machine running ubuntu (but with python 2) and am getting the same error. Will continue to investigate!

hmm cuz that's a python websocket issue. What about starting a new, clean virtual env and retry the installation there?


chore: npm audit fix

I just used npm audit fix.
Before I used, npm audit showed 9 vulnerabilities as following:

After I used, it get 5 as following:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

https://github.com/aws-observability/aws-rum-web/pull/513
I was real dependabot😂.


MacOS: sign all bundles, rather than listing them explicitly

PR #573 introduced new bundles, and since they weren't signed, the DMG notarization failed.

Tested at https://github.com/icosa-foundation/open-brush/actions/runs/8929079732/job/24527552154


Migrate NaiveReduceDim + Instruction set for SharedReduceDim

Two related yet separated things in this PR

NaiveReduceDim migrated to gpu representation, supporting sum, mean, argmin, argmax
Instruction set needed for SharedReduceDim was added:

workgroup size
local invocation id
num workgroups
workgroup barrier
while loop
shared memory

Closing. I will make a more comprehensive one imminently.


[Android] Blank map

Hello, I have installed react-native-maps to our application, but had a problem where the  would render blank (like nothing was there).
After searching the repository for solutions, I haven't found anything that would work for me, but ultimately we found a solution. If anyone else has a problem, here is what we found out:
We use Android Virtual Device (AVD) Manager to start the emulator. Also make sure you install Intel HAXM 6.0.1.

Run "android" and install
Extras / Google Play services
Extras / Google Repository
Android 6.0 (API 23) / Google APIs Intel x86 Atom System Image Rev. 12 (Make sure your emulator is using it, previous rev. did not work)
Make sure that you use the "Browser" key from Google.
When starting emulator before building the new native code, make sure you "Wipe user data".

Hopefully this will help someone. I think all the other steps are like described in docs. If I remember any more steps, I will write them here.

Can you try taking a look at #118 ?

Looks like a similar issue, I will let the users know of my solution.

What do you mean by "WEB" api key?
We have to take it from Google Console API but the type of the key must be "Android", i'm right?

Other developer in our company told me, to use "Browser or web" key, not some other key. It was a little confusing.

@KGALLET & @tomazahlin: Maybe you can do a PR to update the documentation :)

@tomazahlin are you going to PR this ? If Not i can do it

@KGALLET You can do it, I am currently working on another PR for another react module, and not sure when I have time. But if you need any more details from me, you can ask anytime.

Done. #179

I did everything in the Installation Guide and everything in the Troubleshooting but i'm still getting the Blank Map issue, no error is shown in the console.
Running on Mac with Android AVD (Android 6.0 (API 23) / Google APIs Intel x86 Atom System)
react-native-cli: 1.0.0
react-native: 0.27.2
Using the basic code:
import React, { Component } from 'react';
import {
  AppRegistry,
  StyleSheet,
  View
} from 'react-native';

import MapView from 'react-native-maps';

class ReactMap extends Component {
  render() {
    return (

      <View style ={styles.container}>
        <MapView
          style={styles.map}
          region={
              latitude: 37.78825,
              longitude: -122.4324,
              latitudeDelta: 0.015,
              longitudeDelta: 0.0121,
          }
          >
        </MapView>
      </View>
    );
  }
}

const styles = StyleSheet.create({
  container: {
    position: 'absolute',
    top: 0,
    left: 0,
    right: 0,
    bottom: 0,
    height: 400,
    width: 400,
    justifyContent: 'flex-end',
    alignItems: 'center',
  },
  map: {
    position: 'absolute',
    top: 0,
    left: 0,
    right: 0,
    bottom: 0,
  },
});

AppRegistry.registerComponent('ReactMap', () => ReactMap);

Is there anything else i can try?

Instead of android:name="com.google.android.geo.API_KEY" try using android:name="com.google.android.maps.v2.API_KEY"

I am sorry to ask on this chat again.  I am getting a blank screen on my android emulator and followed all the suggestions but none helped me. So I came to this at the end.
But cant follow the brower key thing and wipe the data thing.
I am new to programming world so these questions.
-- Please Help

Run "android" and install
Extras / Google Play services
Extras / Google Repository
Android 6.0 (API 23) / Google APIs Intel x86 Atom System Image Rev. 12 (Make sure your emulator is using it, previous rev. did not work)

What does running "android" mean exactly? And how/where do I install these packages? Thanks.

Someone solve this?

I solved this by activating 'Google Maps Android API' from https://console.developers.google.com/apis/api/maps-android-backend.googleapis.com

react-native link react-native-maps not working in android for version react-native-maps 0.14 and 0.15, i solved install plugin manually

@jhon3rick Thanks! Install plugin manually works for me.

#import <React/RCTBundleURLProvider.h> in AppDelegate.m in Xcode, give this error 'React/RCTBundleURLProvider.h' file not found.

@svjchrysler : Did you add AirMaps's binaries too ?

Make sure you enable Google Maps Android API

@nicksarafa 's solution worked for me!
THANK YOU

After changing to android:name="com.google.android.maps.v2.API_KEY" my map appeared immediately after reloading the Android emulator.

Hey there, Billing account is necessary for getting google map key API?

Other developer in our company told me, to use "Browser or web" key, not some other key. It was a little confusing.

it work's for me on android ,
thanks a lot

Hey there, Billing account is necessary for getting google map API key?

Definitely not for getting the key - you create the API key separately and enable that API for that key, but I'm not sure whether or not billing is needed for the API to be provided.

Instead of android:name="com.google.android.geo.API_KEY" try using android:name="com.google.android.maps.v2.API_KEY"

Work for me, Thanks

Instead of android:name="com.google.android.geo.API_KEY" try using android:name="com.google.android.maps.v2.API_KEY"

This worked for me. Can someone explain why this worked though and why the react-native-maps package isn't outputting this by default?
Also, how to get this to work with expo's prebuild system as AndroidManifest.xml chanes don't persist when expo prebuild command is used with the --clean option.

If you're using expo, I wrote a little local config plugin to help with this. The config plugin basically renames a metadata's name.
Steps to use:

create withRenameMetadata.js file in your expo project (I put mine in a ./plugin folder) with below content

// withRenameMetadata.js

const { withAndroidManifest } = require('@expo/config-plugins');

function renameMetadata(androidManifest, existingName, newName) {
  const existingMetaData = androidManifest.manifest.application[0]['meta-data'];
  const metaDataIndex = existingMetaData.findIndex(
    (meta) => meta['$']['android:name'] === existingName
  );

  if (metaDataIndex !== -1) {
    existingMetaData[metaDataIndex]['$']['android:name'] = newName;
  } else {
    console.warn(`Meta-data with name ${existingName} not found`);
  }
  return androidManifest;
};

module.exports = function withRenameMetadata(config, { existingName, newName }) {
  return withAndroidManifest(config, async (config) => {
    const androidManifest = config.modResults;
    config.modResults = renameMetadata(androidManifest, existingName, newName);
    return config;
  });
};

Add plugin to your app.json, app.config.json or app.config.js plugin field

// app.config.js

{
  ...,
  plugins: [
    ...,
    [
      // See - https://github.com/react-native-maps/react-native-maps/issues/176
      './plugins/withRenameMetadata.js',
      {
        existingName: 'com.google.android.geo.API_KEY',
        newName: 'com.google.android.maps.v2.API_KEY'
      }
    ],
  ]
}

Run expo prebuild and look into android/app/src/main/AndroidManifest.xml to confirm change (Your git changes may also show this)

Hope this helps🎉.

Regarding com.google.android.maps.v2.API_KEY, that's not the key currently recommended by Google. It's only there for backwards compatibility, but I wonder if the API key's restrictions are evaluated differently if you use that name (while the real issue is a misconfigured API key).
In my case, I had changed the tooling for building and signing our app, so I needed to get the new SHA1 hash and add it to the existing API key in the Google Cloud console.


color_filter_and_fade_perf__timeline_summary average_frame_build_time_millis regression

Slight jump at https://github.com/flutter/flutter/pull/54148; stronger signal at the skia roll https://github.com/flutter/flutter/pull/54156.

Isn't this a dup of https://github.com/flutter/flutter/issues/54095?

@liyuqian @jason-simmons @iskakaushik

https://github.com/flutter/flutter/issues/54095 involved rasterizer time - this one is about frame build time.  However, the frame build times on this benchmark have been rather noisy so I'm not sure if there is still a clear trend here.

This is just a noisy benchmark, it was misbaselined at the start. Fixed on the dashboard.


Elemental Shaman: Flametongue Weapon

Is your feature request related to a problem? Please describe.
There is no way to verify if you have the buff or not.
Describe the solution you'd like
A button in the Fight Settings tab in the player section. Would be nice if it takes the right values for talented or not.
Describe alternatives you've considered
Two buttons or a dropp down list in the player / gear tab.

Currently the sim assumes that you always have Flametongue imbue and correctly accounts for talents. You can verify this by removing talent points from 'Elemental Weapons' and see your total SP go down. We could add a UI to show that its always selected but felt like a waste of UI space

Thank you very much for the clarification. I tried to find it in the beginning of the log but couldn´t make any guess if I have the buff or not.

Yea, we don't 'cast' the spell at all, we just add the bonus spell power before the fight starts (based on talents etc)


Readme refactoring

I rewrote the readme to be a little more structured and less a big block of text. Hopefully now it's a little easier to skim read :)
Please check that what I've written is correct, especially the list of tools used.
Probably easier to read the new readme as rendered on my fork.

🎉


Embedded ruby functions in erb files fail tests

For some reason an upcase function in an erb file causes a failure:
roles::zookeeper: failed
  errors:
    error during compilation: Evaluation Error: Error while evaluating a Function Call, Failed to parse template profiles/motd/motd.erb:
  Filepath: /Users/witchbutter/onceover/control-repo/.onceover/etc/puppetlabs/code/environments/production/site/profiles/templates/motd/motd.erb
  Line: 13
  Detail: undefined method `upcase' for nil:NilClass
 (file: /Users/witchbutter/onceover/control-repo/.onceover/etc/puppetlabs/code/environments/production/site/profiles/manifests/motd/setmotd.pp, line: 5, column: 16) on node mymac.local
      factsets: CentOS-7.0-64, Ubuntu-14.04-64

@witchbutter This is probably a failed hiera lookup, lack of global variable, or something else causing whatever the upcase method is being run on to be nil. Can you also post the template or give some more context?


python310Packages.aioecowitt: 2022.7.0 -> 2022.08.2

Description of changes
Update to latest upstream release 2022.08.2

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] 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/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (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
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 187332 run on x86_64-linux 1

2 packages built:

python310Packages.aioecowitt
python39Packages.aioecowitt


Clarification on Evaluation Method Using Qwen2.5-Math

Hi,
Thank you for sharing this amazing project and the detailed documentation!
In the README, it mentions:
"To get the final numbers for the evaluations, we use the Qwen2.5-Math evaluation repo, their codebase is well documented, so please refer to their instructions."
However, I couldn’t find the specific evaluation method in the Qwen2.5-Math repository that seems tailored or directly applicable to this project. This resulted in my score being extremely low when reproducing, and I was completely unable to reproduce the results you provided. Could you kindly provide more details on how to perform the evaluation on the generated data? Are there specific scripts or configurations from Qwen2.5-Math that need to be adapted?
Thank you so much!!!

Hi,
Thank you for sharing this amazing project and the detailed documentation!
In the README, it mentions:
"To get the final numbers for the evaluations, we use the Qwen2.5-Math evaluation repo, their codebase is well documented, so please refer to their instructions."
However, I couldn’t find the specific evaluation method in the Qwen2.5-Math repository that seems tailored or directly applicable to this project. This resulted in my score being extremely low when reproducing, and I was completely unable to reproduce the results you provided. Could you kindly provide more details on how to perform the evaluation on the generated data? Are there specific scripts or configurations from Qwen2.5-Math that need to be adapted?
Thank you so much!!!

Comment for better reach.


Fixing spelling and grammar errors

Thanks for your contribution! :+1:

Your'e very welcome.  Nice work!


Issues in the Spark UI

Hi,
We are having issues in the Spark UI notably when using Flintrock.
To have more context on our use of Flintrock:

Flintrock version: 2.0.0
Python version: 3.8.9
OS: ubuntu:20.04
We are using Flintrock in a private VPC with the option authorize-access-from in the config file.
We download Spark and Hdfs sources from our own S3 bucket.

When we go to the Spark UI on port 8080, the page is displayed correctly but the links to the other pages are broken.
Here you can find an extract from the HTML code of the page for a link to a worker.
<a href="http://<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
		 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

  <title>404 - Not Found</title>

404 - Not Found

:8081">
              worker-20211015082848-<MASKED_IP>-42451

I have a similar error message when I launch spark-shell for example:
Spark context Web UI available at http://<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
		 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

  <title>404 - Not Found</title>

404 - Not Found

:4040

I have the impression that the error comes from a problem finding the ip address or something related.. maybe we have done a mistake with our configuration or maybe it's not related to Flintrock..
So, if you have any clues or elements to solve this problem, this would be a great help for us.
Thank you in advance for your help,
Maxime

It seems that http://<IP_ADDRESS> is not working anymore no ?

OK great. Maybe we don't need this config at all anymore, or maybe we only need it when launching into a public VPC.


Run a CI for Windows

Paul Jolly suggested https://www.appveyor.com/

https://camlistore-review.googlesource.com/#/c/camlistore/+/16626


fixup frechet dist - should be using wavelengths

instead was just passing intensities (i.e. only the y-axis). Not exactly sure how that affects the computation, but now it should be OK (i.e. computing discrete frechet distance and passing both x and y distances). Could be better by converting back to continuous distributions based on the domain knowledge and then calculating frechet distance between two with a somewhat fine sampling.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

-9 of 20 (55.0%)  changed or added relevant lines in 4 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+2.6%) to 45.954%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/self_driving_lab_demo/utils/search.py
0
1
0.0%

src/self_driving_lab_demo/utils/observe.py
0
8
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
2.6%

Covered Lines:
137

Relevant Lines:
276

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

11 of 20 (55.0%)  changed or added relevant lines in 4 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+2.6%) to 45.954%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/self_driving_lab_demo/utils/search.py
0
1
0.0%

src/self_driving_lab_demo/utils/observe.py
0
8
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
2.6%

Covered Lines:
137

Relevant Lines:
276

💛  - Coveralls


Feature - Ability to add custom interceptions to the targeted builder

In Interceptions.Builder there is a add function that allows adding custom interceptions using the DSL.  I have just added these functions to the Interceptions.Targeted.Builder as well.
This allows you to write custom Interception's, and extension functions for them like:
// SampleInterception.kt

...

fun <S : State, A : Action> Interceptions.Builder<S, A>.sample(
    debugName: String = "",
    sample: (state: S, action: A) -> A
) = apply { add(Sample(debugName, sample)) }

inline fun <S : State, A : Action, reified T : A> Interceptions.Builder.Targeted<S, A, T>.sample(
    debugName: String = "",
    crossinline sample: (state: S, action: T) -> A
) = apply {
    add(Sample(debugName) { state, action -> if (action is T) sample(state, action) else action })
}

// SampleViewModel
val interceptions = interceptions<SampleState, SampleAction> {
    sample { state, action -> ... }

    on<SomeAction> {
        sample { state, someAction -> ... }
    }
}

I didn't add those myself since this looks a bit misleading to me:
on<SomeAction> {
    sample { state, someAction -> ... }
}

It would suggest that Sample is only invoked on SomeAction like the other built-in targeted interceptions, although it only works in conjunction with the if (action is T) statement and is actually invoked on every action.
Maybe we could come up with some type of base class, like TargetedInterception that takes care of the conditional invocation, although it might get ugly without reified types…


Feature/raise error on missing jwt secret - resolves issue 39

Description of changes
Issue resolution
If jwt_secret is unavailable, the rescue block will capture the error, without halting the program.  	This implementation follows existing precedence for capturing and logging errors for jwt_secret.
Alternatively, we can be more aggressive, and raise an error, if that is the desired approach.  That will, however, halt the program, which might be what you are looking for here?
Development/Debugging gem
This PR also adds the Awesome Print gem for development and testing envs.  This speeds up my production when debugging and using the rails console, by increasing the readability of any code that is printed out.
It does so by providing structure and highlighting.
Ruby Gems link:  https://rubygems.org/gems/awesome_print
GitHub home page:  https://github.com/awesome-print/awesome_print
Issue Resolved
Fixes #39

@rickr - CI/travis-ci/push is failing.  The issue appears to be in lines 514 - 17:
rake aborted!
PG::ConnectionBad: could not connect to server: Connection refused
	Is the server running on host "operationcode-psql" (<IP_ADDRESS>) and accepting
	TCP/IP connections on port 5432?

I assume this is this Docker related?  Recommendations on resolving this?

@hpjaj - Raising an error here is indeed what we want. If this secret doesn't exist an exception is raised elsewhere (IIRC in the jwt gem) and the cause is not so obvious. The intent of this ticket is to catch that sooner and raise a more clear error message.


Consistency Check

Go through and make formatting/style consistent
Get rid of console.logs

#58 completed this


Need to be able to suppress the UserWarning for missing data in RIM weighting

When adding a scheme you can now use add_scheme(..., verbose=False) to suppress the UserWarnings.

This will be resolved by #235.


raspberry pi: blacklist io_uring on all 32-bit kernels up to current 6.1.54-v7l+

cfr. https://github.com/nodejs/node/issues/49937#issuecomment-1740490144

@santigimeno at this point you're probably better versed if good vs. bad kernels than I am. Thoughts?

Unfortunately I don't have much to add here. I was able to emulate with qemu a raspios-bullseye-armhf-lite.img with a 5.15.84 kernel using node-v20.7.0-linux-armv6l and couldn't reproduce the issue. Honestly I don't like the prospect of blacklisting all 32-bit kernels without investigating the issue, but lacking the hardware to do so, I don't have a better proposal.

https://github.com/libuv/libuv/pull/4187


Change safe energy header keywords

We are currently using the LO_THRES and HI_THRES keywords for the safe energy thresholds in the ARF and AEFF formats:
http://gamma-astro-data-formats.readthedocs.io/en/latest/search.html?q=LO_THRES&check_keywords=yes&area=default
I saw that in this OGIP spec, LO_THRES means something different:
http://heasarc.gsfc.nasa.gov/docs/heasarc/caldb/docs/memos/cal_gen_92_002/cal_gen_92_002.html#tth_sEc4
In the RMF it's

LO_THRES - minimum probability threshold used to construct the matrix (matrix elements below this value are considered to zero and are not stored)

Given that it's a cryptic term anyways, I'd suggest we change to something else.
E.g. EMINSAFE, EMAXSAFE or really anything else that doesn't conflict with the exiting usage and maybe suggest energy range from the name.
@jknodlseder @cboisson @registerrier @joleroi - Thoughts?

What is considered "safe" here?
What's the benefit over EMIN EMAX, is it true or reconstructed?
So maybe EESTMIN or ERECOMIN or ETRUEMIN

I believe that we need in the long run anyway a different scheme, since the "safe" energy thresholds depend on other parameters, such as for example the offaxis angle. I would keep the current keywords until a better scheme is defined.

Le 4 oct. 2016 à 10:07, Christoph Deil<EMAIL_ADDRESS>a écrit :
We are currently using the LO_THRES and HI_THRES keywords for the safe energy thresholds in the ARF and AEFF formats:
http://gamma-astro-data-formats.readthedocs.io/en/latest/search.html?q=LO_THRES&check_keywords=yes&area=default http://gamma-astro-data-formats.readthedocs.io/en/latest/search.html?q=LO_THRES&check_keywords=yes&area=default
I saw that in this OGIP spec, LO_THRES means something different:
http://heasarc.gsfc.nasa.gov/docs/heasarc/caldb/docs/memos/cal_gen_92_002/cal_gen_92_002.html#tth_sEc4 http://heasarc.gsfc.nasa.gov/docs/heasarc/caldb/docs/memos/cal_gen_92_002/cal_gen_92_002.html#tth_sEc4
In the RMF it's
LO_THRES - minimum probability threshold used to construct the matrix (matrix elements below this value are considered to zero and are not stored)
Given that it's a cryptic term anyways, I'd suggest we change to something else.
E.g. EMINSAFE, EMAXSAFE or really anything else that doesn't conflict with the exiting usage and maybe suggest energy range from the name.
@jknodlseder https://github.com/jknodlseder @cboisson https://github.com/cboisson @registerrier https://github.com/registerrier @joleroi https://github.com/joleroi - Thoughts?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/open-gamma-ray-astro/gamma-astro-data-formats/issues/66, or mute the thread https://github.com/notifications/unsubscribe-auth/AC2oV02-T6gXiBDfL2juZkfAqB35uN-bks5qwgk7gaJpZM4KNZky.


The function placed next to class definition cannot be found

Please consider the following code:
class Foo:
    foo :: Int

def sayHello: print "Hello!"
def main: sayHello

It fails to compile with the following error:
- Can't find function sayHello
I'd expect it to compile successfully.
The issue goes away if the dummy method is added to the Client class:
class Foo:
    foo :: Int
    def dummy: None

def sayHello: print "Hello!"
def main: sayHello

Oh, this one is funny. I know about this bug and the good news is that it is already fixed on our Luna 2.0 branch. Sorry that it isn’t fixed here as well but we’ve found it while working on parser working on new core (with many changes). I’ll leave it open. Sorry Michal for inconvinence!

This issue is resolved


Added validation switch parameters and example

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

#sign-off


Revert "Add build-official-release.sh"

Second attempt to revert #10687, this time hopefully in a way that makes the clabot happy.
The push-*.sh scripts were broken due to TAR not being defined:
+ ./build/push-ci-build.sh
+++ [0706 16:15:45] Staging release artifacts to /jenkins-master-data/jobs/kubernetes-build/workspace/_output/gcs-stage
./build/../build/common.sh: line 849: TAR: unbound variable
./build/../build/common.sh: line 849: TAR: unbound variable
!!! Error in ./build/../build/common.sh:849
  '"${TAR}" x -C ${GCS_STAGE}/${dst}' exited with status 1 1
Call stack:
  1: ./build/../build/common.sh:849 kube::release::gcs::stage_and_hash(...)
  2: ./build/../build/common.sh:866 kube::release::gcs::copy_release_artifacts(...)
  3: ./build/../build/common.sh:792 kube::release::gcs::release(...)
  4: ./build/push-ci-build.sh:35 main(...)
Exiting with status 1

cc @zmerlynn @brendanburns @yujuhong

LGTM. Waiting for the builds to be green.

I would just merge this. We need to get the builds back on track. (Not clear why Shippable is so delayed. :()

e2e is green, so I'll merge this :)


I cant find my way around

I just want to follow what you did in your docs like setting the title and all but it really sucks.
Maybe you can provide access to the codes

What do you mean provide access to the codes? it's all here.


Regression: roberta-sequence-classification-9 returns bad values on CPU

The roberta-sequence-classification-9  model returns incorrect results inferencing for CPU and NNPA on s390x using the latest onnx-mlir commits.
Unfortunately the last commit to post a modelzoo status at https://www.onnxmlir.xyz/jenkins/job/ONNX-MLIR-Pipeline-Docker-Build/Model_20Zoo_20Report/ is a couple of days old. Commit https://github.com/onnx/onnx-mlir/commit/e0a1504c9ae319ac6856ba67a334ab918fa8c193 appeared fine. Somewhere after that is when the issue started.
(CPU output (.tests is a flat text file made based on the example input and output from roberta-sequence-classification-9.tar.gz. The "actual" values are what onnx-mlir returned. The "exp" values are from the model zoo's tar.gz))
onnxmlirczar/onnx-mlir --version
onnx-mlir version 0.4.0, onnx version 1.13.1 (https://github.com/onnx/onnx-mlir.git<PHONE_NUMBER>50842b58ea24c2bd3bf4ef95b0a2c0)

onnxmlirczar/onnx-mlir --O3 --EmitLib --mtriple=s390x-ibm-loz --mcpu=z14 /workdir/roberta-sequence-classification-9.onnx -v
[/]/usr/local/bin/opt: opt -O3 --mtriple=s390x-ibm-loz --mcpu=z14 -o /workdir/roberta-sequence-classification-9.bc /workdir/roberta-sequence-classification-9.unoptimized.bc
[/]/usr/local/bin/llc: llc -O3 --mtriple=s390x-ibm-loz --mcpu=z14 -filetype=obj -relocation-model=pic -o /workdir/roberta-sequence-classification-9.o /workdir/roberta-sequence-classification-9.bc
[/]/usr/bin/c++: c++ /workdir/roberta-sequence-classification-9.o -o /workdir/roberta-sequence-classification-9.so -shared -fPIC -L/usr/local/lib -lcruntime
Shared library /workdir/roberta-sequence-classification-9.so has been compiled.

client/bin/modelzoo --lib ./roberta-sequence-classification-9.so -validate --file roberta-sequence-classification-9.tests
Iteration 0 dataset 0: Reading
gen_data_set_lists() loading 1 input tensor(s):
gen_next_tensor() processing tensor with shape ( 1 1 ) totaling 1 elements of type ONNX_TYPE_INT64
gen_data_set_lists() loading 1 expected output tensor(s):
gen_next_tensor() processing tensor with shape ( 1 2 ) totaling 2 elements of type ONNX_TYPE_FLOAT
Iteration 0 dataset 0: Running
Iteration 0 dataset 0: runMainGraph() took 60.5762 ms
Iteration 0 dataset 0: Validating
Comparing dataset 0 output tensor 0
Actual output tensor shape (1, 2) totaling 2 elements
Tolerance settings: a_tol = 0.010000, r_tol = 0.000000, ulps_tol = 1, x_cutoff = 10.000000
idx    actual              exp                 t   u   rtn
----------------------------------------------------------------------------------------
0      0.384031            0.454576            F   F   F   abs_diff = 0.070545, tol_cutoff = 0.010000, min_pass_r_tol = 0.133191, ULPs diff = 145
1      -0.845578           -0.353323           F   F   F   abs_diff = 0.492255, tol_cutoff = 0.010000, min_pass_r_tol = 1.364915, ULPs diff = 654
----------------------------------------------------------------------------------------

Notes:

Other models work fine with the same test application and in previous versions, this model worked fine with the client so I don't believe it's an issue with the test application.
roberta-base-11 works fine for both CPU and NNPA so the issue is specific to this model and not all roberata models.

@tungld When checking the model with RunONNXModel.py, inference fails with an assertion:
# VERBOSE=true ONNX_MLIR_HOME=Debug python3 ../utils/RunONNXModel.py --compile-args=-O3 --verify=ref --data-folder=roberta-sequence-classification-9/test_data_set_0 --model=roberta-sequence-classification-9/roberta-sequence-classification-9.onnx
Temporary directory has been created at /tmp/tmpsuygud9a
Compiling the model ...
['Debug/bin/onnx-mlir', '-O3', '/tmp/tmpsuygud9a/model.onnx', '-o', '/tmp/tmpsuygud9a/model']
  took<PHONE_NUMBER>4230815  seconds.

Loading the compiled model ...
  took  0.00029593193903565407  seconds.

Reading inputs from roberta-sequence-classification-9/test_data_set_0 ...
  - 1st input: [1x1xint64]
  done.

Running inference ...
  took  2760.7563071646728  seconds.

Reading reference outputs from roberta-sequence-classification-9/test_data_set_0 ...
  - 1st output: [1x2xfloat32]
  done.

Verifying value of output:[1, 2] using atol=0.01, rtol=0.05 ...
  at (0, 0) mismatch 1.165763258934021 (actual) vs 0.45457595586776733 (reference)
  at (0, 1) mismatch -1.39717698097229 (actual) vs -0.3533233106136322 (reference)
Traceback (most recent call last):
  File "/opt/Downloads/onnx-mlir/build-shared/../utils/RunONNXModel.py", line 532, in <module>
    main()
  File "/opt/Downloads/onnx-mlir/build-shared/../utils/RunONNXModel.py", line 526, in main
    raise AssertionError(
AssertionError:   mismatched elements 2/2.

But the assertion failure doesn't seem to end the subprocess RunONNXModel.py. Is there a particular reason why the code uses AssertionError instead of a normal print then exit?
                if mismatched_elements == 0:
                    print("  correct.\n".format(args.atol, args.rtol))
                else:
                    raise AssertionError(
                        "  mismatched elements {}/{}.\n".format(
                            mismatched_elements, total_elements))

But if you look at the 19 failed models, none of them failed due to assertion. When RunONNXModel.py runs as a subprocess of RunONNXModelZoo.py, the AssertionError exception does not propagate across the two. What determines whether RunONNXModel.py failed or not is really its return code, which is checked by execute_commands. In other words, as long as RunONNXModel.py exit with a non-zero code, RunONNXModelZoo.py knows it failed.
But non-caught AssertionError does exit with a non-zero code 1. So RunONNXModelZoo.py shouldn't have been stuck. There must be some other problem to cause this model inference to stuck, just like the other GPT2 model.

Have you tried with -0{0,1,2} instead of -03 (I am updating LLVM and haven't had chance to test these models)? I see one commit 111f39a about SIMD but there was no model zoo record related to that commit. It looks like RunONNXModelZoo.py has stuck since 111f39a

No I haven't. I will give it a try. By the way, how long do these inferences take typically? Perhaps we should add a timeout on the subprocess to handle this case when the inference somehow gets stuck?

By the way, how long do these inferences take typically? Perhaps we should add a timeout on the subprocess to handle this case when the inference somehow gets stuck?

It depends on each model. For these failed models, it's 1 or 2 seconds for batch size 1.

Hmm...I just saw that inference is run through OMExecutionSession, not subprocess. So it's not easy to add a timeout.
I forgot to mention, the stucked GPT-2 inference was on a z13 so it shouldn't have anything to do with SIMD.

In any case, would 5 minutes be a reasonable upper limit for inference?

Looking at the model zoo report, it seemed most of models finished in under 5 minutes except ResNet101-DUC-12 and ResNet101-DUC-7 that took about 730 seconds.

Current status with the latest branch: roberta-sequence-classification-9 and gpt2-lm-head-10 get stuck, while gpt2-10 returns bad values.

I reran the test after https://github.com/onnx/onnx-mlir/pull/2094 merged and the test now passes. Thanks!


Does freeACS support IPv6?

Good day,
It's nice to find here and I've one question.
Does freeACS support IPv6?
I'm trying to find some clue on web and source files but I couldn't.
I'll be nice if someone could say the answer clearly.

What do you mean about supporting ipv6?
Are you want to connect CPE with ACS by IPv6? Or send some parameters with IPv6 Address?

Yes, the first one. Whether CPE and ACS connect each other by IPv6.
Probably ConnectionRequestURL must be IPv6 too.

Address syntax shouldn't necessary be a problem. However, there is a problem when it comes to detection logic inside the tr069 service for public ip and such; it will not recognize an ipv6 address as public even if it is.
But, freeacs is now using sparkjava which i am not yet familiar with regarding support for ipv6.
So the answer is, I dont know actually. Configure a ipv6 interface, try to start the services and check if they are reachable. The best answer is the one you get by trying ;)

Well, you look like know the point.
I'm checking this issue in IPv6 environment.
The basic functions (provisioning, send&receive tr069 message, ...) work well.
But seems that the kick is not working properly.
CPE could not get any signal from freeACS after kick so CPE does nothing and so freeACS also couldn't get response of it in 30s of course.
The Device.ManagementServer.ConnectionRequestURL format is "http://[xx:xx:x:xx::x:x]:50003/creq", public IP. CPE is listening the 50003 port.
The kick function worked well in IPv4 environment
so I was wondering whether the problem is in my IPv6 environment or in freeACS.
(I'm using old version which uses install-or-update-freeacs-ubuntu.sh to install.)

I do not support the old installation, sorry. To get support for behaviour and to get fixes, you should use the script documented on this repos wiki page.
But we can look into this, and see if its possible, to support ipv6.
My guess is that the code isn't aligned for connecting to ipv6 urls. But I am just throwing balls at it now. I need to look at it and test it properly.

the new installation method does not rely on tomcat and each module is installed as independently deployed applications. This allows us to restart each module without affecting the others. And we don't have the bloat from a shared tomcat instance.

@pingwiniasty ipv6 works right? i think i fixed this problem with detecting if its public or not some time ago.

@penaivanalejandro what about you? are you using ipv6?

Hi @jarlah
We are currently testing with IPv4.
At the beginning of March we started testing with dual stack which is when I could give feedback.

@jarlah We are still not using ipv6

We will test it maybe this week :)

Currently we are trying to test it on one device, but it hangs when we provide IPv6 in TR069 url ;)

Hi Guys...
I have done many things with freeACS and it s just great. But I am still looking forward to set up IPV6 on my devices. When I READ ALL, it shows my devices parameter and its just equal on profile set.
So, it seems not to be misspelled parameter. The device is a HS8545MS from huawei. As I said...i can fix everything I've tried but IPv6.
Here is my strings to be fixed. and it DOESN'T show in syslog with ProvMsg.
InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.X_HW_IPv6.IPv6Address.1.Origin
InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.X_HW_IPv6.IPv6Prefix.1.Origin
And here is my 500 last line of tr-69-conversations.log
tr069-conversation.log


improving epoll handling

Continuing the discussion from https://news.ycombinator.com/item?id=9491137
To avoid handling 1 event at a time and call epoll_wait many times, you need to get rid of using the ptr field in the event structure because it's very limiting. The common practice is to maintain a map of fd:event -> ptr and when you receive an event, you look it up in the map by trying fd:read and fd:write depending on what you received for this fd. Granted you need to register/update your event in the map when doing epoll_ctrl (mod/add).
dup-ing a socket to handle read/write events is not ideal.

P.S I much prefer kqueue over epoll. But for different reasons. :)

Thanks for following up in a productive way.

dup-ing a socket to handle read/write events is not ideal.

I do that to get the write events with EPOLLONESHOT but the read events without. That's because write events are only interesting when you have data to send, but read events are always interesting. See comment at https://github.com/logcabin/logcabin/blob/v1.0.0/RPC/MessageSocket.h#L145 . I agree it's not ideal, but it's what epoll offers to work with.

Map of fd to ptr or fd:event to ptr

This has crossed my mind before, so I should check my notes. I think it would work, but I may be forgetting something (I haven't thought about this problem since last August). It'd be ideal to drive the development of this "optimization" using a benchmark (Examples/Benchmark with large --threads and small --size and a single Raft server would probably be the best case for any measurable improvement).
Is this something you'd be interested in working on, @halayli?

simple to fix, just restart the event loop when you removed a fd monitor.

@skypexu If I'm reading your comment correctly, I don't think it's so easy. If epoll returned any events that are edge-triggered, the kernel will have forgotten about them; the application can't ask for them again.

@ongardie  I supposed you don't have edged-triggered events, if you do have, it does not work.

@skypexu looks like EPOLLET is used for timers (Event/Timer.cc) and EPOLLONESHOT is used to determine when a socket is writable (RPC/MessageSocket.cc)


Cannot create directory "/u01/app/oracle/cfgtoollogs/dbca".

[centos@ip-172-31-20-227 data]$ sudo docker run -d -p 8088:8080 -p 1521:1521 -v /data/oracle:/u01/app/oracle  sath89/oracle-12c
39a2be7cfa3198ada48c9cc6cfe8528784b5fe65e2bc83d0b981507b46f93c5f

[centos@ip-172-31-20-227 data]$ sudo docker logs -f 39
Database not initialized. Initializing database.
Starting tnslsnr
Cannot create directory "/u01/app/oracle/cfgtoollogs/dbca".

Unique database identifier check passed.
Error writing into silent log -- /u01/app/oracle/cfgtoollogs/dbca/silent.log_2018-06-27_01-44-30-PM (No such file or directory)

/u01/app/oracle/ has enough space. Required space is 6140 MB , available space is 657444 MB.
File Validations Successful.
Error writing into silent log -- /u01/app/oracle/cfgtoollogs/dbca/silent.log_2018-06-27_01-44-30-PM (No such file or directory)
Cannot create directory "/u01/app/oracle/cfgtoollogs/dbca/xe".
Error writing into silent log -- /u01/app/oracle/cfgtoollogs/dbca/silent.log_2018-06-27_01-44-30-PM (No such file or directory)
Error in file copy from </u01/app/oracle/cfgtoollogs/dbca/silent.log_2018-06-27_01-44-30-PM> to </u01/app/oracle/cfgtoollogs/dbca/xe.log>
Look at the log file "/u01/app/oracle/cfgtoollogs/dbca/silent.log_2018-06-27_01-44-30-PM" for further details.
[centos@ip-172-31-20-227 data]$

OS : CentOS 7.4
HOST: AWS EC2

I have the same problem. How could you solve it?

Centos issue. Tease arch on docker storage drivers under centos

I solve it using a volumen insted of mapping a host route.
Try that:
docker create volume oracleV
sudo docker run -d -p 8088:8080 -p 1521:1521 -v oracleV:/u01/app/oracle  sath89/oracle-12c

I solve it，
chmod -R a+w /data/oracle


React is undefined

React is undefined
https://github.com/Pomax/react-onclickoutside/blob/master/index.js#L59
Looks like this is working under the assumption of a globally defined reference to React, it no longer works when packaged through webpack.

landed #21, pushed out v0.3.0


feat(cloud): implement CRUD functions for Kubernetes cloud resource

Description

Added CRUD methods in kubernetesCloudsClient to handle the creation of Kubernetes clouds.
Integrated the new method into the Terraform provider's CRUD functions in kubernetesCloudResource.
Updated the schema and model to include necessary attributes for Kubernetes cloud create/read/update/delete.

Type of change

Change existing resource

Environment

Juju controller version:

Terraform version:

QA steps
# get k8s cloud config yaml
microk8s.config view > test-k8s-config.yaml

terraform {
  required_providers {
    juju = {
      version = "0.15.0"
      source  = "juju/juju"
    }
  }
}

resource "juju_kubernetes_cloud" "test-k8s-cloud" {
  name = "test-k8s-cloud"
  kubernetesconfig = file("<path-to-test-k8s-config.yaml>")
}

juju clouds --controller <controller_name>
# output should demonstrate freshly added cloud to the controller

/merge

I had to do one last force push to sign one of the commits, merge was failing otherwise.

/merge


change init-containers to be list of our modified container struct

podSpec has init-containers which is list of Containers from upstream Kubernetes. We need to change it to our modified Container definition. Because it has envFrom and Health support.
Just changing the list from container from upstream to our own container won't be enough we need to extract the information from our container definition to the upstream one.

I am taking this up


RACK docker image doesn't work on Apple Silicon

If I try to run the RACK docker image on my MacBook M1, which has an ARM processor, it fails silently but stays running.
In particular, Docker Desktop shows the Docker image running, but it is unresponsive.
I would be happy to try and debug this if you can tell me how to proceed.
In the meantime, is it possible to build a version of the RACK image for ARM64? Or could you tell me how to do this for myself?
As a workaround, I can run the RACK on my MacBook by adding --platform linux/amd64 to the docker command, which runs the Intel image under emulation, as per the instructions here:
https://docs.docker.com/docker-for-mac/apple-silicon/
However, this is obviously less efficient, so an ARM64 build would be preferable.
Thank you.

With further experience, I'm not sure that adding --platform linux/amd64 is sufficient - in particular, although I can visit the home page of the RACK running on my MacBook, if I try to contact the NodeGroupService via the REST API, I get an error message to say that the connection was closed unexpectedly.

I would be happy to try and debug this, but I need some advice on how to proceed.

@tuxji Is an ARM64 build an option for us?

I did some googling on building multi-architectureDocker images with GitHub Actions.  GitHub Actions CI doesn't have any Apple M1 Silicon MacOS runners at this time, only Intel x64 MacOS runners.  We can't use "docker buildx" to build a multi-architecture image either because we actually build the RACK box with Packer's Docker builder, not with docker itself.  The only remaining way I can see to build a linux/arm64 image is for @Robert-Adelard to download Packer and all the necessary files (into RACK/rack-box/files) and run "packer build rack-box-docker.json" in RACK/rack-box manually on his own MacBook M1 as described in rack-box's README.  Robert, I think Packer's Docker builder would build a linux/arm64 image on your MacBook M1 for you and then you could simply run that image in Docker.
We also build a rack-box VirtualBox  image, but it doesn't look like there are any plans to make VirtualBox work on the MacBook M1.  You could install Ubuntu x64 in Parallels and try to run either Docker or VirtualBox within that, but I'm not sure whether that doubly nested virtualization would work or run fast enough.

Hi John,
Thanks - that's helpful. Unfortunately, when I tried to build a Docker image for linux/arm64 following the instructions, the build process hung at the point where it starts the nodeGroupService.
Here is the relevant part of the output:
    [...]
    docker: Creating home directory `/home/ubuntu' ...
    docker: Copying files from `/etc/skel' ...
    docker: Adding system user `fuseki' (UID 105) ...
    docker: Adding new group `fuseki' (GID 106) ...
    docker: Adding new user `fuseki' (UID 105) with group `fuseki' ...
    docker: Not creating home directory `/home/fuseki'.
    docker: /home/ubuntu/semtk-opensource /home/ubuntu/semtk-opensource
    docker: Returning (already ran .env)
    docker: /home/ubuntu/semtk-opensource
    docker: sparqlGraph/main-oss/sparqlgraphconfigOss.js
    docker: sparqlGraph/main-oss/KDLEasyLoggerConfigOss.js
    docker: sparqlForm/main-oss/sparqlformconfig.js
    docker: sparqlForm/main-oss/KDLEasyLoggerConfig.js
    docker: ./updateWebapps.sh done
    docker: Waiting for Fuseki at http://localhost:3030...
    docker: Waiting for nodeGroupService at http://localhost:12059...
    docker: Error: Took longer than 600 seconds to start nodeGroupService
==> docker: Provisioning step had errors: Running the cleanup provisioner, if present...
==> docker: Killing the container: 4e3e98c11428fad90a24f197e8e535deef733d7d19009985ee78c7e807a22e5e
Build 'docker' errored after 11 minutes 40 seconds: Script exited with non-zero exit status: 1.Allowed exit codes are: [0]

==> Wait completed after 11 minutes 40 seconds

==> Some builds didn't complete successfully and had errors:
--> docker: Script exited with non-zero exit status: 1.Allowed exit codes are: [0]

==> Builds finished but no artifacts were created.

I was also unable to build a binary for the RACK CLI - I wasn't sure why this step was necessary, but I've been having problems installing the relevant Python packages, so if the build process uses the RACK CLI internally, this might explain why it failed.

I can certainly try running the RACK image on a virtual Ubuntu or Windows system, but I'm not sure what effect the virtualisation would have on performance.
Do you have any suggestions for debugging either the RACK build for ARM or why the x86 version of the RACK doesn't work if I use --platform linux/amd64 to run the Intel image under emulation?
If I log on to the x86 version of the RACK, ps ax gives the following output - does this look normal?
  PID TTY      STAT   TIME COMMAND
    1 pts/0    Ssl+  17:06 /usr/bin/qemu-x86_64 /usr/bin/python3 /usr/bin/systemctl
  588 ?        Ssl    0:00 /usr/bin/qemu-x86_64 /usr/sbin/nginx -g daemon on; master_process on;
  591 ?        Sl     0:00 /usr/bin/qemu-x86_64 /usr/sbin/nginx -g daemon on; master_process on;
  592 ?        Sl     0:00 /usr/bin/qemu-x86_64 /usr/sbin/nginx -g daemon on; master_process on;
  593 ?        Sl     0:00 /usr/bin/qemu-x86_64 /usr/sbin/nginx -g daemon on; master_process on;
  594 ?        Sl     0:00 /usr/bin/qemu-x86_64 /usr/sbin/nginx -g daemon on; master_process on;
  668 ?        Ssl  120:08 /usr/bin/qemu-x86_64 /usr/bin/java org.springframework.boot.loader.JarLauncher
  705 ?        Ssl    1:27 /usr/bin/qemu-x86_64 /usr/bin/python3 /usr/share/unattended-upgrades/unattended-upgrade-shutdown --wait-for-signal
 6430 ?        Ssl   95:10 /usr/bin/qemu-x86_64 /usr/bin/java org.springframework.boot.loader.JarLauncher
 6611 ?        Ssl   94:33 /usr/bin/qemu-x86_64 /usr/bin/java -Xmx4G -cp /opt/fuseki/fuseki-server.jar org.apache.jena.fuseki.cmd.FusekiCmd
19124 ?        Ssl    1:10 /usr/bin/qemu-x86_64 /usr/bin/java org.springframework.boot.loader.JarLauncher
19149 ?        Ssl    0:34 /usr/bin/qemu-x86_64 /usr/bin/java org.springframework.boot.loader.JarLauncher
19169 ?        Ssl    0:28 /usr/bin/qemu-x86_64 /usr/bin/java org.springframework.boot.loader.JarLauncher
19194 ?        Ssl    0:21 /usr/bin/qemu-x86_64 /usr/bin/java org.springframework.boot.loader.JarLauncher
19217 ?        Ssl    0:16 /usr/bin/qemu-x86_64 /usr/bin/java org.springframework.boot.loader.JarLauncher
19237 ?        Ssl    0:18 /usr/bin/qemu-x86_64 /usr/bin/java org.springframework.boot.loader.JarLauncher
19261 ?        Ssl    0:04 /usr/bin/qemu-x86_64 /usr/bin/java org.springframework.boot.loader.JarLauncher
19283 pts/1    Ssl    0:00 /usr/bin/qemu-x86_64 /bin/sh
19294 ?        Ssl    0:00 /usr/bin/qemu-x86_64 /usr/bin/java org.springframework.boot.loader.JarLauncher
19315 ?        Rl+    0:00 /usr/bin/ps ax

Are there any log files I can check to see what is going on?
Thanks again for your suggestions.

So, it sounds like the following problems may be occurring:

A possible networking problem preventing two Java processes (Fuseki and nodeGroupService) from being able to connect to each other or some other reason why nodeGroupService didn't come up and start listening on its port.  Our rack-box install script would have called the RACK CLI at a later step, but you didn't get that far yet.
Your problem installing the relevant Python packages in order to build the RACK CLI is also another obstacle.  I don't know if that's because some Python packages lack some necessary arm64 or Apple M1 Silicon support (a few Python packages need to include native code binaries which may be what's causing the problems) or you need to use some special flags.    These might not be compatible with each other anyway.

The rack-box Docker image redirects each service's logging to individual files in /var/log/journal named after each service.  Your ps ax output shows that the x86 version of RACK was able to start the Docker container's first or "init" process (python systemctl) which was able to start the nginx web server, Fuseki, and the SemTK services.  In the same CLI terminal window that you already ran ps ax, please cd into /var/log/journal and look for error messages in the service log files.
You also can examine the same log files in the Packer build by running "packer build -on-error=ask rack-box-docker.json".  That option tells Packer to leave the Docker container running while it waits for you to type your reply.  That gives you as much time as you need to get a CLI inside the container, cd into /var/log/journal, and look at the log files.
You also may need to run an Ubuntu 20.04 container in Docker, get a CLI inside the container, clone the RACK repository, and run the python commands to build the RACK CLI inside the container so that Python runs and builds linux/arm64 native code instead of darwin/arm64 native code.  Then you can tar up the RACK CLI and copy it to your MacBook's RACK/rack-box/files directory so Packer's Docker builder can unpack it in the new image it builds.  If that solves one of your problems, we'll have to automate building the RACK CLI with a single command you can run on the MacBook.

Hi John,
Thanks for your analysis and suggestions. Here is some information about what I found when I looked in /var/log/journal on my x86 version of the RACK:
Firstly, here is the output of ls -tl to give you an idea of the size of the log files:
-rw-r--r-- 1 root systemd-journal  400519 May 27 13:30 ontologyInfoService.service.log
-rw-r--r-- 1 root systemd-journal 7156696 May 27 13:10 nodeGroupStoreService.service.log
-rw-r--r-- 1 root systemd-journal 1556558 May 27 12:50 utilityService.service.log
-rw-r--r-- 1 root systemd-journal   65379 May 27 12:49 nodeGroupService.service.log
-rw-r--r-- 1 root systemd-journal   59034 May 27 12:35 sparqlQueryService.service.log
-rw-r--r-- 1 root systemd-journal   65602 May 27 12:30 sparqlExtDispatchService.service.log
-rw-r--r-- 1 root systemd-journal   87908 May 27 11:21 sparqlGraphStatusService.service.log
-rw-r--r-- 1 root systemd-journal   72263 May 27 11:20 sparqlGraphIngestionService.service.log
-rw-r--r-- 1 root systemd-journal   15022 May 26 17:54 nodeGroupExecutionService.service.log
-rw-r--r-- 1 root systemd-journal     554 May 26 17:52 configSemTK.service.log
-rw-r--r-- 1 root systemd-journal   14636 May 21 17:09 sparqlGraphResultsService.service.log
-rw-r--r-- 1 root systemd-journal       0 May 21 17:08 unattended-upgrades.service.log
-rw-r--r-- 1 root systemd-journal       0 May 21 17:08 nginx.service.log
-rw-r--r-- 1 root systemd-journal  702554 May  3 17:05 fuseki.service.log

Reviewing the log files, it looks as though the services are starting up repeatedly, often without error - I see lots of entries like this:

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::        (v2.2.6.RELEASE)

2021-05-27 11:15:33.528  INFO 18525 --- [           main] c.g.r.s.s.dispatch.ServiceApplication    : Starting ServiceApplication on 33e90726251c with PID 18525 (/home/ubuntu/semtk-opensource/sparqlExtDispatchService/BOOT-INF/classes starte
d by ubuntu in /home/ubuntu/semtk-opensource/sparqlExtDispatchService)
2021-05-27 11:15:33.735  INFO 18525 --- [           main] c.g.r.s.s.dispatch.ServiceApplication    : No active profile set, falling back to default profiles: default

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::        (v2.2.6.RELEASE)

2021-05-27 11:21:46.551  INFO 19077 --- [           main] c.g.r.s.s.dispatch.ServiceApplication    : Starting ServiceApplication on 33e90726251c with PID 19077 (/home/ubuntu/semtk-opensource/sparqlExtDispatchService/BOOT-INF/classes starte
d by ubuntu in /home/ubuntu/semtk-opensource/sparqlExtDispatchService)
2021-05-27 11:21:46.847  INFO 19077 --- [           main] c.g.r.s.s.dispatch.ServiceApplication    : No active profile set, falling back to default profiles: default

However, sometimes there is an error message.
I don't know if this is normal behaviour, but it seems odd.
Looking at the log files in reverse order, sparqlGraphResultsService occasionally falls over because of a missing configuration file:
org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [com.ge.research.semtk.services.results.ServiceApplication];
Caused by: java.io.FileNotFoundException: class path resource [com/ge/research/semtk/logging/easyLogger/EasyLogEnabledConfigProperties.class] cannot be opened because it does not exist

configSemTK and nodeGroupExecutionService look fine.
SPARQLgraphIngestionService fails because of a problem with a configuration file:
Error creating bean with name 'apiDocumentationScanner' defined in URL [jar:file:/home/ubuntu/semtk-opensource/sparqlGraphIngestionService/BOOT-INF/lib/springfox-spring-web-
2.9.2.jar!/springfox/documentation/spring/web/scanners/ApiDocumentationScanner.class]

Error creating bean with name 'apiListingScanner' defined in URL [jar:file:/home/ubuntu/semtk-opensource/sparqlGraphIngestionService/BOOT-INF/lib/springfox-spring
-web-2.9.2.jar!/springfox/documentation/spring/web/scanners/ApiListingScanner.class]

Error creating bean with name 'apiModelReader' defined in URL [jar:file:/home/ubuntu/semtk-opensource/sparqlGraphIngestionService/BOOT-INF/lib/springfox-spring-we
b-2.9.2.jar!/springfox/documentation/spring/web/scanners/ApiModelReader.class]

Error creating bean with name 'cachingModelProvider' defined in URL [jar:file:/home/ubuntu/semtk-opensource/sparqlGraphIngestionService/BOOT-INF/lib/springfox-sch
ema-2.9.2.jar!/springfox/documentation/schema/CachingModelProvider.class]

Error creating bean with name 'typeResolver' defined in springfox.documentation.schema.configuration.ModelsConfiguration

Failed to instantiate [com.fasterxml.classmate.TypeResolver]: Factory method 'typeResolver' threw exception

Caused by: java.lang.ClassFormatError: Illegal class name "java/lang/Class[]" in class file springfox/documentation/schema/configuration/ModelsConfiguration$$FastClassBySpringCGLIB$$9f784d07

There are similar error messages in sparqlGraphStatusService.service.log and sparqlExtDispatchService.service.log.
sparqlQueryService fails for a different reason:
Exception encountered during context initialization - cancelling refresh attempt
I/O failure during classpath scanning
Caused by: java.net.MalformedURLException: Jar URL does not contain !/ separator

This is followed by
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x000000401b4e2670, pid=21855, tid=21923
#
# JRE version: OpenJDK Runtime Environment (11.0.11+9) (build 11.0.11+9-Ubuntu-0ubuntu2.20.04)
# Java VM: OpenJDK 64-Bit Server VM (11.0.11+9-Ubuntu-0ubuntu2.20.04, mixed mode, sharing, tiered, compressed oops, g1 gc, linux-amd64)
# Problematic frame:
# J 1607 c2 java.lang.AbstractStringBuilder.append(I)Ljava/lang/AbstractStringBuilder;[thread 21858 also had an error]
<EMAIL_ADDRESS>(55 bytes) @ 0x000000401b4e2670 [0x000000401b4e2640+0x0000000000000030]
#
# No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/ubuntu/semtk-opensource/sparqlQueryService/hs_err_pid21855.log

which clearly doesn't look good!
nodeGroupService fails for the same reason (Jar URL does not contain !/ separator), but without the fatal error.
utilityService fails for a different reason:
Exception encountered during context initialization - cancelling refresh attempt
Failed to parse configuration class [com.ge.research.semtk.services.utility.ServiceApplication]
Caused by: java.io.FileNotFoundException: class path resource [org/springframework/context/ApplicationListener.class] cannot be opened because it does not exist

nodeGroupStoreService complains that it can't find a logging implementation, but seems OK otherwise:
ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console...

Finally, ontologyInfoService fails with a variation of the Jar URL problem:
java.lang.IllegalArgumentException: Unable to load @ConditionalOnClass location [META-INF/spring-autoconfigure-metadata.properties]
Caused by: java.net.MalformedURLException: Jar URL does not contain !/ separator

Any thoughts on what all of this might mean? It looks like there might be some kind of Java incompatibility - I've installed various versions of OpenJDK on my MacBook, although I would expect the Docker image to be using its own version of Java:
For what it's worth, my MacBook reports:
$ java --version
openjdk 16.0.1 2021-04-20
OpenJDK Runtime Environment Zulu16.30+15-CA (build 16.0.1+9)
OpenJDK 64-Bit Server VM Zulu16.30+15-CA (build 16.0.1+9, mixed mode)

The RACK reports a different version:
# java --version
openjdk 11.0.11 2021-04-20
OpenJDK Runtime Environment (build 11.0.11+9-Ubuntu-0ubuntu2.20.04)
OpenJDK 64-Bit Server VM (build 11.0.11+9-Ubuntu-0ubuntu2.20.04, mixed mode, sharing)

Thanks for your help.

Hi Robert, the version of Java on your MacBook doesn't matter.  When you use Packer's Docker builder, it doesn't compile any Java source files or run any Java programs on your MacBook.  Rather, it starts up an Ubuntu container and runs an install script to turn the original container into a rack-box image by unpacking various files including already built tar.gz files and jar files and initializing the RACK database.  The container, whether it's the original container started by Packer or a new container you start from the rack-box image, uses its own version of java already installed inside the container which is Java 11 (why 11?  It's the most recent long term stable version of Java).
When I look at your output, the first thing I notice is how old some of your log files are.  Regardless of whether I run a gehighassurance/rack-box:v6.0 or dev image, all my log files have today's date (May 28).  Your log files have dates of May 3, 21, and 26 as well as May 27.  When troubleshooting, you want to start up a fresh new container so you avoid looking at outdated logs.   Remember you can run only one rack-box at a time because each container tries to bind to the same port numbers.
Second, you can expect to see two startups in each log file even after a fresh start up.  The install script run by Packer's Docker build started up everything the first time in order to initialize the database before Packer shut down the container and created the rack-box image.
Third, the last two lines of most services' normal error-free startups should look like this:
root@fd1a0d45aec8:/var/log/journal# tail -n 2 *
==> configSemTK.service.log <==
sparqlForm/main-oss/sparqlformconfig.js
sparqlForm/main-oss/KDLEasyLoggerConfig.js

==> fuseki.service.log <==
[2021-05-28 15:55:01] Fuseki     WARN  SPARQL Update: Unrecognized request parameter (ignored): format
[2021-05-28 15:55:01] Fuseki     INFO  [49] 200 OK (84 ms)

==> nginx.service.log <==

==> nodeGroupExecutionService.service.log <==
2021-05-28 15:54:52.671  INFO 253 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port(s): 12058 (http) with context path ''
2021-05-28 15:54:52.679  INFO 253 --- [           main] c.g.r.s.s.n.ServiceApplication           : Started ServiceApplication in 9.56 seconds (JVM running for 10.562)

==> nodeGroupService.service.log <==
2021-05-28 15:54:56.415  INFO 295 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port(s): 12059 (http) with context path ''
2021-05-28 15:54:56.432  INFO 295 --- [           main] c.g.r.s.s.n.ServiceApplication           : Started ServiceApplication in 12.316 seconds (JVM running for 13.807)

==> nodeGroupStoreService.service.log <==
 (DONE)
2021-05-28 15:55:00 loading demo...

==> ontologyInfoService.service.log <==
2021-05-28 15:54:50.332  INFO 211 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port(s): 12057 (http) with context path ''
2021-05-28 15:54:50.339  INFO 211 --- [           main] c.g.r.s.s.o.ServiceApplication           : Started ServiceApplication in 7.966 seconds (JVM running for 8.759)

==> sparqlExtDispatchService.service.log <==
2021-05-28 15:54:58.891  INFO 344 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port(s): 12053 (http) with context path ''
2021-05-28 15:54:58.940  INFO 344 --- [           main] c.g.r.s.s.dispatch.ServiceApplication    : Started ServiceApplication in 13.188 seconds (JVM running for 15.3)

==> sparqlGraphIngestionService.service.log <==
2021-05-28 15:55:00.169  INFO 380 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port(s): 12091 (http) with context path ''
2021-05-28 15:55:00.185  INFO 380 --- [           main] c.g.r.s.s.ingestion.ServiceApplication   : Started ServiceApplication in 13.795 seconds (JVM running for 16.03)

==> sparqlGraphResultsService.service.log <==
2021-05-28 15:55:01 Deleted jobs from triplestore: FILTER(?creationTime < '2021-05-28T07:55:01'^^<http://www.w3.org/2001/XMLSchema#dateTime>)
2021-05-28 15:55:01 Clean up about to sleep for 480.0 minutes.

==> sparqlGraphStatusService.service.log <==
2021-05-28 15:55:01.400  INFO 437 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port(s): 12051 (http) with context path ''
2021-05-28 15:55:01.405  INFO 437 --- [           main] c.g.r.s.s.status.ServiceApplication      : Started ServiceApplication in 12.752 seconds (JVM running for 16.226)

==> sparqlQueryService.service.log <==
2021-05-28 15:55:01.369  INFO 467 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port(s): 12050 (http) with context path ''
2021-05-28 15:55:01.375  INFO 467 --- [           main] c.g.r.s.s.sparql.ServiceApplication      : Started ServiceApplication in 11.921 seconds (JVM running for 15.691)

==> unattended-upgrades.service.log <==

==> utilityService.service.log <==
2021-05-28 15:55:02 utility.sparqlServiceServer: <IP_ADDRESS>
2021-05-28 15:55:02 --------------------------------------
root@fd1a0d45aec8:/var/log/journal#

Fourth, I don't have any exceptions or errors in my logs.  I only have some warnings in fuseki's log file after starting my v6.0 image; all my other log files are clean.
root@fd1a0d45aec8:/var/log/journal# grep -i exception *
root@fd1a0d45aec8:/var/log/journal# grep -i error *
root@fd1a0d45aec8:/var/log/journal# grep -i warn *
fuseki.service.log:[2021-05-03 17:04:03] Fuseki     WARN  SPARQL Update: Unrecognized request parameter (ignored): format
... (lots of similar lines elided)
fuseki.service.log:[2021-05-28 15:55:01] Fuseki     WARN  SPARQL Update: Unrecognized request parameter (ignored): format
root@fd1a0d45aec8:/var/log/journal#

It really looks like trying to run the x86 version of RACK on your MacBook simply won't work.  I would concentrate on trying to build a arm64 version of RACK with Packer's Docker builder.  When you run into problems, you can use packer build --on-error=ask and type CLI commands inside the container to troubleshoot problems, retry failed commands with different arguments, etc.  Any changes should go back into RACK/rack-box/script/install.sh so all of us can build the rack-box image reproducibly.

Hi John,
Thanks for your comments and the additional information. I will restart my Docker image and get a clean set of logs, but I suspect you are right about the x86 version of the RACK simply not working on my MacBook. I read somewhere that OpenJDK and Rosetta (the x86 translation process) do not work well together - if this is the case, then attempts to get the x86 version working are doomed, so it is best to concentrate on building an arm64 version of the RACK as you suggest.
I'll let you know how I get on.

Hi John,
I've managed to build a version of the RACK that runs natively on my MacBook M1. However, I ran into a few issues along the way:

I needed to increase the resources allocated to Docker, otherwise, I was getting intermittent "Connection refused" exceptions from localhost:3030 (Fuseki)
I needed to delete the else branch of the if statement in scripts/clean.sh (lines 22-24) because linux-cloud-tools-virtual was not installed (contrary to the comment at lines 13-14)
The instructions to build the RACK documentation do not work, so I have no documentation, just a file that contains 1.0.1.

Please could you check the instructions for building the documentation - I have cloned RACK.wiki, but there is no Welcome.md at the top level, just a _Welcome.md, which doesn't work either. The markdown command runs without error, but the output is a file containing the string 1.0.1, which isn't very helpful!
However, despite the lack of an index page with helpful links, I can run Swagger UI and SPARQLgraph, so my RACK seems to be working.
Thanks.

P.S. I note your suggestion from an earlier message:

You also may need to run an Ubuntu 20.04 container in Docker, get a CLI inside the container, clone the RACK repository, and run the python commands to build the RACK CLI inside the container so that Python runs and builds linux/arm64 native code instead of darwin/arm64 native code. Then you can tar up the RACK CLI and copy it to your MacBook's RACK/rack-box/files directory so Packer's Docker builder can unpack it in the new image it builds. If that solves one of your problems, we'll have to automate building the RACK CLI with a single command you can run on the MacBook.

Given that the binary version of the RACK CLI needs to run on a Linux box, I think this step is probably essential. The documentation implicitly assumes that you are building your RACK Box on Linux rather than Windows or MacOS X.
Would it be possible to build the binary version of the RACK CLI on the Linux docker image itself? This would avoid the cross-platform issue.

I've also had another look at why the standard x86 RACK image fails if I run it with --platform linux/amd64 and I'm getting a whole series of weird errors during Spring Boor initialisation, for example:
nodeGroupExecutionService.service.log
Exception encountered during context initialization - cancelling refresh attempt:
Failed to parse configuration class [com.ge.research.semtk.services.nodeGroupExecution.ServiceApplication];
class path resource [com/ge/research/semtk/properties/SemtkEndpointProperties.class] cannot be opened because it does not exist

nodeGroupService
Error starting ApplicationContext.
Application run failed
I/O failure during classpath scanning
Jar URL does not contain !/ separator

nodeGroupStorageService
Error starting ApplicationContext.
Application run failed
Error creating bean with name 'apiDocumentationScanner' [...]
Error creating bean with name 'apiListingScanner' [...]
Error creating bean with name 'apiModelReader' [...]
Error creating bean with name 'cachingModelProvider' [...]
Error creating bean with name 'defaultModelProvider' [...]
Error creating bean with name 'typeResolver' [...]
Failed to instantiate [com.fasterxml.classmate.TypeResolver]: Factory method 'typeResolver' threw exception;
java.lang.ClassFormatError-->Illegal class name "java/lang/Class[]"

I'm aware that Spring Boot does all sorts of weird and wonderful things to bootstrap Java applications - it looks as though these go beyond the scope of what Apple's Rosetta emulation layer can handle.
So it looks as though running an x86 version of the RACK box under emulation is not going to work, and the best solution is to build an ARM version of the RACK box.

Hi Robert,

How much did you need to increase the resources allocated to Docker?

I've changed the else branch to an elif branch so it will uninstall linux-cloud-tools-virtual only if it was already installed.

I've improved the instructions how to build the RACK documentation - please see the "Package RACK documentation" section.

Given the next release is only a day away, I didn't make more sweeping changes like building the RACK CLI using a Docker image instead of directly on Linux.

How much did you need to increase the resources allocated to Docker?

My laptop is relatively new, so I hadn't changed the default settings, which are something like 2 CPUs, 2GB. I increased them to 4 CPUs, 6GB.

I've changed the else branch to an elif branch so it will uninstall linux-cloud-tools-virtual only if it was already installed.

Thanks - that seems to have cured the problem.

I've improved the instructions how to build the RACK documentation - please see the "Package RACK documentation" section.

These now work, although you need to add a -g flag to install the markdown command, as per instructions here:
https://github.com/cwjohan/markdown-to-html#Installation

Given the next release is only a day away, I didn't make more sweeping changes like building the RACK CLI using a Docker image instead of directly on Linux.

I understand, but I don't think this would be a difficult change to make. I'll create a separate issue to track it.
I also think you could automate the creation of the RACK tar files.

Oh dear - I spoke too soon. I have an ARM version of the RACK box running on my MacBook, and everything appears to be working as it should, but most of the data is missing.
The failure is very specific and might provide a clue about what has gone wrong - if I ask SPARQL Graph to tell me about all the THINGs in the database, I only get THINGs with a specified object reference, not THINGs with an auto-generated object reference.
For example, I see...
http://arcos.rack/SOFTWARE#SourceFunction
but not
http://semtk.research.ge.com/generated#707c7037-c8b5-4f48-99a6-b31f80b4d700
Any thoughts on what might be wrong? Which log file should provide a clue?
Thanks

These resource increases are in line with what rack-box/Docker-Hub-README.md recommends, then.
These npm install commands do have -g options:
.github/workflows/actions/download/action.yml
60:        sudo npm install -g github-wikito-converter markdown-to-html

rack-box/README.md
93:    sudo npm install -g github-wikito-converter markdown-to-html

I've added a comment to your issue (thanks for creating it).

I don't know what might be causing the absence of the auto-generated object references but I hope people more familiar with that part of rack-box like @cuddihyge may have thoughts.  Can you get a good set of log files from running an Intel64 rack-box image on a Windows or Linux box and then compare these "known good" log files with your ARM64 rack-box image's log files?  I don't know how useful the Fuseki log file is but it might have more details than the other log files.  Also, we haven't upgraded Fuseki for a while; it's now 4.0.0 and we are still using 3.16.0.  An upgrade could break things even worse, but might help.


chore(release): 26.5.2

Update CHANGELOG for 26.5.2

Pull Request Test Coverage Report for Build 586328982

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

Totals

Change from base Build 584842701:
0.0%

Covered Lines:
950

Relevant Lines:
980

💛  - Coveralls


StatusCode 401

Hi,
After updating the latest firmware, my adapter receives a warning with StatusCode 401.
Find attached the logfile.
Thanks & kind regards,
Martin Stein
Roborock.log
g

Same here, using Roborock 5.
ioBroker stopped the adapter because of to much crashes today.

#470


embedded pdfio fails to build

version 7a8ff5880e878c10e2604c1a59897f8f77ff2d80 (151 commits after 3.0b2) fails with
checking for pdfio library... no, using embedded version

...

======== all in pdfio ========
make[1]: Entering directory '/build/source/pdfio'
make[1]: *** No rule to make target 'all'.  Stop.

workaround: build libcups with shared external pdfio library
see also my build script in libcups.nix
this was part of https://github.com/OpenPrinting/libcups/issues/85#issuecomment-2293059842

You need to check out the submodule, too…
not sure how you tell it to do so in your build script, but the Git source requires it.

pacepalm. yes, of course.
in my libcups.nix that would be
  src = fetchFromGitHub {
    owner = "OpenPrinting";
    repo = "libcups";
    rev = "7a8ff5880e878c10e2604c1a59897f8f77ff2d80";
    hash = "sha256-HclC997yuqQdc4IChp/AovV9UdSAyKvpDyYexZ/Cwio=";
    fetchSubmodules = true;
  };


Improve voiceover experience for links on the page listing

See https://github.com/wagtail/wagtail/issues/5274
This PR improves the voice over experience for links on the page listing

Use aria-labels rather than titles so that just the aria-label is read out, not the text inside the link plus the title
Fixes pronunciation of 'add' and 'live' for these links

Tested using Voiceover on Safari, Mac OS High Sierra

@thibaudcolas please can you review

@helenb I see there’s a lot of other buttons here that could benefit from the same treatment of switching from title to aria-label – could you do the same change for all of these?

@thibaudcolas I have now updated the other buttons too. I had to use a slightly different method for the 'More' button and its dropdown buttons, as these use a separate template file which was assuming the existence of a title attribute. As I couldn't refer to {{ button.attrs.aria-label }} in the template, I have left the attribute as title in the hooks file, and simply updated the template to aria-label="{{ button.attrs.title }}. Let me know if you think there is a better way of doing this.


149 exception msgs

What
Improve the exception messages, fixes #149 (which contains a good example of why we should do this).
How
Override getMessage() in CouchDbException to include the error and reason strings if available.
Ensure those JSON fields are deserialized into the exceptions.
Testing
Add some additional asserts to the ResponseTest.
Manual inspection of stack trace to verify message output:
Exception in thread "main" com.cloudant.client.org.lightcouch.CouchDbException: 400 Bad Request: illegal_database_name: Name: 'testAnimala'. Only lowercase characters (a-z), digits (0-9), and any of the characters _, $, (, ), +, -, and / are allowed. Must begin with a letter.
	at com.cloudant.client.org.lightcouch.CouchDbClient.execute(CouchDbClient.java:491)
	at com.cloudant.client.org.lightcouch.CouchDbClient.executeToInputStream(CouchDbClient.java:534)
	at com.cloudant.client.org.lightcouch.CouchDbClient.get(CouchDbClient.java:317)
	at com.cloudant.client.org.lightcouch.CouchDatabaseBase.find(CouchDatabaseBase.java:150)
	at com.cloudant.client.api.Database.find(Database.java:600)

reviewer @alfinkel
reviewer @tomblench

+1

+1


[Pages] Add additional language support

@1000hz noticed that the section on Language support and tools Language support and tools is missing  some languages. From what I can tell it looks like we're missing Go, Swift, and Rust.
cc @signalnerve

Closing this from #848. Rust and Swift aren't installed by default, so I've added a new ticket to document that and how to install them: #849


Adding by default to rspec?

Hello Samuel 😊
I am wondering if your work could be added to rspec itself not as a dependency?
PS: I didn't start to read the project's code.
Thanks for your work.

Thanks for your feedback.
That's possible, but I think it depends on RSpec maintainers.
This code is actually test framework agnostic - it should be fairly easy to add support for other test frameworks.

@JonRowe  and @pirj what do you think?

To me, it would be reasonable to include the part that consumes examples from an external queue.
Wondering if the impact of this would be minimal with pipes, e.g.
Syntetic:
rspec < <(echo spec/example1_spec.rb; sleep 1; echo spec/example2_spec.rb)

Real-ish:
rspec < <(queue-client)

There are several issues with RSpec which could be addressed to make it more easy to:

Isolate global state.
Serialize results and aggregate results.
Better handling of signals.

Maybe the queue abstraction would be the first step in this direction.

Isolate global state

@ioquatix Do you have something specific in mind?
Theadsafe for let is on by default, RSpec.current_example uses Thread.local. @JonRowe what were your findings?
Surely in-process "parallelization" would be more efficient, but it's a different concern.
Also, using *nix pipes as our transport implies we parallelize with processes, right? We don't have to consider thread safety, or should we?

Serialize results and aggregate results

:+1: This is trivial as far as I recall. This is not load-intensive, so we can add mutex locking to Reported, that should do it?

Better handling of signals

What do you have in mind specifically? As I imagine it with pipes, and even more that with TCP sockets, there won't be any option to send signals from the queue process and workers.

Here are the problems: https://github.com/ioquatix/turbo_test/blob/master/lib/turbo_test/rspec/job.rb#L66-L84


DERP counter

Closes: https://www.notion.so/hoprnet/DERP-Counter-3e7d5c0def914cfb98a685dc2f0018f8
Tasks:

[x] Add counter to DERP table that shows "X calls, mm:ss running"

Evidence:

I fixed what you told me @mjadach-iv, thank you